[GUIDE] Ad removal - Debloat - Block OTA: easy TWRP install scripts - BLU R1 HD Guides, News, & Discussion

[SIZE=+3]TWRP scripts: Ad removal - Debloat - Block OTA[/SIZE]
[SIZE=+2]Amazon Prime Variant and OEM Variant[/SIZE]
Tested on Prime and OEM variants. Please report back if any issues​
[SIZE=+1]This guide only require you to be able to boot TWRP. You can follow this TWRP install guide and perform the installation of these .zip files AFTER step 8) (You must backup your system in case anything goes wrong, you will also need this backup to perform any future OTA, such as the one activating band 12). You can either stop there after installation, or proceed to the following steps if you want to have root access.[/SIZE]​
[SIZE=+1]All .zip have to be installed using the TWRP "Install" function. You will need to download them on your phone or copy them on a SD card. You do not need to install all these packages at once. These scripts do not install or remove anything on /system, they only rename some files. All scripts can be extracted and opening "update-binary" with your favorite text editor will allow you to see exactly what is done (always a good idea if you are concerned with your device security), and customize it if you wish.
This will only rename the stock apps in your /system. If an update was performed, or if you used the app previously, the app and it's files may still be present on your device /data even after running these scripts but you will be able to uninstall them as any other app. This also means that you can rerun these scripts after a future OTA and they will not erase any app you reinstalled yourself on /data.
A "reset all" script is also provided to restore all apps and unblock OTA.
You can individually restore any app by using a file manager with root access (or TWRP built-in one) and rename any "*.apk_" to "*.apk", app will show up again after the next reboot.
[/SIZE]​
[SIZE=+1]Disable ads, block OTA and Amazon PARTIAL debloat "bluR1-AMZ-PARTIALdebloat-blockOTA"[/SIZE]​This package will remove all the ads from your Prime phone and block future OTA. You DO NOT need to reset / wipe your phone after installation.
It will also remove all Amazon apps from your system except for the Amazon Underground app store (recommended).
This option allows automatic background updates from the amazon app store and do not need you allow the installation of packages from unknown sources.
[SIZE=+1]Disable ads, block OTA and Amazon FULL debloat "bluR1-AMZ-FULLdebloat-blockOTA"[/SIZE]​This package will remove all the ads from your Prime phone and block future OTA. You DO NOT need to reset / wipe your phone after installation.
It will also remove all Amazon apps from your system including the Amazon Underground app store.
[SIZE=+1]Google PARTIAL debloat "bluR1-GOOGLE-debloat"[/SIZE]​This package will remove SOME stock Google apps that can be easily downloaded from the google play store and are not required for the system.
This will only remove apps in the /system partition. This means that if you downloaded or reinstalled some of the apps they won't be removed by the script. It also means that if you previously used the phone and some apps were updated they will still be installed in your /data/app, but you will be able to uninstall them manually as any other app.
List of removed apps and their Google Play link for easy reinstall:
Google Search bar on home screen
https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox
Google Talkback
https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback
Google GMail
https://play.google.com/store/apps/details?id=com.google.android.gm
Google Play Music
https://play.google.com/store/apps/details?id=com.google.android.music
Youtube
https://play.google.com/store/apps/details?id=com.google.android.youtube
Google Drive
https://play.google.com/store/apps/details?id=com.google.android.apps.docs
Google Maps
https://play.google.com/store/apps/details?id=com.google.android.apps.maps
Google Chrome
https://play.google.com/store/apps/details?id=com.android.chrome
Google Talk Services
https://play.google.com/store/apps/details?id=com.google.android.tts
Google Play Videos
https://play.google.com/store/apps/details?id=com.google.android.videos
Google Photos
https://play.google.com/store/apps/details?id=com.google.android.apps.photos
Google Agenda
https://play.google.com/store/apps/details?id=com.google.android.calendar
Google Hangouts
https://play.google.com/store/apps/details?id=com.google.android.talk
Google Calculator
https://play.google.com/store/apps/details?id=com.google.android.calculator
Google Clock
https://play.google.com/store/apps/details?id=com.google.android.deskclock
It will not disable Google Play store, Play services etc. Some of the apps can be removed by editing the script yourself. See the "update-binary" file. No additional help to do so will be provided, do it at your own risks.
[SIZE=+1]Mediatek and BLU PARTIAL debloat "bluR1-MTK_BLU-debloat"[/SIZE]​This package will remove SOME stock Mediatek and BLU apps.
Remove useless BLU app and Opera preinstaller.
Remove the ugly File Manager app. Replace it by any other file explorer app is you like.
Amaze File Manager is a great and open source alternative https://play.google.com/store/apps/details?id=com.amaze.filemanager
[SIZE=+1]Restore all apps and OTA "bluR1-RestoreApps-OTA"[/SIZE]​This package will restore all apps and unblock OTAs.
Changelog:
07/30/2016 - Topic creation. Amazon ad removal / debloat / OTA blocking scripts from the original post moved here for a better visibility. Initial release of Google and Mediatek debloat scripts.
08/17/2016 - MTK debloat script updated to fix FileManager removal bug
10/01/2016 - Scripts updated to v2. Now only rename files, restore script provided (V1 downloads: AMZ-PARTIAL 740, AMZ-FULL 828, GOOGLE 747, MTK 536)
05/31/2017 - Some scripts updated to v2 or v3, support V8.4 and V21 changes in folder and apk names. (V2 downloads: AMZ-PARTIAL 774, AMZ-FULL 1208, MTK 544, RESTORE 294)
07/13/2017 - MTK and OTA restore script updated to fix a typo in BLUHelp debloating. (V3 previous downloads: MTK 60, RESTORE 44)

thanks for this! very nice of you to make all the different options as well.
worked great for me on first try.

Now I'm tempted to buy the 50 version, would this leave your phone as stock?

rmartinezdl said:
would this leave your phone as stock?
Click to expand...
Click to collapse
I do not have access to a stock ROM or nandroid backup to compare everything so I can't be 100% sure but as far as I know pretty much yes.

Scripts worked perfect and didn't delete the Google apps I actually use! Thanks!

Problems after Factory Reset
after factory reset got a Error looping, “Unfortunately, Setup Wizard has stopped.”
Method to bypass problem,
1. Boot into TWRP Recovery
2. Mount System ( Mount → check System )
3. Advanced → File Manager
4. Browse to /system/priv-app/Setup-Wizard
5. Delete it
Also, home button and menu button doesn't work
(had to restore from backup)

Fibrizox said:
after factory reset got a Error looping, “Unfortunately, Setup Wizard has stopped.”
Method to bypass problem,
1. Boot into TWRP Recovery
2. Mount System ( Mount → check System )
3. Advanced → File Manager
4. Browse to /system/priv-app/Setup-Wizard
5. Delete it
Also, home button and menu button doesn't work
(had to restore from backup)
Click to expand...
Click to collapse
Or in between the pop up error messages you can go to Settings-> Apps->App Permissions and give Setup Wizard the necessary permissions.

So to clarify I can use the script to also disable ota for a prime that's been converted to OEM? excellent

I am a Prime-Member and would like to buy two NEW BLU R1 HD - 16 GB - Black - Prime Exclusive - with Lockscreen Offers & Ads:
https://www.amazon.com/dp/B01H2E0J5M/ref=twister_B01G7TG6SW?_encoding=UTF8&psc=1
However, since I am buying these two cellphones for my sons, and I don't want that they have access to my amazon account details...
So, I would like to know if these phones will come fully registered to my Amazon account, or if it is possible to block or unregister these phones to my Account ?
So, my Amazon Orders, List and Shopping Cart, can not be seen or used by my sons ?
At first and if not totally necessary, I not want to root or modify nothing on this Blue phone... I just would like to totally block in some simple way, my Amazon account that I will use to purchase these phones, possibly because both will come already registered to the same account.

