[FIX] A Fix For Bootlooping After Flashing a New Kernel Image.... - Vibrant Android Development

Loop Fix...
If your having issues with boot looping, especially after flashing a new kernel, don't go blaming your chosen kernels dev for producing faulty kernels. In fact it seems to be something in the CM7 kernel source itself causing the hiccup.
I always build myself a stock kernel flasher for each build I tweak. Here's a link to my current flash tool, nightly build 32. I've also included a few scripts in my flasher, most notably, birgertime's permission script, and Wes Garner's Zipalign script. You should also download Lippols Kernel Cleaner, as you'll need it in my procedure. As well as a modem of you're choosing. For Modems I'd suggest anything KA6 and up. I currently use a KB5 modem which seems best suited to my hilly area in northern Cali. Your results may vary.
To fix your loopy loops, try the following procedure. Remember, anything you do to your phone is your own fault. Both procedures I've outlined are safe, given you follow the directions explicitly, and aren't a complete moron.
Firstly, to make life easier in general, you should already have flashed the Gingerbread loaders. If you haven't flashed the GB loader, I'd suggest you do it once you've made your repair. I fought it for awhile myself, but it just makes things easier. The following procedure will assume you've already flashed the GB loader. But if you haven't flashed a GB loader, where I outline the use of the "volume down key", you'll be pressing both "volume up & down".
Have these on your internal SD prior to this procedure.....
Your choice of Kernel: My Tool, Nightly Build #32, Glitch's kernel, etc...
Ultimate Kernel Cleaner Script
Your choice of Modem, aka. Radio Image
And for good measure, a current Nightly
Step 1) To actually stop the looping, and login to recovery. On the Gingerbread loader hold volume down+power through a full power cycle. Ie. hold both buttons through the "Vibrant" screen, then through the kernels boot screen, at which point your phone should reboot before again looping. Continue to hold through "Vibrant" image, then release the power button once you see the kernels boot logo. At this point you should be logged into your phones recovery image.
Step 2) Next go to "advanced" and "Wipe Dalvik Cache". Then choose "*****Go Back*****".
Step 3) Next choose "wipe cache partition". Don't worry, all your settings and apps will still be there after this procedure...
Step 4) Now your ready to install a new kernel. Choose "install zip from sdcard", then "choose zip from sdcard", and select Lippols kernel cleaner. Once the cleaner runs its course you can either reinstall the current stock kernel via my kernel tool, or something OC'able like Glitch's kernel.
Step 5) Following a kernel flash, for good measure I always flash my chosen radio image.
Step 6) One step left, choose "*****Go Back*****" then "advanced" and "Fix Permissions". At this point select "reboot system now", cross your fingers, and off you go.
It may be necessary to do this procedure more than once. If you're looping after 2 times through this procedure, I'd suggest replacing the kernel flashing step with a full CM7 install. Again, if you follow the procedure I've outlined, you shouldn't loose any data.
Loop Fix Extreme Edition...
If you continue to have all kinds of issues, and a full flash doesn't seem to cut it, you have one procedure left before having to do a complete wipe and reinstall of your apps.
In all actuality this isn't that big of a deal, as its similar to what happens when you flash a new nighly, its just a manual way of doing things. Seeing as this is a bit more advanced, I won't hold your hand as much, because frankly, its late, and I wanna go to bed...
Step 1) Big one here.... have a current version of the Nightly downloaded onto your internal sdcard. If you forget this step, there's no hope for you, and you should quit flashing your phone cause yur kinda Dumb...
Step 2) Once in recovery, choose "advanced" and flush your "Dalvik cache". Then "go back" and go to your "mounts" and format "boot" "system" and "cache". Be careful at this point not to touch your touchscreen, or to reboot. Yes just touching one of your touch screens buttons at this point could have ill effects. While you won't brick, its a pain in the ass to recover at that point.
Step 3) Flash the Nightly you downloaded earlier, "Fix Permissions" once more, and walla, a clean image with all your apps intact.
If you actually screwed up and rebooted before flashing a new nightly, and after formatting those partitions, yur just plain dumb. Don't you remember, I told you not too to that. Having said that, your only choice is to Odin back to JFD.
Good luck flashing. Hit the thanks button if this was helpful...

