Bootloop after Nand Erase All in Odin - Galaxy S 4 Q&A, Help & Troubleshooting

Please help.
I'm stuck on bootloop after flashing stock XXUAME2 rom with Odin.
The reason is - I checked/enabled the "Nand Erase All" before flashing. I know, stupid. But what should I do now to unbrick it?
Well, firstly I successfully flashed stock ME2 over my MDM with Odin. But all my stuff was still there (apps, huge files and so on - which I already backed up on my pc) and my memory was almost full. So I wanted to clean everything before flashing TWRP and a custom rom. And then I checked the freaking Nand Erase.
Now, I tried to flash TWRP and do a factory reset/full wipe, but couldn't even enter into recovery mode (vol up+home+power) - it shows "GT-I9505 logo" with small blue text "recovery mode" on top of the screen and then it quickly returns to power off state (with battery charging animation).
The Download/Odin mode is working, thank God. But flashing a stock rom from Odin doesn't solve the problem of bootloop.
I've read that after a nand erase it is needed to flash a PIT file to fix it. Any suggestions where to download it? What version of a PIT file should i look for?
Thank you, guys in advance.

I dont think it will do the job.
I think that nand erase has wiped partitions data.
Any way try with pit. It is in my signature. (Choose right pit file)
Sent from my Galaxy using xda premium

samersh72 said:
I dont think it will do the job.
I think that nand erase has wiped partitions data.
Any way try with pit. It is in my signature. (Choose right pit file)
Sent from my Galaxy using xda premium
Click to expand...
Click to collapse
Thank you, but flashing PIT didn't work - I made everything according your instructions. Still bootloop.
Maybe I need to reflash Bootloader/Phone/CSC?

jzxe10 said:
Thank you, but flashing PIT didn't work - I made everything according your instructions. Still bootloop.
Maybe I need to reflash Bootloader/Phone/CSC?
Click to expand...
Click to collapse
U need someone to extract partitions for you to flash, except what is included in the stock firmware. Do you have a backup for efs partitions?
I have param partition fir i9505 to flash. I will attach it soon
Sent from my Galaxy using xda premium

samersh72 said:
U need someone to extract partitions for you to flash, except what is included in the stock firmware. Do you have a backup for efs partitions?
I have param partition fir i9505 to flash. I will attach it soon
Sent from my Galaxy using xda premium
Click to expand...
Click to collapse
Thank you! I will wait for you to upload it . And could you please tell how to flash these partitions?
unfortunately I never made any partition backup.

jzxe10 said:
Thank you! I will wait for you to upload it . And could you please tell how to flash these partitions?
unfortunately I never made any partition backup.
Click to expand...
Click to collapse
go into recovery, if it is possible, wipe data and cache, then flash with odin the stock firmware in pda with the pit file in pit window. just check auto reboot, f.reset and re-partition. when it say "pass" remove battery, re-insert it, go to recovery, wipe data and cache reboot.
im afraid that ticking "nand erase all" in odin, usually lead to a hard brick!

samersh72 said:
before flashing param.tar. go into recovery, if it is possible, wipe data and cache, then flash with odin the stock firmware in pda with the pit file in pit window. just check auto reboot, f.reset and re-partition. when it say "pass" remove battery, re-insert it, go to recovery, wipe data and cache reboot.
if it didnt work, unzip attached file and flash "param_I9505.tar" in pda. (without pit file)(dont tick re-partition)
im afraid that ticking "nand erase all" in odin, usually lead to a hard brick!
Click to expand...
Click to collapse
Duuude! It worked!!!!
Even without flashing param partition. Just the first step:
go into recovery (I flashed CWM with Odin), if it is possible, wipe data and cache, then flash with odin the stock firmware in pda with the pit file in pit window. just check auto reboot, f.reset and re-partition. (then it went into bootloop as usual and after a moment Odin said "pass") when it say "pass" remove battery, re-insert it, go to recovery (the recovery at that moment returned to stock), wipe data and cache reboot.
Click to expand...
Click to collapse
And ta-daaa! It works now. Ahhh! that was close! )))
You should write this instruction for [email protected] like me.
You can't imagine how I'm grateful to you!

