Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,951 Members 52,697 Now Online
XDA Developers Android and Mobile Development Forum

[Barebones CyanogenMod 11] Minimalist Flashable '.ZIP'

Tip us?
 
LewisD94
Old
(Last edited by LewisD94; 9th March 2014 at 08:03 PM.)
#1  
LewisD94's Avatar
Junior Member - OP
Thanks Meter 49
Posts: 24
Join Date: Aug 2012
Location: Manchester
Default [Barebones CyanogenMod 11] Minimalist Flashable '.ZIP'

Hey guys,

Over the past few weeks I've been using CyanogenMod and I have loved the amount of customization and power that it allows it's users to gain over their device... It really does put the power back into the hands of the user! The only gripe that I have with CM-11 is that I would prefer a more 'barebones' experience... I'm not too keen on all of these CM applications that it comes pre-packed with.

To fix this I have made a quick flashable '.ZIP' package that will delete the following applications from your CM-11 OS and will replace CM's Trebuchet Launcher with the Nexus 5's Google Now Launcher:


The script removes these apps:
 
Code:
Apollo.apk
Browser.apk
Calendar.apk
CalendarProvider.apk
CMFileManager.apk
CMWallpapers.apk
DSPManager.apk
Galaxy4.apk
HoloSpiralWallpaper.apk
LiveWallpapers.apk
LockClock.apk
MagicSmokeWallpapers.apk
Mms.apk
NoiseField.apk
PhaseBeam.apk
SoundRecorder.apk
Term.apk
Torch.apk
Trebuchet.apk
VideoEditor.apk
VisualizationWallpapers.apk
VoiceDialer.apk
WhisperPush.apk
The script adds these apps:
 
Code:
GoogleHome.apk
PrebuiltGmsCore.apk (required for 'GoogleHome.apk')
Velvet.apk (required for 'GoogleHome.apk')

Screenshots of CyanogenMod 11 without my ZIP's modifications:
Quote:
Screenshot of Cyanogenmod 11 with my ZIP's modifications (CyanogenMod 11 'Barebones'):
Quote:
Screenshots of CyanogenMod 11 with my ZIP's modifications and after I have installed the apps that I use on a daily basis:
Quote:

Recommended installation process:
1. Transfer "cm-11-*build_date*-*release_type*-hammerhead.zip", "gapps-kk-20140105-signed.zip" and "CM-11-Barebones-Script.zip" to your device...
2. Reboot to TWRP.
3. Wipe "Dalvik Cache", "System", "Data" and "Cache".
4. Reboot "Recovery".
5. Install "cm-11-*build_date*-*release_type*-hammerhead.zip".
6. Install "gapps-kk-20140105-signed.zip".
7. Install "CM-11-Barebones-Script.zip".
8. Reboot "System".
9. Enjoy CyanogenMod 11 'Barebones'.

Downloads:
Latest CyanogenMod 11: cm-11-*build_date*-*release_type*-hammerhead.zip.
Latest GApps: gapps-kk-20140105-signed.zip.
Latest CM-11-Barebones-Script CM-11-Barebones-Script.zip.

If you would like to see what this flashable '.ZIP' actually does then please expand:
 
Code:
ui_print("*************************************************");
ui_print("**************Deleting un-used APKs**************");
ui_print("*************************************************");
run_program("/sbin/mount", "/system");
ui_print("/system mounted...");
delete("/system/app/Apollo.apk");
ui_print("'Apollo.apk' deleted.");
delete("/system/app/Browser.apk");
ui_print("'Browser.apk' deleted.");
delete("/system/app/Calendar.apk");
ui_print("'Calendar.apk' deleted.");
delete("/system/priv-app/CalendarProvider.apk");
ui_print("'CalendarProvider.apk' deleted.");
delete("/system/app/CMFileManager.apk");
ui_print("'CMFileManager.apk' deleted.");
delete("/system/app/CMWallpapers.apk");
ui_print("'CMWallpapers.apk' deleted.");
delete("/system/app/DSPManager.apk");
ui_print("'DSPManager.apk' deleted.");
delete("/system/app/Galaxy4.apk");
ui_print("'Galaxy4.apk' deleted.");
delete("/system/app/HoloSpiralWallpaper.apk");
ui_print("'HoloSpiralWallpaper.apk' deleted.");
delete("/system/app/LiveWallpapers.apk");
ui_print("'LiveWallpapers.apk' deleted.");
delete("/system/app/LockClock.apk");
ui_print("'LockClock.apk' deleted.");
delete("/system/app/MagicSmokeWallpapers.apk");
ui_print("'MagicSmokeWallpapers.apk' deleted.");
delete("/system/priv-app/Mms.apk");
ui_print("'Mms.apk' deleted.");
delete("/system/app/NoiseField.apk");
ui_print("'NoiseField.apk' deleted.");
delete("/system/app/PhaseBeam.apk");
ui_print("'PhaseBeam.apk' deleted.");
delete("/system/app/SoundRecorder.apk");
ui_print("'SoundRecorder.apk' deleted.");
delete("/system/app/Term.apk");
ui_print("'Term.apk' deleted.");
delete("/system/app/Torch.apk");
ui_print("'Torch.apk' deleted.");
delete("/system/priv-app/Trebuchet.apk");
ui_print("'Trebuchet.apk' deleted.");
delete("/system/app/VideoEditor.apk");
ui_print("'VideoEditor.apk' deleted.");
delete("/system/app/VisualizationWallpapers.apk");
ui_print("'VisualizationWallpapers.apk' deleted.");
delete("/system/priv-app/VoiceDialer.apk");
ui_print("'VoiceDialer.apk' deleted.");
delete("/system/app/WhisperPush.apk");
ui_print("'WhisperPush.apk' deleted.");
ui_print("*************************************************");
ui_print("************Replacing system launcher************");
ui_print("*************************************************");
package_extract_dir("system", "/system");
ui_print("Extracting: 'GoogleHome.apk'...");
ui_print("Extracting: 'PrebuiltGmsCore.apk'...");
ui_print("Extracting: 'Velvet.apk'...");
run_program("/sbin/umount", "/system");
ui_print("/system unmounted...");
ui_print("*************************************************");
ui_print("********************Completed********************");
ui_print("*************************************************");

Note: Every time you update your CyanogenMod to a new version (e.g. Nightly), you will need to repeat steps "7." to "9." of my "Recommended installation process", otherwise all of CM's stock apps will come back (not what we want)...
The Following 5 Users Say Thank You to LewisD94 For This Useful Post: [ Click to Expand ]
 
caspboy
Old
#2  
caspboy's Avatar
Senior Member
Thanks Meter 1006
Posts: 584
Join Date: Jan 2014
Location: Charlotte, Nc
awesome script, first cyanogenmod bloatware remover ever! Was really waiting for this
 
LewisD94
Old
#3  
LewisD94's Avatar
Junior Member - OP
Thanks Meter 49
Posts: 24
Join Date: Aug 2012
Location: Manchester
Quote:
Originally Posted by caspboy View Post
awesome script, first cyanogenmod bloatware remover ever! Was really waiting for this
Thanks for the reply dude, I'm really glad that you like it! Just let me know if there would be anything that I could add, remove or change to improve it!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes