How to make a restore point on android? - General Questions and Answers

Hi everyone. I guess this question, may be can be easy for many of you, or I don't know if is already posted , but please guide me.
I want to perform on android something like to a restore point on windows; I mean, that if I corrupt system or perform a hard reset after that restore point (or backup), I can restore everything (apps and customizations, and i hope, existing root access) exactly to when I did restore point.
I ask you this, because I think my device needs a factory reset to test something, but no matter the result of the test, I would need to waste hours and hours, by restoring everything to how it was before hard reset; so, if there's a tool that could save me those hours, wil be excellent.
So, thanks in advance, and please guide me.

for this you would need root. by stock, android cannot make a backup of your apps and settings. more exactly a twrp backup

Fytdyh said:
for this you would need root. by stock, android cannot make a backup of your apps and settings. more exactly a twrp backup
Click to expand...
Click to collapse
Ok, I have twrp installed. ¿How I perform and then restore that "restore point"? ¿Is the backup made by twrp very big? I mean, ¿Do I need how much sd card free space to perform a successfully backup?

Only to have mentioned it:
If phone's Android is rooted and USB-Debugging is successfully enabled on it then you can perform a NANDROID backup ( a really full backup ) by means of ADB using Android's dd system command what allows you to store the backup on desktop computer.

xXx yYy said:
Only to have mentioned it:
If phone's Android is rooted and USB-Debugging is successfully enabled on it then you can perform a NANDROID backup ( a really full backup ) by means of ADB using Android's dd system command what allows you to store the backup on desktop computer.
Click to expand...
Click to collapse
But there is a little problem: My usb support (mtp, adb and otg) is not working at all, so i guess my only possible option, is dump the restore point to the sdcard ¿or is there any other option?

Using TWRP to NANDROID backup the phone you can define the storage space where the backup sholuld go to: Internal Storage ( AKA /sdcard) , external Storage ( Memory Card ) or a Pen Drive via OTG cable. If you proceed with the latter 2, make sure to first mount it onto your device via the TWRP Mount option.
In your case backing up to Internal Storage doesn't make sense at all because you can't additionally save it to PC, too, due to lacking ADB support, IMO.
See also here: https://twrp.me/faq/backupexclusions.html

Related

Full Android backup to PC possible?

Hello I wonder if making a full phone backup to PC's hard drive would be possible...I mean something similar to Acronis trueimage of Windows partition...but do this on phone with exclusion of the main firmware. Because of no SDcard slot I need store everything to connected PC HDD...
Looked at TitaniumBackup which probably is close to what I need but I'm afraid it lacks support for storing to networked location. Any working solution is highly appreciated
bflmpsvz said:
Hello I wonder if making a full phone backup to PC's hard drive would be possible...I mean something similar to Acronis trueimage of Windows partition...but do this on phone with exclusion of the main firmware. Because of no SDcard slot I need store everything to connected PC HDD...
Looked at TitaniumBackup which probably is close to what I need but I'm afraid it lacks support for storing to networked location. Any working solution is highly appreciated
Click to expand...
Click to collapse
Take backup using Cwm and u can reflash it using ir phone again.
Sent from my GT-I9103 using xda premium
You need to root (gain root/superuser access) your device and install a custom recovery. Clockwork Mod is one of the (CWM), TWRP is another (having used both, I prefer TWRP - but you can try either/both yourself). You can then copy or cut the backed-up files from the recovery's folder to your computer.
Thanks, probably give it a try if anything else fails. Would it be possible to mount a windows shared drive to phone's internal filesystem? So that TB could access it as internal folder...
use nandroid backup (cwm)
you must root your device
backup cwm will get what you want
or you can try this GO Backup Pro 2.9
http://www.1mobile.com/go-backup-pro-550518.html
Thanks for your suggestion
LEON_HEART said:
backup cwm will get what you want
or you can try this GO Backup Pro 2.9
Click to expand...
Click to collapse
Thanks for the advices. I finally managed to install CWM
CWM's backup = Nandroid?
This works for SDcard, however the condition to backup directly to my PC's hard drive is not met
Remember I suffer with lack of space on builtin SDcard so I need to exclude it from backup process at all even as temporary location.
One more question about CWM, where can I find the latest version? I have 6.0.1.2.
bflmpsvz said:
Thanks for the advices. I finally managed to install CWM
CWM's backup = Nandroid?
This works for SDcard, however the condition to backup directly to my PC's hard drive is not met
Remember I suffer with lack of space on builtin SDcard so I need to exclude it from backup process at all even as temporary location.
One more question about CWM, where can I find the latest version? I have 6.0.1.2.
Click to expand...
Click to collapse
Yeah, you need to be able to access files in the phone not on sd card, the phone has a seperate memory he wants to access, I think he is asking how to put the phone (everything) onto PC.... im not sure how to do this myself but I will look into it for you, I believe you can access that info but im not sure where the files you want are.
The backup is saved into /sdcard/clockworkmod/blob/ but the problem I have with it is that used soace in internal memory is over 1.5GB while free space on Sdcard is usually several 100s MB...
Sent from LT22i using Tapatalk 2

