Upgrading ROM (CM9 Nighlty) - HTC Sensation

When upgrading a ROM with only few changes is this the correct procedure? Install the new ROM wipe cache/dalvik without data and you have apps and settings and everything?

Almost.
Wipe Dalvik and Cache FIRST
THEN overlay the new ROM update.
Always make a nandroid backup first just in case anything goes screwy, especially when you are dealing with CM nightlies. Every once in a while one will have an update that breaks a bunch of stuff. You don't want to be stuck with a broken ROM.

Related

Flashing latest build of CM7

Sorry, this might be kind of a noob question, but i see build 23 is out for CM7. If i flash the new build, do i need to totally set up my phone all over again?
My last experience with CM ROMS on my G1 was that if you are upgrading to a new CM version a wipe is recommended but not necessary. However, if you do not wipe and experience problems it will be the first troubleshooting step suggested to you
YMMV on the MT4G builds, but that's how it worked with the G1
Genocaust said:
My last experience with CM ROMS on my G1 was that if you are upgrading to a new CM version a wipe is recommended but not necessary. However, if you do not wipe and experience problems it will be the first troubleshooting step suggested to you
YMMV on the MT4G builds, but that's how it worked with the G1
Click to expand...
Click to collapse
Thanks. Ugh, i didn't even think about that when i flashed CM7. Seems like it is a real PITA to wipe every time and have to configure all the settings again.
I had good success on my move from stock -> Ice Glacier (un-crapwared stock) by making a full TitaniumBackup of -everything- and then restoring it app by app (along with settings). They are similarly built ROMs, and it worked well for me with minimal downtime. You may want to consider trying that if you are just changing between CM flavors, as I would presume they are mostly backward compatible with a few fixes/features here and there. At worst it may leave you with just system settings to redo.
When i flash a new CMNightly all i do is wipe the cache and the Dalv/Cache and i've yet to have any problems. If you are worried about wiping and restoring everything. you might want to look into Titanium Backup.
thanks. I flashed without wiping and it seems to be fine. I was worried more about my system settings than apps.
Sent from my HTC Glacier using XDA App
shortskoolbus said:
thanks. I flashed without wiping and it seems to be fine. I was worried more about my system settings than apps.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Wiping the Cache and wiping the Dalv Cache will not reset the phone. Only a full wipe will do that.
To my understanding, a "full wipe/factory reset" in Clockwork Recovery will only clear /cache, /data, and Davlik cache. /boot and /system will not be touched. Some users moving from Froyo to Gingerbread have had problems with /system, and a wipe of /system (from within Clockwork Recovery or from adb) has solved some problems for people, beyond what a full wipe can do. Discussions are in the CM7 thread in the Application Development subforum.
I know, most people refuse to search for anything.
i usually wipe the Cache and the Dalv Cache when updating nightlies, but several times i've wiped nothing and just flashed the new one on top and its always worked just fine for me
I always do a full wipe when installing roms. Setting it up each time makes me think its a whole new phone which is cool.
You do NOT need to wipe when upgrading to a new version of the same ROM. I've probably flashed 10 no-wipe updates of cm7 on my phone and it's still perfectly stable, no force closes or anything.
Boot into recovery and wipe cache and dalvik cache before flashing. Give it a few mins to "settle" on the first boot, reboot again and you're good to go.
Worst-case scenario you'll just wipe and reflash anyway, and nothing lost.

[Q] Backup every time I flash a rom?

Hello,
I flashed CWM and did a full system backup/system wipe/cache wipe then installed xboarders 1.2.2 rom for the first time. I'm rooted! woohoo! I want to install eaglesblood new rom now. My question is when installing a new rom is it recommended to do a full backup or is one time enough? Thank you for any help as I am a newbie at this.
I always keep at least one or 2 backups of setups that I know work. That way if I screw something up while tinkering with my phone I always have a working backup to fall back on.
So yes, its recommended to keep a good backup on hand. You don't necessarily need to backup every time though. I just make sure I backup my texts before I flash anything. I hate losing those.
What you DO NEED to do EVERY TIME you flash between completely different roms is do a full wipe before you flash the new rom. If you're only updating to a new version of the same rom then a full wipe isn't necessary.
G2X CM7
Thanks for your help! Also, when doing a full wipe do I need to do a dalvik wipe as well in the advanced settings in CWM?
Sarchie1982 said:
Thanks for your help! Also, when doing a full wipe do I need to do a dalvik wipe as well in the advanced settings in CWM?
Click to expand...
Click to collapse
I always do. It certainly wont hurt anything if you do. Just remember the first boot after clearing dalvik cache usually takes a little longer than normal because the phone has to rebuild the dalvik cache. Don't panic if it takes a few minutes even to boot. After the first time it wont take as long.
G2X CM7

[Q] Updating a ROM

This is not a "how to root" post.
I finally said F it and installed clockworkmod and flashed a ROM but I just did a basic one to get my feet wet.
My basic question is how do ROM upgrades get installed. Say I install the latest EaglesBlood ROM and there is an update for it. Do I have to do a complete data/cache clear and re-flash with the newest ROM or is there some sort of updater or is each developer different?
Thanks.
That really depends on what was updated. Most of the time if you are upgrading to a newer version of the same rom, you can get away with just flashing over it, and keeping your data intact. Clearing /cache and the dalvik-cache is recommended. However this is not always the case. Some changes require data wipes to be effective. Usually best to ask in the rom's thread if a wipe is needed.
Also, sometimes you can just do a nandroid backup, install new rom, then reboot into cwm and do an advanced restore just restoring the data partition. Again, it really depends on the rom, and what was upgraded.