Related

[Q] Nexus One Boot loop

Hi Everyone,
This is my first time attempting to root my nexus one.
I used the One-click root application posted on these forums and the ROM manager to try and install Cyanogen 6.0RC2. Now my phone boots into the loading screen with the particles flying together to form an x, followed by the same animation in blue instead of the android colors, with a skateboarding android icon in the center. About 10 seconds later, it seems to fail and go back to the multi-colored animation. This loop continues forever until I yank the battery.
How do I get back to a working environment?
Did you install the froyo baseband?
Did you have 2.2 on before you installed CM6?
Did you wipe as is recommended by Cyanogen?
Try installing CM6 again THE PROPER WAY... read their post on the forums and then report.
I already had Froyo on here. How do I bust out of this boot cycle to try again?
pull and reinstall battery and boot to recovery
a boot loop is normally caused by an incorrect flash, either by the recovery just being weird or the phone not correctly wiping prior to flashing. Did you make backup before you flashed?
If so here is what you do.
Boot into recovery
go to wipe
wipe "data"
wipe "cache"
and wipe "dalvik-cahe" (so long as you only select these three your sd card will remain untouched)
(if you want to resstore back to stock)
go to restore/backup
hit restore nandroid
select the restore point
(if you want to continue to install CM6)
go to "install zip from sd car"
select the zip
once done install the gapps zip (if you donwloaded it)
reboot
Done
How do I get it to boot into recovery?
When I remove the battery, and then power it on, it goes right back into the boot loop.
Nevermind. It's working now. I think I forgot to wipe first.
Thanks so much for your help, everyone!
--
Ryan

Kernel flash failed

