NO ROOT REQUIRED: Completely disable and enable your lock screen - Fire HD 8 and HD 10 Q&A, Help & Troubleshooting

Many of us don't have root and many of us also uninstalled may system apps, including Fire Launcher. That left us with some annoyances. One major annoyance was being kicked to the lock screen whenever we swiped away apps from the recent apps menu. Some people saw annoying flashes. Well this isn't quite a fix, but it pretty much takes care of the problem. You can now remove your lock screen completely and replace it at will and you do NOT need root access.
***WARNING: Touching any other settings on your tablet during this guide can cause a brick!!!***
1. Download and install Settings Database Editor.
2. Plug your tablet into your PC and open an ADB window. Enter the following:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
Step number 2 MUST be done in order for this to work.
3. Open Settings Database Editor and tap on the 'secure' tab at the top.
4. These settings are in alphabetical order. Scroll until you see:
Code:
"lockscreen_disabled" "0"
5. Change the 0 to a 1. DO NOT CHANGE ANYTHING ELSE
6. Close Settings Database Editor
Now turn off your screen. Now turn it back on. You are welcome! I have a few more tricks coming. Watch for some later!
IF THE ABOVE DOESN'T WORK, TO DISABLE LOCK SCREEN:
Code:
adb shell settings put secure lockscreen_disabled 1
ENABLE LOCK SCREEN:
Code:
adb shell settings put secure lockscreen_disabled 0

Both methods don´t work on my Fire HD10 2017.

tommes-d said:
Both methods don´t work on my Fire HD10 2017.
Click to expand...
Click to collapse
It worked almost instantly for me. Maybe wait a bit? Did you reboot? It won't work on every device. Doesn't work on my Galaxy S7.

Not working for me too (Fire HD 8 2016). Also, you've made a mistake: original setting name is "lockscreen.disabled" (dot, not an underscore).

sensboston said:
Not working for me too (Fire HD 8 2016). Also, you've made a mistake: original setting name is "lockscreen.disabled" (dot, not an underscore).
Click to expand...
Click to collapse
Disappointing. Today I got a good one though. I can't wait to get home and post a thread.

I know this isn't the correct forum for this but I tried this on a Fire 7 (2017) and it also does not seem to work.

is there an updated way to do this?
is there an updated way to do this?
edit: kindle fire 8 7th gen, confirmed not working.

Doesn't work on my Fire HD8. But while browsing through Settings Database Editor I have found something useful.
In the "Global Table" tab there's a setting called LOCKSCREEN_AD_ENABLED. Change the value from 1 to 0, save. Turn off screen, turn it on again --> ads are gone!
At least for a while...

Seems to be working on KFAUWI (Fire 7 7th Gen) on 5.4.0.0.
EDIT: Maybe it doesn't work with 5.4.0.1 and later?
It would be useful for those reporting success/failure to include not just device model, but fw version as well.
EDIT1: After some time playing around the system I have found out that by default it actually does not work, but if Global Table->"device_provisioned" = 0 then lock screen gets disabled, but serial number gets greyed out and developer options get disabled, while adb remains functional.
On 5.6.0.0 even change to "device_provisioned" did not disable the lock screen.

gabosius said:
Seems to be working on KFAUWI (Fire 7 7th Gen) on 5.4.0.0.
EDIT: Maybe it doesn't work with 5.4.0.1 and later?
It would be useful for those reporting success/failure to include not just device model, but fw version as well.
Click to expand...
Click to collapse
There are settings in the "private" class that override some of these lower ones, usually in favor their using their own software. I think most device stock settings are hidden for the purpose of favoring their own software. Though with Amazon, I scratch my head. Why spend the large amount of money, to install a high tech, customizable GPS system on devices, only to spend more money carelessly blocking your Access?
Sent from my Samsung Galaxy S4 using XDA Labs

DragonFire1024 said:
There are settings in the "private" class that override some of these lower ones, usually in favor their using their own software. I think most device stock settings are hidden for the purpose of favoring their own software. Though with Amazon, I scratch my head. Why spend the large amount of money, to install a high tech, customizable GPS system on devices, only to spend more money carelessly blocking your Access?
Sent from my Samsung Galaxy S4 using XDA Labs
Click to expand...
Click to collapse
That's fairly simple, the same goes for one of the iPhones (don't recall which gen exactly) which had two different models of radio chips, one of which did support LTE, but Apple decided to disable LTE support for that gen of the phone altogether.
Now more on the topic, checked the specs of all 7th gen tablets, indeed none of them seem to support GPS officially (for some reason I thought that HD8/HD10 might have it), but if they have the hw, it could be for testing purposes to test proprietary GPS related sw on development devices before introducing it in the next gen? Or simply they decided to drop it somewhere along the way but left the hardware (as we still have Serial/UART on some production devices nowadays, which are used only for debugging in the development stage).
On the other hand, where did you get the info that it actually has GPS related hardware? Because while exploring my device settings I only found a hint on A-GPS support (which is not proven).

