[Android Software Development] Nbsss:
[GUIDE] Nbsss SLIMMING ROMS GUIDE

Best viewed on web browser.

FOR AUTOMATED SCRIPT SEE BOTTOM OF POST

A) Download and extract ROM zip

B) Removing audio files (about 5.2mb freed)

Navigate on extracted ROM to /system/media/audio

Delete all audio from "alarms" folder (except one that you wish to keep)

Delete all audio from "notifications" folder (except one that you wish to keep)

Delete all audio from "ringtones" folder (except one that you wish to keep)

Delete from "ui" folder: "camera_click", "camera_focus", "VideoRecord", "VideoStop"

(You can set default tones by editing last couple of lines in the build prop or set manually once booted - Thanks "FordNate")

C) Removing boot animation (optional) (about 6mb freed)

Navigate to /system/media

Delete bootanimation.zip

D) System apps cleaning (about 45 mb freed)

Navigate to /system/app

Delete "Calendar.apk" (1.3mb freed)

Delete "LatinIME.apk"

Paste "LatinIME.apk" file attached below

Navigate to /system/lib

Paste "libjni_latinimegoogle.so" (17.5mb freed)

Navigate again to /system/app

Delete "Launcher2.apk" or "Trebuchet.apk" (depending on what you have)

Paste "NovaLauncher.apk" (free version) (10mb freed)

E) Remove unneeded text-to-speech engine (6.1mb freed)

Navigate to /system/tts/lang_pico

Delete all

F) Remove unneeded fonts (10mb freed)

Navigate to /system/fonts

Delete unneeded fonts "MTLmr3m.tff" (Japanese) & "NanumGothic.tff" (Korean) & "DroidSansFallback.tff" (backup)

G) Delete offline google now: (1.83mb freed)

Navigate to "/system/usr/srec/"

Delete "config"

H) FREE ANOTHER 35mb (fits CM7r2 Hboot):

Under /system/app

Delete VideoEditor.apk (4.7mb)

Delete "Exchange2.apk" & "Email2.apk" (4.1mb) - use GMail instead

Delete "LiveWallpapers.apk" & "LiveWallpapersPicker.apk" (2mb)

Delete all livewallpapers under "/system/app/": (1.52mb)

galaxy4.apk

MagicSmokeWallpapers.apk

VisualizationWallpapers.apk

HoloSpiralWallpaper.apk

phasebeam.apk

NoiseField.apk

PhotoTable.apk

EVstuff under "/system/app/" 1.3mb) - for evervolv roms

EVToolbox.apk

evwidgets.apk

EVTips.apk

Junk under "/system/app/" (.3mb):

vociedialer.apk

speechrecorder.apk

stk.apk

soundrecorder.apk

Other under "/system/app/"

browser.apk (2.85mb)

QuickSearchBox.apk (1mb)

Move(12mb)

"Gallery2.apk" (Camera & Gallery) & "LatinIME.apk" (keyboard) from /system/app and place in /data/app (you could use adb for this eg. = "adb install Galley2.apk"

NOTE: IN KITKAT 4.4, SOME APPS THAT ARE LISTED ABOVE WILL BE UNDER THE DIRECTORY /system/priv-app/ , OTHERWISE THE PROCESS IS THE SAME

Total Freed: 82mb

Last Step: Repacking before flashing

1) Check file size before zipping

2) Re-zip with 7zip, view the zip to make sure its all ok (ie you don't have something like /CM10.1.zip/CM10.1/)

3) Sign your updated re-zipped ROM with sign-em application. Place ROM in "input", run exe, signed ROM found in "output"

[TIPS]

If you get stuck, always good to have a saved PC copy of the apks saved on your phone beforehand.

Use: "adb pull /data/app C:\Users\<wherever-you-want>" (without quotes)

That way if you have no file explorer, you can use like "adb install <filemanagername>.apk" (must place in adb folder of course)

Its also faster to restore your phone, just use: "adb push C:\Users\<wherever-you-want> /data/app"

Then restore app-data ONLY from TitaniumBackup -much faster and less issues

[MODS - FOR HTC DESIRE (BRAVO)]:

-Wifi tethering with password fix - Extract files "hostapd" and "hostapd_cli", copy extracted files, mount system R/W, paste in /system/bin replacing the original files, set permissions (rwxr-xr-x), reboot

-Keyboard BL disable: Extract 65DisableKeyBacklight file, place into system/etc/init.d folder, set permissions same as other files in this folder (---rwxr-x), reboot

--a2sd: open terminal, type "su", type "a2sd install", respond with yny and it'll reboot automatically

Credits/thanks:

-SlimRom for the lightweight keyboard

-ryuinferno for his zip signer

-Nova launcher

-jmcclue for DisableKeyBacklight script

-thanks tom0769 for part E!

-HUGE thanks to Androidmarketuser for the script!

(

Remeber to hit thanks here and thank Androidmarketuser

;))

FOR AUTOMATING THE PROCESS - DOWNLOAD SLIM-FACTORY SCRIPT!!

ENJOY ! :)