Need help with soft bricked i777 - AT&T Samsung Galaxy S II SGH-I777

Before my phone didn't start and my Recovery says can't mount i had ilusion rom (http://forum.xda-developers.com/showthread.php?t=2363046) so i was looking for a solution and i found that i had to restore my phone to stock and i did that or at least try, starting it stuks on factoryfs.img now my phone is soft bricken then i tried again and it always stucks in factoryfs.img with I777UCLE5_I777ATTLE5_I777UCLE5_HOME.tar.md5 then i tried with I777UCMD8_I777ATTMD8_ATT 4.1.2 version and it stucks on Sbl.bin i was looking and some persons says that i need a pit file but i can't find it, i'm trying with Odin 1.74 1.83 3.09 fist time i tried was with odin v3.09.
PD: English is not my native language so sorry for bad spelling and thanks you very much if you can help me.

Alvarosl said:
Before my phone didn't start and my Recovery says can't mount i had ilusion rom (http://forum.xda-developers.com/showthread.php?t=2363046) so i was looking for a solution and i found that i had to restore my phone to stock and i did that or at least try, starting it stuks on factoryfs.img now my phone is soft bricken then i tried again and it always stucks in factoryfs.img with I777UCLE5_I777ATTLE5_I777UCLE5_HOME.tar.md5 then i tried with I777UCMD8_I777ATTMD8_ATT 4.1.2 version and it stucks on Sbl.bin i was looking and some persons says that i need a pit file but i can't find it, i'm trying with Odin 1.74 1.83 3.09 fist time i tried was with odin v3.09.
PD: English is not my native language so sorry for bad spelling and thanks you very much if you can help me.
Click to expand...
Click to collapse
You can find resources you need for the SGH-I777 in the Download Repository. (see the link in my signature) You will find a download link there for Odin3 v1.85, which is the recommended version for this phone. Any version of Odin should work, but if having issues it is a good idea to try v1.85.
It is very unlikely that you need to use a pit file. As a first step, please try the following. You may find that this solves the problem:
Instructions to clear nand read/write corruption. Instructions are specific; do them in order, and don't skip.
Odin3 v1.85 is recommended.
1) Download the Tar version of Siyah 2.6.14 Kernel. Flash it in PDA. Without ticking Re-Partitioning
2) Flash the Tar.md5 of the full stock Gingerbread distribution from the Download Repository, I777UCKH7 including the bootloaders and everything, in the PDA slot.
3) If that is successful you are done. If it is not, then:
4) Download the SBL Bootloader from the Download Repository. Flash it as PDA in ODIN, without ticking Re-Partitioning. (Please observe normal bootloader flashing caution.)
5) Flash the Kernel, as in step 1.
6) Flash the full stock Gingerbread distribution, as in step 2.
If you get the phone going on Gingerbread, I would then flash I777UCMD8, which is the latest available stock, before you begin to customize again.
By the way, your English is very readable. Two suggestions: For "starting it stuks on factoryfs.img" you would write "it gets stuck on factoryfs.img" and for "now my phone is soft bricken" you would write "soft bricked".
Regards, and let us know if you get this resolved or need more help.

