Fire Stick - ADB Sideload VIA USB - Successfully installed Firefox and Kodi - Fire TV Themes and Apps

Hello,
So i've seen many threads regarding sideloading the new Amazon TV Fire Stick. All of these threads involved connecting to the device over a wifi network... Well that is a problem in my current situation.
And when connecting to the hospital open Wifi you have to accept the terms and conditions before you can get to the outside world. This is an issue as I am unable to connect to the fire stick over the wifi to perform a sideload.
Everything I have read so far says you CAN NOT sideload via the USB port on the fire stick. This is incorrect. I was able to successfully sideload, install, and run Firefox and Kodi.
Both apps show up in the same place as other side loaded apps (done via the wifi adb software that is floating around the forums).
Below is a dump from the Fire Stick before and after sideloading with the factory usb cable and nothing else, while connected to my laptop.
Only apk that had been sideloaded before (via Wifi at home) was the PlexApp
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb shell
[email protected]:/ $ pm list packages -3 -f
pm list packages -3 -f
package:/data/app/com.aetn.aetv.watch-1.apk=com.aetn.aetv.watch
package:/data/app/com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e-1.apk=com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e
package:/data/app/com.amz.games505.Terraria-1.apk=com.amz.games505.Terraria
package:/data/app/com.netflix.ninja-1.apk=com.netflix.ninja
package:/data/app/com.plexapp.android-2.apk=com.plexapp.android
package:/data/app/com.plexapp.plex-1.apk=com.plexapp.plex
package:/data/app/org.xbmc.xbmc-1.apk=org.xbmc.xbmc
[email protected]:/ $ exit
exit
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb install Firefox_28.0.1.apk
5182 KB/s (26803835 bytes in 5.051s)
pkg: /data/local/tmp/Firefox_28.0.1.apk
Success
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb shell
[email protected]:/ $ pm list packages -3 -f
pm list packages -3 -f
package:/data/app/com.aetn.aetv.watch-1.apk=com.aetn.aetv.watch
package:/data/app/com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e-1.apk=com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e
package:/data/app/com.amz.games505.Terraria-1.apk=com.amz.games505.Terraria
package:/data/app/com.netflix.ninja-1.apk=com.netflix.ninja
package:/data/app/com.plexapp.android-2.apk=com.plexapp.android
package:/data/app/com.plexapp.plex-1.apk=com.plexapp.plex
package:/data/app/org.mozilla.firefox-1.apk=org.mozilla.firefox
package:/data/app/org.xbmc.xbmc-1.apk=org.xbmc.xbmc
[email protected]:/ $ exit
exit
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb install kodi-14.0-Helix-armeabi-v7a.apk
5687 KB/s (62327277 bytes in 10.702s)
pkg: /data/local/tmp/kodi-14.0-Helix-armeabi-v7a.apk
Success
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb shell
[email protected]:/ $ pm list packages -3 -f
pm list packages -3 -f
package:/data/app/com.aetn.aetv.watch-1.apk=com.aetn.aetv.watch
package:/data/app/com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e-1.apk=com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e
package:/data/app/com.amz.games505.Terraria-1.apk=com.amz.games505.Terraria
package:/data/app/com.netflix.ninja-1.apk=com.netflix.ninja
package:/data/app/com.plexapp.android-2.apk=com.plexapp.android
package:/data/app/com.plexapp.plex-1.apk=com.plexapp.plex
package:/data/app/org.mozilla.firefox-1.apk=org.mozilla.firefox
package:/data/app/org.xbmc.kodi-1.apk=org.xbmc.kodi
package:/data/app/org.xbmc.xbmc-1.apk=org.xbmc.xbmc
[email protected]:/ $ exit
exit
I did this because I needed a browser to accept the terms and conditions on the fire stick after connecting to the open hospital wifi, which I used FireFox for. At this time I am un aware of any built in web browser included on the stick.
So it IS possible to install .apk files via adb USB. If anyone says other wise I would say they are incorrect... both apps installed successfully and run perfectly on the FireStick.
Current version I am running is 54.1.02_user_102018720

