[Q] Avoiding boot loops when flashing a custom ROM - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

I am currently on stock+cfroot LA3. I have attempted to flash several custom ROM via CWM, however I always seem to get a bootloop. I follow directions first, then try the various other directions culled from other posts.
At there prerequisites to flashing a custom ROM such as being on the same base stock add the custom you are trying to flash?

what steps are you following? List them here please.

kirangarapati said:
what steps are you following? List them here please.
Click to expand...
Click to collapse
First is to follow the steps detailed in the ROM post exactly. Some recommend a full wipe, while others don't. Then I boot into CWM, select the zip file from sd card, wipe cache and dalvik, and reboot. Next is to try a full wipe regardless if I get into bootloop.

Looking about I realized that "full wipe" means different things to different people. I'm still curious if there are prerequisites such as the same base before flashing.

Curious about this cos i'm in your boat too. Follow everything but still get bootloops.
Sent from my GT-N7000 using XDA App

ive had the same issue too guys, for me, i started again with KKA, rooted it, and then flash my roms over that with the CF kernel, that works for me, but ive always found installing other roms over fm kernel or abyss will not work on my note, i get bootloops.
When flashing a stock, you should also do a full flash, use the pit file and bootloader if its avail and flash the lot, this way your getting a proper full flash, not just the 3 file method, but be careful and read up first, flashing bootloaders can be risky.

undrwater said:
First is to follow the steps detailed in the ROM post exactly. Some recommend a full wipe, while others don't. Then I boot into CWM, select the zip file from sd card, wipe cache and dalvik, and reboot. Next is to try a full wipe regardless if I get into bootloop.
Click to expand...
Click to collapse
you should change the order you did, like this
if rom need fullwipe.
1. boot into recovery.
2. full wipe.
3. wipe cache and dalvik.
4. select the zip from sdcar.
if rom no need to wipe, ex rom of criskelo you only boot in recovery and select zip file, but you must flash over other custom rom.

wkamol said:
you should change the order you did, like this
if rom need fullwipe.
1. boot into recovery.
2. full wipe.
....
Click to expand...
Click to collapse
In CWM, I don't have an option for "full wipe". I have:
* wipe data / factory reset
* wipe cache partition
and under the Advanced section:
* wipe Dalvik Cache
* wipe Battery Stats
I'm guessing you mean wipe data / factory reset? I HATE to guess!!
Another option that looks like it COULD mean "full wipe" is:
*#*#7780#*#* (on the phone keypad)
There's even:
*2767*3855#
I'll try with the wipe data and see what happens.

Yes, a full wipe or clean wipe is, factory data reset, wipe cache partition and dalvik wipe. So the 3 before flashing a rom and you shouldn't have any issues
Sent from my SGH-T989 using Tapatalk

undrwater said:
In CWM, I don't have an option for "full wipe". I have:
* wipe data / factory reset
* wipe cache partition
and under the Advanced section:
* wipe Dalvik Cache
* wipe Battery Stats
I'm guessing you mean wipe data / factory reset? I HATE to guess!!
Another option that looks like it COULD mean "full wipe" is:
*#*#7780#*#* (on the phone keypad)
There's even:
*2767*3855#
I'll try with the wipe data and see what happens.
Click to expand...
Click to collapse
Full wipe in cwm is wipe data / factory reset
Sent from my GT-N7000 using xda premium

capcanuck said:
Yes, a full wipe or clean wipe is, factory data reset, wipe cache partition and dalvik wipe. So the 3 before flashing a rom and you shouldn't have any issues
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
This DID work. What do you think about post dedicated to definitions?

undrwater said:
This DID work. What do you think about post dedicated to definitions?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1455710
There you go..
Sent from my SGH-T989 using Tapatalk

capcanuck said:
http://forum.xda-developers.com/showthread.php?t=1455710
There you go..
Click to expand...
Click to collapse
Thanks for the helpful link.

No worries... This custom android stuff is a lot of fun, but a hell of a lot to take in!
Sent from my SGH-T989 using Tapatalk

capcanuck said:
http://forum.xda-developers.com/showthread.php?t=1455710
There you go..
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Interesting that the first post AFTER the link is someone attempting to define "full wipe"!
I'll add the link to the Tips and Tricks post for future reference.

Related

Wipe, non wipe and factory reset

