[Galaxy S 4 Q&A, Help & Troubleshooting] weeppi:
Hello to everybody from xda!

I'm facing a problem with an Samsung Galaxy S4 i9505 and since i've tried everything I knew, decided to post my problem here, looking for a solution.

Thank you in advance!

The background:

- international variant (i9505), unlocked,

bought second hand

in september 2014 and working fine for about two months; at the moment of the purchase it was running 4.4.2 and was rooted with TowelRoot; as I said the phone was running very well for two months, untill I (wrong!) decided to flash it with odin;

- downloaded from samfirmware.com the ROM

I9505XXUFNB8_I9505COAFNB1_I9505XXUFNB8_HOME.tar.md5 and flashed it;

AFTERWARDS I READ ABOUT CSC AND EVERYTHING AND I UNDERSTOOND THAT I HAVE A CSC NAMED SIM, APPARENTLY COMING FROM SI MOBIL Slovenia.

- rooted the phone with TowelRoot, everything was ok 'till one day when started to freeze and restart; considering that i had a large number of apps installed and was a hard work to try looking for the one wich determined the restarts I decided to flash again;

- after the second flash, using the same archive as before, the phone became insane;

a. freezing multiple times at the configuration screen which appears after flashing (where you config your language, Google account etc);

b. if successfully pass the config part without crash, it was inevittably crashing after;

c. sometimes i succeeded to use it for about 24 hours, installing everything when it freezed again;

The freezing is happening like that: first the screen refuses to respond, in about 3-4 seconds it appeared like in my attachament (black lines) for about 1 sec., then restarted itself.

After restart sometimes is entering into software again, sometimes is stuck at the Samsung I9505 logo or ar the simple Samsung Logo (with that blue flame animation). Stuck here, sometimes is restarting itself, sometimes gets just blocked here and nothing to do.

Also, sometimes is easy to enter in Recovery Mode, sometimes i keep pressing the buttons but not a chance.

Tried with TWRP, CWM or even stock recovery.

Once, when I had the chance to use it more that 2 hours without restart, I installed CyanogenMod. It worked well for about 3 days and then restarted again and the sympthoms are the same ar above.

I thought that it's because of the battery, but no. I have two batteries, both of them starting with AA (S/N:) and one starting with TH.

It's the same with any of them.

I flashed multiple types of ROMs, all officials from sammobiles:

I9505XXUFNB8_I9505COAFNB1_I9505XXUFNB8_HOME.tar.md5

I9505XXUGNG8_I9505OXXGNG2_I9505XXUGNG8_HOME.tar.md5

and others.

Other details:

- all the flashes were made with odin 3.0.9, with full wipe and cache wipe, and dalvik;

- all flashes were made with original USB cable;

- sometimes when blocked at the logo boot animation it gets very hot at the upper part of the screen and camera, and also battery;

- sometimes it accepts to restart if I get the battery out for 5 minutes and then I repower the device; or sometimes only if i put it to recharge.

I flashed the .pit file (for this model, i'm sure), because in odin i was told INVALID PIT INFORMATION or something similar.

What can I do? Please help!