[TOOLS/APP] [CM7/9] dpi/cleaner.zip template & MTP-MassStorage switcher
This thread is about two subject. I know, it is odd but considered the enthousism to post about it it would be a waste of anyone's time to have two threads. Besides that, there is not much to say about it anymore, both tools just work.
TOOL 1: CWM flashable tool to clean unwanted apps and sounds and set your desired dpi on the go. You won't even notice you upgraded of you don't look for it!
-sets DPI to 210
-removes a lot of apps and sounds
-wipe cache and dalvic cache
-fix permissions RomManager way
I understand that nobody has the same preferences I have so the .zip file is setup as simple as possible and can easily be adjusted:
change the value in the setdpi.sh scriptremove apps, sounds, files:
change the cleaner.sh script (done in a sh script because it is very easy to read and almost impossible to **** other things uptweaks:
adjust the tweaks folder in the zip to your likings.
To modify the .sh scripts I use Notepad++
To repack the zip i use 7zip. It is not signed anyway so you dont need to bother that
How to use the dpi_cleaner_V1g.zip:
-boot into CWM
-flash the CyanogenMod upgrade (either a nightly, a stable or a snapshot)
-flash a kernel (or not, just what you like)
Or in RomManager:
-tick "Advanced Mode" in RomManagers Settings Previous versions could be used as a cleaning script like Lippols but I removed it, Lippol is now removing modules as well. I don't know why but he does it. If I would include that feature you couldn't stay at stock kernel but needed a custom kernel.
-choose "install Rom from SD card"
-browse to the desired CyanogenMod build and select.
-choose "add zipp"
-browse to dpi_cleaner_V1g.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.
I commented this out in the cleaner.sh. If you like it you can uncomment it but I don't recommend it. The nightly itself will fix it anyway!
Download it here:
CM7_dpi_cleaner_V1g.zip - mediafire.com
CM9_dpi_cleaner_V2b.zip - mediafire.com
credits for: Chainfire, Muff99, Backhead92, Lippol94, WiwiPouPou and FadeFx (and many more!)
On request: major part of cleaner.sh to see what will be removed.
YOU SHOULD EDIT THIS YOURSELF
cleaner.sh for CM7 - pastebin
cleaner.sh for CM9 - pastebin
TOOL 2: USB mode switch for SGS1 on CM
This miniature app is to change your usb mode from MTP to mass storage and vice versa.
It will only work on the Samsung GalaxyS running ICS by teamhacksung. In time it will be redundant because I think this function will be incorporated by the rom.
FROM NOW ON YOU CAN FIND THE FUNCTION OF THIS APP NATIVELY IN CM9. IT IS UNDER SETTINGS-STORAGE-MENU BUTTON. THANKS FOR USING!
It needs USB-debugging enabled (and a Samsung GalaxyS with rootacces of course)
Download it on Google Play.