[Q] adb backup hangs - Zenfone 2 Laser Q&A, Help & Troubleshooting

I have a rooted ZE550KL. I had to root it to restore Titanium backups from my died Galaxy Note II -- it seems to impossible to restore them on non-rooted phone. On other hand I don't like loosing the ability to upgrade (quite limited in Russia -- it seems that manufacturers don't send upgrades to Russian models, even when they DO exist for other countries)
Now I'm trying to make an adb backup of my applications with data, to be able to restore my backups on non-rooted phone if this unit dies too. The problem is, adb backup randomly hangs. It does not matter -apk or -noapk, -shared or -noshared, -system or -nosystem. Sometimes it makes a file of 1.3G, sometimes 200-300 megabytes, once it DID finish, but after all I'm not sure that backup is valid.
I tried to do it in ubuntu 14.04.3, in ubuntu 15.10 and in windows XP, everything is the same. Now I have one successful backup (at least android backup extractor does not complain about that file and extracts everything), but now I can't repeat it, usually it hangs around 1.3 GB.
Any ideas how to fix it?
I know, Asus has its own backup tool. It works, yes. But I don't want to be tied to this manufacturer forever -- it seems that all manufacturers tend to go crazy and kill sd card slot and removable battery and if asus does the same in next phone models then I'll have to go somewhere else...

Related

[Q] Good backup solution for the thinkpad?

Hey there..I'm looking for a good backup for my thinkpad tablet
On my htc desire I made the 'standard thing':
- rooted
- TitaniumBackup (which simply works grrreeeaaattt!)
- and sometimes to a nice nandroid backup (you never know...)
But: I use my thinkpad for business and I also want to have customer data and connection to customer networks. Therefore I think it's a little bit more secure to have this thing not-rooted.
But: TitaniumBackup only does it's great job on a rooted phone
Is there anything where I can also:
- at least save all apps/data (like TitaniumBackup)
- do something like a nandroid?
And..I dont want to use dropbox.
Any creative ideas?
I don't think that such a thing is possible without root. You cannot access your /data/app folder without root so I do not believe you can find a program that will be able to backup your apps unless you have root. A nandroid backup requires a custom recovery in addition to root.
How about just rooting it, backing it up, then un-rooting it?
The backup process is the lengthy one.
I really think thats one of the topics where iphone/ipad are a little bit ahead...backup/restore is just really straight forward and reliable.
My currently used workarounds:
- On USB connection/hard drive mode I back-up (critical) data from the sdcard to my pc (about weekly). I actually do this use microsoft's synctoy tool (which by the was is a really cool synching tool)
- apps: beg and pray...
if it's only to copy your Sdcard folder on PC, you can try Airdroid
EDIT :
Just found that !
http://www.technipages.com/how-to-backup-your-entire-android-device-without-rooting.html
But must wait for 4.0

[Question] How do you backup apps when moving to a new ROM/Phone?

I was wondering how you guys usually backup your phone when going from let's say stock to LineageOS? I was wondering this because I feel my way takes more time than it needs to and if there's a better method I'm glad to hear it.
I'll go first:
I backup first through Titanium backup which is a great app for restoring most data such as wifi passwords and app data for some apps. Secondly I'll make a backup using Helium because it backs up some apps that aren't compatible with TB's way of handling things such as Defenders III. Thirdly and most Important backup I make is through twrp in case I need to go back and get something I forgot or if "the **** hits the fan" on the new ROM.
j0nas_ said:
I was wondering how you guys usually backup your phone when going from let's say stock to LineageOS? I was wondering this because I feel my way takes more time than it needs to and if there's a better method I'm glad to hear it.
I'll go first:
I backup first through Titanium backup which is a great app for restoring most data such as wifi passwords and app data for some apps. Secondly I'll make a backup using Helium because it backs up some apps that aren't compatible with TB's way of handling things such as Defenders III. Thirdly and most Important backup I make is through twrp in case I need to go back and get something I forgot or if "the **** hits the fan" on the new ROM.
Click to expand...
Click to collapse
use titanium backup pro or helium app
You might try to backup apps in titanium backup, secondly for photos and videos and all other stuff what I do is connect my phone to a PC and copy paste all folders displayed latter I can swap them pretty fast
I don't back up my apps. I don't have many apps installed so it doesn't really matter.
For data, I use adb.
Backup - adb pull /sdcard/
Restore - adb push <WHAT> /sdcard/<LOCATION>
I backup with TBU - never had any problems backing up or restoring.
But how do you get Helium to work for your Moto G4? I've tried several times/methods but it just doesn't work. I am rooted with InvictaOS and Helium gets stuck on checking SuperUser. When I cancel that out and try to connect via the computer it fails to recognize the G4, whether I'm on MTP or PTP.
The only reason I'm trying Helium is that I recently got a great deal on a Verizon E4 and want to play around with it. But since it's Verizon...no bootloader unlock. I'm going crazy trying to transfer my app data to the E4, which, ironically, is recognized by Helium.
I have never been a fan of iPhone, but they at least have a method to transfer app data to to a new phone, an area that Android is lacking. If i ever get another new phone that can't be rooted, I'm screwed if I want to keep my app data, such as from my Memo app, etc...
Sorry for rant/hi-jack.