Some rom guides tell you to wipe data/factory reset after you have.flashed the rom but wouldn't this put your phone back to stock firmware?
What is non wipe and wipe because I have tried both and they wipe everything.
Sent from my GT-I9000 using XDA App
You can find Wipe- and Non-Wipe versions on some ROMs. So you can choose if everything should be wiped or not.
Factory reset = removing all user data
Sent from my GT-I9000 using XDA Premium App
If you are updating same rom then generally you can use non wipe version, if you are coming from a different rom then use wipe to avoid data conflict
Insanity cm017/glitch v10c
seeraj15 said:
Some rom guides tell you to wipe data/factory reset after you have.flashed the rom but wouldn't this put your phone back to stock firmware?
Click to expand...
Click to collapse
Wiping after flashing won't put your phone back to stock but may put it into a bootloop. Most instructions say wipe data before flashing, this will prevent any compatibility errors you may have with an old rom or version. Just remember to backup in case things go wrong.

[Q] Why clear Dalvik and cache?

So every single rom for any phone I've seen says to clear the dalvik and the cache (or maybe its just the "dalvik cache") but when I went from stock to Thriller, I forgot to, and nothing went wrong. In fact, all my settings and apps were all intact from the previous stock rom.
I've considered that the only other phone I'd done any flashing on was a backflip, without Apps2SD and maybe that's why all my apps and settings were intact, so that still leaves me with the question: why clear it?
This may be a noob-ish question, and I apologize. Thanks for any help!
Tyqar said:
So every single rom for any phone I've seen says to clear the dalvik and the cache (or maybe its just the "dalvik cache") but when I went from stock to Thriller, I forgot to, and nothing went wrong. In fact, all my settings and apps were all intact from the previous stock rom.
I've considered that the only other phone I'd done any flashing on was a backflip, without Apps2SD and maybe that's why all my apps and settings were intact, so that still leaves me with the question: why clear it?
This may be a noob-ish question, and I apologize. Thanks for any help!
Click to expand...
Click to collapse
If there are any compatibility issues between the apk dalvik cache of your previous rom and the apks on the new rom wiping dalvik clears the previous apks stored dalvik cache. In most cases you can flash without a problem. But I recommend wiping between rom flashes just to eliminate any potential problems. Flashing something like Thriller over the stock rom you can probably get away with not wiping anything since all the apks are essentially the same. Flashing kernels you don't need to wipe anything. When flashing a rom with a completely different firmware I recommend a full data wipe. Restoring recovery backups such as nandroid require no wiping at all.
Also, wiping dalvik shouldn't affect any of your settings.
Sent from my LG-P920 using Tapatalk
+1
When switching ROM with different base apps, it is generally better to wipe caches than to get stuck in a boot loop, or having your apps and launcher FC on you. You never lose anything as the cache rebuilds itself on the next reboot, except maybe a few minutes
CallMeAria said:
If there are any compatibility issues between the apk dalvik cache of your previous rom and the apks on the new rom wiping dalvik clears the previous apks stored dalvik cache. In most cases you can flash without a problem. But I recommend wiping between rom flashes just to eliminate any potential problems. Flashing something like Thriller over the stock rom you can probably get away with not wiping anything since all the apks are essentially the same. Flashing kernels you don't need to wipe anything. When flashing a rom with a completely different firmware I recommend a full data wipe. Restoring recovery backups such as nandroid require no wiping at all.
Also, wiping dalvik shouldn't affect any of your settings.
Sent from my LG-P920 using Tapatalk
Click to expand...
Click to collapse
so, when i flashed thriller and followed the instructions, did I do a full wipe or not?
I mean if it doest it on its own, and if not, should I do one?
latinohot said:
so, when i flashed thriller and followed the instructions, did I do a full wipe or not?
I mean if it doest it on its own, and if not, should I do one?
Click to expand...
Click to collapse
If you followed the instructions you did a full data wipe. When you do this the dalvik gets wiped as well. To just wipe dalvik look under the Advanced menu in cwm recovery.
Sent from my LG-P920 using Tapatalk
clearing cache
i am using a nand rom in my HD2, and i also want to install another rom via SD in Magldr, but because of kernel issues i cannot load the Rom from SD unless i use the kernal i am advised to use. I am instructed to clear the dalvik and cache, but does this mean that i would lose anything from my current NAND rom? I still want to be able to use that of coarse so i just want to make sure there are no major risks when clearing cache.
ssj5legend said:
i am using a nand rom in my HD2, and i also want to install another rom via SD in Magldr, but because of kernel issues i cannot load the Rom from SD unless i use the kernal i am advised to use. I am instructed to clear the dalvik and cache, but does this mean that i would lose anything from my current NAND rom? I still want to be able to use that of coarse so i just want to make sure there are no major risks when clearing cache.
Click to expand...
Click to collapse
Clearing dalvik and cache wont make you lose anything, used to do it with my shift because I'd flash about 10 zips a day sometimes...
Also when it comes to flashing any ROM I format system data cache wipe dalvik cache and do a factory reset just to be sure nothing from a previous ROM is left over also wipe my SD ext partition when running an a2sd ROM, my question is can I safely manually format the emmc partition of the thrill from the mounts and storage option of cwm
Sent from my LG-P925 using Tapatalk