I've gone ahead and rooted my Note, and that went fine.
Then I decided a ICS rom would be nice, so I needed the Chainfire ICS repack.
I've downloaded it, placed it on the SD-card.
Rebooted into recovery, but it can't see .tar files it would seem.
Tried the option "flash kernel" through CWM and after a while it states that no zimage was found. I've checked the size of the file, and it's 790MB as it should be.
Perhaps anyone can pinpoint what I've missed?
Use mobile Odin. you cant flash tar file in CWM. Boot in GingerBread install Mobile Odin. Update. then Select Open file Browse your file then Flash firmware.
Thanks!
That solved it.
But, um...
Now it seems to be in a bootloop.
I see the Samsung splash screen, followed by Odin quickly stating that it flashes Kernel, System, Data, Hidden and Cache and ending with "Done", and then back to the Samsung boot screen and it repeats the process...
crazyrobban said:
Thanks!
That solved it.
But, um...
Now it seems to be in a bootloop.
I see the Samsung splash screen, followed by Odin quickly stating that it flashes Kernel, System, Data, Hidden and Cache and ending with "Done", and then back to the Samsung boot screen and it repeats the process...
Click to expand...
Click to collapse
Try wiping cache and dalvik and factory reset from Recovery.
You will lose all your apps and some data. And it might brick your phone,
But that's what I'd do.
If that doesn't help, but you still have CWM, get a rom on your sdcard, in zip format, and flash it - even Gingerbread.
If that doesn't work, Download Mode + stock gb rom.
I got the same probleme, thanks for question and answer.. very useful
crazyrobban said:
Thanks!
That solved it.
But, um...
Now it seems to be in a bootloop.
I see the Samsung splash screen, followed by Odin quickly stating that it flashes Kernel, System, Data, Hidden and Cache and ending with "Done", and then back to the Samsung boot screen and it repeats the process...
Click to expand...
Click to collapse
I has a similar problem had to redo the entire process using odin pc to get it to work.
I tried going through this guide from start to finish now, but it's the same issue.
(Step 3 to 5 is the only way to get out of the bootloop btw.)
Just keeps bootlooping. *sigh*
Guess I'll wait for the official ICS instead.
I suddenly miss my old HTC Sensation.
crazyrobban said:
I tried going through this guide from start to finish now, but it's the same issue.
(Step 3 to 5 is the only way to get out of the bootloop btw.)
Just keeps bootlooping. *sigh*
Guess I'll wait for the official ICS instead.
I suddenly miss my old HTC Sensation.
Click to expand...
Click to collapse
I ll guide you step by step procedure from beginning.
1. Flash Rootable GB ROM (KL3)Download from here
2. Root GB From here
3. Install mobile Odin from Market and update
4. Copy ICS - Repack Chainfire to ext Sd card
5. Open Mobile Odin and select Open file and browse "ICS Repack"
6. it ll shown info on that ROM say "ok" couple of times
7. Then scroll down and select flash firmware (Now it reboot and flash new ICS Repack
8. After flashing it ll boot into CWM recovery. Just select Reboot now
9. Wait for complete boot
Done... If it doesn't boot. Get into recovery and do "Wipe /Factory Reset" and "Wipe Cache" .. Then reboot
(First boot ll take little long time, 5-10 Mins)
Alright it works now.
For anyone that has the same issue.
Flash a custom GB rom (like for instance CheckRom) and THEN run mobile Odin and the ICS repack. That worked for me.
So now I'm on a 4.0.3 ROM and it feels awesome!
Thanks for the help!

ICS(Leaks) and CWM

First off, let me make this clear very clear(prerequisite) I do not want to hear the word "safestrap", or any variation. I apologize for sounding arrogant , but I am not interesting in wasting my disk space(no offense against the quality work of Hashcode) or dual booting a ROM. I noticed some interesting issues with CWM recovery both the default that comes with Bionic Bootstrapper(4.x.x.x), and ROM Manager(5.x.x.x) in regards to any ICS leaks. So here is the situation, after installing the .232 leak using the "stock recovery option" it went smoothly without any issues, as well as rooting with motofail for ICS. The problems start when I first attempt to install any ROM(AOKP, CM, liquidsmooth etc etc) using 4.x.x.x CWM it appears to install correctly(even booting the ROM up and everything) but when I reboot the phone will continue to boot directly into CWM, and using the reboot option only to boot loop.(I have done the standard Wipe System/Factory reset, Wipe Cache, Wipe Dalvik Cache prior to installing any ROM). Finally, when I attempt to install an updated CWM 5.x.x.x via ROM Manager, it appears to install, but forcing the device to reboot in to recovery does not work, even the two button solute(PWR+VOL UP) as used in the second stage to force CWM to boot into the menu(worked in 4.x.x.x) it is as if it is not corretly installed.. Both CWM installs are clean, and no previous 1st/2nd stage boot loaders are installed, I would like to rule out me being a dumbf*** and it being a case of error on my part. Like I said before please do not mention "SAFESTRAP" as an option, unless it can flash over current baseline install's, having the safe option(noob proof) is not an option. If anyone can assist me with the installation or even a solution to getting CWM recovery to work after installing the ICS leaks it would be greatly appreciated. Thanks again!!! Also I have tested CWM 5.x.x.x install from .905 based roms and it works flawlessly.

[Q] (Yet Another) Boot Loop Problem in Installing CM7 on GalaxyS I9000 [SOLVED]

YABLP (Yet Another Boot Loop Problem)
Hi,
I'm having a devil of a time installing CM7 on my GalaxyS I9000. Description of my procedure and problem below.
I've been beating my head against a wall for a week so any help GREATLY appreciated.
-John
Phone: Galaxy S "I9000"
Trying to Flash: CM7.2.0 using CWM Recovery
What I did:
Flash stock ROM w/ODIN v1.85 - OK
Wipe Data/Wipe Cache
Flash ChainFire (CF-Root-XX_OVA_JVU_2.3.6-v4.3-XWM3RFS.tar) w/ODIN v1.85
Wipe Data/Wipe Cache
Phone now rooted OK
Boot to CWM Recovery
Install zip from sdcard
Select update on SDCard (cm-7.2.0-galaxysmtd.zip from CM site)
Flash completes in just a few seconds - much too quick!
Phone reboots automatically
Now stuck in boot loop
Screens in boot loop:
1. GalaxyS/GTI9000/Samsung
2. GalaxyS/Cyanogen(mod)
3. CWM menu scrolls by too quickly to read
Back to 1.
Tried Heimdall but complained about missing XML file
Tried installing "Datafix". Would not install (says not compatible with device)
Tried STFW: many reports of same problem but no solutions seemed relevant & appropriate
Clues:
After CF flash, disk use as follows
/system: used 27.3M, free 9.4M (97%) (seems pretty full)
/data: used 47M, free 1916M (2%) (seems pretty empty)
Me thinks maybe /system is too small/full to accept update?
This is the 3rd I9000 I've flashed. First 2 went Ok but this time it failed although identical files/procedures used (I think).
HELP!
I've seen a similar problem on my I9000 - I think the CWM scroll complains about "can't mount /data".
I'm in a similar position, I can't get anything to flash and boot though : http://forum.xda-developers.com/showthread.php?t=1967982
This happens pretty much every time you flash any kind of CM rom from stock. All you need to do is flash CM7, it will go in to bootloop with various text scrolling through thats too fast to read. You just pull battery while in the bootloop. Then replace battery, three button combo to recovery and flash the same CM7 zip again. This time the install will take a while longer. Afterwards flash gapps and reboot and you should be good to go.
I tried this - but same result, just spins round on the CM boot screen
Where do the wipe data and wipe cache commands fit in to this? Before/after both installs?
I don't normally bother with gapps - just trying to get it loaded. Does that make a difference?
Also, no SIM card in at all during all this...
IT WORKED!
Bless you BandiBp!
I'll be sending my first-born by return mail (please don't tell my wife
Yeah that happens because its flashes a kernel with a new partition system. Dunno why only a few roms warn people about this.
Sent from my GT-I9000 using xda premium
You're welcome mate, yeah the reasons are the new partition changes on different roms. I agree that rom flashers should be warned in advance about this. Would reduce problems A LOT. My general rule is if a Rom installs in under 5 secs, then you should always flash again.
Anyways have fun.

[Q] I need a tip for ROM with specific req..

Hi guys..
I am a SW developer spending 100 % of my time with company's projects, with absolutely no time to crawl forums like this anymore.
My house mate approached me to help him with his crashing GALAXY S I.
I figured ok, lets refresh my skills.. So pls advice, for me there is really no reason to make it the hard way ie. crawling the forums for hours an hours for proper answer. I will rely on your competent knowledge of the problem.
I need a
1) the latest possible stock Jelly Bean ROM (from nexus etc..) without any fancy additions UI wise, lets make it an original Android experience. IT can be enhanced however in terms of speed and stability. If jelly bean is a no go, the something older, but 4.0
2) A step by step guide how to install it.
For me the best JB ROM for the I9000 is SlimBean!
You can find the download and the install instructions here:
http://forum.xda-developers.com/showthread.php?t=1780071
SeeDoubleYous said:
For me the best JB ROM for the I9000 is SlimBean!
You can find the download and the install instructions here:
http://forum.xda-developers.com/showthread.php?t=1780071
Click to expand...
Click to collapse
The ROM looks nice but the instructions are useless.
1) Get yourself booted with cm9 or cm10.
What is cm9/cm10?
2) Enter CWM.
What is CWM
3) How to wipe data?
4) How to flash the rom?
K.
Hey man,
Yeah, sometimes following rom flashing instructions can be hard :L
1.) CM9 and CM10 respectively are CyanogenMod9 and 10. CM9 is ICS (4.0), and CM10 is Jelly Bean (4.1). CM10.1 is Jelly Bean 4.2. They're all roms based around stock Android, and often roms recommend flashing in CM roms first just to make sure things don't screw up.
2.) CWM is short for ClockWorkMod. Its a type of recovery that needs the phone to be rooted (if you don't know hoe to root it feel free to ask) Here you can flash roms and other mods and so on.
3.). Wiping data can be done from within ClockWorkMod. Once you boot into recovery, there'll be two options: Wipe Data and Wipe Cache. Go to each one and select Yes once prompted to. Then go to the Advanced Menu and select Wipe Dalvik Cache, then select Yes.
4.) On the main menu for CWM, there'll be an option that says Install Zip from SD. Make sure you have the SlimBean rom on your internal SD.
Scroll through the internal files until you find the zip file for the SlimBean rom. Select it, it'll ask you to confirm. Say yes. Then the rom will start flashing.
There's probably something in there you might not understand- but I tried to just answer your questions, rather than explaining every little thing... If there is something in there you don't understand feel free to ask
Sent from my GT-I9000
Soryuu said:
Hey man,
Yeah, sometimes following rom flashing instructions can be hard :L
1.) CM9 and CM10 respectively are CyanogenMod9 and 10. CM9 is ICS (4.0), and CM10 is Jelly Bean (4.1). CM10.1 is Jelly Bean 4.2. They're all roms based around stock Android, and often roms recommend flashing in CM roms first just to make sure things don't screw up.
2.) CWM is short for ClockWorkMod. Its a type of recovery that needs the phone to be rooted (if you don't know hoe to root it feel free to ask) Here you can flash roms and other mods and so on.
3.). Wiping data can be done from within ClockWorkMod. Once you boot into recovery, there'll be two options: Wipe Data and Wipe Cache. Go to each one and select Yes once prompted to. Then go to the Advanced Menu and select Wipe Dalvik Cache, then select Yes.
4.) On the main menu for CWM, there'll be an option that says Install Zip from SD. Make sure you have the SlimBean rom on your internal SD.
Scroll through the internal files until you find the zip file for the SlimBean rom. Select it, it'll ask you to confirm. Say yes. Then the rom will start flashing.
There's probably something in there you might not understand- but I tried to just answer your questions, rather than explaining every little thing... If there is something in there you don't understand feel free to ask
Sent from my GT-I9000
Click to expand...
Click to collapse
I appreciate your answers and help. It seems to be a bit recursive. In order to install this MOD, I need to install that MOD So I went to the cyanogenMOD website to find the ROM and instructions. Its'puzzling and totally strange , that they do not have ANY instructions on how to install CM10. What is that? Some strange mind game? If I would produce dozens of ROM for dozens of devices, why would I not post installation instructions? Try to put "install" into the searchbar on the site. You get nonsense.
Hahahaha I get you man. First time I tried installing CM10 I was so confused as to what to do (after going through about ten different tutorials...) that I said "Nahh, screw it" and tried it myself :L
This is how I do it:
Make sure that you have the CM10 zip file on your internal SD.
Also make sure that the phone is rooted. Most people reccomend that the phone should be running XXJW4 (I can link you if you'd like), rooted.
1.) Turn off the phone. Boot into ClockWordMod using the three button combo (vol. Down, Home, Power)
(Optional step; nandroid backup. In CWM there's an option for you to back up everything in your current ROM. Its recommended you do so in case something goes wrong, but not neccesary)
2.) Wipe data, cache and Dalvik Cache. I think I mentioned how to do it in my previous post.
3.) Go to "Install zip from SD". Using the volume buttons to scroll and the home button to select, navigate to where the CM zip is. Select it, then confirm.
4.) At this point it'll start flashing. The phone will probably stop and then reboot, then go into a continuous bootloop. DO NOT PANIC. It needs to do this to set up the phone to install everything else.
Just remove the phone battery, insert again, then boot into recovery again.
5.) Like before, navigate to the same CM10 file, select it and confirm. You don't need to wupe data/cache here. This time it'll properly flash in.
6.) Done! just wait for it to boot (might take 5-15 minutes, it needs to set up).
If you are flashing in SlimBean, then the process is much the same. Boot into recovery, wipe data/cache/Dalvik cache, select file, wait.
EDIT: Oooh, and once you flash in SlimBean don't forget to flash in a Google Apps zip. I don't believe SlimBean comes with them.
Pretty much once you flash in SlimBean, wait for the phone to boot. Turn it off, put it back into recovery, same process to flash (no wiping though), except just remember to choose the Gapps file.
Hope I helped make it clear
Sent from my GT-I9000

Categories

Resources