[DEBLOAT] [OOS, Customs] Tomatot Debloater 4.1 (+++Battery, RAM, Privacy) - OnePlus 6 & 6T Cross Device Development

Hello guys,
Introduction
Today is my first step in the android development world. And I'm starting with something very little. I've created this tool for myself but I thought I could share it, as it could be useful to you as well and you could help me to improve it.
Big announcements
1) Officially supported custom ROMs:
-OmniRom
-LiquidRemix
-Skydragon
-ArrowOS
-AEX
What can you expect from flashing my script?
I think my script is interesting because its utility is completely complementary with a custom ROM or kernel: what it does has nothing to do with the kernel, so it doesn't interfere at all. And it's concrete stuff, not some supposed-to-be optimization where you're not even sure it's going to do something. I'm usually not a huge fan of these apps / modules.
-You'll get more privacy: I've removed Qualcomm telemetry, OnePlus telemetry as well as some Google Telemetry (but you can't expect too much as long as you use gapps)
-You'll get better battery life: less apps running in the background, less wakelocks, less services communicating with servers to send telemetry.
-You'll get better performance: for the same reasons. Don't expect a huge difference as our phone is very smooth already.
-The feeling of having a clean device. And this has no price.
As a proof, see this (both screenshots were taken after a fresh boot):
Extreme script:
https://imgur.com/2O47su8
19 system apps running, for a total of of 31 services running. I'm not counting Google Play services as the number of services running keep changing.
No script:
https://imgur.com/E5cEr7P
36 apps running, for a total of 60 services running! I find the difference quite huge.
What does it do?
The point is to be very very basic. Obviously I don't intend to to share something as powerful and exhaustive as xXx. My objective is to only focus on bloatwares, not features.
Also, I wanted to make a script simple enough so anybody can use it, understand it and modify it depending on your needs.
I think I can call myself a flasholoic, as I flash ROMs quite often, even when I'm happy with the current one. There are many time consuming and boring tasks when it comes to clean flash a new ROM. However, for most of them, there's a solution. For example, Titanium Backup, to mention just one.
With this script, you'll be able to skip the very boring process of removing/freezing all the system apps you don't use.
You can use this script with no worries whenever you flash your new ROM.
Why don't i Freeze apps instead of removing them?
Ideally, I would prefer to only freeze apps so the setup can stick after an update or a dirty flash, however, I don't know how to do it from recovery. Freezing works with the command from package manager "pm disable {package_name}", however, it's only available when the phone is running.
What version should I install?
-Invisible script: Install it, enjoy. I basically removed only apps related to telemetry or that don't have any function. You should still have all the apps you're using and all the features you like.
-Light Script: Invisible + apps that I consider rarely use (because they're useless or because alternatives are much popular). It should fit to 80% people without any change to make.
-Extreme script: Invisible + light + a few Google Apps (most of them can be reinstalled) and features that are not absolutely necessary but useful for some people, like face unlock for example. I wouldn't recommend it to anyone who hasn't check the .txt file first. The light script is almost as good anyway.
How to Install?
Simply reboot to TWRP, flash the zip, reboot and enjoy.
If this doesn't work, you can try three different things:
-Try to use blu spark Recovery instead of other ones.
-Try to mount system in recovery before flashing my .zip.
-Try to install Magisk and this module: https://github.com/Magisk-Modules-Repo/busybox-ndk
-Try to install the script on both slots
At least one of these options should fix things for you.
Known incompatibilities
-If the script doesn't do anything, check installing instructions.
-If an app keeps force closing when you try to open it (for example the Google app, gmail, amazon, etc.), it's because you don't have any webview selected. You can select one in the developer settings and if you don't have any you can install one from the play store (Android System Webview).
-If some apps are remaining, it's because it's system apps you updated and they became user apps. You can just uninstall them like any other user apps and it will completely disappear.
-If an app that is included in the script freezes, but it's also available in the playstore, uninstall it with Titanium Backup, reboot and reinstall the app from play store.
-If you're using substratum, you must edit my script and remove this line: "/system/system/app/OpSkin",
-If your bank app doesn't work, you can try to add back Stk (sim toolkit), as the app helps for authentication.
-In general, search this thread if you want more details / understand why.
F.A.Q.
-I don't want to use this debloater anymore or it broke something I miss, how can I go back to normal?
=> Dirty flash your current setup (ROM, twrp, reboot to twrp, magisk, kernel, anything else you want)
-Does this script work for X or Y ROM? Can you make a debloater for X or Y ROM?
=> If you understand how my tool work, then you will understand that my scripts can potentially work on any ROMs, but each ROM has its specific apps so some bloatware won't be removed, most likely. I won't support any new ROM except if I end up trying it myself. I prefer to avoid to create new scripts blindly especially if I've never experienced the ROM.
-I flashed your deblaoter and now some apps keep force closing
=> "If an app keeps force closing when you try to open it (for example the Google app, gmail, amazon, etc.), it's because you don't have any webview selected. You can select one in the developer settings and if you don't have any you can install one from the play store (Android System Webview)."
Where can I get more info?
Check the .txt file in the download section. It lists all the apps included in the different scripts AND all the apps not included (so you can see what apps you want to potentially add, it's much easier to work like that)
How are the apps sorted in the .txt file?
-First, by categories (each category starting with #) (invisible, light, extreme, etc.)
-Then, they're sorted by their type (reserve / app / priv-app / other)
-Then, simply by alphabetic order.
-At the end of the document file, there are some explanations about some apps that can sound... mysterious about whether it's safe or not to delete them.
How to edit the script and make it work? (TUTORIAL)
Prerequisites
-Root (ideal but not mandatory)
-File manager (ideal but not mandatory, I recommend Amaze https://play.google.com/store/apps/details?id=com.amaze.filemanager&hl=en_AU )
-TWRP
Then you have two alternatives
a) Use your computer (Windows): you will need Zip Builder https://forum.xda-developers.com/an...g/tool-zip-builder-v4-2-1-build-sign-t3739556
b) Use your phone: then you will need MiXplorer ( https://forum.xda-developers.com/showthread.php?t=1523691 )
Steps to follow
1) Download my script.
2) Unzip it. Browse to META-INF\com\google\android and open "updater-script" in a notepad. (I'd recommend you notepad++ ( https://notepad-plus-plus.org/download/ )
3) Add some apps you want to delete, or remove the apps you want to keep. To see what apps are on your device, use a file manager that can use root and check the apps you have in /system/app and system/priv-app. The priv-app are usually more sensitive so be cautious with them.
4) Don't forget that on every line, you need a comma at the end, except for the last app of the list.
5) You don't need to touch any other lines, except if you want to have fun and change what TWRP will display: it's the lines with
Code:
ui_print("")
6) Save your file.
7) a) Windows alternative. Follow instructions to install properly Zip Builder. Then shift + right click on the parent folder of the META-INF folder and click on "Build Zip...". If Zip Builder is set up properly, you will see the option I just mentioned. You can also open the program and browse to the parent folder where META-INF is.
Copy the .zip to your phone and you're good to go!
7) b) Android alternative: Install MiXplorer. Long press on the META-INF folder. Confirm the creation of the archive, pick the name you want and make sure that "store" is selected, below "zip". Then select the newly created zip, and click on the "Sign" option. Choose Testkey. It will create yourzip-signed.zip. That's the file you need to flash in TWRP.
8) Flash in TWRP
Let me know if you need any help or if something is not clear to you.
Downloads, risks, credits, Information
Where to download?
Check the attachments!
What are the risks, or why is it actually pretty safe to use it?
1) If you use my scripts, as I've tried all builds, I can assure you in the worst scenario you will loose a few features you might have wanted to keep.
2) If you try to make your own script:
a) You misspell a system folder: (it's case sensitive, careful): well the script will just ignore it and try to remove a folder which doesn't exist, so no consequence at all, just a useless line in your script.
b) you mess up with how you're meant to write the script: for example, you forget a comma or you leave it on the line of the last app you want to delete. Well, no worries, TWRP will just not flash the script so nothing happens. Just check your code to find the mistake.
c) Your script is fine but delete a core app that the system needs. Again, no worries! You will bootloop. In this case, you need to dirty flash your current setup (for example, flash OOS, flash TWRP, reboot to recovery, flash Magisk, flash your favorite kernel, reboot). Then you can try to find the culprit in your code, remove it, and try again your script.
Just in case, you know the XDA saying: "flash at your own risk!"
Credits!
First of all, I'd like to credit @Primokorn for his tutorial which helped me a lot. Basically everything in my script I owe him. I've just made it even more simple and focused on only debloating. Also, and obviously, it's adapted for our OnePlus 6. Right now, it's optimized for OOS 9.0.3, but depending on how the project evolves and how popular it will get, I could make "special editions" for open betas as well as AOSP ROMs.
I would also like to thank @TKruzze for his amazing tool "Zip Builder", which makes me save a lot of time everytime I want to try / build a new script.
Thanks to @Zios01 for inspiring me about "optimizing" OOS.
Information
"Tomatot- Debloater"
Contributors
@Tomatot-
Source Code: everything is in the zip.
Created 2018-11-20
Last Updated 2019-12-23

