[Q] Advanced Restore of Kernels - Galaxy S II Q&A, Help & Troubleshooting

Noob question again Sir/s...
In advance restore in recovery of different kernels...
What will be restore if I restore the ff...
1. Restore boot - ???
2. Restore System and Preload - ???
3. Restore data - ??? (i thinks apps that has been downloaded from Playstore)
4. Restore cache - ???
Additional question also...If I want to restore my text messages and call logs, which one should I restore from the choices above?...
I hope somebody will answer my questions...Newbie here in restoring, coz I always want fresh Installation of Roms without doing a Back-up...
Thanks in advance Sir/s...

Resore boot - restores kernel and recovery
Restore system and preload - restores whole system with all of its apk lib so files blah blah
Restore data - restores whole installed apps and its data including system datas
Restore cache restores what is stored in /cache partition, usualy dex files used by dalvik cache
You cant restore sms with cwm, only with titanium backup of something similar
Sent from my GT-I9100 using XDA Premium 4 mobile app

krazy1101 said:
Resore boot - restores kernel and recovery
Restore system and preload - restores whole system with all of its apk lib so files blah blah
Restore data - restores whole installed apps and its data including system datas
Restore cache restores what is stored in /cache partition, usualy dex files used by dalvik cache
You cant restore sms with cwm, only with titanium backup of something similar
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hhmmnn it is now clear with me...thank you so much Sir @krazy1101...all I need to restore for me then is the Data...it will save time installing again the apps I installed specialy those from play store...
Sent from my GT-I9100 using XDA Premium 4 mobile app

You can easily make a CWM flashable of your apps/data with TiBu Pro.

MistahBungle said:
You can easily make a CWM flashable of your apps/data with TiBu Pro.
Click to expand...
Click to collapse
Is it not just enough to restore may apps from recovery mode?...

You can do exactly that with a CWM flashable made with TI. Put all your non-system apps/data (if you want) into a flashable zip, get your new rom clean installed/phone re-rooted/whatever, flash the zip, done. No need to muck around restoring whole partitions which can cause problems particularly if you're changing to completely different rom/TW to AOSP & VV/or a different base (say 4.2 to 4.3, etc).

Related

How to Backup and Restore Apps ?

How to Restore Apps after installing new Firmware ?
Will Restoring CWM Data do it ?
Hi, before you flash a ROM, you should install titanium backup and backup apps through there. Flash rom, clear data, dalvik, boot normally, set apn etc if needed then reinstall titanium backup and batch restore.
Sent from my GT-S5830 using XDA App
russ18uk said:
Hi, before you flash a ROM, you should install titanium backup and backup apps through there. Flash rom, clear data, dalvik, boot normally, set apn etc if needed then reinstall titanium backup and batch restore.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Thanks. Titanium Free will let me do that ?
lkhz said:
Thanks. Titanium Free will let me do that ?
Click to expand...
Click to collapse
Yes out will. Choose batch from menu and pick whether to back up apps, or apps and data. Data will be stored on sd card. Apply new rom, clear data and dalvik, reinstall titanium backup. Select batch and pick restore apps or apps and data. Cwm backup can be done before flashing new rom, also; however, as you can restore your old rom, data, everything, including sms and call logs as if you never flashed the new rom.
Sent from my GT-S5830 using XDA App

questions about using TWRP to update a ROM without losing information

I know it's possible do restore apps and such using Titanium backup but I'm wondering if it's possible to restore using the TWRP backup?
I'm not sure what the different things do that TWRP backs up. System, cache, recovery, boot, data, (and something else). If it's possible to restore apps and such restoring from some of those, which ones?
Thanks
ItsTommyGun said:
I know it's possible do restore apps and such using Titanium backup but I'm wondering if it's possible to restore using the TWRP backup?
I'm not sure what the different things do that TWRP backs up. System, cache, recovery, boot, data, (and something else). If it's possible to restore apps and such restoring from some of those, which ones?
Thanks
Click to expand...
Click to collapse
Make sure you do a nand backup then after you flash a rom go to your nand backup and restore only the data,
This has worked for me
Sent from my EVO using xda premium
ItsTommyGun said:
I know it's possible do restore apps and such using Titanium backup but I'm wondering if it's possible to restore using the TWRP backup?
I'm not sure what the different things do that TWRP backs up. System, cache, recovery, boot, data, (and something else). If it's possible to restore apps and such restoring from some of those, which ones?
Thanks
Click to expand...
Click to collapse
josh030181 said:
Make sure you do a nand backup then after you flash a rom go to your nand backup and restore only the data,
This has worked for me
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Yes, restoring only the data partition will restore both the application .apk files themselves as well as the application's data files (settings, etc). The issue is when restoring data from a different ROM, the uid/gid could mismatch and cause a boot loop. This is one of the main reasons people suggest to wipe the data before loading a new ROM. Sometimes this issue can be fixed using the script, fix_permissions, in the custom recovery.
I think using Titanium Backup might work around this permissions uid/gid issue and might be one of the reasons people chose this over a nandroid restore of just the data partition.
In regards to your other question of what the different partitions "do" which TWRP backs up, here is a rough list off the top of my head:
system (holds all the Android OS files and stock apps)
data (holds all settings and 3rd party apps)
cache (temp partition usually used to store downloaded OTAs before they are loaded)
recovery (stores the custom recovery)
boot (stores the kernel)
Hope that helps fill in some of the missing details!
joeykrim said:
In regards to your other question of what the different partitions "do" which TWRP backs up, here is a rough list off the top of my head:
system (holds all the Android OS files and stock apps)
data (holds all settings and 3rd party apps)
cache (temp partition usually used to store downloaded OTAs before they are loaded)
recovery (stores the custom recovery)
boot (stores the kernel)
Hope that helps fill in some of the missing details!
Click to expand...
Click to collapse
That does help. Thanks!