gabosius said:
That's fairly simple, the same goes for one of the iPhones (don't recall which gen exactly) which had two different models of radio chips, one of which did support LTE, but Apple decided to disable LTE support for that gen of the phone altogether.
Now more on the topic, checked the specs of all 7th gen tablets, indeed none of them seem to support GPS officially (for some reason I thought that HD8/HD10 might have it), but if they have the hw, it could be for testing purposes to test proprietary GPS related sw on development devices before introducing it in the next gen? Or simply they decided to drop it somewhere along the way but left the hardware (as we still have Serial/UART on some production devices nowadays, which are used only for debugging in the development stage).
On the other hand, where did you get the info that it actually has GPS related hardware? Because while exploring my device settings I only found a hint on A-GPS support (which is not proven).
Click to expand...
Click to collapse
Add a few .xml configuration files to start and there is configuration settings in the framework. Look for an app on the tablet with HERE in all caps in the title. That's the APK module making it possible. And yes I figured out a way to modify framework settings

DragonFire1024 said:
Add a few .xml configuration files to start and there is configuration settings in the framework. Look for an app on the tablet with HERE in all caps in the title. That's the APK module making it possible. And yes I figured out a way to modify framework settings
Click to expand...
Click to collapse
I see, just checked MT8127 specs, and indeed there seems to be integrated support for GPS with GLONASS, that may be something interesting to play with.
EDIT: HD8/HD10 even have broader support of GPS related technologies according to their SoC specs.
Yeah, I was following root progress thread, even tried Blueborne exploit (the one published by Armis labs on github) on KFAUWI without much success as there is no access to /proc/<pid>/maps. And framework-res.apk mod looks promising only for devices having root, as getting required permissions outside /system is rather problematic.
Yet I was surprised that WRITE_SECURE_SETTINGS can be assigned outside /system. As I was poking around com.amazon.dcp.permission.DISPLAY_DEBUG_UI for quite some time.

gabosius said:
Yet I was surprised that WRITE_SECURE_SETTINGS can be assigned outside /system. As I was poking around com.amazon.dcp.permission.DISPLAY_DEBUG_UI for quite some time.
Click to expand...
Click to collapse
Do you have any idea if you can grant something like Activity Launcher the DISPLAY_DEBUG_UI permission? Some of the activities gave me errors when I tried to open them, saying they require com.amazon.dcp.permission.DISPLAY_DEBUG_UI.
The thing is, this appears to be a custom permission added by Amazon, not available in the official Android documentation.
Would Activity Launcher even be capable of launching certain "hidden" activities with this permission granted? Presumably you would grant permission over ADB the same way as WRITE_SECURE_SETTINGS?
Any ideas would be great.

lakitu47 said:
Do you have any idea if you can grant something like Activity Launcher the DISPLAY_DEBUG_UI permission? Some of the activities gave me errors when I tried to open them, saying they require com.amazon.dcp.permission.DISPLAY_DEBUG_UI.
The thing is, this appears to be a custom permission added by Amazon, not available in the official Android documentation.
Would Activity Launcher even be capable of launching certain "hidden" activities with this permission granted? Presumably you would grant permission over ADB the same way as WRITE_SECURE_SETTINGS?
Any ideas would be great.
Click to expand...
Click to collapse
Tried granting it to other apps and it resulted in "com.amazon.dcp.permission.DISPLAY_DEBUG_UI is not a changeable type" the command I used was pm grant com.amazon.dcp com.amazon.dcp.permission.DISPLAY_DEBUG_UI so yes, the syntax is the same with custom amazon permissions. Also execution of dumpsys package com.amazon.dcp shows that app already has DISPLAY_DEBUG_UI permission.
My guess is that it requires root, as even when I am launching activity from adb shell (not in context of activity manager) I get the same error that it requires the permission, and the same goes for some other hidden amazon applications.
EDIT: you can get list of device permissions by executing "pm list permissions" without quotes from adb shell, there are at least a few interesting ones.

lakitu47 said:
Do you have any idea if you can grant something like Activity Launcher the DISPLAY_DEBUG_UI permission? Some of the activities gave me errors when I tried to open them, saying they require com.amazon.dcp.permission.DISPLAY_DEBUG_UI.
The thing is, this appears to be a custom permission added by Amazon, not available in the official Android documentation.
Would Activity Launcher even be capable of launching certain "hidden" activities with this permission granted? Presumably you would grant permission over ADB the same way as WRITE_SECURE_SETTINGS?
Any ideas would be great.
Click to expand...
Click to collapse
That's a great question and one that hasn't been asked before. I can tell you I've been able to, in some apps, modify the manifest permissions. For example, I can use an app to edit the manifest of Jack Pals terminal emulator to add the secure settings permission and have it successfully install etc. I never thought of doing the same with activity launcher and if successful, seeing what happens. This could be very interesting. If you give me a few copies of some of the manifests permissions, I can see if a recompile and install will hold.

DragonFire1024 said:
That's a great question and one that hasn't been asked before. I can tell you I've been able to, in some apps, modify the manifest permissions. For example, I can use an app to edit the manifest of Jack Pals terminal emulator to add the secure settings permission and have it successfully install etc. I never thought of doing the same with activity launcher and if successful, seeing what happens. This could be very interesting. If you give me a few copies of some of the manifests permissions, I can see if a recompile and install will hold.
Click to expand...
Click to collapse
I attached a text document with ALL of the permissions listed by "pm list permissions" since it was too long to put here.

lakitu47 said:
I attached a text document with ALL of the permissions listed by "pm list permissions" since it was too long to put here.
Click to expand...
Click to collapse
Give me a few hours to see if I can modify the app. If I can, I'll upload a. APK
Sent from my Samsung Galaxy S4 using XDA Labs

DragonFire1024 said:
Give me a few hours to see if I can modify the app. If I can, I'll upload a. APK
Sent from my Samsung Galaxy S4 using XDA Labs
Click to expand...
Click to collapse
Questionable whether anything would change, as I don't see where activity launcher would need write secure settings permission.
On the other hand I did some digging on the "not a changeable permission type" message, and this provides some answer on what it might be expecting in order to activate?/assign the permission.

gabosius said:
Questionable whether anything would change, as I don't see where activity launcher would need write secure settings permission.
On the other hand I did some digging on the "not a changeable permission type" message, and this provides some answer on what it might be expecting in order to activate?/assign the permission.
Click to expand...
Click to collapse
Interesting. So each permission has a certain "protection" level?

Related

[ROOT][HOWTO] Disable Lockscreen Ads