ADB Backup

From what I understand, the Snapdragon S8+'s bootloader is still locked, other than for the Chinese and Hong Kong variants, so there is no chance of a custom recovery currently. This said, I am trying to find a decent backup solution for my Sprint S8+.
I am trying to create a backup using "adb backup -apk -shared -all -system -f test.ab". I can get the backup to run, but it only creates a 40-80mb file. When I restore the backup, nothing changes on my phone.
Can someone please clarify what is going on here? If you guys need more information to help, please let me know. Thanks!
Works for my S8 snapdragon. My backup files are in the 1.6 GB size. Make sure you are running cmd.exe as administrator and wait until it finishes. It may take 15 to 20 minutes to complete.
gschroer said:
Works for my S8 snapdragon. My backup files are in the 1.6 GB size. Make sure you are running cmd.exe as administrator and wait until it finishes. It may take 15 to 20 minutes to complete.
Click to expand...
Click to collapse
Even if I use an elevated (Administrator) command prompt, the backup takes about one minute to complete. I have added a few apps to my phone, since I last posted. The size is up to 174mb now, but there is no way it takes 15+ minutes.
I am connected via USB 3.0. Are you using wifi? Do you have any idea the size of a backup on a newly reset phone? I still think something is off here.
With -apk aren't copies of the APKs supposed to be saved with the backup? Are they saved as separate files? I do not see any with mine.
DawgY said:
Even if I use an elevated (Administrator) command prompt, the backup takes about one minute to complete. I have added a few apps to my phone, since I last posted. The size is up to 174mb now, but there is no way it takes 15+ minutes.
I am connected via USB 3.0. Are you using wifi? Do you have any idea the size of a backup on a newly reset phone? I still think something is off here.
With -apk aren't copies of the APKs supposed to be saved with the backup? Are they saved as separate files? I do not see any with mine.
Click to expand...
Click to collapse
I'm using an usb 2.0 connection. The 1.5 GB size is for an unlocked, no bloat, phone with about 10 added user apps. Your backup should be at least 1.0 GB.
Yes the -apk switch should backup your apps. The app files can be extracted, the backup file is a compressed TAR file using a Java Deflater. You can search on-line on how to extract from the .ab file..
gschroer said:
I'm using an usb 2.0 connection. The 1.5 GB size is for an unlocked, no bloat, phone with about 10 added user apps. Your backup should be at least 1.0 GB.
Yes the -apk switch should backup your apps. The app files can be extracted, the backup file is a compressed TAR file using a Java Deflater. You can search on-line on how to extract from the .ab file..
Click to expand...
Click to collapse
I have looked in to all of that, because I wanted to verify the contents of my backups to make sure they are completing properly. However, this still does not provide a solution to the small size. I have a stock Sprint S8+ and am using an up-to-date version of "platform-tools" downloaded via sdkmanager.
I'm not sure what else to try at this point. Can you think of anything that would lead to a smaller size? I can see the toast messages on my phone, so I can tell when the backup begins and ends. I'm honestly out of options.
By the way, what do you mean by "unlocked"? I am accustomed to that term being used for an unlocked bootloader, although I did not think that was currently possible with the S8+. I am not rooted, so from what I understand, "adb backup" cannot access system files. If you are rooted, I guess this could account for the size difference. Again, I'm grasping at straws here...
DawgY said:
I'm not sure what else to try at this point. Can you think of anything that would lead to a smaller size? I can see the toast messages on my phone, so I can tell when the backup begins and ends. I'm honestly out of options.
By the way, what do you mean by "unlocked"? I am accustomed to that term being used for an unlocked bootloader, although I did not think that was currently possible with the S8+. I am not rooted, so from what I understand, "adb backup" cannot access system files. If you are rooted, I guess this could account for the size difference. Again, I'm grasping at straws here...
Click to expand...
Click to collapse
"Unlocked" being carrier unlocked, so no carrier bloatware to make the backup larger. After running the ADB backup command my phone gives me an option to encrypt the backup, which I' not providing a password to encrypt. On the phone screen it starts showing the apk's one at a time that it is backing up. It only shows about five apk's before the screen blanks out. Guess it could be the sprint firmware preventing the backup. Maybe post on the sprint forum to see if anybody is using ADB to backup their phone.
gschroer said:
"Unlocked" being carrier unlocked, so no carrier bloatware to make the backup larger. After running the ADB backup command my phone gives me an option to encrypt the backup, which I' not providing a password to encrypt. On the phone screen it starts showing the apk's one at a time that it is backing up. It only shows about five apk's before the screen blanks out. Guess it could be the sprint firmware preventing the backup. Maybe post on the sprint forum to see if anybody is using ADB to backup their phone.
Click to expand...
Click to collapse
Yes. I have heard that different ROMs can mess with this process. I will follow your suggestion. Thank you for the help, gschroer!