Complete phone backup?

I'm trying to clear up a confusion in my mind about how to really backup a rooted Nexus 5.
(For privacy reasons I use a firewall, etc. and do not sync with Google or the cloud).
- I know that Titanium Backup will backup all the installed apps and their data.
- I know that a nandroid backup (I use twrp) will backup the android system and apps.
But there seems to be gap here - unless I am mistaken. Over time, most users add new folders in the sdcard for downloads, documents, genealogy, and the like. I tend to think of a nandroid backup as similar to an "image backup" in windows, but I suspect it might not be because the nandroid backup does not backup these newly created folders. Am I correct? Does a nandroid backup these additional sdcard folders? I think most people assume they do, but a friend just told me they do not and he lost a lot of data because of that erroneous assumption. I hope he is wrong!
Does a nandroid backup the system and the entire sdcard - or not? If not, why not? I'm not a programmer but it would seem to be a simple thing to include any additional sdcard folders? What am I missing? Is there a technical reason why a complete backup is not possible in android?
A nandroid doesn't backup 100% of the device.. I'm not sure why, but I know it doesn't. /sdcard (or whatever its called lol) is not backed up.
Sent from my Nexus 5 using Tapatalk
You're correct that there is no simple way to back up your entire device. Even using Google will not back it up.
A nandroid will back up your system, apps and app data. It will not backup your /sdcard. That means any photos, music, downloaded files, etc.
Unfortunately, to backup your device you really need to use a nandroid, the cloud and your pc.
Sent from my Nexus 5 using XDA Free mobile app
That's a shame. I was hoping I was wrong! I bet a lot of users have been burned by that! :crying:
Seems to be a glaring opening for a "killer app" that would
a) reboot the phone into recovery
b) do a nandroid backup
c) append a backup of remaining folders
Then the whole could be copied to a pc or flashdrive. Maybe even done in one swoop while attached by usb to a pc. Like a pc backing up an image to an external hd - which I do all the time.
It's so obvious that I wonder what is making this unachievable in android.
Is there such an app? Looks like I have been living dangerously.......
If you could do that you'd run out of storage space before it completed
Sent from my Nexus 5 using Tapatalk
I just create a folder called backup on my comp. Then do a:
Code:
adb pull /. backup
It takes two hours but pulls the entire phone to my comp. Or at least as close as you'll ever get with android.
Ben36 said:
If you could do that you'd run out of storage space before it completed
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I thought of that. That is why it would be an app to run while your device was connected to the pc. Just like when I do an image backup of my windows laptop to an external HD.
You need to connect to a PC or other drive to transfer the nandroid anyway.
theesotericone said:
I just create a folder called backup on my comp. Then do a:
Code:
adb pull /. backup
It takes two hours but pulls the entire phone to my comp. Or at least as close as you'll ever get with android.
Click to expand...
Click to collapse
That is what I will have to do. Thanks for the adb command to use.
But, it is a two step procedure: first create a nandroid, then connect to PC to move everything there. Unless I am wrong, without a nandroid, just copying everything on the phone will not let me restore the system. (Maybe I am wrong).
I am not knowledgeable enough, but, if not an app, maybe a script that you run - while connected to the PC (or external HD? with stickmount?) - would either boot the phone into recovery, do the nandroid, and copy everything (including the nandroid) to the pc. Unless one can skip a step by creating the nandroid directly on the PC instead of on the phone.
I'm a relative newbie and could be talking nonsense - sorry if I am - but if it can be done in Windows, it should be abe to be done in android/linux.
maybeme2 said:
That is what I will have to do. Thanks for the adb command to use.
But, it is a two step procedure: first create a nandroid, then connect to PC to move everything there. Unless I am wrong, without a nandroid, just copying everything on the phone will not let me restore the system. (Maybe I am wrong).
I am not knowledgeable enough, but, if not an app, maybe a script that you run - while connected to the PC (or external HD? with stickmount?) - would either boot the phone into recovery, do the nandroid, and copy everything (including the nandroid) to the pc. Unless one can skip a step by creating the nandroid directly on the PC instead of on the phone.
I'm a relative newbie and could be talking nonsense - sorry if I am - but if it can be done in Windows, it should be abe to be done in android/linux.
Click to expand...
Click to collapse
Honestly the only time I've used that command was a few years ago when I was looking into what your asking about. Long
story short, it was a complete failure. lol The best bet is just using a nand and copying your sdcard over to the comp whenever you feel the need. It's really easy to restore the sdcard. It's really hard to use ADB to restore anything else. It's possible but takes way more time than just restoring a nand.