Changelog
Tomatot Debloater 4.1 for OOS
-REMOVED FROM THE SCRIPT:
Light:
TeleService (necessary for some operators)
Extreme:
SdCardService (necessary for file managers)
ModuleMetadataGooglePrebuilt (necesary for permissions)
Tomatot Debloater 4.0 for OOS
REMOVED/CHANGED :
- All folders (and there are lots of them) that don't exist anymore (usually they got moved to another path)
ADDED
- "/data/india/india.img"; (let me know if it works)
- A few new apps that are most likely useless.
Previous updates:
Tomatot Debloater 3.3
-All apps in /reserve are now deleted in the invisible script. If new apps are added by OP, they'll be automatically deleted as I added the whole folder (you can check the script to understand). Thanks to @nirogu325 for the idea!
-Moved DiracManager to the light script since some people like using it.
-Added OPWidget, it seems to be a new app added by OP
-Added OPWallpaperResources to the extreme script as I'm not sure what it does
-Removed OPSimContacts since it breaks the OP phone app.
Tomatot Debloater 3.2
-Added amazon apps hidden in /vendor/etc/apps
-Removed Rftoolkit on the Omni script
Thanks to @bojiokia and @nirogu325 for pointing me out they existed and that they were on all devices.
Tomatot Debloater 3.1.1
Thanks to @nirogu325 for his help to figure out how to mount /vendor and how to remove Rftoolkit properly
Removed also a folder that doesn't exist (LiveWallpapers)
Tomatot Debloater 3.1
I have decided to only use " run_program("/sbin/mount", "/system"); " to mount system from now on. It seems to be the most reliable / universal way to do so.
The Omni update has no change except I switched to the new mounting way.
### New entries for Invisible Script
OPCommonLogTool
Traceur
Rftoolkit
### New entries for Light Script
ARCore_stub
CarrierDefaultApp
CtsShimPrebuilt
CtsShimPrivPrebuilt
### New entries for Extreme Script
LiveWallpapersPicker
LiveWallpapers
OPSafe
SdCardService
uimremoteclient
WAPPushManager
DocumentsUI
IFAAService
OnePlusGallery
VpnDialogs
Tomatot Debloater 3.0
-All main scripts that are up to date are now 3.0 for a purpose of clarity.
-Except the LiquidRemix script, no apps have been added/removed from the scripts.
-Omni/Liquid/Skydragon have a similar level of debloating.
-Since a lot of users reported issues of the script not working, I figured out it was because for some reasons some recoveries don't execute busybox commands properly. I switched to edify commands. The main benefit is that it should work for everyone 100% of the time. The disadvantage is that it won't work for other devices. It might be the same path for the 6T but I need people to check. For other devices it won't work 100%. What you can try however, is to mount system before flashing. It should make the script work.
OOS 2.5.2
-Removed DeskClock as it's the clock app that a lot of people need. I thought it was the widget, my bad.
OOS 2.5.1
-Removed WebViewStub from all scripts since it may affect the webview selecting setting.
OOS 2.5
-Added BluetoothMidiService to the extreme script because 99% people won't use it (check Google to check what it is)
-Added ProxyHandler for the same reason
-Added ManagedProvisioning for the same reason, in the light script. ( Work Profile Setup apk. It's useless for most people. Obviously don't delete it if your company gave you this phone, but then you shouldn't flash it in the first place! )
OOS 2.4
-Removed a few useless lines in the script.
-Cleaned up the .txt file, now all packages explained are sorted alphabetically.
-Moved CNEService to the extreme script as it breaks wifi calls.
-Moved HotwordEnrollmentXGoogleWCD9340 to the extreme script as it might break OK Google.
-Moved WebViewStub to the invisible script
-Added YouTube to the light script as it doesn't break YT Vanced.
-Added Chrome to the extreme script. Don't forget to have a working/activated webview!
OOS 2.3
HotwordEnrollmentXGoogleWCD9340 : moved to extreme as it breaks ok google
EmergencyInfo : moved to extreme as it could break double press power button to open camera
datastatusnotification : moved to extreme as it allows the system to cap data.
Added DeskClock to the light script
Added WebViewStub to the light script
OOS 2.2.1 / custom 1.2
-Unified numbers for all OOS sripts / all custom ROMs scripts so it's just easier to follow / maintain.
-OOS: moved OPBackup to the extreme script as it breaks system updates. It doesn't matter since if you have Magisk and TWRP you can't update via OTA but some people like having all settings working so... Now with the light script you shouldn't have any "broken" feature.
-Custom: removed DocumentsUI so it's possible to access external storage.
v2.2
-Removed Chrome from the script as it can break webview. There is not reliable fix as Android system struggles to properly select "Android System Webview". Feel free to freeze or uninstall Chrome as long as you update android system webview and make sure it's selected in developer settings.
-Put back Gmail2 in the script as now installing it as a user app shouldn't break the app anymore.
-Now the script should be completely bug free.
-if you had issues with gmail, dirty flash your current setup first.
v2.1
-Fixed a broken setting on ALL scripts, see this for more info: https://forum.xda-developers.com/showpost.php?p=78287566&postcount=103
-Added setup apps to the light script as I intended in the first place
-If you come from an older script, you should dirty flash your current setup again because otherwise the broken setting won't come back. Sorry for the mistake.
v2.0.2
-Fixed OPFilemanager on light and extreme scripts.
v2.0.1
-Fixed a few mistakes I wrote, extreme script will work now.
v2.0
-Completely resorted the apps so it makes more sense. I have a little more hindsight and for most apps I actually know what they do and if it's dangerous to remove them or not. Hence, the extreme script hasn't changed but the light is significantly different. It will remove more useless apps but not remove apps that most users use. A bit smarter I'd say.
-And I would like to introduce you the invisible script, the ones who really can't deal with making sure the script works for them, they just want to make their phone lighter. Easy peasy, hassle free.
-To see how I resorted apps, please check "List of systems apps SORTED & EXPLAINED v2.0.txt" or just have a look at the end of this post.
v1.8.1
-Removed Rftoolkit as it's a vendor app and I can't make it disappear for some reasons. I'd recommend you to freeze the app.
-Removed "datastatusnotification" as it's necessary to keep track on data usage.
v1.8
-Only the extreme script is updated
-Added a few more apps, including OPSes which sens telemetry I think. I couldn't find anything explaining exactly what it does but I've been running my script for some time now and 0 issue.
-Here is the list:
Code:
"/system/system/app/OPSesAuthentication",
"/system/system/app/SeempService",
"/system/vendor/app/Rftoolkit",
-Yes, changelogs are shorter and shorter
-However, 92 apps included now!
v1.7.2
-Added Music2 to both scripts.
v1.7.1
-Removed from the script OPAppCategoryProvider as it was breaking battery stats.
v1.7
-Only uploaded the extreme version as it's experimental and the light version would be the same
-I'm trying a few more apps that seem useles, but I need more feedback. Some telemetry from Qualcomm should be gone as well.
-Here are the new apps
Code:
"/system/system/priv-app/OnePlusWizard",
"/system/system/app/AutoRegistration",
"/system/system/app/datastatusnotification",
"/system/system/app/PlayAutoInstallConfig",
"/system/system/app/RFTuner",
"/system/system/priv-app/OPAppCategoryProvider",
v1.6
-Added more apps in both scripts
-Now the light script includes this category " #APPS THAT CAN BE FOUND ON PLAY STORE" as you can reinstall them very easily (and you won't even loose them if you updated them once).
-Expect more privacy as I've deleted more telemetry from both OP and Qualcomm.
-Documentation updated
-Here is the list
Code:
"/system/system/app/GoogleContactsSyncAdapter",
"/system/system/app/OpSkin",
"/system/system/app/HTMLViewer",
"/system/system/app/uimremoteclient",
"/system/system/priv-app/CallLogBackup",
"/system/system/priv-app/CNEService",
"/system/system/priv-app/OPAod",
"/system/system/priv-app/SharedStorageBackup",
v1.5
-Fixed a few entries as they were not written properly. So some apps that were already included will actually be removed this time. Thanks to @zyvex_14 for his help and support.
-I've added these apps that can be safely removed.
Code:
"/system/system/app/Account",
"/system/system/app/QdcmFF",
"/system/system/app/WapiCertManage",
"/system/system/priv-app/DiracAudioControlService",
"/system/system/priv-app/OPCellBroadcastReceiver",
-As always, I've updated the advanced documentation.
-You can now download a .txt file with all the documentation: all system apps are sorted and the shady ones are explained.
Now, Tomatot Debloater Extreme v1.5 removes 72 apps and your device still runs perfectly, if not better
Tomatot Debloater Light v1.5 42 apps and you basically don't loose any feature
v1.4
-Quite satisfying build: I feel like the script is almost final.
-Here are the new lines I added, to the different versions.
"/system/system/app/OPBackup",
Code:
"/system/system/priv-app/BackupRestoreConfirmation",
"/system/system/priv-app/Tag",
"/system/system/priv-app/OPFaceUnlock",
"/system/system/priv-app/EmergencyInfo",
"/system/system/priv-app/Turbo",
v1.3
I forgot to update the scripts when they're flashed so TWRP will display "v1.2 when it's actually v1.3, so no worries
-Merged with xXx all the apps where I was sure they could be removed without risks. Still some apps I need to sort out.
-Now I have 2 scripts
LIGHT = SAFE TO DELETE FOR ALMOST EVERYONE + APPS THAT CAN BE FOUND ON PLAY STORE (they will just become user apps if you updated them at least once)
EXTREME= SAFE TO DELETE FOR ALMOST EVERYONE + APPS THAT CAN BE FOUND ON PLAY STORE + SAFE TO DELETE IF YOU USE ALTERNATIVE APPS OR JUST DON'T NEED THE APP + EXPERIMENTAL STUFF SOMETIMES
To see their content, check advanced documentation.
v1.2
-Added OP user apps (that you can uninstall without root when to flash a new ROM). I didn't think of them at first because they're easy to remove and once you do, they don't come back after you reinstall the ROM. However, with the script, they will leave the system partition for good, which is cleaner. And it will be useful for people who didn't delete them already.
-Removed "usb_drivers.iso." it's what makes the windows explorer show the OP6 as a CDROM when you plug it to your computer. So you can have access to drivers. It's pretty useless except for the first time you plug your phone to your computer. And still, there are plenty other ways to install drivers.
-I've updated the list of the apps in the first post.
v1.1
-Fixed the "card" app.
v1
-Initial release

Works like a charm for me, many thanks.
I just had to edit your file for the "card" app, + few others lines I deleted to keep some apps I use, such as 'Duo'.
In your file, it is written "Card", but my app was named 'card' and apparently the C in capital letter makes it not work (for this app specifically).

zyvex_14 said:
Works like a charm for me, many thanks.
I just had to edit your file for the "card" app, + few others lines I deleted to keep some apps I use, such as 'Duo'.
In your file, it is written "Card", but my app was named 'card' and apparently the C in capital letter makes it not work (for this app specifically).
Click to expand...
Click to collapse
Wow, you're already a pro! Well done mate. I don't know if it was your experience with editing a script but if it is, I'm glad my my guide makes sense and that some users already benefit from it. And thank you for pointing out my mistake.
I'm uploading a 1.1 update with the fix.
Don't forget to flash again your script if you update your ROM.

First time I manipulated and edited this kind of file, so many thanks for your tuto, very helpful in my case.
Just one additionnal question, is there somewhere a list of all bloatwares that can be safely removed? Or is your list exhaustive for our OP6?

zyvex_14 said:
First time I manipulated and edited this kind of file, so many thanks for your tuto, very helpful in my case.
Just one additionnal question, is there somewhere a list of all bloatwares that can be safely removed? Or is your list exhaustive for our OP6?
Click to expand...
Click to collapse
Humm usually on different when you search for it on Google, you find threads that explain what services to disable, but 99% of the time they're also device specific.
I've never found a universal list with all the bloatware common to all Android phones. If you have a doubt about an app in particular, google it and you'll have your answer. However, what I've found out trying different scripts is that there are some apps i can freeze without any consequences, whereas if I try to delete them with my script, the phone will end up in a bootloop.
Unfortunately, this project is very recent for me and I didn't do any exhaustive testing so I don't know exactly what apps were breaking my script.
Ideally, i'd have to create another script that bring back the apps I remove so I can try one by one and see which apps are safe to remove. Because right now, everytime, flashing back OOS, rebooting to make sure it works, then going back, flashing my script, checking again, etc. it takes a lot of time so it will take some time before I can be more accurate.
At least right now I have a good base of what apps I'm sure I can remove.
Now when I'll have enough time I could try one by one to delete apps and see how it goes. I just to find a way to not have to reflash the whole system every time.
If anyone has a suggestion he's welcome!
I'd say that @Zios01 knows a lot about the topic since he probably tried himself what apps are safe to debloat.
You can read his script as well to see what apps he removes and you can assume it's safe to add them to my script.

I perfectly understand that you can't try one-by-one all of them, it gonna turn you crazy otherwise to flash-reboot-check and so on...
As you wrote, this is a good start and a good base, let's see also if someone has more experience with the others apps/bloatwares.
Anyway, thanks again for your answers and contact provided, I will try to find his script as well.

zyvex_14 said:
I perfectly understand that you can't try one-by-one all of them, it gonna turn you crazy otherwise to flash-reboot-check and so on...
As you wrote, this is a good start and a good base, let's see also if someone has more experience with the others apps/bloatwares.
Anyway, thanks again for your answers and contact provided, I will try to find his script as well.
Click to expand...
Click to collapse
Here it is.
I had to add the .txt extension to upload it. Also, I changed the name so it won't work. It's just for "science".
You will see he doesn't use the same "language" at all, and it's way more complicated than my script. However, it's not hard to spot the apps he's referring to.
Btw, as I already said, the good thing with this script is that it will ignore errors. So if you add a line to your current script, you can flash it and it will just remove the one app you added. You don't have to make an entire new file for your v2.

OK, so I added several lines based on XxX script.
I did a reboot and no bootloop, that is already a good point .
Now I am going to test my phone and if everything works ok and still flawless, I will share my file.

zyvex_14 said:
OK, so I added several lines based on XxX script.
I did a reboot and no bootloop, that is already a good point .
Now I am going to test my phone and if everything works ok and still flawless, I will share my file.
Click to expand...
Click to collapse
When I did my little experiments and I was deleting the wrong files, it was just not booting, stucking on OnePlus logo. Just once it booted, but shut down immediately and took me to recovery.
So you should be fine. But yeah maybe only after a week or something we'll find out that a tiny but sometimes useful feature doesn't work.

Thanks for your work! I would suggest using Magisk if possible as the changes aren't permanent. Except if you want to achieve that it's permanent

Tomatot- said:
When I did my little experiments and I was deleting the wrong files, it was just not booting, stucking on OnePlus logo. Just once it booted, but shut down immediately and took me to recovery.
So you should be fine. But yeah maybe only after a week or something we'll find out that a tiny but sometimes useful feature doesn't work.
Click to expand...
Click to collapse
Indded, that is what I worry about, that everything looks fine and finally after some days (maybe earlier :crying something doesn't work like it should be.
That is why I would like to test prior sharing my file.

Macusercom said:
Thanks for your work! I would suggest using Magisk if possible as the changes aren't permanent. Except if you want to achieve that it's permanent
Click to expand...
Click to collapse
It does sound like a good idea! I will investigate this possibility and let you know. I'm not sure I have enough knowledge and experience.

https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163
So I've found this Magisk Module which seems quite impressive tbh. It seems quite easy to use and safe as well. It's honestly way more advanced than my script.
But at the same time, I feel like it doesn't do much more than a classic freeze with Titanium Backup.
You still have to go every time you install a ROM through all the apps you want to remove. You could write down numbers but it's risky, if you change ROM or even you update your ROM and numbers change, it could mess up everything. So I still think my solution had advantages compared to this Magisk Module.
However, I might use the module to see what apps break the device or not. Then I can improve my script a little. I will also think about making a Magisk Module out of it, but I'm not sure it will make things much better.
My ultimate goal is just to "flash it and forget about it until you flash a new ROM/update". So it wouldn't matter if you can remove it or not.
There are 2 possibilities when using my idea:
1) I (I isn't me, I speak for users in general) am happy with the script, I don't loose any features. So I don't need to touch it. Flashing it once in TWRP isn't a burden at all. Especially since it takes like 2 seconds to flash. Then it's the best solution since, once you have your script you like, you can always keep it.
2) I am happy with the script but I want a few apps back. Sure, having a Magisk module could make things easier as I could just remove the module (considering it has a restore feature), but I would need to edit the module or the script, and then apply it again. It one of the apps break the system and makes the device bootloop, even with a Magisk module, it will be hassle to fix it. It's just more simple to flash the ROM again like I'm doing now.
Now you need to ask yourself this:
1) Do you prefer to have more features at the cost of spending some time setting up your device every time you flash a ROM? Then use Titanium Backup or Terminal Debloater.
2) Do you prefer to take some time once to setup your script properly but then you won't have to care about it for, theoretically, until you get a new device? Then go with my script.
If my script gets some attention, I'm pretty sure within a few weeks I / we will be able to propose enough scripts to make (almost) everybody happy.
Like script 1 extreme debloating
Script 2 medium debloating
Script 3 light debloating
So 99% users are satisfied, and then the pickiest ones can always make their own script since it's very easy to edit my script.
Am I making a point?