Q: When doing wipe is there way to backup all apps and settings and then restore

I tried checking guides and using search but found nothing, this may be stupid question but when trying new rom or patching newer version of rom which requires wipe all things are reset and apps are gone. So is there program to save settings and all the apps and then after wipe restore them so everything would be like before wiping?
DARKKi said:
I tried checking guides and using search but found nothing, this may be stupid question but when trying new rom or patching newer version of rom which requires wipe all things are reset and apps are gone. So is there program to save settings and all the apps and then after wipe restore them so everything would be like before wiping?
Click to expand...
Click to collapse
Yes, you can make a Nandroid backup "it saves all setting apps" you installed even The alarm clock that you setted to go to school:
1- Go to CWM" Clockworkmod Recovery menu"
2- Backup and Restore
3- and u will have a bunch of choices (Backup to internal or External SDcard) (Restore from internal or external sdcard)
after you choose wait for the device to complete backup and then reboot, the next time you want everything as it was perfectly you just have to restore the Nandroid backup that you made.
Important : DONT EVER CHANGE NANDROID BACK FOLDER NAME because MD5 checksum recognize only the folder name that was created during the backup.
Hope this helps !
College fuvenu
nhariamine said:
Yes, you can make a Nandroid backup "it saves all setting apps" you installed even The alarm clock that you setted to go to school:
1- Go to CWM" Clockworkmod Recovery menu"
2- Backup and Restore
3- and u will have a bunch of choices (Backup to internal or External SDcard) (Restore from internal or external sdcard)
after you choose wait for the device to complete backup and then reboot, the next time you want everything as it was perfectly you just have to restore the Nandroid backup that you made.
Important : DONT EVER CHANGE NANDROID BACK FOLDER NAME because MD5 checksum recognize only the folder name that was created during the backup.
Hope this helps !
Click to expand...
Click to collapse
Thanks alot! I always though that cwm's backup and restore was for ROM
Should i advanced restore and restore data only, wont it restore the whole "older" rom too if you make complete restore?
Using nandroid backups to restore data after flashing is a bad way to do so, because it does exactly that - restores all the apps and settings, which essentially equals to a no-wipe. Use Titanium Backup and backup only user apps
Glebun said:
Using nandroid backups to restore data after flashing is a bad way to do so, because it does exactly that - restores all the apps and settings, which essentially equals to a no-wipe. Use Titanium Backup and backup only user apps
Click to expand...
Click to collapse
Okay, thanks. Did not know that. So i can backup my apps with Titanium but what about all the settings? Is there method to back them up? I use Apex launcher so it does have backup but those system settings, anyway to back those up?
read the app details
https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDYQFjAA&url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.keramidas.TitaniumBackup%26hl%3Den&ei=pQAJUe_BAtGz0QWKn4GwDQ&usg=AFQjCNF7PIPXrWXqNXp1RpWH3FeelqZu_Q&bvm=bv.41642243,d.d2k
Titanium backup backups apps+settings, so u wont lose any progress on games, even facebook and twitter remain all the same, no need to log back in after restoring the apps. And for your launcher, im using nova launcher and in settings i can make a backup of my homescreens etc. So if i do a full wipe i restore my apps with TB and the nova launcher backup and everything is back to as it was before the wipe! Hope this helps
Sent from my GT-I9300 using xda app-developers app

[Q] CWM Recovery did not restore previous state, apps missing