[QUESTION] Correct way go backup/restore the Pixel 2?

This is the second time that I have tried to restore a backup from TWRP only to find myself stuck in the bootloader with the "AuthFailed" yellow banner on the bottom. What am I doing wrong? When I created the backup, I had selected every checkbox that I could to back up everything and that is what I restored, but that obviously didn't work. Which are the correct checkmarks to check to get the system to backup/restore correctly without tripping this authentification bootloop?
Any guidance would be greatly appreciated!
JGoldz75 said:
This is the second time that I have tried to restore a backup from TWRP only to find myself stuck in the bootloader with the "AuthFailed" yellow banner on the bottom. What am I doing wrong? When I created the backup, I had selected every checkbox that I could to back up everything and that is what I restored, but that obviously didn't work. Which are the correct checkmarks to check to get the system to backup/restore correctly without tripping this authentification bootloop?
Any guidance would be greatly appreciated!
Click to expand...
Click to collapse
When I make my backups I leave the three things that are automatically checked off boot, system and data. I haven't had any problem restoring backups. Hope this helps
Another backup-restore question. All my other phones had sd cards so my backups and titanium backups we're all stored there.
If I wipe and flash a new rom won't I wipe the backup when reformatting? Where should I store the backup?
SS823 said:
Another backup-restore question. All my other phones had sd cards so my backups and titanium backups we're all stored there.
If I wipe and flash a new rom won't I wipe the backup when reformatting? Where should I store the backup?
Click to expand...
Click to collapse
The phone has a partition that acts like an SD card and won't be wiped unless you perform a full data erase.
PuffDaddy_d said:
The phone has a partition that acts like an SD card and won't be wiped unless you perform a full data erase.
Click to expand...
Click to collapse
What if I need to do a full system wipe? I've been backing up and then transferring the folder to Google drive and then uploading the backup when needed. Seems like extra work, I miss the convenience of sd cards, is there a way to partition just backups?
SS823 said:
What if I need to do a full system wipe? I've been backing up and then transferring the folder to Google drive and then uploading the backup when needed. Seems like extra work, I miss the convenience of sd cards, is there a way to partition just backups?
Click to expand...
Click to collapse
You can backup to a computer. If that isn't feasible or you just don't want to do that, you can use a USB flash drive. Plug the drive into the USB B-USB C adapter that came with the phone and then plug it into your phone. I use a USB flash drive for Titanium Backup backups. TWRP backups too. Works great.
The yellow authfailed at bootloader error. I had to deal with that the other day where even an install of the factory image couldn't fix. I had to use dueces script to get my phone working again. I'm not sure what it does that Google's flash_all.bat doesn't.
https://forum.xda-developers.com/pixel-2/development/tool-deuces-bootloop-recovery-flashing-t3725778

Is there a way to create a full image of an android phone?