Stealthy_C said:
Hello,
So i've seen many threads regarding sideloading the new Amazon TV Fire Stick. All of these threads involved connecting to the device over a wifi network... Well that is a problem in my current situation.
And when connecting to the hospital open Wifi you have to accept the terms and conditions before you can get to the outside world. This is an issue as I am unable to connect to the fire stick over the wifi to perform a sideload.
Everything I have read so far says you CAN NOT sideload via the USB port on the fire stick. This is incorrect. I was able to successfully sideload, install, and run Firefox and Kodi.
Both apps show up in the same place as other side loaded apps (done via the wifi adb software that is floating around the forums).
Below is a dump from the Fire Stick before and after sideloading with the factory usb cable and nothing else, while connected to my laptop.
Only apk that had been sideloaded before (via Wifi at home) was the PlexApp
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb shell
[email protected]:/ $ pm list packages -3 -f
pm list packages -3 -f
package:/data/app/com.aetn.aetv.watch-1.apk=com.aetn.aetv.watch
package:/data/app/com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e-1.apk=com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e
package:/data/app/com.amz.games505.Terraria-1.apk=com.amz.games505.Terraria
package:/data/app/com.netflix.ninja-1.apk=com.netflix.ninja
package:/data/app/com.plexapp.android-2.apk=com.plexapp.android
package:/data/app/com.plexapp.plex-1.apk=com.plexapp.plex
package:/data/app/org.xbmc.xbmc-1.apk=org.xbmc.xbmc
[email protected]:/ $ exit
exit
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb install Firefox_28.0.1.apk
5182 KB/s (26803835 bytes in 5.051s)
pkg: /data/local/tmp/Firefox_28.0.1.apk
Success
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb shell
[email protected]:/ $ pm list packages -3 -f
pm list packages -3 -f
package:/data/app/com.aetn.aetv.watch-1.apk=com.aetn.aetv.watch
package:/data/app/com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e-1.apk=com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e
package:/data/app/com.amz.games505.Terraria-1.apk=com.amz.games505.Terraria
package:/data/app/com.netflix.ninja-1.apk=com.netflix.ninja
package:/data/app/com.plexapp.android-2.apk=com.plexapp.android
package:/data/app/com.plexapp.plex-1.apk=com.plexapp.plex
package:/data/app/org.mozilla.firefox-1.apk=org.mozilla.firefox
package:/data/app/org.xbmc.xbmc-1.apk=org.xbmc.xbmc
[email protected]:/ $ exit
exit
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb install kodi-14.0-Helix-armeabi-v7a.apk
5687 KB/s (62327277 bytes in 10.702s)
pkg: /data/local/tmp/kodi-14.0-Helix-armeabi-v7a.apk
Success
E:\android-sdk_r23.0.2-windows\android-sdk-windows\platform-tools>adb shell
[email protected]:/ $ pm list packages -3 -f
pm list packages -3 -f
package:/data/app/com.aetn.aetv.watch-1.apk=com.aetn.aetv.watch
package:/data/app/com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e-1.apk=com.amazon.rialto.cordova.webapp.webapp1b91d8bc296c4484bf93111a477fe10e
package:/data/app/com.amz.games505.Terraria-1.apk=com.amz.games505.Terraria
package:/data/app/com.netflix.ninja-1.apk=com.netflix.ninja
package:/data/app/com.plexapp.android-2.apk=com.plexapp.android
package:/data/app/com.plexapp.plex-1.apk=com.plexapp.plex
package:/data/app/org.mozilla.firefox-1.apk=org.mozilla.firefox
package:/data/app/org.xbmc.kodi-1.apk=org.xbmc.kodi
package:/data/app/org.xbmc.xbmc-1.apk=org.xbmc.xbmc
[email protected]:/ $ exit
exit
I did this because I needed a browser to accept the terms and conditions on the fire stick after connecting to the open hospital wifi, which I used FireFox for. At this time I am un aware of any built in web browser included on the stick.
So it IS possible to install .apk files via adb USB. If anyone says other wise I would say they are incorrect... both apps installed successfully and run perfectly on the FireStick.
Current version I am running is 54.1.02_user_102018720
Click to expand...
Click to collapse
There have been a few threads where people discussed using adb over usb on the stick. It's the original Fire TV that doesn't work over USB.

