[Q] Restore nandroid backup - Nexus 5 Q&A, Help & Troubleshooting

Hello Guys,
Since I totally bricked my old Nexus 5 16GB(KTU84P) I am going to get a new one. But I am thinking of getting the 32GB version this time.
Now before it got bricked I made a full nandroid back-up with the help of the Nexus Root Toolkit and TWRP.
Now here are a few (stupid) questions:
~Is it possible to restore a nandroid backup from one phone to another and even in this case a "different" version of the phone?
(I've skipped over this thread real fast http://forum.xda-developers.com/showthread.php?t=728266 which says it is possible for phones of the same model)
~If it is possible how should it be done?
~And well if the first question isn't possible, is there a way to read out out the created back-up files which TWRP created and manually restore them(preferable the data partition)
I hope you guys can help me out
Kind regards

Yes, you can do it. Just make sure you're not restoring the efs partition or you'll have another brick on your hands.
Sent from my Nexus 5 using XDA Free mobile app

Also don't use toolkits next time. Please use the manual methods which are better, safer and teach you the basis you need to recover.
All guides and info threads can be found in general > sticky roll-up thread
Sent from my Nexus 5 using Tapatalk

When you run into issues, as many do after nandroid restoring from one device to another... Wiping and Flashing stock with fastboot is the Fix.
Thought I'd cover that up front. ?

jd1639 said:
Yes, you can do it. Just make sure you're not restoring the efs partition or you'll have another brick on your hands.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
rootSU said:
Also don't use toolkits next time. Please use the manual methods which are better, safer and teach you the basis you need to recover.
All guides and info threads can be found in general > sticky roll-up thread
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey guys sorry I didn't answer immediately, but after I saw the posts I immediately ordered a new Nexus 5 (32GB this time). I got it delivered today and like you said I've done the unlocking, custom recovery and rooting manually this time instead of using a toolkit. Which was to be honest way easier than I thought but also way faster than using a toolkit.
But now I've kinda run into a other 'problem'
When I restore my previous made backup (the one from the bricked phone) I first of all only get the options to restore the 'system' partition and the 'data' partition (which is totally fine cause those are the only ones I actually need).
But when I restore the system partition a lot of apps crash on default(It is basically bricked then), and even when I just restore the data partition the same thing happens. (To be completely fair this problem might come from the fact that I used the MD5 verification option when I made the backup but I can't really remember that. but some of my backup files end with the .MD5 extension) Saying this I also used the restore option with check MD5 verification, but needless to say I get the message that they verifications don't match.
So here are a few questions again.
~Like I said before I only really care about the 'data' partition, Is there an option that I still can use TWRP to restore it properly?
~If the above is not possible is there a manual way to read out the made backup file using a program like 'Ext2Explore'(This crashes though when I open the file)
Or did I just completely screw up by checking the MD5 verification?
Once again kind regards
p.s. If the problem isn't clear tell me and and I'll try to explain it in a different way

You missed quote from post #4. ?
I believe that with a new device.... It should be a clean start. And I read post after post in different device sections of issues from restoring from other devices.
And so I never recommend it. It can, possibly, bring lots of issues.
But to each their own.
Good luck. ?

KJ said:
You missed quote from post #4. ?
I believe that with a new device.... It should be a clean start. And I read post after post in different device sections of issues from restoring from other devices.
And so I never recommend it. It can, possibly, bring lots of issues.
But to each their own.
Good luck. ?
Click to expand...
Click to collapse
Ohh right, sorry I completely read over your post my bad. But then again If I have to wipe the device wouldn't that totally remove the point of restoring the data partition ? or is the wipe command just for the system partition?

sambo940 said:
Ohh right, sorry I completely read over your post my bad. But then again If I have to wipe the device wouldn't that totally remove the point of restoring the data partition ? or is the wipe command just for the system partition?
Click to expand...
Click to collapse
What I'm getting at, is don't restore the data partition. You can try, but I often read of lots of issues doing it.
Yes, I implied wipe the device clean. Flash stock. Start fresh.
Now if you had a titanium backup of user apps on your pc... I'd say you'd have a much easier time restoring that to the new phone.
Just my 2 cents of course.

KJ said:
What I'm getting at, is don't restore the data partition. You can try, but I often read of lots of issues doing it.
Yes, I implied wipe the device clean. Flash stock. Start fresh.
Now if you had a titanium backup of user apps on your pc... I'd say you'd have a much easier time restoring that to the new phone.
Just my 2 cents of course.
Click to expand...
Click to collapse
I made a clean start yes. Unfortunately I don't have a titanium backup and I get that storing the data partition to a other device isn't a good idea. But well I never had the intention of making a back up and restoring it to another device but unfortunately my other phone got completely bricked. And yes in hindsight I should have made backups in multiple ways.
But like I said I don't really care about the system(including the apps and app settings) it is literally all about the actual data (pictures and stuff), that is also the reason why I asked if there is a way to manually read/open the back-up files.

sambo940 said:
I made a clean start yes. Unfortunately I don't have a titanium backup and I get that storing the data partition to a other device isn't a good idea. But well I never had the intention of making a back up and restoring it to another device but unfortunately my other phone got completely bricked. And yes in hindsight I should have made backups in multiple ways.
But like I said I don't really care about the system(including the apps and app settings) it is literally all about the actual data (pictures and stuff), that is also the reason why I asked if there is a way to manually read/open the back-up files.
Click to expand...
Click to collapse
The pictures are gone. A nandroid doesn't back those up or anything on the internal sdcard
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
The pictures are gone. A nandroid doesn't back those up or anything on the internal sdcard
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Well that certainly is a bummer, and also very misleading from the nexus toolkit. From now on I shall back-up my phone more properly and well stop using those darn toolkits,
Thank you for your time.

sambo940 said:
Well that certainly is a bummer, and also very misleading from the nexus toolkit. From now on I shall back-up my phone more properly and well stop using those darn toolkits,
Thank you for your time.
Click to expand...
Click to collapse
Did you make an adb backup in the tool kit? That would have your pics. But a flashable nandroid you flash in recovery would not.
Sent from my Nexus 5 using XDA Free mobile app

sambo940 said:
I made a clean start yes. Unfortunately I don't have a titanium backup and I get that storing the data partition to a other device isn't a good idea. But well I never had the intention of making a back up and restoring it to another device but unfortunately my other phone got completely bricked. And yes in hindsight I should have made backups in multiple ways.
But like I said I don't really care about the system(including the apps and app settings) it is literally all about the actual data (pictures and stuff), that is also the reason why I asked if there is a way to manually read/open the back-up files.
Click to expand...
Click to collapse
Would Nandroid Manager be what you're looking for? EDIT: as above, it won't find and restore any of your pictures/music, as a nandroid backup does not include any of these. There is a chance you find and restore your apps and settings if you so wish. I've used that app before.
Incidentally, I successfully transferred all of my data and ROM from one Nexus 5 to another (had to RMA)
The process I used is:
- Unlock bootloader, install custom recovery on new N5
- Nandroid backup on old N5
- Copy whole /sdcard partition from old to new N5. Basically, all files and folders on the 'root' of the drive when connected to PC. This included all photos, music and the nandroid backup itself.
- Restore nandroid backup on new N5 (only /system, /data and boot.img / kernel), as if you were restoring any nandroid backup really. Though do not restore efs partition as advised above (it wasn't backed up, but worth mentioning again anyway).
Took a while, but the ROM and settings were carried over successfully.

jd1639 said:
Did you make an adb backup in the tool kit? That would have your pics. But a flashable nandroid you flash in recovery would not.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Nope, I did not. And the ignorant person that I am just assumed that the nandroid backup would back up everything since the toolkit says "Make full Backups"
So well I guess I just have to accept the fact that I lost those things
eddiehk6 said:
Would Nandroid Manager be what you're looking for? EDIT: as above, it won't find and restore any of your pictures/music, as a nandroid backup does not include any of these. There is a chance you find and restore your apps and settings if you so wish. I've used that app before.
Incidentally, I successfully transferred all of my data and ROM from one Nexus 5 to another (had to RMA)
The process I used is:
- Unlock bootloader, install custom recovery on new N5
- Nandroid backup on old N5
- Copy whole /sdcard partition from old to new N5. Basically, all files and folders on the 'root' of the drive when connected to PC. This included all photos, music and the nandroid backup itself.
- Restore nandroid backup on new N5 (only /system, /data and boot.img / kernel), as if you were restoring any nandroid backup really. Though do not restore efs partition as advised above (it wasn't backed up, but worth mentioning again anyway).
Took a while, but the ROM and settings were carried over successfully.
Click to expand...
Click to collapse
Not exactly what I was looking but I'll keep it in the back of my head in case something similar might happen in the future(lets hope not) Thanks.

Install Foldersync and set your sdcard to sync to a computer wirelessly
Sent from my Nexus 5 using Tapatalk

eddiehk6 said:
Would Nandroid Manager be what you're looking for? EDIT: as above, it won't find and restore any of your pictures/music, as a nandroid backup does not include any of these. There is a chance you find and restore your apps and settings if you so wish. I've used that app before.
Incidentally, I successfully transferred all of my data and ROM from one Nexus 5 to another (had to RMA)
The process I used is:
- Unlock bootloader, install custom recovery on new N5
- Nandroid backup on old N5
- Copy whole /sdcard partition from old to new N5. Basically, all files and folders on the 'root' of the drive when connected to PC. This included all photos, music and the nandroid backup itself.
- Restore nandroid backup on new N5 (only /system, /data and boot.img / kernel), as if you were restoring any nandroid backup really. Though do not restore efs partition as advised above (it wasn't backed up, but worth mentioning again anyway).
Took a while, but the ROM and settings were carried over successfully.
Click to expand...
Click to collapse
I am assuming that you used a tool like Android File Transfer.
So what I'm trying to do is the same thing, backup my entire old N5 32GB as I had also requested an RMA of the device. Is it accurate in stating that you want me to copy every folder that shows up on the AFT window (Note: I am using a MAC) and copy that onto a folder on my computer. Then copy over everything on the new device (bootloader unlocked, rooted, same TWRP version installed) and restore via the Nandroid backup from my old phone (which was also transferred as indicated above).

dcxgod said:
I am assuming that you used a tool like Android File Transfer.
So what I'm trying to do is the same thing, backup my entire old N5 32GB as I had also requested an RMA of the device. Is it accurate in stating that you want me to copy every folder that shows up on the AFT window (Note: I am using a MAC) and copy that onto a folder on my computer. Then copy over everything on the new device (bootloader unlocked, rooted, same TWRP version installed) and restore via the Nandroid backup from my old phone (which was also transferred as indicated above).
Click to expand...
Click to collapse
I didn't use AFT, just plugged straight into PC, sorry no experience with Mac
Basically both phones were connected, and I copied the whole "/sdcard" straight from one phone to another, without making an initial copy to the PC
You want to replicate the same file structure

Related

[Q] Error while restoring nandroid of old GS3 to new replacement GS3

I got a replacement GS3 from Verizon because my current one had a charge port issue. I rooted and am using CWM 6.0.2.3 and get "error while restoring /system" when I try tp restore the nandroid of my old phone to the new one. How do I fix this?
Did you change the name of the nandroid at all? It's also possible that the backup you made contained individual phone information specific to your old phone...I seem to remember a thread before that mentioned it wasn't a good idea to move a nandroid to a new Samsung phone.
Edit: I found the thread shortly after hitting submit - http://forum.xda-developers.com/showthread.php?t=1795031
laurasaurisrex said:
Did you change the name of the nandroid at all? It's also possible that the backup you made contained individual phone information specific to your old phone...I seem to remember a thread before that mentioned it wasn't a good idea to move a nandroid to a new Samsung phone.
Click to expand...
Click to collapse
No I didnt't change anything. Anyway I can fix this?
laurasaurisrex said:
Did you change the name of the nandroid at all? It's also possible that the backup you made contained individual phone information specific to your old phone...I seem to remember a thread before that mentioned it wasn't a good idea to move a nandroid to a new Samsung phone.
Edit: I found the thread shortly after hitting submit - http://forum.xda-developers.com/showthread.php?t=1795031
Click to expand...
Click to collapse
If anyone has a way I can workaround that, please help! I don't want to setup my phone all over again!
droxide said:
If anyone has a way I can workaround that, please help! I don't want to setup my phone all over again!
Click to expand...
Click to collapse
there are a couple of apps where you can just extract the nandroid apps on the play store, but if you want the full restore, the file is probably corrupted.
dragon1357 said:
there are a couple of apps where you can just extract the nandroid apps on the play store, but if you want the full restore, the file is probably corrupted.
Click to expand...
Click to collapse
Yeah I used to use titanium backup but my phone is very customized, CM10, diff kernel, and a very highly customized home screen so I'd rather restore the nandroid if there is some kind of workaround. I also want all my data, texts, etc. without using titanium backup. When I used ti backup in the past, I had a bunch of different issues restoring apps and data, force closes, etc.
http://forum.xda-developers.com/showthread.php?t=1949020
I followed the directions in the last post of that thread.. I made a backup of the new phone, moved the old nandroid from old phone to the twrp back up folder in my new phone. I copied the new backup name and deleted the new backup. i pasted the name into the old back up, I tried to restore and i get an error "no partitions selected for restore. Is it because Im using twrp and I made the old backup with CWM?
Someone help!
droxide said:
http://forum.xda-developers.com/showthread.php?t=1949020
I followed the directions in the last post of that thread.. I made a backup of the new phone, moved the old nandroid from old phone to the twrp back up folder in my new phone. I copied the new backup name and deleted the new backup. i pasted the name into the old back up, I tried to restore and i get an error "no partitions selected for restore. Is it because Im using twrp and I made the old backup with CWM?
Someone help!
Click to expand...
Click to collapse
That could be it. They back up with different formats. Cwm uses the blob folder twrp does not.
Sent from my SCH-I605 (AKA NOTE 2)
kintwofan said:
That could be it. They back up with different formats. Cwm uses the blob folder twrp does not.
Sent from my SCH-I605 (AKA NOTE 2)
Click to expand...
Click to collapse
Ok so how can I switch from TWRP to CWM without resetting everything?
droxide said:
Ok so how can I switch from TWRP to CWM without resetting everything?
Click to expand...
Click to collapse
Ya, you should be able to flash it through odin no problem
Sent from my SCH-I535
droxide said:
Ok so how can I switch from TWRP to CWM without resetting everything?
Click to expand...
Click to collapse
You can just use ez recovery from the play store
Sent from my SCH-I605 (AKA NOTE 2)

Restore Nandroid to New Device [TWRP] Fails

Had to replace my M8 and was hoping I could just nandroid from a prior backup on the previous (identical).
I created the folder structure, and TWRP will run the restore process, but it fails at system each time.
Any suggestions? Looks like I can restore data fine. Using CleanROM.
Thanks!
[Update] Flashing CleanROM over seems to retain most apps/settings as long as I don't wipe first (assume this is the same as wiping/flashing CleanROM then restoring data only).
Malaclypse5 said:
Had to replace my M8 and was hoping I could just nandroid from a prior backup on the previous (identical).
I created the folder structure, and TWRP will run the restore process, but it fails at system each time.
Any suggestions? Looks like I can restore data fine. Using CleanROM.
Thanks!
Click to expand...
Click to collapse
I did it but it was a while ago. I'm pretty sure you need to be on the same version of TWRP that you created the Nandroid with.
Duckman_UF said:
I did it but it was a while ago. I'm pretty sure you need to be on the same version of TWRP that you created the Nandroid with.
Click to expand...
Click to collapse
Thanks, good to know it's possible. I'm pretty sure I'm on the same version (when I installed recovery this time I just fastbooted the same image from the same adb directories I had setup last time).
Malaclypse5 said:
Thanks, good to know it's possible. I'm pretty sure I'm on the same version (when I installed recovery this time I just fastbooted the same image from the same adb directories I had setup last time).
Click to expand...
Click to collapse
That will work!
Duckman_UF said:
That will work!
Click to expand...
Click to collapse
I still fail at restoring system, but restoring data got me most of the way there (hopefully its stable! seems just fine so far).
Any suggestions I'd love to hear em (always thought this should be seamless but first time trying) and thanks for your feedback!
Malaclypse5 said:
I still fail at restoring system, but restoring data got me most of the way there (hopefully its stable! seems just fine so far).
Any suggestions I'd love to hear em (always thought this should be seamless but first time trying) and thanks for your feedback!
Click to expand...
Click to collapse
I don't quite understand why you would want to restore system. Flashing the rom is just as easy and much cleaner. There may be a problem with device ID from the old phone - really have no idea.
But going from one device to another I would flash the rom, restore data - done. You should have an identical phone.
berndblb said:
I don't quite understand why you would want to restore system. Flashing the rom is just as easy and much cleaner. There may be a problem with device ID from the old phone - really have no idea.
But going from one device to another I would flash the rom, restore data - done. You should have an identical phone.
Click to expand...
Click to collapse
Thanks! The only thing I lost by not restoring system are zip's/mods I flashed in twrp seperately, also Xposed framework settings (some didn't carry over). Thanks for the support!
OP, do you have Titanium Backup? It can extract from a Nandroid. Menu>Extract from Nandroid Backup. It takes a while, even if your backup isn't compressed, but it works just fine.
If you DON'T have Titanium, skip Google Play and just Google it. Buy it from his website. Costs you less, developer makes more money (Google doesn't get a cut) and you get a text file for a license. This is much easier than dealing with the license app. Just download the latest version whenever there's an update and stick it on your SD card/internal, and install it upon flashing a new ROM. Text license goes in the root of either. App will pick it up on first run. Real easy. And it can do a ton of other things, too.
I'm done it twice now on two separate Verizon refurbs to find the M8. It has always worked wonderfully for me. Saves a lot of time in setting back up. You do have to create a new TWRP folder though by doing in a quick backup on the new phone, the moving the backup into the new TWRP folder otherwise it won't see it. TWRP will create a new folder with a different set of numbers In your original TWRP folder. You just move it to that. I did it successfully with Viper one Rom twice now.

How do I backup everything for the replacement tablet?

Hello XDA devs, this is my first time making a thread here. To keep it simple, I have an Nvidia Shield Tablet rooted on OTA 3.1 and I have just filled the recall to get a new one. I use Busybox, GLtools and FolderMount. So I have lots of things made on this tablet, my bootloader is open as well. I would like to know how I could backup this tablet so that I can make the new one just like this one without passing too much trouble. The fact that this one will be dissabled when I use the new one is also one of the problems that must not be overlooked.
Nandroid backup from recovery and copy the backup to a SD card and restore it on the new device.
Nandroid might mess up serial numbers if the backup from the original device carries over that information.?
Sent from my SHIELD Tablet using XDA Free mobile app
I was thinking something along the lines of backing up my app and user data with Titanium Backup, moving it to my sd card and then unlocking the booloader on the new tablet, rooting it and doing a restore with Titanium backup, with that backup I made on the old device. Would that work? Or would the nandroid backup work and be more effective?
What kind of serial number? If so, it would be somewhere in the hardware and a nandroid is just backing your data...
I believe Titanium requires root, so you've got a cart and horse problem. I think you can fastboot boot twrp-recovery.img and make a nandroid backup without unlocking bootloader though. Never tried fastboot boot on the shield though.
Sent from my One M8 using XDA Free mobile app
I would be interested in a step-by-step for unrooted stock Android 5.01 backup. I'm familiar enough with rooting / TWRP / flashing etc., but haven't done it on this device. Looking for easiest option. Since it's less than a month old I may just back up basic files manually and then wipe it, but if there's an easier way without going through trouble of rooting I'd be good to try it out. I've got the LTE version, by the way.
I have read that some people claim it to be possible to use a Nandroid backup for a same model phone or tablet, by following some procedures, while there are others who claim that it should not be possible.
I'm going to go the Titanium route just to be careful, as for the fastboot commands from pc, etc., I have done that before so opening the bootloader on the new device and re-rooting is not a big deal for me. I am more worried about whether FolderMount will work without problem on the new tablet when I restore with Titanium or not. I won't be making changes in my sd card, so I hope once I recover, Foldermount works and recognizes the links I've made.
AbrahamZX1 said:
I have read that some people claim it to be possible to use a Nandroid backup for a same model phone or tablet, by following some procedures, while there are others who claim that it should not be possible.
I'm going to go the Titanium route just to be careful, as for the fastboot commands from pc, etc., I have done that before so opening the bootloader on the new device and re-rooting is not a big deal for me. I am more worried about whether FolderMount will work without problem on the new tablet when I restore with Titanium or not. I won't be making changes in my sd card, so I hope once I recover, Foldermount works and recognizes the links I've made.
Click to expand...
Click to collapse
When you restore your files on your new device, Titanium asks if you to restore your old ID to prevent problems with restored apps. So yes, foldermount and such will work correctly if you do that.
Themaniacboy said:
When you restore your files on your new device, Titanium asks if you to restore your old ID to prevent problems with restored apps. So yes, foldermount and such will work correctly if you do that.
Click to expand...
Click to collapse
Would restoring my ID do anything else? I assume there would be no side effect.
AbrahamZX1 said:
Would restoring my ID do anything else? I assume there would be no side effect.
Click to expand...
Click to collapse
Correct, there will be no side effect.
How did it go?
AbrahamZX1 said:
Hello XDA devs, this is my first time making a thread here. To keep it simple, I have an Nvidia Shield Tablet rooted on OTA 3.1 and I have just filled the recall to get a new one. I use Busybox, GLtools and FolderMount. So I have lots of things made on this tablet, my bootloader is open as well. I would like to know how I could backup this tablet so that I can make the new one just like this one without passing too much trouble. The fact that this one will be dissabled when I use the new one is also one of the problems that must not be overlooked.
Click to expand...
Click to collapse
Did you use Nandroid or Titantium & if you use Nvidia Hub does rooting affect it please?
AbrahamZX1 said:
I have read that some people claim it to be possible to use a Nandroid backup for a same model phone or tablet, by following some procedures, while there are others who claim that it should not be possible.
I'm going to go the Titanium route just to be careful, as for the fastboot commands from pc, etc., I have done that before so opening the bootloader on the new device and re-rooting is not a big deal for me. I am more worried about whether FolderMount will work without problem on the new tablet when I restore with Titanium or not. I won't be making changes in my sd card, so I hope once I recover, Foldermount works and recognizes the links I've made.
Click to expand...
Click to collapse
Do a nandroid backup in TWRP. I just did this exact same thing for my recall replacement! It works just fine. All you have to do is rename the backup folder, because TWRP saves the nandroid backup in a folder that is named what your Tablet serial number is. You have to rename the folder and change the name to your NEW Tablet serial number, otherwise the backup will not even show up in TWRP on the new Tablet. I assume this is done so that people that create backups of several different devices, onto an sdcard for example, can't accidentally restore an incompatible backup (say a nexus 6 backup on a nexus 5). I can assure you though it works just fine as long as both devices are the same.
optical10 said:
Did you use Nandroid or Titantium & if you use Nvidia Hub does rooting affect it please?
Click to expand...
Click to collapse
I haven't received the recall tablet yet, so I still haven't had the chance to do the restore. I will be saving a backup for both methods though and try out a Nandroid restore first. Rooting hasn't affected any Nvidia app for me.
Success for non-rooted Shields
optical10 said:
Did you use Nandroid or Titantium & if you use Nvidia Hub does rooting affect it please?
Click to expand...
Click to collapse
Used Googles non advertised ADB command line backup, Helium backup also uses ADB for a user friendly UI if your not command line savy.
Seems to have worked but will report back if the full APK + data has left glaring holes etc. Lastpass wasn't installed but thats a plus security wise.

Create flashable backup of phone in current state

Hi, I have my phone rooted, magisk'd, xposed etc etc and with a lot of apps and tweaks done to it.
Is there any way at all I could make a flashable image of it instead of having to make a backup of it in TWRP and then restoring it from there? (The TWRP method has never failed me but I was just curious about whether the question below could be done)
I'd like to be able to have a copy of the entire phone as a backup on the PC so I could then flash the phone back to its current state (if I mess anything up) using SP Flash Tool?
Forgive me if this is a stupid question or a task so complicated that it would just be easier to continue using TWRP.
The reason I ask is if the TWRP backup on the phone gets corrupted somehow then I'd like a copy of the phone so I could restore using that.
MrGRiMv2 said:
Hi, I have my phone rooted, magisk'd, xposed etc etc and with a lot of apps and tweaks done to it.
Is there any way at all I could make a flashable image of it instead of having to make a backup of it in TWRP and then restoring it from there? (The TWRP method has never failed me but I was just curious about whether the question below could be done)
I'd like to be able to have a copy of the entire phone as a backup on the PC so I could then flash the phone back to its current state (if I mess anything up) using SP Flash Tool?
Forgive me if this is a stupid question or a task so complicated that it would just be easier to continue using TWRP.
The reason I ask is if the TWRP backup on the phone gets corrupted somehow then I'd like a copy of the phone so I could restore using that.
Click to expand...
Click to collapse
You can store a copy of your TWRP backup on PC, then, if the backup that is stored on the device gets corrupted, you can use the copy that is stored on PC.
Sent from my SM-S767VL using Tapatalk
I have a copy of it on PC just in case, I thought I remembered reading a thread on here quite a few years back about creating a custom ROM from your existing installation with SPFlashtool or a similar program but it was so long ago that I might have mistaken it for another backup method.
Either way the TWRP backup is still quick enough to recover from and was thinking about the SPFlashtool way as an experiment. Thanks for replying.
You should be able to make partition image backups in TWRP. System, data and boot. Then you can Fastboot flash those partitions back.
I am not familiar with the MTK devices but it must be similar.
You can also use SuperR's kitchen to easily build a ROM from the images.
MrGRiMv2 said:
Hi, I have my phone rooted, magisk'd, xposed etc etc and with a lot of apps and tweaks done to it.
Is there any way at all I could make a flashable image of it instead of having to make a backup of it in TWRP and then restoring it from there? (The TWRP method has never failed me but I was just curious about whether the question below could be done)
I'd like to be able to have a copy of the entire phone as a backup on the PC so I could then flash the phone back to its current state (if I mess anything up) using SP Flash Tool?
Forgive me if this is a stupid question or a task so complicated that it would just be easier to continue using TWRP.
The reason I ask is if the TWRP backup on the phone gets corrupted somehow then I'd like a copy of the phone so I could restore using that.
Click to expand...
Click to collapse
Please check if this will help you out, I know it can save app, app data and roms. I used it on my device. Though some apps have problem using the app data which was backed up, most apps worked
https://play.google.com/store/apps/details?id=balti.migrate&hl=en_US
https://forum.xda-developers.com/android/apps-games/app-migrate-custom-rom-migration-tool-t3862763
gopikrishnanrmg said:
Please check if this will help you out, I know it can save app, app data and roms. I used it on my device. Though some apps have problem using the app data which was backed up, most apps worked
https://play.google.com/store/apps/details?id=balti.migrate&hl=en_US
https://forum.xda-developers.com/android/apps-games/app-migrate-custom-rom-migration-tool-t3862763
Click to expand...
Click to collapse
That is useless for what they are trying to do. That only backs up and restores user apps and user data, it helps you keep your data when switching ROMs. That doesn't help restore the system if the device gets corrupted.
Sent from my SM-S767VL using Tapatalk
Can't believe nobody on XDA told you about dd in 361 days!
Abstract:
Twrp have constant problem with encrypted data. The goal to achieve is make full backup of encrypted phone, when is unlocked, and be able copy on another same model of phone, and again encrypt it.
Same question here.
Im currently working on this.
Will update soon...
-`chiron` -> lineage-18.1-20210722
1. First try:
Code:
a) adb shell
b) su
c) dd if=/dev/block/by-name/system of=/mnt/sdcard/system.img
d) copied /mnt/sdcard/system.img to windows file system
e) dd if=/dev/zero of=/dev/block/by-name/system (after that phone restarted and automaticly went into fastboot)
(adb exited)
f) fastboot flash system system.img
g) Flashed with success, system animation showing, but after longer time phone turning off.
Data looks to dumped correctly, but now question is how to restore it correctly? (i didnt check it well: todo)
Copy full disk image from Android to computer
I have a smartphone without the possibility to insert an SD-card. I would like to make a dump of the biggest partition (cause I lost files and I'd like to use a dump to recover them). The partition...
stackoverflow.com
How to stream an encrypted backup of the entire device to remote host?
I have an Android device that has no free space and no SD-card that I can replace (thanks to OnePlus policy). I also have no free space on PC to accommodate the backup so I wanted to upload it to the
android.stackexchange.com

Full phone backup with ROOT access

I'm looking for an app that will allow me to back up the entire contents of my phone to one single .zip file which I could then flash back if needed. It would be best if there was an app that could transfer the backup to my computer where I would store the individual backups. I should add that I have root access, but even so, I haven't found any application that backs up the entire system to a single file. I don't have a custom recovery, only the stock one. Is there any app for that? Ideally for Windows, where I would connect the phone with a cable and perform the backup setup from there.
CaptainFedora said:
I'm looking for an app that will allow me to back up the entire contents of my phone to one single .zip file which I could then flash back if needed. It would be best if there was an app that could transfer the backup to my computer where I would store the individual backups. I should add that I have root access, but even so, I haven't found any application that backs up the entire system to a single file. I don't have a custom recovery, only the stock one. Is there any app for that? Ideally for Windows, where I would connect the phone with a cable and perform the backup setup from there.
Click to expand...
Click to collapse
What are "the entire contents of your phone"? All partitions + personal data, apps and so on?
Oh yes, exactly. For a case like system update potentially messing up the device - (oh, I just realized that if my device would softbricked i would need to restore that image or zip file through the recovery anyway), so i guess without a custom recovery this isn't doable right?
CaptainFedora said:
Oh yes, exactly. For a case like system update potentially messing up the device - (oh, I just realized that if my device would softbricked i would need to restore that image or zip file through the recovery anyway), so i guess without a custom recovery this isn't doable right?
Click to expand...
Click to collapse
As long as no custom ROM gets installed you only need a backup of your data. The remaining images are part of your firmware.
Without a custom recovery like TWRP you can backup your data only during the running system. Your stock recovery can't access /data as a filesystem, because it's not mounted. Also an entire image of that partition wouldn't be possible.
Now I learned something. Thank you. That'll do. Titanium Backup it is then.
CaptainFedora said:
Now I learned something. Thank you. That'll do. Titanium Backup it is then.
Click to expand...
Click to collapse
Titanium Backup is outdated, I suggest NeoBackup (open source) or Swift Backup (closed source, you can't decrypt the backup on your own).
Thanks again!
TheNewHEROBRINE said:
Swift Backup (closed source, you can't decrypt the backup on your own).
Click to expand...
Click to collapse
It doesn't make any sense to encrypt MY own data. Swift Backup gets access to the data by Magisk and that's me. I don't need an app that makes my own data inaccessible for me without any reason.
CaptainFedora said:
I'm looking for an app that will allow me to back up the entire contents of my phone to one single .zip file which I could then flash back if needed. It would be best if there was an app that could transfer the backup to my computer where I would store the individual backups. I should add that I have root access, but even so, I haven't found any application that backs up the entire system to a single file. I don't have a custom recovery, only the stock one. Is there any app for that? Ideally for Windows, where I would connect the phone with a cable and perform the backup setup from there.
Click to expand...
Click to collapse
You can look at this thread for variants of backup software options.
Alternative to Titanium Backup?
Hey everyone, I've been using Titanium backup for a few weeks now but one thing irks me about it.. even though it successfully backs up my apps and I assume my data - when it comes to restoring the backup, it always re-installs the apps in a...
forum.xda-developers.com
WoKoschekk said:
It doesn't make any sense to encrypt MY own data. Swift Backup gets access to the data by Magisk and that's me. I don't need an app that makes my own data inaccessible for me without any reason.
Click to expand...
Click to collapse
That's the reason why I gave NeoBackup as an alternative, although it doesn't have all the features of Swift Backup like restoring SSAIDs.
TheNewHEROBRINE said:
That's the reason why I gave NeoBackup as an alternative
Click to expand...
Click to collapse
That seems to be a good alternative for Titanium Backup.

Categories

Resources