ulises.rodriguez said:
I am a Prime-Member and would like to buy two NEW BLU R1 HD - 16 GB - Black - Prime Exclusive - with Lockscreen Offers & Ads:
https://www.amazon.com/dp/B01H2E0J5M/ref=twister_B01G7TG6SW?_encoding=UTF8&psc=1
However, since I am buying these two cellphones for my sons, and I don't want that they have access to my amazon account details...
So, I would like to know if these phones will come fully registered to my Amazon account, or if it is possible to block or unregister these phones to my Account ?
So, my Amazon Orders, List and Shopping Cart, can not be seen or used by my sons ?
At first and if not totally necessary, I not want to root or modify nothing on this Blue phone... I just would like to totally block in some simple way, my Amazon account that I will use to purchase these phones, possibly because both will come already registered to the same account.
Click to expand...
Click to collapse
They do not come registered to your account at all. Signing into an amazon account is an option during setup, but not required.

Thanks for letting me know that these BLUE phones, not come pre-registered to an amazon account...
That's just what I wanted to know before ordering my two phones.

The scripts worked perfectly except for the MTK one. The ugly file manager is still there.

oakami said:
The scripts worked perfectly except for the MTK one. The ugly file manager is still there.
Click to expand...
Click to collapse
This is strange. What phone version do you have? (Prime, normal, Prime converted to normal, etc)
Is the Gallery App gone? If yes try to uninstall the file explorer manually like any other app, else try to run the script again to be sure nothing went wrong.

emc2cube said:
This is strange. What phone version do you have? (Prime, normal, Prime converted to normal, etc)
Is the Gallery App gone? If yes try to uninstall the file explorer manually like any other app, else try to run the script again to be sure nothing went wrong.
Click to expand...
Click to collapse
I have the prime version. I flashed TWRP plus superSU and Xposed. The gallery app is gone. I tried installing the script again but the file manager is still there.

oakami said:
I have the prime version. I flashed TWRP plus superSU and Xposed. The gallery app is gone. I tried installing the script again but the file manager is still there.
Click to expand...
Click to collapse
Found the problem. Please redownload the script from the original post, I updated it and it should now remove properly the file manager.
Thank you for your bug report!

Thanks so much for this.
Also wanted to let people know that I removed Google Play Service and Google Play (store) without any issues so far.
I will update this post if I run into any problems.
Thanks again!

Any way to make the Camera app launch Google Photos? It now just gives me an error since I removed the Gallery app...

