Auto Refresh rate change idea - Shield Android TV General

I was thinking of using an app like Macrodroid, Tasker, etc to possibly change the refresh rate by launching an intent of a special application that implements something like TVHZ.
But quickly hit a wall at least with Macrodroid because when I try to add a trigger for "Application launched" it requires "Access Usage Permission" which unfortunately is not a part of Android TV custom firmware settings.
I tried granting the permission via adb with: adb shell pm <packageName> android.permission.PACKAGE_USAGE_STAT
But got the same issue with app, would it be possible to get a stock nougat settings apk to see if it helps? I remember long ago there was a lollipop settings apk that was possible to sideload to the Shield.

pedromvu said:
I was thinking of using an app like Macrodroid, Tasker, etc to possibly change the refresh rate by launching an intent of a special application that implements something like TVHZ.
But quickly hit a wall at least with Macrodroid because when I try to add a trigger for "Application launched" it requires "Access Usage Permission" which unfortunately is not a part of Android TV custom firmware settings.
I tried granting the permission via adb with: adb shell pm <packageName> android.permission.PACKAGE_USAGE_STAT
But got the same issue with app, would it be possible to get a stock nougat settings apk to see if it helps? I remember long ago there was a lollipop settings apk that was possible to sideload to the Shield.
Click to expand...
Click to collapse
Use "Refresh rate tool" for it (available in google play). There is post in Shield TV App and Themes section.

Related

[Q] 5.0.1 made me realize I want to uninstall UP and Wellness

Hi,
I've been on 5.0.1 since yesterday. Didn't have any issues with battery before, and now it seems even better.
However, wishing to be fully optimized, I see on the new battery usage option, that besides the 'screen', next in line of battery consumption are 'UP' and 'Wellness'.
Any way to get rid of them, or at least stop them from running?
Thanks
Hi, you can disconnected UP from receiving data, but not remove the program on the watch, as fare as I know.
WELNESS I have the same problem. I want get rid of that too?
What about using:
Code:
adb shell pm disable [I]package_name[/I]
I found conflicting information on whether root is required for that. And of course we'd have to figure out what the package names are.
CSX321 said:
What about using:
Code:
adb shell pm disable [I]package_name[/I]
I found conflicting information on whether root is required for that. And of course we'd have to figure out what the package names are.
Click to expand...
Click to collapse
Easiest way i can think of to get the package names would be to run "adb shell top", then scan through the processes until you see the one that your looking for. if they're not listed, just open them on the watch and they should pop up
Well, it looks like the package manager (pm) does require root.
Edit...Oh, and you can get the package names with:
adb shell pm list packages
I was able to uninstall the Amazon app with a simple:
adb uninstall com.amazon.mShop.android
since that was just installed by the Amazon app on the phone.
But trying:
adb uninstall com.jawbone.upopen
results in:
Failure [DELETE_FAILED_INTERNAL_ERROR]
I'm sure we'll get this thing rooted soon, and then it should be an easy matter to disable or delete any of the pre-installed apps.
Thanks for the responders above, looks like we'll have to wait
I'd like to get rid of this garbage too. Let me know if you figure it out...
Would also like to get rid of these, I do not use my watch for fitness related stuff and the Wellness app just doesn't even work right. Don't even get me started on the stress level -_-
Disable apps?
So if we can't delete them because we need root, can we disable them? Like using the disable function in application manager...would that work through ADB without root?
I'm in the same boat..can't stand having 3 fitness apps installed (fit, wellness, up) and I do not use my watch with ANY of them! Between battery and overall responsiveness, you can't tell me that having all 3 of these running don't have any effect.
It would be awesome if we can figure out how to uninstall unwanted wear-only apps. Seems like a first generation kind of flaw that'll only get better.
Sent from my HTC6435LVW using Tapatalk

[ROOT] Disabling apps / services / bloat on FireTV 2 - 5.0.5

