SmartThings Community

Fire Tablet Setup Script for ActionTiles [BETA UPDATE 12-4-18]

dashboardhardware
actiontiles
fireos

(MacTechGenius) #190

Is it possible to run google assist…so I can say okay google?


(Arn B) #191

Lately I’ve noticed I have to restart one of my HD8’s every few weeks when LanNouner gets “laryngitis”. The other HD8 and an old Android phone just run.


(MacTechGenius) #192

Is it possible to remotely unlock the tablet on the Amazon Fire. If my motion detector -> detects motion -> unlock the tablet?


(Joe) #193

Fully browser can use motion to wake up tablet, if that’s what you mean.


(MacTechGenius) #194

But I would assume that is motion from the tablets camera? I have the camera lens covered for privacy reasons…can’t trust Android.

I was wondering if its possible to use an external motion sensor…i.e wake up the tablet if my smartthings sensor detects motion?

If not, is it possible to turn the screen completely off (and just wake up with a simple tap) instead of unlocking it.


(Joe) #195

I don’t know the answer to your first question but the answer to the second is yes. You just disable the wake on motion option and it naturally wakes on touch.


(MacTechGenius) #196

But the screen still has to stay on (even if it is running a black picture)?

Is it possible to skip the lock screen? So if I press the lock button…it will go directly to the dashboard? No need to swipe up?


(Joe) #197

As far as I know it has to stay on (but as noted can be black). I don’t know about the other ideas you mentioned.


(David Jacobs) #198

Ive never managed to lose the lock screen. It locks overnight for some reason. A simple swipe up unlocks it however I’ve never seen any definitive suggestions that keeps it unlocked.


(Arn B) #199

Assuming you are using the Fully Browser

  1. Get into settings, then scroll down and tap “Device Managment”
  2. Turn on slider “Keep Screen On”

(Aaron) #200

Keep screen on while charging in devloper setting has kept the lock screen away for two months. Screen is always on though.


(David Jacobs) #201

Im using Fully Kiosk, The screen always on option under developer settings is set to on. The screen Always on in Fully Kiosk was not checked as I am using the dimming option with the screen coming alive when the camera sees movement.
Perhaps that’s the problem? In that the only option that stops it locking is screen on 24/7


(Lynn Brittain) #202

Thanks for the script, but just to let you know, it installed launcher and google, but failed on everything else. New fire 10 2017 with Alexa.


(Arn B) #203

I have two HD8s that have been in use, aka on 100%, for the past 7 or 8 months without an issue, both have the “keep screen on” option set. One is on 24/7 at full brightness, the other dims after 10 minutes and turns bright with movement (actually camera lighting changes) or touch. The lock screen never shows except when I take the device off power.


(Ron Talley) #204

Options 1 and 2 failed on my last 3 tablets. Can’t get the ads off the lock screen now.

Will call Amazon and request they remove them. Up to 9 Fire Tablets now all running ActionTiles and Fully and working great. Also have an iPad and a couple of off brand Tablets doing the same.

Half of them are always on with dim at black (which you can clearly see that they are on) the other half are sleep until needed.

6 wall mounted!


(Robert Halley) #205

Many thanks!
This worked flawlessly on an HD8 I picked up Monday. Question I have is if I decide to do an HD10 as a second unit, is there a way to keep hands free Alexa? or will this script remove that?


(Jake Seaton) #206

Hello all, just wanted to give some insight into my experience getting this set up on my device.

I purchased an Amazon Fire 7 7th Generation that came with Fire OS 5.6 installed. Before ever seeing this thread, I set up my tablet and upgraded the OS further to 5.6.1.

I then came across this thread and wanted desperately to strip out the Amazon bloat. But on 5.6+, it wasn’t possible. I knew the only way I could do this was to downgrade the OS and risk bricking the device – a risk I was willing to take for ~$35.

First I did a complete factory reset on my device, and went through the setup again, this time following the instructions described in the post to input a bogus wifi password and then skipping the wifi setup.

Once the device was booted up, I enabled developer mode, enabled ADB debugging and enabled installation of unsigned apps. I then connected the tablet to my Mac to confirm it showed up in ADB; then turned off the device completely (held down the power button for 20 seconds), and booted into recovery (Volume Down and Power at the same time).

Once in recovery, I used the volume buttons to navigate down to the option to update over ADB. The device was now in a state waiting for the new/old OS bin to be loaded.

I used this link to download Fire OS 5.4 directly from Amazon:
https://fireos-tablet-src.s3.amazonaws.com/T0d9JQEVMMnbK0kIAcFJMOfUqo/update-kindle-55.5.7.9_user_579225620.bin