lostman1027 said:
Any way to make the Camera app launch Google Photos? It now just gives me an error since I removed the Gallery app...
Click to expand...
Click to collapse
No, use of the default gallery app is hardcoded in the camera app.
You can only launch Google Photos using the shortcut displayed after taking a new picture.
If you use an alternative camera app (I use Open Camera https://play.google.com/store/apps/details?id=net.sourceforge.opencamera ) these will correctly launch Google Photos or any other default gallery app.

For testing purpose (seems to work ok on my phone) here is an update of the scripts.
These ones will not delete the apps in /system but rename them from *.apk to *.apk_ effectively disabling and hiding them.
Two main advantages:
- Each app can easily be individually disabled/reactivated using TWRP builtin file explorer or any file explorer with root access by renaming them back to *.apk.
- Easily revert to an out of the box state to be able to apply an OTA update by simply using "bluR1-RestoreApps-OTA.zip" script. This will "rebloat" your system. If you installed root etc you still have to take care of this yourself.
If you are giving these scripts a try, please report success / failure so I can eventually update the original post.
Edit 09/10/2016: scripts updated to debloat non-prime phones, restore script released.
Edit 10/01/2016: scripts are now available on OP, beta is over. Thanks to the few testers that reported back!

Oops, wrong thread.

Related

[Q] App stuck "Installing". How to cancel?

I made the mistake of trying to update a custom netflix APK to the latest Netflix out of the Amazon Appstore. Ever since, I've had an "Installing notification" and the app store lists the Netflix app as "Retrieving your app from the cloud."
I've rebooted, uninstalled the custom Netflix APK, reinstalled the custom APK, uninstalled again, and booted without network connectivity. I can't seem to cancel the installation.
Any ideas?
Thanks!
I was unable to find a solution and Amazon's support couldn't help me, so I reformatted the device.
Warning to others: Don't ever click "upgrade" from the Amazon Appstore over a custom APK.
I had the same problem. Not sure how I got into the position but I had 3 apps downloading from the cloud forever.
Support could not come up with a solution so the only solution was to reset the device, I had to wait until the unit had 40% charge to do that. After I reset, it has worked fine since.
I did not try to upgrade anything yet when this happened. I think it might have had something to do with GetJar which I got before it showed the Kindle Fire as a supported device (just used another 2.3 droid device)
Zathbu is right. you're better off not trying to upgrade a sideloaded apk via the app store. one of the reasons being amazon stores its apps (meaning, the ones u get from their store) on the cloud, but sideloaded apks are stored on the device. and besides, i believe the apks from the amazon app store are treated differently. i have both android market and amazon app store on my phone and the apps i get from the app store are not "seen" by the market at all (even if they are present on both places)
I pretty much had the same problem. I had side loaded an APK of an App I had previous on my Droid phone, and then decided to download from the Amazon AppStore instead (better resolution of icon!). It even nicely said that I had an app installed that wasn't registered to my account, and would I like to overwrite it. Obviously, I said "Yes". The app just sat there installing forever, and no amount of reboots would fix it, or allow any subsequent app installs. Mistake....well temporarily.
The fix is this (if I remember correctly!):
1. Click on Settings (Cog)
2. Click on More (+)
3. Click on Applications
4. Ensure Drop Down says "All Applications"
5. Select Appstore
6. Select Clear Data (this won't affect your other installed apps)
7. Reboot
At that point, you should probably uninstall the offending side loaded APK file, using the same method above (Steps 1 thru 4). Instead of selecting Appstore, choose your app, then click Uninstall instead. Then install from the Appstore instead.
Hope this helps someone.
Glad someone found a GUI method of doing this. In case that doesn't work for some people, I also had luck clearing the contents of /mnt/sdcard/Android/data/com.amazon.venezia/cache/. You should be able to do that from an adb shell window, or a root-enabled file browser.
EDIT: After a quick brain fart, I realized that since that is technically on the "sdcard" partition of the OS, you should be able to remove those APKs from the cache with the Kindle tethered via the USB cable.
This is what I do, root not needed nor rebooting:
1) I use ES File Explorer to clear /sdcard/Android/data/com.amazon.venezia/cache but any file manager should work.
2a) Use settings-> applications to clear the data and force stop Amazon appstore
2b) Or use any app manager or most app2sd apps to go to the detail page for the appstore and clear data and force stop. The app manager built into ES File Manager will work fine. I only list this as the second alternative since the other way uses the built-in settings vs. this requiring an app.
3) Go to the app section/tab on the launcher then select store to restart the appstore.
Sent from my HTC Flyer P512 using Tapatalk
You can also install a task manager and kill the "AppStore" process. That worked for me.
Worked for me!
sl0ttedpig said:
I pretty much had the same problem. I had side loaded an APK of an App I had previous on my Droid phone, and then decided to download from the Amazon AppStore instead (better resolution of icon!). It even nicely said that I had an app installed that wasn't registered to my account, and would I like to overwrite it. Obviously, I said "Yes". The app just sat there installing forever, and no amount of reboots would fix it, or allow any subsequent app installs. Mistake....well temporarily.
The fix is this (if I remember correctly!):
1. Click on Settings (Cog)
2. Click on More (+)
3. Click on Applications
4. Ensure Drop Down says "All Applications"
5. Select Appstore
6. Select Clear Data (this won't affect your other installed apps)
7. Reboot
At that point, you should probably uninstall the offending side loaded APK file, using the same method above (Steps 1 thru 4). Instead of selecting Appstore, choose your app, then click Uninstall instead. Then install from the Appstore instead.
Hope this helps someone.
Click to expand...
Click to collapse
Hi, I followed this steps and my appstore is working now. Thank you,

[Solution] Applications and games owned by this account will appear here

I have had this issue for a very long time and could not find a lasting and solid solution. After researching the problem for a few weeks I found a solution that worked for me, finally.
The issue seems to have triggered when I used the Titanium Backup Pro Market tools to unlink and link apps to my market account and system apps were added by accident. This should work with any app that can link and unlink apps to and from the Market.
Here is the step-by-step solution for TB Pro:
1) Go to Market Tools -> Market Doctor and Unlink all User & System apps.
2) Reboot device.
3) Open any Root Explorer or Browser and locate and delete the file "market_assets.db" in "/data/data/com.android.vending/databases".
4) Reboot device.
5) Go to TB Pro and to Market Tools -> Market Doctor -> User Apps and link all the User Apps that you installed on your device from the Android Market. Make sure that no System App is linked.
6) Reboot device.
Then the apps you have linked to your account will appear again in Your Apps of the Market after a few minutes. If they do not then install a new free app or a free app that you had previously installed and uninstalled and your apps should appear soon.
In my case I had used all proposed solutions with no luck and this was the only solid solution. I used TB Pro and Root Browser Lite to do this. You could probably use MyBackup for free (30 days trial) to do the same process but if you had this issues chances are that you already have an app that can unlink and link apps from the market.
I hope this sorts out your issue too
Edit 6 FEB 2012: This solution is temporary unfortunately. The cause of the problem is linking apps to the market that were not downloaded from the market or linking to the market from a backup that is quite old/corrupted. To sort this out there is an app now and you can find it from here:
http://forum.xda-developers.com/showpost.php?p=22178757&postcount=162
It is called Market Fixer and it detects market links that are problematic and removes them to restore the My Apps functionality in the Market.
Cool thanks, I had already found that solution by myself and it works fine, but doesn't survive a hard reset, meaning everytime I flash a new rom with full wipe the problem comes back and I have to go through this again...
I tried to use another account with a full wipe and no problem, so my account must be screwed for life.
Thanks titanium
Sent from my GT-N7000 using XDA App
Also, with market enabler I can see paid apps and even install previous bought apps but cannot buy anything.
With 2 accounts setup at the same time, I can mysteriously buy apps !!!
If I delete the second account, bam, I can't buy anymore.
Looks like the simple presence of a "clean" account sorts things out for the corrupted one...
Sent from my GT-N7000 using XDA App
Latoc said:
Also, with market enabler I can see paid apps and even install previous bought apps but cannot buy anything.
With 2 accounts setup at the same time, I can mysteriously buy apps !!!
If I delete the second account, bam, I can't buy anymore.
Looks like the simple presence of a "clean" account sorts things out for the corrupted one...
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
This hasn't occurred to me at any point. I can always purchase apps from the Market.
Vrayhem said:
I have had this issue for a very long time and could not find a lasting and solid solution. After researching the problem for a few weeks I found a solution that worked for me, finally.
The issue seems to have triggered when I used the Titanium Backup Pro Market tools to unlink and link apps to my market account and system apps were added by accident. This should work with any app that can link and unlink apps to and from the Market.
Here is the step-by-step solution for TB Pro:
1) Go to Market Tools -> Market Doctor and Unlink all User & System apps.
2) Reboot device.
3) Open any Root Explorer or Browser and locate and delete the file "market_assets.db" in "/data/data/com.android.vending/databases".
4) Reboot device.
5) Go to TB Pro and to Market Tools -> Market Doctor -> User Apps and link all the User Apps that you installed on your device from the Android Market. Make sure that no System App is linked.
6) Reboot device.
Then the apps you have linked to your account will appear again in Your Apps of the Market after a few minutes. If they do not then install a new free app or a free app that you had previously installed and uninstalled and your apps should appear soon.
In my case I had used all proposed solutions with no luck and this was the only solid solution. I used TB Pro and Root Browser Lite to do this. You could probably use MyBackup for free (30 days trial) to do the same process but if you had this issues chances are that you already have an app that can unlink and link apps from the market.
I hope this sorts out your issue too
Click to expand...
Click to collapse
This solution fixed the problem for me (for the time being). Thanks!!!
Vrayhem said:
...
3) Open any Root Explorer or Browser and locate and delete the file "market_assets.db" in "/data/data/com.android.vending/databases".
...
Click to expand...
Click to collapse
Strange ...
I could not find the "maket_assets.db" in the indicated folder.
Worse ! I could find the databases folder !
ledbrv said:
Strange ...
I could not find the "maket_assets.db" in the indicated folder.
Worse ! I could find the databases folder !
Click to expand...
Click to collapse
This is strange. Are you looking in the internal SD card? What rom are you running and which version of the Market you have installed?
Vrayhem said:
This is strange. Are you looking in the internal SD card? What rom are you running and which version of the Market you have installed?
Click to expand...
Click to collapse
I am using Root Explorer. From "/" i navigate to "/data/data/com.android.vending/".
At that folder is see these sub-folders:
app_carrier_billing
app_sslcache
app_uri_url_map
cache
lib
But there is no databases sub-folder.
I am using DarkyROM 10.4.2 and Market version is 3.4.4.
@Vrayhem
I'm not sure yet but it seems to work.
I had too much disappointment to excite me too.
But thank you very much for your job.
@ledbrv
What root browser to you use?
If it is ES Explorer you can't search file in root system with it.
Choose "Root Browser Lite"
Bye
ledbrv said:
I am using Root Explorer. From "/" i navigate to "/data/data/com.android.vending/".
At that folder is see these sub-folders:
app_carrier_billing
app_sslcache
app_uri_url_map
cache
lib
But there is no databases sub-folder.
I am using DarkyROM 10.4.2 and Market version is 3.4.4.
Click to expand...
Click to collapse
You are missing the folders databases and shared_prefs then. What happens if you try to create an empty folder there called databases?
Alternatively you can search for the file "market_assets.db" to see where it is saved at. Root browser lite has both search and create new folder functions.
I use Root Explorer.
I created the "databases" folder under /data/data/com.android.vending/ and rebooted. Nothing happened. No files appeared inside databases. Then I "Force stop" and "Clear data" of Market app and reboot. After that databases folder disappears again.
ledbrv said:
I use Root Explorer.
I created the "databases" folder under /data/data/com.android.vending/ and rebooted. Nothing happened. No files appeared inside databases. Then I "Force stop" and "Clear data" of Market app and reboot. After that databases folder disappears again.
Click to expand...
Click to collapse
This can only be explained by the fact that you are using a custom rom which is probably based on a previous stock rom than the one we have or it has been modified to affect that part of the market.
I also had an Android Market account corruption where apps I never purchased or never downloaded appeared in my apps when I logged into my account on the PC. Some of those apps would appear under my Apps in the Market for a long time. What I did was flash the latest rom XLA4 with Mobile Odin Pro (to not lose root), flash the CF root kernel to restore CWM functionality, wipe internal sd card/apps/data/factory reset/dalvik cache, install all the apps I wanted through the Android Market account on my PC and then follow the procedure I mention in my first post here. Now (today in fact) I checked my Android Market account online and all the "fake" apps are gone, the duplicates are gone and everything is in place. Also the Market on my phone is working great with no issues and all the apps I linked are there.
Hi,
One day after the changes, the market on my phone is still working great with no issues.
Just a point, system applications are considered not installed.
It seems to me that before this kind of application was not in the list of installed applications on the market or unable to uninstall.
Could you tell me what you think about and if I have to do something?
mich0111 said:
Hi,
One day after the changes, the market on my phone is still working great with no issues.
Just a point, system applications are considered not installed.
It seems to me that before this kind of application was not in the list of installed applications on the market or unable to uninstall.
Could you tell me what you think about and if I have to do something?
Click to expand...
Click to collapse
System applications should not appear in your apps unless you updated an app like Youtube or Maps at some point, so that it will give you the option to uninstall it. You probably added them with TB Pro when you linked the apps to the market as part of the solution. I haven't added them in my case and added only the apps I have installed/bought from the market myself. Therefore, they are not in the Not Installed section.
Some apps indeed do not have the option to be uninstalled (even apps I have bought myself) but it is rare and you can still uninstall them using TB Pro.
Tried this just now on a Galaxy Nexus with ICS 4.0.2 stock rom. (Should this work on this phone too?)
Only thing I did different is I left a couple system apps (like maps etc..) checked during the restore market links in Titanium Backup...
Could this be the problem? Also after deleting the database file and rebooting, I spent about 10+ mins deselecting system and amazon apps from the restore market links, before actually running it. Did it repopulate the database before ran the fix links option and screw things up?
I tried also clearing market data to see if that would help but i did this after this fix did not work. It didn't help either.
quick_ said:
Tried this just now on a Galaxy Nexus with ICS 4.0.2 stock rom. (Should this work on this phone too?)
Only thing I did different is I left a couple system apps (like maps etc..) checked during the restore market links in Titanium Backup...
Could this be the problem? Also after deleting the database file and rebooting, I spent about 10+ mins deselecting system and amazon apps from the restore market links, before actually running it. Did it repopulate the database before ran the fix links option and screw things up?
I tried also clearing market data to see if that would help but i did this after this fix did not work. It didn't help either.
Click to expand...
Click to collapse
I do not know if this fix will work with ICS. You can try it again only adding apps you actually purchased or installed free through the Market to see if that was the issue.
Vrayhem said:
I do not know if this fix will work with ICS. You can try it again only adding apps you actually purchased or installed free through the Market to see if that was the issue.
Click to expand...
Click to collapse
Thanks. I did try it again like you mention and still no luck. I did however do a complete wipe and reinstalled the stock rom. Initially the market was working, until I restored user apps with data with titanium backup, then immediately I was back to the same problem.
So like you said initially, its definitely related to Titanium Backup.
Thanks,
Vrayhem,
Thank you so much for posting this solution.
I followed your instructions carefully on my fully rooted OEM Rom Atrix 2, but it did not work for me the first time. However, I performed them again, only this time, for each and every one of the reboots (I rebooted using Quick Boot ver.4.1), on the way back up I booted back up into recovery, and wiped the cache. I am not sure how that could have made a difference, but it appears to have been necessary in my case. I have not installed a custom ROM yet (was waiting for bootloader unlocking, but it's not hopeful, so I'll be using some other method).
Motorola Atrix 2
Model MB865
Market ver.3.4.4
Root Explorer ver.2.17.2
Quick Boot ver.4.1
Titanium BU Pro ver.4.7.5
System ver. 55.11.16.MB865.ATT.en.US
Android OS v.2.3.5
Kernel 2.6.35.7-gac99e44
[email protected] #1
Build Number 5.5.1-175_EDFFW1-16
======UPDATE======
Well, it worked for a few days. Somehow, it broke again on it's own. I had not messed with any market links or anything. Didn't flash anything, and didn't even muddle with any system files. Just flat out, unprovoked, snafu for no apparent reason.
meh.
Does this work across devices?
Sent from my Triumph using XDA App
This is very frustrating because I am having this happen more and more on different roms and even before installing titanium backup. The fix discussed here did not fix mine either. Sucks because it is only on some roms and not others.

