FORUMS
Remove All Ads from XDA

Alternative Keyboard / Language Firestick 4k

2 posts
Thanks Meter: 0
 
By smeagolheart, Junior Member on 24th July 2019, 01:16 AM
Post Reply Email Thread
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?
22nd October 2019, 12:24 PM |#2  
tsynik's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by smeagolheart

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?

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:
Quote:

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:
...

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.
The Following 2 Users Say Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
25th October 2019, 08:20 PM |#3  
Member
Thanks Meter: 20
 
More
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?
29th October 2019, 04:52 PM |#4  
tsynik's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by Intenti0n

have you tested this yourself on a 4K firestick?

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.
29th October 2019, 06:13 PM |#5  
Member
Thanks Meter: 20
 
More
Quote:
Originally Posted by tsynik

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.

Quote:
Originally Posted by tsynik

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.

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.
30th October 2019, 09:56 AM |#6  
tsynik's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by Intenti0n

Thanks and this works on a default 4K firestick without any unlocking / rooting?

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
The Following User Says Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
7th November 2019, 02:53 PM |#7  
Member
Thanks Meter: 20
 
More
Quote:
Originally Posted by tsynik

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

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
7th November 2019, 03:20 PM |#8  
tsynik's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by Intenti0n

If I reboot the device, the default keyboard doesn't change.

Strange.
Quote:
Originally Posted by Intenti0n

If i click on the LeanKeyboard Pro - nothing happens.

That's expected behaviour - that shortcut for Keyboard settings activity which doesn't exist on FireTV
Quote:
Originally Posted by Intenti0n

have i missed a step?
thanks

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
The Following User Says Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
7th November 2019, 05:06 PM |#9  
Member
Thanks Meter: 20
 
More
Quote:
Originally Posted by tsynik

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

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.leankeykeyboar d.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?
7th November 2019, 05:25 PM |#10  
tsynik's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by Intenti0n

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?

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.
The Following User Says Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
7th November 2019, 05:32 PM |#11  
Member
Thanks Meter: 20
 
More
Quote:
Originally Posted by tsynik

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.

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 ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes