To start off I just want to let you all know that the second you are done completing the steps in this tutorial you will be the happy owner of a clean lockscreen without cluttered ads. In my previous post, I shared a method with you that momentarily removed the ads from your lockscreen without a PC. Today, I'm going to perfect my previous method and can say upfront that this method does indeed REMOVE LOCKSCREEN ADS PERMANENTLY! Don't believe me? Try the method for yourself and let me know if it worked for you or not. So, without further ado... let's get started with the tutorial.
Video Tutorial:
Useful Links:
» How to install Google Play Services on Fire Tablets:
→
[url]https://goo.gl/oGV6P5[/URL]
» How to download and install ADB onto your PC:
→
[url]https://goo.gl/prH9PQ[/URL]
Text Tutorial:
To remove the ads all you will need is:
- Fire Tablet
- USB Cable
- USB Debugging enabled
- A computer with ADB installed
1. First things first you will need to download Automate by LlamaLab on the Play Store:
[url]https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en_US[/URL]
2. Once the app is installed go ahead and open it. On the dialog box that appears tap "Accept" then "OK" then finally "OK" once more. In the corner of the app look for the hamburger menu icon and tap on it. Next, from the menu that appears select "Settings" Next, you will need to click on the "Privileges" section.
Locate the following privileges:
Code:
access photos, media, and files on your device
Tap on it and wait for the installation prompt to appear. When it finally does please install it (you will need to
install all three privileges above for the script to work correctly). Now make sure the boxes for the privileges are ticked before moving on to the next step. Once the boxes are ticked press the back button.
3. Still in the settings for Automate scroll down till you find:
Once you find it tap on it and select "Enable" from the new dialog box that appears. Doing this allows the script to run at startup when the system boots effectively blocking the ads on the lockscreen
4. Next you will need to enable USB debugging.
Swipe down on the top of the screen until the quick settings and notification drawer pops down. Next, tap on the gear icon to be taken to the Settings app for your tablet. In the settings app look for "Device Options" now scroll down and look for the "Serial Number" and tap on it 3 times. You should see a new entry "Developer Options" underneath "Serial Number". *Tap on it and scroll down till you find "Enable ADB" tap on it and on the new dialog box that appears hit "Enable" once more. That's it ADB has been successfully enabled.
*If you are attempting to do this tutorial on a Fire HD 10 (2018) model please note that in the Developer Options you will be looking for "USB Debugging" instead of "Enable ADB". This is because Google changed the name of the setting to USB Debugging starting on Android 6.0 and up. So, to enable ADB just tap on the option titled "USB Debugging" and enable it. You are now ready to proceed with the tutorial. From here on out you shouldn't have to do anything else different.
5. Once USB debugging is enabled plug your tablet into your PC.
Now you will need to open a Command Prompt (Windows) or a Terminal (Linux) session with ADB installed (If you don't have ADB on your PC please visit
this forum).
Now type the following commands EXACTLY as they appear on screen:
Note: Please make sure you're tablet's serial number appears underneath "List of devices attached" If done correctly you should see:
Code:
C:\Users\(You're username here)>
List of devices attached:
xxxxxxxxxxxxxxxx device
Once you see your serial (the x's being replaced by you're serial number) and next to it, it reads "device" you are ready to move on to the next step. Once ready type the commands below (feel free to copy and paste):
Code:
adb shell pm grant com.llamalab.automate android.permission.WRITE_SECURE_SETTINGS
Code:
adb shell pm grant com.llamalab.automate android.permission.CHANGE_CONFIGURATION
Code:
adb shell pm grant com.llamalab.automate android.permission.SET_PROCESS_LIMIT
(Special thanks to XDA member
@Toxicshadow for their assistance with removing the missing superuser notification).
Now, press ENTER. If nothing follows the command then it has been executed successfully and the permissions have been properly given to Automate. As illustrated in the picture below:
NOTE: If anything follows the command it means it didn't go through. Please retype or recopy the command above and make sure there are no spaces included. The command is very sensitive.
6. Remove your tablet from your PC and once more open the Automate app. Now click the "More Flows..." option. Next, click on "Start". Go ahead and install the community flow add on.
7. In the right-hand corner, you will see a magnifying glass icon, click on it and type in the field "Amazon" and hit enter. Look for "Amazon Lockscreen Ads Remover V4.5 (ADB Required)" flow. Tap on it and wait for the page to load. Proceed to download it to Automate. If you have a hard time finding it in the community flows I've uploaded the script to
Google Drive which you can download and import into Automate.
8. Return to the home screen for Automate. You should see the flow you just downloaded. Click on the "Amazon Lockscreen Ads Remover V4.5 (ADB Required)". With the proper permissions given and the installation of the script we are finally ready to KILL those pesky ads once and for all... with confidence, you can now tap on the "Start" button to run the script and finish the removal process.
Congratulations you have now removed all the ads from your tablet's lockscreen. You do NOT NEED TO REBOOT! Just lock the screen and enjoy the wonderful sight of your new ad-free lockscreen!
Before:
After:
The Explanation:
For my little brothers birthday, I bought him an Amazon Fire Tablet HD8 (7th Generation) which he began to jump for joy at the sight of. We got it all set up and everything was going smoothly that is until the lockscreen ads showed up! Looking up a tutorial here on XDA I came across a tutorial on how to remove the ads just by running a command through ADB and to my surprise it actually WORKED! But, it wasn't long before Amazon pushed out an update to the tablets that prevented the Offers app from being removed through ADB. My brother being used to having no ads on the lockscreen came to me and begged me to remove them. Unfortunately, none of the other methods I tried worked. Then it all came down to calling up Amazon and asking them to remove the ads with a chance I could be paying $15. So, I decided to see if I could figure out a method on my own that would work. Then one night I decided to check Android's settings database to see if I could find a resolution, I opened up the settings.db file using Settings Database Editor and begin to look through the database to see if Amazon was hiding any strings governing the lockscreen ads and much to my surprise I found the string I was looking for "LOCKSCREEN_AD_ENABLED" set with a value of "1" meaning it was enabled. By changing the value of the string from "1" to "0" I was able to remove the lockscreen ads. I threw my fist up in the air and began to celebrate my victory till the next day when my brother yet again complained about the ads returning. Opening up the database once again the value was changed back to "1". Then another thought hit me, what if I used an automated app to perform the actions of changing the values for me, and with a quick search on Google Play I found exactly what I was looking for: Automate. So, I began creating the flow and testing it to see if it worked... and it did. I gave it a few days with the script running and with hope I turned on the screen to the tablet and once again celebrated over my victory, knowing this time I had done it. Publishing the flow to the community, I wrote up this tutorial and filmed a video on the method with the hopes that others would be able to experience the same feeling I felt the moment I removed the ads for good. So, that's it... that's how I figured out how to remove the ads for good!
Latest Script Version:
Amazon Lockscreen Ads Remover V4.5
Build: January 11, 2019 @ 1:30 PM
Older Versions:
Respiratory
Changelog:
Version 4.5
- *Support for "Amazon Lockscreen Ads Remover Updater (Add-On)" has been dropped.
*Support has been dropped because there aren't any planned updates, and it's just causing more issues than anything.
Version 4.0
- Fixed an issue where an extra fiber would start when hiding the Service Notification.
- *Disabled parallel launch to prevent the script from running multiple instances of itself.
- Various bug fixes and improved performance/stability.
*Special thanks to XDA member
@asdiidjisjd23, and Sabrina Wortmann for bringing the multiple instances bug to my attention, and giving advice on how to fix it. Thank you both so much!!
Version 3.0
- *Fixed a startup bug that caused the script to function improperly.
- You can now hide the Persistent Service Notification.
- New downloadable add-on for auto-updating script.
- Optimized performance of adblocker.
- Various bug fixes and improved performance/stability.
* Special thanks to XDA member
@andyk88 and Automate developer @
Henrik Lindqvist for assisting me in fixing the startup bug! Thank you both so much!
Version 2.0:
- Improved performance and stability.
- * Fixed logging, and battery draining issues.
- Squashed a few bugs.
* Special thanks to XDA member
@jdmegkoupe for his/hers amazing help by fixing the script and preventing it from running continuously, improving battery life, and reducing logs. Thanks so much!
If you like my work and would like to support me feel free to Donate.
Thank you.