Alternative Keyboard / Language Firestick 4k - Fire TV Q&A, Help & Troubleshooting

I checked the forums and couldn't find that this was answered. I got a Firestick 4k and want to change the on screen keyboard / language to something other than supported languages (yes I see where you can go in settings to change).
I sideloaded a keyboard app that I use on other android devices but it doesn't seem to do anything with the firestick and and an external keyboard - it's not bringing up the custom keyboard app.
Any suggestions?

smeagolheart said:
I checked the forums and couldn't find that this was answered. I got a Firestick 4k and want to change the on screen keyboard / language to something other than supported languages (yes I see where you can go in settings to change).
I sideloaded a keyboard app that I use on other android devices but it doesn't seem to do anything with the firestick and and an external keyboard - it's not bringing up the custom keyboard app.
Any suggestions?
Click to expand...
Click to collapse
there are 2 options:
1st you need to activate and set new KeyBoard via adb:
Code:
ime list
Here is the example list of installed keyboards, look at 1st line with keyboard ID:
mantis:/ $ ime list
com.amazon.tv.ime/.FireTVIME:
mId=com.amazon.tv.ime/.FireTVIME mSettingsActivityName=null mSupportsSwitchingToNextInputMethod=true
mIsDefaultResId=0x0
Service:
...
org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService:
mId=org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService mSettingsActivityName=null mSupportsSwitchingToNextInputMethod=false
mIsDefaultResId=0x0
Service:
...
Click to expand...
Click to collapse
next enable desired one and set it default:
Code:
ime enable org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
Code:
ime set org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
thats it.
2nd option is install Buttons Remapper apk and define there any key press to show Choose Keyboard dialogue. You'll can switch between keyboards from UI.

I have installed the LeanKey Keyboard_v4.3.39 on my 4k Firststick and tried to open it (in case something had to be started for this process to work)
If i type in
"ime list"
That only lists the default keyboard for me.
If i type in:
ime enable org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
i get the error "Unknown ID com.amazon.tv.ime/.FireTVIME
have you tested this yourself on a 4K firestick?

Intenti0n said:
have you tested this yourself on a 4K firestick?
Click to expand...
Click to collapse
Yes, I used both on FireTV 4K before, but "ime" part was tested on previous OS release (probably 6.2.6.3).
There is still option to enable it without root by writing secure settings, you can use companion app for it: FireTVjack.
You must grant this app permission to write secure settings via adb:
Code:
adb shell
pm grant com.amazon.fireh1jack android.permission.WRITE_SECURE_SETTINGS
pm grant com.amazon.fireh1jack android.permission.CHANGE_CONFIGURATION
pm grant com.amazon.fireh1jack android.permission.SYSTEM_ALERT_WINDOW
and reboot. It will activate LeanKey Keyboard on boot. It also have language switch for RU/UK/DE/EN language.

tsynik said:
there are 2 options:
1st you need to activate and set new KeyBoard via adb:
Code:
ime list
Here is the example list of installed keyboards, look at 1st line with keyboard ID:
next enable desired one and set it default:
Code:
ime enable org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
Code:
ime set org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
thats it.
2nd option is install Buttons Remapper apk and define there any key press to show Choose Keyboard dialogue. You'll can switch between keyboards from UI.
Click to expand...
Click to collapse
tsynik said:
Yes, I used both on FireTV 4K before, but "ime" part was tested on previous OS release (probably 6.2.6.3).
There is still option to enable it without root by writing secure settings, you can use companion app for it: FireTVjack.
You must grant this app permission to write secure settings via adb:
Code:
adb shell
pm grant com.amazon.fireh1jack android.permission.WRITE_SECURE_SETTINGS
pm grant com.amazon.fireh1jack android.permission.CHANGE_CONFIGURATION
pm grant com.amazon.fireh1jack android.permission.SYSTEM_ALERT_WINDOW
and reboot. It will activate LeanKey Keyboard on boot. It also have language switch for RU/UK/DE/EN language.
Click to expand...
Click to collapse
Thanks and this works on a default 4K firestick without any unlocking / rooting?
I only ask as I can see you mention fireh1jack in another thread that is for firesticks with an unlocked bootloader.

Intenti0n said:
Thanks and this works on a default 4K firestick without any unlocking / rooting?
Click to expand...
Click to collapse
Yes, this tool works on stock unrooted firesticks also. But you need to grant needed permissions to it via adb.
We don't need FireTVjack on rooted devices at all

tsynik said:
Yes, this tool works on stock unrooted firesticks also. But you need to grant needed permissions to it via adb.
We don't need FireTVjack on rooted devices at all
Click to expand...
Click to collapse
I just tried this on a clean 4k firestick.
Installed FireTVJack
connected via ADB and ran these 3 commands:
pm grant com.amazon.fireh1jack android.permission.WRITE_SECURE_SETTINGS
pm grant com.amazon.fireh1jack android.permission.CHANGE_CONFIGURATION
pm grant com.amazon.fireh1jack android.permission.SYSTEM_ALERT_WINDOW
all commands accepted without error.
If i start the FireTVJack app, it asks me to select a launcher.
If I reboot the device, the default keyboard doesn't change.
If i click on the LeanKeyboard Pro - nothing happens.
have i missed a step?
thanks