creepyncrawly said:
You can find resources you need for the SGH-I777 in the Download Repository. (see the link in my signature) You will find a download link there for Odin3 v1.85, which is the recommended version for this phone. Any version of Odin should work, but if having issues it is a good idea to try v1.85.
It is very unlikely that you need to use a pit file. As a first step, please try the following. You may find that this solves the problem:
Instructions to clear nand read/write corruption. Instructions are specific; do them in order, and don't skip.
Odin3 v1.85 is recommended.
1) Download the Tar version of Siyah 2.6.14 Kernel. Flash it in PDA. Without ticking Re-Partitioning
2) Flash the Tar.md5 of the full stock Gingerbread distribution from the Download Repository, I777UCKH7 including the bootloaders and everything, in the PDA slot.
3) If that is successful you are done. If it is not, then:
4) Download the SBL Bootloader from the Download Repository. Flash it as PDA in ODIN, without ticking Re-Partitioning. (Please observe normal bootloader flashing caution.)
5) Flash the Kernel, as in step 1.
6) Flash the full stock Gingerbread distribution, as in step 2.
If you get the phone going on Gingerbread, I would then flash I777UCMD8, which is the latest available stock, before you begin to customize again.
By the way, your English is very readable. Two suggestions: For "starting it stuks on factoryfs.img" you would write "it gets stuck on factoryfs.img" and for "now my phone is soft bricken" you would write "soft bricked".
Regards, and let us know if you get this resolved or need more help.
Click to expand...
Click to collapse
first thank you very much for answering
when i try to install the kernel i can't pass this i'm like 20min by now and nothing(i'm using odin 1.85).
<ID:0/003> Added!!
<ID:0/003> Odin v.3 engine (ID:3)..
<ID:0/003> File analysis..
<ID:0/003> SetupConnection..
<ID:0/003> Initialzation..
<ID:0/003> Get PIT for mapping..
<ID:0/003> Firmware update start..
<ID:0/003> zImage
<ID:0/003> NAND Write Start!!
and where can i find the gingerbread stock rom i can't find it

Alvarosl said:
and where can i find the gingerbread stock rom i can't find it
Click to expand...
Click to collapse
Skip to step 4. Follow steps 4, 5 & 6. You can get everything from the Download Repository. The stock gingerbread is the 5th item down, with the heading "I777UCKH7-CL503881 Stock Binaries:". The SBL Bootloader is the first item.

creepyncrawly said:
Skip to step 4. Follow steps 4, 5 & 6. You can get everything from the Download Repository. The stock gingerbread is the 5th item down, with the heading "I777UCKH7-CL503881 Stock Binaries:". The SBL Bootloader is the first item.
Click to expand...
Click to collapse
apology for not responding was busy these days and I could not download the complete parts,i always had an error and one more question before i try to do this i have to flash the tar file and bootloader cache.img, factoryfs.img, hidden.img, modem.bin and zImage or only the tar file in pda slot, i'll informs you when I can, thanks you soo much.

Alvarosl said:
apology for not responding was busy these days and I could not download the complete parts,i always had an error and one more question before i try to do this i have to flash the tar file and bootloader cache.img, factoryfs.img, hidden.img, modem.bin and zImage or only the tar file in pda slot, i'll informs you when I can, thanks you soo much.
Click to expand...
Click to collapse
Step 4. Flash the I777 UCKH7 sbl.tar in PDA
Step 5. Flash siyah-v2.6.14-att.tar in PDA
Step 6 Flash I777UCKH7-REV02-home-low-CL503881.tar.md5 in PDA

creepyncrawly said:
Step 4. Flash the I777 UCKH7 sbl.tar in PDA
Step 5. Flash siyah-v2.6.14-att.tar in PDA
Step 6 Flash I777UCKH7-REV02-home-low-CL503881.tar.md5 in PDA
Click to expand...
Click to collapse
i get succeed when i did step 4 but it didnt restart itself, now i cant turn it on again, i get a brick?

Can you get into recovery mode (power+both volume buttons)? Can you get into download mode (pull the battery and plug into the PC via USB cable, then power on)? Could be the battery died also. Too many variables, but really don't believe you've bricked it. Looks like you flashed the right file.

SteveMurphy said:
Can you get into recovery mode (power+both volume buttons)? Can you get into download mode (pull the battery and plug into the PC via USB cable, then power on)? Could be the battery died also. Too many variables, but really don't believe you've bricked it. Looks like you flashed the right file.
Click to expand...
Click to collapse
before when i conect my phone to my pc it power up now it dont, i tryed download mode and recovery the same doesnt work, i tryed to charge the batery with a charger external and the same i really think that this is dead, however i ll still trying to turn it on .

Hope isn't lost. Perhaps try running the program again, that is if the PC will recognize the device. I can't see how you could have bricked it using the same file many have installed for over 2 years!
Edit: that last statement wasn't meant to come off in a strong manner, was just trying to convey the validity of the .tar file. Also, did you flash the Siyah kernel as well? The device will give a black screen (with the appearance of not booting) if the wrong kernel/or none is installed.

SteveMurphy said:
Hope isn't lost. Perhaps try running the program again, that is if the PC will recognize the device. I can't see how you could have bricked it using the same file many have installed for over 2 years!
Edit: that last statement wasn't meant to come off in a strong manner, was just trying to convey the validity of the .tar file. Also, did you flash the Siyah kernel as well? The device will give a black screen (with the appearance of not booting) if the wrong kernel/or none is installed.
Click to expand...
Click to collapse
i think the bootloader is ok, that was not the problem, them about the kernel i try to install before install bootloader without succeed it stuck in wipe or something, then i restar in download mode and i install bootloader in pda with socceed byt i had the problem that it dont power up , i think maybe was a batery problem couse i dont know how much battery had the phone but i really dont know, i'm looking to sell it or change the mother board but i will try to do something before give up.

Related

[Q] Galaxy S2: factoryfs.img Fail during Odin flash to M250K handset. What to do?

Hi,
I just got a Samsung Galaxy S2 yesterday (yay me!) but it is a Korean model (Olleh branded SWH-M250K. Ive gathered its from KT). Now I did a lot of research last night and figured out that I can flash any stock firmware to it using Odin and appropriate kernel. So I downloaded a UK stock XXKG6 firmware & kernel, and flashed it using Odin.
But when I flash it, it fails to write factoryfs.img to the phone. And the process fails after that. It looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First time this happened, it just gave me the Upgrade Firmware screen at startup, and wouldn't boot Android. I could get into download mode though, so I flashed a stock kernel to it. Now this time it booted and all, but when it does, it keeps giving me these errors once every few minutes:
I re-downloaded the Odin 1.85 setup and ran from it. Same result. I thought maybe the downloaded firmware is corrupted. So I downloaded another one XXKH3 for unbranded European model. Tried flashing this firmware with an insecure kernel, but it gave the exact same error.
Now when I flash the stock kernel for it, it works and boots (still with the above error in picture). The system properties are as given in this image:
Can someone please tell me how to have a smooth flash?
Oh and I did manage to root the previous firmware with CFroot, so I have CWM 4 recovery in there as well.
I would really appreciate if someone could help me figure out what's the problem here. Thanks!
P.S.: Attaching imagery just in case the embed links don't work. Attached in the same order as embedded above.
If m250k is like i9100 you have to wipe stats. As you flashed an official rom you shouldnt have CWM, just go to original recovery, wipe cache and wipe data/factory reset.
How do I go back to original Samsung recovery?
I installed it with CFroot, then flashed a stock Kernel after root successful & pushed the zImage of CFroot from within the CWM app (NOT Rom Manager. CFroot uses a modified version of it called CWM). Now I don't get the yellow triangle when I boot the phone, but I still have CWM 4 on the phone. I've flashed stock kernels multiple times after that, but the recovery stays as CWM4.
Evo911 said:
How do I go back to original Samsung recovery?
I installed it with CFroot, then flashed a stock Kernel after root successful & pushed the zImage of CFroot from within the CWM app (NOT Rom Manager. CFroot uses a modified version of it called CWM). Now I don't get the yellow triangle when I boot the phone, but I still have CWM 4 on the phone. I've flashed stock kernels multiple times after that, but the recovery stays as CWM4.
Click to expand...
Click to collapse
Uninstall CWM.
Or Just flash the firmware again, it will un root device and completely remove CWM, SU.
Well the flashing part is problematic here. It just doesn't finish the flashing of a new firmware on the phone. And I don't have a backup of the actual firmware so im kind of stuck If you know a way out, please do point me in the right direction. Thanks!
Just enter the cwm recovery, go to advanced, wipe dalvik. Back (power button if home is your enter key in cwm), wipe cache and wipe data/factory reset. Doing this you will lose all your apps/data. Didnt see you rooted after the flash, doesnt matter if its original or cwm recovery.
Ok here's what I just did. I didn't have the M250K stock firmware with me and cant download right now coz im at work, so used the XXKH3 firmware instead.
I went into CWM 4 recovery, wiped the data/factory reset, reboot, into download mode, flashed XXKH3 firmware again. It again got stuck at factoryfs.img. Only this time, I flashed the SHW-M250K stock kernel after it. Rebooted, and now its all working rather smooth. No popup of any kind. Checked on ODIN screen in download mode, and it says the Binary is Samsung official (or something like that), but the recovery is still CWM :s
Now Im just thinking, is it all good if its working alright? I mean when you look at the screenshot above, Odin onlymanaged to push 2 img files to the phone before it fails. Now are the rest more or less the same old ones. What should I do here?
My goal is to get rid of the Korean firmware, and install a stock European 2.3.4 kernel in there. Now its just not letting me finish this task. Even when I download the stock firmware at home and flash it, Im not sure if it will let it flash that as well or not. And let's say that I DO get it flashed, what then? Wouldn't I be back to square one?
First question has to be is my phone M250K
compatible with the firmware i am trying to flash .
jje
JJEgan said:
First question has to be is my phone M250K
compatible with the firmware i am trying to flash .
jje
Click to expand...
Click to collapse
Is that still under debate? I read in multiple threads that as long as you're flashing a stock firmware, it should be fine. Could you please guide me how to determine which firmware is compatible with my handset?
you can try this:
http://forum.xda-developers.com/showthread.php?t=1249525&highlight=m250k
Evo911 said:
Is that still under debate? I read in multiple threads that as long as you're flashing a stock firmware, it should be fine. Could you please guide me how to determine which firmware is compatible with my handset?
Click to expand...
Click to collapse
No idea thats why you need to check .
Your symptoms are of a wrong firmware flash which begs the question i asked .
Check those multiple threads if i where you .
jje
Already been there. This is the stock firmware. I need a 2.3.4 European firmware compatible with M250K. Don't know where to find one, or how to determine which firmware will be compatible with my phone
I flashed my m250k with lite v.6.1 very stabil my phone but not working DMB tv and NFC
Now I can back stock rom but I have tried all stock rom.can't working stock roms.
Olleh letter during and phone making continuous restart. Using -usb jig- of download mod again lite v.6.1 flashing my phone.
Sorry for my english...
Guys I've flashed SHW-M250K with European stock firmware XXKH3, and rooted with CF root. But the flashing didn't go smooth and it failed at the end of flashing factoryfs.img. I flashed the stock kernel for it after that, and the European firmware started working.
Now, there are the following items within the .tar archive that still need to be flashed over to the phone.
hidden.img
modem.bin
param.lfs
Sbl.bin
zImage
Can someone tell me how can I push these items onto the phone to complete the firmware update? EDGE and GPS aren't working on this firmware, and I think it will work after pushing these to the phone.
Anyone?
Evo911 said:
Guys I've flashed SHW-M250K with European stock firmware XXKH3, and rooted with CF root. But the flashing didn't go smooth and it failed at the end of flashing factoryfs.img. I flashed the stock kernel for it after that, and the European firmware started working.
Now, there are the following items within the .tar archive that still need to be flashed over to the phone.
hidden.img
modem.bin
param.lfs
Sbl.bin
zImage
Can someone tell me how can I push these items onto the phone to complete the firmware update? EDGE and GPS aren't working on this firmware, and I think it will work after pushing these to the phone.
modem.bin flash via Odin as Phone .
zImage flash via Odin as PDA .
The rest no idea never seen this before a flash installs the lot .
jje
Click to expand...
Click to collapse
Ok just tried this. it worked! Thanks JJEgan!
EDGE is working great, GPS also straightened right up!
Just need to see if its important to flash the rest or not. So far I haven't encountered any bugs, and I've been using it as my primary phone since last night. But better safe that sorry, so I would very much appreciate if someone could tell me how can I flash the rest. ADB perhaps?
Similar to OP, but lost in the detail - can you help??
Hey guys, a total noob to this but, I promise, I've spent eight hours trawling forums and have a brick wall. Hoping you can help.
I seem to have exactoly the same problem as the OP. I have a UK unlocked T-mobile S2 which I decided to flash using Odin3 v1.85 to ICS (I9100XXLP2_I9100OXALP2_OXA.rar, following instructions on CNET) and it worked like a dream. I then rooted the phone - all was fine.
Only issue was that I had occasional crashes etc and so I tried to go back to Gingerbread.. big mistake. I pulled down what I thought was the correct firmware... and I can't be sure which files I used, as I've stupidly downloaded so many now and I can't find it - all I know is that I noticed too late that the files I used to flash to ICS were .tar.md5, whilst the files I used to try and downgrade were .tar (even after unpacking).
GUess what... Odin failed. "Oh well", I thought, "I'll just reflash to ICS". No joy.
I boot the phone and get the Yellow Exclamation mark / "Firmware upgrade encountered an error". I can. however, by removing the battery and then using the volume down / home / power button combo get into the OS download screen. However, everytime I try to flash anything to the phone using Odin, it seems to start and then fails, as per the OP, in exactly the same place:
Code:
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> I9100_CODE_I9100XXLPB_CL99600_REV02_user_low_ship.tar.md5 is valid.
<OSM> MODEM_I9100XXLPB_REV_02_CL1101286.tar.md5 is valid.
<OSM> GT-I9100-MULTI-CSC-OXXLP5_RST.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/007> Odin v.3 engine (ID:7)..
<ID:0/007> File analysis..
<ID:0/007> SetupConnection..
<ID:0/007> Initialzation..
<ID:0/007> Get PIT for mapping..
<ID:0/007> Firmware update start..
<ID:0/007> boot.bin
<ID:0/007> NAND Write Start!!
<ID:0/007> Sbl.bin
<ID:0/007> param.lfs
<ID:0/007>
<ID:0/007> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
<ID:0/007> Removed!!
<ID:0/007> Added!!
I've read that perhaps I need a PIT file and choose repartition - but I've equally read against warnings of doing this. I get totally lost at post 3 on this - I'm not technically inept (honest!)
I'm really, really stuck and, short of replacing the phone, am putting my trust in you...
Thanks in advance!
similar problem, only can't go into recovery
Evo911 said:
Well the flashing part is problematic here. It just doesn't finish the flashing of a new firmware on the phone. And I don't have a backup of the actual firmware so im kind of stuck If you know a way out, please do point me in the right direction. Thanks!
Click to expand...
Click to collapse
guys, I'm having a similar problem. I wanted to unlock my phone, update it and root it, but I didn't know at the beginning that I have to backup my stock firmware.
so I uploaded my SII to android 4.0.3, rooted it and unlocked. but it was crashing a lot so I wanted to go back to android 2.3.5.
I went from rom manager into reboot in recovery, wiped data/ factory sets, cash, dvlik and chosed the firmware from SD. It did something but when it ended it showed me Kernel panic or something.
Now it won't go into recovery, it always show the screen with the yellow triangle between computer and phone and says Firmware upgrade encountered and issue.
It enters download mode but when I try to flash from Odin it fails at factoryfs and I can't upload anything. I tried uploading different software but it fails all of them
What can I do? Is there any other way to recovery? Should I upload a new bootloader?
Can anybody tell me exactly what files to upload and from where?
I have to admit I don't understand much of these things, I just wanted to unlock and update my phone and thought I could do it alone, just by reading. Looks like I'm stuck
Your answers would really help.
Thanks!
maramat_99 said:
guys, I'm having a similar problem. I wanted to unlock my phone, update it and root it, but I didn't know at the beginning that I have to backup my stock firmware.
so I uploaded my SII to android 4.0.3, rooted it and unlocked. but it was crashing a lot so I wanted to go back to android 2.3.5.
I went from rom manager into reboot in recovery, wiped data/ factory sets, cash, dvlik and chosed the firmware from SD. It did something but when it ended it showed me Kernel panic or something.
Now it won't go into recovery, it always show the screen with the yellow triangle between computer and phone and says Firmware upgrade encountered and issue.
It enters download mode but when I try to flash from Odin it fails at factoryfs and I can't upload anything. I tried uploading different software but it fails all of them
What can I do? Is there any other way to recovery? Should I upload a new bootloader?
Can anybody tell me exactly what files to upload and from where?
I have to admit I don't understand much of these things, I just wanted to unlock and update my phone and thought I could do it alone, just by reading. Looks like I'm stuck
Your answers would really help.
Thanks!
Click to expand...
Click to collapse
Ok here's what you should do:
1- Stop panicking!!
2- Go to Download Mode
3- Flash a stock Kernel (can be M250K kernel, but I'd recommend using the kernel of the firmware u just flashed)
4- Reboot
5- Enjoy!
I've been having similar problems for a while now, and Odin failing at factoryfs.img doesn't really hurt much. I've used multiple firmware with it, all of them crash at factoryfs.img. I flash the kernel after that, and then use the phone. Never had a problem.
In case there is a problem, you can extract modem.bin from the big firmware .tar file, and flash it as follows:
1- Go to Download Mode
2- Open ODIN & let it detect the phone
3- Put modem.bin in PHONE option, and flash.
4- Reboot, and all done!
Hope it helps!
Evo911 said:
Ok here's what you should do:
1- Stop panicking!!
2- Go to Download Mode
3- Flash a stock Kernel (can be M250K kernel, but I'd recommend using the kernel of the firmware u just flashed)
4- Reboot
5- Enjoy!
I've been having similar problems for a while now, and Odin failing at factoryfs.img doesn't really hurt much. I've used multiple firmware with it, all of them crash at factoryfs.img. I flash the kernel after that, and then use the phone. Never had a problem.
In case there is a problem, you can extract modem.bin from the big firmware .tar file, and flash it as follows:
1- Go to Download Mode
2- Open ODIN & let it detect the phone
3- Put modem.bin in PHONE option, and flash.
4- Reboot, and all done!
Hope it helps!
Click to expand...
Click to collapse
Thanks for the info, I will use it next time. I managed to install the 4.0.3 firmware last night with multiple files (I prayed to it and, after 3 hours of trying, somehow it went through) but I will probably have to do this again. This software is very unstable and I need to try something else.
From previous experience, when I try to upload 2.3.5 from from manager reboot into recovery it can't do it and then gives this problem at odin multiple file installation.
But I still don't know this:
- where to get a a stock Kernel from
- where to extract the modem.bin from
I've used these files:
PIT u1_02_20110310_emmc_EXT4.pit
PDA I9100_CODE_I9100XXKP8_CL42141_REV02_user_low_ship.tar.md5
PHONE MODEM_I9100XXKP8_REV_02_CL1092599.tar.md5
CSC GT-I9100-MULTI-CSC-OXAKP8.tar.md5
I have also this kernel available in the multiple file I9100_KERNEL_I9100XXKP8_CL42141_REV02_user_low_ship.tar.md5
and this one to root CF-Root-SGS2_XX_OXA_KP8-v5.2-CWM5.tar.
Could you please give me some links from where I can download a stock kernel? This one crashes when I try to enter most settings, crashes when I answer and is very unstable. But I am afraid to flash from SD the 2.3.5 because after that it does the same thing all over again.
Also, I don't know from where to take stock files, either for 4.0.3 or for Gingerbread. These ones that I tryed to install and they crashed where taken from Cyanogenmod but I couldn't find a multiple file to reload 2.3.5.
Thanks for the help, next time it crashes I will try your method, but please try to send me links where to dowload because I don't know anymore what is stock and what isn't I am very very new to this ...
so, this is what I would need, to summarize:
- stock kernel for 4.0.3
- where to extract the modem.bin file from
- stock kernel or multiple file to install from Odin the Gingerbread.
Please help!
And thank you very much for your quick response, it helped very much, now I know what to do when this happens again.
Mara

[Q] Unable to Normally Boot Phone or Enter Recovery Mode. Any Solution?

I have searched a lot of threads and post about bricks before posting here. It would appear that my problem is a unique combination of a lot issues.
Detailed Explanation :
I am using a Samsung Galaxy S II (GT-I9001) with the Omega Custom ROM
[ROM][XXLPH][05Mar]◄Omega ICS v3.2►.
http://forum.xda-developers.com/showthread.php?t=1489197
It was working perfectly fine for a week.
Then suddenly is stopped responding and on reboot , it just showed the Samsung start screen with the yellow triangle and exclamation.
I entered Recovery Mode and tried to restore a backup but it failed. I also tried to install the same ROM again (install from SD card) with CWM from recovery but it stopped halfway and failed to respond for over 2 hours.
With no choice but to pull the battery I did so but now Recovery Mode has stopped working. Just get the same loading screen with Samsung and yellow triangle.
However I was not worried because DOWNLOAD mode was still working. I tried flashing a stock firmware using ODIN but it stopped responding. I waited for an hour and pulled the plug.
Download mode is still working so I tried different stock rom with both single file versions (PDA) and the 3 file versions (PDA,PHONE and CSC) with pit and repartition but all stop responding after a while.
It stops at cache.img for the single file ROMs and for the 3 file roms with pit it stops responding at SET PIT File. DO NOT TURN OFF TARGET. I also tried Lightening Rom and that stopped at factory.fs NAND Write.
I checked and double checked all drivers, chaged USB ports and tried reflashing a number of times.
Now when I try to boot or enter recovery I get the message "Firmware upgrade encountered and issue. Please select recovery mode in Kies and try again"
Kies is able to recognize the device but it tries to connect and then says "The device has stopped responding. Reboot to fix this issue" So I am unable to recover firmware using Kies.
TLDR :
There are no driver issues or interference between Kies and Odin. The device is easily recognized and download mode is working. Just unable to flash back to stock rom using odin, unable to boot or enter recovery mode.
Right now the only consolation is that download mode is still working but I am unable to flash anything. Also I had to get stock roms form external sites and smafirmware.com because the Official Firmware Links are from multiupload and they do not work.
Are there any mirrors for the official stock ROMS?
I am trying to flash different roms with ODIN and hoping for something to happen.
Suggestions/Solution to this unique problem will be much appreciated.
This is an unusual problem.
Try to flash the Kernel only via Odin.
Do let me know if you succeed.
[email protected]!n said:
This is an unusual problem.
Try to flash the Kernel only via Odin.
Do let me know if you succeed.
Click to expand...
Click to collapse
I am now using only ODIN. When you say Kernel I assume just the small stock Kernel File (5-10 MB) and not the entire ROM (~350 MB)
In download mode, in the top left corner, the current Binary was show as "Custom"
I used ODIN to flash Stock Kernel (Kernel_I9100XWKF3) and this was the progress:
Firmware Update Start..
zImage
NAND Write Start..
Now it stops responding (waited 20 mins ) but now the Current Binary is shown as "SAMSUNG OFFICIAL"
However, I am still unable to flash a complete stock ROM and cannot boot or enter recovery.
Stock firmwares are available at samfirmware.com. Try one from there. Once you flash, do a full wipe/factory reset. Seems you'll always have to do this when going from ICS to Gingerbread.
Also, from your post above, it sounds like you are still on an ICS ROM (XXLPH), and tried flashing a Gingerbread kernel (XWKF3). This will never work...
Sent from my GT-I9100 using XDA
ctomgee said:
Stock firmwares are available at samfirmware.com. Try one from there. Once you flash, do a full wipe/factory reset. Seems you'll always have to do this when going from ICS to Gingerbread.
Also, from your post above, it sounds like you are still on an ICS ROM (XXLPH), and tried flashing a Gingerbread kernel (XWKF3). This will never work...
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
I tried firmwares from samfirmware.com. The problem is that I am unable to complete the flash process as odin always gets stuck at some point (Mostly KERNEL Stage) .
<ID:0/010> Odin v.3 engine (ID:10)..
<ID:0/010> File analysis..
<ID:0/010> SetupConnection..
<ID:0/010> Initialzation..
<ID:0/010> Get PIT for mapping..
<ID:0/010> Firmware update start..
<ID:0/010> boot.bin
<ID:0/010> NAND Write Start!!
<ID:0/010> Sbl.bin
<ID:0/010> param.lfs
<ID:0/010> zImage
It stops here.Unless I complete a flash I cannot full wipe/factory reset.
Also, I tried flashing an older XWKE8 Rom from samfirmware and the message "Firmware upgrade encountered and issue. Please select recovery mode in Kies and try again" has disappeared. Now when I try to boot or enter recovery there is just a mobile icon and a PC icon connected my an exclamation mark inside an orange triangle
Like you said, it may be because I was on an ICS ROM and then tried to switch to Gingerbread. If So, What ROM do I try to flash now?
Have a search for the GB bootloader and try flashing just that first .
GT-I9100_OLD_BOOTLOADER is the name of the file .
jje
JJEgan said:
Have a search for the GB bootloader and try flashing just that first .
GT-I9100_OLD_BOOTLOADER is the name of the file .
jje
Click to expand...
Click to collapse
Ok I got the bootloader and flashed it using ODIN. This is the first file that ODIN was finally successful in flashing. Thanks.
Something has changed. There is no longer a semi brick screen with the icons previously mentioned.The device now displays the boot screen showing "Samsung Galaxy S II GT-i9100" There is NO YELLOW TRIANGLE now. Finally some Progress. But it is stuck on this screen. Still no Recovery mode or normal boot.
This has however given me some hope. What do I do next?
Try a custom kernel i.e.
http://dl.dropbox.com/u/55089648/Siyah-v2.5.2.tar
download an unrar it.
Flash it with Odin.
Hopefully it works
lordtoeknee said:
Ok I got the bootloader and flashed it using ODIN. This is the first file that ODIN was finally successful in flashing. Thanks.
Something has changed. There is no longer a semi brick screen with the icons previously mentioned.The device now displays the boot screen showing "Samsung Galaxy S II GT-i9100" There is NO YELLOW TRIANGLE now. Finally some Progress. But it is stuck on this screen. Still no Recovery mode or normal boot.
This has however given me some hope. What do I do next?
Click to expand...
Click to collapse
If you have download mode just flash a stock rom if no download mode grab a USB recovery jig from ebay etc .
jje
[email protected]!n said:
Try a custom kernel i.e.
//dl.dropbox.com/u/55089648/Siyah-v2.5.2.tar
download an unrar it.
Flash it with Odin.
Hopefully it works
Click to expand...
Click to collapse
Tried flashing this. It get stuck at this stage :
<ID:0/006> Odin v.3 engine (ID:6)..
<ID:0/006> File analysis..
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> zImage
<ID:0/006> NAND Write Start!!
Actually all kernels I have tried so far are getting stuck at this stage.
[email protected]!n said:
Try a custom kernel i.e.
http://dl.dropbox.com/u/55089648/Siyah-v2.5.2.tar
download an unrar it.
Flash it with Odin.
Hopefully it works
Click to expand...
Click to collapse
Dude. It still looks like he hasn't flashed a gingerbread firmware successfully yet. Which means he's really still on ICS. Siyah doesn't support ICS yet.
And typically, flashing only a kernel when in a situation as he describes won't get you out of that situation. Unless the reason you got into that situation in the first place was by flashing a kernel that wasn't meant for you.
Sent from my GT-I9100 using XDA
JJEgan said:
If you have download mode just flash a stock rom if no download mode grab a USB recovery jig from ebay etc .
jje
Click to expand...
Click to collapse
There was never any problem in getting into download mode. The actual problem is that ODIN gets stuck at some stage when I try to flash anything. I am unable to complete the flash.
The only success was the old bootloader which you suggested. Other than that all other kernels/roms get stuck at some point.
Most other posts/threads say that I will be fine as long as download mode is working. It is, but I am still unable to flash anything as ODIN keeps getting stuck.
Thoughts .
A guess is that something broke using PIT and repartition .
Rom download faulty no you have tried to many .
Bootloader flashes yes so Odin works .
Kies is not running in the task bar is it .
You are using mainboard USB port and Samsung cable .
If it was my phone it would be a service centre job but i would probably try just flashing a CWM and root kernel first to try and get recovery mode to format the system data and cache .
jje
Other possibilities for a stuck flash:
1. Bad cable
2. Cable plugged into a USB hub instead of directly into USB port on PC
3. Cable plugged into a USB passthrough (like keyboard) instead of directly into USB port on PC
EDIT: whoops, JJEgan mentioned bad cable and direct USB connection in his post above.
Thanks for your comments.
I am using the Original Samsung Cable and quite sure it has no problems. Also it is directly connected to my Laptop. And I have made sure there is no interference between Kies and Odin.
Maybe something broke in PIT and repartition, but i can still enter download mode. So I should be able to flash something right?
Not looking forward to taking it to the service center as I have will need to reset my flash counter. I may have to do that as a last resort but i'm hoping something will successfully flash. Like I said, I am hanging onto the fact that Download mode still works.
lordtoeknee said:
Thanks for your comments.
I am using the Original Samsung Cable and quite sure it has no problems. Also it is directly connected to my Laptop. And I have made sure there is no interference between Kies and Odin.
Maybe something broke in PIT and repartition, but i can still enter download mode. So I should be able to flash something right?
Not looking forward to taking it to the service center as I have will need to reset my flash counter. I may have to do that as a last resort but i'm hoping something will successfully flash. Like I said, I am hanging onto the fact that Download mode still works.
Click to expand...
Click to collapse
Hold up. Two things:
1. I just re-read your first post, and you mentioned GT-I9001, which is the Galaxy S plus... which is not the same as the GT-I9100, which is the Galaxy SII international edition. Is this a typo?
2. Have you been putting the .PIT file each time you flash? If so, what .PIT file are you putting, and where did you get it? Could be you flashed using an incorrect .PIT file, and need the right one.
Edit to add: you really don't have to put the .PIT file when you flash unless you ABSOLUTELY have to. I've flashed several times and not once used a .PIT file.
ctomgee said:
Hold up. Two things:
1. I just re-read your first post, and you mentioned GT-I9001, which is the Galaxy S plus... which is not the same as the GT-I9100, which is the Galaxy SII international edition. Is this a typo?
2. Have you been putting the .PIT file each time you flash? If so, what .PIT file are you putting, and where did you get it? Could be you flashed using an incorrect .PIT file, and need the right one.
Edit to add: you really don't have to put the .PIT file when you flash unless you ABSOLUTELY have to. I've flashed several times and not once used a .PIT file.
Click to expand...
Click to collapse
Sorry this was a typo. It is the GT-I9100 - Galaxy S II international edition.
I used the .PIT file and checked repartition whenever it was available with Stock Kernel. ie it came along with the PDA,PHONE and CSC files.
I also tried without the PIT file (No repartition). I did not use any incorrect file.
However, I was unable to do any successful flash. ODIN would stop responding before the PIT flash was completed. if there was no .PIT files it would stop at NAND write at cache.img or zImage
lordtoeknee said:
Sorry this was a typo. It is the GT-I9100 - Galaxy S II international edition.
I used the .PIT file and checked repartition whenever it was available with Stock Kernel. ie it came along with the PDA,PHONE and CSC files.
I also tried without the PIT file (No repartition). I did not use any incorrect file.
However, I was unable to do any successful flash. ODIN would stop responding before the PIT flash was completed. if there was no .PIT files it would stop at NAND write at cache.img or zImage
Click to expand...
Click to collapse
Ok... you said you're using original Samsung USB and you're quite sure it has no problems... but have you tried a different cable? It doesn't have to necessarily be the original Samsung cable. I use a generic micro USB cable for my flashes, and it works fine. Could be the cable went bad... or try a different USB port on your laptop. Maybe the port went bad.
Yes tried another cable as well as different ports. This should not be any problem as i am able to successfully flash bootloaders. Any other type of file, ODIN pauses at some stage and does not respond.
lordtoeknee said:
Yes tried another cable as well as different ports. This should not be any problem as i am able to successfully flash bootloaders. Any other type of file, ODIN pauses at some stage and does not respond.
Click to expand...
Click to collapse
Hmm... could possibly be a corrupted download... try redownloading the files you are flashing?

[Q] Odin Questions

Hello Forum,
I have downloaded ODIN for flashing and recovery, and as of the moment I have the Samsung Galaxy 5 (USA) Model. Now, I have previously flashed and recovered stock with it but I don't know which files do what.
I have a PIT file, a BOOTLOADER, and a PDA file. Could someone give me a depth description of what each one does? I doubt I'm suppose to use all three all the time in case I've bricked my device or flashing.
Thanks in advance.
PIT stands for Partition Information Table. It basically tells odin how big each partition is, how their arranged, etc. It doesn't contain the actual contents of those partitions, just how they're laid out on the drive.
The PDA file is your actual system image, and is usually compressed as a .tar (or tar.md5) file. It will contain a kernel and one or more partition images which contain the actual contents of the partitions that're described in the .PIT file.
To flash with Odin (or Heimdall, for that matter) you need a .pit and one or more partition images. I'm not too sure how you'd use the separate bootloader file in Odin. I'm still something of a n00b at this.
JrixZero said:
Hello Forum,
I have downloaded ODIN for flashing and recovery, and as of the moment I have the Samsung Galaxy 5 (USA) Model. Now, I have previously flashed and recovered stock with it but I don't know which files do what.
I have a PIT file, a BOOTLOADER, and a PDA file. Could someone give me a depth description of what each one does? I doubt I'm suppose to use all three all the time in case I've bricked my device or flashing.
Thanks in advance.
Click to expand...
Click to collapse
dstarfire said:
To flash with Odin (or Heimdall, for that matter) you need a .pit and one or more partition images. I'm not too sure how you'd use the separate bootloader file in Odin. I'm still something of a n00b at this.
Click to expand...
Click to collapse
You actually don't need a .pit file to flash with odin. All you need is the .PDA file. I believe the .pit file is only for if you want to re-partition the drive as well. Forgot to mention make sure only Auto Reboot and F.Reset Time are checked when flashing in odin with a .pda file or you will brick your device.
Thank you guys for that, I figured more or less what you are saying. I just needed confirmation! :good:
Using Odin to flash the TerraSilent Kernel
I would like to flash TerraSilent Kernel 1.3.5 for Galaxy 4.0 (YP-G1) USA. I have downloaded Odin3 v1.7, and would just like to confirm the steps, as this is the first and only Android device I have and wouldn't like to brick it. (This is the also my initial step to flashing the EtherealRom V2.4 ROM.)
I have the Samsung Drivers installed. That is all I need to use Odin right?
Steps:
Download the TerraSilent_usa-1.3.5.tar file
Put Galaxy Player in download mode (Power Button + down)
Connect the Galaxy Player to the computer
Start Odin
Ensure only Auto Reboot and F.Reset Time are checked.
Select PDA and choose the "TerraSilent_usa-1.3.5.tar" file that I previously downloaded
Then click start.
I have some other questions, I have been reading up the forums and would like to clarify something with the .pit file. Is it only required when you would need to to re-partition the drive? and therefore installing a kernel does NOT require a re-partition of the drive, am I correct?
Which of the following scenarios would REQUIRE a re-partition of the drive (and thus a .pit file when using Odin)?
- Flashing a Full STOCK ROM (with Recovery) for e.g here http://forum.xda-developers.com/showthread.php?t=1531850
- Flashing a Stock-based ROM such as EtherealRom V2.4 ROM
- Flashing a Recover such as CWM
I'm new to this Android ROM scene so I just trying to get a better understanding of this all.
Thanks in advance.
jonnysdroid said:
I would like to flash TerraSilent Kernel 1.3.5 for Galaxy 4.0 (YP-G1) USA. I have downloaded Odin3 v1.7, and would just like to confirm the steps, as this is the first and only Android device I have and wouldn't like to brick it. (This is the also my initial step to flashing the EtherealRom V2.4 ROM.)
I have the Samsung Drivers installed. That is all I need to use Odin right?
Steps:
Download the TerraSilent_usa-1.3.5.tar file
Put Galaxy Player in download mode (Power Button + down)
Connect the Galaxy Player to the computer
Start Odin
Ensure only Auto Reboot and F.Reset Time are checked.
Select PDA and choose the "TerraSilent_usa-1.3.5.tar" file that I previously downloaded
Then click start.
I have some other questions, I have been reading up the forums and would like to clarify something with the .pit file. Is it only required when you would need to to re-partition the drive? and therefore installing a kernel does NOT require a re-partition of the drive, am I correct?
Which of the following scenarios would REQUIRE a re-partition of the drive (and thus a .pit file when using Odin)?
- Flashing a Full STOCK ROM (with Recovery) for e.g here http://forum.xda-developers.com/showthread.php?t=1531850
- Flashing a Stock-based ROM such as EtherealRom V2.4 ROM
- Flashing a Recover such as CWM
I'm new to this Android ROM scene so I just trying to get a better understanding of this all.
Thanks in advance.
Click to expand...
Click to collapse
True all you need is the .tar file to flash. The pit file is usually unneeded when flashing a custom rom. However, make sure you turn on USB debugging first (Settings->Applications->Development-> Check USB debugging) before flashing anything. Sometimes just not having that checked gets you into bootloops and cause problems.
PIT files are used when you get your partition tables messed up. I believe this means you're not able to boot into the device or access download mode anymore (basically for Bricked devices). So you 90% (made up statistic =P but you get the point) of the time when you are flashing back to stock, you just need again the .tar file (unless as I said previous your device is bricked). You almost never need a PIT file to flash a custom rom from stock, and Flashing from CWM only requize a .zip file that's still in the zip form (meaning don't unzip it with winRAR, 7zip, and similiar programs
For more on PIT Files go here http://forum.xda-developers.com/showthread.php?t=999097
Remember to hit the thank button if you find this information useful =D

[GUIDE][NoobProof] PARTITION i777 PHONE FOR MORE DATA STORAGE

This guide is to help those who may want to have more data storage including system partition for much more.​
NOTE: DOING THIS WILL DEFINITELY VOID WARRANTY AND ANYTHING THAT HAS TO DO WITH IT. I WILL NOT BE HELD LIABLE SHOULD
ANYTHING GO WRONG.
THERE HAS BEEN REPORTED SUCCESS SO FAR BUT SHOULD YOU END UP WITH AN EXPENSIVE PAPERWEIGHT, THAT IS YOUR OWN DOING. PROCEED WITH CAUTION.....YOU ARE WARNED.​
I HAVE PERSONALLY DONE THIS WITH SUCCESS. BELOW IS IMAGES AFTER I AM DONE WITH EVERYTHING.​
PRE-REQUISITE​
PATIENCE.............LOTS OF IT INCLUDING A STONE COLD HEART TO GO THROUGH THIS
A samsung S2 (i777/attain......to be more precise)
Backup, Backup, Backup...........that includes the phone internal memory.
Acceptance to loose everything stored in the phone internal memory.....if you need them, perform the step above.
A couple of files which i have provided the links to in the procedure and also below the post. Please use only what is provided here. Thanks.
PROCEDURE ​
1. Enter download mode (NOT through the reboot menu.)
Rather, hold in volume up and down and then while doing so plug in the usb cable to the phone from the computer.
2. Use Odin to install the full Samsung UCMD8 release (Already has pit file).
3. Flash the downloaded stock rom above using Odin.
4. Reboot to recovery and factory reset when done.
5. Boot device, install framaroot, enable usb debugging before rooting device.
6. Install mobile odin. Reboot.
7. In mobile odin, install new kernel w/ recovery (since this method is for i777, you can use Shift kernel....which i used, need to extract only the "zImage.img" file from the .zip file, if file is named something else rename it to "zImage" and place it on the device for Mobile Odin to read.
8. In Mobile Odin, install the modded .pit file attached below. Thanks to [-Stash-]
Read more about the partitions here and here.
NOTE: Using odin for pc for STEP 8 is also very much working.....espercially for those having issues flashing pit file with the mobile odin version.
9. Reboot to recovery; format / wipe partitions (this includes system, data, internal sd, cache, dalvik).
10. If internal cannot format or gives error, connect phone to pc and mount storage, you can then format as fat32 from windows or whatever operating system you are using (recommended system). When done, unmount and try step above again just to be certain.
11. Flash any new ROM of choice (I use SlimSaber by Cyril279), Gapps (I use slim full gapps,) modem for AOSP roms (I used UCMD8, works best for me but may not be the same for your location, please use what works best for you), and any other addon packages.
12. Optional........enable ART runtime in developer options. Reboot, and wait a long time for it to compile apps ahead of time.
13. Just enjoy :good::good:
Another link for my personal files used(same as those here)
CREDIT IN NO PARTICULAR ORDER​
Gabes Dad............................... for most of the guide and also making me take the dive.
Cyril279
Chainfire
RockRatt
mtpi
[-Stash-]
alephzain
creepyncrawly​
Mobile Odin .pit file
Great guide and idea! Thanks for your work!
I'm having trouble at step #8, Using Mobile Odin to install the modded .pit file.
I can't get Mobile Odin to see the .pit file, either as provided, in the .rar container, or as the bare .pit file.
I saw in the posts on this by [-Stash-], which you reference, that regular Odin was used to install the .pit file.
I've read elsewhere that Mobile Odin can't work with .pit files, but I gather you have found a way.
Your guide worked great up until #8, and also after #8.
I was able to continue on and install a great KitKat rom, TheGeekyNimrod's new Unofficial Carbon Rom and the RB-Shift kernel, just without the new partition sizes.
Thanks again for posting this guide, and doing the work necessary to come up with it. I'm looking forward to this better partition scheme.
I would be grateful for any help you could provide.
DanViolaMan said:
Great guide and idea! Thanks for your work!
I'm having trouble at step #8, Using Mobile Odin to install the modded .pit file.
I can't get Mobile Odin to see the .pit file, either as provided, in the .rar container, or as the bare .pit file.
I saw in the posts on this by [-Stash-], which you reference, that regular Odin was used to install the .pit file.
I've read elsewhere that Mobile Odin can't work with .pit files, but I gather you have found a way.
Your guide worked great up until #8, and also after #8.
I was able to continue on and install a great KitKat rom, TheGeekyNimrod's new Unofficial Carbon Rom and the RB-Shift kernel, just without the new partition sizes.
Thanks again for posting this guide, and doing the work necessary to come up with it. I'm looking forward to this better partition scheme.
I would be grateful for any help you could provide.
Click to expand...
Click to collapse
I would imagine you could still use regular ODIN for step 8, just put the phone back into download mode. Take this with a grain of salt as this is just a guess.
DanViolaMan said:
Great guide and idea! Thanks for your work!
I'm having trouble at step #8, Using Mobile Odin to install the modded .pit file.
I can't get Mobile Odin to see the .pit file, either as provided, in the .rar container, or as the bare .pit file.
I saw in the posts on this by [-Stash-], which you reference, that regular Odin was used to install the .pit file.
I've read elsewhere that Mobile Odin can't work with .pit files, but I gather you have found a way.
Your guide worked great up until #8, and also after #8.
I was able to continue on and install a great KitKat rom, TheGeekyNimrod's new Unofficial Carbon Rom and the RB-Shift kernel, just without the new partition sizes.
Thanks again for posting this guide, and doing the work necessary to come up with it. I'm looking forward to this better partition scheme.
I would be grateful for any help you could provide.
Click to expand...
Click to collapse
Sorry for the late reply............using odin to flash in download mode also works perfectly. the pit does not harm in anyway (at least for me so far).
When done with pit flash in download mode,.............wait for for a minute or two.
Boot to recovery and format all partitions including internal. Had to mount internal partition and format with pc.
Hope this helps
worked
Thanks. I did this. Although, when the phone boots the initial 'Samsung galaxy sii' splash is now changed to 'SAMSUNG' with the flash of the stock JB, i think. (actually, i dont remember if it was that, or if it was the ICS Semi_v18 ROM I flashed earlier for a different purpose). That splash screen seems to stay longer than before. Anyways, I used mobile odin (need the i777 flash kernel) to flash shift-v4.8 kernel, and then odin to flash the pit file from my computer. I did not have to format with the computer as the recovery seemed to do it fine.
anyone tried this on the SGH-S959G I curently run @cyril279 slimsaber and want to be able to install the full slim gaaps instead of the mini gapps. Plus I feel eventually we will all need bigger system partition if we keep these phones. Or do I need a different pit file?
Figured it out. Modified original pit.
Thanks a lot for the guide.
This worked fine for me. Initially, I didn't get a cellular signal but then I realized that I missed that instruction embedded in step #11. I'm currently using CM11 M10 build with it.
I assume this will work with any custom ROM, but would it work with stock ROMs that are flashed via Oden, or would this kind of flash put the old partition table back?
Hey, could reupload the .pit file? It's 404'd.
leeroyjenkins11 said:
Hey, could reupload the .pit file? It's 404'd.
Click to expand...
Click to collapse
Sure. Where I hosted the files has been down for weeks now. Thanks for alerting me.
hey i want to just use the stock rom with stock kernel. So could i just stop at which step. Please help me
virajjjj said:
hey i want to just use the stock rom with stock kernel. So could i just stop at which step. Please help me
Click to expand...
Click to collapse
I think the safest way would be to follow his steps all the way through step 10, then in step 11 re-install the UCMD8 stock firmware using desktop Odin.
Just wanted to say thanks for the writeup! I was frustrated with having to install PA Nano Gapps, so this guide and your modded .pit file were perfect. Just finished installing LS 3.2 Milestone with PA Stock Gapps! :highfive:
Confused & stuck at step 7
Updated: I finally succeed to re-partition; however, I could not go back to SHOstock3 v4 (4.1.2)
If my phone already has a recovery installed and is rooted, can I go ahead and install the modified pit file with mobile odin and proceed from there? why exactly would I need to flash ucmb8 through odin?
bleggy said:
If my phone already has a recovery installed and is rooted, can I go ahead and install the modified pit file with mobile odin and proceed from there? why exactly would I need to flash ucmb8 through odin?
Click to expand...
Click to collapse
Same question.
Sent from my SGH-I777 using XDA Free mobile app
When you flash a new pit through odin everything gets erased except external sd card so use a computer and follow the instructions.
Thanks. I'm attempting to follow the instructions, but I need to use Heimdall instead of Odin. If anyone is familiar with Heimdall, I'd greatly appreciate your help.
I downloaded I777UCMD8_I777ATTMD8_I777UCMD8_HOME.tar.md5.7z file and extracted the contents to a folder.
[email protected]:~/heimdall$ ls
boot.bin I777UCMD8_I777ATTMD8_I777UCMD8_HOME.tar.md5 Sbl.bin
cache.img I777UCMD8_I777ATTMD8_I777UCMD8_HOME.tar.md5.7z zImage
factoryfs.img modem.bin
hidden.img param.lfs
and then boot into download mode and ran: sudo heimdall flash --kernel zImage --factoryfs factoryfs.img --cache cache.img --hidden hidden.img --param param.lfs --modem modem.bin
I receive the following:
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
PIT file download successful.
ERROR: Partition "kernel" does not exist in the specified PIT.
Ending session...
Rebooting device...
Releasing device interface...
Re-attaching kernel driver...
What should I be doing differently?
EDIT: looks like partition names are capitalized! , so it should be sudo heimdall flash --KERNEL zImage --FACTORYFS factoryfs.img --CACHE cache.img --HIDDEN hidden.img --MODEM modem.bin
To be safe, I shouldnt mess with boot.bin, param.lfs, Sbl.bin, right? or is this necessary here?
Looking forward, does anyone know the exact command to flash the modified .pit file? Would it be:
sudo heimdall flash --repartition --pit .pit ?
Problem
Okay i did something wrong and just i had softbricked my phone and i can just enter into download mode but it fails and gives me write failed error. What can i do now. Help needed please
alright. this got me where I wanted to be:
sudo heimdall flash --KERNEL zImage --FACTORYFS factoryfs.img --CACHE cache.img --HIDDEN hidden.img --MODEM modem.bin
I still cant figure out how to flash the .pit in heimdall.
I receive this:
[email protected]:~/Downloads/heimdall$ sudo heimdall flash --repartition --pit i777_4GB\ data\ -\ 45mb\ preload\ -\ 1GB\ system.pit
[sudo] password for bleggy:
Action: flash
Arguments:
--repartition --pit <filename>
--<partition name>|--<partition identifier> <filename> [...]
[--verbose] [--no-reboot] [--stdout-errors] [--delay <ms>]
[--usb-log-level <none/error/warning/debug>]
or:
--<partition name>|--<partition identifier> <filename> [...]
[--pit <filename>]
[--verbose] [--no-reboot] [--stdout-errors] [--delay <ms>]
[--usb-log-level <none/error/warning/debug>]
Description: Flashes one or more firmware files to your phone. Partition names
(or identifiers) can be obtained by executing the print-pit action.
WARNING: If you're repartitioning it's strongly recommended you specify
all files at your disposal.
any ideas?
Edit: Just read it in i9100 thread that this method should not be used if you want to run stock rom. So flashed backed original pit file from i9100 thread and now the phone is running like as it should be running.

[How-To] Root I545VRUFNG6

1. Take the NG6 OTA update (should the ota update fail see troubleshooting section below).
2. Download and install Towelroot-v3.apk(this version does not require internet access).
3. Place your phone into "Download Mode" (press and hold the Home, Volume Down, and Power keys until the phone powers on and displays warning screen, then press Volume Up key).
4. Flash the I545_NC5_Stock_Kernel.tar.md5 using Odin's PDA slot(AP in Odin v3.09+).
5. Root using Towelroot-v3.apk.
6. Power off then boot into "Download Mode" again.
7. Flash the I545_NG6_Stock_Kernel.tar.md5 also in Odin's PDA slot(AP in Odin v3.09+).
8. Download SuperSU to manage root access. Done!
Troubleshooting:
Should the NG6 ota update fail consider updating to NG6 by flashing the I545VRUFNG6 4.4.2 Full-Wipe Odin .tar then continuing from Step 2 above.
Notes & Credits:
1. After flashing the NC5 kernel your phone may run a little wonky and towelroot may not root on the first try. If that happens reboot and try towelroot once again. Once rooted and after flashing the NG6 kernel your phone will once again run like a champ!
2. Following the above process will not affect User Data or your Knox Warranty Flag.
3. Due to a known bug in the official NG6 OTA you may experience random re-boots after updating. Please see @Emoraax 's thread for the solution: http://forum.xda-developers.com/galaxy-s4/general/fix-reboot-crash-problem-ng6-root-t2921584.
4. The most common cause of an Odin flash failure is a bad usb port or cable. Please check before reporting a failure.
5. Big thanks to @Surge1223 for giving me the idea of the kernel swap way back in the day. You will notice the date of the following post is way before NC5(KitKat) was even released for the I545: http://forum.xda-developers.com/showpost.php?p=51053044&postcount=77
KeepRoot Method
Original NG6 KeepRoot Method Post (Just putting this up here if anyone is interested. This method was developed back in the day at the suggestion of a very capable kernel dev).
Alternative Custom ROM Method:
1. Backup your User Data using Safestrap's Backup function.
2. Place the I545VRUFNG6_100%_Stock_Rooted_ROM.zip onto your ext-sdcard.
3. Reboot into Safestrap recovery then perform an "Advanced Wipe" and wipe everything but your ext-sdcard.
4. Flash the I545VRUFNG6_100%_Stock_Rooted_ROM.zip using "Stock Slot."
5. Once complete press "Home" then reboot into "Download Mode."
6. Flash the I545_NG6_Stock_Kernel.tar.md5 in Odin's PDA slot (AP in Odin v3.09+).
7. Reboot into Safestrap recovery and use the Restore Function to restore User Data. Done!
8. **Optional** Reboot into Safestrap recovery and flash the I545_De-Knox_NG6.zip to remove applicable Knox files which cause the random re-boots(Do Not Wipe Prior to Flashing!)
Notes & Credits:
1. The I545VRUFNG6_100%_Stock_Rooted_ROM.zip process will update your Modem, Non-hlos, System, Kernel, and Stock Recovery to NG6 but does not include the NG6 Bootloader.
2. Big Thanks to @rebel1699! and the following guys for developing the above method. You will notice the date of their post is way before NC5(KitKat) was even released for the I545: http://forum.xda-developers.com/showthread.php?p=51067706#post51067706
reserved
muniz_ri said:
1. Take the NG6 OTA update.
2. **Important**Download and install Towelroot-v3.apk(internet access not required).
3. Place your phone into "Download Mode" (press and hold the Home, Volume Down, and Power keys until the phone powers on and displays warning screen, then press Volume Up key).
4. Flash the I545_NC5_Stock_Kernel.tar.md5 using Odin's PDA slot(AP in Odin v3.09+).
5. Root using Towelroot-v3.apk.
6. Power off then boot into "Download Mode" again.
7. Flash the I545_NG6_Stock_Kernel.tar.md5 also in Odin's PDA slot(AP in Odin v3.09+). Done!
Notes:
1. After flashing the NC5 kernel your phone may run a little wonky, e.g. extreme lag, no wifi, etc., and towelroot may not root on the first try. If that happens reboot and try towelroot once again. Once rooted and after flashing the NG6 kernel your phone will once again run like a champ!
2. Following the above process will not affect User Data.
Important!: Only use the files contained in this guide and follow all of the above steps in the order provided. Do not skip any steps, or you may encounter issues with your device.
Click to expand...
Click to collapse
Works! Thanks again, man. :victory:
Confirmed working.
Method works fine.
AWESOME!!!! Thank you. Worked perfectly.:good::good::good:
For whatever reason my Settings crashes everytime I check for an update. Does anybody have the ota file (or a method for doing this without the ota)?
Had to fight thru some boot looping after flashing the NC5 kernel, finally got to Towelroot between boots and activated. Flashed the NG6 kernel and all seems to be good! Downloaded and installed SuperSU and installed TB and it works! Time to do a little debloating! Many thanks!!!
rbf2000 said:
For whatever reason my Settings crashes everytime I check for an update. Does anybody have the ota file (or a method for doing this without the ota)?
Click to expand...
Click to collapse
I need it too, please.
newkydawg said:
I need it too, please.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=95747613655046167
How do you do this if your on nc5 and currently rooted by towelroot? Please post the process new at this. Thanks
I am currently rooted on stock NC5. However when I download and try to install the update, it goes through the install and then it just says Error! and when it reboots it says that it failed to install but no indication as to why. Am I missing something? Is there something I should be checking?
TheCrowing said:
I am currently rooted on stock NC5. However when I download and try to install the update, it goes through the install and then it just says Error! and when it reboots it says that it failed to install but no indication as to why. Am I missing something? Is there something I should be checking?
Click to expand...
Click to collapse
When taking an OTA, everything has to be original. Meaning if you root and uninstall a system app, say Verizon Navigator for example, you have to reinstall that app and anything else you modified for the OTA to work. The quickest, and easiest way to make sure everything is reset is to flash in Odin the no-wipe NC5 file (find everything you need here http://forum.xda-developers.com/showthread.php?t=2735172 )
Then take the OTA and follow this threads instructions on root.
IMO though, I wouldn't even take this update, its so minor and we are on the verge of Kexec support. We even have a safestrap that allows slots thanks to muniz...
Thank you for the quick reply! I used to have MDK until I bricked it so official updates are new to me. I might hold off then. Thanks again!
TheCrowing said:
I am currently rooted on stock NC5. However when I download and try to install the update, it goes through the install and then it just says Error! and when it reboots it says that it failed to install but no indication as to why. Am I missing something? Is there something I should be checking?
Click to expand...
Click to collapse
Use Odin and flash the stock NC5.tar file, then take the OTA.
Virus!
Kaspersky reports this version of Towelroot is infected with an Android Virus. Try going to "towelroot.org" to get the official version.
sahaight said:
Kaspersky reports this version of Towelroot is infected with an Android Virus. Try going to "towelroot.org" to get the official version.
Click to expand...
Click to collapse
Tw roots your phone....of course its reported as malware.
muniz_ri said:
Tw roots your phone....of course its reported as malware.
Click to expand...
Click to collapse
Well yeah it is, but the guy posted a faulty website for towelroot. It's suppose to be https://towelroot.com/
WELP
muniz_ri said:
6. Power off then boot into "Download Mode" again.
7. Flash the I545_NG6_Stock_Kernel.tar.md5 also in Odin's PDA slot(AP in Odin v3.09+). Done!
Click to expand...
Click to collapse
So, I've followed the directions up to this point. One thing I did notice, you did say it would run wonky, but the version was noted as NG6 still after the NC5 write. TR still allowed me to root though, so I figured it wasn't really an issue. However, now that I've put my phone back in download mode, I'm attempting to write NG6 back onto my phone, and ODIN does the following
<ID:0/004> Added!!
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> There is no PIT partition.
<OSM> All threads completed. (succeed 0 / failed 1)
<ID:0/004> Removed!!
Any ideas what might be going on and how I could fix it?
Thanks
EDIT: I went ahead and reflashed NC5, Rerooted, rebooted, and attempted to Reflash NG6, It gave me the same issue, I rebooted my phone one last time, and attempted the reflash of NG6, This time it worked. Not sure what was holding it up the first time, but if you run into issues, try rebooting one more time.
SELinux Mode Changer
Can someone that has taken the NG6 update and rooted confirm whether or not SELinux Mode Changer continues to work allowing you to install the Safestrap.apk? Thx.

Categories

Resources