Been having some issues with my SGS3 and charging, using JellyBam (v7, fairly old, so thought I would start fresh on latest version).
Using CWM5, I did a backup. Factory reset + wipe cache + wipe dalvik cache, then flashed the new ROM. Figured out what I needed to for the charging issues, but forgot I didn't to a titanium backup with all my apps, and more importantly the app data.
I can confirm looking in the CWM data.ext4.tar that the data I want is in there.
So I backed up my new flash setup, restored the previous backup, thinking I would do a titanium backup and get everything setup in my newly flashed ROM. After restore (I did another factory reset + cache + dalvik wipe first), it presents me with the google login wizard, and it seems to have remembered some of my apps but not others. So the restore seems to not have worked.
If I try reinstalling the app it gives me the 'Unknown error code during application install: "-24"' error
Any ideas how I can get the restore to work correctly?
OR some way from the fresh install (providing that restore works too) to grab the app data from my data.ext4.tar and move it into my working install? I tried just copying the file into /data/data but that didnt seem to do the trick
Old CWM
Flash the firmware you made a cwm backup of restore via CWM .
Flash Philz recovery and make a new backup .
Now get 'error while restoring /data'. Seems to be an issue on CWM5 for >2GB backups.
Going to try flashing Philz recovery and try again
Nope no joy. Is there any way I can extract data from a nandroid backup?
As I'm only really fussed about a handful of apps so could do it manually
5 355586
poppahorse said:
Nope no joy. Is there any way I can extract data from a nandroid backup?
As I'm only really fussed about a handful of apps so could do it manually
Click to expand...
Click to collapse
maybe there is the way, but is better if you make a update of your CWM,... 6.0.3 or 0.4 touch... by the way I always use two mores apps for backing up data from my SIII ... one for sms, contacts ecc.. to extSDcard "Super backup pro" and the other app for backup data apps "Ultimate backup pro"

[q] restore apps from nandroid backup

Hi everyone,
I had upgraded my Galaxy Gio from stock rom to custom rom (CM 7.2 based), and now I want to restore just a few apps + data (for e.g. Memo) and Contacts (from stock rom) from my Nandroid backup, so I want it should be on the current custom rom.
How far I tried to do so, I could'nt get it done. I tried with NANDROID MANAGER, I installed it and tried to restore some apps + their data, (the apps was in previous rom in System/Apps so Nandroid Manager automatically wanted to install it in system/apps), ok, the program showed as it's installed with no broblems, BUT after reboot as it required, NOTHING HAPPENED, so I looked in system/apps and data/data with root explorer, those apps & data were there, but it was not installed.....
I also tried to restore the Contacts from Nandroid (Contacts Storage), and I ended up with erasing all contacts I had currently on the phone (anyway that wasn't a problem, cause i had an regular backup of it).
So I would like to understand what the problem is, and how is it possible to have my previous memos and contacts restored to my current rom?!
CAN SOMEONE PLEASE HELP ME WITH THIS ISSUE?!
Thanks in advance.
If this were me I would make a nandroid of current ROM, wipe clean, restore nandroid of old ROM, use titanium backup (preferred but there are others) to backup apps and data (I use a different app for contacts and SMS/call log but I believe titanium can do this too) then I would wipe clean, restore nandroid, restore what is needed from titanium
May sound like a lot but should be finished in less than a half hour with all
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
If this were me I would make a nandroid of current ROM, wipe clean, restore nandroid of old ROM, use titanium backup (preferred but there are others) to backup apps and data (I use a different app for contacts and SMS/call log but I believe titanium can do this too) then I would wipe clean, restore nandroid, restore what is needed from titanium
May sound like a lot but should be finished in less than a half hour with all
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you for replying.
But I had read some posts that if the current rom is EXT4 based and stock rom is RFS based, then CWM wouldn't restore the backup normally (because the sd card has to be rfs format - something like this if I understood). So i'm a little bit afraid to do that cause I don't want to get stuck on boot....
Any sugestion for that??
Thanks in advance.
Well sd-card is always formatted as fat/ntfs irrespective of the rom....
Sent from my Spice Mi-515 using xda app-developers app
Like in the post above you will never have an SD formatted in rfs, but there are some recoveries that have issues restoring backups depending on the format the backup was made in but this doesn't appear to be your case (like if a backup was made in yaffs2 but recovery uses tar) so I really don't think this should be an issue for you. Having said that I have never used your phone before and if you're very concerned you should find another who has to ask. But I'm still 99% sure you're safe to do this
Sent from my Nexus 7 using XDA Premium 4 mobile app

Categories

Resources