jzxe10 said:
Duuude! It worked!!!!
Even without flashing param partition. Just the first step:
And ta-daaa! It works now. Ahhh! that was close! )))
You should write this instruction for [email protected] like me.
You can't imagine how I'm grateful to you!
Click to expand...
Click to collapse
glad to hear that....
Never and Ever tick "NAND ERASE ALL" in odin
next time, if you want to erase data, do it from recovery.

samersh72 said:
glad to hear that....
Never and Ever tick "NAND ERASE ALL" in odin
next time, if you want to erase data, do it from recovery.
Click to expand...
Click to collapse
Sure! And for the next time what exactly should I pick from recovery to erase everything? apart from wipe data/cashe/factory reset? There are also some format options in advanced menu (format system, data, cashe, dalvik cashe and so on). Or I should not touch anything there anymore? )))

jzxe10 said:
Sure! And for the next time what exactly should I pick from recovery to erase everything? apart from wipe data/cashe/factory reset? There are also some format options in advanced menu (format system, data, cashe, dalvik cashe and so on). Or I should not touch anything there anymore? )))
Click to expand...
Click to collapse
no need for format system..
if you format system, then it must be a ready custom rom in your sd card to flash via cwm. or you must flash stock via odin.
wiping data and cache and dalvik is enough

Thanks very much everyone who partisipated in this thread! You saved me a lot of time and a lot of effort! I was stuck in the boot screen because i formated the whole system. I tried that solution and worked for me! Thanks very very much!

jzxe10 said:
Duuude! It worked!!!!
Even without flashing param partition. Just the first step:
And ta-daaa! It works now. Ahhh! that was close! )))
You should write this instruction for [email protected] like me.
You can't imagine how I'm grateful to you!
Click to expand...
Click to collapse
I got the same problem but it didn´t work. Where can I find the param_i9505 file?
the stock recovey isn´t working, i can flash CWN but when it stuck because it can´t mount sdcard.
please help.

gastipies said:
I got the same problem but it didn´t work. Where can I find the param_i9505 file?
the stock recovey isn´t working, i can flash CWN but when it stuck because it can´t mount sdcard.
please help.
Click to expand...
Click to collapse
you dont need param file just redo this:
go into recovery, if it is possible, wipe data and cache, then flash with odin the stock firmware in pda with the pit file in pit window. just check auto reboot, f.reset and re-partition. when it says "pass" remove battery, re-insert it, go to recovery, wipe data and cache reboot.
Click to expand...
Click to collapse
if stock recovery didnt work at first, flash any custom recovery and make the wipe.
it is important to use pit file with the firmware.

samersh72 said:
you dont need param file just redo this:
if stock recovery didnt work at first, flash any custom recovery and make the wipe.
it is important to use pit file with the firmware.
Click to expand...
Click to collapse
I try it but it didn´t work. CWM give a error when it try to wipe data, "error can´t mount sd card"

gastipies said:
I try it but it didn´t work. CWM give a error when it try to wipe data, "error can´t mount sd card"
Click to expand...
Click to collapse
flash pit alone

samersh72 said:
flash pit alone
Click to expand...
Click to collapse
Didn´t work, still looping.

samersh72 said:
flash pit alone
Click to expand...
Click to collapse
Hi I change the pit file to other and after the process it allow me to enter in the stock recovery mode. Without any errors in odin.
The stock start with this error mesage:
#manual mode#
-- apling the csc code: BTU
sucefull aplied multi- CSC ----
E: failed to mount /data (invalid argument)
can´t mount /data (invalid argument)
E: faliled to mount /data (invalid argument)
The same problem in CWM custom recovery.
I think i need to mounth the sdcard or /data but i don´t know how to do it.
please help...
---------- Post added at 07:01 PM ---------- Previous post was at 06:51 PM ----------
gastipies said:
Hi I change the pit file to other and after the process it allow me to enter in the stock recovery mode. Without any errors in odin.
The stock start with this error mesage:
#manual mode#
-- apling the csc code: BTU
sucefull aplied multi- CSC ----
E: failed to mount /data (invalid argument)
can´t mount /data (invalid argument)
E: faliled to mount /data (invalid argument)
The same problem in CWM custom recovery.
I think i need to mounth the sdcard or /data but i don´t know how to do it.
please help...
Click to expand...
Click to collapse
problem solved i just do wipe in sotck recovery thanks for help