[READ] [GUIDE] How to perform a FULL wipe. (Yes it matters)

PLEASE SIGN THIS PETITION! TO GET US SOME UPDATING LOVE!!!!!
SIGN AND SIGN AND SIGN!!!! THEN SING!,.......: http://www.change.org/petitions/sam...clears some things. Now lets flash some ROMs!
quick question, if you do a factory reset with odin and start from scratch, should you delete everything that is on your internal SD? Would that be a full complete wipe?
That is a FULL wipe but thats not what im talking about. Just the internal phone stuff.
what is formatted when you click to format /boot? for some reason I always thought that formatted the boot loader so I dared not touch that, but now I'm realizing how stupid it would be to even put that option there and how many more phones would have been bricked at this point. anyway when I install a new rom I pretty much wipe everything (including dalvik) except for /boot and /emmc ( I even formated the external recently but moved back images, efs backup, and avatar), then mount /sdcard, insert rom then flash, fix permissions.
formats the boot animation?
or after the VIBRANT logo
it's a ritual for me whenever i install a new rom to go through this installation method. I also notice that i tend to experience far less "bugs" then others.
Odin to Stock JFD
using the update.zip flash CWR
flash ROM (bootloops after updating CWR)
3 button into recovery
mounts and storage menu
format the following
-System
-Cache
-Data
-Data/Data
advanced Menu
Wipe Dalvik Cache
Flash Rom Again
Fix Permissions
Reboot
wait 5 Minutes
Reboot
complete the 1 time google setup
Install your apps Without data
reboot to recovery
Clear Cache/Dalvik fix permissions
Reboot
Play
I use this method from everything from 2.2-miui-ics never a hickup!
Format system wipes the internal sd basically?
juniorkid95 said:
Format system wipes the internal sd basically?
Click to expand...
Click to collapse
Noooooo!!! It wipes the ROM!
If you wanna wipe SD then "format SD"
Updated OP please read!
Sent from the effnn TITAN!!!
VeryCoolAlan said:
Noooooo!!! It wipes the ROM!
If you wanna wipe SD then "format SD"
Updated OP please read!
Sent from the effnn TITAN!!!
Click to expand...
Click to collapse
Now I understand. Thanks Alan. How come most ROM flashing instructions don't advise Format system?
..........
What about clearing Dalvik Cache?
nirogu325 said:
What about clearing Dalvik Cache?
Click to expand...
Click to collapse
Cleared in the process...
Sent from the effnn TITAN!!!
VeryCoolAlan said:
Cleared in the process...
Sent from the effnn TITAN!!!
Click to expand...
Click to collapse
Just being curious because some say it isn't cleared in the Factory Reset. Some ROM and kernel devs do suggest clearing Dalvik Cache after doing a Factory Reset because it prevents some apps giving FCs after flashing a new ROM.
Side note: I wipe dalvik about once every two weeks whether I am flashing or not. Helps with cleaning up corpses and getting better RAM usage. Thanks for the info Alan.
extra post :/
Nice find!
..now bend over.
One question Alan.
Can I Odin to stock from ICS passion just like we go from gingerbread or froyo from? Or is there a special way to get back to stock jfd? I want to try out jcc from but I don't know if I could just Odin to stock from passion. Thanks
Sent from my SGH-T959 using Tapatalk
boystuff said:
it's a ritual for me whenever i install a new rom to go through this installation method. I also notice that i tend to experience far less "bugs" then others.
Odin to Stock JFD
using the update.zip flash CWR
flash ROM (bootloops after updating CWR)
3 button into recovery
mounts and storage menu
format the following
-System
-Cache
-Data
-Data/Data
advanced Menu
Wipe Dalvik Cache
Flash Rom Again
Fix Permissions
Reboot
wait 5 Minutes
Reboot
complete the 1 time google setup
Install your apps Without data
reboot to recovery
Clear Cache/Dalvik fix permissions
Reboot
Play
I use this method from everything from 2.2-miui-ics never a hickup!
Click to expand...
Click to collapse
What you using to reinstall apps and/or app data? Everytime I install a new ROM, I lose all my data connected to an app. For example, I play Drag Racing and you have to create a new login name everytime I install a new ROM. I would like to at least save the data related to that app.
wavestar92 said:
One question Alan.
Can I Odin to stock from ICS passion just like we go from gingerbread or froyo from? Or is there a special way to get back to stock jfd? I want to try out jcc from but I don't know if I could just Odin to stock from passion. Thanks
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
Yep just ODIN to stock , wipe and flash
Sent from my SGH-T959 using XDA App
nirogu325 said:
Just being curious because some say it isn't cleared in the Factory Reset. Some ROM and kernel devs do suggest clearing Dalvik Cache after doing a Factory Reset because it prevents some apps giving FCs after flashing a new ROM.
Click to expand...
Click to collapse
Yea I do it as well just in case....
Sent from my SGH-T959 using XDA App