Procedure for updating a ROM...

I'm just wondering if my procedure for updating my ROM is correct, as I've only owned a smartphone for about a month, and have only flashed once.
Basically before I was running AOKP build 2 and Franco kernel r79 (or thereabouts) on my Nexus 4. I wanted to upgrade to AOKP build 3, so I backed stuff up, booted up in recovery, wiped my data, cleared the cache, then cleared the Dalvik cache before rebooting. Then it took me back to the initial setup screen, but I got confused when AOKP and Franco Kernel was still installed. I figured I should just open up the browser, download build 3 to the device (since everything is wiped), and then I'll flash that on top of build 2.
Am I supposed to flash back the stock ROM and kernel, or does it not matter since I will be running the same custom ROM?
Likewise, if I wanted to change my custom ROM (like install PA3 or something), then I would definitely need to flash back the stock rom and kernel before proceeding, am I right?
Smeghead_ said:
I'm just wondering if my procedure for updating my ROM is correct, as I've only owned a smartphone for about a month, and have only flashed once.
Basically before I was running AOKP build 2 and Franco kernel r79 (or thereabouts) on my Nexus 4. I wanted to upgrade to AOKP build 3, so I backed stuff up, booted up in recovery, wiped my data, cleared the cache, then cleared the Dalvik cache before rebooting. Then it took me back to the initial setup screen, but I got confused when AOKP and Franco Kernel was still installed. I figured I should just open up the browser, download build 3 to the device (since everything is wiped), and then I'll flash that on top of build 2.
Am I supposed to flash back the stock ROM and kernel, or does it not matter since I will be running the same custom ROM?
Likewise, if I wanted to change my custom ROM (like install PA3 or something), then I would definitely need to flash back the stock rom and kernel before proceeding, am I right?
Click to expand...
Click to collapse
Well since I really only have experience with a tablet and older cell phone I can only speak of my experiences with those. My tablet runs 4.2.2 and the phone 2.2. With both devices I have never had to flash them back to stock to flash an update. Usually a data and cache wipe was sufficient although I will wipe the whole system when flashing a huge update on the tablet.....like from GB to JB.
What helpful people told me when I asked the same question was...
When going to a very different (including the same ROM going to a new android version, ie 4.1 => 4.2) ROM (as in, not just doing a small update on the current one) :
Wipe both caches, wipe /system, wipe /data, and wipe internal sd card and factory reset.
Then flash what you want - ROM => Kernel (if desired) => GAPPs
Wipe caches again.
Done!
I don't know about your particular phone and those ROMs. Is AOKP 2 to 3 a big change ? If so, simply writing 3 over 2 could cause some major problems. I totally messed up and did something like that once and while it wasn't a huge deal I had to start over and do it again because it wasn't usable.
In regards to your description of what you did, you didn't wipe /system, so you didn't wipe your system and so it was still installed like you saw. You'll need to "start over" and wipe everything again. Since the N 4 doesn't have an external SD, I'm guessing you guys wipe /system and like, push the ROM to be flashed to the internal storage ? Maybe ? I have no idea - I've always had an external SD, but since it's a Nexus device I'm sure the procedure is well-covered !
My Kindle Fire tablet also does not actually have an SD card either.....the 8GB memory has been partitioned and originally I would have 5GB available out of 8 which would act as the SD card and 1.09GB for internal or "phone" memory. I have mine even more scrapped down as this one has the ability to either boot into CM7(GB) or the newest CM10.1(JB).
Say for example I went from Android 4.1.2 to 4.2.2.....that's a pretty big update......I would do a full wipe meaning doing it in this order: factory reset, wipe cache, wipe dalvik, and wipe system.
If I wanted to flash a little update of my current 4.2.2 where only some slight tweaks were applied I would just wipe cache and dalvik only. There are times when this simple flash wipe technique WON'T work and you'll probably realize it real quick. There could be any one of a million bugs that could occur and usually they are pretty noticeable. If that happens (sometimes it will, sometimes it won't) the worst case scenario is just going ahead and doing the full wipe.
I'm not knowledgeable on AOKP ROMs so I don't want to venture there. Boot loops are a whole different story and you might want to educate yourself as much as possible because they can happen. I had a couple occurances with a boot loop not too long ago as I was messing with a system font editor and it caused a boot loop. I didn't panic.....I already researched how to handle them so getting it back online was quite easy.
Hope my rambling has helped even a little bit.....
As long as you are just updating the same Rom, you can usually just flash it over (unless the Rom-maker says different).
If there are some fundamental changes in the Rom update, or you are switching to another Rom, then you should wipe it all.
To make it all a bit easier, you can use the Megawipe script:
http://forum.xda-developers.com/showthread.php?t=1832326
Along with the Aroma installer, it's just a few clicks to clean it all up, and ready for a fresh install

patch installation...

Was wondering if I could get some advice on the best way to install a couple patches in zip format for a rom I have...
Do I flash the rom as usual, re-boot and let it simmer a while, then go back into recovery, wipe and install the patches?
Or can I flash the rom, then wipe and install patches without re-booting until after all is done?
Also, If more than one patch, the same question applies as far as a re-boot, that is, do I need to re-boot each time after each patch or can I install the zips all at once, then re-boot?
And finally a related, much discussed issue, and that has to do with wiping the system when flashing...
Is there any harm in wiping the dalvik and cache right after a fresh rom install or rom restore from backup BEFORE re-boot?
The idea would be to have the new installation, regardless of a new system or a restored backup sitting on a clean base, as I understand, the install creates some junk in the cache, that's why it is suggested to wipe the system before you do a backup...
Thanks.

Categories

Resources