Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,615 Members 46,249 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][Flashable] Remove all Bloatware apps from system/app Partition within 2 Seconds

Tip us?
 
broadways
Old
(Last edited by broadways; 21st December 2012 at 01:59 PM.)
#1  
Member - OP
Thanks Meter 95
Posts: 52
Join Date: Sep 2012
Default [MOD][Flashable] Remove all Bloatware apps from system/app Partition within 2 Seconds

What is this?
It's a zip file which can remove bloatware apps(found in system/app partition) from stock recovery. It can remove more than 20 apps within 2-3 seconds.

Why do I need it?
Assume you have flashed a new rom. You now have to go through the pain of removing dozens of apps from system/app which you might not need. eg: some people hardly use google maps/swype/youtube/email/weather.apk or those several samsung apps/widgets found in stock rom.

Okay fine, What else do I need to know
The system partition contains important apps required for android. if you remove an app which is essential for android then your device might get stuck in bootloop. So know what you're doing before trying this mod.

This is a complete list of apps found in stock indian rom(DDLK2).
Code:
Select Code
AccountAndSyncSettings.apk
AccountAndSyncSettings.odex
AlertRecipients.apk
AlertRecipients.odex
ApplicationsProvider.apk
ApplicationsProvider.odex
AxT9IME.apk
AxT9IME.odex
BadgeProvider.apk
BadgeProvider.odex
BluetoothOpp.apk
BluetoothOpp.odex
BluetoothPbap.apk
BluetoothPbap.odex
BluetoothTestMode.apk
BluetoothTestMode.odex
BrcmBluetoothServices.apk
BrcmBluetoothServices.odex
Browser.apk
Browser.odex
Calculator.apk
Calculator.odex
Calendar.apk
Calendar.odex
CalendarProvider.apk
CalendarProvider.odex
Camera.apk
Camera.odex
CertInstaller.apk
CertInstaller.odex
ClockWidget.apk
ClockWidget.odex
Contacts.apk
Contacts.odex
ContactsProvider.apk
ContactsProvider.odex
CSC.apk
CSC.odex
DataCreate.apk
DataCreate.odex
DefaultContainerService.apk
DefaultContainerService.odex
DeskClock.apk
DeskClock.odex
DialerTabActivity.apk
DialerTabActivity.odex
DownloadProvider.apk
DownloadProvider.odex
DownloadProviderUi.apk
DownloadProviderUi.odex
DrmProvider.apk
DrmProvider.odex
DrmUA.apk
DrmUA.odex
DualClock.apk
DualClock.odex
Email.apk
Email.odex
EmailWidget.apk
EmailWidget.odex
FactoryTest.apk
FactoryTest.odex
FmRadio.apk
FmRadio.odex
fotaclient.apk
fotaclient.odex
Gallery3D.apk
Gallery3D.odex
GenieWidget.apk
Gmail.apk
GoogleBackupTransport.apk
GoogleCalendarSyncAdapter.apk
GoogleContactsSyncAdapter.apk
GoogleFeedback.apk
GooglePartnerSetup.apk
GoogleQuickSearchBox.apk
GoogleServicesFramework.apk
HTMLViewer.apk
HTMLViewer.odex
InputEventApp.apk
InputEventApp.odex
JobManager.apk
JobManager.odex
lcdtest.apk
lcdtest.odex
LiveWallpapersPicker.apk
LiveWallpapersPicker.odex
LogsProvider.apk
LogsProvider.odex
Maps.apk
MarketUpdater.apk
MediaProvider.apk
MediaProvider.odex
MediaUploader.apk
Memo.apk
Memo.odex
Mms.apk
Mms.odex
MmsProvisioning.apk
MmsProvisioning.odex
MobileTrackerEngineTwo.apk
MobileTrackerEngineTwo.odex
Music.apk
Music.odex
MyFiles.apk
MyFiles.odex
NetworkLocation.apk
PackageInstaller.apk
PackageInstaller.odex
PCWClientS.apk
Personalization.apk
Personalization.odex
Phone.apk
Phone.odex
PhoneErrService.apk
PhoneErrService.odex
Phonesky.apk
PicoTts.apk
PicoTts.odex
PopupuiReceiver.apk
PopupuiReceiver.odex
PowerOnOffTest.apk
PowerOnOffTest.odex
Preconfig.apk
Preconfig.odex
Protips.apk
Protips.odex
Quickoffice.apk
SamsungApps.apk
SamsungAppsUNA3.apk
SamsungWidget_ProgramMonitor.apk
SamsungWidget_ProgramMonitor.odex
SamsungWidget_StockClock.apk
SamsungWidget_StockClock.odex
SamsungWidget_WeatherClock.apk
SamsungWidget_WeatherClock.odex
ScreenCaptureService.apk
ScreenCaptureService.odex
SecDownloadProvider.apk
SecDownloadProvider.odex
SecurityProvider.apk
SecurityProvider.odex
SelfTest.apk
SelfTest.odex
SerialNumberLabelIndicator.apk
SerialNumberLabelIndicator.odex
serviceModeApp.apk
serviceModeApp.odex
Settings.apk
Settings.odex
SettingsProvider.apk
SettingsProvider.odex
SetupWizard.apk
ShareApp.apk
ShareApp.odex
signin.apk
signin.odex
SisoDrmProvider.apk
SisoDrmProvider.odex
SnsAccount.apk
SnsAccount.odex
SnsProvider.apk
SnsProvider.odex
Stk.apk
Stk.odex
Street.apk
Swype.apk
syncmldm.apk
syncmldm.odex
syncmlds.apk
syncmlds.odex
SystemUI.apk
SystemUI.odex
Talk.apk
talkback.apk
TelephonyProvider.apk
TelephonyProvider.odex
TouchWiz30Launcher.apk
TouchWiz30Launcher.odex
TtsService.apk
TtsService.odex
TwWallpaperChooser.apk
TwWallpaperChooser.odex
UnifiedInbox.apk
UnifiedInbox.odex
UserDictionaryProvider.apk
UserDictionaryProvider.odex
VoiceRecorder.apk
VoiceRecorder.odex
VoiceSearch.apk
VpnServices.apk
VpnServices.odex
wipereceiver.apk
wipereceiver.odex
WlanTest.apk
WlanTest.odex
wssomacp.apk
wssomacp.odex
wssyncmlnps.apk
wssyncmlnps.odex
YouTube.apk
What you'll need:
1) Winrar
2) Notepad++

