Found a way to remove Amazon ads on Moto G4 running Android Nougat! (xt1625) - Moto G4 Guides, News, & Discussion

Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.

dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
Does it work on locked bootloaders?

Yes. AFAIK all Amazon G4 Prime's are locked bootloaders. This requires no root, nothing but a simple adb shell command!

Edit, Don't works.

How does it not work?

Thank you very much...
Works perfectly !!!!!!

I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Code:
pm uninstall -k --user 0 com.amazon.phoenix
4. Reboot
5. Be Happy!
Waiting to see if the apps install again

It works! I was doing it wrong, thanks for this friend! Now only root is missing! xD
Could someone give the command to uninstall the amazon widget app and the amazon photos app? Thank you

lerg96 said:
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Code:
pm uninstall -k --user 0 com.amazon.phoenix
4. Reboot
5. Be Happy!
Waiting to see if the apps install again
Click to expand...
Click to collapse
Hi,Can you tell me more details step by step because I am new to android?., I am using windows laptop

Hu
canhmeo said:
I used this in my Moto G4 Prime version(XT1625)(locked bootloader, no root) after reboot i notice that is working this method.
1. Open cmd, and put my phone in debug mode. Plug my phone through usb to my computer.
2. In cmd put adb shell
3. put
Hi,Can you tell me more details step by step because I am new to android?., I am using windows laptop
Click to expand...
Click to collapse
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little ?)
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread

Thanks -- worked fine for me
Went into phone Settings then Apps -- forced stopped all running apps that I wanted to remove, cleared data for each, removed any updates and disabled whatever I could
Ran the adb uninstall command multiple times once for each app:
com.amazon.phoenix
com.amazon.widgets
com.amazon.clouddrive.photos
com.amazon.kindle
com.amazon.dee.app
com.amazon.drive
com.imdb.mobile
com.goodreads
com.audible.application
com.google.android.music
com.google.android.videos
Click to expand...
Click to collapse

Hi, all. Just wanted to say that this worked perfectly on my G4. My build number is NPJS25.93-14-4 (running Nougat) and the device is at the March 1, 2017 Security patch level.
I used Minimal ADB and Fastboot on a Windows 10 box. Enabled debugging on the phone, connected it, ran adb shell and entered the command as above. Big thanks to Jatan1986 as well for the additional commands which also worked great (I didn't uninstall everything but that list is terrific). Rebooted and the apps I uninstalled were gone. No more ads.
Oh, I did not do the force stop on the apps first. I performed just the steps above.
Much thanks for this method and post.

lerg96 said:
Hu
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little )
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Click to expand...
Click to collapse
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do

canhmeo said:
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
Click to expand...
Click to collapse
Happy to try and help - please list step-by-step what you have done and what messages you have received.

canhmeo said:
First of all I would like to thank the owner of this post.
On the other hand it still not working for me,I am trying to use google to know how to do
Click to expand...
Click to collapse
Make sure your computer can see your phone by typing
adb devices

dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
I have seen the response to this method and it seems quite good.
I would like to know if this can affect any future update of Android from Amazon. I am looking to get Android 7.1.1 or Android O in the future and do not know if this change may cause any issue.
Thanks in advance.

titomalanguito said:
I I would like to know if this can affect any future update of Android from Amazon./QUOTE]
There's no way to know for sure.
Click to expand...
Click to collapse

lerg96 said:
Hu
1. Put your phone in debugging mode(settings => developer options => USB debugging if you don't see developer options go to about phone and tap 7 times or more in build number)
2. Install adb and Motorola drivers in your PC (search a little )
3. Connect your phone through USB to your PC
4. Open CMD (windows + r and type CMD and hit enter )
5. Type adb shell in CMD (the black window that appears after you hit enter) and hit enter
6. Type the magic command provide in this thread and hit enter
7. Reboot
8. Maybe you can make some friends after it, Google can be your friend
9. Install Google allo and talk about weather with Google Assistant
10. Joking, be happy
11. Don't forget to say thanks, not to me. To the owner of this thread
Click to expand...
Click to collapse
Thanks for the guide.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
dosangst said:
Before being updated to Nougat on my Amazon Moto G4, I was happy to run the command:
Code:
pm disable com.amazon.phoenix
To remove those annoying lockscreen ads. Since the update hit, that no longer was a choice, as now I received an error about user permissions. Being that the ads really do annoy me, I set out to find a way to disable or altogether remove the package from the system. It only took a couple of hours digging through pm commands and XDA forums to find a way to completely remove the application that displays those ads once and for all.
So without further adue:
Either open an ADB shell or run a terminal command on the phone itself. At the shell prompt (athene:/) type the following:
Code:
pm uninstall -k --user 0 com.amazon.phoenix
And that's it. A reboot should remove any remnants but it seems to work right away in most cases.
I'll go ahead and assume that this trick works for other Amazon Ad Enabled devices unless I hear otherwise.
Click to expand...
Click to collapse
Appreciate it! is working fine on my Moto g5

titomalanguito said:
Thanks for the guide.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
Appreciate it! is working fine on my Moto g5
Click to expand...
Click to collapse
Pura vida!

I had a bit of trouble getting it to work on my Moto G4, just updated to Nougat. When I run the following code in an android terminal, it does not return an error, but pulls up a new line almost instantly.
Code:
pm uninstall -k --user 0 com.amazon.phoenix
The ads were still there, even after restarting
When I run the following while connected with adb, it returns "Success"
Code:
adb shell pm uninstall -k --user 0 com.amazon.phoenix
The ads were still there, but after restarting they were gone (Whoo!!)
I would really like to bypass the lockscreen entirely as I don't like to have a password, but they disabled that since that would bypass the ads. Pretty annoying

Related

Best path for upgrading watch.

Hi all, I am an Android Wear newbie. I purchased used LG w100 watches for my wife and myself. We like them very much, but some apps do not work correctly. I have done some research and everything points to upgrading the Android Wear. My Android Wear version is v1.3, Google Play Services is v7.8, my Android OS version is v5.1, and my build number is LCA43.
What is the best recommended path for upgrading the watch? I have read about OTA updates, which I do not seem to get, and using the dev environment to update the watch. A link to a tutorial/instructions would be awesome! Thanks!
First you need to push the MEC23G ota as it contains required bootloader files for the latest build so grab the OTA here
2. once you have that go to the watch's settings>about watch>build number tap it 5 times and it should say "you are now a developer"
3. now go to settings>developer options> and enable usb debugging
4. If you do not have ADB on your pc you must get adb minimal from here or the official android sdk but that's 1GB so maybe not
5. attach your watch to your pc with the usb cradle dock and the watch should prompt you to allow adb connection, click always allow
6. wherever you extracted your adb files you must then open a command prompt by clicking file in the top left> open command prompt
7. Now type "adb reboot recovery" into the prompt
8. once the watch has booted to recovery tap the screen until the exclamation mark disappears and then swipe down to adb sideload and swipe left to proceed
9. Now on your pc make sure the ota file you downloaded is in the same place as your adb minimal install and the type "adb sideload nameofota.zip"
10. Your watch should then update just fine and you will be no second latest build. Get back to me once you have done this for next part feuhw
Xmaster24 said:
First you need to push the MEC23G ota as it contains required bootloader files for the latest build so grab the OTA here
2. once you have that go to the watch's settings>about watch>build number tap it 5 times and it should say "you are now a developer"
3. now go to settings>developer options> and enable usb debugging
4. If you do not have ADB on your pc you must get adb minimal from here or the official android sdk but that's 1GB so maybe not
5. attach your watch to your pc with the usb cradle dock and the watch should prompt you to allow adb connection, click always allow
6. wherever you extracted your adb files you must then open a command prompt by clicking file in the top left> open command prompt
7. Now type "adb reboot recovery" into the prompt
8. once the watch has booted to recovery tap the screen until the exclamation mark disappears and then swipe down to adb sideload and swipe left to proceed
9. Now on your pc make sure the ota file you downloaded is in the same place as your adb minimal install and the type "adb sideload nameofota.zip"
10. Your watch should then update just fine and you will be no second latest build. Get back to me once you have done this for next part feuhw
Click to expand...
Click to collapse
Thanks for the info, I will give it a crack. I am assuming this can be done on a Mac as well? I will let you know how it goes. I do not understand why I am not getting the update OTA???
mtuma5672 said:
Thanks for the info, I will give it a crack. I am assuming this can be done on a Mac as well? I will let you know how it goes. I do not understand why I am not getting the update OTA???
Click to expand...
Click to collapse
There are many reasons like your device not being on the OTA ring atm for some reason as ota are put out in small groups so as not to over load the servers also it may think it is up to date but it's not that happens a lot. Yes this should be do able on a mac but you will have to find the adb equivalent for it or Linux because they both run off the same scripts
---------- Post added at 10:45 PM ---------- Previous post was at 10:05 PM ----------
follows these instructions to get adb on mac http://www.droidviews.com/setup-adb-and-fastboot-on-mac-linux-and-chrome-os-with-nexus-tools/

[GUIDE] Uninstall any application with single ADB command ROOTLESS

I've had a Motorola G4 Amazon Prime edition for sometime now and I was easily able to hide the package that displayed the lock screen ads (com.amazon.phoenix) soon after purchase. Unfortunately, when the Nougat update came rolling around, that hack no longer did the trick. So I spent a couple of hours searching through docs and trying different commands, in doing so I found a way to completely disable any and all packages installed on any Android device, system or carrier/manufacturer bloatware.
**Step by Step**
1. Install USB drivers for your Device
2. Download and Install ADB tools
3. Enable[ Developer Options](http://wccftech.com/enable-developer-options-android-nougat/) and [USB Debugging](https://technosamigos.com/enable-usb-debugging-on-android-nougat-phones/)
4. Find a good USB cable, plug it into your computer and then to your device. When the pop-up appears asking you to authorize the device, allow it.
5. Open a command prompt (cmd in windows) and type:
adb devices
6. This should return the ID of your device. If not, please go back and retrace your steps.
7. Now type:
adb shell
8. Use the following commands to find the apps you want to disable (replace 'amazon' with the manufacturer, i.e. 'samsung')
adb shell cmd package list packages | grep 'amazon
9. This should give you a new prompt, something to the effect of (device-model):/ - here type the following:
pm uninstall -k --user 0 <name of package>
This should return 'Success' at which point the package has been removed!
This has been tried on about half a dozen devices and it works on every single one, including the LG G6, Samsung S8, Google Pixel (Removed System Applications!)
Hope this helps folks out there that are looking to get as clean of an Android experience as possible, good luck!
And how to revert a single package removed with this method?
Please don't say factory reset. I mean, the package is there in the system partition. How I make it available to the user again?
Replying to my self and to the history. Xda user Vordx, found a proper way.
"adb shell cmd package install-existing <package name>"

[Non-ROOT] Fit status bar with notch

Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
--Known problems--
Doesn't work with Hide notch
Doesn't work on Android Pie
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Does this work on the Global version as well?
For me it doesn't open the file after the download.
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Finally...tq
Anyway for root user?
it full notch same frist rom 9.5.5.0??
https://www.youtube.com/watch?v=pVL...LVIi6-u5w&index=7&t=0s&ab_channel=AlfarizkiCS
ShafiX94 said:
Anyway for root user?
Click to expand...
Click to collapse
U can also use it on rooted mi 8
catalindobre said:
Does this work on the Global version as well?
For me it doesn't open the file after the download.
Click to expand...
Click to collapse
Tested on mi 8 se with miui 10 by xiaomi.eu, but I think it works on mi 8.
Working well on Mi8 Root 8.8.30 EU room. thanks.
Works well with MIUI 10 8.8.30 China dev
nothing here
Can you show me how to root Mi8 v 8.8.30?
---------- Post added at 01:35 AM ---------- Previous post was at 01:34 AM ----------
harryntq said:
Working well on Mi8 Root 8.8.30 EU room. thanks.
Click to expand...
Click to collapse
Can you show me how to root Mi8 v 8.8.30?
What exactly is this supposed to do? Can you clarify? Show a before/after screenshot?
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
Works thank you! App must be installed for it to work. How does this fix work? is it a theme?
ztc1997 said:
Thanks to Android Runtime Resource Overlay, we can change the status bar height without ROOT.
The result is as the attached image shown.
--How to use--
Download "fit_notch_dipper.apk" from attached files, and install it.
Reboot your phone.
Enable "USB debugging" in "Develop options", and connect your phone with your computer.
Setup ADB on your computer according to this post.
Execute the "adb shell cmd overlay enable --user 0 com.ztc1997.overlay.dipper.android.fit_notch" command on your computer.
Reboot your phone and enjoy.
Click to expand...
Click to collapse
sorry man, i just tried but when i put the command on adb nothing happens. i've also allowed debug options, but nothing appears on device screen. what i should do? sorry also for my bad english
Works!
Thanks
it works! thanks..
Thanks for the app! Appreciate you taking interest in fixing this insignificant yet very annoying issue, although Fate/Grand Order (a game) doesn't respect the new size of the notch. In other words, it's possible that this may not cover all of the apps :c
Dekkerlion said:
Thanks for the app! Appreciate you taking interest in fixing this insignificant yet very annoying issue, although Fate/Grand Order (a game) doesn't respect the new size of the notch. In other words, it's possible that this may not cover all of the apps :c
Click to expand...
Click to collapse
Could you provide a screenshot?
sirsandrone said:
sorry man, i just tried but when i put the command on adb nothing happens. i've also allowed debug options, but nothing appears on device screen. what i should do? sorry also for my bad english
Click to expand...
Click to collapse
Please try to execute "adb shell cmd overlay list" and give me a screenshot of the results.
ztc1997 said:
Please try to execute "adb shell cmd overlay list" and give me a screenshot of the results.
Click to expand...
Click to collapse
I've done it. I have windows 10, my mi 8 (that I belong only from yesterday) has the global rom 9.6.7.0 stable
Thanks a lot

how to uninstall system app in miui [without root,UB,TWRP]

1. Open Settings app and go to About phone and tap on MIUI version seven times until you see the message ‘You are now a developer’.
2. Go to Additional Settings, followed by Developer options and turn on USB debugging.
3. Connect the device to PC via USB cable and then run a command ‘adb devices’ in terminal/command prompt. You should get a pop-up on your device to ‘Allow USB debugging’ the device address should appear in the terminal as soon as you allow USB debugging.
4. If the device address appears in the terminal, run another command ‘adb shell’ in the terminal, following which the device code name should appear on the screen.(in our case violet)
5. Now find go into app info of the app you want to uninstall click on the i icon on the top right now u can see apk name u need that name for next step
6.type ( pm uninstall –k ––user 0 app name ) and click enter
for example
for uninstalling the mi browser u need to enter
pm uninstall –k ––user 0 com.android.browser
and click enter
i hope its help click on thumps up u love my post
any kind of help will be welcome
post your command below regarding any issue for redmi note 7 pro only
Working. :good:
Arif N01 said:
Working. :good:
Click to expand...
Click to collapse
How to run adb command can you help me please

[MOTO G8+] "You cannot install this app because another user..."

Hi,
I want to reinstall a Motorola firmware app.
I uninstalled the firmware a year ago on my Moto G8+ with adb using the following command:
"pm uninstall -k --user 0 com.motorola.faceunlock"
Now when I want to install the app from the Play Store I can't. I get the following error message:
"You cannot install this app because another user has already installed an incompatible version on this device."
Click to expand...
Click to collapse
I already tried a few things I found in other threads and forums but nothing really worked. I'm a single user, however the guest function allows me to find the Moto face unlock App as an installed app. In settings I can't find any option that allows me to "uninstall the app for all users" or to "reinstall" or "restore" it. Factory Reset is not an option for me.
I was thinking about maybe reinstalling the package via adb for the main user again, if that's possible? I only have little knowledge about adb.
Has somebody an idea or command I could try out?
Thanks in advance
@sokrvtxs
The ADB command you used removed the the mentioned system-app ( leaving its data untouched ) only for user 0, that's the current user, what means that the deleted app still remains available for other users of the Android device - it didn't get removed from device's storage space at all. That's basically a good thing because you can easily restore an app if you uninstall it by mistake or need it later.
This brings the system-app back:
Code:
adb devices
adb shell "cmd package install-existing com.motorola.faceunlock"
adb reboot
If your Android is rooted then you can update the system-app in question
Code:
adb devices
adb push <PATH_TO_UPDATE_APK> /data/local/temp
adb shell "pm install -r /data/local/tmp/<UPDATE_APK>"
adb shell "rm /data/local/tmp/<UPDATE_APK>"
adb reboot
Thank you so much, my phone is not rooted. The first code worked and my issue is solved completely. This helped me a lot.

Categories

Resources