WARNING: I am not responsible for any bricked devices caused by attempting this howto. If you haven't read this how to twice, and fully understand the requirements, then please don't attempt it.
Introduction (not important):
First, this may not be the best way to do this, and if someone knows a better way, I'll be happy to listen.
I kinda stumbled across this solution after trying the many other ways to solve the problem, but all the other ways seemed to have something incomplete with them and ended with no ADS, but no something else, like rotating lock screens or something.
I started with the assumption that the ADS program (dtcp) can be disabled through a flag somewhere on the system, for if you pay the extra $20 you get a kindle with no ADS, but same Android build. After looking through lots of sqlite databases I found it in the com.android.providers.settings/settings.db file.
Prerequisites:
Basic knowledge of databases
SQLite Editor Pro (Free on 1Mobile Market)
DroidWall
Steps:
Open SQLite Editor
Open "Settings Storage" (com.android.providers.settings)
Open settings.db
open "global" table
Highlight entry "IS_DTCP_ENABLED"
Click the Edit Record button at the top
Change the value from a 1 to a 0
Click Save
Go back
Make same change on the "secure" table
Reboot kindle for new options to take effect.
Other Thoughts:
This just changes the value temporarily until the device checks back in with Amazon and then the value will get overridden again with the correct value. To prevent that install DroidWall and whitelist only the applications you need to access the internet. DroidWall requires root, which is why root is in the subject. But you should be doing this anyways to prevent OTA updates.
cool
Does this mean that you will now get the rotating native wallpapers that you would have if you paid for the dismissal of the ads? Currently I use adaway on my s4 hotspot and the only one I blacklist is (spectrum.s3.amazonaws.com) this has blocked updates because I am still on old software with no other blocking in place and I have noticed it also has blocked rotateing ads accept I have the same 1 at all times.
Edit: YAY !!!! and yes I now have rotating native wallpapers
Btw thank you for sharing and it is quite refreshing to see a new member join to share useful information in a well thought out and presented OP and not just join to start a thread with a question that is the heading of so many other threads that has been beat to death already..burying perfectly good information..thank you for joining us at XDA!
Awesome!!!! have been looking for a way to do this without factory reset for a while! You da man! Gonna spam that thanks button for a while lol
Thanks so much, that was easy!
Mind after a few days .2 went straight black lock screen
Anyone know what exactly I need to enable in droidwall to have internet but no ota updates or Amazon changing the lock screen back to ads?
Uhg
This mod works fine. No ads, rotating wallpapers appear every time. No reversion to black screen. No need for Droidwall. Use of Droidwall is impractical for this purpose. Who knows what not to include in some giant white list?
It appears that the wallpapers will continue to appear without reversion if you have blocked updates using the root kit.
earlgrey_44 said:
This mod works fine. No ads, rotating wallpapers appear every time. No reversion to black screen. No need for Droidwall. Use of Droidwall is impractical for this purpose. Who knows what not to include in some giant white list?
It appears that the wallpapers will continue to appear without reversion if you have blocked updates using the root kit.
Click to expand...
Click to collapse
Sorry, what's the root kit?
dras99 said:
Sorry, what's the root kit?
Click to expand...
Click to collapse
First link in this post:
http://forum.xda-developers.com/showpost.php?p=53451623&postcount=3
I assume the block update action from the rootkit is responsible for the lack of reversion to ads since I haven't done anything else except the steps I outlined in the post and the data base tweaks explained above. My kindle has been running for 5 days now without ads and with the startup wallpaper.
earlgrey_44 said:
First link in this post:
http://forum.xda-developers.com/showpost.php?p=53451623&postcount=3
I assume the block update action from the rootkit is responsible for the lack of reversion to ads since I haven't done anything else except the steps I outlined in the post and the data base tweaks explained above. My kindle has been running for 5 days now without ads and with the startup wallpaper.
Click to expand...
Click to collapse
I also blocked updates with the root kit. Then I followed this tutorial and it worked great however it did revert back to adds after a reboot or 2.
conan1600 said:
I also blocked updates with the root kit. Then I followed this tutorial and it worked great however it did revert back to adds after a reboot or 2.
Click to expand...
Click to collapse
Strange! What's different about my install I wonder?
earlgrey_44 said:
Strange! What's different about my install I wonder?
Click to expand...
Click to collapse
I'm left scratching my head over that as well. Tomorrow I will re run the ota block script as I'm now concerned that it perhaps did not do something correctly. I did check for updates and it says last update failed but better safe than sorry. I DO NOT want to end up getting updated again. I finally have this tablet running rather nicely and am quite satisfied with most aspects. Still need much more customization options but it's serviceable now. And this tablet has always had the best touch input response of any I've ever used. I'd hate to have to throw it back in the closet.
I am getting now BLACK SCREENS. Any way to change this?
Script
For anyone who wants to run this from command line (e.g. on reboot or network change event) you can create a script like below and use SManager to run it periodically. You will first need to install sqlite3 binary (google "SQLite Installer for Root").
Here is the script that needs to be executed as root:
Code:
#!/system/bin/sh
sqlite3 -batch /data/data/com.android.providers.settings/databases/settings.db "update global SET value='0' where name='IS_DTCP_ENABLED'";
sqlite3 -batch /data/data/com.android.providers.settings/databases/settings.db "update secure SET value='0' where name='IS_DTCP_ENABLED'";

Secret apps list found in Home menus!

