Forums Added for the Oppo R5, Oppo N3, and Xiaomi Redmi Note

Just yesterday, Oppo unveiled a pair of rather unique smartphones, the Oppo … more

How to Play Music From Android Wear – XDA TV

Yesterday, we showed you how to do some advanced things with your Moto 360 quite easily … more

Google Updates Play Games, Wallet, Docs, Sheets, Slides, Drive, Google+, and Camera

While we haven’t really had much in the way of … more

Google Execs Talk to Ars About Android 5.0 Lollipop

Android 5.0 Lollipop is right around the corner, and it’s expected to hit AOSP … more
Post Reply

[Barebones CyanogenMod 11] Minimalist Flashable '.ZIP'

OP LewisD94

9th March 2014, 07:56 PM   |  #1  
LewisD94's Avatar
OP Junior Member
Flag Manchester
Thanks Meter: 54
 
25 posts
Join Date:Joined: Aug 2012
More
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)...
Last edited by LewisD94; 9th March 2014 at 08:03 PM.
The Following 9 Users Say Thank You to LewisD94 For This Useful Post: [ View ]
9th March 2014, 11:49 PM   |  #2  
caspboy's Avatar
Senior Member
Flag Charlotte, Nc
Thanks Meter: 1,035
 
585 posts
Join Date:Joined: Jan 2014
More
awesome script, first cyanogenmod bloatware remover ever! Was really waiting for this
10th March 2014, 02:45 AM   |  #3  
LewisD94's Avatar
OP Junior Member
Flag Manchester
Thanks Meter: 54
 
25 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by caspboy

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!
The Following User Says Thank You to LewisD94 For This Useful Post: [ View ]
25th October 2014, 03:58 PM   |  #4  
Member
Thanks Meter: 3
 
40 posts
Join Date:Joined: Jul 2014
More
thank you soo much for the script. i was searching for something like this, just want to ask will it work for my xperia m device?

---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------

can u make something which can be used for any device?
26th October 2014, 06:13 PM   |  #5  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Jan 2011
I can`t download it
26th October 2014, 10:39 PM   |  #6  
Senior Member
Thanks Meter: 262
 
611 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by sporezu

I can`t download it

Wait a while and try again. Dev-host gets wonky sometimes.
The Following User Says Thank You to Wakamatsu For This Useful Post: [ View ]
27th October 2014, 08:14 AM   |  #7  
haasgo's Avatar
Senior Member
Flag Hamburg
Thanks Meter: 227
 
675 posts
Join Date:Joined: May 2011
Donate to Me
More
It seems neglected...will this be continued? Seems an awesome zip to have though!
27th October 2014, 08:58 AM   |  #8  
stumpy352's Avatar
Senior Member
Thanks Meter: 947
 
1,034 posts
Join Date:Joined: Sep 2011
What about CMaccount.

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

Advanced Search
Display Modes


Top Threads in Nexus 5 General by ThreadRank