{"id":671,"date":"2019-07-15T18:59:44","date_gmt":"2019-07-15T17:59:44","guid":{"rendered":"http:\/\/hamsterhirn.de\/?p=671"},"modified":"2019-07-28T19:07:17","modified_gmt":"2019-07-28T18:07:17","slug":"how-to-make-a-full-adb-backup-with-a-broken-android-phone-screen","status":"publish","type":"post","link":"https:\/\/hamsterhirn.de\/index.php\/2019\/07\/how-to-make-a-full-adb-backup-with-a-broken-android-phone-screen\/","title":{"rendered":"How to make a full adb backup with a broken android phone screen"},"content":{"rendered":"\n<p>With a broken screen and not a absolutely up to date backup I wanted a complete backup with everything to the latest.<br>I was able to unlock my phone with my fingerprint but couldn&#8217;t see anything besides a black screen. <br>Searching for a tool to backup I found a <a rel=\"noreferrer noopener\" aria-label=\" (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/www.jsmtech.org\/blog\/posts\/backup-your-phone-titanium\/?page=2\" target=\"_blank\">blog post<\/a> that helped a lot because I also wanted to use Titanium Backup to restore apps and other data. The command is:<br><code>.\\adb.exe backup -f FullBackup.ab -apk -all<\/code><br>(oh my, am I happy to have usb debugging enabled already)<\/p>\n\n\n\n<p>Update 2019-07-28:<br>Not that easy with the adb Backup. The restore didn&#8217;t work with the backup I made above.<br>Searching for answers I found a post on <a rel=\"noreferrer noopener\" aria-label=\"stackoverflow (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/stackoverflow.com\/a\/50467367\/3231975\" target=\"_blank\">stackoverflow<\/a> that explains a bit more on how to verify a adb backup. I haven&#8217;t tried it and my backup is encrypted so I propably should try  <a href=\"https:\/\/github.com\/nelenkov\/android-backup-extractor\">https:\/\/github.com\/nelenkov\/android-backup-extractor<\/a> <br><a href=\"https:\/\/lyubomyr-shaydariv.github.io\/posts\/2016-08-27-when-android-backup-and-restore-tools-may-fail\/\">https:\/\/lyubomyr-shaydariv.github.io\/posts\/2016-08-27-when-android-backup-and-restore-tools-may-fail\/<\/a> <br>Also Titanium Backup didn&#8217;t work. Fuck Android and their backup\/restore capabilities.<\/p>\n\n\n\n<p>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<br><code>.\\adb.exe shell input text <password><\/code><br>and selecting the &#8222;start backup&#8220; button with two tabs:<br><code>.\\adb.exe shell input keyevent 61<\/code><br><code>.\\adb.exe shell input keyevent 61<\/code><br>and finally &#8222;press&#8220; enter with:<br><code>.\\adb.exe shell input keyevent 66<\/code><br>(more keyevents can be found <a rel=\"noreferrer noopener\" aria-label=\"here (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/stackoverflow.com\/a\/8483797\" target=\"_blank\">here<\/a>)<\/p>\n\n\n\n<p>Later I found a java tool called <a rel=\"noreferrer noopener\" aria-label=\"AndroidScreencast (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/xsavikx.github.io\/AndroidScreencast\/\" target=\"_blank\">AndroidScreencast<\/a> 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 \ud83d\ude42<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;t see anything besides a black screen. Searching for a tool to backup I found a blog post that helped a lot because [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[341,234,340,343,342,344,345],"class_list":["post-671","post","type-post","status-publish","format-standard","hentry","category-it","tag-adb","tag-android","tag-broken-screen","tag-full-backup","tag-root","tag-titanium-backup","tag-without-touchscreen"],"_links":{"self":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts\/671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":8,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":680,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/posts\/671\/revisions\/680"}],"wp:attachment":[{"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hamsterhirn.de\/index.php\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}