[TWRP] [CM13.0 CM14.1] [Automation Script] remove unwanted default apps

pogui

Member
May 12, 2011
18
14
0
Mendoza
Simple TWRP recovery script that uninstall the following default CM apps (nothing wrong with this apps just personal pref):
1) AudioFX (makes my speaker's volume really low)
2) CMFileManager ( i prefer root explorer)
3) DownloadProviderUi (app that just show download folder)
4) Eleven (default music app)
5) Gello (default browser)
6) Stk (SIM info app)
All apps are safe to remove.
Just install .zip via TWRP recovery and reboot.
Every time i installed a new cm build, i had to manually removed this apps, so i made a automation script.
Hope its useful to somebody else!

I'm trying to make this script interactive, asking the user for confirmation at every app before deleting, but i cant find the documentation to do this. Can someone give me a hint?

thx!
Pogui

EDIT: Added new cleaner script for LineageOS 14.1
 

Attachments

Last edited:

xehed

Senior Member
Aug 5, 2010
748
172
43
geek's
this is what I was looking for, cause i'm too lazy to delete them 1 by 1 from system.
but hey dude could you make it as installer too, i means I want to replace stock cm14.1 app with google app with zip.
(e.g replace:
stock calendar with google calendar
stock clock with google clock
stock calculator with google calculator
stock dialer with google dialer
stock contact with google contacts
stock keyboard with google keyboard
remove trebuchet & add pixel launcher
) could you make it dude?
 
  • Like
Reactions: pogui

pogui

Member
May 12, 2011
18
14
0
Mendoza
this is what I was looking for, cause i'm too lazy to delete them 1 by 1 from system.
but hey dude could you make it as installer too, i means I want to replace stock cm14.1 app with google app with zip.
(e.g replace:
stock calendar with google calendar
stock clock with google clock
stock calculator with google calculator
stock dialer with google dialer
stock contact with google contacts
stock keyboard with google keyboard
remove trebuchet & add pixel launcher
) could you make it dude?
Sure, working on it. I think i can make it interactive too (select which apps to remove/replace). It's there a problem if i use openGapps builds binaries to make this?
 

csoller

Senior Member
Nov 16, 2008
113
12
38
Hi, Ive been using this since release. THANKS!
With unofficial Lineage OS builds rolling out, can we expect a version for it?
Id love a version that removes the default launcher as well.

Ive never did any coding myself, but Id like to know how to maintenance a script like that. Is there a decent tutorial normal folks can understand?
 

pogui

Member
May 12, 2011
18
14
0
Mendoza
Hi, Ive been using this since release. THANKS!
With unofficial Lineage OS builds rolling out, can we expect a version for it?
Id love a version that removes the default launcher as well.

Ive never did any coding myself, but Id like to know how to maintenance a script like that. Is there a decent tutorial normal folks can understand?
Cleaner script for LineageOS 14.1 unofficial build added!
Happy to know this script is usefull for you.
 
  • Like
Reactions: csoller