i need the file param.tar please
jzxe10 said:
Duuude! It worked!!!!
Even without flashing param partition. Just the first step:
And ta-daaa! It works now. Ahhh! that was close! )))
You should write this instruction for [email protected] like me.
You can't imagine how I'm grateful to you!
Click to expand...
Click to collapse
hello. i need the file param.tar please

samersh72 said:
go into recovery, if it is possible, wipe data and cache, then flash with odin the stock firmware in pda with the pit file in pit window. just check auto reboot, f.reset and re-partition. when it say "pass" remove battery, re-insert it, go to recovery, wipe data and cache reboot.
im afraid that ticking "nand erase all" in odin, usually lead to a hard brick!
Click to expand...
Click to collapse
can you give me file param_I9505.tar? i need it, thanks first :laugh:

whynot4444 said:
can you give me file param_I9505.tar? i need it, thanks first :laugh:
Click to expand...
Click to collapse
why you need it? and what is the problem.
any way it is atttached, i didnt test it yet, flash it at your own responsibility

Related

Phone Stuck in Endless Stock Recovery Loop!

I used the DI01 restore files from this thread:
http://forum.xda-developers.com/showthread.php?t=782204
and the .pit file from this thread:
http://forum.xda-developers.com/showthread.php?t=878620
1. I first flashed the System partition with the Re-Partition option checked and the .pit file.
2. The I flashed the kernel (no pit or re-partition)
3. Finally I flashed the modem (again, no pit or re-partition)
Odin reports all three completed sucessfully, but when I power the phone on, I get and endless loop into Stock Recovery.
HALP?
first off, why did you check the re-partition? Odin is to be used without touchiong anything except pda and start (at least for fascinate)
Try using Odin for DL09 full package and you wont have to flash anything but one thing.
http://forum.xda-developers.com/showthread.php?t=911677
I used the re-partition option because I was having issues with DBDATA partition corruption and flashing back to DI01 didn't fix it.
Flashing DL09 now....
DL09 flashed successfully, still goes straight to Stock Recovery.
jpolzner said:
DL09 flashed successfully, still goes straight to Stock Recovery.
Click to expand...
Click to collapse
Try flashing this package: http://forum.xda-developers.com/showthread.php?t=867648
yeah never touch anything in odin except the pda button and start. If i could get source code for it i would take out those buttons and recompile.
I was able to get into CWM Recovery and when I do a data wipe, I get the following errors:
Formatting DATA...
Formatting DATADATA....
E: Can't mount /dev/block/stl10 (File Exists)
Error mounting /datadata/
Skipping format...
Formatting CACHE:...
Formatting SDEXT:...
Formatting SDCARD:/.android_secure...
Data wipe complete.
running a backup also fails at trying to mount /dev/block/stl10.
jpolzner said:
I was able to get into CWM Recovery and when I do a data wipe, I get the following errors:
Formatting DATA...
Formatting DATADATA....
E: Can't mount /dev/block/stl10 (File Exists)
Error mounting /datadata/
Skipping format...
Formatting CACHE:...
Formatting SDEXT:...
Formatting SDCARD:/.android_secure...
Data wipe complete.
running a backup also fails at trying to mount /dev/block/stl10.
Click to expand...
Click to collapse
what cwm are you using, sounds like that might be the problem now. try using http://forum.xda-developers.com/showthread.php?t=960118
Takafiji said:
what cwm are you using, sounds like that might be the problem now. try using http://forum.xda-developers.com/showthread.php?t=960118
Click to expand...
Click to collapse
That's the one I'm using.
you try a different sd card yet?
I have not tried a different SD card. from what I'm seeing it doesn't seem to be the culprit. Looks like the fact it can't mount the DBDATA partition is holding things up.
I'm restoring using Andrenalyn's DI01 package.
EDIT: Full DI01 package failed at movinand.bin
It's Alive!!
I was able to flash the full DI01 package using Heimdall, excluding the movinand.bin portion.
try eb01 heres a link.
http://www.droidforums.net/forum/sa...roms-w-root-new-clockwork-updated-2-11-a.html
jpolzner said:
It's Alive!!
I was able to flash the full DI01 package using Heimdall, excluding the movinand.bin portion.
Click to expand...
Click to collapse
awesome! hope your done sweating bullets...
Fingers crossed. We'll see if the original DBDATA partition corruption is still there. That's what cause this whole mess.
Just out of curiosity, why is the movinand.bin the only part that fails when I flash the DI01 package?
thanks everyone for your help!