[SM-P905][SM-P907A] Debloating bloatware after rooting + Power On sound removal

** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​** These scripts are written for Kitkat. Do not use on Lollipop. **​ What is new (9/7/2014)
Version 4 provides more Samsung bloat removal, Google bloat removal, and as a bonus it can disable the power on sound.
Background
Samsung has a program running on most of its devices that pushes "Security Updates" onto the device. If you make the mistake of accepting this security update, even after you root your tablet, it will patch the hole and you will never be able to use towelroot or any other know exploit as of June 2014 to root your it again. So this must be immediately disabled after a successful rooting.
Your tablet is also equipped with Knox. One component of Knox is in the bootloader and checks the integrity of the recovery and kernel. If it sees anything has changed at that level it trips the knox flag immediately, which is irreversible. That component can almost never be touched. The second component runs when the OS is up and running and its main task is to monitor the activities of the apps in your system and shut them down if they act "suspiciously". When you are rooted and install SuperSU, this element of Knox keeps detecting the background root activities and shuts them down and gives you warnings. There is therefore a high level of risk there if you let root and knox exist concurrently. So after rooting, this second component of Knox should normally be disabled.
Finally, there are useless junk apps that most of us agree Samsung should have never shipped with the tablet, or even if they are useful we want them gone to get a better battery life.
I will call all of the above (updaters, Knox, and useles junk) bloatware. The scripts attached here can disable or enable the bloatware on your tablet, which comes in handy if you do not have Titanium Backup Pro to freeze or remove bloatware. And since someone will ask at some point, no, it won't trip your Knox!
Please read below and understand what this script disables before you use it. There may be an app on the list that you may actually want to keep.
Requirements:
Rooted Samsung Note Pro 12.2, SM-P905 international model.
Android Terminal Emulator: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
The international version (P905) is tested with baseband P905XXUANA7, build P905XXUANC3 .
The ATT version (P907A) is tested with build KOT49H.P907AUCU1AND7 (thanks to @gerard0986 for testing the script)
Makes sure you download the version that is suitable for your tablet. It may work to varying extents for other models and firmwares.You try and tell me
If you are using models other than P905 or P907A, I can make a new script for you if you provide me with a "ls -R -l" dump of your /system, or even better, if you post your firmware somewhere online.
Download link:
Attached below
Instructions:
Generally speaking, you should always have a Nandroid backup before trying anything new. Also have a flashable ROM handy. I am not responsible if you brick your device while using these scripts.
To debloat:
1- Unzip the attachment and copy debloat.sh to your phone at /sdcard
2- Run the terminal emulator and type the following:
su
cd /sdcard
sh debloat.sh​3- Choose what you want to disable, or exit.
4- If you choose not to exit, the code does its thing and reboots your tablet. The bloat is gone now
To restore the bloatware:
1- Unzip the attachment and copy enbloat.sh to your phone at /sdcard
2- Run the terminal emulator and type the following:
su
cd /sdcard
sh enbloat.sh​3- The code will warn you:
Are you sure you want to restore the security/firmware/software updaters, and Knox?
They may immediately patch your system and make the existing root methods impossible to apply.
Then you can choose what to enable, or just exit.
4- If you choose not to exit, the code does its thing and reboots your tablet. The bloat is back now
Note that while running the debloat script you may get force-closing popups. This is normal; after all you are disabling these applications!
Limitations:
If you have previously removed bloat using other means this script CANNOT recover it for you. enbloat.sh can only restore what debloat.sh has disabled.
If you have debloated using an older version of this code and you want to try a newer version of it, first use enbloat from the older version to return everything to the original configuration and then use the newer version.
When you are restoring the bloat, it is best to enable "airplane mode" so that your tablet does not try to patch your system with a security update without your knowledge. You can disable the airplane mode after you debloat again.
Change log
V5:
Typos fixed.
=============
V4:
Option to disable all Google services except Youtube, search, map, and TTS
Option to disable/enable Power on sound
=============
V3:
The scripts give separate options to enable/disable these groups of bloatware:
1- Updater/knox
Firmware Upgrader, Local FOTA, Security Manager, FOTA Client, Security Update Client, Samsung Push Client, Samsung Software Update, Knox and its related apps
2- Samsung bloat
ANT, Blurb, ELM Agent, Samsung Apps apk and widget, Job Manager, Samsung cloud backup files, Context Provider, S Finder, S Voice, Samsung Account Service, aaIgnite_1.5.15_singtel, weplay_1.3.162, PCWClientS18
3- Other bloatware
Accuweather, Bloomberg, Dropbox, Evernote, Flipboard, NY Times, Remote PC, ,Travel Service, Twitter, WebEx, Line, Pinboard Scratch book, SNS, eMeeting
=============
V2:
The scripts give options to enable/disable updater/knox and other bloatware separately.
Added these to the disable list of V1:
SecurityManagerService, aaIgnite_1.5.15_singtel, weplay_1.3.162
=============
V1:
The script disables the following:
Firmware Upgrader, Local FOTA, FOTA Client, Security Update Client, Samsung Push Client, Samsung Software Update, Knox and related apps, ANT, Blurb, ELM Agent, Remote PC, Samsung Apps apk and widget,Travel Service, Twitter, WebEx, Line, Samsung cloud backup files
PCWClientS18, Scratch book, S Finder, SNS, Samsung Account, eMeeting
Would this work for the T-900 version too?
What do I need to get the info required to get a script made for the sm-p907a model? I read above post but the list of things required were above my head lol.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
iNiREALiZED said:
What do I need to get the info required to get a script made for the sm-p907a model? I read above post but the list of things required were above my head lol.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
Click to expand...
Click to collapse
1- What is your firmware version?
2- Open the terminal emulator and type the following commands in there:
su
cd /system
ls -R -l > /sdcard/sysdump.txt
Then pm the file sysdump.txt which is saved on your sdcard to me.
thank you
Thank you najoor for the neat script, it executed successfully on my sm-p905 (UANE1 rom) & removed the useless software, it saves a lot of time removing them manually.
Nice work
Hope to see a version for the SM-P907 soon.
Rockytop00 said:
Would this work for the T-900 version too?
Click to expand...
Click to collapse
I think the only existing models are SM-P900, SM-P905, SM-P907A and SM-P905V. I don't know what T-900 is.
If you are referring to model P900 (wifi only) this code may partially work but a lot of files are different between the two models so the outcome is a partial debloat. If you want, you can make a system dump file as I suggested in this post http://forum.xda-developers.com/showpost.php?p=55029414&postcount=5 and send it to me so I can make a custom code for you.
Edit: It appears that T900 is the Tab pro model which is a different device. This thread is for Note pro 12.2 and since I do not own a Tab Pro I cannot answer this question. Perhaps help can be found in the XDA's Tab Pro forum at http://forum.xda-developers.com/galaxy-tab-pro-12-10-8. or try these scripts as they are and see if it works for you.
Hey najoor, Im hoping that you can help me debloat my galaxy tab pro 12.2 sm-t900. I just bought it today and am shocked at the amount of bloatware thats included lol.
Basically I want everything removing that I can install through googleplay, leave the default browser.
Here is the log that you mentioned to the other guy also:-
View attachment sysdump.txt
Ill try to pm it also, really hope you can help out.
Pixel
Debloat method
I used this method but i accidentally uninstalled all google services, and google play store was apart of that, is that normal? And if it is are there ways to get it back?
stockerrodney said:
I used this method but i accidentally uninstalled all google services, and google play store was apart of that, is that normal? And if it is are there ways to get it back?
Click to expand...
Click to collapse
Yes, that is part of bloat removal. To get Google bloat back run the enbloat.sh script and hit y when it prompts you about restoring Google bloat.
stockerrodney said:
I used this method but i accidentally uninstalled all google services, and google play store was apart of that, is that normal? And if it is are there ways to get it back?
Click to expand...
Click to collapse
najoor said:
Yes, that is part of bloat removal. To get Google bloat back run the enbloat.sh script and hit y when it prompts you about restoring Google bloat.
Click to expand...
Click to collapse
If i do the enbloat method will i have to reinstall knox ? Or will i still be able to keep it off?
When you use the enbloat.sh you only restore the stuff you choose. You don't have to restore everything. In your case you leave knox and other things out and only answer yes when it asks you if you want Google bloat to be restored.
The script is very user friendly. Just run it and follow the instruction. And just to give you peace of mind, these scripts do not delete anything from your system permanently so don't worry about breaking your system.
Any chance you could add the option to remove individual items?
http://forum.xda-developers.com/android/software/debloater-remove-carrier-bloat-t2998294
Debloat v5.0 removed Scrapbook from Air Command
The debloat worked fine but the Scrapbook app in Air Command is now showing error "no application found to handle this actions".
Please advise.
mojoe said:
The debloat worked fine but the Scrapbook app in Air Command is now showing error "no application found to handle this actions".
Please advise.
Click to expand...
Click to collapse
Removing apps is what a debloating script does. If you want your app back just run the enbloat script. All the instruction you need is provided in the original post.
najoor said:
Removing apps is what a debloating script does. If you want your app back just run the enbloat script. All the instruction you need is provided in the original post.
Click to expand...
Click to collapse
Appreciated. I wanted to debloat but did not expect the scrapbook app to be debloated. Is there any way that I can retrieve this one app, without the rest of the garbage that will return if I "enbloat".
I recall finding the app the last time and renaming from .bak to .apk and it worked.
Can you tell me where to find the apk.
mojoe said:
Appreciated. I wanted to debloat but did not expect the scrapbook app to be debloated. Is there any way that I can retrieve this one app, without the rest of the garbage that will return if I "enbloat".
I recall finding the app the last time and renaming from .bak to .apk and it worked.
Can you tell me where to find the apk.
Click to expand...
Click to collapse
The app is either in /system/app or /system/priv-app. Rename app.apk.bac and app.odex.bac if it exists to app.apk and app.odex and reboot. I don't remember exactly which app is the one you need.
najoor said:
The app is either in /system/app or /system/priv-app. Rename app.apk.bac and app.odex.bac if it exists to app.apk and app.odex and reboot. I don't remember exactly which app is the one you need.
Click to expand...
Click to collapse
Thank you. I will return with the name once I find it.