Intenti0n said:
If I reboot the device, the default keyboard doesn't change.
Click to expand...
Click to collapse
Strange.
Intenti0n said:
If i click on the LeanKeyboard Pro - nothing happens.
Click to expand...
Click to collapse
That's expected behaviour - that shortcut for Keyboard settings activity which doesn't exist on FireTV
Intenti0n said:
have i missed a step?
thanks
Click to expand...
Click to collapse
Nope. Only thing needed to add/switch keyboard is to write its component to secure settings. On unrooted FireTV, user can't write those settings, but programs with granted WRITE_SECURE_SETTINGS perms can. In h1jack there is OnBootComplete receiver which looks for exact packages and add them to settings if exist.
Code:
("org.liskovsoft.leankeykeyboard.pro", "com.google.leanback.ime.LeanbackImeService");
("com.example.semitop7.FireTVStyle", ".FireTVStyleIME");
It worked on unrooted 6.2.6.5 without issues. Why it doesn't work for you on 6.2.6.6? I don't know, and can't test because my 4K rooted and LeanKeyKeyboard Pro works fine. Does your version match (it must have id - org.liskovsoft.leankeykeyboard.pro and 4.3.30 version)?
P.S. What output you have with that command on adb:
Code:
settings list secure|grep input

tsynik said:
Strange.
That's expected behaviour - that shortcut for Keyboard settings activity which doesn't exist on FireTV
Nope. Only thing needed to add/switch keyboard is to write its component to secure settings. On unrooted FireTV, user can't write those settings, but programs with granted WRITE_SECURE_SETTINGS perms can. In h1jack there is OnBootComplete receiver which looks for exact packages and add them to settings if exist.
Code:
("org.liskovsoft.leankeykeyboard.pro", "com.google.leanback.ime.LeanbackImeService");
("com.example.semitop7.FireTVStyle", ".FireTVStyleIME");
It worked on unrooted 6.2.6.5 without issues. Why it doesn't work for you on 6.2.6.6? I don't know, and can't test because my 4K rooted and LeanKeyKeyboard Pro works fine. Does your version match (it must have id - org.liskovsoft.leankeykeyboard.pro and 4.3.30 version)?
P.S. What output you have with that command on adb:
Code:
settings list secure|grep input
Click to expand...
Click to collapse
I am on 6.2.6.8 FireOS.
I noticed you mentioned leankeyboard 4.3.30. I was running 4.3.29.
I removed that and installed 4.3.30, rebooted and now when I run the command
settings list secure|grep input
I get:
default_input_method=org.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
enabled_input_methods=com.amazon.tv.ime/.FireTVIMErg.liskovsoft.leankeykeyboard.pro/com.google.leanback.ime.LeanbackImeService
input_methods_subtype_history=com.amazon.tv.ime/.FireTVIME;1802354156
selected_input_method_subtype=-1
Many thanks for your time!.
I really was hoping for a voice input key with this custom keyboard, so I could use my voice to input text in 3rd party apps. Would there be any possibility of that?

Intenti0n said:
I really was hoping for a voice input key with this custom keyboard, so I could use my voice to input text in 3rd party apps. Would there be any possibility of that?
Click to expand...
Click to collapse
You can try different keyboards with voice options, but probably most of them rely on Google Search itself. Even with Google Search installed I can switch to it with keyboard chooser, but voice input doesn't work for that apk version. Maybe others will work somehow.

tsynik said:
You can try different keyboards with voice options, but probably most of them rely on Google Search itself. Even with Google Search installed I can switch to it with keyboard chooser, but voice input doesn't work for that apk version. Maybe others will work somehow.
Click to expand...
Click to collapse
even if I install another keyboard apk....
How will I give that permission ? as you said the FireTVjack has " OnBootComplete receiver which looks for exact packages" . - but that wont contain the custom package name for a random keyboard apk that I would try ?

Intenti0n said:
even if I install another keyboard apk....
How will I give that permission ? as you said the FireTVjack has " OnBootComplete receiver which looks for exact packages" . - but that wont contain the custom package name for a random keyboard apk that I would try ?
Click to expand...
Click to collapse
You can install apk which can edit settings (Settings Database Editor for example), grant needed permission to it and use it's UI to edit settings db directly.

I cannot get to LeanKey Keyboard to appear on IME list.
Fire TV Stick 4k, FireOS 6.2.6.8.
FireTVJack installed, all permissions granted,rebooted many times
Installed LeanKey 4.3.30 and 4.3.39
Any thoughts?