Help; rom installation errors and boot lopping

Hi guys
Trying to fix my brother's i9000
Im getting errors trying to install any stock roms...
i have tried lots of stock roms. this log is from trying to install
GT_I9000_XXJVO_XXJVO_OXAJVO
used 512 pit and repartion and auto reboot and f.reset time
phone was locked on O2 UK i think. do i need to use bootloaders and how?
i just want to get back into anything. then root and install CM9 afterwards
phone get into download mode ok, i have endlessly search the forums and tried lots of solutions. no success
any help?
i get the following errors on restart....
^^#can't see above this line on the recovery screen#^^
your storage not prepared yet, please use UI menu for format and reboot actions.
meida files copy failed
--deleting filesystem...
E:failed to mount /data (file exists)
E:delete_data_files; Can't open mount /data
your storage not prepared yet, please use UI menu for format and reboot actions.
--updating filesystem...
verifying the filesystem. please wait.
already updated filesystem, finished
successfully updated filesystem
--wiping cache...
formatting cache...
cache wipe failed.
--Appling multi-CSC...
Installing multi-csc
applied the csc-code 'KOR'
Successfully applied multi-CSC
Click to expand...
Click to collapse
if i try formatting after those errors, i get this error
-- wiping data...
Formatting /data...
E:format_volume: rfs Format failed on /dev/block/mmcblk0p2
Formatting /dbdata...
deleting meta data
Formatting /cache...
data wipe complete.
Click to expand...
Click to collapse
on restart it endless boot looping the galaxy logo.
i found this but not sure if that will help.
plus im confused lol
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/
try flashing jvu from samfirmware with odin3 v1.82 and pit512 with repartition
after you get PASS, restart the phone and wait until some processes will complete, the phone will automatically reboot, then take out & insert back the battery.
after that continue as usual with the flashing of custom kernel like semaphore 2.5.0.
now you'll be able to install custom roms
guy7685 said:
try flashing jvu from samfirmware with odin3 v1.82 and pit512 with repartition
after you get PASS, restart the phone and wait until some processes will complete, the phone will automatically reboot, then take out & insert back the battery.
after that continue as usual with the flashing of custom kernel like semaphore 2.5.0.
now you'll be able to install custom roms
Click to expand...
Click to collapse
+1
ive done alot of flashing
can u provide link to jvu etc
only other option i have found is using adb command and remake the partitions, but i can't get premission on the phone to do that via recovery. take a look at my other thread.
http://forum.xda-developers.com/showthread.php?p=24879740&posted=1#post24879740
re:
Try this:
http://forum.xda-developers.com/showthread.php?t=845708
Hope this can halp you, but you need to root your phone and some knowlege with abd. And when root first backup /EFS folder before you try anything.
Bye and good luck.

[HELP] I think I have bricked it.

