Two months back from now I installed LightROM oreo, it was fine then but after two months it started to get slow. So I decided to flash pie or Q rom, but from my previous experience whenever I install a pie or Q port of note or some else model it started to get hot or lag. This time I for some reason thought, lets try NOUGAT but it ended up horribly as my phone now keeps on restarting and rom is either not flashed. It stucked in bootloop so I flashed stock rom with REPARTITION OPTION checked in Odin with pit file. Tried every trick in the book that I knew of but it keeps on restarting, meaning if I go to recovery(TWRP flashed via Odin from AP tab) it restarts after couple of moments or became hang in recovery mode. In OS mode keeps restarting after every couple of moments. I have attached the `last_kmsg` file.

**What things I have tried;**   
Flashing BL separately.   
Flashing CP separately.   
Flashing them together.   
Trying old TWRP versions.   
Using moro TWRP.


MODEL 

 - ***SM-G935FD***

CSC By default XSG(UAE) changed to PAK(Pakistan).

I posted the same question in xda but didn't get any response so far. I have seen few errors in `last_kmsg` but can't figure out what they are.