[TOOLS Fire HD 6&7 ] Rooting, Gapps, Launchers, Block OTA & Ads + More

Download the latest tools from the AFH link near end of post. It includes the changes in the attached "jobs" zip. You only need "jobs" if you downloaded the tools before May 11
EDIT May 29: Playstore is currently unreliable. Until updated, use the workaround here.
UPDATE May 17: Install Other Launcher and Install Kingroot tools may not complete if Windows username has spaces. I'll fix in next update. Until then, if your username has spaces, use this fix.
Here are tools for the 2014 Fire HD 6 and 7. A little late, I know, but some of you who still troll the forums may find them handy. Download the tools from AFH link, extract and run RUNME.bat.
IF YOU PLAN TO ROOT, TURN OFF WIFI NOW!
Tested working on OS 5.1.2.1 and below, except:
- Current Kingroot can't root 5.1.2.1. You need to downgrade. See "ROOT OS 5.1.2", below.
- OS 4: Only OTA blocking is implemented in the Block/Unblock jobs. [5/13/16 UPDATE: Also, Play Store isn't working on OS 4.
.. I probably won't fix it unless there's some demand. Try the video guide here. OS 4 users, also see post #11 for useful info about custom launchers.]
THE TOOLS
Install Play Store
Install Nova Launcher to /priv-app [root]
Install Other Launcher to /priv-app [root]
Uninstall priv-app Launchers [root]
Install Apps
Block/Unblock: OTA, ADS, AMAZON LAUNCHER, APPSTORE, AMAZON SEARCH [root]
Root Checker
Device Info
Root Tools
Install Kingroot ~ Root ~ Block OTA
Replace Kingroot with SuperSU [root]
DESCRIPTIONS
Before running a job, look here for any tips and instructions. This info is also in the readme.txt in the zip​
INSTALL PLAY STORE - Like it says. Works on both rooted and unrooted OS 5. Not for OS 4. EDIT May 29: Playstore is currently unreliable. Until updated, use the workaround here.
INSTALL NOVA LAUNCHER - Installs Nova to /system/priv-app so widgets work. If you just rooted, make this your first custom launcher. You can replace it or add a different one later.
INSTALL OTHER LAUNCHER Installs the launcher app in user_launcher folder to priv-app. Get the apk for the launcher you want (from apkmirror.com for example) and put it into the folder and run the job. EDIT 5/16/2016: Filenames must end with ".apk" No spaces allowed; replace with "_". (The tool will find spaces and pause while while you fix.)
HOW TO INSTALL GOOGLE NOW (also in Readme.txt):
It's much easier to install Google Now if Amazon is blocked, and you need a custom launcher to do that.
1. If you don't have a custom launcher installed, use Install Nova tool (installs Nova and blocks Amazon)
If you have a custom launcher, block Amazon so your custom launcher is running.
2. Get Google Now (small) from apkmirror.com, e.g., put into user_launcher folder and run Install Other Launcher job.
You'll boot to your "other" launcher
3. Run Google Now in app drawer and:
If prompted to Update Google App (Get it from Google Play), do it.
If prompted that other launcher is default, tap link to go to Amazon Settings. In Apps & Games>Manage all Applications: Swipe to All, scroll to your other launcher, tap it and see if "Launch by Default" is on. If yes, Clear Defaults. If no, go to your launcher settings and see if you can turn off default there.
Some launchers don't give up their default easily. If pressing home key doesn't show "Select Home App" after doing the above, run Block/Unblock tool and switch to Amazon. Then block Amazon again. After restart, press home key and you'll get "Select Home App" and be able to choose Google Now.
UNINSTALL LAUNCHERS - Uninstalls and deletes everything associated with a launcher installed to /priv-app. If multiple, prompts you to choose the one to uninstall.
INSTALL APPS - Installs all the apps in the user_apps folder. Put the apks into the folder and run the job. Filenames must end with ".apk" No spaces allowed; replace with "_". (The tool will find spaces and pause while while you fix.) Don't install a launcher with this; use one of the launcher tools.
BLOCK/UNBLOCK - OTA, ADS, AMAZON LAUNCHER, APPSTORE, AMAZON SEARCH
Except for OTA, these work only on rooted OS 5. OTA does a soft block on unrooted OS 4, hard block on rooted.
OTA: Disables update packages and renames DeviceSoftwareOTA.apk for a "hard" block. Unblock reverses it.
ADS: Blocks/unblocks the lockscreen ads.
AMAZON LAUNCHER: Block disables the stock launcher (Amazon UI) and the Appstore, which forces the home key to use your custom launcher. Unblock switches you to Amazon. Checks for custom launcher before disabling Amazon. Black screen with multiple custom launchers: If you haven't set a default launcher, disabling Amazon will boot to black screen. (System doesn't know which launcher to use.) Press home key (circle at bottom) for launcher choices. TIP: To easily switch between your launcher and Amazon, use @bibikalka's guide here to set up "one-tap switching" from launcher home screen.
APPSTORE: Blocks the appstore so in-app links take you to the Play Store (instead of throwing that stupid Appstore prompt). Amazon complains bitterly if you run this from Amazon UI, so use it at your custom launcher or just use the Amazon launcher block.
AMAZON SEARCH: If you have Google Search installed, blocking Amazon Search makes your launcher search bar use Google instead of Amazon shopping.
DEVICE INFO - Just some specs that I find interesting. Lazy man's way to find out which tablet is plugged in, OS it's running, whether rooted . . .
INSTALL KINGROOT, ROOT, BLOCK OTA - Installs Kingroot, prompts you through rooting and blocks OTA updates.
- Installs kingroot v.4.8.5 by default.
- You can skip installation if Kingroot already installed
- You can install a later version if available: Check for new versions here: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
ROOTING AND UPDATES: An update file can download while you're rooting. The Kingroot tool prevents it from installing as soon as you press Enter to tell the tool you're rooted. Then it looks for any downloaded file and if it finds one it tells you where it is and prompts you to delete.
Amazon says that updates install when the the device is not being used, but be aware that on OS 5 there's some risk. To minimize the risk, never leave the tablet idle while rooting. Just keep running Kingroot until root is successful and then press Enter to block installation of any download. (These instructions are in the tool.) To eliminate all risk, you can downgrade and root OS 4.5.3. On OS 4 the tool blocks update installation before rooting. (There's no way to do this on OS 5.) From OS 4.5.3, you upgrade with root in TWRP per bibikalka's root Tut.
True story: Kingroot once rebooted 5 times and told me "Root Failed" 3 times before finally succeeding. An update had downloaded to /cache, but the kingroot tool successfully blocked installation and found the file, which I deleted. So, although it's possible you could get upgraded, as long as you keep the tablet busy trying to root and then press Enter as soon as you're rooted, it's very unlikely.
REPLACE KINGROOT WITH SUPERSU - Installs W0lfDroid's sh script and prompts you through using it to replace Kingroot.
I reviewed and tested the script and it does (only) what it says: Removes all Kingroot (except Purify app, which tool uninstalls) and installs SuperSU. The tool uses SuperSU v. 2.4.6 for OS 5 (known working on OS 5.1.2) and SuperSU v. 2.4.9 for OS 4 (because 2.4.6 didn't seem to work).
FULL DISCLOSURE: I lost root one time after running this on OS 4. I think the problem was SuperSU 2.4.6 and that's why I changed it. I've tested many times and this only happened once, but you should know it happened. AFAIK W0lfDroid script is still the best free tool for the job.
ERRORS: Script was written to remove Kingroot from multiple android versions, so it tries to remove Kingroot files that don't exist on Lollipop. THIS PRODUCES LOTS OF ERRORS. THAT'S OK. I left in all commands so it will work on OS 4, too.
USE THIS SOON AFTER ROOTING. W0lfDroid's script should work fine even with root apps installed, but all I know for sure is it runs quick and easy on a "fresh" system.
ADB Sideload
There's an adb-sideload job in the jobs folder. I didn't put it on the menu because it uses commands that may not run on some systems. Also, if you know what you're doing, it's probably faster to manually sideload an update. If someone wants to try it, put the update bin file into adb_sideload folder and run sideload.bat.​WINDOWS TESTING: Script was tested on English-language versions of Win 7 Pro and Home. Some testing on Win 10. (Thanks @SpaceBananas!) There's nothing that can hurt your tablet, but there may be kinks to work out based on Windows version. Hope a tester will work with me to help make the tools accessible to everyone. Thanks!
ADB DRIVERS REQUIRED: Try the guide in first link below. If problems, try the second.
Guide: http://forum.xda-developers.com/fir...ivers-fire-t3189000/post62561840#post62561840
Other options: http://forum.xda-developers.com/showpost.php?p=63072252&postcount=2
ROOT OS 5.1.2
IF YOU PLAN TO ROOT, TURN OFF WIFI NOW!
ROOT GUIDE: Follow this guide to use Kingroot and the root tools to set up your tablet.
At this time, Kingroot can only root OS 5.1.2 (February 2016) and below.
You can downgrade OS 5.1.2.1 (March 2016) to 5.1.2 and root, as explained in Root Guide, but this is an exception!
In general, never downgrade in order to use Kingroot. It's the fastest way to a brick!
You may be able to safely downgrade a higher OS to OS 4.5.3, root, and then upgrade in TWRP per @bibikalka's root Tut. Before trying this on an OS later than 5.1.2.1, make sure the tutorial says it's safe.
DOWNLOAD THE TOOLS FROM AFH ➔ . FireHD_TOOLS v 1.2
Update as of 5/11/16
➔ If you got the tools before the update, just replace the jobs folder in FIREHD_TOOLS with the one in attached "jobs_v1.x.zip"
Change Log
5/11/2016 - v1.2: Updated sideload.bat. (Missed the Find/Findstr fixes.)
5/10/2016 - v1.1: Fixed "No such file or directory" and "Permission denied" errors for users with *nix Find command installed
.
Nice Work!
@DoLooper - Magnum Opus, no less !
Why version 0.1 ??? The first release - solid 1.0 !!!
Updated. See OP.
Guys, I could use some feedback. Tools are getting downloaded a lot. Anybody using them? Are they helpful? Problems? Wishes? Anything? Thanks!
.
Updated again <sigh>. Sideload tool didn't get updated in v1.1. Apologies to those who downloaded the jobs zip.
DoLooper said:
Updated. See OP.
Guys, I could use some feedback. Tools are getting downloaded a lot. Anybody using them? Are they helpful? Problems? Wishes? Anything? Thanks!
.
Click to expand...
Click to collapse
Thanks DoLooper.
I tried these tools on my Fire HD 7 running 4.5.5.1 rooted with KingRoot.
I was able to use the script to successfully switch from KingRoot to SuperSU as well as to install Nova Launcher.
However, I had issues with the script elsewhere.
The play store seemed to install okay and it let me put in my google account info. After that, things went down hill. I was able to open the Play Store app without it crashing, but I just kept getting the "Error retrieving information from server. [RH-01]" message . I tried numerous things to correct this, but nothing seemed to work. In the end, I downgraded to 4.5.5, wiped data, cache and dalvik, and then flashed gapps via TWRP. This worked out, so all is good now.
I also had trouble with blocking the default launcher. Nova seemed to install okay, but the default launcher still worked and was a constant nag with each press of the home button. I fixed this by freezing the default launcher via Titanium Backup.
I don't know if these issues are particular to 4.5.5.1, or if I'm just unlucky. Regardless, I still appreciate your effort for putting this together. :good:
I'm currently trying to get wallpapers and widgets to work on the Nova launcher with no success. I tried the fixes intended for earlier Kindle models and (not surprisingly), they didn't work. Specifically, I tried Stunt's Wallpaper Fix and Kindlefree from the app store.
Any ideas where I should look for guidance on making Wallpapers and Widgets work?
Thanks again!
notorious.dds said:
Thanks DoLooper.
I tried these tools on my Fire HD 7 running 4.5.5.1 rooted with KingRoot.
I was able to use the script to successfully switch from KingRoot to SuperSU as well as to install Nova Launcher.
However, I had issues with the script elsewhere.
The play store seemed to install okay and it let me put in my google account info. After that, things went down hill. I was able to open the Play Store app without it crashing, but I just kept getting the "Error retrieving information from server. [RH-01]" message . I tried numerous things to correct this, but nothing seemed to work. In the end, I downgraded to 4.5.5, wiped data, cache and dalvik, and then flashed gapps via TWRP. This worked out, so all is good now.
I also had trouble with blocking the default launcher. Nova seemed to install okay, but the default launcher still worked and was a constant nag with each press of the home button. I fixed this by freezing the default launcher via Titanium Backup.
I don't know if these issues are particular to 4.5.5.1, or if I'm just unlucky. Regardless, I still appreciate your effort for putting this together. :good:
I'm currently trying to get wallpapers and widgets to work on the Nova launcher with no success. I tried the fixes intended for earlier Kindle models and (not surprisingly), they didn't work. Specifically, I tried Stunt's Wallpaper Fix and Kindlefree from the app store.
Any ideas where I should look for guidance on making Wallpapers and Widgets work?
Click to expand...
Click to collapse
Thanks for feedback. Tools apparently need work for OS 4.5.5.1. I tested pretty well on 4.5.3 and 4.5.5, but not 4.5.5.1. There may be some peculiarity there.
- The play store error has been reported on some 2015 Fires (using a different tool, but same method to install). It's unclear why it happens on some devices and not others, and they haven't found a fix, but it may be an OS 4 issue on the Fire HDs. I'll look into it.
- Nova & stock launchers: The block on stock launcher didn't work because it isn't implemented for OS 4. As mentioned at top of OP, only OTA block is available for OS 4. I'll need to add it in an update. Hadn't thought about need for it when using the Nova tool.
Would you please look in /system/priv-app folder and see if com.teslacoil.launcher.apk is at the bottom of directory? If so, are perms set to rw- r-- r--? Let me know and we'll proceed from there to get you widgets. Thanks.
DoLooper said:
Thanks for feedback. Tools apparently need work for OS 4.5.5.1. I tested pretty well on 4.5.3 and 4.5.5, but not 4.5.5.1. There may be some peculiarity there.
- The play store error has been reported on some 2015 Fires (using a different tool, but same method to install). It's unclear why it happens on some devices and not others, and they haven't found a fix, but it may be an OS 4 issue on the Fire HDs. I'll look into it.
- Nova & stock launchers: The block on stock launcher didn't work because it isn't implemented for OS 4. As mentioned at top of OP, only OTA block is available for OS 4. I'll need to add it in an update. Hadn't thought about need for it when using the Nova tool.
Would you please look in /system/priv-app folder and see if com.teslacoil.launcher.apk is at the bottom of directory? If so, are perms set to rw- r-- r--? Let me know and we'll proceed from there to get you widgets. Thanks.
Click to expand...
Click to collapse
Thanks for the help!
I found the com.teslacoilsw.launcher-1.apk file, but it's in my /data/app folder... and it is chmod'ed to 644.
Also, I did successfully install the AppWidgetPicker.apk and LiveWallpapersPicker.apk files to /system/app using the "kindlefree" app, but I think that about all the app did. These files are also chmod'ed to 644.
notorious.dds said:
Thanks for the help!
I found the com.teslacoilsw.launcher-1.apk file, but it's in my /data/app folder... and it is chmod'ed to 644.
Also, I did successfully install the AppWidgetPicker.apk and LiveWallpapersPicker.apk files to /system/app using the "kindlefree" app, but I think that about all the app did. These files are also chmod'ed to 644.
Click to expand...
Click to collapse
I've been using OS 5 for too long! Forgot you can't get wallpaper on OS 4 without fussing. It's unclear from your post: Did the pickers get wallpaper to work? This is the way we did it back when we always booted twrp and installed xposed: http://forum.xda-developers.com/fire-hd/general/how-to-wallpaper-custom-launcher-t3123009
As to widgets: What I meant is, you should have /system/priv-app/com.teslacoil.launcher_4.2.2.apk. Do you? I just retested this on 4.5.3. Nova (com.teslacoil.launcher_4.2.2.apk) got copied there and chmod'ed to 644 as it should and widgets are working fine.
No wallpaper is a bad problem, though, and no tool can fix it--unless that LiveWallpapersPicker DID work. Let me know. And let me know about /system/priv-app/com.teslacoil.launcher_4.2.2.apk.
BTW, how come you want to stay on OS 4?
DoLooper said:
I've been using OS 5 for too long! Forgot you can't get wallpaper on OS 4 without fussing. It's unclear from your post: Did the pickers get wallpaper to work?
Click to expand...
Click to collapse
Nope.
DoLooper said:
This is the way we did it back when we always booted twrp and installed xposed: http://forum.xda-developers.com/fire-hd/general/how-to-wallpaper-custom-launcher-t3123009
Click to expand...
Click to collapse
I think I tried that to no avail, but I can't remember exactly which module I used.
DoLooper said:
As to widgets: What I meant is, you should have /system/priv-app/com.teslacoil.launcher_4.2.2.apk. Do you? I just retested this on 4.5.3. Nova (com.teslacoil.launcher_4.2.2.apk) got copied there and chmod'ed to 644 as it should and widgets are working fine.
Click to expand...
Click to collapse
I think I ended up installing Nova via the app store so that's why it wasn't on the system partition. However, my widgets seemed to work when I checked again. I have no idea why they wouldn't work when I first tried them. I did end up creating two simple scripts via the "Scripter" app that would enable and disable the stock launcher. I put them as widgets on the nova desktop allowing for single click toggling of the stock launcher.
DoLooper said:
No wallpaper is a bad problem, though, and no tool can fix it--unless that LiveWallpapersPicker DID work. Let me know. And let me know about /system/priv-app/com.teslacoil.launcher_4.2.2.apk.
Click to expand...
Click to collapse
No, nothing seemed to fix the wallpaper... always black. Am understanding this correctly that the wallpaper works on this thing if I load Lollipop?
DoLooper said:
BTW, how come you want to stay on OS 4?
Click to expand...
Click to collapse
I didn't want to fiddle around with change the bootloaders every time I wanted into TWRP. At this point, it doesn't matter anyway... I hard bricked the device by flashing the 5.2.0 stock recovery last night
The post about using this to revert to stock should be edited or removed. It's bad.
The only reason I was trying to revert to stock was that I ended up getting into a situation where the stock launcher would continue looping back to the Welcome/select language screen. I wiped cache, data, and dalvik and reflashed the 4.5.5 rom which didn't fix it. I even tried that same approach including a wipe of system... same result. I was quite surprised to see the problem continue even after wiping everything. At that point I figured I go back to full stock and start over... BAD IDEA.
Anyway, I ordered a new one and it should be here tomorrow. I'm now curious if it's possible to recover the bricked device via the UART port on the motherboard. We'll see.:fingers-crossed::fingers-crossed:
notorious.dds said:
. . .
I think I ended up installing Nova via the app store so that's why it wasn't on the system partition. However, my widgets seemed to work when I checked again. I have no idea why they wouldn't work when I first tried them. I did end up creating two simple scripts via the "Scripter" app that would enable and disable the stock launcher. I put them as widgets on the nova desktop allowing for single click toggling of the stock launcher.
No, nothing seemed to fix the wallpaper... always black. Am understanding this correctly that the wallpaper works on this thing if I load Lollipop?
I didn't want to fiddle around with change the bootloaders every time I wanted into TWRP. At this point, it doesn't matter anyway... I hard bricked the device by flashing the 5.2.0 stock recovery last night
The post about using this to revert to stock should be edited or removed. It's bad.
The only reason I was trying to revert to stock was that I ended up getting into a situation where the stock launcher would continue looping back to the Welcome/select language screen. I wiped cache, data, and dalvik and reflashed the 4.5.5 rom which didn't fix it. I even tried that same approach including a wipe of system... same result. I was quite surprised to see the problem continue even after wiping everything. At that point I figured I go back to full stock and start over... BAD IDEA.
Anyway, I ordered a new one and it should be here tomorrow. I'm now curious if it's possible to recover the bricked device via the UART port on the motherboard. We'll see.:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Sorry to hear about the brick. Good thing Amazon is patient with us.
Yes, wallpaper works fine on OS 5. [For others who read this, on OS 4 the only way to get wallpaper is with Xposed (installed in TWRP) and the kindleBG module in the link I posted above. And BTW, although the tools don't block OS 4 Amazon launcher ATM, it can be done manually. Commands are here.]
Thanks for your input. Play store didn't work for me either this time, despite earlier success. Everything else except the launcher block (and other non-OTA blocks) does work, so for now I'm just going to edit post and see if there's any other interest in play store on OS 4. (I trust you'll get OS 5 on replacement or will want to update to it.)
As to TWRP: Once tablet is set up, booting TWRP isn't needed much except for upgrading. and bibikalka gives us lots of options for doing it.
Let us know if anything comes of UART port tests. You'd be the hero of the community!
Workaround for Windows username with spaces
The Install Other Launcher and Install Kingroot jobs may not complete if your Windows username has spaces in it. I'll fix this in next update. Meanwhile here's the workaround:
1. Right-click RUNME.bat and choose Edit. [file opens in Notepad]
2. Add a blank line under :: Set paths and run menu.
3. Type: SET "username=abc"
4. Make sure this section of RUNME looks like below and then save and close Notepad
Code:
:: Set paths and run menu.
SET "username=abc"
SET "main=%CD%\"
SET "jobsdir=%main%jobs\"
[remaining code]
This changes the username only for the tools. The rest of Windows continues to use the real username.
I'm getting ready to update. Please let me know if you found any problems.
Used the tool on my Fire HD 6 (4th Gen) running a Rooted OS 5.1.2.1 to install a new launcher and block OTA's, ads, fire launcher, appstore, and Amazon search. Everything worked without issue! Thanks for the awesome and simple to use tool! Tablet is now almost pure Android. Great work!!!
Sidenote: Used bibikalka's TUT (http://forum.xda-developers.com/fire-hd/general/how-to-upgrade-to-lollipop-root-gapps-t3163950) on my Fire HD 6 that was currently running Fire OS 4.5.3 with TWRP Recovery to obtain a Rooted Fire OS 5.1.2.1..
I adb'd the 5.1.2 upgrade to my slab this way.
$ adb push update-kindle-20.5.4.2_user_542168620.bin /sdcard/
3047 KB/s (663908627 bytes in 212.722s)
My OS is FIRE OS 5.1.2 Build Date March 31, 2016 1:37 AM.
I tried and got an error to the effect, "cannot upgrade because the upgrade you are trying is older than the one you have".
So I'm probably running an even later version of 5.1.2 where they blocked that loophole.
I'm just going to by a cheap Chinese slab and root that.
wallywallywally said:
I adb'd the 5.1.2 upgrade to my slab this way.
$ adb push update-kindle-20.5.4.2_user_542168620.bin /sdcard/
3047 KB/s (663908627 bytes in 212.722s)
My OS is FIRE OS 5.1.2 Build Date March 31, 2016 1:37 AM.
I tried and got an error to the effect, "cannot upgrade because the upgrade you are trying is older than the one you have".
So I'm probably running an even later version of 5.1.2 where they blocked that loophole.
I'm just going to by a cheap Chinese slab and root that.
Click to expand...
Click to collapse
use adb sideload in Stock recovery
Sent from my KFFOWI using XDA Labs
sd_shadow said:
use adb sideload in Stock recovery
Sent from my KFFOWI using XDA Labs
Click to expand...
Click to collapse
Yuh, I used sideload AND IT WORKED!!
I also have a fire 5th generation. Does the same procedure work for that, assuming I use the proper 5.1.2 for that device: https://kindle-fire-updates.s3.amaz...ate-kindle-global-37.5.4.2_user_542168620.bin
wallywallywally said:
Yuh, I used sideload AND IT WORKED!!
I also have a fire 5th generation. Does the same procedure work for that, assuming I use the proper 5.1.2 for that device: https://kindle-fire-updates.s3.amaz...ate-kindle-global-37.5.4.2_user_542168620.bin
Click to expand...
Click to collapse
yes
Sent from my KFFOWI using XDA Labs
Confirmed, this procedure worked for Fire (5th generation), however the amazon update file is different (see a few posts back)
I just got a fire HD 6 (4th Gen) with the 4.5.2 OS.
Everything I see talks about 4.5.3 and later. I have not turned on wifi, so basically in a holding pattern for now. I want to root/twrp and maybe a custom rom.
Can some give me advice on the best path to take? Should I upgrade then root? Or root then upgrade? Any advice is appreciated.

No need for GApps install--tested and confirmed

*I spoke too soon, perhaps! See here: https://forum.xda-developers.com/nook-touch/development/nst-g-updating-ntgappsattack-t3875957 for a new approach to GApps with working sync--but Google Books is dead.*
I've recently received a second NST and decided to start some tests which I didn't want to mess up my regular device doing.
My first item is GApps. UNLESS you absolutely MUST have Google Books (1.2.2 is the only working version w/sync--but no purchase ability), there is no need to install GApps. All of my apps which will run on the NST are perfectly happy without GApps, including many whose current versions (like MX Player and the NPR app) balk at running without GFS (Google Framework Services) on newer devices. I guess the old versions just predate all that.
----------------------------------------------
Edit: I've come across an exception: Tasker and any apps generated from Tasker/App Factory (that includes my own USB one-touch toggles, Current Bookcover Screensaver, and Screenshot). It turns out that Tasker and its daughter apps have a built in dependency on two Google Maps library files. You don't get these by installing Maps (tried that...). Instead they are a part of GApps installation. But you can place these two files yourself to solve this issue (attached below--the xml file is zipped so you can actually download it instead of view it). Copy the files into these locations (you will need to mount /system as RW temporarily):
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot.
----------------------------------------------
NONE of the apps in the GApps install package work any longer except for the rudimentary sync/account files that are needed for Google Books, and those must be set via GMail (which otherwise does not work). OK, Calculator works But you don't need GApps to run it. You also cannot sign in to Google or access the Market any more with the apps in the package. But installing GApps will clog your system with a bunch of apps churning away in the background, eating up your battery.
Realistically there is not much in the PlayStore for our devices and most useful apps need to be found elsewhere and sideloaded. However, if you have your heart set on PlayStore access, I recommend the Yalp Store (FDroid). It works well on the NST (I just used it to install MX Player), but you do have to update it from time to time when Google has made some sort of api change, and you cannot purchase apps this way.
Disclaimer: my test of apps is not exhaustive, of course. You may have the exception to my proposed rule. But I doubt it.
You are right, wish there was an easy way of returning back to stock. I lost my backup.
velayo said:
You are right, wish there was an easy way of returning back to stock. I lost my backup.
Click to expand...
Click to collapse
The easiest way is to use the Factory restore option of Nook Manager. That will trigger a reimage with whatever the device left the factory. On my recent acquisition that was 1.0.0! You can use the 1.2.1 update zip from the B&N website to get back to current ( barring the 1.2.2 update which I think is pushing out early Pacific Time on weekends--still have to check that).

Categories

Resources