[Q] upgrading roms - Android Software/Hacking General [Developers Only]

i'm using a htc desire running on cm6.
when there are newer versions of cm and i would like to update to it.
what is the best way of achieving this without having to wipe the data/settings/etc?
if there is no such way, what can i do to backup settings/data/apps so that once i update to a newer cm , i can just restore my stuff?
what about Rom Manager Premium, theres an option to check for rom updates, would Rom Manager update your rom for you?(and keep all settings/data/etc?)

Yup.
it does everyting. buy it. seriously.
vision

seriously?

i use titanium backup and it works fine for me..
another option to back up your apps & system data is the nandroid backup on the recovery menu..

titanium backup requires busybox and for that to work i need to be nand unlocked.(which im not).
i always thought that nandroid backup will backup everythign to a state, so if i were to upgrade roms, and then use restore, wont it just revert me back to the previous state(not updated)?

edwinlee90 said:
titanium backup requires busybox and for that to work i need to be nand unlocked.(which im not).
i always thought that nandroid backup will backup everythign to a state, so if i were to upgrade roms, and then use restore, wont it just revert me back to the previous state(not updated)?
Click to expand...
Click to collapse
You are correct. A nandroid restore will undo your update.
If you're upgrading to a newer release of CM6, you should be able to do it without wiping your data. Wipe dalvik and cache, flash the rom, and reboot. You'll have new featuers but all your old apps and data in tact.
Nandroid backup first for good measure though

oh okay, so wiping dalvik and cache would just wipe all settings(including home screen layout, widget placements, folders etc?)
some tutorials that i've read about updating roms, is that i dont even need to wipe dalvik and cache, anythign bad about that?

edwinlee90 said:
oh okay, so wiping dalvik and cache would just wipe all settings(including home screen layout, widget placements, folders etc?)
some tutorials that i've read about updating roms, is that i dont even need to wipe dalvik and cache, anythign bad about that?
Click to expand...
Click to collapse
Nope, dalvik and cache wouldn't even affect your settings.
The cache is the temporary cache used by the Android operating system, and the Dalvik-cache is the cache used by the Dalvik Virtual Machine. The only thing about wiping them is that the first boot will take longer as they rebuild their indexes and such.
Nine times out of ten, you'll be fine without wiping these. It's just generally considered "better" if you do.
Again, nandroid backup and try it out. If it doesn't work without wiping, restore back and wipe the caches.

Related

[Q] Restoring backup in xRecovery

I made a backup of my system in xRecovery earlier.
If I want to restore that backup, do I need to wipe anything?? Like cache?
Or do I only need to restore and just reboot?
Chris95X8 said:
I made a backup of my system in xRecovery earlier.
If I want to restore that backup, do I need to wipe anything?? Like cache?
Or do I only need to restore and just reboot?
Click to expand...
Click to collapse
the better thing that you can do its full wipe (factory reset, wipe data cache & dalvik)
when you flashed the backup do battery wipe...
full wipe its better because the apk´s need to zipalign again, do a new busybox, etcc...
SERGI.3210 said:
the better thing that you can do its full wipe (factory reset, wipe data cache & dalvik)
when you flashed the backup do battery wipe...
full wipe its better because the apk´s need to zipalign again, do a new busybox, etcc...
Click to expand...
Click to collapse
So I still lose my apps huh?
Sent from my X8 using XDA App
[Q] xRecovery:different restore modes
SERGI.3210 said:
the better thing that you can do its full wipe (factory reset, wipe data cache & dalvik)
when you flashed the backup do battery wipe...
full wipe its better because the apk´s need to zipalign again, do a new busybox, etcc...
Click to expand...
Click to collapse
Hello,
I've been using xRecovery for a while on my Xperia X8. I usually make a weekly backup and if the phone crashes then I restore completely the latest backup. This implies in restoring apps and data to the previous state as well.
Today I was taking a closer look at the "partial" recovery options of xRecovery, and saw that I can restore only the system.
Initially, I thought I had found the solution, as I would be able to restore only the system, and maintain the state of my apps and data.
However, your response above has confused me a bit.
So, if my Android's system crashes, I can't simply restore only the system, and keep the current app and data? What would then be the best way to restore the system and have the most recent data and apps?
Thank you,
M!©k3t$
How to read from an xrecovery
Could anyone help my how to get/read out contacts from an xRecovery or CWM back up? I did it today.
Without restoring the entire ROM.
Please please please
info
pathaniya said:
Could anyone help my how to get/read out contacts from an xRecovery or CWM back up? I did it today.
Without restoring the entire ROM.
Please please please
Click to expand...
Click to collapse
wait for more info

[Q] Update question?