In regard to ADB, I actually use Platform Tools, which just runs from a file I unzipped on my desktop:

Using ADB, I sideloaded the bin via the command line. Here was my command line history after I unzipped Platform Tools onto my desktop:

cd /Users/YourUserName/Desktop/platform-tools
./adb sideload update-kindle-55.5.7.9_user_579225620.bin

This took a while, but it successfully downgraded the OS to 5.4, which allowed me to start stripping away the Amazon bloat. BONUS: I did not brick my device.

Once the tablet was rebooted, I was able to pull apart @aron7676’s bat and repurpose the command lines for my ADB implementation. I’m typing this out by memory, so I hope I don’t mess up any of the syntax. For example, when you get to the shell commands, I don’t recall if I had to include PM. You can try them with, and if you get an error, try them without.

./adb shell
pm uninstall -k --user 0 com.amazon.settings.systemupdates
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
pm clear --user 0 com.amazon.device.software.ota
pm clear --user 0 com.amazon.kindle.otter.oobe.forced.ota
pm clear --user 0 com.amazon.kindle.kso
pm uninstall -k -user 0 com.amazon.kindle.kso
exit
./adb reboot
./adb shell
pm uninstall -k --user 0 com.amazon.kindle
pm uninstall -k --user 0 com.audible.application.kindle
pm uninstall -k --user 0 com.amazon.tahoe
pm uninstall -k --user 0 com.amazon.platform
pm uninstall -k --user 0 com.amazon.client.metrics
pm uninstall -k --user 0 com.amazon.goodreads.kindle
pm uninstall -k --user 0 com.amazon.csapp
pm uninstall -k --user 0 com.amazon.cloud9
pm uninstall -k --user 0 com.amazon.avod
pm uninstall -k --user 0 com.amazon.weather
pm uninstall -k --user 0 com.amazon.h2settingsfortablet
pm uninstall -k --user 0 com.amazon.windowshop
pm uninstall -k --user 0 com.amazon.ags.app
pm uninstall -k --user 0 com.amazon.mp3
pm uninstall -k --user 0 com.amazon.photos.importer
pm uninstall -k --user 0 com.amazon.zico
pm uninstall -k --user 0 com.amazon.calculator
pm uninstall -k --user 0 com.android.email
pm uninstall -k --user 0 com.android.contacts
pm uninstall -k --user 0 com.amazon.dee.app
pm uninstall -k --user 0 com.amazon.kindle.cms
pm uninstall -k --user 0 com.amazon.dp.fbcontacts
pm uninstall -k --user 0 com.android.calendar
pm uninstall -k --user 0 com.amazon.venezia
pm uninstall -k --user 0 com.amazon.photos
pm uninstall -k --user 0 com.android.deskclock
pm uninstall -k --user 0 com.amazon.kindle.personal_video
pm uninstall -k --user 0 com.goodreads.kindle
pm uninstall -k --user 0 com.amazon.unifiedsharegoodreads
pm uninstall -k --user 0 com.android.downloads.iu
pm uninstall -k --user 0 com.android.music
pm uninstall -k --user 0 com.amazon.kindle.unifiedSearch
pm uninstall -k --user 0 com.amazon.webapp
pm uninstall -k --user 0 org.mopria.printplugin
pm uninstall -k --user 0 com.amazon.geo.client.maps

The next step removes the same apps for another account. You may see “Failure - not installed for 10” This is fine, and you can ignore it. It means the app is already uninstalled from the selected account.

pm uninstall -k --user 10 com.amazon.kindle
pm uninstall -k --user 10 com.audible.application.kindle
pm uninstall -k --user 10 com.amazon.tahoe
pm uninstall -k --user 10 com.amazon.platform
pm uninstall -k --user 10 com.amazon.client.metrics
pm uninstall -k --user 10 com.amazon.goodreads.kindle
pm uninstall -k --user 10 com.amazon.csapp
pm uninstall -k --user 10 com.amazon.cloud9
pm uninstall -k --user 10 com.amazon.avod
pm uninstall -k --user 10 com.amazon.weather
pm uninstall -k --user 10 com.amazon.h2settingsfortablet
pm uninstall -k --user 10 com.amazon.windowshop
pm uninstall -k --user 10 com.amazon.ags.app
pm uninstall -k --user 10 com.amazon.mp3
pm uninstall -k --user 10 com.amazon.photos.importer
pm uninstall -k --user 10 com.amazon.zico
pm uninstall -k --user 10 com.amazon.calculator
pm uninstall -k --user 10 com.android.email
pm uninstall -k --user 10 com.android.contacts
pm uninstall -k --user 10 com.amazon.dee.app
pm uninstall -k --user 10 com.amazon.kindle.cms
pm uninstall -k --user 10 com.amazon.dp.fbcontacts
pm uninstall -k --user 10 com.android.calendar
pm uninstall -k --user 10 com.amazon.venezia
pm uninstall -k --user 10 com.amazon.photos
pm uninstall -k --user 10 com.android.deskclock
pm uninstall -k --user 10 com.amazon.kindle.personal_video
pm uninstall -k --user 10 com.goodreads.kindle
pm uninstall -k --user 10 com.amazon.unifiedsharegoodreads
pm uninstall -k --user 10 com.android.downloads.iu
pm uninstall -k --user 10 com.android.music
pm uninstall -k --user 10 com.amazon.kindle.unifiedSearch
pm uninstall -k --user 10 com.amazon.webapp
pm uninstall -k --user 10 org.mopria.printplugin
pm uninstall -k --user 10 com.amazon.geo.client.maps