Unable to restore all data from a backup

Hi,
I'm using a Fire HD 10. It developed a hardware fault (charger is wonky, so only charges if you wedge something under it), so Amazon have sent a replacement.
I've used the Amazon backup and restore functionality, but this only seems to re-install the apps on the new device (along with some settings), but doesn't actually migrate any data over (e.g. game progress, saved worlds in Minecraft/Terraria etc...).
I've looked online and tried several things, all without any success:
Firstly, I tried copying the contents of various key folders (such as the app specific content of /Android/Data/... and /Android/obb). I copied these from the old device to my computer, then back onto the new device, rebooted, and nothing. I've done some research and copied a few of the ...../com.amazon..... folders (only some selected one) and again, nothing. Of note, there is no /games folder on the device
Secondly I connected the first device to my computer, and used adb backup and restore. This also had no success. A complete backup would always hang (when including the -shared option) - apparently this is a known bug on some versions of Android. The command that backed up the most was "adb backup -f backup.ab -apk -all -system" - I've tried with and without encrypting the backup. The backup and subsequent restore processes complete without error, but no data is migrated.
Finally, I've contacted Amazon, who have frankly been of no help at all!
I'm on the point of giving up and shipping it all back, getting a refund and getting something else entirely. As I'm considering a return, I don't want to root the device.
Can anyone think of any last ditch attempts to help save this? Personally even if you can, I can't believe Amazon are making it this hard!!
Thanks in advance,

How do I go about creating a full backup image if I'm unrooted?

Normally I'd use TWRP to create a full backup image but since I'm unrooted I'm not sure how to get this done.
[GUIDE] Full Phone Backup without Unlock or Root
Like a lot of you, I have been putting off unlocking the bootloader on my Nexus because I didn't want to have to go through the hassle of backing up everything manually and restoring individual application data; logging back into apps; saving...
forum.xda-developers.com
Does this method work for our phones?
I'm on Android 12 on my S10+.
DonDizzurp said:
Normálně bych použil TWRP k vytvoření úplné zálohy, ale protože nejsem rootnutý, nejsem si jistý, jak to udělat.
[GUIDE] Full Phone Backup without Unlock or Root
Like a lot of you, I have been putting off unlocking the bootloader on my Nexus because I didn't want to have to go through the hassle of backing up everything manually and restoring individual application data; logging back into apps; saving...
forum.xda-developers.com
Funguje tato metoda pro naše telefony?
Používám Android 12 na svém S10+.
Click to expand...
Click to collapse
Hi, if you have a Samsung and you don't have root, I don't recommend backing up via ADB because Google doesn't support this anymore, it's more recommended to use Google One or on a Samsung you can use this guide which should also help you.
Don't use SmartSwitch.
First redundantly back up all critical data to at least 2 hdds that are physically and electronically isolated from each other and the PC.
Hand load everything; copy/paste, verify size and if readable. Any apps like Poweramp or ColorNote that allow for backup import/export do so. Organize your critical data; have a plan.
If you have a SD card it is your data drive; all critical data goes here including installable copies of all your apps. A full restore should be able to be done with the data on the SD card.
A clean load can last for years if you don't muck with the firmware ie upgrades/updates. Think it through and do it right the first time. If you do it right it won't need to be done again for years... that's what Android is capable of.
you can't create a full backup as you can't access the needed devices... the only thing you can backup is your sdcard,data and probably efs with system shell exploit

Categories

Resources