Hi people, just a quicky! If you update NSCollab 1.0.38 to 1.0.39, do you have to delete data & dalvik cache (factory restore!) like it's a new installation, or can you just do a delete dalvik cache? Only I did the delete dalvik cache ONLY method for the update & had no problems, but I'm now presuming that if you don't do the full wipe, then really in essence you're effectively not really fully updating the whole system as you would be if wiping it first (through ClockworkMod Recovery,(RomManager!)!?
TIA!
There is no need to fully wipe when doing that minor upgrade to 1.0.39. I think you only need to fully wipe when changing ROMs. You probably do not even have to wipe Dalvik cache but since it only takes a few minutes to reload it, I would do it anyway.
Data wipe is completely overkill, however.
Apolyxon said:
There is no need to fully wipe when doing that minor upgrade to 1.0.39. I think you only need to fully wipe when changing ROMs. You probably do not even have to wipe Dalvik cache but since it only takes a few minutes to reload it, I would do it anyway.
Data wipe is completely overkill, however.
Click to expand...
Click to collapse
Thanks Apolyxon for your quick reply! I had thaught as much, as I knew wiping data also would effectively commit a factory restore & I would lose all my apps, settings etc! Just wanted to be sure!

installing rom question

Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
rasdabess said:
Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
Click to expand...
Click to collapse
You should backup your rom before flashing, this way if anything goes wrong you can go back.
You should always wipe, wipe, wipe.
Wipe data/factory reset
Wipe cache partition
Go to Advanced and wipe Dalvik Cache
After the wipe go back and Install zip from sdcard. After install I do another wipe on the Dalvik Cache then fix permissions. Remember Wipe, Wipe, Wipe.
so as long as I do that then I can install a rom over another and delete the previous one while doing so?
rasdabess said:
Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
Click to expand...
Click to collapse
I recommend making several backups.
First, make sure you have Clockworkmod installed via nvflash. Then make a backup. Download the backup to your pc for safe keeping (just in case things go wrong).
Use Titanium Backup (free version works, but buy the full one if you like it). Use the batch feature to back up all user apps. Do not back up system apps.
When installing a new rom, especially roms that use different versions of android, you should wipe everything you can except the external sd card (where you keep your backups). Wiping "system" is important.
If you need help, shout out.
http://forum.xda-developers.com/showthread.php?t=1056847

[Q] about backup,CWM restore=titanium restore?

The question is :
restoring "USER APP" from a backup made with clockworkmod,is the same thing than restoring from titatanium backup?
I'm talking about user app and not system app, and i know that titanium let you choose what you need.
Thanks!!!
CWM only lets you restore everything in the "Simple" mode (that is, format all main partitions and replace with the backup). If you click on advanced restore you can do the same for a particular partition, such as just /data which would essentially do what you just said.
Now i've not tried doing this via CWM, but i can easily see this leading to problems. I would use NANDROIDs only to do full backups or advanced restore only if you are using the exact same ROM as the backup. Otherwise, probably best to save the trouble and stick with Titanium.
Usually i flash cm9 kang every day,so i assume that restoring from cwm advanced restore should works without problem.
It most likely would work perfectly fine in that case. Though you can probably just wipe everything besides the /data partition to begin with and just flash the new ROM. Why wipe /data just to flash the same /data?
Harbb said:
It most likely would work perfectly fine in that case. Though you can probably just wipe everything besides the /data partition to begin with and just flash the new ROM. Why wipe /data just to flash the same /data?
Click to expand...
Click to collapse
i'M AN IDIOT...YOU'RE RIGHT
But the doubt is inside me and sometime i like to try different rom...how can i open "data.img" from cwm backup?
i would like to see what exactly is inside.
I believe it is a yaffs image file. I've not tried to open it but maybe have a look around for unyaffs. Might be easiest to do it in a linux environment, i think there are some native tools available.
However, it is likely just an exact copy of all the files in the /data partition, you're not missing out on anything root explorer doesn't already show you. This means the dalvik cache is in there too, so it might be best to wipe that separately every flash, especially if you decide to restore data via CWM afterward.
Harbb said:
However, it is likely just an exact copy of all the files in the /data partition, you're not missing out on anything root explorer doesn't already show you. This means the dalvik cache is in there too, so it might be best to wipe that separately every flash, especially if you decide to restore data via CWM afterward.
Click to expand...
Click to collapse
I had a look inside root explorer...i wanna try
I think it's the best way,if something goes wrong i'll still have my nand bkp
i tried and seems everything works fine:
start with cm9kang
-nandroid backup
-wiped all
-installed "codename 1.4.0"
-restored from kwm advanced only data
-wiped dalvik
-installed gapps
some settings have been restored,other no ,and all app works
I'm wondering now if codename is cm9 based rom
+1
albedebbi said:
i tried and seems everything works fine:
start with cm9kang
-nandroid backup
-wiped all
-installed "codename 1.4.0"
-restored from kwm advanced only data
-wiped dalvik
-installed gapps
some settings have been restored,other no ,and all app works
I'm wondering now if codename is cm9 based rom
Click to expand...
Click to collapse
sent from my so icey ns4G

[Q] If phone isn't rooted, does it mean I'm unable to wipe...

....to wipe unneeded files in the dalvik cache, and so they will add up over time and take a lot of space and make the phone slower? Therefore it is a MUST to root one's phone?
Is that a correct assumption?
Thanks!
Try it. Use any file manager, go to /cache/dalvik-cache, and delete something, or everything.
The reason why it is called a cache is to speed up the phone.
It won't take up memory because of the way the phones storage is partitioned.
Sent from my DROID2 using xda premium
MarlonKaye said:
....to wipe unneeded files in the dalvik cache, and so they will add up over time and take a lot of space and make the phone slower? Therefore it is a MUST to root one's phone?
Is that a correct assumption?
Thanks!
Click to expand...
Click to collapse
For formating caches you could use file manager but it also need root permission...
And until you flash other custom rom you need not to wipe cache...
Apps cache is being created for the first time you boot your phone for better application launch...
So if you got a serious problem of force crash on stock rom, please do full reset...
Rom: CodeBox 1.4.0 Unofficial
Kernel: Horsepower 3.1 by fuss
If you like my post please hit thanks button...
You can use Factory Reset from Settings menu.
guys...
Guys, please read the original post.
Anyway, I tried unrooting my phone and deleting contents of dalvik cache. As expected, this is what happened:
1. Using ES File Explorer, WAS NOT ABLE to access the /data/dalvik-cache folder. It showed "Empty folder" or something like that.
2. Using Root Explorer, message that read "You're phone doesn't seem to be rooted, etc. etc. " (cannot access folder also)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
So here's my new set of questions:
1. Does factory reset erase dalvik-cache? (I would assume so)
2. If phone is unrooted, dalvik cache contents cannot be accessed or deleted (as I have proven). Does that mean they will add up over time (unless you factory reset the phone??) and cause problems like making the phone slower?
Hope that's clear.
Thanks!!!
What phone are you using? If for samsung, you can still wipe that in stock recovery even if you are unrooted...
Dalvik cache is in your /data partition, so yeah, it will be erased if you factory reset...your phone should manage dalvik by itself, it should not build up (except if you mess with it), so don't worry...
Ryuinferno, hello. I'm using Samsung Galaxy Ace. So how do I wipe the dalvik cache in stock recovery of unrooted phone? Are you referring to factory reset / data wipe? I know that already. I know that already. If you're referring to something else, please let me know.
Are you sure android phones manage the dalvik cache by themselves? Because sometimes when I uninstall an app, a related file would still be left in dalvik. I would then manually delete it or delete it using Titanium Backup. Also, why does Titanium Backup have an option to "Clean up the Dalvik cache..." if the phone manages it by itself?
Thanks!!!
Ryuinferno said:
What phone are you using? If for samsung, you can still wipe that in stock recovery even if you are unrooted...
Dalvik cache is in your /data partition, so yeah, it will be erased if you factory reset...your phone should manage dalvik by itself, it should not build up (except if you mess with it), so don't worry...
Click to expand...
Click to collapse
Even wiping dalvik cache will cause apps to misbehave in you don't factory reset ...
If you are rooted , it will also have same effect ...
So do factory reset if you are in stock ROM and full wipe if you are on custom ROM ...
ROM : CodeBox Unofficial 1.4.0
Kernel : Horsepower 3.1.0-Fuss
If you like my post please hit like button...
Hmm...I can't remember too well as I left stock recovery too long...never left my phone unrooted......I think there is a wipe cache option in stock recovery but I am not sure whether will it wipe dalvik or not...
Titanium backup has an option to wipe dalvik because when changing ROMs/restoring apps, the current dalvik may be conflicting with the newly restored app...that is why you need to rebuild them...usually the old unused dalvik should be cleared upon a reboot...
"Hmm...I can't remember too well as I left stock recovery too long...never left my phone unrooted......I think there is a wipe cache option in stock recovery but I am not sure whether will it wipe dalvik or not..."
Maybe not? Because wipe cache and wipe dalvik cache are two separate options in ClockworkMOD Recovery, is it not? Or maybe in stock recovery, it DOES wipe dalvik as well....

Categories

Resources