Is it possible to create a full image of android 10+?
It is very important to me that it really is a full image and not just some backup app form the playstore that saves your contacts and thats it.
I'd like to create an image of diffrent OSs and be able to freely flash them without lossing anything that was on my phone when the images where created. For example I want an unrooted version of Pixel experince with some apps on it, than I want an image of lineague OS with root access and maybe some more.
Bomber293 said:
Is it possible to create a full image of android 10+?
It is very important to me that it really is a full image and not just some backup app form the playstore that saves your contacts and thats it.
I'd like to create an image of diffrent OSs and be able to freely flash them without lossing anything that was on my phone when the images where created. For example I want an unrooted version of Pixel experince with some apps on it, than I want an image of lineague OS with root access and maybe some more.
Click to expand...
Click to collapse
So to be frank theres a lot that comes with doing that cause it varies on the device as well armv7, arm64 a or ab, arm8 and such download
https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw&hl=en_ZA&gl=US
Take note of all the information screenshot maybe, to save time
To create a full imagebackup you need to look for the right back up and flashing software , like samsung's odin tools or mtk devices sp flash tools
just search your devices name full backup youtube (on google search when you need help I'll be here within 24 hours
TWRP backups do seem to work fine, however they don't save internal storage... IIRC I had all my internal storage deleted often when I last played around with root and custom roms. Is this just not a thing anymore? Becuse for now I was able to keep my internal storage.
Bomber293 said:
TWRP backups do seem to work fine, however they don't save internal storage... IIRC I had all my internal storage deleted often when I last played around with root and custom roms. Is this just not a thing anymore? Becuse for now I was able to keep my internal storage.
Click to expand...
Click to collapse
Internal storage can be included in your TWRP backup, you just have to choose the option to include it before doing the backup.
Droidriven said:
Internal storage can be included in your TWRP backup, you just have to choose the option to include it before doing the backup.
Click to expand...
Click to collapse
Atleast in my version it can't. Maybe becuase it's pretty old.
Anyways is internal storage wipe still a thing when you root/install custom roms or similar? Or just once when you unlock bootloader and install a custom recovery?
Bomber293 said:
Is it possible to create a full image of android 10+?
It is very important to me that it really is a full image and not just some backup app form the playstore that saves your contacts and thats it.
I'd like to create an image of diffrent OSs and be able to freely flash them without lossing anything that was on my phone when the images where created. For example I want an unrooted version of Pixel experince with some apps on it, than I want an image of lineague OS with root access and maybe some more.
Click to expand...
Click to collapse
If phone is rooted then why not simply do a NANDroid backup?
Look inside here:
[TOOLS][ZIPS][SCRIPTS]Android Backup and Restore Tools[Multiple Devices/Platforms]
android-backup-project The android backup project provides a set of scripts and tools to backup and/or restore applications installed on Android devices. This is not adb backup which didn't work for my requirements as it doesn't backup...
forum.xda-developers.com
Bomber293 said:
Atleast in my version it can't. Maybe becuase it's pretty old.
Anyways is internal storage wipe still a thing when you root/install custom roms or similar? Or just once when you unlock bootloader and install a custom recovery?
Click to expand...
Click to collapse
As far as I know, it has always been an option in TWRP as far back as I can remember, certainly since 2011, over 10 years now. Maybe it just wasn't included by whoever built your version of TWRP.
Wiping internal storage is a matter of choice when flashing ROMs, flashing ROMs does not touch data/data partition(userspace). The factory reset option in custom recovery also does not wipe userspace.
When unlocking bootloader, internal storage is wiped by default because it is automatically a part of the unlocking process and cannot be avoided. If bootloader is already unlocked, wiping internal is not required in order to flash a custom recovery.
Bomber293 said:
Atleast in my version it can't. Maybe becuase it's pretty old.
Anyways is internal storage wipe still a thing when you root/install custom roms or similar? Or just once when you unlock bootloader and install a custom recovery?
Click to expand...
Click to collapse
Here are instructions for backing up internal storage via TWRP, just in case you are overlooking something in TWRP.
TWRP backup including internal storage
We all know, at least I hope so, that if you perform a backup in TWRP the internal storage data (photos, documents, etc.) is not included in the backup. https://twrp.me/faq/backupexclusions.html Of course, you can always manually backup the...
forum.xda-developers.com
YOU cant backup internal storage if the partition is encypted, if you already have root just use helium backup + enough space to where you'll backup, but you'll need to root again to recover that backup
Then backup the other stuff you want to via twrp
And Using MTK flash tools if device is supported there is a way just google backup "phone name" mtk flash tools

Is there a simple app, program or simple procedure to backup/restore game data and obb files on android?

Been trying to find an app or procedure to backup my 20GB+ games library on my Redmi Note 5 (whyred) to external card storage and nothing seems to work effectively or simply. Tried apps like zBackup and got "failed" messages when restoring. My goal is to easily restore my extensive game library (data & obb) if I ever have to wipe clean my internal storage after doing a factory reset or installing a different rom.
with root your chances are much better, I use an app downloaded from fdroid called OAndBackupX. it has most of the major functions of titanium backup had but functional.
JackOfOwls said:
Been trying to find an app or procedure to backup my 20GB+ games library on my Redmi Note 5 (whyred) to external card storage and nothing seems to work effectively or simply. Tried apps like zBackup and got "failed" messages when restoring. My goal is to easily restore my extensive game library (data & obb) if I ever have to wipe clean my internal storage after doing a factory reset or installing a different rom.
Click to expand...
Click to collapse
If phone's Android is rooted and USB-Debugging enabled on phone then you can easily backup / restore via ADB to / from PC.
jwoegerbauer said:
If phone's Android is rooted and USB-Debugging enabled on phone then you can easily backup / restore via ADB to / from PC.
Click to expand...
Click to collapse
Yes, it's rooted. Is there a guide to batch backup/restore data and obb files? I don't want to have to type in adb commands for each game I want to back up and restore.
Look inside here:
[TOOL][ADB][WIN]Android Partitions Backupper / Cloner
Hi all, wrote a Windows CMD script that backups / clones partitions of an Android device via ADB because I wasn't content with any 3rd-party APK what claims to do this job. The backups /clones are stored on Windows computer as...
forum.xda-developers.com

Categories

Resources