FORUMS

PSA: You Can Optimize Your Note 4’s Recents Menu & RAM

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, … more

XDA Picks: Best Apps of the Week (July 25 – Aug 1)

Apps are at the front and center of any smartphone experience, and with over a … more

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

[Script] Delete unwanted apps

219 posts
Thanks Meter: 75
 
By MoJo, Senior Member on 26th December 2013, 01:47 PM
Post Reply Subscribe to Thread Email Thread
From the time I had HTC HD2 i use a script for deleting unwanted apps.
This script should be installed from custom recovery (works flawlessly with TWRP 2.6.3.4) like any app or kernel.
After script execution clear cache/Dalvik and reboot.
If any of the apps updated, then the updated apps will be in data/app and needs deleted from there as well.

Apps list may vary depending upon the particular firmware.
Using this script as example you may add/remove any apps in updater-script inside archive according to your needs.

List of apps I delete from /system/app (currently running Cataclysm ROM):
- BasicDreams
- Books
- Calculator (I use Calculator Mem Lite)
- Drive
- GenieWidget
- GoogleEars
- GoogleEarth
- GoogleHindiIME
- GoogleHome (I use Nova Launcher Prime)
- GooglePinyinIME
- GoogleTTS
- HTMLViewer
- iWnnIME
- iWnnIME_Kbd_White
- Keep
- KoreanIME
- LiveWallpapersPicker
- Magazines
- Music2 (I use WinAmp and PowerAmp)
- PlayGames
- PlusOne
- Stk
- Street
- Videos

P.S. I am not responsible for any damage to you phone, you do it on your own risk.
Attached Files
File Type: zip del_useless_apps_busybox.zip - [Click for QR Code] (191.3 KB, 2521 views)
Last edited by MoJo; 7th June 2014 at 06:06 AM.
The Following 21 Users Say Thank You to MoJo For This Useful Post: [ View ]
 
 
26th December 2013, 02:52 PM |#2  
AndrasLOHF's Avatar
Senior Member
Thanks Meter: 1,758
 
More
Quote:
Originally Posted by MoJo

From the time I had HTC HD2 i use a script for deleting unwanted apps. This script should be installed from recovery like any app or kernel. After install just clear cache/Dalvik and reboot.

List of apps I delete from my Nexus 5 (using Cataclysm now):
- BasicDreams
- Books
- Calculator (I use Calculator Mem Lite)
- Drive
- GenieWidget
- GoogleEars
- GoogleEarth
- GoogleHindiIME
- GoogleHome (I use Nova Launcher Prime)
- GooglePinyinIME
- GoogleTTS
- HTMLViewer
- iWnnIME
- iWnnIME_Kbd_White
- Keep
- KoreanIME
- LiveWallpapersPicker
- Magazines
- Music2 (I use WinAmp and PowerAmp)
- PlayGames
- PlusOne
- Stk
- Street
- Videos

You may add any useless apps in list using this script as example.
P.S. Busybox must be installed.

How exactly do we add apps to the list to delete? I see the folder contains the recovery script but no list from which to edit. Do we just use 7zip, create a folder within the zip, then add apk names???? I miss having ROM Cleaner from my Evo LTE and have been looking for a suitable replacement on the Nexus 5. This way I don't have to keep waiting for the same 20 apps I delete from SlimKat to convert to ART when dirty flashing lol.
26th December 2013, 03:29 PM |#3  
MoJo's Avatar
OP Senior Member
West New York
Thanks Meter: 75
 
More
Quote:
Originally Posted by AndrasLOHF

How exactly do we add apps to the list to delete? I see the folder contains the recovery script but no list from which to edit. Do we just use 7zip, create a folder within the zip, then add apk names???? I miss having ROM Cleaner from my Evo LTE and have been looking for a suitable replacement on the Nexus 5. This way I don't have to keep waiting for the same 20 apps I delete from SlimKat to convert to ART when dirty flashing lol.

Unpack archive, in /META-INF/com/google/android/updater-script make your changes, save, use 7Zip->save->archive format:zip, compression level:Store->press OK, that's all.
The Following User Says Thank You to MoJo For This Useful Post: [ View ]
26th December 2013, 04:29 PM |#4  
AndrasLOHF's Avatar
Senior Member
Thanks Meter: 1,758
 
More
Thanks I think I got it. I used Notepad++ to edit the script. I added some priv-app apks too. Will that cause any issues? I just changed /app/ to /priv-app/ in the code.
Last edited by AndrasLOHF; 26th December 2013 at 04:35 PM.
26th December 2013, 04:34 PM |#5  
MoJo's Avatar
OP Senior Member
West New York
Thanks Meter: 75
 
More
Post
Quote:
Originally Posted by AndrasLOHF

I used Notepad++ to edit the script.

You may view content of /system/app by Root Explorer on your device before.
And yes, you use right editor!
Last edited by MoJo; 26th December 2013 at 04:37 PM.
The Following User Says Thank You to MoJo For This Useful Post: [ View ]
26th December 2013, 08:15 PM |#6  
UgoBoss's Avatar
Senior Member
Flag Just there.
Thanks Meter: 231
 
More
Thank's for sharing this ! Aweosme ! Every time, I was doing it with Titanium Backup xD

Just a curious question, was does happend if the app doesn't exist in the system ? Example 'delete("/system/app/Test.apk");' but Test.apk doesn't exist, does that change something ? I don't think so but just wanted to ask before I will try tomorrow

Thank's !
26th December 2013, 08:24 PM |#7  
MoJo's Avatar
OP Senior Member
West New York
Thanks Meter: 75
 
More
Quote:
Originally Posted by UgoBoss

Example 'delete("/system/app/Test.apk");' but Test.apk doesn't exist, does that change something ?

Don't worry, if file doesn't exist, that does change nothing!
The Following 2 Users Say Thank You to MoJo For This Useful Post: [ View ]
27th December 2013, 01:41 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Thanks, useful script!
27th December 2013, 06:30 PM |#9  
UgoBoss's Avatar
Senior Member
Flag Just there.
Thanks Meter: 231
 
More
Can I take the same files (the folder META-INF) for Nexus 7 2013 ? Or I need to replace it by one in a rom for N7 ?

Thank's !

EDIT : I just saw this line in the updater-scrpit '#This script for Nexus 5 ONLY!' I will see how to do it on Nexus 7 !
Last edited by UgoBoss; 27th December 2013 at 08:52 PM.
28th December 2013, 06:23 AM |#10  
MoJo's Avatar
OP Senior Member
West New York
Thanks Meter: 75
 
More
Quote:
Originally Posted by UgoBoss

Can I take the same files (the folder META-INF) for Nexus 7 2013 ? Or I need to replace it by one in a rom for N7 ?

Thank's !

EDIT : I just saw this line in the updater-scrpit '#This script for Nexus 5 ONLY!' I will see how to do it on Nexus 7 !

Yes, you can use META-INF folder.
Mount line for Nexus 7 (2012) will looks something like:
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");

But it seems that N7 2013 has same partitions structure like N5, so this script should fit Nexus 7 (2013) w/o any changes.
Last edited by MoJo; 28th December 2013 at 07:30 AM.
The Following User Says Thank You to MoJo For This Useful Post: [ View ]
28th December 2013, 08:42 AM |#11  
bradputt's Avatar
Senior Member
Thanks Meter: 185
 
More
this script screw up my phone real bad.... i have to wipe everything and flash my ROM again, then restore my nandroid backup.

i don't know which part of your script is not compatible with my phone, multiboot or ART.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes