I've been toying around with android backups for a while now. With the apparent impending release of an S-OFF tool I thought I'd share a simple script I use to backup each 3rd party APK and it's settings.
Code:
for i in `adb shell pm list packages -3 | sed 's/package://g'| sed 's/^M//g'`; do adb logcat -c; echo Backing up $i; (adb backup -f $i.ab -apk $i &); sleep 1; adb shell input keyevent 61; adb shell input keyevent 61; adb shell input keyevent 66; adb logcat | grep -m 1 "Full backup processing complete" > /dev/null; sleep 2; done; echo Backup of 3rd party APKs is complete.
This can be run from a linux shell and will backup each 3rd party APK including the settings to a file named <package_name>.ab. I'm not sure if the CTRL+M will survive a cut-paste from the forum. If it doesn't, you'd need to delete the "^M" and replace it by typing CTRL+V CTRL+M.
Sorry for making it one long line instead of a more readable form. I'm lazy.
To restore any of the backed-up files just run:
Code:
adb restore <package_name>.ab
The cool thing about this is that it restores the app back to the state it was when it was backed up. It's especially helpful for those like me who frequently reset to factory. I can have all my apps back up and running including ALL the configuration in just a matter of minutes.
I haven't had a lot of luck with system apps (but I haven't tried too hard either). But if you want to give system apps a go just remove the "-3".
Of course, once we have root then Titanium Backup is the go-to tool for this. But, in the meantime there's this.
FWIW, you can restore any backed-up files to a different device too.
-xdadevelopers-user
Not to steal your thunder, I appreciate your effort, but the Ultimate Backup Tool works amazingly well for Android 4.0+ devices which aren't rooted, and there are Windows, Mac, and Linux versions of it, though the Windows is the only one actively being updated. It works on my Dinc 4G, so it should work on everyone else's.
The only things I'll mention about the restore process are that it sometimes hangs on random things, like Bluetooth, which I never use so it shouldn't have much, if any, data. Also, depending on which settings you choose, you may lose your contact pictures, but not the contact information, but you can just reload that from Google, assuming they're synced there. Read the thread, if you come across any weird happenstances on using it, like having to reset your home screens, it's the backup process, not the tool, unless you chose the wrong setting to back up. I recommend 'backup all without system apps'. It might take a while, but it's worth it not having to download everything again. You can also back up only settings and data, or just specific apps and data. You can make multiple backups if you want, and restore each individually.
I only mention this because it was just yesterday or the day before we were discussing virtualization and how not everyone using this phone is tech savvy and some don't even know what Linux is, much less where to get it or how to use it, and your script only works on Linux, leaving out the other two camps. I could convert your loop to make it usable on Windows, it wouldn't be hard, but with this tool, that's hardly necessary.
IceDragon59 said:
Not to steal your thunder, I appreciate your effort, but the Ultimate Backup Tool works amazingly well for Android 4.0+ devices which aren't rooted, and there are Windows, Mac, and Linux versions of it, though the Windows is the only one actively being updated. It works on my Dinc 4G, so it should work on everyone else's.
Click to expand...
Click to collapse
Very cool thanks for the link. I'm always glad to learn. Unfortunately, for me, the Linux version of the Ultimate Backup Tool script doesn't work at all.
One key difference with my script is that it creates a separate .ab file for each APK. This allows me to be able to selectively restore any app without having to restore them all. It also doesn't require any user interaction on the device. And it detects when the backup is complete.
Of course, it's not very user friendly but like I said, I'm lazy.
-xdadevelopers-user
xdadevelopers-user said:
Very cool thanks for the link. I'm always glad to learn. Unfortunately, for me, the Linux version of the Ultimate Backup Tool script doesn't work at all.
One key difference with my script is that it creates a separate .ab file for each APK. This allows me to be able to selectively restore any app without having to restore them all. It also doesn't require any user interaction on the device. And it detects when the backup is complete.
Of course, it's not very user friendly but like I said, I'm lazy.
-xdadevelopers-user
Click to expand...
Click to collapse
lol. That's useful, though. I just might get around to doing that loop conversion. The backup specific app function of the tool requires you to know the name of the apk file you want to back up, and you have to type in each manually. Your automated script saving each of the apps and its settings in individual backup files may well be worth it for those who only need a few select apps.
And there's nothing wrong with being lazy, or not user friendly, as long as it gets the job done.
I use appmonster pro....it works very well also
Sent from my ADR6410LVW using xda premium
xdadevelopers-user said:
Unfortunately, for me, the Linux version of the Ultimate Backup Tool script doesn't work at all.
Click to expand...
Click to collapse
UBT doesn't work for me either under Windows. They list the One series has problematic, so I wonder if this device suffers from the same issues?
I'll set up a virtualbox tonight and see how your quick script works, thanks for posting it.
jwt98 said:
I use appmonster pro....it works very well also
Click to expand...
Click to collapse
Getting someone to purchase an app to keep their data before unlocking is problematic, especially if they've already purchased Titanium Backup.
mdmower said:
UBT doesn't work for me either under Windows. They list the One series has problematic, so I wonder if this device suffers from the same issues?
Click to expand...
Click to collapse
I backed up and restored data from it without a problem using their most recent Windows version, 1.3.1. USB Debugging has to be enabled on your phone, and it requires you to have a desktop backup password to work. Did you have one? Also, was the problem in backing it up or restoring it? More than likely backing it up, due to those two things, but I should ask anyway.
IceDragon59 said:
requires you to have a desktop backup password
Click to expand...
Click to collapse
That was the problem. Option 5 "Backup apps" still doesn't work, but option 2 "Backup all without system data" does work (still processing).
mdmower said:
That was the problem. Option 5 "Backup apps" still doesn't work, but option 2 "Backup all without system data" does work (still processing).
Click to expand...
Click to collapse
Number two is the one I tested and recommended, as it is the most logical. It backs up system and app data, as well as downloaded APKs. I don't need to reinstall system apps when they're already there.
Related
Picked up a Vibrant a few days ago, but Im having some issue restoring my apps using Titanium backup 3.3.2.
I having an issue where Titanium Backup says its restoring, but just sits there doing nothing. Somehow Ive managed to get it to restore once, but I had to wipe and now I cant get it to restore for the life of me. Tried w/ original busybox and the one that downloads inside titanium, both w/o success. Seems that titanium has some sort of issue w/ the Galaxy S.
Has anyone found a solution that allows you to restore your apps? Thanks!
EDIT: Whats really strange is if I try to hide titanium, relaunch it, and try and backup. It gives the message "backup already in progress" but for whatever reason it moves onto the next app...so strange
EDIT2: FIXED IT thanks to Joel, the awesome dev behinf titanium. Go into options and change the install method to "AUTO, Indirect" and it should work. Hope this helps others!
AWESOME!!! Thanks!
I also think Joel has one of the best apps for android. Great support and Dev.
I need a little kind help runing this.
When I press any of the batch RUNs I just go back to the previous screen.
I have the latest version, busybox install, rooted.
I can backup individual files, but nothing from the BATCH screen works.
granduke said:
I need a little kind help runing this.
When I press any of the batch RUNs I just go back to the previous screen.
I have the latest version, busybox install, rooted.
I can backup individual files, but nothing from the BATCH screen works.
Click to expand...
Click to collapse
open TB and before doing anything click the menu key.
Now click Preferences, App Installer Mode and change that to Auto INDIRECT, by default it will use Auto, Direct.
Now try to run a batch restore
rsfaze said:
open TB ....
Click to expand...
Click to collapse
Still nothing, when I press RUN I just go back to the Backup/Restore screen.
Should I then be looking for a GO or LAUNCH button?
This same thing happens on my G1, so it must be an evident stupid mistake I'm making, but I can't figure out what.
granduke said:
Still nothing, when I press RUN I just go back to the Backup/Restore screen.
Should I then be looking for a GO or LAUNCH button?
This same thing happens on my G1, so it must be an evident stupid mistake I'm making, but I can't figure out what.
Click to expand...
Click to collapse
If your on the Vibrant now. you would once you open TB, push the soft key all the way to the left and a menu will come up.
Go into preferences from here.
Ah. had a bad install of Ti Backup.
Reinstalled and works as ordered now.
thanks.
granduke said:
Appreciate your patience and assistance here.
Yes, I've gone to Preferences and made the change your suggested. This is not my problem.
I can not run any batch commands. I can not backup/restore/verify or any of the other choices.
When I press any of the RUN options, I drop back to the Backup/Restore screen and nothing happens.
Click to expand...
Click to collapse
ah sorry I misunderstood.
Couple questions.
Does the backup/restore batch commands your running show a number to the right indicating how many apps are being restored/backed up?
TB should request Super User permissions when it first launches, but to make sure open Super User and make sure you see TB in the list of allowed applications.
Thanks for your help. Everything works fine now.
See my previous edited post.
Don't recall ever having to reinstall a faulty app before. Still it is something I should have checked earlier.
Since the OPs problem has been sorted, I hope its Ok that I post a problem.
I wanted to do a factory reset to see if it would improve some performance issues.
- DLed Ti
- menu > batch > run "backup all user apps and sys data" > select all > run (all items under backup/restore tab had check, smilie, or smilie with M)
- factory reset
- installed Ti
- menu > batch > run "restore all apps and data" > select all > run
- clicked "install" for each downloaded app (is this normal or should it be automatic?) data was reinstalled automatically
- rebooted
All downloaded apps were restored and settings were restored.
market dl history was not restored, system user data was not restored (browser bookmarks, text, call log etc)
- opened Ti
- menu > batch > run "restore missing apps and all sys data" > select all > run
- reboot
market links are now restored but still no texts, call log, browser bookmarks, wifi keys, bluetooth pairings etc.
I'm great full that Ti made restoring apps so much easier but I know it can restore all sys user data as well. What did miss or do wrong?
Ok so I have an issue where i was flashing the ROM Tranquility for my droid x and it was difficult to get it running but now it seems to be going ok. But now I'm trying to restore all my apps using Titanium and for some reason as soon as i try to restore even one, the phone quick reboots. PLEASE HELP, becuz i have a TON of apps that i just dont really wanna go reinstall every single one
ldemon360 said:
Ok so I have an issue where i was flashing the ROM Tranquility for my droid x and it was difficult to get it running but now it seems to be going ok. But now I'm trying to restore all my apps using Titanium and for some reason as soon as i try to restore even one, the phone quick reboots. PLEASE HELP, becuz i have a TON of apps that i just dont really wanna go reinstall every single one
Click to expand...
Click to collapse
So why are you posting it in the vibrant subforum? I recommend posting this as a new thread in the droid x, q and a section. Since we're on the wrong carrier with a different device.
Sent from my SGH-T959 using XDA App
I have a problem where I backed up all of my data, verified it successfully then installed the latest Continuum 5.5(updated from 5.4.1) and then tried to restore my system data(Contacts, SMS, etc.) but after the reboot, none of these show up?
If it verified without any errors then how could it just suddenly not show up?
Brilliant, I am glad this post is around because I was having the hardest time trying to figure this one out. Thanks for the info!!
zimphishmonger said:
Picked up a Vibrant a few days ago, but Im having some issue restoring my apps using Titanium backup 3.3.2.
I having an issue where Titanium Backup says its restoring, but just sits there doing nothing. Somehow Ive managed to get it to restore once, but I had to wipe and now I cant get it to restore for the life of me. Tried w/ original busybox and the one that downloads inside titanium, both w/o success. Seems that titanium has some sort of issue w/ the Galaxy S.
Has anyone found a solution that allows you to restore your apps? Thanks!
EDIT: Whats really strange is if I try to hide titanium, relaunch it, and try and backup. It gives the message "backup already in progress" but for whatever reason it moves onto the next app...so strange
EDIT2: FIXED IT thanks to Joel, the awesome dev behinf titanium. Go into options and change the install method to "AUTO, Indirect" and it should work. Hope this helps others!
Click to expand...
Click to collapse
This just helped me with restoring my HTC Sensation! Google is awesome, lol.
"AUTO, Indirect"
didn't do any good...
I'm up to try regular android restore, but will take ages...
I don't see this option "AUTO, indirect" in TitaniumBackup 4.4.0 version, but I have same problem here.
Finally found that "indirect mode". Works great now, thanks !!!!
RaptorHawk said:
I don't see this option "AUTO, indirect" in TitaniumBackup 4.4.0 version, but I have same problem here.
Click to expand...
Click to collapse
The option is in preferences>app processing mode. (the second last option)
I have a problem with some restored apps such as Gmail. If I restore app and data the app won't sync properly. It will delete the emails but they still show in unread and when I load Gmail on the PC the emails are still there.
I have found numerous apps to do this.
Has anyone encountered it and solved it? I've tried everything including indirect but all I can do is reinstall the apps and set them up again.
Sent from my GT-5660 using xda app-developers app
I was wondering how I could make an exact copy of my system the way I have it set up, minus my personal info / installed apps after the fact and transfer it to another note.
I installed Holo kernel / TCPnote v2, froze tw launcher (after installing the latest golauncher ex beta) and several other bloat related things. Basically the whole system is running GoContacts / sms / launcher / locker. Changed some memory options / font / themes.
I have a friend that has a note as well and he liked my setup but I don't feel like going through all the work of doing it all again on his and was wondering if there was someway I could dump my setup to a image and reflash on his.
Any input is appreicated.
Would it help if whomever can help me with this got a donation, say $50.00 for their time?
jb0nd38372 said:
Would it help if whomever can help me with this got a donation, say $50.00 for their time?
Click to expand...
Click to collapse
You can do a backup through CWM and then copy the backup file to his clockwork mod backup folder and restore it . also do a titaninum back up of all the apps he wants that you have. then do a factory reset on his phone and it will erase all of your personal information. then go back to titanium back up and restore all the apps he wants from your setup.
Thanks for the idea, I dunno if what I said in the first post was sensible, I already have a bunch of apps and stuff installed for me, that 'm sure he wouldn't want. What I was hoping to do is be able to image the core system (or the whole thing, and take out extras + my personal info / accounts, etc) then repackage it, flash with odin or cwm, Basically like the devs do roms, except backwards. I have the system setup / tweaks / launcher / addon's and would like to pull that out, minus anything i had installed afterwards, and make it flashable to his phone by any means necessary.
His phone is completely stock, so if I could image it to fash thru odin then he would have working root / cwm / custom rom + beats and other things i've deleted such as bloatware / vpn / stuff average users will never use.
Any other sugguestions?
djwascom33 said:
You can do a backup through CWM and then copy the backup file to his clockwork mod backup folder and restore it . also do a titaninum back up of all the apps he wants that you have. then do a factory reset on his phone and it will erase all of your personal information. then go back to titanium back up and restore all the apps he wants from your setup.
Click to expand...
Click to collapse
No I dont know how to do it any other way. but if you could give me a thanks for trying it would be very appreciated
On Titanium Backup, you can uncheckmark the programs that you don't want to restore.
You can do a backup on your phone, and a backup using Titanium Backup, restore onto his phone by copying over the clockwordmod folder and the Titanium Backup folder.
Root/cwm his phone, then restore using cwm. Factory reset, then reboot.
Download Titanium Backup (Pro makes this a lot less painful), run it, do a batch restore, and uncheck the programs he won't use.
EDIT: Someone else ninja'd me. I really don't know if there's a way to reverse it. There should be theoretically. You most likely would have to still factory reset and use titanium backup.
EDIT 2: This might work: https://play.google.com/store/apps/details?id=com.p3droid.odinmaker.donate
Can you make a nandroid without data and cache?
at first glance it looks like you want to make a rom
but upon reading it again, i have to say:
generally no, but it MIGHT be possible with LOTS of work
the main problem is, that most of your settings (like widgets, ...) are stored in data.
so what you could do is:
manually remove the data stuff you don't want, keep only the stuff you really need (lots of work, and might not work correctly)
and then you might be able to share it together with your system image (you would need to wipe cache and data before you write your backed up data...
which brings us back to the original answer...
I think possibly doing a part manual and part automated might be your best bet. Use titanium to back up then restore apps to his phone. There are apps that backup your desktop (shortcut and widget locations). Perhaps this will reduce a bulk of your setup time once you get a preferred ROM in place. Paid version of Titanium Backup allows you to restore all apps in unattended batch rather then making you click yes/install to every app. This may be worth it, I love it. I have been thinking about this on and off since yesterday and just can't think of a way of doing it that wont require a good but of work one way or another. Good luck though, let us know what you figure out.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Thanks for all the suggestions, for the moment, I installed CWM and rooted the Note, still deciding on the best way to get his like mine with minimal amount of work needed for me or him. To bad there is not a way to image a phone's system completely, then just restore on the other phone.
Now I wish I would have cared more about programming instead of the hardware side back when I was in school eating up computer courses.
Chief Geek said:
I think possibly doing a part manual and part automated might be your best bet. Use titanium to back up then restore apps to his phone. There are apps that backup your desktop (shortcut and widget locations). Perhaps this will reduce a bulk of your setup time once you get a preferred ROM in place. Paid version of Titanium Backup allows you to restore all apps in unattended batch rather then making you click yes/install to every app. This may be worth it, I love it. I have been thinking about this on and off since yesterday and just can't think of a way of doing it that wont require a good but of work one way or another. Good luck though, let us know what you figure out.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Click to expand...
Click to collapse
Search fruit cake maker and contact the dev.. It may be simple to get working on the note.
jb0nd38372 said:
Thanks for all the suggestions, for the moment, I installed CWM and rooted the Note, still deciding on the best way to get his like mine with minimal amount of work needed for me or him. To bad there is not a way to image a phone's system completely, then just restore on the other phone.
Now I wish I would have cared more about programming instead of the hardware side back when I was in school eating up computer courses.
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I717 using XDA App
00mred00 said:
Search fruit cake maker and contact the dev.. It may be simple to get working on the note.
Sent from my SAMSUNG-SGH-I717 using XDA App
Click to expand...
Click to collapse
Just my thought. Search for the user Samcripp. He basically has a program that makes s a system img of your current setup. I know it is in the skyrocket forum but not sure if it would work for our device.....not sure why it wouldn't but that's why I'm not a dev.... lol
Sent from my Transformer Prime TF201 using xda premium
I hadn't seen mention of this in the EVO LTE forum, but here's a way to backup everything before the HTCDev unlock that wipes your phone.
I was waiting for some way of doing this since you can't run Titanium Backup before getting root, and getting root (with current HBOOTs) wipes your phone. Found this in the generic Android hacking section:
http://forum.xda-developers.com/showthread.php?t=1844032
I never knew there was an ADB Backup command. I've posted questions before and nobody mentioned it.
Since the phone prompts for an encryption password, it probably does do a deep copy of all the app settings.
I haven't actually done the restore from this yet - I'll be rooting this weekend then try the restore.
(Also backed up in MyBackup Pro just in case, for the little good that does.)
It's a huge Windows .BAT file that presents a menu of choices. It DOES take a while. Set a path, then choose a backup option.
I'm trying several different backup options under different backup names to see what restores the best.
If this works as advertised, it should save me days of re setting everything up and many rounds of annoyances about apps that no longer remember their settings.
OTOH, If this doesn't work, don't blame me
Dont you still need root to gain access to app data and the system files?
Sent from my EVO using Tapatalk 2
I would assume this uses fastboot root for anything that can't be accessed but fastboot has access to practically everything, there's even a fastboot command to flash splash screens lol
Again, I haven't tried the restore yet, but it looks to me like it requests the system to do it, which asks your permission first, so I'm assuming it gets everything.
I ran it with the phone booted up and it didn't complain. I guess I'll find out when I unlock and try to restore.
I may play with this later, seems like something handy for my guide
Sorry, I'm still too tired to understand what the hell is going on half the time, you're talking about adb and I'm taking about fastboot lol
pbarrett said:
Again, I haven't tried the restore yet, but it looks to me like it requests the system to do it, which asks your permission first, so I'm assuming it gets everything.
I ran it with the phone booted up and it didn't complain. I guess I'll find out when I unlock and try to restore.
Click to expand...
Click to collapse
Wouldn't think the restore would mess anything up, but I'm paranoid as $h1t with this phone.
Ask me about my ability to annoy complete strangers!
Nah its just a couple of image files, the worst thing that could happen is a bad flash that you can easily recover from in recovery
Hmm.
Well restoring a backup that didn't include system data *does* restore the app settings.
Now I'm trying restoring a backup that did include system data (the one marked as "unsafe" in the menu).
I'm hoping it'll restore my home screens, WiFi credentials, etc. The backup with system data took maybe 2 hours.
I'll check the restore in the morning...
(Oh well, either way, now that I'm rooted I can ditch all this and just go with Titanium from now on. Yay.)
Results:
Restoring a backup without system data did get all my app data/settings back.
Restoring a backup that included system data also had the side benefit of restoring the boot screen without the red tamper warning even though I'm S-ON. LOL.
I wonder if modifying a backup file then restoring it could be exploited...
This type of backup also includes all the SD contents. You might want to manage media files yourself instead.
Neither type restored home-screens. In fact, after restoring the one with system data, I had no icons or widgets whatsoever.
Even when I also told MyBackupPro to restore homescreens I got nothing. Oh well.
pbarrett said:
Results:
Restoring a backup without system data did get all my app data/settings back.
Restoring a backup that included system data also had the side benefit of restoring the boot screen without the red tamper warning even though I'm S-ON. LOL.
I wonder if modifying a backup file then restoring it could be exploited...
This type of backup also includes all the SD contents. You might want to manage media files yourself instead.
Neither type restored home-screens. In fact, after restoring the one with system data, I had no icons or widgets whatsoever.
Even when I also told MyBackupPro to restore homescreens I got nothing. Oh well.
Click to expand...
Click to collapse
Very interesting...You could be on to something there with exploiting a backup. May want to drop the lazy panda devs a line and see if it could be used to downgrade the hboot in some way. When you restored the system partition did you lose root?
Sent from my EVO LTE
Nope - I was wondering if that would happen, but it's still rooted & su, busybox, etc are still there.
It restores the screen as a side effect of copying the entire system state. As a restore you get the system state in tact as it was before the phone gets tampered. An interesting exercise would be to see if you can use the back up function to flash a system state with superuser privledges
Gaining root with fastboot...I like it. Are the backups locked to the device or can they be shared and restored on others?
Sent from my EVO LTE
I would assume they aren't but they may have access to back up misc info related to only that phone. I haven't had a chance to poke around with this program yet
pbarrett said:
Neither type restored home-screens. In fact, after restoring the one with system data, I had no icons or widgets whatsoever.
Even when I also told MyBackupPro to restore homescreens I got nothing. Oh well.
Click to expand...
Click to collapse
That's one of the many reasons why I use Apex. It allows you to back up and restore your home screens and settings. I also find that the multitasking is much improved if the sense launcher isn't running.
premo15 said:
Very interesting...You could be on to something there with exploiting a backup. May want to drop the lazy panda devs a line and see if it could be used to downgrade the hboot in some way. When you restored the system partition did you lose root?
Sent from my EVO LTE
Click to expand...
Click to collapse
Anybody know if it is actually possible to exploit hboot using this adb method or something similar. Has a hboot been exploited vin the past through adb
Sent from my EVO using xda app-developers app
It has been but only on early versions of Android, the odds of an exploit found like that again isn't at all likely. We just like to think out loud
I can't get this working. I run UBT.bat and it just flashes on my screen and closes.
Folks;
what is, these days, the best way to backup and restore all your app data on an Android phone after doing a clean flash of some new custom ROM? Though flashing the ROM itself in most cases is straightforward on my Moto G, yet re-installing and reconfiguring all the apps I had / wanted takes quite a while, no matter whether I use Titanium Backup (which seems increasingly unstable for some apps anyway and isn't able to backup/restore some apps such as Signal or certain calendar / webdav accounts) or Google app backups (which never worked on my device except for doing a plain re-install of all apps I had but without any user data).
Is there a sane way to automate this procedure or do this in a more "stable" way? Ideally, I'd just like to backup a list of selected apps, clean-flash my ROM, restore these backups and be ready to go again. Not sure, however, whether this is even remotely possible.
Thanks in advance and all the best,
Kristian
@kr428
Depends on Android version: Some tools what create flashable ZIPs like App2Zip and/or Migrate work only on Android versions lower 9.
jwoegerbauer said:
Depends on Android version: Some tools what create flashable ZIPs like App2Zip and/or Migrate work only on Android versions lower 9.
Click to expand...
Click to collapse
That's what I supposed. I'm on LineageOS 17.1 / Android 10, so guess these options are all out. Sometimes these things really suck... Anyway, thanks bunches for your feedback, greatly appreciated.
kr428 said:
That's what I supposed. I'm on LineageOS 17.1 / Android 10, so guess these options are all out. Sometimes these things really suck... Anyway, thanks bunches for your feedback, greatly appreciated.
Click to expand...
Click to collapse
I backup Android's user-data in zipped manner to external SD-card by means of a little shell script I wrote myself
jwoegerbauer said:
I backup Android's user-data in zipped manner to external SD-card by means of a little shell script I wrote myself
Click to expand...
Click to collapse
Ahh... and recovery works like this too? What folders do you need to backup for that to make sense? Sounds like a viable solution to me...
kr428 said:
Ahh... and recovery works like this too? What folders do you need to backup for that to make sense? Sounds like a viable solution to me...
Click to expand...
Click to collapse
Example of script "data-backup.sh" is attached
jwoegerbauer said:
Example of script "data-backup.sh" is attached
Click to expand...
Click to collapse
Cool, thanks bunches. Gonna have a look at it and see how far it gets me.
I'm hoping I'll run into a merciful soul who can help me with some stupid questions. I'm trying to backup app data from my old phone (stock, unrooted Android 8.0) and restore it on my new phone (stock, unrootedAndroid 13).
I previously used Helium to do this, with this exact same model of Android 8.0 phone (LG V20) with no issues. That was several years ago, though. Now I'm encountering two problems:
1. Several apps, such as Candy Crush, are listed as "backup disallowed" in the Helium backup menu. I definitely backed these up in the past, so I'm not sure what's going on.
2. Even with the apps I can backup, I can't get them to restore on the new 13 phone, as the Helium app doesn't seem to see them. It does see my older backups from several years ago, and I can restore from those, but that's not very helpful in this case. The only thing I can guess is causing this is it looks like the newer backups (which are in the same \carbon folder as the old backups that still work) are .ab format while the older ones are all .json format.
I have been researching for days on how to fix this, but I usually end up in threads that go into fairly complex (for me) cmd commands, and I just can't seem to follow them. I'm sure they're written quite well for someone who has some familiarity doing that, but I just don't. I've only ever used cmd when getting specific, step-by-step, dummy-level instructions from tech support.
If anyone can help me surmount these issues, whether through Helium or some other (non-root required) method, I would be really grateful.
If an app disallows backup of its data then no chance when using 3rd-party tools like Helium.
If you don't have root, you always can use the command-line program ADB to make backups with the help of a desktop computer - what requires USB debugging is enabled on both phones in question.
jwoegerbauer said:
If an app disallows backup of its data then no chance when using 3rd-party tools like Helium.
If you don't have root, you always can use the command-line program ADB to make backups with the help of a desktop computer - what requires USB debugging is enabled on both phones in question.
Click to expand...
Click to collapse
I really, really appreciate your response.
Do you know of any guides for doing this at:
1. Are written for complete idiots like myself? The ones I've found seem to presume a level of comfort with command line interfacing that I just don't have.
2. Go over backing up and restoring data for specific apps? The ones I've found focus on replicating the entire phone.
I'd be willing to root my old phone, but my understanding is that, since it's never been rooted before, this would delete all the app data I'm trying to save. Plus my new phone is a Samsung, and I've read that the newer Samsungs like mine simply cannot be rooted.
Edit: I probably should have mentioned that this is the thread I've found that has gotten me closest to understanding: https://forum.xda-developers.com/t/...me-between-phones-adb-shell-non-root.4378323/
The main issues I'm facing are:
It says to download the attached "adb.rar," but none of the other threads had mentioned any downloads, so I'm worried about doing that.
It talks about getting app info from "BS4/Pro," but there's no links. I have no idea what that is. So far as I can tell, I can just get the app name by looking at the folder name on my phone or from within the CMD adb commands, but I'm always worried about making assumptions when I already know I have no idea what I'm doing.
Also, I've seen some threads mention that even this method won't work with apps that have backup blocked, but I'm willing to try if I can figure out the other issues.
if the issue is with restoring helium backup, adb is worth a try. it's basically the same method, although helium backups aren't compressed.
if new phone is rooted, restoring backups is possible with more advanced methods.
for apps that have backup opted out, try phone clone apps.