After I used terminal emulator with the pm disable function to disable both Gamecircle apps,Amazon Video,Photos (screensaver usage),and the Amazon AppStore,and resetting with ctrl+alt+del,I found a nice little surprise in the apps tab on the Home screen.
When I went to the Apps section,the list of all my installed apps appeared on the right!
When selecting them,they open immediately,but I can't long press to view the details of an app.
However,since they are still in the settings menu as well,I can still view the details from there.
The only issue with it is that it is a little buggy with scrolling through apps.
You can figure out the com-names using 7zipper 2.0 to view the advanced "details" of your apps.
To get the names to disable the same apps I did, change 7zipper's app list to system mode.
Info for people who really hate resource hogs:KFTV Launcher is currently using 80.59MB according to memory booster!
It probably has something to do with each menu selection loading dozens of images and information and sub-apps that seem to have no individual apps for selecting to disable.
So rbox,when you feel the Home Menu MOD is stable enough,please let me know when you release it for xposed.
retroben said:
After I used terminal emulator with the pm disable function to disable both Gamecircle apps,Amazon Video,Photos (screensaver usage),and the Amazon AppStore,and resetting with ctrl+alt+del,I found a nice little surprise in the apps tab on the Home screen.
When I went to the Apps section,the list of all my installed apps appeared on the right!
When selecting them,they open immediately,but I can't long press to view the details of an app.
However,since they are still in the settings menu as well,I can still view the details from there.
The only issue with it is that it is a little buggy with scrolling through apps.
You can figure out the com-names using 7zipper 2.0 to view the advanced "details" of your apps.
To get the names to disable the same apps I did, change 7zipper's app list to system mode.
Info for people who really hate resource hogs:KFTV Launcher is currently using 80.59MB according to memory booster!
It probably has something to do with each menu selection loading dozens of images and information and sub-apps that seem to have no individual apps for selecting to disable.
So rbox,when you feel the Home Menu MOD is stable enough,please let me know when you release it for xposed.
Click to expand...
Click to collapse
This has been known for some time. I think you found the secret that I hadn't been able to figure out; I bet it was disabling the Amazon Appstore. From what I remember, the initial reports were that sideloading the Appstore from Android caused this to happen. The code I haven't been able to find yet, must check for the Appstore and it's not there or the wrong one, it falls back to this grid view. At one point I was working on a mod that exposed (get it... cuz I use Xposed... haha) a similar, but less buggy grid. I may go back to working on that.
As for the menu mod, I just got the UI done for selecting which items should be visible, and I'm just working on the saving/loading of the preferences and getting the menu to reload after it's been changed.
What all did you disable and do you have the disable code you ran?
cybertlc said:
What all did you disable and do you have the disable code you ran?
Click to expand...
Click to collapse
pm disable "com.amazon.venezia"
Note this breaks Netflix completely.
Does disabling Photos and Gamecircle break Netflix as well? What are the package names for those 2?
Download and install "Package Name Viewer" : https://play.google.com/store/apps/details?id=com.gijoon.pkgnameviewer&hl=en
Or if you already have 7Zipper 2.0,you can view the names in the applications section in the details option via longpressing an app.
7Zipper 2.0 is the only well-known app that can extract 7z files on Android.
That's time consuming to do it for every app...Package Viewer does only what it says, shows you the com.xxxx.xxx name for installed packages.
I get a "Failed to connect to dumb state service killed" error when using the pm disable command
Any ideas
Stevie G said:
I get a "Failed to connect to dumb state service killed" error when using the pm disable command
Any ideas
Click to expand...
Click to collapse
How did you get to that point? The easiest is to run 'adb shell', then 'su' and verify you have the # prompt and it should work.
rbox said:
How did you get to that point? The easiest is to run 'adb shell', then 'su' and verify you have the # prompt and it should work.
Click to expand...
Click to collapse
We'll I did not type that.what is the correct way of typing it out adb shell su com.amazon.avod
Stevie G said:
We'll I did not type that.what is the correct way of typing it out adb shell su com.amazon.avod
Click to expand...
Click to collapse
1. adb shell
2. su
3. pm disable com.amazon.avod
lightning413 said:
1. adb shell
2. su
3. pm disable com.amazon.avod
Click to expand...
Click to collapse
Thanks bud
Press enter after every part.
1a. adb shell
1b. Press Enter
2a. su
2b. Press Enter
3a. pm disable name.of.app (some begin with org instead of com)
3b. Obviously press Enter,unless you changed your mind.
Does anyone have a list of what can safely be disabled without interfering with other features/apps/functions? I want to keep my Netflix/Pandora fully functional (but could care less about games).
cybertlc said:
Does anyone have a list of what can safely be disabled without interfering with other features/apps/functions? I want to keep my Netflix/Pandora fully functional (but could care less about games).
Click to expand...
Click to collapse
Why do you feel like you have to disable anything?
rbox said:
Why do you feel like you have to disable anything?
Click to expand...
Click to collapse
I'm assuming there are things that can be disabled to use less resources.
cybertlc said:
I'm assuming there are things that can be disabled to use less resources.
Click to expand...
Click to collapse
Not really. If you run ps from adb shell, there really isn't that much running that you'd be able to disable without completely break everything.
I find that Fire TV is actually not that bad about bloating apps when compared to the GS7 that got replaced by it.
The Sony NSZ-GS7 has some bloat apps like the TTS and most of the other ones I can't remember because none of them are on Fire TV.
Kernel Tuner:
I found out that the best performance governor for CPU is the Interactive governor.
And for I/O Schedular,the deadline mode is the fastest one.
This failed the wife acceptance test as it also causes issues with (but does not totally break) Pandora.