Customizing your "updater-script" file:
1) Download bloatkill.zip from attachment
2) Open it with winrar
3) Browse over to META-INF\com\google\android\
4) Extract the file "updater-script" to desktop and open it with notepad++
5) It will look like this:
Quote:
ui_print("Useless stuff cleaning start");

ui_print(" ");
ui_print("Partitions mount");
#Properly unmounting to avoid issues
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
#Then mounting
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");

ui_print(" ");
ui_print("Useless system app removal");
delete("/system/app/ClockWidget.apk");
delete("/system/app/ClockWidget.odex");
delete("/system/app/DualClock.apk");
delete("/system/app/DualClock.odex");
delete("/system/app/Email.apk");
delete("/system/app/Email.odex");
delete("/system/app/EmailWidget.apk");
delete("/system/app/EmailWidget.odex");
delete("/system/app/Gmail.apk");
delete("/system/app/GoogleQuickSearchBox.apk");
delete("/system/app/Maps.apk");
delete("/system/app/Phonesky.apk");
delete("/system/app/Quickoffice.apk");
delete("/system/app/SamsungApps.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.odex");
delete("/system/app/SamsungWidget_StockClock.apk");
delete("/system/app/SamsungWidget_StockClock.odex");
delete("/system/app/SamsungWidget_WeatherClock.apk");
delete("/system/app/SamsungWidget_WeatherClock.odex");
delete("/system/app/signin.apk");
delete("/system/app/signin.odex");
delete("/system/app/SnsAccount.apk");
delete("/system/app/SnsAccount.odex");
delete("/system/app/Street.apk");
delete("/system/app/Swype.apk");
delete("/system/app/talkback.apk");
delete("/system/app/UnifiedInbox.apk");
delete("/system/app/UnifiedInbox.odex");
delete("/system/app/VoiceSearch.apk");
delete("/system/app/YouTube.apk");


ui_print(" ");
ui_print("Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");

ui_print(" ");
ui_print("Finish");
6) The bold parts are important. As you can see that it deletes a number of apps from system/app in a row. This list is mine(not for you) so you have to edit it according to your liking. Refer through the first list in the beginning of stock apps and select those apps which you would like to delete.

For eg: If you want to delete swype.apk and youtube.apk(meaning swype keyboard and youtube) then replace the above bolded text with these bolded lines and so update-script will look like this:
Quote:
ui_print("Useless stuff cleaning start");

ui_print(" ");
ui_print("Partitions mount");
#Properly unmounting to avoid issues
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
#Then mounting
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");

ui_print(" ");
ui_print("Useless system app removal");
delete("/system/app/Swype.apk");
delete("/system/app/YouTube.apk");


ui_print(" ");
ui_print("Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");

ui_print(" ");
ui_print("Finish");
7) Once you have finished editing delete rows in updater-script to your liking then hit save button(ctlr+s) on notepad++
8) Drag drop your custom "updater-script" file back inside META-INF\com\google\android\ folder in bloatkill.zip. Do not touch update-binary.
9) Winrar will automatically save the archive as soon as you do drag drop
10) Your custom bloatkill.zip is ready. You can use this everytime you flash your ddlk2 stock rom