There were some other packages I chose to remove as well. It’s really up to you to look at the list of installed packages and make a call whether you think it’s safe to remove – I Googled a number of them to be sure I wasn’t removing something that could brick the device or otherwise make it unusable.

The next step is to install a number of APKs. To do this, I dropped the APK files from @aron7676’s zip into a directory called “apps” on my desktop.

shell settings put secure install_non_market_apps 1
exit
./adb install /Users/YourUserName/Desktop/apps/1GAM.apk
./adb install /Users/YourUserName/Desktop/apps/2GAM.apk
./adb install /Users/YourUserName/Desktop/apps/3GAM.apk
./adb install /Users/YourUserName/Desktop/apps/4GAM.apk
./adb install /Users/YourUserName/Desktop/apps/FireChrome.apk
./adb install /Users/YourUserName/Desktop/apps/6GAM.apk
./adb install /Users/YourUserName/Desktop/apps/7GAM.apk
./adb wait-for-device
./adb reboot
./adb install /Users/YourUserName/Desktop/apps/LauncherHijackV3.apk
./adb install /Users/YourUserName/Desktop/apps/Nova.apk
./adb install -r -d /Users/YourUserName/Desktop/apps/com.amazon.firelauncher.apk

We now have to move the appwidget.sh file from the root of @aron7676’s zip to a directory on the desktop; I just pasted it into the same “apps” directory I was already using.

./adb push /Users/YourUserName/Desktop/apps/appwidget.sh /storage/sdcard0/
./adb shell
appwidget grantbind --package com.teslacoilsw.launcher --user 0
am start -a android.settings.ACCESSIBILITY_SETTINGS

Accessibility Settings will now open on the tablet. Tap to enable “To detect home button press” at the bottom of the list and then return to the terminal.

monkey -p com.baronkiko.launcherhijack -c android.intent.category.LAUNCHER 1
exit
./adb wait-for-device
./adb install /Users/YourUserName/Desktop/apps/Fully_kiosk_browser_v1.21.1.apk
./adb wait-for-device
./adb install /Users/YourUserName/Desktop/apps/LANnouncer_v9.9.11.apk
./adb wait-for-device
./adb shell
settings put global stay_on_while_plugged_in 1
exit
./adb wait-for-device
./adb reboot


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #207

Great writeup, thanks!

I didn’t think this would help, as I figured that the recovery partition would have already been overwritten with the latest - locked down - OS image.


(Robert Halley) #208

I apologize if I’m just dense, but I couldn’t find the following solutions to a few issues I had. So I wanted to put the info out there incase others have run into the same.

It took some trial and error to figure out how to activate Alexa after this script ran. so I figured id assist by giving some guidance. once you have completed the script follow the steps below.

  1. Open Launcher Hijack V3
  2. Click the 3 dots in the upper right hand corner
  3. Uncheck Hide System Apps
  4. Select Fire Launcher
  5. Hit the home button and complete the tutorial.
  6. Once complete go through the above steps again, only this time you will check the Hide System Apps box and select Nova Launcher.

You now have Alexa

Also anyone interested in keeping the physical Alexa app and have run into the inability to install it from the Play store then you need to do a factory reset and run the script again. But this time you need to right click the utility.bat and select edit. The script will then open in notepad and you can remove the following from the “Remove Preloaded Apps” list:

adb\adb.exe uninstall -k --user 0 com.amazon.csapp
adb\adb.exe uninstall -k --user 0 com.amazon.dee.app

Click save and run the script as you did prior.

Good luck!


#209

David, did you ever figure this out? I am having the same problem. The lock screen on my fire7 5th gen OS v5.6.0.1 comes on everyday sometime between 1:45am and 2am but the rest of the day the lock screen never pops up. Since others are not experiencing this problem, I’m hoping there is a solution out there.