[Q] restoring from backup image after installing custom kernel - Xperia SP Q&A, Help & Troubleshooting

Hey i have just made a backup of my system and saved it on external sdcard using CWM. now after unlocking BL and installing a custom kernel, if i restore this image, will it work? i am asking this as i know unlocking BL will erase my internal sdcard, but i don't want to lose anything. so i am planning to install a custom kernel and then restore the backup image. is this possible? and would i retain all my data using this method?

By restoring your cwm backup you will over write any data that was on the phone either in system or data.
If you got root before you do anything else use titanium backup or backup pro and backup your aps and data.
Move these to PC with anything else that shows up on internal SD card.
Then you can restore your cwm then move back to phone your app backup and restore these. DON'T RESTORE SYSTEM APPS THIS MIGHT CAUSE BOOTLOOP.
By doing any of this is will not affect your kernel/unlock state.
Sent from my C5303 using xda premium

Related

[Q] Just flashed new ROM

Hi guys,
I just flashed a new rom -Stocklite 7.1
This is my first attempt at flashing a ROM so bare with me.
I created a Nandroid backup prior to flashing and I also copied the entire contents of the SD card over to my computer.
I am using Link2SD and an ext partion as well.
Flashed succesfully. However none of my previous apps / data show up, this was slightly unexpected. I attempted to peform a nandroid data only backup to get these by going to recovery mode then advanced data only restore.
But i got an md5 mismatch.
Basically.
I am trying to restore my apps / data and I want to keep the stocklite 7.1 ROM. NOT a full restore.
Any help?
I recommend using titanium backup for backing up your apps. But, you can probably get user apps by coppying/flashing them to where they belong.
Options:
1 go back to stock rom by restoring your stock backup, make a backup using titanium backup, flash stock lite, install titanium backup, restore your apps. To succesfully restore your stock nandroid backup use te ext4 manager app, convert system to rfs, go to recovery, restore.
2 - open your stock backup on your computer with unpacking or iso software (like 7 zip), extract your user apps (apk files), create a flashable zip to flash them to data/app, system/app as needed. You can also flash their libs and data files to data/data and dalvik-cache to data/dalvik-cache. That should restore user apps and their data to internal memory if you don't want to use titanium backup.
You lost all your data..you should have a taken app backups with Titanium Backup,Nandroid isn't enough.
MD5 mismatch is showing up because you changed the name of the backup folder ..
You can open the backup manually, and get all the data.It might or not work,that would depend oon your luck
Thanks for the posts guys!
I just wasn't thinking. I had already taken a titanium backup full backup so thats' all good!

Nandroid backup

Sent from my HTC Incredible S using xda app-developers app
Does a nandroid backup touch the sd card somehow? I mean if I had done some backups for apps using some Rom (titanium root app ofc) and then restored another Rom where my backups were old :s
Will my new backups gebt overwritten by my old backups when I restore to an old Rom ?
Sent from my HTC Incredible S using xda app-developers app
anonymousss said:
Does a nandroid backup touch the sd card somehow? I mean if I had done some backups for apps using some Rom (titanium root app ofc) and then restored another Rom where my backups were old :s
Will my new backups gebt overwritten by my old backups when I restore to an old Rom ?
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
I dont really understand the question but Ill try to answer to the best of my ability.
Nandroid backups are stored on the SD Card. So are Titanium Backup folders. Also nandroids backup EXACTLY how the phone was when you made the nandroid. The custom recoveries also don't touch whatever is on the SD card unless ure flashing something or backing up.
so I think ure question is will the Titanium Backups get overwritten when you restore a nandroid. The Answer is No because like I said earlier, the recovery will only be restoring the nandroid, not erasing anything else.
072665995 said:
I dont really understand the question but Ill try to answer to the best of my ability.
Nandroid backups are stored on the SD Card. So are Titanium Backup folders. Also nandroids backup EXACTLY how the phone was when you made the nandroid. The custom recoveries also don't touch whatever is on the SD card unless ure flashing something or backing up.
so I think ure question is will the Titanium Backups get overwritten when you restore a nandroid. The Answer is No because like I said earlier, the recovery will only be restoring the nandroid, not erasing anything else.
Click to expand...
Click to collapse
A nandroid backup takes a full image backup of the different partitions such as /system, /data /boot etc.
Titanium Backup makes file level backups.
If you load a new ROM and install new programs and then do a Titanium backup you will get all of your current programs.
If you then decide to restore a nandroid backup of an old ROM, the /data partition will be completely replaced and only contains programs that were installed at the time the nandroid backup was made.
However, all of the backup files you made with Titanium Backup are still on the SD card, so you can simply reinstall Titanium and then restore all of the programs from your Titanium Backup.
Nandroid backups and Titanium backups are created in different directorires on the sd card and will not get overwritten when creating backups.

