Category Archives: Uncategorized

Sideloading apps

While attempting to assist someone with getting apps loaded onto a Android TV Stick,  I ran into a slight problem.  A parental control pin was enabled, and I had no way of immediately getting in touch with the person.  In app configuring couldn’t be done without the pin, since the app wouldn’t launch without asking.  After some hunting to try to locate where the system stores whether the app has launched before, I had an idea.  Go in through adb, and try launching from the shell.  Lo and behold it worked, but still wouldn’t launch afterwards from the gui.  Doesn’t matter to me as the owner knows the PIN code.  I got what I needed to do done, and confirmed everything was working.  If anyone is interested the appropriate code to launch it through adbFire was located here.    A little massaging was needed since we already had an adb shell through adbFire, and voilà.  The app runs without a pin code.  Not an elegant solution since we need adb access to allow it to run every time without the PIN, but it’s functional for my needs.   As far as massaging the command, it was as simple as dropping “adb shell” from  the beginning.