Instruction of use:
1) Place your custom bloatkill.zip on root of sd card (root means outside; not within any folder of sd card)
3) Switch off you android device
4) Start your device in recovery mode by holding all three keys at once(up volume + middle menu + power key)
5) Select "apply zip from sd card"
6) Select bloatkill.zip
7) Select Yes
8) Reboot
Attached Files
File Type: zip bloatkill.zip - [Click for QR Code] (101.6 KB, 22725 views)
The Following 65 Users Say Thank You to broadways For This Useful Post: [ Click to Expand ]
 
Vedarshi
Old
#2  
Member
Thanks Meter 24
Posts: 92
Join Date: Oct 2012
Location: Mumbai
Thanks, I was looking for a quick customizable way to do this.
A proud Moto G user!
Running CyanogenMod 11.
The Following 2 Users Say Thank You to Vedarshi For This Useful Post: [ Click to Expand ]
 
Ganesh A
Old
#3  
Ganesh A's Avatar
Recognized Contributor
Thanks Meter 761
Posts: 914
Join Date: May 2012
Location: Chennai
Nice idea dude

 
Try my mod...

Xperia NxT MoD v1.2 For All GB
http://forum.xda-developers.com/show....php?t=1967172

Sent from my GT-5360 with Xperia NxT MoD using xda-premium
 
encik_racun
Old
#4  
encik_racun's Avatar
Senior Member
Thanks Meter 176
Posts: 905
Join Date: Apr 2012
i see, its the same like my signature i guess

.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ sent using busybox command via Cytherea phone ~
[spoiler]
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it [/spoiler]

---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------

delete Phonesky.apk? its google playstore, u only can delete it if u dont want to update or download any market apps...

.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ sent using busybox command via Cytherea phone ~
[spoiler]
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it [/spoiler]
 
broadways
Old
(Last edited by broadways; 22nd December 2012 at 03:02 PM.)
#5  
Member - OP
Thanks Meter 95
Posts: 52
Join Date: Sep 2012
Quote:
Originally Posted by encik_racun View Post
i see, its the same like my signature i guess
The point of this thread is not give a ready made zip file.
Instead it aims to guide the reader to make his own custom updater-script file.

Quote:
Originally Posted by encik_racun View Post
delete Phonesky.apk? its google playstore, u only can delete it if u dont want to update or download any market apps...
If you read my post again, i have clearly said that it is just an example.

This list is mine(not for you)

btw, I do personally delete google play. It's because I run another script after bloatkill.zip which installs an updated version of phonesky.apk and GooglePlayservices.apk on the system/app partition. Works okay for me.
 
encik_racun
Old
#6  
encik_racun's Avatar
Senior Member
Thanks Meter 176
Posts: 905
Join Date: Apr 2012
Quote:
Originally Posted by broadways View Post
The point of this thread is not give a ready made zip file.
Instead it aims to guide the reader to make his own custom updater-script file.


If you read my post again, i have clearly said that it is just an example.

btw, I do personally delete google play. It's because I run another script after bloatkill.zip which installs an updated version of phonesky.apk and GooglePlayservices.apk on the system/app partition. Works okay for me.
yes, and its the same lol, and this belong to general section coz its not developing...

.
.
[spoiler]
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it [/spoiler]
 
broadways
Old
#7  
Member - OP
Thanks Meter 95
Posts: 52
Join Date: Sep 2012
Quote:
Originally Posted by encik_racun View Post
yes, and its the same lol
It's a guide to create your own custom updater-script file. What part of this english sentence do you not understand?
 
encik_racun
Old
#8  
encik_racun's Avatar
Senior Member
Thanks Meter 176
Posts: 905
Join Date: Apr 2012
Quote:
Originally Posted by broadways View Post
It's a guide to create your own custom updater-script file. What part of this english sentence do you not understand?
the "general section" sentence, i hope u know what is newbie and u know what is rules and regulation here

.
.
[spoiler]
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it [/spoiler]
 
broadways
Old
#9  
Member - OP
Thanks Meter 95
Posts: 52
Join Date: Sep 2012
encik_racun, you'll be talking to yourself from now on. take care
The Following User Says Thank You to broadways For This Useful Post: [ Click to Expand ]
 
encik_racun
Old
#10  
encik_racun's Avatar
Senior Member
Thanks Meter 176
Posts: 905
Join Date: Apr 2012
Quote:
Originally Posted by broadways View Post
encik_racun, you'll be talking to yourself from now on. take care
ok, but i bet u post in wrong section bro

u are linux and windows guy (u said it not me) i expect more advance moding if u expert in linux but u share a basic thing in wrong section lol...

.
.
[spoiler]
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it [/spoiler]

The Following User Says Thank You to encik_racun For This Useful Post: [ Click to Expand ]
Tags
bloatware, flash, remove, updater-script
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes