Related
Can anyone here using any 2.6.35 based ROM or kernel post their dmesg and/or logcat made WHILE adjusting their display's brightness? I'm trying to isolate something but my time is too limited to switch back and forth between different ROMs.
*on second though I'm not sure whether this should be here or the Q/A section...I'm sure this is NOT for the dev section though... :/
This is cm9 reloaded with 2.6.35.7:
I turned the brightness up, hit ok, then turned the brightness back down.
erikikaz said:
This is cm9 reloaded with 2.6.35.7:
I turned the brightness up, hit ok, then turned the brightness back down.
Click to expand...
Click to collapse
Can you repost? Seems it failed to upload. Also, do you have dmesg as well? It would do well to have both.
Perhaps I'm missing something but I can't get logcat, dmesg, or kmsg for that matter, to provide any kind of result when changing the brightness.
Sent from my Amazon Kindle Fire using xda premium
logs
Here are the two logs from a stock 6.3 KF. I toggled the brightness back and forth when taking the logcat. Did I do the dmesg right? I just entered:
Code:
adb shell dmesg > dmesg.txt
after selecting a few different brightness settings. If not let me know, and I can do it again.
ghost_og said:
Here are the two logs from a stock 6.3 KF. I toggled the brightness back and forth when taking the logcat. Did I do the dmesg right? I just entered:
Code:
adb shell dmesg > dmesg.txt
after selecting a few different brightness settings. If not let me know, and I can do it again.
Click to expand...
Click to collapse
Thanks! Unfortunately, it seems stock doesn't give a clue about the changing of brightness settings. Maybe a custom ROM with 2.6.35? Anyways, I'll just update the OP with the new request. Thanks again!
doh, forgot about dmesg. I'll get it to you tonight when I get off work.
erikikaz said:
doh, forgot about dmesg. I'll get it to you tonight when I get off work.
Click to expand...
Click to collapse
Also reupload the logcat since it seems it wasn't saved.
Ok, here we go. Hopefully this works.
I changed brightness four times, twice by tapping the brightness bar at different points, and two by sliding the bar. Didn't know if it'd make a difference.
erikikaz said:
Ok, here we go. Hopefully this works.
I changed brightness four times, twice by tapping the brightness bar at different points, and two by sliding the bar. Didn't know if it'd make a difference.
Click to expand...
Click to collapse
Seems there's still no clue about the brightness. Anyways, thanks for the help! I'll just have to trace everything.
Just thought I would cross post here, but I found some hidden settings that I didn't see elsewhere, other than the Access Lock (AppOps)
Here's the Reddit post I made:
https://www.reddit.com/r/lgg4/comments/3em28o/two_hidden_setting_menus/
EDIT:
http://i.imgur.com/c5DYfg0.png
I went through and tested a bunch of settings and these are what I came up with. This list isn't exhaustive though, as I left out the screen display mentioned in comments as it doesn't seem to work, and I also left out ones related to hardware and capacitive buttons we don't have.
There is also a couple redundant ones there. The Usage Activity Monitors are kind of nifty.
The one I find the most interesting is:
com.android.settings.Settings$ScreenCaptureAreaActivity
As described below, lets you choose to capture the status bar and navigation buttons in your screenshots. Very nifty.
---ORIGINAL POST---
Howdy.
I noticed there's a method for getting Access Lock (AppOps) without root by making a shortcut. (I used QuickShortcutMaker from Play Store, but you may be able to do it with an alternative launcher like Nova)
While I was doing that I fiddled with a few other things I found and I came out with two other hidden setting menus. Though not mind-blowing, I found one of them to be a little useful.
First one is under Settings -> One-Handed Operation. Seems that was available on the G3 but removed by LG for this model. I don't find it too useful as I use knock codes so the pin one doesn't matter, and the dialler option can be accessed in the dialler itself.
The second one, which I find a little more useful, is the Screenshot Settings. It's under Settings -> Screen capture area. When you access this menu you can decide if you want your screencaps to include the navigation buttons and status bar (default), or not. It's a lot nicer taking shots without those areas, so a pretty neat little feature.
Cheers
Click to expand...
Click to collapse
(Ah I just realised I didn't include the option in the comments to turn off/on the double tapping, oops )
Where's how to get to those menus?
Sent from my VS986 using Tapatalk
justlovejoy said:
Where's how to get to those menus?
Sent from my VS986 using Tapatalk
Click to expand...
Click to collapse
It's included in post above, with instructions. I used 'QuickShortcutMaker' from the Play Store to access them.
Sent from my LG-H812 using Tapatalk
To anyone that's looking for the hidden menu's on these things and having no luck via google, and is unable to launch the hidden menu's due to permission errors and force closes, I figured them out.
Enter the code you want into the dialer. Substitute any xxx's by the model number. For VS986 that would be 986. If asked for a service code enter six zeros. That's "000000".
Verizon Diagnostics
Uses: Various Sensor tests, GENESIS MiniOS,
##228378
Verizon Hidden Menu
##PROGRAMxxx
Location and MMS Debug Menu
##DEBUG
Feature Enable/Disable Menu
##FEATURE
For the H812, I found that many of the previously posted hidden setting codes did nothing when I punched them into the dialer. I was also unable to launch the hidden menus by creating shortcuts, I kept getting an error that the com.lge.permission.LGHIDDEN permission was required.
In the end, I was able to open the hidden settings menus by using this command in a shell with root access:
am start -a android.intent.action.MAIN -n com.lge.hiddenmenu/className (for example: com.lge.hiddenmenu/.HiddenMenu)
I used the Activity Launcher app to get a list of all the com.lge.hiddenmenu classes. There wasn't much in any of them that I found very useful, but it was fun looking.
philviral said:
For the H812, I found that many of the previously posted hidden setting codes did nothing when I punched them into the dialer. I was also unable to launch the hidden menus by creating shortcuts, I kept getting an error that the com.lge.permission.LGHIDDEN permission was required.
In the end, I was able to open the hidden settings menus by using this command in a shell with root access:
am start -a android.intent.action.MAIN -n com.lge.hiddenmenu/className (for example: com.lge.hiddenmenu/.HiddenMenu)
I used the Activity Launcher app to get a list of all the com.lge.hiddenmenu classes. There wasn't much in any of them that I found very useful, but it was fun looking.
Click to expand...
Click to collapse
I had the same issue but was able to bypass it by using the dialer codes posted above. Yours should have been:
##PROGRAM812
DerekZ10 said:
I had the same issue but was able to bypass it by using the dialer codes posted above. Yours should have been:
##PROGRAM812
Click to expand...
Click to collapse
Since the Permission thing might be a common problem, I built Root capability into ActivityLauncher. ActivityLauncher will now try without root, and if it fails, it will try the root console command.
Get it here:
https://github.com/DerekZiemba/RootActivityLauncher/releases/tag/V2.0
Usraek said:
Just thought I would cross post here, but I found some hidden settings that I didn't see elsewhere, other than the Access Lock (AppOps)
Here's the Reddit post I made:
https://www.reddit.com/r/lgg4/comments/3em28o/two_hidden_setting_menus/
(Ah I just realised I didn't include the option in the comments to turn off/on the double tapping, oops )
Click to expand...
Click to collapse
i just tried it, i dont have menu like you showed on your screenshot :crying:, at least the screen capture thing and thing like roaming dual clock that people are talking about isn't there
i'm on F500K, is anyone can help with this thing?
Does this menu allow to change the provider, i.e. to unbrand or brand phones?
So I've noticed that the Verizon model is missing a couple of options, anyone find any others?
Ability to change Font styles, it's missing
Battery saver mode is missing
It seems like they've messed with the Quick Settings bar
The first two on your list are not missing. I changed my fonts already, and there is a battery saver mode.
Fonts: settings> personalize> change theme> menu button on top left, scroll down to Fonts and pick the one you want, then apply it (you can change icons, sounds, wallpapers, etc in here too)
Battery Saver is called Extreme Saver and is in the Quick Settings bar.
Customizing the Quick Settings is not available, as HTC has disabled our access to the System UI Tuner.
Thanks man, I swear I did look for those, but this just goes to show that I'm not very smart. LOL
Is there a way to use a font that I purchased? I can't seem to find how to select it.
mahercs said:
The first two on your list are not missing. I changed my fonts already, and there is a battery saver mode.
Fonts: settings> personalize> change theme> menu button on top left, scroll down to Fonts and pick the one you want, then apply it (you can change icons, sounds, wallpapers, etc in here too)
Battery Saver is called Extreme Saver and is in the Quick Settings bar.
Customizing the Quick Settings is not available, as HTC has disabled our access to the System UI Tuner.
Click to expand...
Click to collapse
Thanks for the info, I looked at the Extreme power mode and that's not the same as the normal Battery Saver. It doesn't appear like you can add fonts that you purchased.
Yeah, I don't use the battery saver mode, so I don't know the difference between them. If you got the font from the HTC theme store, I would think you could apply it the same way as free ones. If you bought it from the Play store, I don't know how to apply that.
I figured out how to add purchased fonts, Settings/personalize/edit current theme/scroll down & select "font" , click the v arrow, next to fonts in the top left. Select "others", & if you've already purchased fonts then they should show up.
Same "Power Saver" issue here
Dragbike Racer said:
Thanks for the info, I looked at the Extreme power mode and that's not the same as the normal Battery Saver. It doesn't appear like you can add fonts that you purchased.
Click to expand...
Click to collapse
I am having the same issue on my Verizon HTC 10. There is an "Extreme Power Saver" mode, but no regular "Power Saver" mode - Why is this not on Verizon's HTC 10? The "Extreme Power Saver" is not what I ever want to use as it makes the phone pretty much useless. Why would a feature like "Power Saver" mode be removed?
There is no "PowerSaver" mode on stock Verizon handsets. The carrier claims that it interferes with the 911 requirements. Rooted Verizon handsets can reactivate the option through mods (I believe it's a SQLlite edit of a database; that's how it was on the M9). I had PowerSaver always running on my M9 once it was rooted.
For the powersaver mode, try this from a computer with working ADB
Code:
adb shell "settings list secure | grep power"
If it returns something that looks like this
Code:
hide_ui_user_powersaver=1
Then try
Code:
adb shell "settings put secure hide_ui_user_powersaver 0"
This does not require root if done from a computer. It will require root if done from a terminal on the device. This is what works on an M9 running Marshmallow. It may or may not work on the 10. You can also try
Code:
adb shell "settings list secure"
To get a list of all the settings.
l7777 said:
For the powersaver mode, try this from a computer with working ADB
Code:
adb shell "settings list secure | grep power"
If it returns something that looks like this
Code:
hide_ui_user_powersaver=1
Then try
Code:
adb shell "settings put secure hide_ui_user_powersaver 0"
This does not require root if done from a computer. It will require root if done from a terminal on the device. This is what works on an M9 running Marshmallow. It may or may not work on the 10. You can also try
Code:
adb shell "settings list secure"
To get a list of all the settings.
Click to expand...
Click to collapse
I'll look into this when I get home, thanks!!
l7777 said:
For the powersaver mode, try this from a computer with working ADB
Code:
adb shell "settings list secure | grep power"
If it returns something that looks like this
Code:
hide_ui_user_powersaver=1
Then try
Code:
adb shell "settings put secure hide_ui_user_powersaver 0"
This does not require root if done from a computer. It will require root if done from a terminal on the device. This is what works on an M9 running Marshmallow. It may or may not work on the 10. You can also try
Code:
adb shell "settings list secure"
To get a list of all the settings.
Click to expand...
Click to collapse
I can confirm this works. Just did it on my VZW 10 and good ol' regular Power Saver mode is now present under Settings > Power.
thedrizzle said:
I can confirm this works. Just did it on my VZW 10 and good ol' regular Power Saver mode is now present under Settings > Power.
Click to expand...
Click to collapse
I can also confirm that this works. Performed the instructions above and then rebooted my phone and I now have both Power Saver and Extreme Power Saving Mode!
Thank you!
l7777 said:
For the powersaver mode, try this from a computer with working ADB
Code:
adb shell "settings list secure | grep power"
If it returns something that looks like this
Code:
hide_ui_user_powersaver=1
Then try
Code:
adb shell "settings put secure hide_ui_user_powersaver 0"
This does not require root if done from a computer. It will require root if done from a terminal on the device. This is what works on an M9 running Marshmallow. It may or may not work on the 10. You can also try
Code:
adb shell "settings list secure"
To get a list of all the settings.
Click to expand...
Click to collapse
So I just tried this and "Power Saver" mode is now present and I can turn it on and off, but when I try to go into it to change the settings I get a fault that says "Power has stopped unexpectedly". Could there be another setting that needs changed? I'll be looking through the list to see if there is, but thought I'd ask also.
I went through the list and the setting is showing "hide_ui_user_powersaver=0" , but it won't let me change the when the Power Saver starts.
Son of a gun, works here, too. Thanks!
Can we not use an sqlite editor to get power saver back anymore?
Sent from my HTC6545LVW using Tapatalk
Evocm7 said:
Can we not use an sqlite editor to get power saver back anymore?
Click to expand...
Click to collapse
Don't think we have been able to since the m9, as I recall, it wouldn't open settings storage. But they are easy edits to default XML.
aer0zer0 said:
Don't think we have been able to since the m9, as I recall, it wouldn't open settings storage. But they are easy edits to default XML.
Click to expand...
Click to collapse
I'll look into that. Been ages since I've done any of that stuff. Thanks!
Sent from my HTC6545LVW using Tapatalk
Evocm7 said:
Can we not use an sqlite editor to get power saver back anymore?
Sent from my HTC6545LVW using Tapatalk
Click to expand...
Click to collapse
So can you change the settings? Such as when it takes effect.
Thanks
Whoops, wrong person I was trying to quote
Launcher Hijack V4
Allows a custom launcher on Amazon Kindle Fire's and Fire TV's
An early, insert seasonally appropriate celebration here, present from me. Adds support for Fire TV devices and the new Fire Tablets. Enjoy.
Please find instructions for use here (https://github.com/BaronKiko/LauncherHijack/blob/master/HELP.md#fire-tvs). Adb required for first time setup on Fire TV's.
Find the latest release here (https://github.com/BaronKiko/LauncherHijack/releases). I'm working on Aptoide and F-Droid releases for those that prefer those methods. Hopefully in the next few days.
If you want to look at my rushed and sloppy code then feel free to look here (https://github.com/BaronKiko/LauncherHijack)
Please send any issues here (https://github.com/BaronKiko/LauncherHijack/issues)
Feeling kind and want to donate? Find instructions here (https://github.com/BaronKiko/LauncherHijack/blob/master/README.md#donations)
Huge thanks to ParrotGeek1, Speeddymon and Urbanman2004.
ParrotGeek1 made V1 and without him I would have never started this project.
Speeddymon donated a 2018 Fire TV allowing me to implement Fire TV support. If you have a Fire TV you should thank him
Urbanman2004 created the lovely logo/app icon. Be sure to thank him too.
Finally I don't really check these forums often anymore so please head over to the github page and post there if you are having any issues. Usually I am pretty quick to respond there.
im not having any luck getting the accessibility function to work. i am on fireos 5.2.4.2
EDIT: I also have a fully updated firestick with the same issue. 5.2.6.7. hijack says accessibility needs to be enabled.
I believe I have a solution. I had to enable and disable some system accessibility settings to get the setting to take effect.
krsmit0 said:
im not having any luck getting the accessibility function to work. i am on fireos 5.2.4.2
EDIT: I also have a fully updated firestick with the same issue. 5.2.6.7. hijack says accessibility needs to be enabled.
I believe I have a solution. I had to enable and disable some system accessibility settings to get the setting to take effect.
Click to expand...
Click to collapse
You have to run an adb command to get it going on the fire tv's. Instructions explain it all.
The adb command alone wasn't enough. I use settings get... To verify it was there. But through several reboots it wouldnt work until I toggled other accessibility settings. This was the case for 2 different sticks.
Can you post what you did?
even with the adb command it still says accessibility needs to be enabled
huffmybrd said:
even with the adb command it still says accessibility needs to be enabled
Click to expand...
Click to collapse
Go into the standard fire TV settings and toggle.on some accessibility options. Then press home and see which launcher pops up.
Do you have the option in the settings? On the firestick 4k, fire tv (3rd gen?) and the cube (all running fire os 6.x) there are no options so you have to set it via adb. If you can do it through the system ui do it there I just thought all fire tv's didn't have the option.
Honestly I only own my fire tv because speeddymon donated it so that I could implement support for it, and I rarely use it as I have a computer hooked up to my tv making it entirely useless. In short I don't really know the in's and out's of the device.
Please do let me know what devices and fireos versions you are all running so I can update the instructions. Also what exact menu's you have to go through to get to the option.
As an aside you probably need to drop "secure" from the adb command to get it working on devices with the menu option but the system UI option is just better. Google changed it's category to stop you setting it without adb when they removed the menu option.
BaronKiko said:
Do you have the option in the settings? On the firestick 4k, fire tv (3rd gen?) and the cube (all running fire os 6.x) there are no options so you have to set it via adb. If you can do it through the system ui do it there I just thought all fire tv's didn't have the option.
Honestly I only own my fire tv because speeddymon donated it so that I could implement support for it, and I rarely use it as I have a computer hooked up to my tv making it entirely useless. In short I don't really know the in's and out's of the device.
Please do let me know what devices and fireos versions you are all running so I can update the instructions. Also what exact menu's you have to go through to get to the option.
As an aside you probably need to drop "secure" from the adb command to get it working on devices with the menu option but the system UI option is just better. Google changed it's category to stop you setting it without adb when they removed the menu option.
Click to expand...
Click to collapse
its not the home button option that needs to be toggled. like you say, its not there. but toggling some of the other options seems to get this to work after you have done the adb command. but doing the adb command alone and rebooting doesnt make this work. the system doesn't think it is enabled. toggling other accessibility options on and off finally made it work for me.
BaronKiko said:
Launcher Hijack V4
Allows a custom launcher on Amazon Kindle Fire's and Fire TV's
An early, insert seasonally appropriate celebration here, present from me. Adds support for Fire TV devices and the new Fire Tablets. Enjoy.
Please find instructions for use here (https://github.com/BaronKiko/LauncherHijack/blob/master/HELP.md#fire-tvs). Adb required for first time setup on Fire TV's.
Find the latest release here (https://github.com/BaronKiko/LauncherHijack/releases). I'm working on Aptoide and F-Droid releases for those that prefer those methods. Hopefully in the next few days.
If you want to look at my rushed and sloppy code then feel free to look here (https://github.com/BaronKiko/LauncherHijack)
Please send any issues here (https://github.com/BaronKiko/LauncherHijack/issues)
Feeling kind and want to donate? Find instructions here (https://github.com/BaronKiko/LauncherHijack/blob/master/README.md#donations)
Special thanks to ParrotGeek1 and Speeddymon. ParrotGeek1 made V1 and without him I would have never started this project. Speeddymon donated a 2018 Fire TV allowing me to implement Fire TV support. If you have a Fire TV you should thank him
If somebody with some artistic talent wants to make a logo that would be much appreciated as the little android guy looks out of place in my app drawer.
Finally I don't really check these forums often anymore so please head over to the github page and post there if you are having any issues. Usually I am pretty quick to respond there.
Click to expand...
Click to collapse
Awesome.. Thanks for the update. It seems to be a lot more robust then v3. I just got done doing some quick testing. Will detail what worked in my case on a separate post below.
I do have a request. Is there any chance you can take a look at keeping Launcher Hijack as it's own app. But also can you please take a look to see if you can create a fork of a merger of your Launcher Hijack latest version & the last GitHub release of AppStarter v4.0 (Found @ : https://github.com/sphinx02/AppStarter ). AppStarter is the best launcher for FireTV devices. But it is due for an update/upgrade. Adding your Launcher Hijack code would be great. Also updating the SPMC & Kodi link changes would be great. Also merging other opensource projects like On Boot AppStarter (Found @: https://bitbucket.org/Mirakel/onbootappstarter/src would be another). Another of the major things that will need change/updating is what the Settings button (The 3 lines button to the right of the Home button) does in AppStarter vs Launher Hijack. Since right now trying to open the FireTV long press Settings also opens the AppStarter App FireTV Settings popup. Giving you an extra thing to close after coming back from the long press Settings menu.
I can test & help in anyway you want. Let me know if something you are willing to take on. All the pieces are there. They just need to be merged & upgraded.
krsmit0 said:
im not having any luck getting the accessibility function to work. i am on fireos 5.2.4.2
EDIT: I also have a fully updated firestick with the same issue. 5.2.6.7. hijack says accessibility needs to be enabled.
I believe I have a solution. I had to enable and disable some system accessibility settings to get the setting to take effect.
Click to expand...
Click to collapse
You where right. Will get more specific in a separate post below.
BaronKiko said:
You have to run an adb command to get it going on the fire tv's. Instructions explain it all.
Click to expand...
Click to collapse
On FireTV devices below FireOS v6. It seems we need two steps to enable everything needed. Will give more detail of some testing below.
krsmit0 said:
The adb command alone wasn't enough. I use settings get... To verify it was there. But through several reboots it wouldnt work until I toggled other accessibility settings. This was the case for 2 different sticks.
Click to expand...
Click to collapse
I bet both FireTV Sticks are on FireOS v5 FW ?
TimmyP said:
Can you post what you did?
Click to expand...
Click to collapse
Will get specific below.
huffmybrd said:
even with the adb command it still says accessibility needs to be enabled
Click to expand...
Click to collapse
Info on how to successfully enable everything posted below.
krsmit0 said:
Go into the standard fire TV settings and toggle.on some accessibility options. Then press home and see which launcher pops up.
Click to expand...
Click to collapse
The ADB command is still needed first. Then the only accessibility option that needs toggling is "Screen Magnifier". Just toggle the setting like you are going to turn it on. The instructions screen should popup. Then just choose "TURN OFF MAGNIFIER" at the instructions screen. Hitting "TURN OFF MAGNIFIER" will opens up Launcher Hijack v4. There you can choose AppStarter or your chosen launcher. Then you are all set.
BaronKiko said:
Do you have the option in the settings? On the firestick 4k, fire tv (3rd gen?) and the cube (all running fire os 6.x) there are no options so you have to set it via adb. If you can do it through the system ui do it there I just thought all fire tv's didn't have the option.
Honestly I only own my fire tv because speeddymon donated it so that I could implement support for it, and I rarely use it as I have a computer hooked up to my tv making it entirely useless. In short I don't really know the in's and out's of the device.
Please do let me know what devices and fireos versions you are all running so I can update the instructions. Also what exact menu's you have to go through to get to the option.
As an aside you probably need to drop "secure" from the adb command to get it working on devices with the menu option but the system UI option is just better. Google changed it's category to stop you setting it without adb when they removed the menu option.
Click to expand...
Click to collapse
Right. It seems FireOS v5 devices need a two-step setup. In correct order both the ADB command & a ACCESSIBILITY Menu Toggle (Screen Magnifier ONLY) are needed for it to proper register everything. The good news is that it only needs to be done once. And it survives a FireTV reboot. Bad news is that if you deliberately stop the Launcher Hijack App. Then you have to do do the two step setup again.
I also tried dropping the "secure" from the adb command but got he following results:
Run Code:
Code:
settings put enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
And
settings enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Both gave the following return:
Code:
ty_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ <
Invalid namespace 'enabled_accessibility_services'
usage: settings [--user NUM] get namespace key
settings [--user NUM] put namespace key value
settings [--user NUM] delete namespace key
'namespace' is one of {system, secure, global}, case-insensitive
If '--user NUM' is not given, the operations are performed on the owner user.
[email protected]:/ $
Let me know if I should test anything else regarding this.
Will post specifics of what worked for me on a separate post below.
---------- Post added at 06:49 AM ---------- Previous post was at 06:44 AM ----------
krsmit0 said:
its not the home button option that needs to be toggled. like you say, its not there. but toggling some of the other options seems to get this to work after you have done the adb command. but doing the adb command alone and rebooting doesnt make this work. the system doesn't think it is enabled. toggling other accessibility options on and off finally made it work for me.
Click to expand...
Click to collapse
Right, thanks to your post I was able to narrow it down to a single Accessibility Toggle. Working on a post that explains everything now.
Y314K said:
Right, thanks to your post I was able to narrow it down to a single Accessibility Toggle. Working on a post that explains everything now.
Click to expand...
Click to collapse
Great, thanks. I wasn't sure what exactly was working, but i spent sometime on both sticks until it worked. I am on fireos 5 on both sticks. I think the issue i have now is i keep ending up back on the fire tv launcher. i think hijack or my launcher choice (TVLauncher) are getting kicked out of memory. Other then that this feels extremely stable and very consistent.
Guide for FireTV's on FireOS 5 FirmWare v0.5...
Guide for FireTV's on FireOS 5 FirmWare v.05
This guide should work on all FireTV devices on any FireOS 5. Rooted & Non-Rooted
**Will update guide with method to install Launcher Hijack from the FireTV itself.**
Tested on:
- FireTV 1 Box - Rooted with Bootloader fully unlocked.
- On PreRooted Fire OS 5.2.6.6 (617513220)
- Running without SuperSU which means NO Root access except in TWRP.
- Basically it runs like on stock FW with the option to enable root.
- Should be the same for all other FireTV's on FireOS 5 that have the Accessibility option in Settings.
Installation (Based on the Launcher Hijack GitHub Guide):
ADB Code Method
Navigate to this GitHub's downloads page (https://github.com/BaronKiko/LauncherHijack/releases) on your desktop/laptop and download the latest APK.
Install ADB on your desktop/laptop (Google will help you) and ensure a connection to your Fire TV.
Install Launcher Hijack with this command:
adb install <path to downloaded APK>
Click to expand...
Click to collapse
Ensure you have some Launchers installed.
Enable the Accessibility Service using these two commands (exactly in this order):
adb shell
Code:
settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Then...
Code:
settings put secure accessibility_enabled 1
Click to expand...
Click to collapse
If this is a first/fresh install of LH (Launcher Hijack). LH will open.
Select your desired Launcher from the list provided
If you had previously opened LH & selected a desired Launcher.
Your previously chosen Launcher will open.
Reboot your device (Recommended but not required).
Congratulation, if all is working correctly your home button should now open your chosen launcher
Accessibility Toggle Method
Navigate to this GitHub's downloads page (https://github.com/BaronKiko/LauncherHijack/releases) on your desktop/laptop and download the latest APK.
Install ADB on your desktop/laptop (Google will help you) and ensure a connection to your Fire TV.
Install Launcher Hijack with this command:
adb install <path to downloaded APK>
Click to expand...
Click to collapse
Ensure you have some Launchers installed.
Enable the Accessibility Service using this command:
adb shell
Code:
settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Click to expand...
Click to collapse
On your FireTV go to & click on [ Settings / Accessibility / Screen Magnifier ]
The Screen Magnifier instructions menu will popup.
Click on [ TURN OFF MAGNIFIER ].
If this is a first/fresh install of LH (Launcher Hijack). LH will open.
Select your desired Launcher from the list provided
If you had previously opened LH & selected your desired Launcher.
Your previously chosen Launcher should open.
Reboot your device
Congratulation, if all is working correctly your home button should now open your chosen launcher
Important, Accessing Settings and the Long Press Menu
Unfortunately for FireTV devices a compromise had to be made. To access the long press menu and with it settings you have to hold menu and home together. You can also get to the default launcher by simply pressing them together.
Troubleshooting
If you are having issues then there are some common issues you can check here:
Ensure you are using an Amazon TV device running Fire OS 5, compatible with all versions as of release (FW 5.2.6.7 = latest).
Ensure you have enabled the accessibility service with the command: adb shell settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Ensure you can open your launcher directly i.e. Using any launcher, other than your chosen launcher, open you chosen launcher like any other app, this should open your chosen launcher.
Ensure you have selected your chosen launcher in Launcher Hijack.
Reboot your device after following all previous steps.
After clicking home initially wait 10 seconds and press home again. This happens when your chosen launchers process gets killed in the background and may happen from time to time, especially after a reboot. There are plenty of existing apps that already keep a chosen application in memory so try one of those if this is a reoccurring issue for you.
If all else fails try using one of the following launchers with known compatibility: AppStarter or HALauncher.
now, any working solution to keep the launcher in memory?
Y314K said:
Guide for FireTV's on FireOS 5 FirmWare v.05
This guide should work on all FireTV devices on any FireOS 5. Rooted & Non-Rooted
**Will update guide with method to install Launcher Hijack from the FireTV itself.**
Tested on:
- FireTV 1 Box - Rooted with Bootloader fully unlocked.
- On PreRooted Fire OS 5.2.6.6 (617513220)
- Running without SuperSU which means NO Root access except in TWRP.
- Basically it runs like on stock FW with the option to enable root.
- Should be the same for all other FireTV's on FireOS 5 that have the Accessibility option in Settings.
Installation (Based on the Launcher Hijack GitHub Guide):
Navigate to this GitHub's downloads page (https://github.com/BaronKiko/LauncherHijack/releases) on your desktop/laptop and download the latest APK.
Install ADB on your desktop/laptop (Google will help you) and ensure a connection to your Fire TV.
Install Launcher Hijack with this command:
Ensure you have some Launchers installed.
Enable the Accessibility Service using this command:
On your FireTV go to & click on [ Settings / Accessibility / Screen Magnifier ]
The Screen Magnifier instructions menu will popup.
Click on [ TURN OFF MAGNIFIER ].
If this is a first/fresh install of LH (Launcher Hijack). LH will open.
Select your desired Launcher from the list provided
If you had previously opened LH & selected your desired Launcher.
Your previously chosen Launcher should open.
Reboot your device
Congratulation, if all is working correctly your home button should now open your chosen launcher
Important, Accessing Settings and the Long Press Menu
Unfortunately for FireTV devices a compromise had to be made. To access the long press menu and with it settings you have to hold menu and home together. You can also get to the default launcher by simply pressing them together.
Troubleshooting
If you are having issues then there are some common issues you can check here:
Ensure you are using an Amazon TV device running Fire OS 5, compatible with all versions as of release (FW 5.2.6.7 = latest).
Ensure you have enabled the accessibility service with the command: adb shell settings put secure enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Ensure you can open your launcher directly i.e. Using any launcher, other than your chosen launcher, open you chosen launcher like any other app, this should open your chosen launcher.
Ensure you have selected your chosen launcher in Launcher Hijack.
Reboot your device after following all previous steps.
After clicking home initially wait 10 seconds and press home again. This happens when your chosen launchers process gets killed in the background and may happen from time to time, especially after a reboot. There are plenty of existing apps that already keep a chosen application in memory so try one of those if this is a reoccurring issue for you.
If all else fails try using one of the following launchers with known compatibility: AppStarter or HALauncher.
Click to expand...
Click to collapse
Many thanks for the detailed write up.
Can I just confirm that on the latest 4K firestick, there is no way to do the above without running the ADB commands? I recall using the launcher highjack on the 2nd Gen firestick WITHOUT running any ADB commands.
thanks again
Gosh that's a lot to break down.
Y314K said:
I do have a request. Is there any chance you can take a look at keeping Launcher Hijack as it's own app. But also can you please take a look to see if you can create a fork of a merger of your Launcher Hijack latest version & the last GitHub release of AppStarter v4.0 (Found @ : https://github.com/sphinx02/AppStarter ). AppStarter is the best launcher for FireTV devices. But it is due for an update/upgrade. Adding your Launcher Hijack code would be great. Also updating the SPMC & Kodi link changes would be great.
Click to expand...
Click to collapse
Merging the code into AppStarter would be a lot of work with no real benefit. Simply install them both separately and select AppStarter in Launcher Hijack. Also as I said in a previous post I honestly don't use my Fire TV so I don't really want to maintain AppStarter. I see more use in making the Fire TV a dedicated kodi/plex box with Launcher Hijack anyhow.
Y314K said:
Also merging other opensource projects like On Boot AppStarter (Found @: https://bitbucket.org/Mirakel/onbootappstarter/src would be another).
Click to expand...
Click to collapse
On Boot AppStarter is just a broadcast receiver which this app already uses to start on boot. Again there would be no benefit to a merge as it's not related to Launcher Hijack.
Y314K said:
Another of the major things that will need change/updating is what the Settings button (The 3 lines button to the right of the Home button) does in AppStarter vs Launher Hijack. Since right now trying to open the FireTV long press Settings also opens the AppStarter App FireTV Settings popup. Giving you an extra thing to close after coming back from the long press Settings menu.
Click to expand...
Click to collapse
Unfortunately this is the best compromise I could make and it effects whatever app you happen to have open. I chose this because generally the menu press is something easy to cancel (as you said you just press back or menu again). I could cache the menu press and activate it with a delay but that could break applications that depend on long press of the menu button (don't know any apps that do that but it's possible) so it's just not worth it. It would also be a whole lot of work when I'm busy trying to get another job as I tend to like eating.
Y314K said:
The ADB command is still needed first. Then the only accessibility option that needs toggling is "Screen Magnifier". Just toggle the setting like you are going to turn it on. The instructions screen should popup. Then just choose "TURN OFF MAGNIFIER" at the instructions screen. Hitting "TURN OFF MAGNIFIER" will opens up Launcher Hijack v4. There you can choose AppStarter or your chosen launcher. Then you are all set.
Right. It seems FireOS v5 devices need a two-step setup. In correct order both the ADB command & a ACCESSIBILITY Menu Toggle (Screen Magnifier ONLY) are needed for it to proper register everything. The good news is that it only needs to be done once. And it survives a FireTV reboot. Bad news is that if you deliberately stop the Launcher Hijack App. Then you have to do do the two step setup again.
Click to expand...
Click to collapse
That's totally bizarre, no idea why that would be the case. My assumption is the settings aren't being applied for whatever reason after the command. Would really like a purely adb solution.
Y314K said:
I also tried dropping the "secure" from the adb command but got he following results:
Run Code:
Code:
settings put enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
And
settings enabled_accessibility_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ
Both gave the following return:
Code:
ty_services com.baronkiko.launcherhijack/com.baronkiko.launcherhijack.AccServ <
Invalid namespace 'enabled_accessibility_services'
usage: settings [--user NUM] get namespace key
settings [--user NUM] put namespace key value
settings [--user NUM] delete namespace key
'namespace' is one of {system, secure, global}, case-insensitive
If '--user NUM' is not given, the operations are performed on the owner user.
[email protected]:/ $
Let me know if I should test anything else regarding this.
Click to expand...
Click to collapse
Ok it's under secure then, I assume you don't get an invalid namespace error for the original command?
Oh boy there's a whole other post I didn't see before getting this far. Wont quote it as it's really long but I'm glad to see you have a reliable way to set it up. I found this command that may help if run first:
Code:
settings put secure accessibility_enabled 1
No idea if it will fix the issue I just saw it mentioned in a post over here: https://autotools.helprace.com/i98-control-accessibility-via-secure-settings It does seem like your trick could set this variable allowing it to work, I just don't know. Regardless I will update the instructions with your findings so others don't have such issues.
krsmit0 said:
Great, thanks. I wasn't sure what exactly was working, but i spent sometime on both sticks until it worked. I am on fireos 5 on both sticks. I think the issue i have now is i keep ending up back on the fire tv launcher. i think hijack or my launcher choice (TVLauncher) are getting kicked out of memory. Other then that this feels extremely stable and very consistent.
Click to expand...
Click to collapse
Launcher Hijack is a service so it shouldn't ever be ousted from system memory. It is possible but if it ever does happen then it calls my close function (there so code can wrap up) and the code simply starts a new instance. If it went down you would have to disable then enable the service via adb or reboot. If you just have to press home again it's the launcher. After some Googling there are "sticky intents" that may help but apparently they are not great to use as they can cause memory issues. It leads to the fundamental issue, is it a smart thing to fix? These devices don't have a lot of memory to begin with and the fact that your launcher is getting killed means the device has run out. In that case I would say the right thing to do is to kill the launcher an it can be started again later and it's better that what you are doing lagging badly.
If I find some time, big if there, I can see if sticky intents are the magic they seem to be, honestly I'm doubtful but, if so I can put it as an option via settings. Right now your best bet is to use a light weight launcher or simply press home again.
Been writing this for an hour now -_-
But finally can one of you with a Fire TV (or stick) running Fire OS 5 check that the settings menu in Launcher Hijack has "Hardware Button Detection", "Broadcast Receiver Detection" and "Disable while menu held" checked by default and the others off. You can load the defaults with the menu if you changed any of the options. Just want to make sure that the defaults are correct for your device.
Yet another post:
Intenti0n said:
Many thanks for the detailed write up.
Can I just confirm that on the latest 4K firestick, there is no way to do the above without running the ADB commands? I recall using the launcher highjack on the 2nd Gen firestick WITHOUT running any ADB commands.
thanks again
Click to expand...
Click to collapse
You can enable "Overlay Detection" in the Launcher Hijack settings to get it working like the old Launcher Hijack but it's just not as good and you can't use the long press menu so I don't suggest it.
krsmit0 said:
now, any working solution to keep the launcher in memory?
Click to expand...
Click to collapse
Have not had experience on this. I still use AppStarter v4.0. Which seem to be pretty good at staying in memory. Specially since I also use [NOROOT] On Boot AppStarter v1.0. For it to load on Boot. I don't remember it ever being closed. Unless I choose to close it.
Intenti0n said:
Many thanks for the detailed write up.
Can I just confirm that on the latest 4K firestick, there is no way to do the above without running the ADB commands? I recall using the launcher highjack on the 2nd Gen firestick WITHOUT running any ADB commands.
thanks again
Click to expand...
Click to collapse
Seems to be a new method found by the developer to work with the changes that Google/Amazon have made between FireOS 5 & FireOS 6 (Google's base Android code usually has the biggest changes). Harder to do when your dealing with two different versions of Android.
Y314K said:
Have not had experience on this. I still use AppStarter v4.0. Which seem to be pretty good at staying in memory. Specially since I also use [NOROOT] On Boot AppStarter v1.0. For it to load on Boot. I don't remember it ever being closed. Unless I choose to close it.
Seems to be a new method found by the developer to work with the changes that Google/Amazon have made between FireOS 5 & FireOS 6 (Google's base Android code usually has the biggest changes). Harder to do when your dealing with two different versions of Android.
Click to expand...
Click to collapse
To be clear you don't need AppStarter, this app does that on it's own for the selected launcher. Appstarter simply uses very little memory so it rarely gets kicked. It's also super quick to boot so if it does get kicked it can usually start in time.
Also you should have enabled the accessibility service on the old version too, I just use it more now and disabled the old method be default as it causes issues when both methods are running in parallel.
You can enable "Overlay Detection" in the Launcher Hijack settings to get it working like the old Launcher Hijack but it's just not as good and you can't use the long press menu so I don't suggest it.
Click to expand...
Click to collapse
I have enabled the "Overlay detection" and rebooted. After rebooted, the HAL launcher starts up automatically.
However, when I press the home key on the remote, it goes back to the default launcher.
is that expected?
Intenti0n said:
I have enabled the "Overlay detection" and rebooted. After rebooted, the HAL launcher starts up automatically.
However, when I press the home key on the remote, it goes back to the default launcher.
is that expected?
Click to expand...
Click to collapse
It probably shouldn't do that but I'm gonna say that feature just isn't supported on fire TV's. It's for 2017 and earlier fire tablets and you just don't need it on the TV's.
BaronKiko said:
It probably shouldn't do that but I'm gonna say that feature just isn't supported on fire TV's. It's for 2017 and earlier fire tablets and you just don't need it on the TV's.
Click to expand...
Click to collapse
OK thanks, I will try the ADB method then
Hi,
recently I have a "dot" on my screen and when I click on it a round pop-up mneu with an android sign appears in the middle.
Anyone have any idea where this could come from, in the installed apps I can't find an app that causes this, so I suspect a setting somewhere
Best regards
Frank
Something is activated in settings of launcher, some option for google
Fvdzanst said:
Hi,
recently I have a "dot" on my screen and when I click on it a round pop-up mneu with an android sign appears in the middle.
Anyone have any idea where this could come from, in the installed apps I can't find an app that causes this, so I suspect a setting somewhere
Click to expand...
Click to collapse
Hi, on my head unit it's the app "assistant" that show this dot. It's not shown in the app drawer so you have to start the app with tasker e.g. to access the settings and disable it. The other way is to look at the general settings section. There could be an entry called "flying ball" (Chinese...). Just disable it.