Fixed phone - was boot looping even after stock ROM flash
I have an i9300 international version. It began freezing and boot looping.
Recovery and download mode were working. adb shell was working via recovery.
To figure out why it was bootlooping, I wanted to run adb logcat during boot, but to do this you need to enable usb debugging, and mine was disabled. Obviously I couldn't enable it because I couldn't boot, and even tried to enable via adb shell using the following steps:
But I couldn't find the above sqlite database. In fact /data was empty and I couldn't access any system files via adb shell anyway.
So no usb debugging, which means the next step is flash a stock rom. I flashed I9300XXEMG4 (here
) with Odin, wiped system,data,cache. Still bootlooping (samsung logo - kernel i9300 logo - samasung logo - kernel logo etc).
I read about the PIT file here
. I read about how you should stay away from it at all costs. As this was a last ditch attempt I flashed the PIT file GT-I9300_mx_20120329.pit along with I9300XXEMG4.
The phone booted fine!
Unfortunately I just read this
post about not coming back from EMG4... and I hadn't backed up the efs partition
Disclaimer: do not flash the PIT file unless you know what the hell you are doing.
P.S. if you have any problems with Odin not working (stuck before it starts flashing), close Odin, unplug USB and take the phone battery out, open Odin, put the battery in, boot into download mode then plug USB in. Worked fine for me.