I am unable to create a full phone backup file of my Realme 2 Pro (model RMX1801) through the ADB. The phone runs stock ColorOS 7 (Android 10). The device is not rooted and I do not want to root it. Doing that would delete my data. Also, my device hasn't had any screen-lock protection days before I ran the very first command (which is several hours amounting to few days before the original-revision of this post) and remaining wholly unchanged to the best of my knowledge till the timestamp of latest-revision.
Here's what I've tried. I launched Command prompt (cmd.exe) and ran:
C:\Users\Dell> OneDrive\Desktop\adb.exe
C:\Users\Dell> adb devices
List of devices attached
86b3470 device
At this point I started to take backup. I have tried a couple of things and I'm categorizing them now.
Attempts when I entered no backup-encryption key whatsoever
C:\Users\Dell>adb backup -all -f -nosystem C:\Users\Dell\OneDrive\Documents\RMX1801backup.ab
C:\Users\Dell>adb backup -all -f -nosystem -shared C:\Users\Dell\OneDrive\Documents\RMX1801backup.ab
Both of the commands showed on the UI that backup was taking place. But none of them created the backup file in my PC.
Attempts when I entered a backup-encryption key
C:\Users\Dell>adb backup -all -f -nosystem C:\Users\Dell\OneDrive\Documents\RMX1801backup.ab
C:\Users\Dell>adb backup -all -f -nosystem -shared C:\Users\Dell\OneDrive\Documents\RMX1801backup.ab
No change, whatsoever.
I also changed the destination path from OneDrive/Documents to OneDrive/Desktop and repeated all the above commands. That did not work either.
Attempts with double-quotes
C:\Users\Dell>adb backup "-f -all -nosystem C:\Users\Dell\OneDrive\Desktop\RMX1801backup.ab"
C:\Users\Dell>adb backup "-f -all -nosystem -shared C:\Users\Dell\OneDrive\Desktop\RMX1801backup.ab"
Did not work.
Changed double quotes position
C:\Users\Dell>adb backup "-f -all -nosystem" C:\Users\Dell\OneDrive\Documents\RMX1801backup.ab
C:\Users\Dell>adb backup "-f -all -shared -nosystem" C:\Users\Dell\OneDrive\Documents\RMX1801backup.ab
C:\Users\Dell>adb backup -f "-all -nosystem -shared" C:\Users\Dell\OneDrive\Desktop\RMX1801backup.ab
C:\Users\Dell>adb backup -f "-all -nosystem -shared" C:\Users\Dell\OneDrive\Desktop\RMX1801backup.ab
Here's what happened in the case of double-quoted commands: All of the ones ending the double-quotes before the backup file's path appeared to have started the backup process but it did not create the backup file either. The duration of the backup process in the UI was also incredibly shorter, aka literally instantaneous, in these attempts.
As asked in the comments, the versions of adb are produced below:
C:\Users\Dell>adb version
Android Debug Bridge version 1.0.41
Version 33.0.3-8952118
Installed as C:\Users\Dell\OneDrive\Desktop\platform-tools\adb.exe
C:\Users\Dell>adb shell adbd --version
- daemon not running; starting now at tcp:5037
- daemon started successfully
/system/bin/sh: adbd: inaccessible or not found
C:\Users\Dell>adb devices
List of devices attached
86b3470 device
C:\Users\Dell>adb shell
RMX1801:/ $ adbd --version
/system/bin/sh: adbd: inaccessible or not found
127|RMX1801:/ $
here are the [hitherto] unsolicited screencaps/screengrabs/screenshots:
adb backup
command your phone display has to be on and the phone has to be unlocked, otherwise you won't recognize the screen that is shown where you have to enter the backup password. Anyway for checking if backup works correctly useadb shell
and then execute the backup commands locally on the phone using thebu
command instead ofadb backup
. This way you will get all [error] messagesbu
outputs. See also https://android.stackexchange.com/q/231235/2241 – Robert Jan 22 '23 at 17:18adb shell
part) in the original-post/"question". It has been added belatedly since I felt it was too concise enough, that it may end-up prolly giving wrong idea of my experience; especially for the target-audiences. – maazkalim Jan 22 '23 at 17:50adb shell
sub didn't return with an error — in fact, it didn't even execute the "Full Backup" [G]UI on my phone, no matter variables. – maazkalim Jan 24 '23 at 08:24adb logcat
in a second cmd window. I once had a device where the manufacturer pushed a ROM with a defectbu
version thusadb backup
wasn't functional at all. I could see it onadb logcat
where the stack trace of the error always appeared after executing anadb backup
command. – Robert Jan 24 '23 at 08:40adb.exe
files within the same root-folder. But I dunno whether it's an enigma for computing-based machines supposedly more compliant with binaries than the rest of universe or myself inadvertently causing it by opening the folder fromplatform-tools
out of sheer frustration. But the directly-accessible file has gone corrupt, givesAccess is denied.
incmd
with the same warning from MSW10 when I try opening it manually. That is why I had to rely on that 32-bit ver. – maazkalim Jan 25 '23 at 12:37--dividers
2nd optional-argument, so as to make them more readable than any of my "worst" revision — to be rather considerate. From both of horizontal-sized to even vertical-sized windows. Sorry Not Sorry that I didn't opt to create a copy-pasted.txt
out of concern for your health. – maazkalim Jan 26 '23 at 01:48.txt
copy-pasted files of my prior sessions on "whatever" version-&-bits ofadb.exe
for both ofadb backup
andadb shell
-reliantbu
cds, & 3-4 more — given "his" demand to redo what I've had already tried but only-&-only withadb backup
. So.. Are those mercifully shorter-lines of text for my phone's each-&-every single gonna do the work for u? Or u would rather insist on creating a.txt
which is, frankly, not readable for average Humankind; given there's 0 indication at all that u know whatcha for. – maazkalim Jan 26 '23 at 07:58CloudBackup
through the Activity Launcher app to open this one-time only app which was successful, just not in transferring much of app-data. Since as noted in the comment below, the device-switch apps are no longer OEM-agnostic — so I already do have a variant of that app on my app which simply treats every phone as "old" be it remaining pre-installed, or you install it on some non-BBK® brands' gizmo. – maazkalim Jan 28 '23 at 00:39