[Q] Can't backup with adb/helium/google/recovery - Android Q&A, Help & Troubleshooting

G'day/Good Morning/Hello/Hi,
I own a Sony Ericsson Xperia Pro (MK16i) and I am running CyanogenMod9 (20130721), rooted and bootloader unlocked. I have been trying to back up the apps and app data so that I can transfer them to my new phone (Motorola Moto G with Android 4.4.2, unrooted and bootloader locked), but whatever I try doesn't work.
With adb backup, it prompts me to confirm the backup operation on my phone, but nothing appears and I end up with a 0 byte backup file. Tried it on a few computers. Works with my new phone.
With Carbon/Helium, it complains that I have a desktop backup password, but I've never set one, and I can't seem to set one. No matter what I type, I get "failure setting backup password".
With google's servers, I can't find a place to check that it is backed up, nor figure out how to restore to my new phone. It may be backed up, but I can't find out where. In google's dashboard, I only see three apps' data backed up, and they're all system apps (wallpaper, settings, market).
With CWM-based recovery, it took a while and seemed to backup to my SD card, but I can't find where it put anything.
I would prefer to use Carbon/Helium, so if someone could tell me what file or db I can access to clear/reset the desktop backup password, that will hopefully push me in the right direction.
Hope you'll help me.
Thank You

http://forum.xda-developers.com/showpost.php?p=38583034&postcount=3 looks like i should just give up now

Related

[Q] Backup before rooting?

Hi, I'm new here as I just switched from my iPhone 3G to the atrix. I'm planning on rooting it soon but I want to make sure I don't screw anything up. I'm used to the iTunes backup and sync features, so I was wondering how that works on android phones, the atrix in particular. If something goes wrong and I can't access my phone, how can I restore it from my computer?
Also, how do apps sync? If I restore my phone to factory settings but apps are listed as installed on my account, then it won't let me reinstall those apps, will it?
Ok, I'm assuming there's no way to backup the phone without rooting. I was referring to something like making an image of the phone or atleast getting the basic firmware(like for the iPhone).
As for apps, if I get a new phone or wipe my current phone, I won't have to redownload anything right? Will it sync from the market?
But my data will be lost right (like game saves)? So I can use apps like Titanium Backup to that data right?
I just wanted to clarify this before I messed around with anything.
If you've wiped your phone, or get another phone, you can always download the apps you've purchased either from your phone or from a pc. They're linked to your gmail account.
Once you're rooted, you can use Titanium Backup. You can also use Tenfar's port of the Clockwork Mod to make what amounts to a snapshot of your current system via a nandroid backup. I've had to restore from that once after hosing my system. Works well.

Couple of questions on Resurrection Remix JB 3.06

