{"id":358,"date":"2021-11-15T00:33:45","date_gmt":"2021-11-15T00:33:45","guid":{"rendered":"https:\/\/randomlinuxnotes.d13.com\/?p=358"},"modified":"2021-11-15T00:33:45","modified_gmt":"2021-11-15T00:33:45","slug":"backup-install-android-app-from-adb","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=358","title":{"rendered":"backup\/install android app from adb"},"content":{"rendered":"<p>search elsewhere for how to enable developer mode, and how to enable usb debugging.<\/p>\n<pre>#then find the fullname of the app\n\n$adb shell 'pm list packages' |grep i foo\npackage:com.bar.android.foo\n\n#Then find the path to the app\n\n$ adb shell pm path com.bar.android.foo\npackage:\/data\/app\/com.bar.android.foo-asdfasdfasdfasdfasdfas==\/base.apk\n\n# then download the app\n\n$ adb pull \/data\/app\/com.bar.android.foo-asdfasdfasdfasdfasdfas==\/base.apk\n\n#then later or on another device restore the app\n\n$ adb install -r base.apk<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>search elsewhere for how to enable developer mode, and how to enable usb debugging. #then find the fullname of the app $adb shell &#8216;pm list packages&#8217; |grep i foo package:com.bar.android.foo #Then find the path to the app $ adb shell pm path com.bar.android.foo package:\/data\/app\/com.bar.android.foo-asdfasdfasdfasdfasdfas==\/base.apk # then download the app $ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[9,15,16],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-rln","tag-adb","tag-android","tag-app-backup"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}