What's with the .iso file and /system/reserve?

Tomatot- said:
https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163
If my script gets some attention, I'm pretty sure within a few weeks I / we will be able to propose enough scripts to make (almost) everybody happy.
Like script 1 extreme debloating
Script 2 medium debloating
Script 3 light debloating
I think this will be a great way to debloat to each individual preference. Will be watching this thread for these updates:good:
Click to expand...
Click to collapse

Sh0X31 said:
What's with the .iso file and /system/reserve?
Click to expand...
Click to collapse
I didn't know about /system/reserve, thankj you for sharing. From what I understand, it's the apps that come pre installed but are removable. It seems like once you delete them they don't come.baxk after a dirty flash. However I can remove them so the script is useful after a clean flash. Thanks!
What are you referring to with the .iso though?

Tomatot- said:
I didn't know about /system/reserve, thankj you for sharing. From what I understand, it's the apps that come pre installed but are removable. It seems like once you delete them they don't come.baxk after a dirty flash. However I can remove them so the script is useful after a clean flash. Thanks!
What are you referring to with the .iso though?
Click to expand...
Click to collapse
I mean the usb_driver.iso

Sh0X31 said:
I mean the usb_driver.iso
Click to expand...
Click to collapse
What about it?

Sh0X31 said:
I mean the usb_driver.iso
Click to expand...
Click to collapse
Not sure what it is, but xXx has it available for debloat on his room as well