Hello.
I just replaced my old Gingerbread by GT-I9100 Resurrection Remix JB v3.0.6[04-09][AOKP JB](AROMA+OTA) using the suggested 'extended steps' and selecting its default settings.
I did this after taking full app+system data backups with Titanium 5.5 and EFS backup with EFS Pro.
The system restarted just fine and looks pretty spiffy.
I tried to restore back my data and that's where I got stuck.
USB debugging shows as checked but Titanium keeps asking for it. EFS Pro is also having problems with it.
If I disable it, EFS Pro complains. If I enable it, EFS Pro runs at full processor load trying to initialize without ever managing to do so.
Titanium on the other hand, refuses to find the data it had saved earlier. They are both on the phone itself and in a laptop. It only shows the new 4.1.1 applications and I see no way to point it to anything else.
Is it a matter of version incompatibility or something else?
Do I have to install some extra mod before these two work?
Thanks in advance.
kanenas_0 said:
Hello.
I just replaced my old Gingerbread by GT-I9100 Resurrection Remix JB v3.0.6[04-09][AOKP JB](AROMA+OTA) using the suggested 'extended steps' and selecting its default settings.
I did this after taking full app+system data backups with Titanium 5.5 and EFS backup with EFS Pro.
The system restarted just fine and looks pretty spiffy.
I tried to restore back my data and that's where I got stuck.
USB debugging shows as checked but Titanium keeps asking for it. EFS Pro is also having problems with it.
If I disable it, EFS Pro complains. If I enable it, EFS Pro runs at full processor load trying to initialize without ever managing to do so.
Titanium on the other hand, refuses to find the data it had saved earlier. They are both on the phone itself and in a laptop. It only shows the new 4.1.1 applications and I see no way to point it to anything else.
Is it a matter of version incompatibility or something else?
Do I have to install some extra mod before these two work?
Thanks in advance.
Click to expand...
Click to collapse
1. After enabling USB debugging, just reboot once. Although in JB, titanium backup doesn't require USB debugging, in order to function properly.
2. Goto Settings - Apps - All - superuser - force stop and clear data. this ensures next time you run those apps, they ask for Su permissions again.
3. Manually tell Titanium backup the location of your old backups.
How?
- Run Titanium backup
- Press menu button, Select Preferences
- Select Backup folder Location (under Backup Settings)
- Browse to the location of your old backups and select use current folder, when you are done.
Notes:
A). Ensure your old titanium backup folder is still present on your phone's Internal/External SD.
-Use a file manager to confirm this.
-If your old folder is missing or empty, copy it back from your Pc and try the third step above again.
B.) Your internal SD is the location always shown by default. Your external SD is located in
/storage/sdcard1 Or in /mnt/emmc
C.) Please only restore your apps only with titanium, don't restore their data. This is to only ensure maximum performance and stability of your new ROM.
Problem solved!
Swyped from my Samsung Galaxy SII
Thank you much Jokesy.
I tried to follow your instructions and came up with some completely different problem right after the reboot in step 1.
My unlock popup doesn't come up.
Instead I get a message on the bottom of the screen:
"SIM card is locked. Emergency calls only"
The battery is full, the signal level is at zero, and I find myself inaccessible when I try to call my cellphone.
I can still run CWM but don't see any relevant options.
Removing/reinserting the battery didn't make a difference. I haven't tried installing some other SIM card yet.
Update: I tried another SIM card and it gets into the phone. My standard card still doesn't.
How did that come up out of the blue? And how do I get around it? Do I have to redo the ROM installation?
Thanks.
kanenas_0 said:
Thank you much Jokesy.
I tried to follow your instructions and came up with some completely different problem right after the reboot in step 1.
My unlock popup doesn't come up.
Instead I get a message on the bottom of the screen:
"SIM card is locked. Emergency calls only"
The battery is full, the signal level is at zero, and I find myself inaccessible when I try to call my cellphone.
I can still run CWM but don't see any relevant options.
Removing/reinserting the battery didn't make a difference. I haven't tried installing some other SIM card yet.
Update: I tried another SIM card and it gets into the phone. My standard card still doesn't.
How did that come up out of the blue? And how do I get around it? Do I have to redo the ROM installation?
Thanks.
Click to expand...
Click to collapse
that another SIM you used, does it belong to the same network as yours?
Swyped from my Samsung Galaxy SII
Jokesy said:
that another SIM you used, does it belong to the same network as yours?
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
It's the same SIM I was using before.
Situation has improved in the meantime.
I left the phone without the SIM card and the battery for a few minutes and then tried with a dead SIM I had around.
It got in with no problems and I managed to restore the apps as per your instructions (but see below).
I also set it to ask for a pin code instead of swipe.
At this point I rerun EFS Pro. It gave some sort of error during intialization but it started up and I restored the saved EFS settings (that seems to have done the trick with the signal).
I powered off, replaced the dead SIM with my working one and restarted.
Back to the 'SIM card is locked' and a dial pad on the screen. Entering my code, didn't remove it. But I now had a full signal.
By hitting the buttons randomly, I eventually got an overlaid message about the Nova launcher not starting up or something and should I wait (it was a bit unreadable). I told it to wait and the system started up right away.
It looks like the 'SIM card locked' message is triggered by some delay in starting up the lancher. Maybe some timer fires up.
The final problem with the Titanium restore, is the contacts list.
It refuses to restore my contacts.
I pointed it to the proper folder where the contacts backup is along with the apps (I can see the file and a hex editor shows my contacts in it) but it never shows them as a restore option in the list (they are dated 9/9/2012 and I only see the default contacts file created by the new ROM (which has only me and a couple of others from my Google account).
Is it a bug/conflict in Titanium or some esoteric trick is needed?
Thanks so much again.
kanenas_0 said:
It's the same SIM I was using before.
Situation has improved in the meantime.
I left the phone without the SIM card and the battery for a few minutes and then tried with a dead SIM I had around.
It got in with no problems and I managed to restore the apps as per your instructions (but see below).
I also set it to ask for a pin code instead of swipe.
At this point I rerun EFS Pro. It gave some sort of error during intialization but it started up and I restored the saved EFS settings (that seems to have done the trick with the signal).
I powered off, replaced the dead SIM with my working one and restarted.
Back to the 'SIM card is locked' and a dial pad on the screen. Entering my code, didn't remove it. But I now had a full signal.
By hitting the buttons randomly, I eventually got an overlaid message about the Nova launcher not starting up or something and should I wait (it was a bit unreadable). I told it to wait and the system started up right away.
It looks like the 'SIM card locked' message is triggered by some delay in starting up the lancher. Maybe some timer fires up.
The final problem with the Titanium restore, is the contacts list.
It refuses to restore my contacts.
I pointed it to the proper folder where the contacts backup is along with the apps (I can see the file and a hex editor shows my contacts in it) but it never shows them as a restore option in the list (they are dated 9/9/2012 and I only see the default contacts file created by the new ROM (which has only me and a couple of others from my Google account).
Is it a bug/conflict in Titanium or some esoteric trick is needed?
Thanks so much again.
Click to expand...
Click to collapse
1. Some people have reported entered enter pin issue, after flashing JB ROMs.
2. You must be kidding me if you think Titanium will restore your contacts from Gingerbread to an AOSP based Jellybean ROM.
They had some better options than titanium in backing up your contacts.
1. Exporting your contacts to SD.this one is simple and doesn't require you to download anything.
2. Using free apps like contacts backup & restore.
3. Merging & syncing your contacts, with your Google account.
My advise:
- backup your present ROM,
- flash a stock based 4.0.3 custom ROM
- Restore your contacts
- backup your contacts with the options i listed above.
- Restore your ROM via CWM recovery
- Restore your contacts.
Done
It will only take few hrs, but you will get your problem solved.
Swyped from my Samsung Galaxy SII
OK, I'll try this and report back.
This (2) is annoying though.
It's just a SQLite database. If they can backup JB (therefore they know the contacts format) they should be able to restore anything back to it.
Otherwise it defeats the purpose of using a database for backup.
Oh well. I have some restoration to do
I must say I never expected such a mixup with the upgrade but at last, it seems to be on the right track.
I followed your last instructions, reinstalled my old XXKI3 ROM, restored and made a couple of backups of my contacts.
I restored the backed up JB 3.0.6, rebooted and imported the contacts, but in the process I lost the signal again (wi-fi was OK).
So EFS Pro back to the rescue, or so I thought.
I tried importing the saved EFS folder from the old XXKI3 but EFS Pro had a problem now mounting the /efs so nothing happened.
I even installed KTool at this point, renamed the EFS Pro image to efs.img, and tried loading it. I can't remember if it also gave me a mount /efs error but I still had no signal.
Trying to go back to the old XXKI3 with Odin, it gave me the same /efs problem so I didn't have a signal even in the old version.
Then I found out about GSII_Repair.
I got it from the market, run option 1 (save existing efs), then option 2 (make /efs writable) and rebooted.
Back with the signal again (but with some different IMEI). But it worked just fine. It seems option 2 doesn't just make it writable but it also loads up some default working files.
I did the whole cycle again, upgraded to JB and all's fine.
EFS Pro can restore /efs now but it loses the signal, so it's back to GSII_Repair to restore it along with the wrong IMEI.
All in all a good exercise.
Hopefully I'll be able to reset the IMEI back to what it was (or find a way to convert the saved img to the actual files and maybe do the IMEI fix manually -- I found this thread that might help: http://forum.xda-developers.com/showthread.php?t=1264021 )
The problem can be considered as successfully completed and I have no words to thank you enough Jokesy.
Much appreciated for your help.

[Solved] Qtions about backup / restore nandroid feature on twrp recovery mass deploy

Hi guys,
I've got 60 phones to setup, and that's just the biginning. I looked for some solutions to mass deploy them, the fastest way possible. I of course already know titanium backup and applications like that, but i would prefer not to root phone...
I was pretty confident about a nandroid backup : flashing the recovery of the phone is really quick, and i would just have to backup on card or on usb on the go on the master phone, and to restore the backup on all the phone remaining. But it didn't worked as expected, it happens that on each phone, twrp is generating backup in a folder named something like "420khg66g6cca200" and which is different on each phone, and when you put the card in another phone, this one doesn't see the main backup.
I of course tried to sneak arround and generate a backup on the second phone, which i replaced with the content of the first one, but the phone doesn't even boot anymore.
I used twrp because i dind't find another recovery avaiable for the phone, which is by the way a samsung Xcover 3 also known as SM-G388F.
I tried to backup only system, system image, and data and to restore it and the phones is stuck on boot screens.
I tried to backup again with boot partition, same thing happen'd. There's something i don't understand tho, there's some warning about /system partition which can't be mounted when i look around on the recovery of the slave phone.
I'm on stock rom, no root. I looked for similar post (really), but there's mostly guys which make backup / restore on the same phone, and i didn't find my answer.
My questions are : is there someone's who did this before ? Why the phone doesn't boot anymore ? Is there something that's making the backup unrecoverable on another phone ?
In this case, is there anyway to bypass that ?
Thank you by advance.
So...
We've done more tests, and when we only select the data partition, it does what we want.
So what I've done to deploy 50 phone :
- Prepared my "master" phone with all my apps and parameters
- Gone in TWRP to backup, saved the folder inside TWRP/BACKUPS/cde0654364576****/ (the generated folder), so saved the folder inside UNTOUCHED on my computer (for unknow reason, if i use it once to restore a phone, i can't use it again on another phone, so keep a copy somewhere)
- Boot to twrp on the slave phone, generate a backup to also generate the name folder
- Boot on system phone, delete what's inside the folder, and copy / past the previously generated backup from the master phone
- Boot again in twrp end restore. Reboot and that's done, you're slave phone should be the same as the master.
If someone find this thread, don't hesitate to ask more details.

Titanium Pro: Cannot restore data, just endless spinning circle

Hello, I’m happily using Titanium Pro for a couple of years now but this week I’ve stumbled upon a big problem.
I’m using a LG G4 with LineageOS 14.1. Backed up all my user apps to do a system upgrade to a newer version of 14.1 (and eventually 15.1). I’m using Titanium with encryption with a passphrase and in the past this setup has worked fine for me. Backup is stored on a MicroSD card, tar.bz2 compressed.
I have wiped my Data and internal storage and flashed the new ROM (which works). Installed Titanium Pro, found the backup folder etc., alright. But then my apps were not reinstallable from my list, the restore button was missing. Further, they only have their developer names like "org.videolan.vlc". Okay, checked the backup folder, there are *apk.bz2 files for each app which extract nicely and I’m able to install them the manual way. Then, a restore button appeared (the regular app name too), "Data Only", yes, please… And then I got "Restoring Data" and the spinning circle followed by "?" (an actual interrogation mark). This never ends, I have to force quit Titanium and nothing gets restored, apps even fail to start. :/
This is a pretty bad condition, I was relying on this backup solution for a lot of configuration mess, not to mention my Google Authenticator entries and so on…
I have tested another ROM and even a Lineage 15.1 (Oreo) ROM but this situation was all the same :/
Tried with both LineageOS Su and SuperSu with the same results.
In panic, I’ve found a PHP script which can decrypt my backups and it accurately did so. I then have transferred my decrypted tar.bz2 files back to my phone (I have still a backup of all encrypted original files) and tried again, but with no more luck. So, with or without encryption, I can’t restore my backups. But they are all ok, I can check the archives and poke in their folders, it’s all in there…
Tried the alternative "app processing modes" indirect and interactive with no other results (seems to me they are only relevant for APK installs anyway).
I hope very much that someone here can help me. I’m attaching a logcat log in which I try to restore data for an installed app. In the screenshots you can see (1) the apps list without proper names, (2) an app info dialog without restore button and (3) a data restore attempt after manually installing the APK (or via Google Play, tried both).
I don’t think I will ever get a response by the developer, so this forum is my last hope! :fingers-crossed:
I have found the problem and a workaround: Apparently, Titanium couldn’t read from my SD card. But still sort of, don’t ask me. It listed the developer names of the apps like you can see in my screenshots but could not actually access the files although it had "Android 5+" document picker permission for the SD card. Mega strange and much frustration. I fixed this by copying my backup folder to the internal storage and changing the backup folder to the new location in Titanium, voilà, restore worked again.
Thanks a lot for all your self-sacrificing help!

did fresh reset to android but backup will not restore from google drive????

i did a fresh reset in recovery mode. had to bypass allowing restore during initial setup after reset due to screen lock pin error.
Can't get the restore backup to add to my phone from google drive. What am i doing wrong?
It seems like the old backup to be used to restore is blockng the new initial setup on the phone from creating a new backup....which is good because i want to restore that old back from yesterday . it was before i did a fresh reset.
Phone is activated on the same google account that the backup is stored on in google drive. 2 factor is turned off.
according to this tutorial, If i skip restoring during initial setup i should get a notification to continue finish setup....i have not (3+hrs)
https://www.youtube.com/watch?v=Xw8my-isdrs&feature=youtu.be&t=15
Some of the contacts have been added back to the phone automatically somehow and 52 of the apps are showing as installed in google play out of 105 apps total not sure how they got here as the restore has never happened.
In the past the apps were placed back on the homescreen where they belong when a restore was done, that did not happen yet. Is it supposed to?
When i go into backup in settings it says that it is already on and waiting to backup?
Support told me to try to turn it off and then on again but that triggers a warning telling me that it will delete the backup permanently that i want to restore from google drive.
https://imgur.com/a/5o6Atfd .............. https://imgur.com/a/uttXNGg ............ https://imgur.com/a/zyqY1Fx
so what do i do to get the restore backup to load back onto the phone?
support told me to go to the google account recovery page and sign in.
Would the google account recovery login help with this?
I can't seem to tell what that page does?
thanks for any advice!

Categories

Resources