[Android Software Development] fiz:ik:
My first smartphone was the Samsung Galaxy S2. And I was shocked how Samsung "destroys" their own device by adding - sorry for the harsh words - idiotic and useless apps.

Samsung is the main reason why many people (most apple users) are mocking Android.

Samsung is the worst manufacturer in adding useless apps. Who needs 23 hubs for social, fitness, books, games, blablabla and 3 app stores? And 2 music players?

Nobody, I guess... That's why I deleted the useless apps from /app and /priv-app after every update and that was awful.

Some weeks ago I made this flashable zip which allows me to delete all unnecessary (at least for me!!!) apps with one flash. I made it for personal use with my OPO and BlissPop. I don't need NFC or CellBroadcastReceiver. Never.

Every ROM is different. Every ROM has same apps in /system but also different ones. That's why I'm sharing a template for the flashable zip, not a ready-2-flash-zip.

Adaptive Junk Remover

1. download the provided zip file for KK / L

2. open it with WinRAR (the best program)

3. browse to \META-INF\com\google\android

4. open the file called updater-script with Notepad++ (also the best program)

5. a) you will see this (for a ROM based on Android 5.0.x // CM12), the delete_recursive tag is necessary because L stores apps in subfolders

b) you will see this (for a ROM based on Android 4.4.x // CM11)

6. you have to add the apps you want to remove, have a look inside your /app and /priv-app folder

7. a) enter the folder name (CM12): delete_recursive("/system/app/FOLDER-NAME"); or delete_recursive("/system/priv-app/FOLDER-NAME");

b) enter the app name (CM11): delete("/system/app/APP-NAME.apk"); or delete("/system/priv-app/APP-NAME.apk");

maybe you have also .odex files, delete them with delete("/system/app/APP-NAME.odex");

8. if you've finished save the file, WinRAR asks to update the zip-file, affirm that (!!!IMPORTANT!!!)

9. flash the zip in your custom recovery

!!!WITHOUT GUARANTEE!!!

delete only apps you know they're safe to remove (link, link, link, etc.)

be aware that some apps share their libs, etc.

if anything goes wrong, for example FCs, simply reflash (dirty) your ROM and delete the FC'ed app from the updater-script of the Junk Remover

if you have questions, feel free to ask

:)

my updater-script for my OPO running BlissPop looks like this, using it after every update, no FC, no other issue

delete_recursive("/system/app/AntHalService");
delete_recursive("/system/app/BasicDreams");
delete_recursive("/system/app/CMWallpapers");
delete_recursive("/system/app/Eleven");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/FaceLock");
delete_recursive("/system/app/Galaxy4");
delete_recursive("/system/app/HoloSpiralWallpaper");
delete_recursive("/system/app/HTMLViewer");
delete_recursive("/system/app/LiveWallpapers");
delete_recursive("/system/app/LiveWallpapersPicker");
delete_recursive("/system/app/MonthCalendarWidget");
delete_recursive("/system/app/NfcNci");
delete_recursive("/system/app/NoiseField");
delete_recursive("/system/app/OpenCamera");
delete_recursive("/system/app/PhaseBeam");
delete_recursive("/system/app/PhotoPhase");
delete_recursive("/system/app/PhotoTable");
delete_recursive("/system/app/PicoTts");
delete_recursive("/system/tts");
delete_recursive("/system/app/PrintSpooler");
delete_recursive("/system/app/Stk");
delete_recursive("/system/app/Terminal");
delete_recursive("/system/app/VisualizationWallpapers");
delete_recursive("/system/app/WhisperPush");
delete_recursive("/system/priv-app/CellBroadcastReceiver");
delete_recursive("/system/priv-app/CMAccount");
delete_recursive("/system/priv-app/DeviceControl");
delete_recursive("/system/priv-app/Mms");
delete_recursive("/system/priv-app/MmsService");
delete_recursive("/system/priv-app/ScreenRecorder");
delete_recursive("/system/priv-app/Tag");
delete_recursive("/system/priv-app/Velvet");
delete_recursive("/system/priv-app/VoiceDialer");