Related

IHO Poo Remover rev5 - 20110824

Should work for all Optimus V GB ROMs (aosp & IHO variants)
steps to modify:
extract
edit remove.sh script*
zip
sign
*works best in a unix editor. Notepad++ & Windows notepad sometimes screw with shell scripting handles new line something-or-other. In Windows I've used another free app Jedit for editing it and it seems to not give me 'installation aborted' msgs when installing the zip.
IHO Poo Remover rev5 (link updated)
comments on Email.apk: personally, I use it because it not only connects to Exchange servers but Hotmail email/contacts/calendar syncing can be set up directly in account settings with it there. instructions
Pls extract the zip & look at the remove.sh to see what I'm removing because I have my opinions. You can comment out & zip it back up to your tastes. If you have a variant you've made go ahead & post a link to it. Nice to compare what we each prefer.
In regards to ringtones & notifications I remove all but a basic ringtone. You can either add your own into the script- just drop them in the ringtones & notification subfolders or put additional ringtones on your sdcard in a folder made and named 'ringtones'.
Other notes is it removes a bunch of languages & adds a smaller English language.
I left in CMStats because I want Cyanogenmod to know we use it.
Don't know what Pacman.apk is so I have it commented out. May remove it if I figure out what it is.
Source on safe to remove apks and their purpose on Cyanogenmod wiki
rev5-
removed the sqlite tweaks as they didn't really do much on the IHO ROM
added removal of bootsound since it's an annoying idea
That SQLlite binary patch looks interesting. Looked at the source page, and they only have the /system/lib/libsqlite.so included, while your .zip includes /system/bin/sqlite3 too. I don't see a /bin/sqlite3 currently on my phone, what is the 2nd bin for?
jawz101 said:
Don't know what Pacman.apk is so I have it commented out. May remove it if I figure out what it is.
Click to expand...
Click to collapse
Pacman is run one time only. When you first sign into the market. It offers to download all the google apps at once. i.e. Maps, Facebook, Voice, Youtube, etc. I find it useful; since I use most of what pacman offers up. Hope that helps. I'll defiantly have to try poo remover. Love that name BTW.
I guess I left that part out, Whyzor. I'm pretty sure it's useless on its own but among these tweaks is a command that will vacuum the sqlite databases contained on the phone. I guess those that use those scripts would benefit from it most. I may take that piece out since I don't think it's being added completely (maybe not chmoding) because I end up having to run the chmod by hand sometimes. I could be wrong though and it may work.
Anyways, to actually use the sqlite3 you'd need a script like this one from FranciscoFranco, adjusted by mmarz . there's a portion of this script that vacuums the phone's databases. real-world benefits? It's likely negligible at best but I just threw it in there.
If you are ever interested I'd follow anything FranciscoFranco & Ungaze do- they're Optimus One tinkerers but they're obsessed with performance. Really anything they do is applicable to Android in general. Franco's Optimus One ROM is insane (xda) (github source)
I just replaced the /system/lib/libsqlite.so from the source thread you posted, set permission to be same as the other binaries, rebooted. Ran RL Benchmark and got the same, around 93 seconds overall score (using 245-600 ondemand CPU, IHO CM7.1. Are you getting the same performance?
UPDATE: If I overlock to 806 Mhz, was able to drop the overall time to 71 seconds, went back to original libsqlite.so and at the same clock speed, takes about 81 seconds. The performance gain is negligable given the corruption risk (and according to Blarf in the IHO thread, properly written apps won't see much of a benefit anyway).
yeah I'll probably take that out. It gave a noticeable improvement when I ran aosp. May also be that I'm not applying it correctly with this zip.
on aosp the RL Benchmark went from around 80 seconds down to maybe 45 seconds for comparison.
Probably best just have this as purely a bloat remover. Regardless, having it in there isn't messing anything up so this is still safe to use.
First off I love the poo remover. However, every time i edit the script, zip the package back up again, and sign it and then try to apply it the installation keeps getting aborted with CWM.
I have followed the instructions for windows, including using Jedit, and i have even tried with my macbook using a terminal session with pico.
i do sign the zip files also.
should i not include the stock folder META-INF in the altered script?
any help is greatly appreciated
that's usually what gets me is the editor I use to edit it with. I'd assume a macbook would be fine for editing it.
I usually remove these 3 files from the meta-inf folder before resigning as they get regenerated with that signing program (cert.rsa, cert.sf, manifest.mf). I don't know if that would affect anything but I've just been doing that out of habit.
Fortunately we understand what we're trying to do and really the only thing that's hanging it up is whatever the hiccup is.
It came down to making one change at a time until I got install aborted errors to stop
thanks much i will give it a shot
may want to try just unzipping it and rezipping it to see if that works.
Make sure you're zipping up the contents of the iho zip and not the actual folder.
Try it with & w/o signing it. If it works w/o signing it I'd leave that step out just so you can concentrate on editing the remove.sh script.
Possibly use a command line editor if your mac can do that (never used a mac)
issue is with unix line endings vs. windows/mac line endings
just found something if you're using Notepad++ try going to edit- EOL Conversion & switch it to Unix
i will look for another terminal editor and try that too.
i was originally using pico in the terminal.
when i was doing the editing of the remove.sh, i wanted to install the default ringtones and notifications.
do you think the restore that runs at the end of the removal is conflicting with it? I will give everything a shot today and let you know later what happens.
I'd just take those remove lines and audio folder out, put them in that audio folder, or just have a ringtone folder on your SD card
The restore is just adding stuff back
got it working
it was my stupid mistake of zipping the IHO folder and not the contents of the folder
so when i was signing it it created the META-INF folder and a IHO folder
Everything flashed and worked great
thanks again
I was interested in looking at this, but it no longer exists on mediafire. Any chance you can put it back up?
-John
Yeah.I will put it up tomorrow. It's also good to pm on old threads like this
I've been lazy... updated the post with a new link to the file. Sorry... been really slacking lately :/
It's the same poo remover revision5 from before. again, read the stuff at the top if you want to make changes.
I've honestly not been using my script for a long time but it's nice to have around.

[NTG][1.2]GlowNooter 1.12.25

This Nooter is officially supported by The Nooter Project for Nook Simple Touch​
I'm not adding certain things because I don't believe they should be available as part of a rooting kit designed to give users more control of their devices. Things such as additional readers or CPU Clocks are up to the user to install themselves and needlessly putting them in Nooter creates app bloat that a user may or may not want. You can always drop Apps you want into \nooter\data\app and they will install automatically when you root the device. This Nooter is designed with the sole purpose of opening up the possibilities of the device by giving users Root, Google Apps, and other Apps which make the device more usable as an android device than just an e-reader.
What it does:
Enables ADB via uRamdisk
Installs adbWireless
Installs Button Savior
Installs Amazon Marketplace
Installs su and Superuser.apk
Installs ADW + E-ink Friendly Theme
Installs Busybox & Busybox Installer/Uninstaller
Installs Gapps (Gmail, Market, Youtube, Others)
Installs NookColor Tools (To Enable Non-Market Installs)
System Files that get Modified:
/system/build.prop - Enabling Google Check In
packages.xml - Allows Gapps to install properly.
framework.jar - Should allow a proper Android ID to generate.
Changes:
May 26, 2012 - Initial Release
Before you begin:
You must already have a registered Nook Simple Touch Glow
You must have a Gmail/Youtube linked Account. IF you used a Gmail account for B&N Registration you should use that one for this process.
You must either have dd (Linux) or WinImage (Windows) software.
You must have an external microSDCard reader or this will not work. Using the Nook Simple Touch can result in it becoming unusable (bricked).
You must have enough intelligence to follow instructions.
Let's get started:
Download CWM from here: http://forum.xda-developers.com/attachment.php?attachmentid=806435&d=1323121399
Download TouchNooter from here: glownooter-1-12-25.zip - Uploaded
Download eded333's beta5-1XWUMFTouch-PART-2-END from here: http://nooter.googlecode.com/files/beta5-1XWUMFTouch-PART-2-END.zip
Unzip CWM and you'll find an image file you will then need to write this to an SD Card.
Linux: Unzip and use dd if=cwmimagename.img of=/dev/sdcard
Windows: Unzip and use WinImage to "Restore Virtual Hard Disk Image" to your SDcard.
Windows Alternative: https://launchpad.net/win32-image-writer/+download
Power off your Nook Simple Touch.
Insert TouchNooter SDcard into your Nook Simple Touch.
Power on your Nook Simple Touch.
User "n" to select, Left Buttons to go up in the menu, Right Buttons to go down in the menu, Power Button to go back.
Install from zip
Choose zip from sdcard
glownooter-1-5-26.zip
Click Yes and let Complete
Remove SD Card and press Power Button to go back one to main menu
Click Reboot
Upon boot unlock your screen.
At the Android Welcome Screen skip Sign In.
Enable Location Services when given the option.
Connect to Wifi and launch Youtube from ADW's App Drawer (Or the App Drawer of your Choice).
Click the Menu button (The right one in the middle of the status bar).
Select "My Channel" and Login using your Gmail Account.
Exit Youtube and Launch Gmail from ADW's App Drawer.
Sync your Gmail Account and Exit. (If it fails to sync that is fine.)
Power off your Nook Simple Touch.
Insert TouchNooter SDcard into your Nook Simple Touch.
Power on your Nook Simple Touch.
User "n" to select, Left Buttons to go up in the menu, Right Buttons to go down in the menu, Power Button to go back.
Install from zip
Choose zip from sdcard
beta5-1XWUMFTouch-PART-2-END.zip
Click Yes and let Complete
Remove SD Card and press Power Button to go back one to main menu
Click Reboot
Open up Market and Accept Terms and Service.
If you made it this far your nook should be successfully Rooted. Go Download an App to make sure.
Enable Non-Market Installs by running the NookColor Tools App.
If your Youtube fails to launch Uninstall and Reinstall Youtube from /data/app
Go to Settings > Device Info > SdCard > UnMount > Format
Thanks To:
mali100 - For porting CWM to Nook Simple Touch
eded333 - The second zip to fix Market Issues.
MrMuffin - For the original Market Hack that we're using.
If I'm using an app in TouchNooter and you would like Credit/Thanks, or to have it removed, please PM me, otherwise I might not see your requests
Currently Working On: Raspberry Pi Triple Boot System
It works!! Thank you thank you thank you thank you!
It works.
You couldn't have made me day any happier, Your hard work has given me a small tablet that I will use at work for keeping notes and recalling info. I'll be Joe cool with the info.
Thank you for all your hard work, I'll look in my couch and find something to donate.
Anyone experiencing problems accessing settings/screen to change the screesaver Folder?
Sent from my NOOK using xda premium
I have previously rooted using Roustabout's tinynoot. If I decide to do this Nooter, would I have to restore to stock first? (Haven't decided yet, pretty happy as is, but would like to know the options.)
Thanks,
Dude, nice job! Now to go buy a glowlight.
Hi,
Hmm, awesome =), just installed this on my Nook STR Glow.
Two questions
1. What's the best way to get Market searching enabled?
I've heard of installing SearchMarket - however, how do you do that? Do you just find the APK and install it manually?
2. Is it possible to install the Multitouch and NoRefresh patch from here?
http://forum.xda-developers.com/showthread.php?t=1568560
Or is the Glowlight version different enough that these won't work?
Cheers,
Victor
Anybody have trouble with getting the Opera Mini that comes with this to work? It doesn't even open for me. I installed Dolphin Mini and it seems to work ok but I'd like to get Opera working.
Multi-language root
This is great!
Is there a way to add menus and/or keyboard with another language?
xanadu1979 said:
Anybody have trouble with getting the Opera Mini that comes with this to work? It doesn't even open for me. I installed Dolphin Mini and it seems to work ok but I'd like to get Opera working.
Click to expand...
Click to collapse
Try opera mobile, not mini.
@glowco: I'm looking at GD's scripts and the tinynoot scripts right now.
It looks as if I used the same binary (despite the different name) for the
/system/app/Superuser piece (the file sizes and mod dates are identical.)
I used a different release of busybox, though. So the busybox my script installed would be overwritten by the glownoot busybox.
My advice is that if you want to get the google apps working, restore from a nonrooted backup and use this tool. I'm very likely to ignore my advice on my own device and see what happens, but today's not likely the day that's going to happen.
The line in glownooter that does the copy-in is:
package_extract_dir("system/xbin/", "/system/xbin/");
Unless the package_extract_dir command wipes a directory before copying in the file, you'd overwrite busybox at that step but leave the links to it. The links would probably continue to work but if there's an important difference between the two busyboxes, you might find it made trouble in a weird, random way long after you'd forgotten that you'd overlaid one root with another.
The busybox updater/manager might alleviate that issue - not sure what Ed's or GD's take on overlaying one root with another is.
Roustabout, thanks for your reply. I'm not rushing into anything, so if you do decide to try installing this over yours, let us know the results. (I tend to like the easier approach if it works okay.)
Maybe I should take this opportunity to ask an additional question: what will this root let me do that tinynoot didn't, other than run the Market? What additional apps would it allow me to run that would actually run well?
One app I have partially working on tinynoot is Jabiru, a jabber chat client. The basic chat connection works, but the Conference function crashes the session. I doubt this other root would make a difference in something like that?
Thanks.
I just did this and it works great. The only problem I have noticed is that when I am in gtalk and trying to chat I only see the top two rows of keys. Is anyone else getting this or know how to fix it?
Hi,
before to try rooting the nstglowlight, is it possible to make backup with noogie like the normal NST ?
Yes, you can and should boot from a noogie disk and make a whole-device backup before changing things up, just like with the NST.
Assuming that tinynoot used MinimalNooter as a basis for it's design (as is evident by the forum convo) then GlowNooter will run perfectly fine without any issues, however keep in mind that because the package names for files in GlowNooter in /data/app are likely to be different than those in tinynoot you'll end up with multiple copies of things like Amazon market, which doesn't actually affect performance, but can take up more space. So you have two options, the first is to do a fresh install onto a fresh NTG, or you can install this on top of tinynoot and go in and remove the excess files using Super Manager.
Aurtach said:
I just did this and it works great. The only problem I have noticed is that when I am in gtalk and trying to chat I only see the top two rows of keys. Is anyone else getting this or know how to fix it?
Click to expand...
Click to collapse
Using an alternative keyboard could fix it, the major issue is finding an alternative keyboard that is e-ink friendly. This tends to be broken in the app itself, because I have noticed the Google Voice app will do the same exact thing on nook devices.
glowco said:
Maybe I should take this opportunity to ask an additional question: what will this root let me do that tinynoot didn't, other than run the Market? What additional apps would it allow me to run that would actually run well?
One app I have partially working on tinynoot is Jabiru, a jabber chat client. The basic chat connection works, but the Conference function crashes the session. I doubt this other root would make a difference in something like that?
Thanks.
Click to expand...
Click to collapse
The difference between this and tinynoot IS the fact it has Market on it, you can actually go to google.com/play now and install apps to the device. Other than that there is no major difference.
Yeah, folks should understand what tinynoot grew out of: I wanted the smallest set of changes I could make to have a rooted NST usable by me. I almost didn't include the Amazon appstore, but then realized there were things I wanted from it and that it'd be more helpful to others if there was at least something
That's very bare-bones, because I don't use the NST for too much other than reading - I want an rss reader, a non-BN book reader and my contacts (via b-folders, rather than a google account,) and at that point I'm pretty much done. I often install what I want to a fresh device just using adb or pm from a commandline
Gabrial's trying to get the Google market working because so many folks really want it.
Also, I tested tinynoot against an NST last night and was able to root that using it, which is helpful to me.
That said, here are the files tinynoot copies in; it sounds as if the two rooting tools are compatible, which is helpful.
in system:
/system/xbin/busybox
/system/bin/su
/system/app/NookColorTools.apk
/system/app/com.noshufou.android.su.apk
and in /data/app:
ADW.Launcher_v1.3.6_Standalone.apk
Amazon_Appstore-2.1.0.apk
BusyBox_v7.3.apk
Button_Savior_v1.3.1.apk
NookTouchTools_v1.0-beta2.apk
Super_Manager_v2.6.0.apk
adbWireless_v1.4.1.apk
and that's that.

