Comments (12)
Sadly I dont have a fire stick and I'm still trying to fix fire TV/cube support. Life has been getting in the way.
If you can get the reason it crashes via adb I can atleast try judge how bad it is. If it's something very simple I can probably do something about it soon, anything more complex could be a while.
from launcherhijack.
I can start the app after doing pm grant com.baronkiko.launcherhijack android.permission.SYSTEM_ALERT_WINDOW
, but Settings -> Accessibility -> To detect home button press
is missing on fire TV stick 4k.
Sometimes it work when I press the home button, sometimes it goes to the original launcher.
from launcherhijack.
You can enable the service via adb with:
adb shell settings get enabled_accessibility_services
Copy the output from the above command and paste it into the command below
adb shell settings put enabled_accessibility_services (PASTE_HERE):com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Hope that helps,
On phone so sorry for bad formatting
from launcherhijack.
Did this fix the issues you guys have been having?
from launcherhijack.
Invalid namespace 'enabled_accessibility_services'
settings
wants a namespace and no namespace has this key.
Maybe they completly removed this.
from launcherhijack.
Ah sorry the command is wrong. Get should be:
adb shell settings get secure enabled_accessibility_services
Setting is:
adb shell settings put secure enabled_accessibility_services (PASTE_HERE):com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
And as you know you also have to use:
pm grant com.baronkiko.launcherhijack android.permission.SYSTEM_ALERT_WINDOW
Give that a go.
from launcherhijack.
I already tried the secure namespace, it does not look like it’s supported on fireOS.
The key was not defined and creating it does not look like making any difference.
$ adb shell settings get secure enabled_accessibility_services
null
$ adb shell settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
$ adb shell settings get secure enabled_accessibility_services
com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
adb shell settings list secure | grep -i accessibility
AccessibilitySettings.version=2
accessibility_captioning_enabled=0
accessibility_display_magnification_auto_update=1
accessibility_display_magnification_enabled=0
accessibility_display_magnification_mode=0
accessibility_display_magnification_scale=2.0
accessibility_enabled=1
accessibility_script_injection=0
accessibility_script_injection_url=https://ssl.gstatic.com/accessibility/javascript/android/AndroidVox_v1.js
accessibility_web_content_key_bindings=0x13=0x01000100; 0x14=0x01010100; 0x15=0x02000001; 0x16=0x02010001; 0x200000013=0x02000601; 0x200000014=0x02010601; 0x200000015=0x03020101; 0x200000016=0x03010201; 0x200000023=0x02000301; 0x200000024=0x02010301; 0x200000037=0x03070201; 0x200000038=0x03000701:0x03010701:0x03020701;
enabled_accessibility_services=com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
from launcherhijack.
Umm, I don't think you can create keys like that. You get invalid namespace as you discovered earlier so you are setting it. It just happened to be null by default.
Without an accessibility service the app is severely limited. V3 should just about work if you enable the system alert window but you will have to launch the app manually every time you reboot the device.
Even then it will probably be very inconsistent.
What version of fireos are you using? Probably won't help me much but it's nice to know.....
from launcherhijack.
Fire OS 6.2.3.2 (NS6232/1268)
Fire TV Home Version 6.1.1.0-117
from launcherhijack.
Well my firetv is on fireos 6.2.5.5 (NS6255/1628)
Home version 6.1.1.0-120
Not sure if it has updated since I last used it but I can atleast debug it if I find time.
In light of this info I'm going to close this issue as it falls under the preexisting issue "add support for fire TV devices". Most of the info regarding it is on the pull request. It's not an easy one. We managed to get it kinda working. You couldn't use the long press menu or access settings while it was running as they are all under the same application. In my mind that's broken. Speedymon chose to live without those features as he installed a 3rd party settings app that could do a couple basic things.
I have since had some thoughts on how to get around this but it requires some work to implement.
from launcherhijack.
I made a test release for the fireTV, latest post here: #20
Maybe it will help your device, give it a go and leave feedback there if you get a chance. Thanks
from launcherhijack.
from launcherhijack.
Related Issues (20)
- Dosent work until app launches HOT 1
- Says "launcher hijack is blocked"
- Working on older Bueller units?
- Launcher Hijack fails due to Accessibility Settings (FireTV Stick 4k) HOT 1
- FireTV update killed this again. HOT 1
- Warning about "Updates (Specifically 5.6.2.0)" - is it still valid?
- 4k Firestick Accessibility Commands Solutions not Works HOT 1
- NullPointerException in AccServ.onAccessibilityEvent when pressing home button
- Bricked my FireHD10
- Can't get firestick to stop beeping/chirping in background
- The open buttom is dimend
- Launcher hijack stops working
- [NEW FEATURE] Version information
- [QUESTION] clarify maintenance
- [NEW FEATURE] Release with modified app ID - Fix Amazons ID blokcking
- [NEW FEATURE] Release on F-Droid
- Not being able to use launcher hijack with non-launchers
- Home screen opens after run 'adb shell uiautomator dump' command.
- Amazon Stylus doesn’t work properly with Launcher Hijack enabled
- Accessibility Issue (TTS talks even if it's off)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from launcherhijack.