{"id":57,"date":"2017-01-21T09:31:14","date_gmt":"2017-01-21T14:31:14","guid":{"rendered":"http:\/\/thinkleet.net\/?p=57"},"modified":"2019-03-26T12:34:51","modified_gmt":"2019-03-26T17:34:51","slug":"sideloading-apps","status":"publish","type":"post","link":"https:\/\/thinkleet.net\/index.php\/2017\/01\/21\/sideloading-apps\/","title":{"rendered":"Sideloading apps"},"content":{"rendered":"<p>While attempting to assist someone with getting apps loaded onto a Android TV Stick,\u00a0 I ran into a slight problem.\u00a0 A parental control pin was enabled, and I had no way of immediately getting in touch with the person.\u00a0 In app configuring couldn&#8217;t be done without the pin, since the app wouldn&#8217;t launch without asking.\u00a0 After some hunting to try to locate where the system stores whether the app has launched before, I had an idea.\u00a0 Go in through adb, and try launching from the shell.\u00a0 Lo and behold it worked, but still wouldn&#8217;t launch afterwards from the gui.\u00a0 Doesn&#8217;t matter to me as the owner knows the PIN code.\u00a0 I got what I needed to do done, and confirmed everything was working.\u00a0 If anyone is interested the appropriate code to launch it through adbFire was located <a href=\"https:\/\/www.reddit.com\/r\/fireTV\/comments\/4j12xf\/adb_command_to_launch_an_app\/\">here<\/a>. \u00a0\u00a0 A little massaging was needed since we already had an adb shell through adbFire, and voil\u00e0.\u00a0 The app runs without a pin code.\u00a0 Not an elegant solution since we need adb access to allow it to run every time without the PIN, but it&#8217;s functional for my needs. \u00a0 As far as massaging the command, it was as simple as dropping &#8220;adb shell&#8221; from\u00a0 the beginning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While attempting to assist someone with getting apps loaded onto a Android TV Stick,\u00a0 I ran into a slight problem.\u00a0 A parental control pin was enabled, and I had no way of immediately getting in touch with the person.\u00a0 In app configuring couldn&#8217;t be done without the pin, since the app wouldn&#8217;t launch without asking.\u00a0 &hellip; <a href=\"https:\/\/thinkleet.net\/index.php\/2017\/01\/21\/sideloading-apps\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sideloading apps<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-media-center"],"_links":{"self":[{"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":1,"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinkleet.net\/index.php\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}