[Q] Titanium Backup

Hi guys!
Yesterday I unlocked my bootloader, installed CWM and SuperSU. Today I installed the Titanum backup and started backuping. Now I wonder how to restore the backups if the app was deleted once? Let's say I want to install a custom ROM and it wipes all my data. How can I restore the backups I did today?
Skanin said:
Hi guys!
Yesterday I unlocked my bootloader, installed CWM and SuperSU. Today I installed the Titanum backup and started backuping. Now I wonder how to restore the backups if the app was deleted once? Let's say I want to install a custom ROM and it wipes all my data. How can I restore the backups I did today?
Click to expand...
Click to collapse
Reinstall TiBU from the Play Store after you installed the custom ROM. In TiBU, locate the backups you've made (preferably in a safe location on your external SD) and restore the apps/settings you want. Be careful though, because not all settings/apps will work on a different ROM.
Please visit the TiBU website for further info:
http://www.matrixrewriter.com/android/
With TB Pro you can generate a CWM flashable TB install ZIP
What I do :
- TB backups are on a SDCard
- TB backups are copied on an external HDD from time to time and always before Rom upgrade
- TB flashable ZIP is generated at every TB update and ZIP copied to external HDD
Doing this allows me to update Rom without stress. I always also do a Nandroid backup just in case
One may say I'm paranoid but doing this way I never lost any data or software and always restored from a crashed Rom update
BTW : always remember TB needs root so this is a prerequisite !
Skanin said:
Hi guys!
Yesterday I unlocked my bootloader, installed CWM and SuperSU. Today I installed the Titanum backup and started backuping. Now I wonder how to restore the backups if the app was deleted once? Let's say I want to install a custom ROM and it wipes all my data. How can I restore the backups I did today?
Click to expand...
Click to collapse
/storage/sdcard0 (Internal)
/starage/sdcard1 (SD Card)
By default TB puts backups in /sdcar0/TitaniumBackup. If you uninstall TB your backups will remain making it a great tool when wiping/switching ROMs. Once TB is re-installed it will read your backups from that folder and you will be able to perform restore functions within the app.
If you do a factory wipe (aka full wipe) in TWRP (not sure about CWM) neither /sdcard0 or /sdcard1 will be touched.
As @Howell has pointed out there are many ways to backup your backups, and restore backups. TB has many options and ways to backup/restore your data. Similar to Howell, every couple weeks I will copy both /sdcards to my computer for safe keeping. If you buy the pro version (recommended) then you can schedule backups, and have more than one backup of an app - I have found multiple backups useful if an update to an Xposed module breaks certain functions since they aren't always device specific.
Typically I do not backup any system apps or data because as @Don MC pointed out these don't always restore properly when switching ROMs (even if it's an update to the same ROM). SMS/MMS data is an exception I guess. I have a few system apps such as my lockscreen.apk and SystemUI.apk backed up, but only because they conflicted with some Xposed modules.

How to move your data after ROM installation

Hey Guys ,,
is there any way to move a backup data to the ROM
i have ATT note 3,, i did backup using safe strap and after x note ROM instillation i tried to do restore data but it failed,,,any solution
I believe the Safestrap backups are similar to just TWRP or Nandroid backups.
They'll save the entire partition as is, to restore back to that state at a later date.
They aren't good for, say, moving all your apps and appdata to a new Rom.
For that, you should use Titanium Backup or a similar backup manager like Helium.
Then back up just the apps and appdata (not system apps, since they'll often conflict with the new rom) to your SDCard, and restore them when on the new app.
Sorry, it doesn't help when you've already done the TWRP backup and flashed a new rom.

Question How to Backup Custom ROM?

I try different roms time to time on my redmi note 10 pro and using ArrowOS as my daily driver. I want to backup this ROM using TWRP and can see many partitions for backup, do i need to backup all partitions? Last time when i backed up arrowos(all partitions) and tried to restore, super partition didn't copy and ended up in bootloop after restore, so this time I want to make sure i perform right steps. Do i need to remove passwords before backup?
Can anyone, who have tried, help?
Keep the copy of ROM zip after flashing the ROM & backup all your apps using titanium backup or migrate backup or swift backup or app manager etc.
Whenever you want to restore just flash the ROM & restore the apps again with the app you used for creating backup.
Alternatively, if you don't want to setup ROM again, you can backup data partition. For restoration you'll have to flash ROM zip & restore data partition.

Categories

Resources