[ATT/VZW/TMO/SPR + more] [De-Bloater / Utility / AROMA ] Ashaman v3.02 04.04.2013

This is a fancy little Aroma Installer you can flash in CWM and choose all the bloatware you want to remove from your system.
Officially supports every Galaxy SIII variant!
There are a few main selections.
Recommended de-bloat will remove everything that is recommended to remove.
Full de-bloat will remove everything that anyone would want to remove without breaking the system.
Individual sections for carrier, ATT, Sprint, Tmobile, Rogers, VZW
Customize de-bloat lets you pick inter-matching between all the sections.
Most of you should choose "Custom". This will show you the lists with Recommended all being selected already and the deeper de-bloat apps being unselected. You can modify as you see fit.
Please take note, you can "flash" this in CWM and it will do nothing until you make your selections and then tell it to. So you can safely flash it, go to custom and peruse around at all the apps it can remove. If you want to do nothing simply bring up the menu and quit the installer.
HOW TO USE:
*Note, this will wipe cache and dalvik-cache for you so you don't have to
Boot into recovery, from power off [hold vol.up + Home + power] until phone vibrates then release
Select Custom to modify selections of what is removed
click "de-bloat" button
thats it
Aroma oddities
*the color is off, not showing red it seems, everything is still perfectly viewable but just an FYI so you don't think it's your screen.
*scrolling and/or touch can be finnicky at times. No matter where you are volume keys can be used to scroll around, the back and menu keys function as expected and home or power buttons can be used to select.
Download Ashaman v3.02
New Feature
This will now ask if you would like to install the universal search enabled GoogleQuickSearchBox. Basically if you have flashed a new stock rom the universal search feature of the GoogleQuickSearch Box has been removed. If you select yes for this option, the original GoogleQuickSearchBox.apk will be installed that still retains the universal search feature.​
Feedback: Please let me know if you would like more apps added to the recommended or full list. I've only added things so far that are really safe to delete. Worked off the intl thread spreadsheet of what is safe etc. but obviously made some of my own decisions for the att stuff.
Changelog:
Code:
[B][U]v3.02 20140404[/U][/B]
--More 4.3 bloat vanquished
[B][U]v3.00 20140401[/U][/B]
--Updated for 4.3 bloat
[B][U]v2.30 20130307[/U][/B]
--Added more samsung services removal
[B][U]v2.20 20121205[/U][/B]
--Added SamsungTTS to removal with voicetalk
--Updated support for ATT and TMO 4.1.1 JB releases
[B][U]v2.10 20121117[/U][/B]
--Minor bug fix release
[B][U]v2.00 20121112[/U][/B]
--Added a bunch of options from Intl GS3 dump
--Updated Aroma fm to 1.80, new terminal emulator!
[B][U]v1.19 20121022[/U][/B]
--Add option to remove tmo zynga, new in LJ4 Firmware
[B][U]v1.18 20121007[/U][/B]
--Updated aroma to v2.56
--Updated aroma fm to v1.21
[B][U]v1.17 20120930[/U][/B]
-- Added MediaUploader removal
-- Added stock musicplayer removal
-- Misc little tweaks
-- Added install option for universal search enabled GoogleQuickSearchBox
[B][U]v1.16 20120831[/U][/B]
-- Added Bell specific section
-- Other minor adjustments
[B][U]v1.15 20120713[/U][/B]
-- Fixed bug causing anything outside of recommended and deeper to not be correct
[U][B]v1.14 20120713[/B][/U]
-- Add VZW specific section
-- Add rogers specific section
[U][B]v1.13 20120708[/B][/U]
-- Re-arranged into device specific sections
-- Added dropbox removal as its a system app for anyone but ATT
-- Added sprint specific and tmo specific files and sections
[U][B]v1.12 20120703[/B][/U]
-- Fixed removing AllshareDMC bug (select allshare again to remove it)
-- Added removal of software update service
-- Added removal of samsung account/service
-- More files get removed when selecting SysScope
[U][B]v1.11 20120701[/B][/U]
-- Added SysScope removal
[B][U]v1.00 20120626[/U][/B]
-- Added some live wallpapers to optionally remove
-- removing yahoo news I now also remove topicwall as it will FC without it
[B][U]v0.90 20120625[/U][/B]
-- Nothing has changed, just created
-- Initial Release...
Thanks! Did you get an S3, or are you just being nice to us?
I have s3. Didn't move to it yet from my aokp gs2 (that runs so well there is no rush) but probably will this week. at least until the next nexus.
mrRobinson said:
I have s3. Didn't move to it yet from my aokp gs2 (that runs so well there is no rush) but probably will this week. at least until the next nexus.
Click to expand...
Click to collapse
Sweet - I got everything moved over, but I'm still updating the gs2 as a backup and because I just can't give up Task and ktoons... Got a sim adapter already just in case
Well there have been 13 downloads. I guess everyone so far is happy with what is being removed. I can add a few more things to the "full". More live wallpapers, things that can be easily gotten from market don't need to be included as a system app etc. (like flipboard)
Is there a list somewhere that says what is actually removed on each of the 3 settings?
No... I have on my desktop but in an app not easily pasted in here. If you flash this and choose the custom option you will see everything broken down. the recommended section will list everything removed if you just selected recommended and then the full section is what is added if you select full. Being in the custom section you can add/remove whichever. if you want to do nothing just hit the menu key and quit installation, nothing will get removed.
Updated Ashaman v1.00
Download Ashaman v1.00
changelog in the OP
Thanks for this!
Ok, finally had a chance to try it (it's been a busy week) - did the custom option, and while it said it was removing everything I picked, some are gone and some are still there. I didn't go through item by item, but ChatOn is still there and Kies Air at least - the clocks are gone, AT&T Navigator, some others. Tried it twice. Anything I can do to troubleshoot? I can go through the list and write 'em down if it will help.
did you install any of the roms or still stock? I've used it twice myself with no issues did recommended plus a few other. nandroid back and tried again.
can you get adb shell onto your device?
then cd to /system/app do an ls and paste what is left in here?
or maybe for one left confirm exact name of apk and odex.
mrRobinson said:
did you install any of the roms or still stock? I've used it twice myself with no issues did recommended plus a few other. nandroid back and tried again.
can you get adb shell onto your device?
then cd to /system/app do an ls and paste what is left in here?
or maybe for one left confirm exact name of apk and odex.
Click to expand...
Click to collapse
It's still stock, just rooted. I can't do adb right now (stuck working) but I'll give it a shot tomorrow when things should be more sane. I did look in the /system/app with ES file explorer, and Chaton isn't there (nor anything with that kind of name). I can always freeze it, I just liked this answer better
if they aren't in /system/app then they are gone...
are they showing up in the app drawer or just you still see homescreen icons?
if it is just the homescreen icons just go ahead and remove those(long press).
mrRobinson said:
if they aren't in /system/app then they are gone...
are they showing up in the app drawer or just you still see homescreen icons?
if it is just the homescreen icons just go ahead and remove those(long press).
Click to expand...
Click to collapse
The only one I tried (ChatOn) is still in a folder in the app drawer (Nova Launcher) and when I tap it, it runs...
EDIT: oh, and it still shows in TiBu
Thank you
Thanks.
alacrify said:
The only one I tried (ChatOn) is still in a folder in the app drawer (Nova Launcher) and when I tap it, it runs...
EDIT: oh, and it still shows in TiBu
Click to expand...
Click to collapse
Ok that's just weird. is it in data/app then? if it isn't in system/app I can't see how its installed still unless it is in data/app.
mrRobinson said:
Ok that's just weird. is it in data/app then? if it isn't in system/app I can't see how its installed still unless it is in data/app.
Click to expand...
Click to collapse
Yeah, ChatOn, and the other ones that didn't go away, are in /data/app. Did I do something screwy that moved them?
no you probably just updated everything from play market. since it can't write to /system even when an installed system app is updated it has to install the updates into /data partition.
so any system app that had an update from the play store was then also in data. best bet is to manually uninstall those now. you can normally since they are no longer system apps. I'd add to my script but it'd be hard to track down the names, instead of ChatON.apk it'd be something like com.google.android.chaton-1.apk or some such weirdness.
and you don't even need root to remove data apps anyway.
mrRobinson said:
no you probably just updated everything from play market. since it can't write to /system even when an installed system app is updated it has to install the updates into /data partition.
so any system app that had an update from the play store was then also in data. best bet is to manually uninstall those now. you can normally since they are no longer system apps. I'd add to my script but it'd be hard to track down the names, instead of ChatON.apk it'd be something like com.google.android.chaton-1.apk or some such weirdness.
and you don't even need root to remove data apps anyway.
Click to expand...
Click to collapse
Cool, thanks - that explains it. And I can certainly freeze or remove them myself - I'm just so used to having your AROMA installers around to do all my work with Task's ROM for me I was ready to jump right back in
Worked Great!
Worked Great! Thank you!

Link2SD & CM11: Optimal Strategies

I am super-curious if & how anyone here is using Link2SD successfully with CM11 (on the Epic 4G, specifically).
I've tried scouring these forums, and the Internet in general, to figure out the best way to get this to work...
But everything that I've tried, it all seems to be working great, only up until the first time that the phone reboots, then it all goes to hell.
I am wondering if there are any extra steps to follow, specifically for the Epic 4G, or any particular pitfalls known to avoid?
That's why I wanted to ask here, specifically to Epic 4G users...
If you are getting Link2SD to work well with CM11, then please chime in here, and can you explain how you got it all set up and working well?
(I feel like this is the one last thing that if I could conquer it, then I could really continue to get a lot of life out of this phone... as it stands, it seems too risky to put much faith in Link2SD, because if the phone happens to spontaneously reboot while I'm out running around, then I'm screwed because so many apps just disappear, and then it's a pain to re-download, re-install, and re-setup each of them...)
Thanks in advance for any help,
AS
I am using Link2SD on my Epic 4G with CM11 with some success. I just did a reboot, and as usual lost any icons that had links created in Link2SD, so I go to the app locker & re-add them to my home screen. This is typical of what happens on a reboot for me. One thing I did notice is that it takes a minute or so for the deleted app icons to show up in the app locker again, so if you are reinstalling them, it may be a matter of waiting for them to show back up. Also on occasion(not this time), Link2SD will prompt me about a problem with the links and then prompt me to reinitiate the partition or something to that affect. Once I do that and it reboots, the app icons are still gone, so I just re-add them. Anyway, I know its not a perfect solution, but with this device its better than running out of RAM. One last thing, needless to say, I only create links for enough apps to free up enough RAM to keep my Epic working properly.
I've finally got a system going that seems to work for me, and so I thought I'd share some things.
I'm on CM11 (as of today, cm-11-20140602-NIGHTLY-epicmtd.zip) and I'm using Link2SD.
HERE'S A "GOTCHA" THAT HAD ME PULLING MY HAIR OUT FOR AT LEAST A DAY OR TWO:
Link2SD was having problems mounting the 2nd partition - it would just say "Mount script cannot be created." or something like that (not a very helpful error message), no matter how many times I rebooted and tried again. What I *finally* figured out (somehow), was that this error was being caused by /system being completely full. When I went and deleted a few things from /system (such as goofy wallpapers or that 'Apollo' app that I never use), then Link2SD was able to successfully create the script, and then I'd reboot and could use the 2nd partition successfully.
It's still a little aggravating that any reboot of the phone will cause all of my "Linked" apps to disappear - I've played with this until I am blue in the face, and have resigned myself to accepting that this is just "how it is" (?) - but I'm now using Titanium Backup as my workaround.
STEPS I TAKE WHEN THE PHONE REBOOTS:
1) Go into Link2Sd and make sure the 2nd partition is usable, otherwise recreate mount scripts (deleting wallpapers/Apollo if necessary)
2) Under Link2SD's "More" menu, perform the following:
a) Clean up the 2nd partition
b) Clean up the dalvik-cache
c) Clear all app caches
3) Restore apps from Titanium Backup
a) starting with Facebook app (the biggest hog) and then immediately go and make Facebook a "Linked" app again
b) restore a few more apps (to internal/phone), then go and shuffle those over to "Linked" apps via Link2SD
c) (repeat step 'b' until all apps are restored and "Linked" via Link2SD
^ This is the only way I've been able to get this to work for me... but now I can put about as many apps on the phone as I'll ever possibly need, and I have to say everything is running pretty smoothly now - but if anyone can see a better way, or how to improve what I'm doing, then I'm all ears... please let me (us) know.
Thanks!
Apex launcher doesn't lose the icons. I can free about 66MB of system space by swapping the launcher, deleting CM wallpapers, live wallpaper and Google keyboard.
I verified link2SD plus was not working properly but free link2SD works as advertised. For me, just installing the plus version will break the working functions of the free version. The free version scripts, links and launcher icons survive reboots. The plus version continually lost mount and wouldn't properly clean up the second partition and was not copying the lib files and placing them in the second partition.
Edit: per the developer's request, after verifying free link2SD was setup and surviving reboots, I added plus link2SD and rebooted: OK so far. Next I linked a file with plus version; OK until reboot. The application was not found except in directories. Dalvik cache cleanup finds the dex link and file in second partition as unneeded files. Had to manually delete all the files and links for the broken application and reinstall it. Also had to uninstall plus link2SD to properly link again. Sent the results back to developer.
Sent from my SPH-D700 using Tapatalk
Edit: 6/20/2014; link2SD 3.4.8 fixed the reboot issue for the link2SD Plus version for me. Sent email to developer to thank him for the fix.
See post #8.
Update on my last entry:
I emailed the link2SD developer and got a reply asking me to check the plus version again. In my reply back I linked him to this thread.
Another tip to add for nightly flashers that use link2SD and modify the zip prior to flashing: pull the mount script, 11link2SD, found at /system/etc/init.d and move it same location on zip before flashing. If retaining data, ie: dirty flashing; the mount securely retains your apps after flashing new nightly. Just checked with free version of link2SD: works.
Sent from my SPH-D700 using Tapatalk
Arson Smith said:
I am super-curious if & how anyone here is using Link2SD successfully with CM11 (on the Epic 4G, specifically).
I've tried scouring these forums, and the Internet in general, to figure out the best way to get this to work...
But everything that I've tried, it all seems to be working great, only up until the first time that the phone reboots, then it all goes to hell.
I am wondering if there are any extra steps to follow, specifically for the Epic 4G, or any particular pitfalls known to avoid?
That's why I wanted to ask here, specifically to Epic 4G users...
If you are getting Link2SD to work well with CM11, then please chime in here, and can you explain how you got it all set up and working well?
(I feel like this is the one last thing that if I could conquer it, then I could really continue to get a lot of life out of this phone... as it stands, it seems too risky to put much faith in Link2SD, because if the phone happens to spontaneously reboot while I'm out running around, then I'm screwed because so many apps just disappear, and then it's a pain to re-download, re-install, and re-setup each of them...)
Thanks in advance for any help,
AS
Click to expand...
Click to collapse
I'm using link2SD for all minus 16gb internal android device. Here is what i do in epic 4g, currently on CM11 20140523, use 20131209 gapps. I just write the part involved link2sd :
1. Buy atleast 16gb microSD and class 10 is a must, make 2nd partition (usually about 4gb - 6gb) as ext2 - ext4 (depends on the OS).
2. Device rooted, install titanium backup & root explorer 3.1.3 (make sure the root explorer working). Uninstall system apk (one of the launcher, whisper push, terminal emulator (I prefer use better terminal emulator, install as user app), CM filemanager, etc - still more that can be uninstalled for more space in system.
3. install link2SD, pick ext2 - ext4 (depends), dont restart yet. go to setting, uncheck everything then restart.
4. After back to launcher, open root explorer, go to root/data/, check app & dalvik-cache folder, press copy. Go to sdext2 folder, delete lost&found folder (usually there), and paste. So the app & dalvik-cache folder is there now (you could copy data/data folder too if you really want maximum extra space in internal, but in epic 4g i didn't copy data folder because it's enough space).
5. At the sdext2 folder, long press app folder, select "link to this folder", go to root/data/, press "create link" - "yes". Then go to sdext2 folder again, long press dalvik-cache folder, select "link to this folder", go to root/data/, press "create link" - "yes". Do the same if you copy data/data folder to sdext2 folder.
6. Reboot. Done. Then installing others app or restore with titanium backup.
I hope this is useful. Some Screenshot attached.
Hello
Thanks for that solution.
I`m searching for this solution since 1-2 weeks.
I had the same Problem on xcover 2 Link2SD.
Now it`s clear i have installt Link2SD and works perfect for just 3-4 days then i upgrade to Link2SD plus and then it happend like the Threat above.
I`m wondering that Lin2SD works perfectly on CM11 and if you go to Link2SD plus for money and this don`t work.
Free works perfectly and paid work not.
I have go back and everything its fine.
I hope the autor will fix the problem then i go back to plus.
Thank Thanks Thanks works fine!
regards marle.m
Good news! It appears the link2SD version 3.4.8 released today has a bug fix to survive reboots for linked apps when linking with link2SD plus version.
So far, I've only linked one app with plus version enabled and it survived one reboot. Then Ⓘ linked the data folder and rebooted again which also survived the reboot.
Looks like plus version is fully functional; I'll update if it fails some time later.
Sent from my SPH-D700 using Tapatalk
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Snoshrk said:
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Click to expand...
Click to collapse
I was thinking the gapps could be modified at the updater-script to remove some system bloat. Then remove some bloat from that as well. Most remove their own bloat choices so maybe a diy tut would be more useful?
I agree, the script would make the nightly flashing easier.
Sent from my SPH-D700 using Tapatalk
Just realized that if using Link2SD Plus to multi link all folders of an app to sdext2 after a clean install is still broken, if using intended method. Apps linked this way are missing after reboot.
Working on a safer suggested method that focuses more on removing apps from Gapps but also removing some other system apps after flashing a nightly that requires no modification of the nightly zip on a computer. Have to focus on linking only a minimum amount of apps with free Link2SD considered less risky to move, like larger stand alone apps, not needed tools.
I've got a working script and method that works but the risks to be avoided need to be detailed along with the tut to script and tool your own modified Gapps that minimizes the flash to flashing the nightly as-is and then flashing a custom Gapps that includes preferred launcher and restore methods.
Removing CMWallpapers, Apollo music and Trebuchet launcher. Substituting blacked out Google play. Replacing removed apps with Apex beta test launcher for test group, blacked out Pandora (these will be installed at /data partition where they can be easily uninstalled or updated) I use my own borrowed wallpaper.
Along with the removed bloat from Gapps, this frees a bit more than 40 MB of system space.
Sent from my SPH-D700 using Tapatalk
UPDATE: the latest version of Link2SD (3.5.2) has "fixed the bug that causes linked apps disappear on reboot when internal data is linked".
So... if you've also ponied up the buck or two for Link2SD Plus (as I have), then this finally works again like you'd always hoped it would.
I just loaded a bazillion apps back on the phone, and have been able to reboot multiple times without losing them.
The only time I "lost" them for a moment was after flashing to the latest CM11 nightly, but then doing the "Recreate mount scripts" and reboot brought them right back, with no other shenanigans necessary.
(Just wanted to let people know, because this is such a relief to me now....)
HURRAY!
OK I'm trying this again. Reboots are fine as long as I don't select quick or soft reboots; I lose mount, linked apps not installed.
Now need to try the clean install of nightly.
Snoshrk said:
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Click to expand...
Click to collapse
One possible solution:
more scripts to limit steps
Another possible solution (click link)

Device is Rooted,Still Cannot Remove Bloatware

My device is rooted.
I've read a few other topics regarding this issue, but I'm still confused. As I understand it, using typical uninstall apps such as Titanium or Root Uninstaller do not remove the manufacturer apps from the phone still because of an S feature? I'm new to this process, so please forgive my naive rhetoric. I tried those programs, and as previously stated in other posts, the bloatware comes back.
I installed AROMA file manager to try and manually find the bloatware and delete the physical files, but I can't find the files that I'm looking to delete. I don't mind taking the time and manually deleting these unnecessary files, but, I need some guidance on where to look (or any other viable solutions.)
Thanks for your time!
Download this patch and edit update-binary file what application need remove then flash via recovery mode .
espmma said:
My device is rooted.
I've read a few other topics regarding this issue, but I'm still confused. As I understand it, using typical uninstall apps such as Titanium or Root Uninstaller do not remove the manufacturer apps from the phone still because of an S feature? I'm new to this process, so please forgive my naive rhetoric. I tried those programs, and as previously stated in other posts, the bloatware comes back.
I installed AROMA file manager to try and manually find the bloatware and delete the physical files, but I can't find the files that I'm looking to delete. I don't mind taking the time and manually deleting these unnecessary files, but, I need some guidance on where to look (or any other viable solutions.)
HTC devices are set "S on" from the manufacture. That means there are certain partitions in the nand storage that you can't access without S off ( boot partition, radio partition). The write permissions to the system partition are also not accessible unless you either obtain S off through the Sunshine app which costs $25 or a another option that is not true S off is a write permission mod called WP.MOD_ko that you flash to your phone and it installs a script and changes your phone's SElinux permissions and enables the system partition write permissions to be able to uninstall system apps or fully use certain root apps like Link2SD that also need the system write permissions at bootup.
1st option " fully" unlocks your phone and all partitions. 2nd option just installs scripts to kind of trick your system partition to allow apps to write to it and you to be able to uninstall system apps. It also changes your SElinux permissions from enforcing to permissive so be aware that's disabling the phone's security system. Not a problem unless you get malware but you should be aware of what any mod does to your phone. They have to do that because the mod can't get the phone to be true S off so this is a workaround for that one partition.
Click to expand...
Click to collapse
Okay cool, thank you for breaking that down for me. So, if I use what pham posted, then that would be a script change? But, even if it were a script change I could still fully uninstall the bloatware, with the risk of a potential virus. Is that correct?
espmma said:
Okay cool, thank you for breaking that down for me. So, if I use what pham posted, then that would be a script change? But, even if it were a script change I could still fully uninstall the bloatware, with the risk of a potential virus. Is that correct?
Click to expand...
Click to collapse
You're welcome. I'm not familiar with what Pham linked you but I'm sure it's similar to the 2nd option I mentioned. The one I was referring to was written for lollipop versions by CaptainTitti I believe is his handle but if you search XDA for our phone WP_MOD.ko that forum should be for kit Kat and a few pages forward is the link to the lollipop version with instructions from CaptainTitti on how to install it. The malware risk is minimal i just wanted to mention it. You have that as well with just rooting and also full S off it's just those 2 leave your SElinux permissions set to enforcing not permissive. Just giving you the info so your informed because no one but us pays for our devices so we should have as much info as possible I believe but good info .
The only one of these I've actually tried is the full S off one with Sunshine so understand and read the whole forum for the other before flashing so you know all the feedback but it does work. Also be aware that the WP_MOD.ko would have to be fully removed and SElinux reenabled to be able to do stock updates and there's not just an " uninstall" box with them. You have to use a root file explorer and remove what was changed and replace with the stock files I believe. Good idea to do a stock Android backup using your custom recovery before flashing any of these, S off excepted as it doesn't mess with doing stock updates. Not knocking the others but these are the things you don't find out about till after you flash them. Now you know before.
Below is the link to the forum page for the kitkat mod and if you scroll down a bit CaptainTiiti had a link to the one for lollipop.
http://forum.xda-developers.com/showthread.php?t=2707378&page=7
Can't you just use Root Browser, then go to system/app & system/priv-app to remove the bloat? That's what I do on my phone everytime I install a new ROM [emoji1]
Stachura5 said:
Can't you just use Root Browser, then go to system/app & system/priv-app to remove the bloat? That's what I do on my phone everytime I install a new ROM [emoji1]
Click to expand...
Click to collapse
I don't know my friend I've never tried that. Maybe he can try it first and see if it works. To be honest I never tried to just remove system apps before i was S off I just read of all the people here on XDA saying they couldn't without S off so I did it. Turns out I switched to debloated CM roms soon after and never even debloated my stock rom, which definitely needed it ! I used Titanium backup to debloat my Samsung tablet after root to get rid of Knox and Samsung junk but it wasn't nand locked like the HTC's are. Can't hurt for him to try it because S off costs and the other mods have their down sides also.
i have completely deleted their bloatware folder, but bloatware will appear if the device boots without root and there is no app folder in user app or system folder but they can run and update normally, maybe it specially designed. Will the above patch zip help me clear the problem completely? i want to clean up the crap, and my device uses system as root so i need to flash modified binary in boot.img separately after signing.

Categories

Resources