There is a way to unlock a relocked bootloader without losing any data?
before unlocking connect via adb and run this
adb backup -apk -shared -all -f C:\desirebackup.ab
to make a backup then run this after ulocking to restore the backup
adb restore C:\desirebackup.ab
MiniBlu said:
before unlocking connect via adb and run this
adb backup -apk -shared -all -f C:\desirebackup.ab
to make a backup then run this after ulocking to restore the backup
adb restore C:\desirebackup.ab
Click to expand...
Click to collapse
thanks man, will try maybe today and report back
edit: adb says unable to connect for backup. tried with usb debugging on and in fastbot
edit2: i backed up with titanium, it restore everything
Related
please help me I got in my phone custom recovery 1.2.1 but when I go to the backup/restore and select nand restore it asks me : Create Nandroid backup? ... and when i confirm it: it says: Performing backup............... and after some minutes: Error : Run "nandroid-mobile.sh" via adb!. help me! and one more thing when i try to connect my phone to pc via adb shell it cannot "find device"
xperiment914 said:
please help me I got in my phone custom recovery 1.2.1 but when I go to the backup/restore and select nand restore it asks me : Create Nandroid backup? ... and when i confirm it: it says: Performing backup............... and after some minutes: Error : Run "nandroid-mobile.sh" via adb!. help me! and one more thing when i try to connect my phone to pc via adb shell it cannot "find device"
Click to expand...
Click to collapse
the problem lies in the recovery itself 1.2.1 has backup prob so try 1.2 or earlier which works smooth for backup or rather clockwork just chk this thread http://forum.xda-developers.com/showthread.php?t=1038338
all files provided in 1 link easy to find just download and off you go
xperiment914 said:
please help me I got in my phone custom recovery 1.2.1 but when I go to the backup/restore and select nand restore it asks me : Create Nandroid backup? ... and when i confirm it: it says: Performing backup............... and after some minutes: Error : Run "nandroid-mobile.sh" via adb!. help me! and one more thing when i try to connect my phone to pc via adb shell it cannot "find device"
Click to expand...
Click to collapse
hi there.
what's happening is that you probably need to "re-wipe" your phone. that happened to me yesterday. The 'recovery menu' doesn't clean things very well on P500, so usually i don't rely on it and prefer to use ADB
So, connect the phone to the PC and follow the usual procedure to manually clean the /system folder. If you don't know exactly how it's done, search for "adb clean" or something like that.
On (very) short terms:
- get Android SDK (browse for it on google)
- boot your phone into recovery mode
- connect usb
- run 'adb start-server' or 'adb devices' (usually the 2nd does the start server automatically)
- run 'adb shell'
- run the command 'rm -rf /system/*
- run 'exit'
You can also clean your dalvik cache. I would strongly advise you, if you use the EXT4 partition, to clean it up too.
Since I use Linux, i'm not very aware of how it's done in Windows, but mainly, I backup the EXT4 partition into a folder in my computer, then i clean it up - i think you can clean it with adb too, by mounting it with 'mount -a' - it requires some linux basic commands and i guess you will find a better tutorial around.
Thank you clockwork mode Works perfectly
Sent from my LG-P500 using XDA App
Hi all,
this is my first message.
I would like to root my Sony Xperia Sola and I'm using Root_with_Restore_by_Bin4ry_v31.
When i launch the command (with runme.bat) "adb backup -f stuff\mysettings.ab com.android.settings" in the smartphone not appears the confirmation.
In the log of "adb logcat" i get this error: "adb unable to launch full backup confirmation" (i obtain a zero lenght file on my pc). Same for the restore comand.
I've already activated debug usb ecc
The command "Adb devices" return that it's all ok.
To root my phone I've to make a backup and then to restore the file "special.ab"
I think that I can make the backup directly in the smartphone with the backup app (without adb.exe) , but Is there any way to restore the special.ab file manually without adb? Or is there a solution to use correctly adb backup/restore with Sola?
marco_tv said:
Hi all,
this is my first message.
I would like to root my Sony Xperia Sola and I'm using Root_with_Restore_by_Bin4ry_v31.
When i launch the command (with runme.bat) "adb backup -f stuff\mysettings.ab com.android.settings" in the smartphone not appears the confirmation.
In the log of "adb logcat" i get this error: "adb unable to launch full backup confirmation" (i obtain a zero lenght file on my pc). Same for the restore comand.
I've already activated debug usb ecc
The command "Adb devices" return that it's all ok.
To root my phone I've to make a backup and then to restore the file "special.ab"
I think that I can make the backup directly in the smartphone with the backup app (without adb.exe) , but Is there any way to restore the special.ab file manually without adb? Or is there a solution to use correctly adb backup/restore with Sola?
Click to expand...
Click to collapse
Flash the .10 firmware first,then Root using Bin4ry's Method,then flash .54 firmware again.done
wow
I spend many hours to solve this problem. I've just download "Root_with_Restore_by_Bin4ry_v9_4" and now it's all ok!!
Before this i used Root_with_Restore_by_Bin4ry_v31.
In the tutorial was indicated to press 1 in the start screen of Binary. Perhaps it was referring to the old version of Bin4ry. The old version (Root_with_Restore_by_Bin4ry_v9_4) have only two choices. The new version (Root_with_Restore_by_Bin4ry_v31) have four choices.
I hope this can help other people with this problem.
I dont why but sometimes when i flash firmware, it gives error
Hi there! I am here needing some help with restoring my phone (after using ADB backup on Windows). Let me explain, I first needed to back up my original phone due to the fact that I needed to get it repaired via the Motorola Repair and Exchange program. And so, made an ADB backup of the original phone using this command "adb backup -apk -shared -all -f backup-file.adb". However, once I received the replacement and initiated the restore, the phone did not back up anything, even though the adb backup file was well over 7 GB. Is there any way you can help me?
So, I was trying to get an ADB Backup for a friend. He has a non rooted Galaxy Note 9, and does not plan on rooting it. He wanted to know of any way of backing up all his apps+data. After some research I found out about adb backup. Now, we downloaded the universal adb drivers from clockworkmod, ran adb devices, detected the phone with adb authorized, and ran the following command:
adb backup "-apk -shared -all"
(Need double quotes on windows. Also, if I don't set -f and put file location, it creates a .ab file on its own in the current directory.)
The backup started on my phone, and it keeps getting stuck at "Shared Storage" I tried for individual apps too and even for them it gets stuck at shared storage.
Then I removed the -shared flag, and took a backup of VLC as a test, it was successful but there was no file created on the computer. I even tried setting a file location to see if that changes anything, but nothing happened. Please help!!
Also, if this method is dead, I would like to know of any better backup tools for non rooted users which backs up data as well.
kishore1998 said:
So, I was trying to get an ADB Backup for a friend. He has a non rooted Galaxy Note 9, and does not plan on rooting it. He wanted to know of any way of backing up all his apps+data. After some research I found out about adb backup. Now, we downloaded the universal adb drivers from clockworkmod, ran adb devices, detected the phone with adb authorized, and ran the following command:
adb backup "-apk -shared -all"
(Need double quotes on windows. Also, if I don't set -f and put file location, it creates a .ab file on its own in the current directory.)
The backup started on my phone, and it keeps getting stuck at "Shared Storage" I tried for individual apps too and even for them it gets stuck at shared storage.
Then I removed the -shared flag, and took a backup of VLC as a test, it was successful but there was no file created on the computer. I even tried setting a file location to see if that changes anything, but nothing happened. Please help!!
Also, if this method is dead, I would like to know of any better backup tools for non rooted users which backs up data as well.
Click to expand...
Click to collapse
I don't want any root solutions like titanium backup. I just want to know why it doesn't fully backup. Is it possible that google disabled this feature from android oreo onwards? Or is it because the drivers I installed was not correct? Please help.
The phone is an unrooted Moto G7 running android 9 (pie).
I'm trying to get an adb backup to my windows 10 laptop. I've done that successfully in the past but now when I enter
'adb backup -all'
In an administrator command prompt I get
'Now unlock your device and confirm thr backup operation '.
I recall seeing a screen asking me to allow the backup to proceed but this timr it is nowhere to be found. What to do?
I tried going to android settings but as you can see in the screenshot, I cannot watch control or the options are grayed out.
What am I doing wrong? Thank you.
maybeme2 said:
The phone is an unrooted Moto G7 running android 9 (pie).
I'm trying to get an adb backup to my windows 10 laptop. I've done that successfully in the past but now when I enter
'adb backup -all'
In an administrator command prompt I get
'Now unlock your device and confirm thr backup operation '.
I recall seeing a screen asking me to allow the backup to proceed but this timr it is nowhere to be found. What to do?
I tried going to android settings but as you can see in the screenshot, I cannot watch control or the options are grayed out.
What am I doing wrong? Thank you.
Click to expand...
Click to collapse
Nobody offered to help. So in case someone else is frustrated like me here is what worked for me. Quotations and -f.
Example:
adb backup "-apk -shared -all -f"
works. Note the 2 " and the -f
This also works
adb backup "-apk -shared -all -f E:\path\backup.ab"
I hope this helps someone else.