crzsotona said:
I cannot get to LeanKey Keyboard to appear on IME list.
Fire TV Stick 4k, FireOS 6.2.6.8.
FireTVJack installed, all permissions granted,rebooted many times
Installed LeanKey 4.3.30 and 4.3.39
Any thoughts?
Click to expand...
Click to collapse
Try this release: https://github.com/yuliskov/LeanKeyKeyboard/releases
Also, which fireh1jack version do you have? (one which enables leankey keyboard on boot must have com.amazon.fireh1jack package id)

org.liskovsoft.androidtv.rukeyboard/com.liskovsoft.leankeyboard.keyboard.leanback.ime.LeanbackImeService
This is leankey package name on my Fire Stick I was successful in activating on my stick.

Related

Amazon fire phone Keyboard !

Just bought it and played around with it for over 10 hours.
The most annoying thing is the keyboard.
1st, I cannot disable the words-suggesting (the area above keyboard keep bringing words related to what you type) I want to disable it. is there anyway. I find everything on the phone and cannot come up with a solution
2nd, is there anyway to install 3rd party keyboard. I try slideload keyboard app but I cannot enable it.
thank you guys !
EDIT: the Solution is provided in the #2 post ( Note: you need to use the commands: adb shell ime list -a instead)
keyboard-stretch-out-bug-solution
many times the keyboard is big and stretch. I find out the problem happens when you turn off the screen-auto-rotation. I read web lying on the bed so I turn it off, watching a youtube video in landscape and then this bug happens. so you guys just need to turn the auto-rotation on and rotate the devices to re-calibrate it
Switch keyboard
If you want to switch keyboards on your firephone, touch and hold the spacebar for a while then the menu will pop up and let you choose
I followed the method to install Analog Keyboard on my gear live, it worked on the fire phone.
1. Install your keyboard apk.
2. Set up adb & fie phone drivers on your computer, turn up usb debugging and connect your fire phone.
3. Open CMD, type "adb devices" to see if your phone is connected.
4. Type "adb shell ime list"
5. Find and copy your keyboard's name, starts with "com."
e.g. For Google Keyboard, its name is "com.google.android.inputmethod.latin"
6. Type "adb shell ime enable yourkeyboardname"
e.g. "adb shell ime enable com.google.android.inputmethod.latin"
7. Type "adb shell ime set yourkeyboardname"
e.g. "adb shell ime set com.google.android.inputmethod.latin"
8. Now you can use your keyboard.
The keyboard is what bugs me the most about this phone to be honest. I have everything else setup the way I want. I think using SwiftKey for a few years got me lazy on my accuracy. I'm hoping for an easier way to change the keyboard as I'm worried about them sending out an update that would interfere with the manual method mentioned above.
xutienan9520 said:
I followed the method to install Analog Keyboard on my gear live, it worked on the fire phone.
1. Install your keyboard apk.
2. Set up adb & fie phone drivers on your computer, turn up usb debugging and connect your fire phone.
3. Open CMD, type "adb devices" to see if your phone is connected.
4. Type "adb shell ime list"
5. Find and copy your keyboard's name, starts with "com."
e.g. For Google Keyboard, its name is "com.google.android.inputmethod.latin"
6. Type "adb shell ime enable yourkeyboardname"
e.g. "adb shell ime enable com.google.android.inputmethod.latin"
7. Type "adb shell ime set yourkeyboardname"
e.g. "adb shell ime set com.google.android.inputmethod.latin"
8. Now you can use your keyboard.
Click to expand...
Click to collapse
After dealing with issues regarding the drivers, my pc finally recognized the phone's adb, how ever, when I list the IME's, it only shows Amazon's keyboard, even tho i have SwiftKey and Google Keyboards Installed on the phone. So it did not work for me at the moment.
---------- Post added at 06:55 PM ---------- Previous post was at 06:52 PM ----------
C:\Users\XXXXXX\XXXXXXX\sdk\platform-tools>adb shell ime list
com.nuance.swype.input/.AmazonIME:mId=com.nuance.swype.input/.AmazonIME mSettingsActivityName=com.nuance.swype.input.settings.SettingsDispatch mIsDefaultResId=0x7f0c0000
Service:
priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
ServiceInfo:
name=com.nuance.swype.input.AmazonIME
packageName=com.nuance.swype.input
labelRes=0x7f090008 nonLocalizedLabel=null icon=0x0
enabled=true exported=true processName=com.nuance.swype.input
permission=android.permission.BIND_INPUT_METHOD
flags=0x0
RGNDI said:
After dealing with issues regarding the drivers, my pc finally recognized the phone's adb, how ever, when I list the IME's, it only shows Amazon's keyboard, even tho i have SwiftKey and Google Keyboards Installed on the phone. So it did not work for me at the moment.
---------- Post added at 06:55 PM ---------- Previous post was at 06:52 PM ----------
C:\Users\XXXXXX\XXXXXXX\sdk\platform-tools>adb shell ime list
com.nuance.swype.input/.AmazonIME:mId=com.nuance.swype.input/.AmazonIME mSettingsActivityName=com.nuance.swype.input.settings.SettingsDispatch mIsDefaultResId=0x7f0c0000
Service:
priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
ServiceInfo:
name=com.nuance.swype.input.AmazonIME
packageName=com.nuance.swype.input
labelRes=0x7f090008 nonLocalizedLabel=null icon=0x0
enabled=true exported=true processName=com.nuance.swype.input
permission=android.permission.BIND_INPUT_METHOD
flags=0x0
Click to expand...
Click to collapse
(Adding to xutienan9520's post)
Use this command:
adb shell ime list -a
This will list all keyboards which are INSTALLED
I installed Swift Key and these are the commands I used:
C:\>adb shell ime enable com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService: now enabled
C:\>adb shell ime set com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService selected
aviralmsharma said:
(Adding to xutienan9520's post)
Use this command:
adb shell ime list -a
This will list all keyboards which are INSTALLED
I installed Swift Key and these are the commands I used:
C:\>adb shell ime enable com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService: now enabled
C:\>adb shell ime set com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService selected
Click to expand...
Click to collapse
YOU ARE THE MAN!, confirmed Working, Now if only i can set a wallpaper on 3.6.8 I'll keep this phone as a daily for a long time!!!!
RGNDI said:
YOU ARE THE MAN!, confirmed Working, Now if only i can set a wallpaper on 3.6.8 I'll keep this phone as a daily for a long time!!!!
Click to expand...
Click to collapse
You can set wallpapers on Buzz launcher at least, but none of the widgets seem to work.
snapplefish said:
You can set wallpapers on Buzz launcher at least, but none of the widgets seem to work.
Click to expand...
Click to collapse
Yeah I've tried like all the launchers from the Play store, I rather have Google Now Launcher, without a wallpaper.
yahoo aviate loads wallpapers, however they disappear after rebooting.
Nokia Z launcher is my favourite. It is born without wallpaper and also nice and clean
---------- Post added at 02:49 PM ---------- Previous post was at 02:47 PM ----------
aviralmsharma said:
(Adding to xutienan9520's post)
Use this command:
adb shell ime list -a
This will list all keyboards which are INSTALLED
I installed Swift Key and these are the commands I used:
C:\>adb shell ime enable com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService: now enabled
C:\>adb shell ime set com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService selected
Click to expand...
Click to collapse
Thanks for the edition :good::good:
xutienan9520 said:
Thanks for the edition :good::good:
Click to expand...
Click to collapse
Also confirmed this is working with google's keyboard (latinime) installed from the play store. Had it go 'wide' on me once, but a reboot fixed that. (Only saw half the keyboard as it was stretched off the screen)
plympton said:
Also confirmed this is working with google's keyboard (latinime) installed from the play store. Had it go 'wide' on me once, but a reboot fixed that. (Only saw half the keyboard as it was stretched off the screen)
Click to expand...
Click to collapse
Same thing has happened to me a few times today with SwiftKey...
how do i setup ADB for this phone? do i have to follow post to install android sdk ?
id4398 said:
how do i setup ADB for this phone? do i have to follow post to install android sdk ?
Click to expand...
Click to collapse
It's a long painful process
yes, you need to install ADB
then you need to install Google USB driver and Amazon driver ( with a add on link provided)
then you need to manually install the driver in the ADB sub-folder
then you need to turn of the adb server and turn it on again to recognize the device ( I stuck at this for over 1/2 hour, wondering what's wrong with my ADB)
then you follow the ADB commands instruction to enable your keyboard.
done !
keyboard-stretch-out-bug-solution
many times the keyboard is big and stretch. I find out the problem happens when you turn off the screen-auto-rotation. I read web lying on the bed so I turn it off, watching a youtube video in landscape and then this bug happens. so you guys just need to turn the auto-rotation on and rotate the devices to re-calibrate it
thanks, will try it out.
I havent tried this using adb yet, but shouldn't it be possible using the terminal on the phone by omitting "adb shell"? After installing SwiftKey and finding it in the IME list, I put the IME enable command for SwiftKey and it just says "killed".
Is it possible to install/configure additional languages for standard Google Keyboard on Fire Phone? I was following steps from this thread and installed swiftkey and Google Keyboard. Swiftkey has its own preferences window and allows me to customize everything… but I just don't like how it works. Standard Google Keyboards works WAY better for me. The problem is I need 2 languages: English and Russian. When I'm trying to add Russian language to google keyboard it would open standard keyboard settings window (which only works for standard fire phone keyboard).
So I was thinking if there's some trick to download/configure additional languages for Google Keyboard using adb.
No one responded to my question about setting up the keyboard locally in the terminal, and after several tries I gave up and installed the Fire driver and used adb to install the Swiftkey keyboard. Now there is one less thing to complain about the phone, and it works great so far! My favorite feature is that it can auto-correct two languages simultaneously, which works better than you'd expect.
aviralmsharma said:
(Adding to xutienan9520's post)
Use this command:
adb shell ime list -a
This will list all keyboards which are INSTALLED
I installed Swift Key and these are the commands I used:
C:\>adb shell ime enable com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService: now enabled
C:\>adb shell ime set com.touchtype.swiftkey/com.touchtype.KeyboardService
Input method com.touchtype.swiftkey/com.touchtype.KeyboardService selected
Click to expand...
Click to collapse
I can confirm that this works too.
List the keyboards with
adb shell ime list -a
Click to expand...
Click to collapse
And set it using:
adb shell ime enable com.touchtype.swiftkey/com.touchtype.KeyboardService
adb shell ime set com.touchtype.swiftkey/com.touchtype.KeyboardService
Click to expand...
Click to collapse
Thanks got Fleksy
The keyboard was annoying to me as well thanks for posting this got this working with Fleksy as well installing ADB being the most painful part of it.

easily disable the amazon pop up keyboard on ftv2 (root required)

Root Required for this
The popup keyboard from amazon is really annoying.
I always installed null keyboard and used settings.apk file to change ime on ftv1. that solution no-longer works for ftv2.
below works for ftv2 . tested on sloan5.05r4 comes
read warning below. you may want to script with something like rom tool box scripter to enable and disable so you dont have to search for commads
From adb:
adb shell
su
pm disable com.amazon.tv.ime
thanks to this
http://forum.xda-developers.com/showthread.php?t=2795603&page=2
to re-enable it
adb shell
su
pm enable com.amazon.tv.ime
note: verified known issue below with keyboard completely disabled for entering new wifi password.
Ok so after testing using the method mentioned above it does in fact hide the on screen keyboard but it also completely disables the possibility of entering text in certain instances. For example, I enabled the above and disabled the similar method used for blocking. My FTV wasnt finding the update so I went to network settings and forgot my wifi network. When I tried to reconnect by selecting the network name there is no option at all to enter text of any sorts. I actually had to remove the password from my network connect unsecured and reconnect in to adb to disable the keyboard hiding to be able to reconnect to a secured network.

Google Assistant

I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire TV so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. It is set to a 'root user' but the user is ONLY root in three tiers explained here. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
DragonFire1024 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire TV so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. It is set to a 'root user' but the user is ONLY root in three tiers explained here. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
Click to expand...
Click to collapse
Tried it on my 2nd gen fire stick (not rooted), nothing, but I think it'd work if I could disable alexa. The alexa_enabled flag doesn't do anything. Maybe we could work together, seeing as you don't have a fire stick?
Nootboot64 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire TV so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. It is set to a 'root user' but the user is ONLY root in three tiers explained here. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Tried it on my 2nd gen fire stick (not rooted), nothing, but I think it'd work if I could disable alexa. The alexa_enabled flag doesn't do anything. Maybe we could work together, seeing as you don't have a fire stick?
Click to expand...
Click to collapse
What happens when you try to set up the assistant and what version of the Google app are you using
DragonFire1024 said:
What happens when you try to set up the assistant and what version of the Google app are you using
Click to expand...
Click to collapse
I already had my voice set up previously and I'm using the latest. I'll have to find out which one that is when I get home.
EDIT: It is version 10.20.2.21.arm
Nootboot64 said:
I already had my voice set up previously and I'm using the latest. I'll have to find out which one that is when I get home.
EDIT: It is version 10.20.2.21.arm
Click to expand...
Click to collapse
On the HD I have to start with the Google app 8.33.5 beta. Then setup your assistant doing the ADB steps reboot and then you can let it auto update to the latest version that's how I've been doing it.
DragonFire1024 said:
On the HD I have to start with the Google app 8.33.5 beta. Then setup your assistant doing the ADB steps reboot and then you can let it auto update to the latest version that's how I've been doing it.
Click to expand...
Click to collapse
Thank you, I'll try that
Nootboot64 said:
Thank you, I'll try that
Click to expand...
Click to collapse
Also note that I have made the Google app system application because we have root but I don't know if that matters. not sure if you guys are rooted or how that happens with the stick.
Nootboot64 said:
Thank you, I'll try that
Click to expand...
Click to collapse
One more thing it's important to remember that when you have your assistant setup from ADB also set up the voice commands and what not. That's important because the idea is to have your voice commands already set up when the Google app updates. As long as that happens you won't have to go back and setup assistant with your voice all over again. As long as it remembers your settings from the beta version of the old app the new app version will also take on those settings, voice included. I think that was the main problem before is it wasn't doing that and something else internally with the Google app wasn't allowing you to save your voice commands to the device again. would you still can't do so don't try and go and set up the voice again because it won't work you'll have to downgrade back to the 8.33 version and start all over.
you can also uninstall delete or do whatever you want with the two Amazon applications that have to do with the speech user interface and speech interaction manager they have nothing to do with anything that goes on with the Google app or the assistant or anything Android for that matter.
Where can I get the Google app 8.33.5 beta
thx
yenmax said:
Where can I get the Google app 8.33.5 beta
thx
Click to expand...
Click to collapse
Maybe you can just use google search?
https://www.google.com/search?q=Google+app+8.33.5+beta
https://www.apkmirror.com/apk/google-inc/google-search/google-search-8-33-5-release/
Do we need to have Google Play Services on the Firestick for this to work? Or will installing the Google app be enough?
gogorman said:
Do we need to have Google Play Services on the Firestick for this to work? Or will installing the Google app be enough?
Click to expand...
Click to collapse
I'm pretty sure assistant will only work with play services but I could be wrong. I do know there's somewhat of an assistant ability built into Google go. But it is not nearly as sophisticated.
Sent from my Google Nexus 10 using XDA Labs

Google Assistant

I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
How can I disable double tap of home button who activates the "voice input", who is no longer avaible as Amazon decided... THANKS THEM
DragonFire1024 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
The more who confirm this, the better
Click to expand...
Click to collapse
Hi DragonFire1024,
Thanks for this very interesting post I was just wondering by to see if anyone had unlocked the bootloader :laugh:
Problem with the fire phone is probably 98% of users here use one of @ggow custom ROM's LineageOS 11 or the AOSP based SlimKat and Nexus Rom. Those running the Stock ROM are likely not interested in development hence why no reply's.
To be honest I never even gave the Fire OS a chance before rooting and switching to the Nexus ROM. I am not sure our fire OS has Alexa :silly: or at least as we know it today yes you heard correct a Premium Amazon Device and they see fit not push it out to Amazon device owners. In fact they just went one better and removed the voice service altogether. https://forum.xda-developers.com/fire-phone/general/amazon-voice-services-fire-phone-t3681235 Pretty amazoning :laugh
I was kinda hoping it was to make way for Alexa and a Massive OS Update but I guess thats just wishful thinking. :laugh:

Which background processes/Apps can I disable safely on a Firestick 4K (OS:6.2.6.3)?

I have a new Firestick 4k on OS v6.2.6.3.
I would like to disable as much of the Amazon bloatware as possible, I only really use OnDemand TV and Kodi, nothing from Amazon itself.
I have found lists of which apps to disable for the 5.x.x firmwares, but I guess this probably outdated.
Does anyone have a list of what I can safely disable on the new firmware?
Thanks
Hi! It's me.
Maybe you will use IceBox app to freeze system apps(the way in my thread). I tried it on the 6.2.3 fire os. I froze the amazon photos,video,music, and Alexa(amazon's siri). I think there is no risk to do that. Because when you reboot fire stick, the IceBox will not work untill you open shizuku in the termux app. So all the apps in IceBox you froze, they are unfreezed when the device reboot.
But......still don't know the safety list you can stop.
jjccblws said:
Hi! It's me.
Maybe you will use IceBox app to freeze system apps(the way in my thread). I tried it on the 6.2.3 fire os. I froze the amazon photos,video,music, and Alexa(amazon's siri). I think there is no risk to do that. Because when you reboot fire stick, the IceBox will not work untill you open shizuku in the termux app. So all the apps in IceBox you froze, they are unfreezed when the device reboot.
But......still don't know the safety list you can stop.
Click to expand...
Click to collapse
Thanks for the reply.
I am indeed using Shizuku and icebox, however I'm not using termux, just regular network adb.
I didn't realise that anything disabled in Icebox needed to be refrozen after reboot..... It makes sense, but it's a pain!
I might install termux and adb and then a script manager, which could (theoretically) start the shizuku server, which would at least allow Icebox to run effectively without user intervention...
Can Icebox disable apps via script as well? (or any other app disabler that works with shizuku manager).
I ran
pm list packages | grep 'amazon'
and got this...
Code:
package:com.amazon.net.smartconnect
package:com.amazon.tv.resolutioncycler
package:com.amazon.recess
package:com.amazon.platform.fdrw
package:com.amazon.ssmsys
package:com.amazon.tv.ime
package:com.amazon.whisperplay.contracts
package:com.amazon.device.rdmapplication
package:com.amazon.venezia
package:com.amazon.dcp.contracts.library
package:com.amazon.metrics.api
package:com.amazon.vizzini
package:com.amazon.tv.devicecontrolsettings
package:com.amazon.bueller.notification
package:com.amazon.connectivitycontroller
package:com.amazon.bueller.photos
package:com.amazon.device.sync
package:amazon.fireos
package:com.amazon.device.logmanager
package:com.amazon.ceviche
package:com.amazon.alta.h2clientservice
package:com.amazon.advertisingidsettings
package:com.amazon.tv.parentalcontrols
package:com.amazon.whisperjoin.provisioner.middleware.controller
package:com.amazon.ftv.glorialist
package:com.amazon.dp.logger
package:com.amazon.ods.kindleconnect
package:com.amazon.tv.intentsupport
package:com.amazon.sharingservice.android.client.proxy
package:com.amazon.webview
package:com.amazon.android.marketplace
package:com.amazon.device.backup.sdk.internal.library
package:com.amazon.tifobserver
package:com.amazon.dialservice
package:com.amazon.client.metrics.api
package:com.amazon.aca
package:com.amazon.cpl
package:com.amazon.dcp
package:com.amazon.imp
package:com.amazon.ssm
package:com.amazon.sync.service
package:com.amazon.fireinputdevices
package:com.amazon.whisperjoin.provisioner.middleware.firetv
package:com.amazon.tv.settings.v2
package:com.amazon.tv.csapp
package:com.amazon.logan
package:com.amazon.tahoe
package:com.amazon.tcomm
package:com.amazon.naatyam
package:com.amazon.storm.lightning.tutorial
package:com.amazon.identity.auth.device.authorization
package:com.amazon.kindle.cms
package:com.amazon.kindleautomatictimezone
package:com.amazon.uxcontrollerservice
package:com.amazon.tv.fw.metrics
package:com.amazon.device.backup
package:com.amazon.firehomestarter
package:com.amazon.securitysyncclient
package:com.amazon.unifiedshare.actionchooser
package:com.amazon.firerestapiframework
package:com.amazon.tv.routing
package:com.amazon.device.messaging
package:com.amazon.device.bluetoothkeymaplib
package:com.amazon.device.metrics
package:com.amazon.device.messaging.sdk.internal.library
package:com.amazon.providers
package:com.amazon.tv.devicecontrol
package:com.amazon.tv.ottssocompanionapp
package:com.amazon.device.sale.service
package:com.amazon.cardinal
package:com.amazon.tcomm.client
package:com.amazon.tv.forcedotaupdater.v2
package:com.amazon.client.metrics
package:com.amazon.device.settings.sdk.internal.library
package:com.amazon.autopairservice
package:amazon.jackson19
package:com.amazon.tmm.tutorial
package:com.amazon.device.software.ota
package:com.amazon.wifilocker
package:com.amazon.dcp.contracts.framework.library
package:com.amazon.device.bluetoothdfu
package:com.amazon.storm.lightning.services
package:com.amazon.whisperlink.core.android
package:com.amazon.device.messaging.sdk.library
package:com.amazon.tv.notificationcenter
package:com.amazon.tv.support
package:com.amazon.ags.app
package:com.amazon.tv.nimh
package:com.amazon.tv.oobe
package:com.amazon.sync.provider.ipc
package:com.amazon.tv.legal.notices
package:com.amazon.tv.settings.core
package:com.amazon.firebat
package:android.amazon.perm
package:com.amazon.tv.keypolicymanager
package:com.amazon.android.service.networkmonitor
package:com.amazon.kso.blackbird
package:com.amazon.providers.contentsupport
package:com.amazon.avl.ftv
package:com.amazon.awvflingreceiver
package:com.amazon.device.crashmanager
package:com.amazon.application.compatibility.enforcer
package:com.amazon.whisperplay.service.install
package:com.amazon.tv.launcher
package:com.amazon.uxnotification
package:com.amazon.shoptv.client
package:com.amazon.device.software.ota.override
package:com.amazon.alexashopping
package:com.amazon.franktvinput
package:com.amazon.aria
package:com.amazon.avod
package:com.amazon.communication.discovery
package:com.amazon.alexa.externalmediaplayer.fireos
package:com.amazon.tv.releasenotes
package:com.amazon.ssdpservice
package:com.amazon.device.settings
package:com.amazon.tv.livetv
package:com.amazon.device.sync.sdk.internal
package:com.amazon.connectivitydiag
package:com.amazon.device.lowstoragemanager
package:com.amazon.providers.tv
package:com.amazon.webview.chromium
package:com.amazon.bueller.music
package:com.amazon.hedwig
package:com.amazon.kindle.devicecontrols
package:com.amazon.application.compatibility.enforcer.sdk.library
So there's a lot of junk to disable! (Obviously not all of them need to be disabled, but there is still quite a lot which can be).
Which is why a script would be useful...
That's a good idea. And thanks for the packages list.
The 3rd party apps you froze will not show up in the launcher when you reboot. But the system apps will refreeze. But the freeze list in IceBox still there, all you need is:
open termux
press arrow up button twice
press enter button
allow adb in the pop up window
open IceBox and slide the slider to freeze
Done!:good:
Actually, it is just a temporary aid before fire stick 4k be rooted.
jjccblws said:
That's a good idea. And thanks for the packages list.
The 3rd party apps you froze will not show up in the launcher when you reboot. But the system apps will refreeze. But the freeze list in IceBox still there, all you need is:
open termux
press arrow up button twice
press enter button
allow adb in the pop up window
open IceBox and slide the slider to freeze
Done!:good:
Actually, it is just a temporary aid before fire stick 4k be rooted.
Click to expand...
Click to collapse
This sounds amazing. Could you please provide the step by step guide on how to do this from the start?
1. Enable ADB debugging on 4k firestick
2. Install Icebox ?
etc
Would be most appreciated!
Thanks in advance
Intenti0n said:
This sounds amazing. Could you please provide the step by step guide on how to do this from the start?
1. Enable ADB debugging on 4k firestick
2. Install Icebox ?
etc
Would be most appreciated!
Thanks in advance
Click to expand...
Click to collapse
So glad that you like it!
You can follow my thread:
https://forum.xda-developers.com/fire-tv/general/suprise-root-pc-adb-fire-stick-to-t3918668
After this, the device could adb itselft without PC or wifi-adb.
Install Shizuku app from any apps store you like.
Open termux, input "adb devices", the authrization window will pop up on TV. Select allow.
Input this in termux:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
This step will activate shizuku. Only if the shiziku app is activated, it can activate IceBox.
Install IceBox app from any apps store you like.
Open shizuku app, confirm IceBox is activated.
Open IceBox, select the apps you want to freeze. (The unpaid version could freeze 15 apps, I think that's enough. I bought the app 1 or 2 years ago, I remember it cost 1$ or 2$. Notice, this is not an ad.:laugh::laugh::laugh
Slide the slider to freeze.
If you reboot fire TV, the system apps are all unfreezed, but the 3rd-party apps are still frozen. (If you want to uninstall Icebox, unfreeze the frozen apps first) You need to re-adb and do the "adb shell sh /sdcard......start.sh" again. But the list in IceBox is still there. Just slide again to freeze. So remember type in "exit" when you leave termux. Termux can remember the codes you input. And at next time you only need to press arrow-up button, the codes you input last time will show up.
Hope you enjoy it!
jjccblws said:
So glad that you like it!
You can follow my thread:
https://forum.xda-developers.com/fire-tv/general/suprise-root-pc-adb-fire-stick-to-t3918668
After this, the device could adb itselft without PC or wifi-adb.
Install Shizuku app from any apps store you like.
Open termux, input "adb devices", the authrization window will pop up on TV. Select allow.
Input this in termux:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
This step will activate shizuku. Only if the shiziku app is activated, it can activate IceBox.
Install IceBox app from any apps store you like.
Open shizuku app, confirm IceBox is activated.
Open IceBox, select the apps you want to freeze. (The unpaid version could freeze 15 apps, I think that's enough. I bought the app 1 or 2 years ago, I remember it cost 1$ or 2$. Notice, this is not an ad.:laugh::laugh::laugh
Slide the slider to freeze.
If you reboot fire TV, the system apps are all unfreezed, but the 3rd-party apps are still frozen. (If you want to uninstall Icebox, unfreeze the frozen apps first) You need to re-adb and do the "adb shell sh /sdcard......start.sh" again. But the list in IceBox is still there. Just slide again to freeze. So remember type in "exit" when you leave termux. Termux can remember the codes you input. And at next time you only need to press arrow-up button, the codes you input last time will show up.
Hope you enjoy it!
Click to expand...
Click to collapse
Super ! - will try it out this weekend.
If I only use the free version - do you have a list of the "Best 15 apps to freeze" , to speed up firestick / remove bloat etc?
Intenti0n said:
Super ! - will try it out this weekend.
If I only use the free version - do you have a list of the "Best 15 apps to freeze" , to speed up firestick / remove bloat etc?
Click to expand...
Click to collapse
:laugh:
I forze the Alexa. But.............I changed the default launcher to xxx launcher(sorry can't remeber the name).And the launcher just showed up and ran into black and I can't exit it even if I reboot. Kind of got mad........But I tried to speak to the fire tv, told it to open settings. Thank God, the Alexa unfreeze after the reboot. I got into settings, uninstall that laucher. That's why I am so sure the system apps will refreeze if you reboot.:laugh:
I mean, the useless apps maybe come to be useful one day. And you can try almost all the apps to freeze, for they will refreeze after reboot.(But if Icebox goes as root-mode, system apps will not refreeze automatically. The way we activate Icebox is not root-mode)
I froze the amazon video, music, photo(the screensaver turns to gray and no pictures any more),Alexa, kindle. And..........I didn't find it makes the fire stick a little faster:laugh::laugh::laugh:In fact, I use Icebox to freeze some 3rd-party rogue softwares, those apps always running in background.
So, just try it and enjoy the weekends!

Categories

Resources