I've been trying out disabling some services / bloat and seeing what side effects there are.
So far here is what I've disabled:
Code:
[email protected]:/ # pm list packages -d
package:com.amazon.precog
package:com.amazon.recess
package:com.amazon.whisperplay.contracts
package:com.amazon.bueller.photos
package:com.amazon.kindle.cms
package:com.amazon.client.metrics
package:com.amazon.device.software.ota
package:com.amazon.whisperlink.core.android
package:com.amazon.application.compatibility.enforcer
package:com.amazon.whisperplay.service.install
package:com.amazon.device.software.ota.override
package:com.amazon.bueller.music
package:com.amazon.tv.launcher
If you need to use the FireOS Settings you *can't* disable 'com.amazon.tv.launcher' as when that is disabled it prevents you from accessing the system settings which you could get into via FireStarter or TV Launcher. But when this is disabled there is an android prompt that lets you pick your new default launcher and until you pick 'use always' each time you press the home button you can pick between your various launchers before deciding on the one to use, once you pick one then the home button goes back to normal behavior. So now my default launcher is TV Launcher, with FireStarter kept so that I can still access app settings to delete cache, clear data, uninstall, force stop, etc... and I've also got the Android TV leanback launcher installed but haven't been using it.
I do have rbox's FTV mod apk for xposed installed (not sure exactly what it is called off the top of my head) so its possible that this may also play a role in the home behavior.
Once I have root on my FireTV Stick when rbox is able to get the custom recovery and pre-rooted ROMs done I plan to disable those same services as the Stick is terribly slow on 5.0.x (still on 5.0.3 dev preview, thanks amazon :-/ ) as I believe the usability of the device will improve enough that I can actually use it again.
Does anybody know what "com.amazon.device.software.ota.override" is for? Sounds like it needs to be disabled like "com.amazon.device.software.ota".
I'm not sure what it is but I did disable it and haven't had any side effects.
And I did figure out that you can choose to temporarily disable the Amazon launcher and then pick a new default (like TV Launcher) and then re enable Amazon launcher and then it will no longer run at startup and you can just jump into it for prime usage as needed. I also did update the stick to 5.0.5.0 and rooted it with King root and disabled the same services on the stick.
I can't disable the ime. Everything becomes broken!
Iamandrewj said:
I can't disable the ime. Everything becomes broken!
Click to expand...
Click to collapse
"ime"? What is the full package name?
com.amazon.tv.ime
This is the package we used to to disable in fire os 3. It's to disable the on screen keyboard.
Ludacrisvp said:
I've been trying out disabling some services / bloat and seeing what side effects there are.
So far here is what I've disabled:
Code:
[email protected]:/ # pm list packages -d
package:com.amazon.precog
package:com.amazon.recess
package:com.amazon.whisperplay.contracts
package:com.amazon.bueller.photos
package:com.amazon.kindle.cms
package:com.amazon.client.metrics
package:com.amazon.device.software.ota
package:com.amazon.whisperlink.core.android
package:com.amazon.application.compatibility.enforcer
package:com.amazon.whisperplay.service.install
package:com.amazon.device.software.ota.override
package:com.amazon.bueller.music
package:com.amazon.tv.launcher
If you need to use the FireOS Settings you *can't* disable 'com.amazon.tv.launcher' as when that is disabled it prevents you from accessing the system settings which you could get into via FireStarter or TV Launcher. But when this is disabled there is an android prompt that lets you pick your new default launcher and until you pick 'use always' each time you press the home button you can pick between your various launchers before deciding on the one to use, once you pick one then the home button goes back to normal behavior. So now my default launcher is TV Launcher, with FireStarter kept so that I can still access app settings to delete cache, clear data, uninstall, force stop, etc... and I've also got the Android TV leanback launcher installed but haven't been using it.
I do have rbox's FTV mod apk for xposed installed (not sure exactly what it is called off the top of my head) so its possible that this may also play a role in the home behavior.
Once I have root on my FireTV Stick when rbox is able to get the custom recovery and pre-rooted ROMs done I plan to disable those same services as the Stick is terribly slow on 5.0.x (still on 5.0.3 dev preview, thanks amazon :-/ ) as I believe the usability of the device will improve enough that I can actually use it again.
Click to expand...
Click to collapse
Thanks for your post. I followed your instructions at the same as rooting my Fire Sticks for the first time, but I've found that no Amazon Instant Videos will play now.
Would any of these disabled services affect that, or is it maybe just because it is rooted that Amazon won't allow video playback? Just trying to pinpoint the problem.
If you disable com.amazon.tv.launcher that will prevent you from accessing the menu to see any prime videos.
Otherwise, no those shouldn't have an impact on playing prime. I've had no issues with prime video playing.
I do have com.amazon.tv.launcher enabled but not set as my home screen. Once you disable it as long as you have 2 other "launchers" android will ask you which one you want to use. Then you pick the new default you want and then you can reenable the Amazon launcher and still have the launcher you want as default.
Ludacrisvp said:
If you disable com.amazon.tv.launcher that will prevent you from accessing the menu to see any prime videos.
Otherwise, no those shouldn't have an impact on playing prime. I've had no issues with prime video playing.
I do have com.amazon.tv.launcher enabled but not set as my home screen. Once you disable it as long as you have 2 other "launchers" android will ask you which one you want to use. Then you pick the new default you want and then you can reenable the Amazon launcher and still have the launcher you want as default.
Click to expand...
Click to collapse
Thanks for the reply, but I didn't disable that one, because of your previous warning.
What version do you have installed?
Ludacrisvp said:
I've been trying out disabling some services / bloat and seeing what side effects there are.
So far here is what I've disabled:
Code:
[email protected]:/ # pm list packages -d
package:com.amazon.precog
package:com.amazon.recess
package:com.amazon.whisperplay.contracts
package:com.amazon.bueller.photos
package:com.amazon.kindle.cms
package:com.amazon.client.metrics
package:com.amazon.device.software.ota
package:com.amazon.whisperlink.core.android
package:com.amazon.application.compatibility.enforcer
package:com.amazon.whisperplay.service.install
package:com.amazon.device.software.ota.override
package:com.amazon.bueller.music
package:com.amazon.tv.launcher
If you need to use the FireOS Settings you *can't* disable 'com.amazon.tv.launcher' as when that is disabled it prevents you from accessing the system settings which you could get into via FireStarter or TV Launcher. But when this is disabled there is an android prompt that lets you pick your new default launcher and until you pick 'use always' each time you press the home button you can pick between your various launchers before deciding on the one to use, once you pick one then the home button goes back to normal behavior. So now my default launcher is TV Launcher, with FireStarter kept so that I can still access app settings to delete cache, clear data, uninstall, force stop, etc... and I've also got the Android TV leanback launcher installed but haven't been using it.
I do have rbox's FTV mod apk for xposed installed (not sure exactly what it is called off the top of my head) so its possible that this may also play a role in the home behavior.
Once I have root on my FireTV Stick when rbox is able to get the custom recovery and pre-rooted ROMs done I plan to disable those same services as the Stick is terribly slow on 5.0.x (still on 5.0.3 dev preview, thanks amazon :-/ ) as I believe the usability of the device will improve enough that I can actually use it again.
Click to expand...
Click to collapse
Where can I get leanback launcher? Will it work on fire stick? I'm about to disable all the services you recommend.
Will you upload somewhere the android leanback launcher? Many thanks.
Enviado desde mi A0001 mediante Tapatalk
Ludacrisvp said:
"ime"? What is the full package name?
Click to expand...
Click to collapse
i too cannot disable com.amazon.tv.ime or I will get a black screen on my aftv2. On my aftv1 it disables without issue.
Antieco said:
Where can I get leanback launcher? Will it work on fire stick? I'm about to disable all the services you recommend.
Will you upload somewhere the android leanback launcher? Many thanks.
Enviado desde mi A0001 mediante Tapatalk
Click to expand...
Click to collapse
I was able to install the Leanback Launcher on my stick a few weeks back but it must be installed / converted as a system app for it to run.
dave157 said:
I was able to install the Leanback Launcher on my stick a few weeks back but it must be installed / converted as a system app for it to run.
Click to expand...
Click to collapse
Would you share the apk please
Enviado desde mi A0001 mediante Tapatalk
Sure, no problem. I just got home from work, give me an hour or so and I'll post a link and the procedure I used. FYI, I was also able to load Google Play (Leanback) but wasn't able to download/update apks for some reason. It would go through the whole procedure (asking you to accept permissions, etc...) but when the download started , Play store would crash.
I'm definitely more exhausted from work than I thought I was, but I promise to have the link up tomorrow morning (9-10 am East. US)
dave157 said:
I'm definitely more exhausted from work than I thought I was, but I promise to have the link up tomorrow morning (9-10 am East. US)
Click to expand...
Click to collapse
No worries, thanks.
Do I need to install Google play services?
Enviado desde mi A0001 mediante Tapatalk
I do have Play Services installed as well as the other Google apk's (Login Mgr, Svc Framework). After following sconnyuk's guide to rooting the stick (http://forum.xda-developers.com/showthread.php?t=3399298) and then disabling ota/bloat/services, I installed the google apps and the Android TV Launcher (Leanback). The launcher will not run until converted to a system app. https://www.dropbox.com/s/1fntiva8r5ilj6d/FireStick Leanback.zip?dl=0
I found this list here in the for of a script.
I disabled everything in this script except the home related section.. Will tinker with it later some.
Basically if you are not using your firetv for anything amazon related.. This list is fine.
Notice in the script the # before some commands. These will not initiate in script by default and I did not disable those. A few I did but you got to pick and choose. They are not meant to just go disabling on a whim.
Also o didn't run the script.. I wen through and manually added each one in terminal on my fire TV
This is more for people who are not amazon subscribers and just don't want all the amazon junk. If you use it, some of these may not be for you.. Me though, I wanted to strip amazon from the device as much as possible.
https://github.com/esc0rtd3w/firestick-loader/blob/master/scripts/debloat/bloat-disable.sh
There is the link. And that guy ets the credit. I just stumbled into it. It is a more expansive list if you are wanting to remove most of the amazon from your fire tv
adam_ky said:
I found this list here in the for of a script.
I disabled everything in this script except the home related section.. Will tinker with it later some.
Basically if you are not using your firetv for anything amazon related.. This list is fine.
Notice in the script the # before some commands. These will not initiate in script by default and I did not disable those. A few I did but you got to pick and choose. They are not meant to just go disabling on a whim.
Also o didn't run the script.. I wen through and manually added each one in terminal on my fire TV
This is more for people who are not amazon subscribers and just don't want all the amazon junk. If you use it, some of these may not be for you.. Me though, I wanted to strip amazon from the device as much as possible.
https://github.com/esc0rtd3w/firestick-loader/blob/master/scripts/debloat/bloat-disable.sh
There is the link. And that guy ets the credit. I just stumbled into it. It is a more expansive list if you are wanting to remove most of the amazon from your fire tv
Click to expand...
Click to collapse
Excellent find. Will be using this on my devices as I only have a handful of things disabled, I wonder if the stick is more responsive with all this disabled.

Disable the home button completely - is that possible?

Hi. I´m on a rooted AFTV with 5.2.1.1 and I like to permanently block the home button. Is that possible through pm disable [something]?
I accidently press it a lot and the position on the remote is just so annoying. If disabling isn´t possible, is it remap-able, e.g. to pause?
I know I can use firestarter to open other apps with the Action, but not to do nothing, as far as I know.
Thank you for your suggestions.
Use FIrestarter and this app:
https://play.google.com/store/apps/details?id=com.thehellomaker.helloworldtoast
That is, if you are still on a firmeware version, where Firestarter works.
On later versions Amazon specifically prevented all apps from changing button behavior, so you would have to override this with an Xposed module like "Xposed Additions" which also can change button behavior. But that specific module interferes with the way bluetooth controllers works, so its not the be all and end all of solutions. But that module would work as well.
---------- Post added at 09:09 PM ---------- Previous post was at 09:02 PM ----------
Just saw that you updated to a far too recent firmware version for firestarter to work. Shot yourself in the foot there.
Thank you for the suggestion. Although firestarter doesn't work anymore on 5.2.1.1., it should be possible to re-enable it, as far as I read, with root, by pm disabling the amazon blacklist. Or what was the other fork called, firestopper?
But about my problem: after starting and closing hello world, will the amazon start menu not come up nevertheless?
My intention is to stay in kodi.
Getting exposed to work on later firmware version would be a dream. I don't want to miss it from my mobile with android 4.3.
I didn't know if it would work on the aftv, so if it does, that's what i'll try. thanks.
No - because amazon also modified adbd so no apps are able to read analyze the log an see when a key is pressed. I could be wrong (take this as a byline, because I never tested it), but I remember that this was part of why I cursed the aftvnews product blogger for propagating the "amazon f*cking you is so fine and eazy" myth - after he went with "great news!" on the amazon starting to put a blacklist service in Android to serve their needs only news beat.
The Xposed module should work regardless though. (Again, untested, because like most people that understood what was going on, I stayed on 5.0.5 -)
Thanks for your answer. It took me some time to notice it.
After installing xposed with the modules HDXPosed 1.3 and RBoxFire TVMods 1.4
and #pm disable pm disable com.amazon.tv.nimh (that is the amazon blacklist ("not in my house") app),
I installed firestopper. (I would have installed firestarter, but that is now called AppStarter, lacks home detection, and the older versions are not available anymore.)
With rbox firetv module activated, firestarter menu comes up after boot and home always jumps back to firestarter. Autostart app after boot works.
Without the module, autostart app works, but home button jumps back to aftv start menu, never to firestarter.
But you are right, no matter what I set in firestarter as actions for home or home button doubleklick, it is ignored.
Another question: Is there also a shutdown command for the box or just reboot?
edit: I guess not! I tried #su -c 'setprop sys.powerctl shutdown' and that just reboots again.
Next: I'll check the modules you suggested. ...
Xposed Additions 3.6.3 doesn't recognize any keystrokes.
But GravityBox [LP] does. xD -> it's possible to set action for long press home, e.g. open kodi, or force close apps with long press return, but it misses an action for simple press home.
santamanga said:
T
With rbox firetv module activated, firestarter menu comes up after boot and home always jumps back to firestarter.
Click to expand...
Click to collapse
What happens if you put a nonexistant app in key_bindings.xml? I haven't tried this because it's pretty dangerous to disable home, IMHO. (how will you get out of locked up apps?)
Xposed Addons 3.6.3 works, just tested it myself. (On 5.0.5)
- You have to have the PRO version (license key) installed (Also you have to have the play store installed on the Fire TV for it to work (licensing). (Puchase it on an Android Smartphone, then sideload it to the FIre TV, if you cant find it in the Play Sore on the Fire TV - it works).
- You have to have Gamepad/Joystick Enabled in the Allow external Devices Setting menu.
(Don't touch the Keyboard entry there, in case you need a fallback.)
After that you can configure all keys on the remote to your liking. There is a disable option that works on its own btw - so you don't need to map the hello world app (allthough you could).
To tie up all loose ends, it turns out that Firestarter also always lets the initial home press "slip through" (which then opens the AFTV Launcher) - even on 5.0.5 and with the adb lookup enabled. So Xposed Addons is the only working solution I know of so far.
xenyz said:
What happens if you put a nonexistant app in key_bindings.xml? I haven't tried this because it's pretty dangerous to disable home, IMHO. (how will you get out of locked up apps?)
Click to expand...
Click to collapse
key_bindings.xml seems to be ignored. If sth locks up, it doesn´t matter. I would just open a terminal via adb and kill it.
harlekinwashere said:
Xposed Addons 3.6.3 works, just tested it myself. (On 5.0.5)... . So Xposed Addons is the only working solution I know of so far.
Click to expand...
Click to collapse
Thanks for your extensive testing. Yes, of course I didn´t test the pro Version and yet I haven´t installed playstore, but will when I find sparetime.
But as I wrote, Gravity Box xposed module works as well.
Its always good to reduce complexity. Also - if Gravity Box doesn't interfere with BT Gamepad mappings (or lets say because there is a chance, that it doesn't), I'll give it a try myself, one of those days... So thanks for sharing.

Amazon ads removal - Moto G5

XDA has announced amazon will be removing the ads on their phones via an app update and will also be bumping the price up 20$ for prime discounted phones... link below
Amazon ADS removal apk is now available, link is middle of the page, enjoy!!
https://smile.amazon.com/gp/help/cu...TF8&nodeId=202040870&utm_content=buffer75d66/ Original post below from amazon as of 2/6/2018
4. Why am I still seeing lockscreen offers and ads on my Prime Exclusive Phone?
A February 2018 update to the Amazon Offers app disables lockscreen offers and ads on Prime Exclusive Phones. If you continue to see lockscreen offers and ads, please make sure you have connected your Prime Exclusive Phone to Wi-Fi and updated the Amazon Offers app. Learn more about updating your Prime Exclusive Phone. If you have completed these actions and continue to see lockscreen offers and ads after February 2018, please contact customer service for assistance.
OP Below
Thanks krison1 (links are embedded now) for the step by step guide to removing ads, confirmed by some users in this thread :good:
step 1 download fastboot
step 2 moto drivers
step 3 tap on build number tell u see developer (settings/about phone)
step 4 enable usb debugging (settings/developer options)
step 5 extract n open cmd in fastboot dir (alt+d type "cmd")
step 6 in cmd type "adb shell"
step 7 type or c/p "pm uninstall -k --user 0 com.amazon.phoenix"
reboot phone
done
ads come back if factory reset or install back "amazon offers"
Click to expand...
Click to collapse
Just gave it a go, and the app seems to make it though Step 1/3 but it gets stuck on Step 2 so I'm assuming it doesn't work.
Edit: It removed the ads from showing up using Macrodroid. However there is a consistent Macrodroid notification.
Aeosgames said:
Just gave it a go, and the app seems to make it though Step 1/3 but it gets stuck on Step 2 so I'm assuming it doesn't work.
Edit: It removed the ads from showing up using Macrodroid. However there is a consistent Macrodroid notification.
Click to expand...
Click to collapse
I did this a week ago, it's been working well. Macrodroid had an option to disable their logo too. Go into Macrodroid, settings, Notification Bar options, Force Hide Icon.
zoocircle said:
I did this a week ago, it's been working well. Macrodroid had an option to disable their logo too. Go into Macrodroid, settings, Notification Bar options, Force Hide Icon.
Click to expand...
Click to collapse
The problem with that is that it shows full screen ads without the notification there and you can't clear those.. So I have to keep the Macrodroid notification consistent
Aeosgames said:
Just gave it a go, and the app seems to make it though Step 1/3 but it gets stuck on Step 2 so I'm assuming it doesn't work.
Edit: It removed the ads from showing up using Macrodroid. However there is a consistent Macrodroid notification.
Click to expand...
Click to collapse
Aeosgames said:
The problem with that is that it shows full screen ads without the notification there and you can't clear those.. So I have to keep the Macrodroid notification consistent
Click to expand...
Click to collapse
Oh ya, you're correct. I forgot about that because I've had my Weather app always have a notification on the lock screen.
Update: When messing around the Macros I found a way that you can hide the persistent Macrodroid notification along with Amazon Ads.
Videohttps://www.youtube.com/watch?v=HCUhxGFJ8g0
So basically I added another 'Clear Notification' to MacroDroid in Macro 1,
and in Macro 2, I checked the override Macro creation box.
After that I went to MacroDroid Notification settings and checked to Force Hide the notification.
So basically now when I turn off the phone screen, I wait a few seconds and if I peek at the current running notifications using the Moto "Glance screen", you will see the MacroDroid notification, but as soon as I power on the screen, the MacroDroid notification as well as the Amazon AD dissapears and I am left with my background.
Anyone can explain why do I have such a lag after switching the phone on? Seems like it leaves some locking screen/widget/program (you can see that it shows time if you scroll down notification bar) and disappears only in several settings
Anyone tried of these methods to boot into recovery without unlocking bootloader? like fastboot boot recovery.img?
Alternative solutions?
drago10029 said:
This guide does not need root and uses macrodroid to cover up ads with something more useful. Was made for the Moto G4 but I don't see why it won't work here also LINK TO GUIDE
Check it out if you have an amazon version and report back!
Click to expand...
Click to collapse
I used Tasker with Notification Listener and achieved the same result. Sometimes, there is a lag so the ad may appear but it's gone before unlocking. Also, the persistent notification from Tasker removes the need to create a fake notification to prevent full-screen ads.
On a related note, has anyone tried using ADB commands to disable/remove the Amazon Offers app? I want to try it but don't know the necessary commands.
liquidops said:
I used Tasker with Notification Listener and achieved the same result. Sometimes, there is a lag so the ad may appear but it's gone before unlocking. Also, the persistent notification from Tasker removes the need to create a fake notification to prevent full-screen ads.
On a related note, has anyone tried using ADB commands to disable/remove the Amazon Offers app? I want to try it but don't know the necessary commands.
Click to expand...
Click to collapse
No haven't tried ADB or recovery. But if someone wants to try it go for it and please come back with results.
liquidops said:
I used Tasker with Notification Listener and achieved the same result. Sometimes, there is a lag so the ad may appear but it's gone before unlocking. Also, the persistent notification from Tasker removes the need to create a fake notification to prevent full-screen ads.
On a related note, has anyone tried using ADB commands to disable/remove the Amazon Offers app? I want to try it but don't know the necessary commands.
Click to expand...
Click to collapse
1. Can you share your details of how you set your Tasker to remove ads? I use Macrodorid but as i stated earlier sometimes it takes seconds to unlock that is totally inconvenient
2. do you mean this?
Code:
adb shell pm hide com.amazon.phoenix
Unfortunately this does not work ((
Code:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
but of course you can try it yourself...
BTW, there is one more solution for removing ads. If anyone can check - that would be good
UltraMaks said:
1. Can you share your details of how you set your Tasker to remove ads? I use Macrodorid but as i stated earlier sometimes it takes seconds to unlock that is totally inconvenient
2. do you mean this?
Code:
adb shell pm hide com.amazon.phoenix
Unfortunately this does not work ((
Code:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
but of course you can try it yourself...
BTW, there is one more solution for removing ads. If anyone can check - that would be good
Click to expand...
Click to collapse
1) To get Tasker to work correctly, I downloaded Notification Listener from here. Once both are installed, in Tasker under the Profile tab, I created an event that gets triggered when the display is on. The task that gets linked to this profile will launch the Notification Listener plugin. Then, I configured the listener to clear notifications based on the app name Amazon Offers (case sensitive).
2) Thanks for trying. It looks like we can't run this command without root.
liquidops said:
1) To get Tasker to work correctly, I downloaded Notification Listener from here. Once both are installed, in Tasker under the Profile tab, I created an event that gets triggered when the display is on. The task that gets linked to this profile will launch the Notification Listener plugin. Then, I configured the listener to clear notifications based on the app name Amazon Offers (case sensitive).
2) Thanks for trying. It looks like we can't run this command without root.
Click to expand...
Click to collapse
1. Have you tried Macrodroid? Just wonder about comparison between Tasker and Macrodroid
2. Well if we have root, we would just delete Amazon Offers from the phone and that's it. This adb solution was meant to hide even without root, and id did work for G4 phones. Initially But then it seems to me they have closed this possibility with some update. And also for G5 phones from the very beginning
When I was thinking about possible solutions one idea came to my mind. What if we try to flash Amazon phones with stock Moto G5 firmware? Will it give any error (because of locked bootloader and probably different hashes of the Amazon and Stock Moto firmwares)? Any thoughts?
Best Buy price matches if you don't want those ads.
JoRocker said:
Best Buy price matches if you don't want those ads.
Click to expand...
Click to collapse
Sorry, what do you mean?
UltraMaks said:
Sorry, what do you mean?
Click to expand...
Click to collapse
I mean if u go to best buy and show them the prime deal they'll match it. I just did it 2 days ago. I'd post the photo of receipt as proof, but XDA won't let me attach it. Then you'll have then ad free version for $239
Best Buy G5 Plus Price Match https://imgur.com/gallery/iRLD3
JoRocker said:
I mean if u go to best buy and show them the prime deal they'll match it. I just did it 2 days ago. I'd post the photo of receipt as proof, but XDA won't let me attach it. Then you'll have then ad free version for $239
Best Buy G5 Plus Price Match https://imgur.com/gallery/iRLD3
Click to expand...
Click to collapse
We do not have such shops in my country
Best buy didn't let me price match the Amazon ad variant because they said that variant isn't eligible compared with their variant. And using NotiEDA combined with Macrodroid seemed to go the trick.
Sooooo theres a permanent way to get rid of them and not have to use an app for it. I just found it on the Moto G subreddit.
I literally just did it. It DID get rid of all the amazon ads, which is less running in the background too!!
I'm using the 64gb Moto G5 plus amazon variant. It also gets rid of the need for a second finger print for the lock screen. You don't need to do it twice to get to the home screen anymore, just once like a non ad version!!!!
It's the top post in the subreddit right now. I can't link it, some bot won't let me
EDIT: I will put the instructions
Moderator Edit:
The solution has already been covered here:
https://forum.xda-developers.com/moto-g4/how-to/to-remove-amazon-ads-moto-g4-running-t3614090
Edit2: the above is the one who found it but the one who posted it to the subreddit that this forum wouldn't let me link to are one in the same. I did mention the thread so sorry if anyone thinks I didn't give proper credit.
YOU MADE MY DAY!!!! AWESOME! THANK YOU VERY MUCH!
I confirm that this operation removed my ads also
I think this should be pinned to OP somehow!

Instant messaging apps do not work on the 5.1

Hi everyone, the issue I am facing is that instant messaging apps (Viber, Facebook messenger, etc) do not work on my 5.1. Notifications settings are OK, unrestricted data access is allowed for these apps, so this is not a notification issue. The apps do not receive messages unless I launch them (when I launch the apps, there are no new messages, they start arriving a couple of seconds after launching). I contacted Nokia, but they did not have a clue... I did everything they asked for (factory reset, etc.), nothing helped.
Does anyone else have similar issues? Does anyone have any idea what the solution might be?
So it's been reported before that Nokia/HMD is the worst for how aggressively they limit background app usage. This can't be fixed in the current stock ROM but Nokia might help us out with Pie (if it ever materialises).
zondajag said:
So it's been reported before that Nokia/HMD is the worst for how aggressively they limit background app usage. This can't be fixed in the current stock ROM but Nokia might help us out with Pie (if it ever materialises).
Click to expand...
Click to collapse
Thanks. It seems that the 5.1 was my last Nokia.
The Android One project is a bit of a farce given the update cycle is so delayed. It's good to have the security of assured updates, but only providing them when the hardware is no longer relevant seems a waste. Also it's possibly the Mediatek chipset to blame, but this phone has not had a great deal of interest on XDA, which could also be in part due to the Android One project making custom ROMs a little less relevent.
You can fix it yourself by uninstalling com.evenwell.emm app from user space. That crappy service which HMD bundles into firmware "improves" battery life by killing all non-system background apps.
qwertysmerty said:
You can fix it yourself by uninstalling com.evenwell.emm app from user space. That crappy service which HMD bundles into firmware "improves" battery life by killing all non-system background apps.
Click to expand...
Click to collapse
how to unistall? with adb?
noki2 said:
how to unistall? with adb?
Click to expand...
Click to collapse
yes via adb:
adb shell
pm uninstall --user 0 com.evenwell.emm
qwertysmerty said:
yes via adb:
adb shell
pm uninstall --user 0 com.evenwell.emm
Click to expand...
Click to collapse
Not working. They are no apps like this..
Adb shell says, [not install for 0]
TANVIR TUSAR said:
Not working. They are no apps like this..
Adb shell says, [not install for 0]
Click to expand...
Click to collapse
Have you upgraded to Pie? In Pie it's named com.evenwell.powersaving.g3
qwertysmerty said:
Have you upgraded to Pie? In Pie it's named com.evenwell.powersaving.g3
Click to expand...
Click to collapse
Yes... I found it. I thing about this name but then i thought it might be important app. Thanx
qwertysmerty said:
Have you upgraded to Pie? In Pie it's named com.evenwell.powersaving.g3
Click to expand...
Click to collapse
Should i delete com.evenwell.powersaving.g3.overly.base
??
Yes, you can delete overlay as well.
Yuo may need to uninstall these packages as well
com.evenwell.PowerMonitor
com.evenwell.PowerMonitor.overlay.base
I noticed that my 1Password service was still being killed after uninstalling com.evenwell.powersaving.g3.* packages. After removing PowerMonitor stuff everything back to normal and Nokia 5.1 Pie became usable again
I have the 2gb variant and its no use. Its a crappy phone... No notification what so ever even after disable/uninstall the evenwell apps and battery saver etc apps. Its no use as doon you start browsing only Google apps remains active. All other are killed. Not a android one phone. Its a stupid phone!!!
I believe I have found the definitive answer for this, after much googling around.
I have a 5.1 Plus (TA-1108) and tried the ADB disabling of evenwell apps and others but it still would stop services after restarts. I eventually found a post on the "Don't kill my phone" Github which alluded to the hidden setting of the "Duraspeed" task killer that is bundled.
The dontkillmyphone website says you can ADB in and change this hidden setting to 0, but this doesn't persist after a restart. The value will still be a 0, but it seems this task killer only reads the value after it detects a change in the value (bizarre, I know). So to disable this Duraspeed thing, you need to change the hidden setting value from something else to a 0 on each boot.
Luckliy, this is very easily done by Tasker/Macrodroid/etc. Use this post:
https://github.com/urbandroid-team/dont-kill-my-app/issues/57#issuecomment-484000884
but the short of it is to enable WRITE_SECURE_SETTINGS to tasker (by running this:
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
for tasker, google for your app of choice)
and then set a task that runs on boot to change a "Custom Setting", Global type, setting name setting.duraspeed.enabled to a value (doesn't matter, I use 2) and then immediately after change the same setting to 0.
I have this set up on my phone and my wifes phone and ever since they have been perfect with background services (my Garmin watch, lastpass, etc) as well as any email/notification apps.
TANVIR TUSAR said:
Should i delete com.evenwell.powersaving.g3.overly.base
??
Click to expand...
Click to collapse
Lol, I uninstalled all evenwell apps, it didn't make any difference
qwertysmerty said:
Yuo may need to uninstall these packages as well
com.evenwell.PowerMonitor
com.evenwell.PowerMonitor.overlay.base
I noticed that my 1Password service was still being killed after uninstalling com.evenwell.powersaving.g3.* packages. After removing PowerMonitor stuff everything back to normal and Nokia 5.1 Pie became usable again
Click to expand...
Click to collapse
How to start adb usb debugging on this phone?
I have adb sdk installed, every other phone but Nokia 5.1 is visible when I type adb devices.
Should I use adb on Linux or Windows, install any special drivers from Nokia?

Categories

Resources