Fake location FireTV Stick FireOS 5 (without root)

I've installed google play services ( sideload without root based on this video https://www.youtube.com/watch?v=Q-3SWSD232U ).
And Fake Location 3.27 apk (com.fakegps.mock), tried a few others that failed to install but this one installed and seems to work.
You will need to use the ADB shell to enable mock locations as well. I also installed a rotation app to force landscape on apps that seem to think its portrait.
I have my location set by ZIP code in FireOS settings however it seems that all apps don't use it.
Installed (sideloaded) all of these to get this working (I'm not certain if GP services are needed for fake location to work or not, but I think they are):
Google Account Manager_4.0.3-239410.apk
Google Play Store_4.6.17.apk
Google Play services_4.4.52 (1174655-036).apk
Google Services Framework 4.0.4-338691.apk
com.google.android.gms-8.1.14_(2244331-030)-8114030-minAPI9.apk
com.estrongs.android.pop-v4.0.2.8-242-Android-2.2.apk (ES File Explorer)
RotateScreenOrientation.apk - Free for XDA people
Fake gps - fake location_3.27.com.apk
Watch TNT_3.1.20151105.com.apk - Wanted to be able to Watch TNT on FireTV Stick (requires Cable sub) - doesn't work perfectly, can't "full screen" so there is a red banner at the top of the screen. have to use a mouse too
Enable Mock Locations (since they don't show in the settings app in Fire OS):
Code:
[email protected]:/ $ settings get secure mock_location
0
[email protected]:/ $ settings put secure mock_location 1
[email protected]:/ $ settings get secure mock_location
1
Then I opened Fake Location and set my location (accurately, as it placed me in the middle of the ocean) and started the fake location then switched apps over to Watch TNT and now I am able to stream Live TV.
Does anyone have a full list of settings that we can change via the shell access?
Edit:
Also working
Watch ABC Family (better than TNT works too)
Watch ABC - Live TV not available in my area though (but it was for ABC Family??)
I will admit that none of these are HD quality streams, 480p at best after it has buffered a bit.
Thanks for posting this tip. Followed these steps to get WatchTNT to load live streams using the latest version of Fake Location. Full-screen works on a FireTV2 -- but I can't seem to get rid of the red banner on the top of the screen. Tried disabling screen locker, but no change.
Have you come across any work-arounds? I'll try my luck on a few other app forums to see if others have had any success.
the fact that the red banner is there is why i say it doesn't work in full screen, it may take up 95% of the screen but that banner is an issue.
Not sure what can be done about it either.
horrorschow1986 said:
Use TorGuard! Works Perfect for me!
Yes it costs something but there is a Spezial offer 29,90$ /year! I'm on aftv 1. gen without Root!
Click to expand...
Click to collapse
Not sure why we would need a VPN service. FireOS 5 doesn't appear to be able to report any location data to the non Amazon apps. That's the whole point of us faking location in this instance. Our IPs are already USA based so that eliminates 95% of the need for the VPN when someone is trying to fake a location.
Old thread i know , but has anyone got fake location working with the latest fireos?
moontan33 said:
Old thread i know , but has anyone got fake location working with the latest fireos?
Click to expand...
Click to collapse
I too would love an answer to that question. I've done all the installations of APK's that are called for, and everything seems poised to work, but [email protected]:/ $ settings get secure mock_location returns a no such file or directory error.
pryingeyes said:
I too would love an answer to that question. I've done all the installations of APK's that are called for, and everything seems poised to work, but [email protected]:/ $ settings get secure mock_location returns a no such file or directory error.
Click to expand...
Click to collapse
If you want to use such apps you would need to be rooted as the app needs to be in system/priv-app for most GPS faking to work
You could use a vpn if it's just an ip based location check
TheFixItMan said:
If you want to use such apps you would need to be rooted as the app needs to be in system/priv-app for most GPS faking to work
You could use a vpn if it's just an ip based location check
Click to expand...
Click to collapse
No, that doesn't solve it. My IP address, if that was all that was required, is just fine for the purpose and would not need to be revised through a vpn. I'm trying to get my local stations via the DirecTV tablet app. It requires a GPS reading that simply shows you're somewhere in your service area, and specifically prompts you to turn on GPS locations in settings.. The Firestick doesn't provide one, but in the past people have had success by installing the various Google apps and an Android settings app, allowing mock, and then using apps like fake GPS to create a GPS reading and satisfy DirecTV that they really are sitting in their own living rooms. Fake GPS would be the simple answer except that when you open it, it prompts you to go into settings and allow mock. But because that's under Android developer options (not firestick developer options), it can't be accessed. There's no way to repeatedly click on About Phone in the newly-installed settings app to open up D.O., as you normally would on an actual phone.
In the past, installing everything in the OP and then entering that adb command was the solution, but that command no longer works. Just looking for an alternate.
Did you ever resolve this with the newer fire sticks?
I'm also wondering the same my mock locations say on withing adb however I'm getting nothing out of the firetv
man i dont like that sound of install that google play services.....if you would have asked me few months back because thats how i bricked my first firstick then went on a full on 4 days research marathon AFTER is came back up from a restart loop ON 7th DAY ._.

Daydream screensaver

One of my projects is trying to get Daydreams to work. So far I haven't been able to. I have spent months upon months researching this and have come to several conclusions, however none of them have helped me in activating this feature.
1. Amazon tablets, (Fire 7, HD 8 and 10) have a feature called 'Daydream'. Its a simple screensaver that displays when you are plugged into a PC or charging. There are colors that display or slideshows of on device photos.
2. This feature is stock Android. Nearly every device has the feature enabled, except Amazon tablets.
3. the feature exists, in full, and is blocked out by Amazon.
I have tried several ways to bring the feature out. One being, taking the BasicDreams APK, from another Android device running Lollipop 5.1.1. Basic Dreams should be the catalyst to start the program, but it does not. I have tried it from other android versions too. No matter what, the APK won't brinng out the screensaver.
I have used activity launcher, with no luck. I have used Tasker and a Secure Settings plugin to bring it out. Nope not there either. But tasker does allow me to select the type of daydream I want, it just never launches it.
I have determined there is at least one thing, one word that stops dreams. Its loacted in /system/framework/framework-res.apk. I use a simple app (APK Editor Pro) thhat decompiles the APK. I then tap on files, res, values, bools. In that list is a configuration, 'config_dreamsSupported' which is marked as 'false'. Everything else from then on is in place. I change false to true and the APK will not recompile without errors. It seems Amazon assigns their own daydreams to certain attributes, but then blocks you out from seeing them.
So it seems I am only having trouble compiling a proper APK for the system. If you want to see the settings for daydream, Activity Launcher > all activities > settings > Daydream. Framework: Framework-res.apk > res > values > bools.
I will not rest until I am able to get this working. Any help would be greatly appreciated.
I managed to hunt down a settings.apk of an android 5.1.1 ROM. So as daring as I am, I uninstalled the settings.apk and reinstalled it with the new one I found. The daydream settings menu opens, I can select dreams like Colors. But again, the screensaver doesn't start. I also managed to install a settings.apk from a 4.0 ROM. In doing that, I managed to bring up the actual stock accounts menu. I was able to select all items to sync, remove the misc amazon accounts too. Though there was no daydream settings, most all the other options worked. I might add I was doing
Code:
adb install -r -d com.package.name
after uninstalling the settings.apk and was able to then install any settings.apk from any SDK. If I can rewrite any one of these APKs, we could have stock settings.
However, I don't have screen shots as I had to reboot and I bricked. So I have to sideload back to stock. Though I'm sure the brick was caused by my massive debloating and not from the settings modding.
So I managed to get the say dream settings to launch, but no screensaver yet. However, I have a surprise for later. This will be epic
Sent from my Samsung Galaxy S4 using XDA Labs
After weeks of trying, researching and bricking, I've finally found a way to successfully edit/modify the values of framework-res.apk and SUCCESSFULLY install the modded version. I have enabled the daydream screensaver, however sofar it will only accept the clock as the screensaver. Though I am sure colors won't display because of something I did wrong.
That having been said, you won't believe what else I've been able to activate now
Sent from my Samsung Galaxy S4 using XDA Labs
I've also been trying to do this. I've been unsuccessful. Can I ask how you were able to get it to take?
And my curiosity wants to know what else you've unlocked.
DragonFire1024 said:
After weeks of trying, researching and bricking, I've finally found a way to successfully edit/modify the values of framework-res.apk and SUCCESSFULLY install the modded version. I have enabled the daydream screensaver, however sofar it will only accept the clock as the screensaver. Though I am sure colors won't display because of something I did wrong.
That having been said, you won't believe what else I've been able to activate now
Sent from my Samsung Galaxy S4 using XDA Labs
Click to expand...
Click to collapse
DaRkNesss363 said:
I've also been trying to do this. I've been unsuccessful. Can I ask how you were able to get it to take?
And my curiosity wants to know what else you've unlocked.
Click to expand...
Click to collapse
Here is the day dream activation guide: https://forum.xda-developers.com/hd8-hd10/general/root-enable-daydream-screensaver-change-t3771038
WiFi optimization: https://forum.xda-developers.com/hd8-hd10/general/root-optimize-wifi-t3767868
FireTabletSettings rewritten: https://forum.xda-developers.com/hd...oot-firetabletsettings-apk-rewritten-t3787636
Change lock screen wallpapers WITHOUT Amazon photos: https://forum.xda-developers.com/showpost.php?p=76071092&postcount=2
And more
Sent from my Amazon KFSUWI using XDA Labs
Hello.
i just bought Fire Tablet 7 9th Generation. can any one help me on how to get daydream enabled on it? i really need this enabled. and im not sure if the instructions here will work as they are for older versions of fire tabs.

[Q] Fire HD8 (2018) w/ Play Store - app recognises it isn't Google, won't run.

The tablet is owned by someone else and they want to use one app called Landscape Magazine. On the Nexus 7 it runs fine but the battery just went on it and I'm having issues sourcing a replacement battery in the UK so that's where the HD8 comes in. I thought I could just put the Play Store on (plus framework etc) and it would be ok for them. It downloads the app fine, all others work fine but when I try to launch this one app it says it only works on Android tablets. I don't know why they'd code it that way but it is what it is.
Can anyone tell me if there's some way to get an app to run if it's throwing up an error like this?
Dyonas said:
The tablet is owned by someone else and they want to use one app called Landscape Magazine. On the Nexus 7 it runs fine but the battery just went on it and I'm having issues sourcing a replacement battery in the UK so that's where the HD8 comes in. I thought I could just put the Play Store on (plus framework etc) and it would be ok for them. It downloads the app fine, all others work fine but when I try to launch this one app it says it only works on Android tablets. I don't know why they'd code it that way but it is what it is.
Can anyone tell me if there's some way to get an app to run if it's throwing up an error like this?
Click to expand...
Click to collapse
Not easily. It would take experimentation to determine which device or rom characteristic(s) are trigging the behavior followed by additional fiddling to entice the app to run. Tethering that Nexus 7 to a slim power bank may be the best solution.
NEED ROOTED.
/system/build.prop
ro.product.brand = Amazon
ro.product.manufacturer = Amazon
Change to 'Google' or etc.
I think amazon is banned by the app.
The exact error message is "This app is only suitable for the Android platform."
Didn't see the pictures attached by @erono. If you root the tablet (or may be possible in temp root shell) and change the keys he mentioned, the app works after reboot.
Thanks all for replying, especially erono who seems to have found the solution. I'll see what I can do with it because my understanding is that there is still no major Android build for the 2018 HD8. I have a starting point if nothing else and that's more than I had before!
Dyonas said:
Thanks all for replying, especially erono who seems to have found the solution. I'll see what I can do with it because my understanding is that there is still no major Android build for the 2018 HD8. I have a starting point if nothing else and that's more than I had before!
Click to expand...
Click to collapse
You could always root it and just edit BuildProp (excellent guide by bibikalka) . As far as other ways, I'm not knowledgeable enough to know any alternatives. Maybe without root, you might be able to pull BuildProp from the elevated shell and push it back after changing the lines. I'm sure there would be some permissions changes required. Hopefully someone with a bit more experience pops in and can guide you if rooting isn't an option.
nujak said:
You could always root it and just edit BuildProp (excellent guide by bibikalka) . As far as other ways, I'm not knowledgeable enough to know any alternatives. Maybe without root, you might be able to pull BuildProp from the elevated shell and push it back after changing the lines. I'm sure there would be some permissions changes required. Hopefully someone with a bit more experience pops in and can guide you if rooting isn't an option.
Click to expand...
Click to collapse
No need to modify build.prop nor will any notable gains be realized by doing so. Simply follow the guides as written.
Davey126 said:
No need to modify build.prop nor will any notable gains be realized by doing so. Simply follow the guides as written.
Click to expand...
Click to collapse
Yeah, sorry I meant in specific context to having that particular app work on the HD 8 2018. Thanks to @erono (and testing it myself) Lanscape Magazine works with changing brand and manufacturer values in the BuildProp. I know it's possible and easy to do with root. I'm just not knowledgeable enough to know any other methods.
Method without root:
Use 'App Cloner (pro version)' create an cloned app.
You can modify MANUFACTURER and BRAND in 'Developer options -> Build props'.
App was modified, you can't update in Google Play Store or purchase any paid content.
This is not a good way.

Categories

Resources