[Q] do i need to perform full wipe if i flash XXLSA over XXLS7?

or can i just dirty wipe and wipe dalvik cache and im good to go?
thanks
Jamal Ahmed said:
or can i just dirty wipe and wipe dalvik cache and im good to go?
thanks
Click to expand...
Click to collapse
Not sure about this particular case, but I'll tell you my approach is to *always* do a full wipe + format partitions and internal sdcard before flashing *any* ROM. This way I'm sure there's nothing old left (app data, config etc.). Using this approach I've been running many ROMs without most of the bugs users report (using XXLSA now), I think it's worth the time to reinstall and reconfig everything. If you don't need to keep old data and config:
1) Wipe data & cache
2) Wipe dalvik cache
3) Format /system & /preload
4) Format internal sdcard (make sure you save anything you need before)
5) Flash ROM
6) Wipe cache again
7) Wipe dalvik cache again
8) Reboot
(Not sure if 6 and 7 are needed, but I prefer to be a bit paranoid in this case.)
Jamal Ahmed said:
or can i just dirty wipe and wipe dalvik cache and im good to go?
thanks
Click to expand...
Click to collapse
I think it depends on which custom rom u r currently on & which one you are gonna flash..for ex: flashing Ultimate v5 XXLSA over Alliance v1 XXLS7 may not work..
dbolivar said:
Using this approach I've been running many ROMs without most of the bugs users report (using XXLSA now))
Click to expand...
Click to collapse
I agree with you. If you perform a full wipe before to install a new rom, the probabilities of occur in some rom's issue (like FC or just a "simple" weird lag) are low. Tested personally.
It always better/advised to perform a full wipe.
In the end, you could do a nandroid backup of your last used rom, wipe everything, install the new rom, and then try to restore the data partition only. If you get some errors or general issue, you can easily full wipe everything again, and reinstall the new rom again... at least, you tried
Jamal Ahmed said:
or can i just dirty wipe and wipe dalvik cache and im good to go?
thanks
Click to expand...
Click to collapse
What does the OP states? Flashing ROMs is STILL a dangerous business.
Read the OP for the ROM you are installing
Jamal Ahmed said:
or can i just dirty wipe and wipe dalvik cache and im good to go?
thanks
Click to expand...
Click to collapse
leaks always require full wipe for it to function properly.

Cant Decrypt

Hi all
I am looking to sell my Nexus 7 but i have a problem - I encrypted it when i first got it.
I have read that if you go into settings -> Backup & Restore -> Factory Reset, that it should decrypt the device and wipe it as if its new however when i do this, the device reboots, then it asks me for my PIN again and then continues to boot as normal - Not Factory Reset
Anyone had this before and/or know a fix?
Can't you just wipe everything, cache, dalvik, data, system,, leave only sdcard and flash a stock ROM if you're selling it?
Sent from my GT-I9000 using Tapatalk 2
knuckles1978 said:
Can't you just wipe everything, cache, dalvik, data, system,, leave only sdcard and flash a stock ROM if you're selling it?
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
Wiping stuff from recovery fails as everything is encrypted
Maybe flash one of the factory images? Not sure...

Categories

Resources