Guys, I was about to flash a new rom (Omega v2 for i9500) then I wiped the whole thing in CWM. But in addition to that I have formatted the system (mounts and format > format system), now device won't boot. I can get in Download Mode and Recovery mode but it just won't boot...
Now I am downloading a stock ROM from SamMobile; would it fix it if i flash it via Odin? And any suggestions?
Please tell me something because I am feeling really bad =/.
holygeek said:
Guys, I was about to flash a new rom (Omega v2 for i9500) then I wiped the whole thing in CWM. But in addition to that I have formatted the system (mounts and format > format system), now device won't boot. I can get in Download Mode and Recovery mode but it just won't boot...
Now I am downloading a stock ROM from SamMobile; would it fix it if i flash it via Odin? And any suggestions?
Please tell me something because I am feeling really bad =/.
Click to expand...
Click to collapse
always do a backup via cwm for your rooted stock rom after rooting!
did you flash the rom after formatting system?
any way, Odin should fix it
samersh72 said:
always do a backup via cwm for your rooted stock rom after rooting!
did you flash the rom after formatting system?
any way, Odin should fix it
Click to expand...
Click to collapse
You are right =/ I should have done a backup.. Yea' I did flash the ROM after formatting system but won't boot.
holygeek said:
You are right =/ I should have done a backup.. Yea' I did flash the ROM after formatting system but won't boot.
Click to expand...
Click to collapse
wipe data and cache and dalvik, reflash the rom, rewipe data and cache and dalvik, reboot.
if not, you have odin.
samersh72 said:
wipe data and cache and dalvik, reflash the rom, rewipe data and cache and dalvik, reboot.
if not, you have odin.
Click to expand...
Click to collapse
Yes I have tried it many times. The downlaod is about to end now, I am so freaking nerveous right now, I hope it will fix it!..

Could not mount data and sdcard partition [solution]

Hi, I am new on android world, and dont know if i did crap with my phone:
I had FoxHound rom with Adam Kernel and CWM. So, I decided to flash the "4.3" google version. Until there, its ok.
But, i downloaded a version of pre-rooted 4.2.2 google version, and wanted to flash it. And i had the stupid idea of formating ALL things on CWM Mount and Storage menu.
Then, my phone didnt started on custom recovery... so, i flashed Philz Touch. The phone now start on custom recovery, but i flashed 2 different roms, and it no boot... well, he boots, but keep on bootscreen and dont pass. What can i do, please? (Sorry for the english...)
hugodiniz said:
Hi, I am new on android world, and dont know if i did crap with my phone:
I had FoxHound rom with Adam Kernel and CWM. So, I decided to flash the "4.3" google version. Until there, its ok.
But, i downloaded a version of pre-rooted 4.2.2 google version, and wanted to flash it. And i had the stupid idea of formating ALL things on CWM Mount and Storage menu.
Then, my phone didnt started on custom recovery... so, i flashed Philz Touch. The phone now start on custom recovery, but i flashed 2 different roms, and it no boot... well, he boots, but keep on bootscreen and dont pass. What can i do, please? (Sorry for the english...)
Click to expand...
Click to collapse
UPDATING: When i try to Mount the partitions (cache, data, system...) all they can be mounted. Just data and sdcard get error when i try to mount then.
hugodiniz said:
UPDATING: When i try to Mount the partitions (cache, data, system...) all they can be mounted. Just data and sdcard get error when i try to mount then.
Click to expand...
Click to collapse
Same thing happened to me. I can't fix it.
I tried this: (1) Odin TWRP, (2) boot recovery, (3) wipe data, (4) factory reset, (5) install rom
After this I can boot up but if I reboot it gets stuck at logo unless I redo these steps
hugodiniz said:
UPDATING: When i try to Mount the partitions (cache, data, system...) all they can be mounted. Just data and sdcard get error when i try to mount then.
Click to expand...
Click to collapse
Flash full rom ' pit.pda.csc.modem ' u will back to stock rom then your phone will works fine
NOORHASHIM said:
Flash full rom ' pit.pda.csc.modem ' u will back to stock rom then your phone will works fine
Click to expand...
Click to collapse
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
---------- Post added at 12:49 AM ---------- Previous post was at 12:36 AM ----------
twiifm said:
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
Click to expand...
Click to collapse
I just tried this and it worked. You have to find stock firmware for your device
(1) Put into download mode then Odin stock firmware (uncheck everything)
(2) Unplug USB cable & pull battery
(3) Boot into Samsung recovery
(4) Factory Reset & wipe data
Before I tried to factory reset with TWRP or CWM and it didn't work. Try to factory reset with Samsung recovery instead
twiifm said:
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
---------- Post added at 12:49 AM ---------- Previous post was at 12:36 AM ----------
I just tried this and it worked. You have to find stock firmware for your device
(1) Put into download mode then Odin stock firmware (uncheck everything)
(2) Unplug USB cable & pull battery
(3) Boot into Samsung recovery
(4) Factory Reset & wipe data
Before I tried to factory reset with TWRP or CWM and it didn't work. Try to factory reset with Samsung recovery instead
Click to expand...
Click to collapse
And where can i find a full rom?
twiifm said:
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
---------- Post added at 12:49 AM ---------- Previous post was at 12:36 AM ----------
I just tried this and it worked. You have to find stock firmware for your device
(1) Put into download mode then Odin stock firmware (uncheck everything)
(2) Unplug USB cable & pull battery
(3) Boot into Samsung recovery
(4) Factory Reset & wipe data
Before I tried to factory reset with TWRP or CWM and it didn't work. Try to factory reset with Samsung recovery instead
Click to expand...
Click to collapse
Ooooohhhhhh yeaaaaaaaaaaaaaaaaaah man! It worked. It seems that Samsung Kernel get a clean format of the broken partition, and the others kernels dont do it.
Thank you.