Doh! Well that's good to know. Question... I've loaded up the settings.apk, FireFox and Chrome. Paired a BT keyboard but have yet to find a way to scroll down. Any suggestions? And now after pairing a BT keyboard and my cellphone (which I can't seem to get working correctly) I'm using the PRemoteDroid app, what should I put in for the password? leave it blank? I don't recall seeing a PIN for when I paired my phone. And now the settings.apk crashes each time I run it and select BlueTooth. I've cleared the cache, uninstalled, reinstalled etc. still the same. I'm not in the position right now to do a factory reset on my FireStick. I just need to be able to scroll down the page web page so I can accept the damn hospital terms and conditions for their wifi... A friend is bringing me a PS3 controller tomorrow. But am afraid since settings.apk continues to crash I don't think i'll be able to pair a new device.
I am open to suggestions.

It also needs to be a Bluetooth app. Since I can't access the FireStick over Wifi, even while on the same network. for obvious reasons the hospital has it locked down etc..

Stealthy_C said:
Doh! Well that's good to know. Question... I've loaded up the settings.apk, FireFox and Chrome. Paired a BT keyboard but have yet to find a way to scroll down. Any suggestions? And now after pairing a BT keyboard and my cellphone (which I can't seem to get working correctly) I'm using the PRemoteDroid app, what should I put in for the password? leave it blank? I don't recall seeing a PIN for when I paired my phone. And now the settings.apk crashes each time I run it and select BlueTooth. I've cleared the cache, uninstalled, reinstalled etc. still the same. I'm not in the position right now to do a factory reset on my FireStick. I just need to be able to scroll down the page web page so I can accept the damn hospital terms and conditions for their wifi... A friend is bringing me a PS3 controller tomorrow. But am afraid since settings.apk continues to crash I don't think i'll be able to pair a new device.
I am open to suggestions.
Click to expand...
Click to collapse
To fix the settings.apk crashing problem, you need to factory reset the fire TV stick. It will work again to pair Bluetooth devices but will again start crashing after some days. So if it's easy for you to restore your changes, then just factory reset it and get the settings apk to work again.
Sent from Samsung Galaxy Mega 6.3

Adb shell input keyevent 66 (command allows you to control and navigate firestick, command # 66 is entering and I believe 21 and 22 are left and right

Related

MAC address unavailable, tried everything but still... T_T

Hello,
Bought my kindle fire year ago,
Just up to jelly beans: http://forum.xda-developers.com/showthread.php?t=1778010 :highfive:
worked perfectly in 2 days, then my wifi stopped working, I cannot turn it on, it showed: Wifi MAC address unavailable
I went panic, flashed to every roms I could find: CM9 gede rom, hellfire, CM7 kang,................
still no use. every times I checked, it still show mac address unavailable :crying:
right now I use the original rom, 6.3.1, downloaded form amazon, but .......:crying:
I tried every tips and tricks I found in the forum: some mac-.... command, rename some kind of file (the orig file I don't remember its name), put the wlan-loader file into it,.....etc
still unavailable :crying:
what should I do now, it's my dad's fire and he gonna burn my ass if I won't fix it soon:crying:
help me please
Use idme command to set mac address
If you can get to a point where you can run a terminal emulator on the KF in superuser mode, you can type the command
Code:
idme \?
. What you see in response should include a line like:
Code:
mac 0x0030 [I] hhhhhhhhhhhh[/I]
where hhhhhhhhhhhh is replaced by a string of 12 hex digits. If you see something else there, or nothing, your Kindle doesn't have a mac address. (Even if you do have a twelve-digit hex string here, it may be a bad one.) You can give the fire a hopefully-good mac address by typing the command:
Code:
idme mac F0A22563[I]hhhh[/I]
where I chose 'F0A22563' because it is the start of one of my mac addresses and the last four hex digits can be anything, I think.
If you can't get a terminal emulator running on your KF, you can do the same thing using adb or fastboot on your computer with the Fire attached, but I'm much too tired to get into that right now.
Wi-Fi MAC Address: Unavailable
I tried various ROMs even stock ROM but I cannot get my Wi-Fi to work. I am on the same boat as tungnq, I even tried aarons510 solution with a terminal emulator but still the Wi-Fi MAC Address is Unavailable. I dont have any wifi configuration on my /system and /data. I cannot even find the file wpa_supplicant.conf. When I connect the Kindle to KFU, the wireless chip gets detected in the device manager as WAN MiniPort. So I think the WIreless chip is working but has it drivers deleted or corrupted. Please someone help me out with my current predicament.
Current ROM: Energy.7.31.2012.Kindle.Fire.CM9.ICS
Kindle Fire Model: D01400
I have the same problem. Can anyone show the way to fix?
Thanks
I run a terminal emulator on the KF. Command: idme \?
It shows can not open so that I can change the Mac address
Pls, tell how I can run it.
vinhntna608 said:
It shows can not open so that I can change the Mac address
Click to expand...
Click to collapse
What exactly does that mean? Are you saying the command 'idme \?' doesn't work for you?
"That's a special kind of stupid. The kind that makes me laugh."
soupmagnet said:
What exactly does that mean? Are you saying the command 'idme \?' doesn't work for you?
"That's a special kind of stupid. The kind that makes me laugh."
Click to expand...
Click to collapse
It shows that
Could not open /dev/block/mmcb1k0!
Can't read the idme.
So I can't change the Wifi Mac Address
vinhntna608 said:
It shows that
Could not open /dev/block/mmcb1k0!
Can't read the idme.
So I can't change the Wifi Mac Address
Click to expand...
Click to collapse
I don't know why it would say " Could not open /dev/block/mmcblk0" from entering the idme command. Can you post a screenshot?
"That's a special kind of stupid. The kind that makes me laugh."
This is from Terminal emulator running in superuser mode
Code:
[email protected]:/ # idme print
Reading idme data ...
version: 1.3
boardid: 807xxxx000000000
serial: D026A0A024xxxxxx
mac: E0CB1Dxxxxxx
sec: E9EPCF5OHIJFRP7UB6FD
bt:
pid:
pid2:
bootmode: 1
postmode: -
[email protected]:/ #
I've tried to change the wpa_supplicant.conf and figured out that ctrl_interface=wlan0 not tiwlan0. I've change it to tiwlan0 but then it was back to wlan0. I don't know why but I guess that makes my Mac address unvailable. How can I fix it?
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
10|[email protected]:/ # chmod 777 /data/misc/wifi/wpa_supplicant.conf
[email protected]:/ # cat /data/misc/wifi/wpa_supplicant.conf
update_config=1
[B]ctrl_interface=tiwlan0
[/B]
10|[email protected]:/ # chmod 755 /system/bin/wpa_supplicant
10|[email protected]:/ # chown system.wifi /data/misc/wifi/wpa_supplicant.conf
[email protected]:/ # cat /data/misc/wifi/wpa_supplicant.conf
update_config=1
[B]ctrl_interface=wlan0
[/B]
I have the same problem. Wi-Fi is grayed out. I cant turn it ON.
Installed v 6.3.2 Amazon pure stock software (unrooted) and when i go to settings / device wi-fi mac address shows as unavailable.
Tried changing Wi-Fi file in data/misc/wi-fi and didnt work, factory defaults reset didnt work, 20 sec pwr button reset did not work.
the idme \? shows the MAC address
idme mac XXXXXXXXXXXX changed the wi-fi mac address but the problem remains the same.
What else to do ?
same wifi and bluetooth issue
HEy iam having wifi and bletooth issue with this mod...
it says turning on wlan or bluetooth but takes forever and never turns on..
estored backup but nothing change problem still present....
in wifi and bluetooth mac adresses it is saying unavailable
Ernst tignedhe
I had this same issue and was able to solve it. In an attempt to put TWRP on my Kindle Fire HD, I broke the wireless.
These were the steps I followed: http://forum.xda-developers.com/showthread.php?t=2128848
The issue arises from flashing the incorrect boot version (kfhd7-freedom-boot-7.4.6.img). You have to use the version applicable to your OS, not simply the 7.4.6 version. Google for HashCode's goo.im page for the Tate device to find other versions.
fixed
tungnq said:
Hello,
Bought my kindle fire year ago,
Just up to jelly beans: http://forum.xda-developers.com/showthread.php?t=1778010 :highfive:
worked perfectly in 2 days, then my wifi stopped working, I cannot turn it on, it showed: Wifi MAC address unavailable
I went panic, flashed to every roms I could find: CM9 gede rom, hellfire, CM7 kang,................
still no use. every times I checked, it still show mac address unavailable :crying:
right now I use the original rom, 6.3.1, downloaded form amazon, but .......:crying:
I tried every tips and tricks I found in the forum: some mac-.... command, rename some kind of file (the orig file I don't remember its name), put the wlan-loader file into it,.....etc
still unavailable :crying:
what should I do now, it's my dad's fire and he gonna burn my ass if I won't fix it soon:crying:
help me please
Click to expand...
Click to collapse
if u have rooted phone turn off wifi and look for two files named .mac.info
delete them and do dalvik wipe. this worked for me!
aarons510 said:
If you can get to a point where you can run a terminal emulator on the KF in superuser mode, you can type the command
Code:
idme \?
. What you see in response should include a line like:
Code:
mac 0x0030 [I] hhhhhhhhhhhh[/I]
where hhhhhhhhhhhh is replaced by a string of 12 hex digits. If you see something else there, or nothing, your Kindle doesn't have a mac address. (Even if you do have a twelve-digit hex string here, it may be a bad one.) You can give the fire a hopefully-good mac address by typing the command:
Code:
idme mac F0A22563[I]hhhh[/I]
where I chose 'F0A22563' because it is the start of one of my mac addresses and the last four hex digits can be anything, I think.
If you can't get a terminal emulator running on your KF, you can do the same thing using adb or fastboot on your computer with the Fire attached, but I'm much too tired to get into that right now.
Click to expand...
Click to collapse
When I do the idme \? command in the KF terminal, with SU, it says "idme not found." What does this mean? I am trying to change the MAC address as I made a mistake earlier

IP / REST API for controlling Fire TV?

There does not seem to be an official documented API to send commands to the Fire TV via IP. The interface obviously exists and is used by the Fire TV Remote app. Does anybody know how to control the Fire TV via IP?
attunezero said:
There does not seem to be an official documented API to send commands to the Fire TV via IP. The interface obviously exists and is used by the Fire TV Remote app. Does anybody know how to control the Fire TV via IP?
Click to expand...
Click to collapse
I need the same thing so I can control it via Tasker. Unfortunately, communication is encrypted and far from simple (I sniffed the traffic with IP captcher)
djsvetljo said:
I need the same thing so I can control it via Tasker. Unfortunately, communication is encrypted and far from simple (I sniffed the traffic with IP captcher)
Click to expand...
Click to collapse
Well you could try decompiling the android apk and see if you can figure out what it's doing.
rbox said:
Well you could try decompiling the android apk and see if you can figure out what it's doing.
Click to expand...
Click to collapse
Unfortunately, my programming skills end with block diagrams, Tasker at most.
---------- Post added at 04:46 PM ---------- Previous post was at 04:42 PM ----------
BTW, do you know someone that knows SMALI? I need another app that needs a very simple change - doubling the output of one function. I was able to de-compile and find the function in .java but i can't compile it back to class/.smali (a friend of my helped me on this a bit).
Hi,
I am also interested in ip control for the Fire TV. So are there any news on this topic?
Thanks,
Wolfgang
If anyone is still interested it can be controlled by sending keyevents via adb. adb debugging must be enabled on the firetv and adb must be connected then you can send commands like so:
adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
A list of keycodes can be found here: developer dot amazon dot com/docs/fire-tv/remote-input.html#input-event-reference
I believe you can also find commands to start apps and things too.
despian said:
If anyone is still interested it can be controlled by sending keyevents via adb. adb debugging must be enabled on the firetv and adb must be connected then you can send commands like so:
adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
A list of keycodes can be found here: developer dot amazon dot com/docs/fire-tv/remote-input.html#input-event-reference
I believe you can also find commands to start apps and things too.
Click to expand...
Click to collapse
Can you connect to ADB via network (wifi) ?
https://forum.xda-developers.com/fire-tv/themes-apps/windows-app-simple-adb-remote-t2898206
TimmyP said:
https://forum.xda-developers.com/fire-tv/themes-apps/windows-app-simple-adb-remote-t2898206
Click to expand...
Click to collapse
It looks like it will be hard to implement via Tasker (which is what I needed in first place). Controlling mine with Harmony and Tasker Plugin for Harmony
djsvetljo said:
Can you connect to ADB via network (wifi) ?
Click to expand...
Click to collapse
Of course.
Code:
adb connect IP_of_your_FireTV
https://forum.xda-developers.com/fi...adb-remote-t2898206/post55882391#post55882391
djsvetljo said:
Can you connect to ADB via network (wifi) ?
Click to expand...
Click to collapse
Yes, that was my point. Sorry, thought that was implied.
I wrote this shell script to make sending the commands a bit easier. I use it in OpenHAB to control my FireTV via my home automation system Maybe somebody else might find it useful.
Code:
#!/bin/bash
# script to execute a comand on a fire tv via adb
# $1 : ip or hostname and connection port of firetv e.g. Snug-FireTV:5555
# $2 : command to execute
# array of available commands
declare -A COMMANDS=(
["UP"]="19"
["DOWN"]="20"
["LEFT"]="21"
["RIGHT"]="22"
["ENTER"]="66"
["BACK"]="4"
["HOME"]="3"
["MENU"]="KEYCODE_MENU"
["PLAYPAUSE"]="85"
["PREVIOUS"]="88"
["NEXT"]="87"
["WAKE"]="KEYCODE_POWER"
)
if [[ ! -z $1 && ${COMMANDS[$2]+_} ]]; then
# check for existing connection and create new if none found
CON=$(adb devices | grep $1 -c -i)
if [ $CON -eq 0 ]; then
adb connect $1
fi
# execute command
adb -s "$1" shell input keyevent "${COMMANDS[$2]}"
fi

Test Infrared

Hi there,
upon installation of a new TV and reprogramming the remote it seems that I cant control my Android TV shield anymore via Infrared.
Is there a way to test if the commands arrive?
I don't want to root my device.
In linux there was irw but I have no clue if it will work under Android .
Thanks in advance
Guy
Sounds to me like the problem lies with the Remote. If this were a Harmony Remote, then the answer would be as simple as telling you to redownload, and install the correct Shield TV Profile again.
But, for personal interest sake is this a 2015, 2017 16Gb or the Pro? 'Cause the new '17 Slim & Lite Shield TV does it like S0NY, and removed it to cut it's costs. So by that matric it couldn't work.
But, if I wanted to somehow diagnose this on a Command Line. I think I would do it something like this: (Note you will need a Laptop, or PC. Perhaps a Phablet with Android Terminal might even work)
Code:
$ adb devices
- to see if the Shield turns up. (Note: You will of course need to enable the Developer Settings, and turn ADB on first.)
Code:
$ su
- You may or may not need this but, to be S(uper)U(ser), you have to be root.
Code:
$ adb shell
- With this you now access the Shield (Or, other 'Droid type Boxen) On the command line leve!.
At which point you type this:
Code:
$ cat /proc/kmsg | grep -v -e CTS_ -e 'need set max' -e gpufre
- Which should start a running log. Now this may well be too busy, the first time you run it. 'Causing you to quickly swipe command + c to break it. But, on the second attempt it should be stable enough to show you any 'raw' inputs it receiving over the IR.

Remove/delete unwanted thumbnails & programs and/or change the default Home page

These annoying, unwanted thumbnail/posters that clutter the Home page;
Music, Prime Photos & Amazon Freetime
for starters, how can I get rid of those,
or
Better yet, make Kodi the Home page w/o the two annoying button presses to get rid of all that Amazon crap? Can the actual program files be deleted?
you can install adb link on your pc to easy install tvlauncher app and launcherhijack3 app
copy and paste this batch script in notepad and save as .bat file:
timeout -t 1
adb install "LauncherHijack3.apk"
adb install "tvlauncher.apk"
adb shell am start -n com.baronkiko.launcherhijack/.MainActivity
timeout -t 3
adb shell input keyevent 23
timeout -t 1
adb shell input keyevent 23
timeout -t 1
adb shell am start -n com.awe.dev.pro.tv/ .Launcher
This is from somebody else posted here and now can't find anymore.
It will access Launcher TV app by pressing your remote Home button with No ads .
That works on any Amazon device or F/W version? I have Fire TV 2 (not that silly 'stick') and v5.2.6.0
That doesn't affect Kodi does it?
this script is s just a cheat to trick the box instead opening the original home it will open tv launcher (google it to see what it looks like).
You can have all your favorite app (including kodi) in one screen with no ads. (looks like apple box menu).
you can use on any of the amazon device no root required.
I don't know why they removed the original tread in this forum.
These three posters/thumbnails (whatever they are called), there isn't a way to remove/delete/uninstall these? Are they too deeply embedded into Amazon's F/W?? I was trying to avoid adding/installing more programs that seem to already exist.

Philips ADB Commands for HDMI1-4 with Buttonmapper ?

Hello.After last update on my 65PSU with AndroidTV 9.0 , its not anymore possible to switch directly to HDMI1 or HDMI2 via IR Codes from my Remote (RCOID app Android).
I tryed with Buttonmapper and Kecodes from here : https://elementalx.org/button-mapper/android-key-codes/
But i have no luck because the important one HDMI-1 to HDMI-4 are not activated on TV....
After long search i found a thread where you can per ADB command switch to HDMI-1 HDMI-4 directly via command :
Original Thread found here : https://community.home-assistant.io/t/android-tv-hdmi/234411/27
So i installed adb remote on myphone and testet this command ....and it works like a charm with my philips TV.
Code:
adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000
HW5 = HDMI1
HW6 = HDMI2
HW7 = HDMI3 and so on....
is it possible with buttonmapper to send this ADB codes that i can remap my buttons to direct HDMI switcher buttons on my remote ?
i tryed with buttonmapper §shell
but shell doesnt work....i am linux newbeee.... perhaps someone can help to get this work....
I am searching for this as well. I am now trying via termux + termux widget add-on. I am connected to my TV over ADB in termux. I am not getting to switch to an HDMI port yet.
Switch to HDMI 1: should be possible like this but no succes yet
adb shell input keyevent KEYCODE_F6
After this the next goal is a short script that can be started from a widget icon on my phone's homescreen or even from my TV's remote control with button mapper
The android Keycodes didnt work for me.
but the code above in my 1 Post did Work via remote adb shell app on android.
its a shame that phillips deleted the option to siwtch discret hdmi1.
Has anyone found a sollution to get this working with button mapper?
adb shell input keyevent KEYCODE_F6 and
Code:
adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000
work for me from the computer.

Categories

Resources