How to make a full adb backup with a broken android phone screen

With a broken screen and not a absolutely up to date backup I wanted a complete backup with everything to the latest.
I was able to unlock my phone with my fingerprint but couldn’t see anything besides a black screen.
Searching for a tool to backup I found a blog post that helped a lot because I also wanted to use Titanium Backup to restore apps and other data. The command is:
.\adb.exe backup -f FullBackup.ab -apk -all
(oh my, am I happy to have usb debugging enabled already)

Update 2019-07-28:
Not that easy with the adb Backup. The restore didn’t work with the backup I made above.
Searching for answers I found a post on stackoverflow that explains a bit more on how to verify a adb backup. I haven’t tried it and my backup is encrypted so I propably should try https://github.com/nelenkov/android-backup-extractor
https://lyubomyr-shaydariv.github.io/posts/2016-08-27-when-android-backup-and-restore-tools-may-fail/
Also Titanium Backup didn’t work. Fuck Android and their backup/restore capabilities.

My phone is encrypted so the adb command asked on my phone for a password to encrypt my backup. I could enter the password with the command
.\adb.exe shell input text <password>
and selecting the „start backup“ button with two tabs:
.\adb.exe shell input keyevent 61
.\adb.exe shell input keyevent 61
and finally „press“ enter with:
.\adb.exe shell input keyevent 66
(more keyevents can be found here)

Later I found a java tool called AndroidScreencast that allowed with the help of adb to connect to my phone and cast my screen to a small window where I could use my mouse and keyboard to navigate 🙂

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.