Big problem bootlop clean reinstall: '(note 4 (N910F)

Hi XDA sorry to bother you but I really really really need your help because I am desperate ...
I am French but I speak a little English and I am your community for a long time!
Here I have a note 4 (N910F) and I was officially NK4. I wanted to install a custom rom but I had beug on official NK4, so I decide to make a clean reinstall before putting a custom rom!
The problem is that in order to do I put my note 4 in download mode and I opened odin then I checked auto reboot, re partition, f reset time and nand erase all. I put the PIT, BL, AP, CP and the SCC in the right boxes then I clicked on START and then restarts the mobile was stuck on the samsung logo and waited 15min .. Always blocked after 15 minutes so I extinguishes.
I tried other manipulation: I try to flash the rom 4 files with the pit but check the nand erase all but still stuck on the Samsung logo.
I try to flash the rom 4 file without the pit but still stuck on the Samsung logo.
I installed philz and restore a backup but always the same.
And I try to do a factory reset before installing the official NK4 and always the same.
I also found that when I do a factory reset I have two errors:
the first E: Error mouting / data!
the second E: Error mouting / sdcard / .android_secure!
Voila so I really need your help because no one can solve my problem: '(
Thank you in advance ..
Download new rom from sammobile, use odin and restart everything from scratch! Dont un-check or change Anything in odin, just start when you have chosen right file..!
Try To change file system of data And sdcard, like this http://forum.xda-developers.com/showthread.php?p=56956070
Maybe you can try this: http://www.phonandroid.com/forum/reinstallation-propre-du-note-4-sm-n910f-t110393.html
First I wanted to thank you for your help!
I finally managed to solve my problem!
I spent more than 7 hours on this problem to finally succeed!
I did a nand erase all with odin then directly flash the cfroot without turning it on after nand erase all. Then I was in the recovery then wipe and factory reset wipe Cache and then I restart my phone and it worked!
For without the flash cfroot it did not work!
it was really long to find this a bit weird solution!
Thank you for your help!
For future reference:
Wipe /data from stock recovery after flashing a PIT and ROM.
Flashing a PIT wipes all partitions on the phone, and Odin only flashes /system, leaving /data unformatted. Wiping /data from stock recovery fixes that.

Categories

Resources