[HowTo] Remove System Apps + Description - Nexus One General

Hi, i just went through the online ROM cooking app from Modaco for the desire ROM...after 10 Minutes i got to the bottom where i read "only for paid users". Well it's their right, but i find it lame nevertheless.
Right. to the Howto. You need:
1. Rooted Nexus. You can follow this thread if you haven't done it:
2. You need Explorer or any Explorer like app (the first one is FREE in the Store)
3. Navigate to /system/app/ - Here are all the installed apps, you will want to swipe through and remember the EXACT name you want to remove (Case sensitive!)
Ex.: com.htc.FriendStreamWidget.apk
4. On the Phone navigate to SETTINGS -> PROGRAMS -> DEVELOPMENT -> activate USB Debugging
5. On the PC Open a CMD and navigate to the Android SDK
a. Test if the connection is working:
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT9CVP815983 device
b. adb shell
#
c. #su -ENTER
su
d. #cd /system/app
cd /system/app
e. mount -o rw,remount /system
f. Now here you start to uninstall. To uninstall an app you will need to use the following command together with the exact name you remembered at point 3. The names ARE Case Sensitive!
rm -r teeter.apk (for the Teeter game app for ex.)
That's IT!
Other apps i removed:
rm -r Browser.apk - Default Internet Browser
rm -r com.amazon.mp3.apk - Amazon bloatware
rm -r com.htc.FriendStreamWidget.apk - Integrates Flickr and Facebook Widget
rm -r com.htc.StockWidget.apk - If you use STOCKs you might want this
rm -r DCSStock.apk - Stock App
rm -r FriendStream.apk - Integrates Flickr and Facebook
rm -r HtcTwitter.apk - HTC Twitter App
rm -r com.htc.TwitterWidget.apk - Twitter Widget
rm -r NewsReader.apk - RSS News Reader
rm -r com.htc.NewsReaderWidget.apk - RSS News Reader
rm -r RSS.apk - Another RSS app
rm -r com.htc.MusicWidget.apk - Default Music Widget (i use the icon)
rm -r HtcFootprints.apk - Footprints
rm -r HtcFootprintsWidget.apk - Widget
rm -r /system/app/com.htc.MusicWidget.apk - Music Widget
rm -r /system/app/com.htc.NewsReaderWidget.apk - RSS News Reader Widget
rm -r /system/app/Gmail.apk - Gmail app (i use the normal MAIL app for syncing my gmail account)
rm -r /system/app/GmailProvider.apk (the Gmail provider)
rm -r /system/app/HtcTwitter.apk (i`m sure you use a different app for twitter)
rm -r /system/app/HTCSetupWizard.apk (the initial setup app that i went through one time)
P.s: if you want to add something back just look into the ZIPPED ROM image and take the apk from /system/app
Other apps and what they do (this are reflected by my own research). Please feel free to add applications and a description as there are still a few that i have no idea what they do (and i haven't found a complete list):
HTC_IME.apk - The android keyboard
Clicker.apk - if you want to improve typing experience through calibration
Rosie.apk - Main interface app of SenseUI (same as Launcher.apk)
Launcher.apk - Main interface app of Stock Cupcake1.5 UI - it hosts all application, manage widgets and more...
PCSCII.apk - client for syncronization via HTC Sync
HtcStreamPlayer.apk - Player for streamed audio
iWnnIME.apk - Japanese keyboard
CNSoftKeyboard.apk - Chinese soft Keyboard
Feel free to add to the guide. If it is useful i`ll edit it!
Cheers

teeter.apk is the HTC game called Teeter. The one with the silver ball you roll around into the appropriate hole.

qiuness said:
Hi, i just went through the online ROM cooking app from Modaco for the desire ROM...after 10 Minutes i got to the bottom where i read "only for paid users". Well it's their right, but i find it lame nevertheless.
Right. to the Howto. You need:
1. Rooted Nexus. You can follow this thread if you haven't done it:
2. You need Explorer or any Explorer like app (the first one is FREE in the Store)
3. Navigate to /system/app/ - Here are all the installed apps, you will want to swipe through and remember the EXACT name you want to remove (Case sensitive!)
Ex.: com.htc.FriendStreamWidget.apk
4. On the Phone navigate to SETTINGS -> PROGRAMS -> DEVELOPMENT -> activate USB Debugging
5. On the PC Open a CMD and navigate to the Android SDK
a. Test if the connection is working:
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT9CVP815983 device
b. adb shell
#
c. #su -ENTER
su
d. #cd /system/app
cd /system/app
e. Now here you start to uninstall. To uninstall an app you will need to use the following command together with the exact name you remembered at point 3.
rm -r teeter.apk (for the Twitter app)
That's IT!
Other apps i removed:
rm -r Browser.apk - Default Internet Browser
rm -r com.amazon.mp3.apk - Amazon bloatware
rm -r com.htc.FriendStreamWidget.apk - Integrates Flickr and Facebook Widget
rm -r com.htc.StockWidget.apk - If you use STOCKs you might want this
rm -r DCSStock.apk - Stock App
rm -r FriendStream.apk - Integrates Flickr and Facebook
rm -r HtcTwitter.apk - HTC Twitter App
rm -r com.htc.TwitterWidget.apk - Twitter Widget
rm -r NewsReader.apk - RSS News Reader
rm -r com.htc.NewsReaderWidget.apk - RSS News Reader
rm -r RSS.apk - Another RSS app
rm -r com.htc.MusicWidget.apk - Default Music Widget (i use the icon)
rm -r HtcFootprints.apk - Footprints
rm -r HtcFootprintsWidget.apk - Widget
Other apps and what they do (this are reflected by my own research). Please feel free to add applications and a description as there are still a few that i have no idea what they do (and i haven't found a complete list):
HTC_IME.apk - The android keyboard
Clicker.apk - if you want to improve typing experience through calibration
Rosie.apk - Main interface app of SenseUI (same as Launcher.apk)
Launcher.apk - Main interface app of Stock Cupcake1.5 UI - it hosts all application, manage widgets and more...
PCSCII.apk - client for syncronization via HTC Sync
HtcStreamPlayer.apk - Player for streamed audio
iWnnIME.apk - Japanese keyboard
CNSoftKeyboard.apk - Chinese soft Keyboard
Feel free to add to the guide. If it is useful i`ll edit it!
Cheers
Click to expand...
Click to collapse
HTC_IME is the HTC keyboard called Touch Input, and it used Clicker.apk to calibrate it.
Felt this should be addressed since non Desire ROM's don't have this by default. Unless you add it in of course.

I was actually thinking of how to do this prom the PC...just now. Thanks for the guide. But what's the command to list files in current directory...ls?

Unfortunately i cant uninstall the Amazon App.
Where is the mistake?
C:\android-sdk\tools>adb devices
List of devices attached
HT9CRP802817 device
C:\android-sdk\tools>adb shell
# su -ENTER
su -ENTER
# cd /system/app
cd /system/app
# rm -r com.amazon.mp3.apk
rm -r com.amazon.mp3.apk
rm: remove 'com.amazon.mp3.apk'? y
y
rm: can't remove 'com.amazon.mp3.apk': Read-only file system
#
Click to expand...
Click to collapse

Domskibus said:
Unfortunately i cant uninstall the Amazon App.
Where is the mistake?
Click to expand...
Click to collapse
Type
Code:
adb remount
before you do the commands.

what is the difference between rm -r xxxxx.apk to adb uninstall xxxx.apk? They both uninstall them right? Or am I missing something...

You can always boot into recovery and:
adb shell mount /system
adb shell rm /system/app/xxxx.pk
To look what is there:
adb shell ls /system/app

Okay...I've removed all ringtones from the phone. Now I want to put in my own ringtones from the computer. How do I copy all the ringtones I have all at once to the phone instead of one by one?

Damn i deleted the CalendarProvider which i`m guessing handles the sync with google.
Can someone with a Desire Alpha 14 upload the CalendarProvider.apk somewhere?
Thanks!
EDIT: Nevermind i just unzipped the contents of the ROM and pulled it out from there... working again

SiNJiN76 said:
Okay...I've removed all ringtones from the phone. Now I want to put in my own ringtones from the computer. How do I copy all the ringtones I have all at once to the phone instead of one by one?
Click to expand...
Click to collapse
Just put em on your sdcard, the phone will find them automatically. For mp3's you may have to install ring droid or rings extended.

Why not just use Root Explorer (or equiv), navigate to system/app, mount as r/w, find the file you want and rename it to file.apk.bak, revert back to r/o there you go?
You don't need and PC and you can get it back any time this way.

TurboTsi said:
what is the difference between rm -r xxxxx.apk to adb uninstall xxxx.apk? They both uninstall them right? Or am I missing something...
Click to expand...
Click to collapse
Previously, I was using:
Code:
adb remount
adb shell
adb rm -r xxxxx.apk
I tried using:
Code:
adb remount
adb uninstall xxxx.apk
It keeps saying
Code:
Failure
Does adb uninstall work? If so what am I doing wrong?

setzer715 said:
You can always boot into recovery and:
adb shell mount /system
adb shell rm /system/app/xxxx.pk
To look what is there:
adb shell ls /system/app
Click to expand...
Click to collapse
this way worked fantastic!!!

+1 for this. Very helpfull

updated the app list with some more that were present on the latest A19 Desire ROM

I don't understand the insistence on using adb; all of this can be done from within the terminal emulator just fine.
I just removed Music.apk via this method, via the phone, no connection to a PC needed. Also backed it up first via the terminal.

shograt said:
I don't understand the insistence on using adb; all of this can be done from within the terminal emulator just fine.
I just removed Music.apk via this method, via the phone, no connection to a PC needed. Also backed it up first via the terminal.
Click to expand...
Click to collapse
some prefer to type on a full-sized keyboard when available?

Sure, I guess I can understand that.
I guess from my end, it's more spite, defiance, etc - one of the things I detested about the iphone was the requirement of attaching it to a PC (and of having to keep a windows install running, no itunes on linux). Being able to do damned close to everything directly on the phone, is one of the things I love about this phone.

Any Way I can remove Read only Files Like The Amazon mp3 Store without Rooting my Phone ? ?

Related

how to remove gallery?

Hey guys, I'm not sure what I did, but I have 2 galleries on my phone, and its a bit annoying. How do I remove one of them through terminal?
I was able to remove one of my "music" when I pushed HTC Music through, using this...
su
rm -r /system/app/Music.apk
Code:
su
rm -r /system/app/HTCAlbum.apk
thanksss im going to see if that works.
ya it works thanks
-closed
You probably have the htc camera thats why you have 2 galleries. You should make sure your camera still works after you remove the htcgallery.
bmfc187 said:
Code:
su
rm -r /system/app/HTCAlbum.apk
Click to expand...
Click to collapse
Didn't work for me, after putting this terminal said rm: cannot remove ' /system/app/HTCAlbum.apk': Read-only file system.
I'm having this issue as well and the above terminal command doesnt work. Anybody have any other ideas?
Sounds like you got a mixture of 2 camera setups
busybox mount -o rw, remount /system
Then run the other command provided above. (Provided you have htc album, the non htc album is built into camera)
What build is giving you 2 albums. Wipe and reflash.
Thanks soulife...
i have been asking a similar question for weeks now
how to remove the system music app since I pushed HTC music?
I had no idea why it was not working until your busybox input command. Im still not use to working with the g1 on that level (damn DOS)
I think it came from flashing htcmusic onto my cyanogen build. Thanks. Will try out your method.

Back up applications on non-apps2sd phone?

I've chosen not to use app2sd on my phone for various reasons and although I'm satisfied with my decision, flashing new roms has become quite a chore given the fact that I can't wipe without destroying all of my applications as well.
I've taken to using programs, but even using programs is a pain due to the long installation process. I'm currently using TI Package Installer.
Is there any way to backup and restore all applications (protected included) via adb shell or something in the recovery console?
I'm sorry if this has been asked and answered before, but I did a search and could not find anything specifically answering my question.
I'm running a Mytouch3g without a2sd with the newest AmonRa recovery.
I found this info on the following link:
http://forum.xda-developers.com/showthread.php?t=601567
So kudos to swissp:
backing up normal (public) apps:
adb shell cp -r -f /data/app/*.* /sdcard/backups/apps
private apps:
adb shell cp -r -f /data/app-private/*.* /sdcard/backups/apps
DullTree said:
I found this info on the following link:
http://forum.xda-developers.com/showthread.php?t=601567
So kudos to swissp:
backing up normal (public) apps:
adb shell cp -r -f /data/app/*.* /sdcard/backups/apps
private apps:
adb shell cp -r -f /data/app-private/*.* /sdcard/backups/apps
Click to expand...
Click to collapse
Going to make a nandroid backup and try this out. Thanks! Hoping it takes when I send them back.
Edit: Seems to have worked perfectly. For some reason i figured something that simple wouldn't work or it'd be included in Amon RA. Thanks!
My pleasure
If you then want to reinstall all the apps at once :
1. Mount the SD Card on the PC
2. Open a cmd window in the Android SDK\Tools folder and launch this
for %I in ("I:\backups\apps\*.apk") do adb install "%I"
(Replace I: with your mounted SD card's drive letter)
Quite useful
swissp said:
If you then want to reinstall all the apps at once :
1. Mount the SD Card on the PC
2. Open a cmd window in the Android SDK\Tools folder and launch this
for %I in ("I:\backups\apps\*.apk") do adb install "%I"
(Replace I: with your mounted SD card's drive letter)
Quite useful
Click to expand...
Click to collapse
Excellent. Thanks!

[ROM] i made a rom at x-mas based froyo leaked

you will need to preinstall the leaked version sbf (R50)
you will get it from [URL Removed]
1th use the rsd lite and install it and need to get root (use the super oneclick) [URL Removed]
and copy the and install the openrecovery [URL Removed]
please type on cmd
adb shell
su
cp /sdcard/OpenRecovery/orbootstrap/install_script.sh /tmp/i.sh
chmod 755 /tmp/i.sh
/tmp/i.sh STR
2nd download the rom file from [URL Removed] and copy it on sdcard and turn off your phone
and goto recovery push the volume up + power and install the rom
and install the patch (you will get it from [URL Removed]) (sorry it's korean page) (please click the 첨부파일 (1) )
extract the rar and copy the mediaserver to your sdcard and copy the script openrecovery's script folder on sdcard
and execute it from recovery
if you want the app2ext (ext3) please type it on cmd after bootup
mount -t ext3 /dev/block/mmcblk0p2 /sddata
cp -r /data/app /sddata
chmod 777 /sddata/app
cp -r /data/app-private /sddata
chmod 777 /sddata/app-private
rm -R /data/app
rm -R /data/app-private
ln -s /sddata/app /data/app
ln -s /sddata/app-private /data/app-private
then after bootup press the menu key and click the 설정 (it mean 'setting')then 언어 및 키보드 (it mean 'language and keayboard') then select the 언어 선택 (it mean 'select language')
change to the english and go to the market and download the flash player for flash support
i chage and many thing and many function (i not using the DMB, FM radio and many bundle funtion)
it will default setted 1Ghz overclocked (if you not want please change to you want)
i delete the
ArcPhotoworkshop.apk
ArcSoftService.apk
ArcVideoEditor.apk
AtCmd.apk
AudioEffect.apk
BatteryMonitor.apk
Camera.apk
CertInstaller.apk
DeskClock.apk
dictionary_widget.apk
DioDict.apk
DioIME.apk
DrmProvider.apk
DrmSvc.apk
Email.apk
ExtDispService.apk
FMRadio.apk
FOTA.apk
GenieWidget.apk
Gestures.apk
GlobalTimeWidget.apk
GoogleQuickSearchBox.apk
LatinIME.apk
MagicSmokeWallpapers.apk
MobiReader.apk
MotHstcmd.apk
MotoAtCmdPlugin.apk
MotoDebugScreen.apk
MotoNotePad.apk
MotoSVC.apk
PersonalPortal.apk
PhoneConfig.apk
PicoTts.apk
Protips.apk
QuickOffice.apk
SKTHiddenMenu.apk
SoundRecorder.apk
Street.apk
Talk.apk
TDMB.apk
thumbnailservice.apk
TtsService.apk
TvoutNotice.apk
UserDictionaryProvider.apk
VisualizationWallpapers.apk
VoiceSearch.apk
VpnServices.apk
ZkrSubsys.apk
from /system/app/
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#data
/system/lib/libmot_atcmd.so
/system/lib/libmot_atcmd_mflex.so
/system/etc/videoeditor/
/system/etc/photoworkshop/
/system/etc/motorola/com.motorola.android.fota/
/system/etc/motorola/com.motorola.dock/
#framework
/system/framework/com.motorola.android.internal.baton.jar
/system/framework/com.motorola.android.sktdrm.jar
/system/framework/com.motorola.atcmd.base.jar
/system/framework/com.motorola.atcmd.pluginMgr.jar
/system/framework/com.motorola.aui.jar
/system/etc/permissions/com.motorola.android.sktdrm.xml
/system/etc/permissions/com.motorola.atcmd_library.xml
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
fm Radio
/system/etc/fmc_init_1273.2.bts
/system/etc/fm_rx_init_1273.2.bts
/system/lib/libfmradio.so
/system/lib/libfmradio_jni.so
/system/lib/libfmradiostackservice.so
/system/bin/fmradioserver
#remove DMB function
/system/etc/firmware/tdmb_nova_12mhz_b0.inp
/system/lib/libTMI_dmbfw.so
/system/lib/libTMI_dmbfw_moto_jni.so
/system/lib/libmdtvctrl.so
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
libarcsoftpe.so
libarcsoftservice.so
libDioDictEngineNative.so
libDioHWR.so
libextdisp.so
libhdmi.so
libjni_latinime.so
libjni_pinyinime.so
libMobileReader.so
libMobiNativeUtil.so
libmot_mead_jni.so
libttspico.so
libttssynthproxy.so
libtvout.so
libvideoeditor.so
libvoicesearch.so
from /system/lib/
///////////////////////////////////////////////////////////////////////////////////
don't delete the MediaUploader.apk, MotoloraSettingsProvider.apk on /system/app/
if you want the deleted files you can get from [URL Removed] (sorry korean page (please click the 첨부파일 (7) ) ) or SBF (use the sbf recalc and unyaffs)
i not solve the 3G radio and sensor problem (i think it need the 2nd-init) but it is very better original
i insert the apks
adfree
andchat
androidcomics.acv
apktor
apndroid
Applanet
AutoStarts
b119a
backup2gmail
cifs_manager (you can use cifs or samba )
DioDict
drocap2
extendedcontrols
go.market
groupy
iReader
kakao.talk
Maps (update)
MarketAccess
memowidget
sound hound
Milestone overclock
MixZing
money
launcher pro
msn talk
newsrob
nicoro
noraebook
noteeverything
openpharm
pandora
parcel_trace
PdaNet
radiko
rmaps
rockplayer
rootexplorer
SambaFilesharing
simeji
SmartKeyboard_pro
smartkeyboardpro.en
smartkeyboardpro.ko
stopwatch
swiftp
TaskManager
TStore
Vending (update)
Vignette
vlc_remote (old version but not limited version )
vncpro
Weather
webkey
xscope
if you not want it please delete it from /system/app (almost system installed ) (not use many data's storage)
sorry to the copy righters (if you don't want to using the your programs on my rom please content me)
sorry i poor at english and too sleep (at korea now is 6:00AM and i not sleep yesterday and today )
i miss the
apnrecover
go.sms
sound recoder
tasker
LocaleExecute
OutOfMilk
remote_desktop
save_my_attatch
YouTube (ginger bread)
i think if you use the
/system/etc/motorola/bp_nvm_default
/system/etc/motorola/File_Audio
/system/etc/motorola/File_Audio2
/system/etc/motorola/File_GSM
/system/etc/motorola/File_Seem_Flex_Tables
/system/app/Contacts.apk
/system/app/ContactsProvider.apk
/system/app/Phone.apk
/system/app/PhoneConfig.apk
and more some files from your country's original files
you will can recover 3G radio
Perhaps for now we could use an adb shell script to fix the 3g and language
Sent from my HTC Vision using XDA App
Please remove all the copywrighted Apps from the ROM if you want to keep your ROM listed in XDA
also AppPlanet is not allowed in XDA
topic will remain locked until the changes has been made
please contact me via PM

[TOOLS/APP] [CM7/9] dpi/cleaner.zip template & MTP-MassStorage switcher

Hello,
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:
dpi setting:
change the value in the setdpi.sh script​remove 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 up​tweaks:
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 dpi_cleaner_Vxx.zip
-flash a kernel (or not, just what you like)
-reboot, done​
Or in RomManager:
-tick "Advanced Mode" in RomManagers Settings
-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.​
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.
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.
Changes:
V1b
-Upgraded to GAPPS 613, me and others had problems with market and I don't care about the video on talk anymore.
-Removed additional fixing permissions, not needed since they are in CM7 updater-script as well.
-unmount /system and /data when the script is finished flashing
V1c
-Updated cleaning script with modules, logger.co and more init.d scripts (in line with lippols V2)
-Removing also FM.apk, I prefer Spirit FM app nowadays (although the dev of it doesn't anymore)
V1d
-Cleaned the cleaner.sh. Now it is not removing init.d anymore. I removed this because I started thinking about he purpose of my script. It is not needed in here because the nightly will take care of the init.d. Besides that, Lippol is now also deleting the modules. If I did the same you couldn't use the stock kernel with this script.
-Repaired the dalvic-cleaning, before it didn't really clean the part in /data, now it does.
V1e
-new mounting with thanks to Muff99. Before it was more or less accidental that the dalvic-cache in /data was cleaned. Now it is the result of the updater-script. Before it was in the cleaner.sh. Also the logger.ko is now actually removed, before it wasn't.
It is still the gapps 613 because the new market sucks with slower internet connection.
V1f
- added the "stackable mounts" for the time being. I hope this will bring it to the nightlies, it is a good feature. also added the "umsdirtyratio" to speed up USB transfer speeds. And, last but not least, updated the FadeFx tweaks, should improve GPS performance (for us Europeans).
V1g
-removed FadeFx tweaks and changed bootanimation. Stopped adding Gapps, if you want to flash them, do it yourself!
cm101_sX_dpi.zip
- by special request, a version that sets dpi to 210 (SGS1) or 241(sgs3). To be flashed in cwm, both have an addon.d script that will keep the dpi set to 210 on the Samsung Galaxy S GT-i9000 or 241 on the Samsung Galaxy S GT-i9300. And, as a special feature: some output during flashing the nightly, first seen on this addon script (with ofc still a huge thanks to Chainfire).
Thanks Zatta, I'll adjust it to my needs and try it with the next nightly.
It saves some finetuning time after each update.
Sent from my GT-I9000 using XDA Premium App
Do i need to change also the updater-script if i don´t want to remove a specific apk or is it enough to change the cleaner.sh?
CitizenX said:
Do i need to change also the updater-script if i don´t want to remove a specific apk or is it enough to change the cleaner.sh?
Click to expand...
Click to collapse
Just the cleaner. Did you notice that there are also most sounds and ringtones to be cleaned, maybe you like to keep those (or some) as well...
Tapatalked u see
Thanks, yes i saw that, already chnaged the script a little bit.
Zatta said:
Hello,
I am using CM7 for quite a while. Since it got into CM-mainline the flashingrate increased dramaticaly and so did the neccesairy steps to update lately.
So, I created a cwm-flashable zip to do all tasks that I do in one step:
-Flash GAPPS with video for talk: gapps-gb-2011503
-install some tweaks (from FadeFX): Angry GPS with .conf file and nice bootanimation
-sets DPI to 210
-removes a lot of apps, sounds and init.d files (like Lippol94s script and more)
-wipe cache and dalvic cache
-fix permissions RomManager way
-fix additions permissions FadeFx 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:
dpi setting:
change the value in the setdpi.sh script​remove apps, sounds, files:
change the cleaner.sh script (done in a sh script because it is very easy to read and alost impossible to **** other things up​tweaks:
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 gapps_dpi_cleaner.zip:
-boot into CWM
-format /system
-flash cm_galaxysmtd_full-X.zip
-flash gapps_dpi_cleaner.zip
-flash a kernel (or not, just what you like)
-reboot, done​
Or in RomManager:
-tick advanced in options
-choose "install Rom from SD card"
-browse to the cm_galaxysmtd_full-X.zip and select
-choose "ad zipp"
-browse to gapps_dpi_cleaner.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
It can also be used before flashing a kernel only, the famous Lippol94 script is included.
Where to download?
Download it here: http://dl.dropbox.com/u/33044194/gapps_dpi_cleaner.zip
credits for: Chainfire, Backhead92, Lippol94, WiwiPouPou and FadeFx (and many more!)
Note:
I found out that Derrzredeem has done pretty much te same though I like mine better and more easy to adjust hahaha :
http://forum.xda-developers.com/showthread.php?t=1127758
On request: major part of cleaner.sh to see what will be removed.
YOU SHOULD EDIT THIS YOURSELF
Code:
# --- actual script for removing various things ---
# inspired by Insanity Roms and Backhead92
# cleaning init.d inspired by Lippol94 and others
ui_print " Removing unwanted system apps";
rm /system/app/ADWLauncher.apk
rm /system/app/Androidian.apk
rm /system/app/BooksPhone.apk
rm /system/app/GenieWidget.apk
rm /system/app/Calculator.apk
rm /system/app/Calendar.apk
rm /system/app/CalendarProvider.apk
rm /system/app/CarHomeGoogle.apk
rm /system/app/CMWallpapers.apk
rm /system/app/Cyanbread.apk
rm /system/app/DeskClock.apk
rm /system/app/Development.apk
rm /system/app/DSPManager.apk
rm /system/app/Email.apk
rm /system/app/FileManager.apk
rm /system/app/GoogleQuickSearchBox.apk
rm /system/app/HTMLViewer.apk
rm /system/app/Protips.apk
rm /system/app/SoundRecorder.apk
rm /system/app/SpareParts.apk
rm /system/app/Stk.apk
rm /system/app/VisualizationWallpapers.apk
rm /system/app/VoiceDialer.apk
rm /system/fonts/DroidSansArabic.ttf
rm /system/fonts/DroidSansFallback.ttf
rm /system/fonts/DroidSansHebrew.ttf
rm /system/fonts/DroidSansThai.ttf
ui_print " Removing unwanted sounds";
rm /system/media/audio/alarms/Alarm_Beep_01.ogg
rm /system/media/audio/alarms/Alarm_Beep_02.ogg
rm /system/media/audio/alarms/Alarm_Buzzer.ogg
rm /system/media/audio/alarms/Alarm_Classic.ogg
rm /system/media/audio/alarms/Alarm_Rooster_02.ogg
rm /system/media/audio/notifications/Aldebaran.ogg
rm /system/media/audio/notifications/Altair.ogg
rm /system/media/audio/notifications/Antares.ogg
rm /system/media/audio/notifications/arcturus.ogg
rm /system/media/audio/notifications/Beat_Box_Android.ogg
rm /system/media/audio/notifications/Betelgeuse.ogg
rm /system/media/audio/notifications/CaffeineSnake.ogg
rm /system/media/audio/notifications/Canopus.ogg
rm /system/media/audio/notifications/Capella.ogg
rm /system/media/audio/notifications/Castor.ogg
rm /system/media/audio/notifications/CetiAlpha.ogg
rm /system/media/audio/notifications/Cricket.ogg
rm /system/media/audio/notifications/DearDeer.ogg
rm /system/media/audio/notifications/Drip.ogg
rm /system/media/audio/notifications/F1_MissedCall.ogg
rm /system/media/audio/notifications/F1_New_MMS.ogg
rm /system/media/audio/notifications/F1_New_SMS.ogg
rm /system/media/audio/notifications/Fomalhaut.ogg
rm /system/media/audio/notifications/Heaven.ogg
rm /system/media/audio/notifications/Highwire.ogg
rm /system/media/audio/notifications/KzurbSonar.ogg
rm /system/media/audio/notifications/Merope.ogg
rm /system/media/audio/notifications/moonbeam.ogg
rm /system/media/audio/notifications/pixiedust.ogg
rm /system/media/audio/notifications/pizzicato.ogg
rm /system/media/audio/notifications/Plastic_Pipe.ogg
rm /system/media/audio/notifications/Polaris.ogg
rm /system/media/audio/notifications/Pollux.ogg
rm /system/media/audio/notifications/Procyon.ogg
rm /system/media/audio/notifications/regulus.ogg
rm /system/media/audio/notifications/sirius.ogg
rm /system/media/audio/notifications/Sirrah.ogg
rm /system/media/audio/notifications/SpaceSeed.ogg
rm /system/media/audio/notifications/TaDa.ogg
rm /system/media/audio/notifications/Tinkerbell.ogg
rm /system/media/audio/notifications/tweeters.ogg
rm /system/media/audio/notifications/vega.ogg
rm /system/media/audio/notifications/Voila.ogg
rm /system/media/audio/ringtones/ANDROMEDA.ogg
rm /system/media/audio/ringtones/Aquila.ogg
rm /system/media/audio/ringtones/ArgoNavis.ogg
rm /system/media/audio/ringtones/BeatPlucker.ogg
rm /system/media/audio/ringtones/BentleyDubs.ogg
rm /system/media/audio/ringtones/Big_Easy.ogg
rm /system/media/audio/ringtones/BirdLoop.ogg
rm /system/media/audio/ringtones/Bollywood.ogg
rm /system/media/audio/ringtones/BOOTES.ogg
rm /system/media/audio/ringtones/BussaMove.ogg
rm /system/media/audio/ringtones/Cairo.ogg
rm /system/media/audio/ringtones/Calypso_Steel.ogg
rm /system/media/audio/ringtones/CANISMAJOR.ogg
rm /system/media/audio/ringtones/CaribbeanIce.ogg
rm /system/media/audio/ringtones/Carina.ogg
rm /system/media/audio/ringtones/CASSIOPEIA.ogg
rm /system/media/audio/ringtones/Centaurus.ogg
rm /system/media/audio/ringtones/Champagne_Edition.ogg
rm /system/media/audio/ringtones/Club_Cubano.ogg
rm /system/media/audio/ringtones/CrayonRock.ogg
rm /system/media/audio/ringtones/CrazyDream.ogg
rm /system/media/audio/ringtones/CurveBall.ogg
rm /system/media/audio/ringtones/Cygnus.ogg
rm /system/media/audio/ringtones/DancinFool.ogg
rm /system/media/audio/ringtones/Ding.ogg
rm /system/media/audio/ringtones/DonMessWivIt.ogg
rm /system/media/audio/ringtones/Draco.ogg
rm /system/media/audio/ringtones/DreamTheme.ogg
rm /system/media/audio/ringtones/Eastern_Sky.ogg
rm /system/media/audio/ringtones/Eridani.ogg
rm /system/media/audio/ringtones/EtherShake.ogg
rm /system/media/audio/ringtones/FreeFlight.ogg
rm /system/media/audio/ringtones/FriendlyGhost.ogg
rm /system/media/audio/ringtones/Funk_Yall.ogg
rm /system/media/audio/ringtones/GameOverGuitar.ogg
rm /system/media/audio/ringtones/Gimme_Mo_Town.ogg
rm /system/media/audio/ringtones/Glacial_Groove.ogg
rm /system/media/audio/ringtones/Growl.ogg
rm /system/media/audio/ringtones/HalfwayHome.ogg
rm /system/media/audio/ringtones/hydra.ogg
rm /system/media/audio/ringtones/InsertCoin.ogg
rm /system/media/audio/ringtones/LoopyLounge.ogg
rm /system/media/audio/ringtones/LoveFlute.ogg
rm /system/media/audio/ringtones/Lyra.ogg
rm /system/media/audio/ringtones/Machina.ogg
rm /system/media/audio/ringtones/MidEvilJaunt.ogg
rm /system/media/audio/ringtones/MildlyAlarming.ogg
rm /system/media/audio/ringtones/Nairobi.ogg
rm /system/media/audio/ringtones/Nassau.ogg
rm /system/media/audio/ringtones/NewPlayer.ogg
rm /system/media/audio/ringtones/Noises1.ogg
rm /system/media/audio/ringtones/Noises2.ogg
rm /system/media/audio/ringtones/Noises3.ogg
rm /system/media/audio/ringtones/No_Limits.ogg
rm /system/media/audio/ringtones/OrganDub.ogg
rm /system/media/audio/ringtones/Orion.ogg
rm /system/media/audio/ringtones/Paradise_Island.ogg
rm /system/media/audio/ringtones/Pegasus.ogg
rm /system/media/audio/ringtones/PERSEUS.ogg
rm /system/media/audio/ringtones/Playa.ogg
rm /system/media/audio/ringtones/Pyxis.ogg
rm /system/media/audio/ringtones/Revelation.ogg
rm /system/media/audio/ringtones/Rigel.ogg
rm /system/media/audio/ringtones/Ring_Classic_02.ogg
rm /system/media/audio/ringtones/Ring_Digital_02.ogg
rm /system/media/audio/ringtones/Ring_Synth_02.ogg
rm /system/media/audio/ringtones/Ring_Synth_04.ogg
rm /system/media/audio/ringtones/Road_Trip.ogg
rm /system/media/audio/ringtones/RomancingTheTone.ogg
rm /system/media/audio/ringtones/Safari.ogg
rm /system/media/audio/ringtones/Savannah.ogg
rm /system/media/audio/ringtones/Scarabaeus.ogg
rm /system/media/audio/ringtones/Sceptrum.ogg
rm /system/media/audio/ringtones/Seville.ogg
rm /system/media/audio/ringtones/Shes_All_That.ogg
rm /system/media/audio/ringtones/SilkyWay.ogg
rm /system/media/audio/ringtones/SitarVsSitar.ogg
rm /system/media/audio/ringtones/Solarium.ogg
rm /system/media/audio/ringtones/SpringyJalopy.ogg
rm /system/media/audio/ringtones/Steppin_Out.ogg
rm /system/media/audio/ringtones/Terminated.ogg
rm /system/media/audio/ringtones/Testudo.ogg
rm /system/media/audio/ringtones/Third_Eye.ogg
rm /system/media/audio/ringtones/Thunderfoot.ogg
rm /system/media/audio/ringtones/TwirlAway.ogg
rm /system/media/audio/ringtones/URSAMINOR.ogg
rm /system/media/audio/ringtones/VeryAlarmed.ogg
rm /system/media/audio/ringtones/Vespa.ogg
rm /system/media/audio/ringtones/World.ogg
rm /system/media/audio/ui/camera_click.ogg
rm /system/media/audio/ui/LowBattery.ogg
rm -r /system/tts/
ui_print " Cleaning init.d files";
rm /system/etc/init.d/89system_tweak
rm /system/etc/init.d/S98system_tweak
rm /system/etc/init.d/90screenstate_scaling
rm /system/etc/init.d/S98screenstate_scaling
rm /system/etc/init.d/04modules
rm /system/etc/init.d/70zipalign
rm /system/etc/init.d/S70zipalign
rm /system/etc/init.d/S97ramscript
rm /system/etc/init.d/S98SD
rm /system/etc/init.d/07defaulttheme
rm /system/etc/init.d/00banner
rm /system/etc/init.d/02firstboot
rm /system/etc/init.d/S90scheduler
rm /system/etc/init.d/S_volt_scheduler
ui_print " Fixing permissions";
progress 0.50 5;
sleep 3s;
set_progress 1.00;
fix_permissions
#sleep 3s;
Click to expand...
Click to collapse
The "addzip" in RM hasn't worked on CWM_v.4.0.x. It worked only on CWM_v3.x.
saszseb said:
The "addzip" in RM hasn't worked on CWM_v.4.0.x. It worked only on CWM_v3.x.
Click to expand...
Click to collapse
That is correct, I hoped actually that this issue would get corrected somewhere in the recent past. Now I'll wait for the (near) future.
Edit: also backup from RM does not work on CWM 4, it has issues.. That is not related to my zip.
Tapatalked u see
Wonderful!
I currently manually remove things from CM7 I don't need (flash a 1 nightly per week, but still quite some work). Will adapt your script to suit my needs
on cm nigltly 29 i think wifi worked ~10 min... but that's another problem
thank you for the script
Just flashed it on #36:
-from #34 boot in cwm with "reboot to recovery"
-flashed cm7_galaxysmtd_full-36.zip
-flashed gapps_dpi_cleaner.zip
-rebooted. Got stuck on the bootanimation (or got impatient, but waited a couple of minutes)
-rebooted again by pressing the powerbutton for some time
Now running in stock kernel to test it somewhat. Google acounts are still intact, I did not format /sytem.
Hmm, might not be related, but also could be .
First of all thanks! Saves me 7 minutes after every flash
The issue:
Today I wasnt able to update apps, it was just unsuccessful from the market. (or install)
1. cleaned market data > didnt help
2. uninstalled updates > erased market
3. installed gapps > market still gone
4. run your scritp again (this time with the vending from 613) > works
So anyone else experiencing this? Is the market in your script somehow different? Or something else was wrong on install
Just asking if anyone else from here has it. If not I will search somewhere else (have some other ideas which did something to the market, but this started after I started using the script, might be coincidence or not )
Nice to read that someone is using my script with succes, I do it every time myself offcourse.
Today I had also some problems with market, just wrote about it on the CM7 mainthread. Eventually, after doing everything the script does manually and flashing two earlier builds without using my script, market still didn't work. At the end I did an factory reset, inconvenient enough!
With the vending from 613 you mean the newer gapps, as in gapps-gb-2011613.zip ?
I am using the older, withdrawn gapps-gb-2011503.zip within my script to be able to use ffc in talk (not that I use it but it's nice to have...)
What are your other ideas about the market? Maybe I'll change the whole gapps packet to 0613 if more people are facing this problem. Or maybe just leave the talk thing with .so and update the rest, I don't know where this thing is going anyway
Zatta said:
Nice to read that someone is using my script with succes, I do it every time myself offcourse.
Today I had also some problems with market, just wrote about it on the CM7 mainthread. Eventually, after doing everything the script does manually and flashing two earlier builds without using my script, market still didn't work. At the end I did an factory reset, inconvenient enough!
With the vending from 613 you mean the newer gapps, as in gapps-gb-2011613.zip ?
I am using the older, withdrawn gapps-gb-2011503.zip within my script to be able to use ffc in talk (not that I use it but it's nice to have...)
What are your other ideas about the market? Maybe I'll change the whole gapps packet to 0613 if more people are facing this problem. Or maybe just leave the talk thing with .so and update the rest, I don't know where this thing is going anyway
Click to expand...
Click to collapse
Ah yes I meant the new gapps as you wrote . The others, was using chainfire 3d fix for market but that was long ago. So I guess it was the market from the 5 in our case if you experienced it too. So wouldn't be so bad to change them. Btw from the 5 vs 6 I think only market and talk are different all other apps had the same size I guess.
But the fix was easy enough. As said changed the apps in your script and done
again thx
Sent from my GT-I9000 using Tapatalk
I had some gapps problems the first time I used your script. Since then, I switched back to doing all the work manually (using the latest gapps) and don't have problems with gapps anymore...
Means I will change to 613 gasps, including talk. I don't use video calls myself anyway. Update tonight: done!
Edit: Today, 28th of June, I flashed build#41:
format /system
flash cm_galaxysmtd_full-41.zip
flash G613_dpi_cleaner.zip
Everything perfect!
Zatta said:
Or in RomManager (did not work on builds #30 up to #35, flawless since #36):
-tick advanced in options
-choose "install Rom from SD card"
-browse to the cm_galaxysmtd_full-X.zip and select
-choose "add zipp"
-browse to G613_dpi_cleaner_V1B.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
Click to expand...
Click to collapse
where is the "add zipp" option? When I select the ROM-zip I only get the wipe/backup options and that's it?
Edit: never mind, I had to use the advanced options in the settings...
Added that to the "How to use" in the op, thanks. Personally I don't use the RomManager way anymore because as a precaution I do the "format /system" trick, though Antin anounched that the problem that is solved by this trick is not in CM anymore. Will you let me know if it worked for you?
This is a great little tool, it's saved me so much time! Will you continue to update and support it with new versions of gapps etc.? Thanks
What a surprise to see someone actually use it, I already started to think I was the only one
Actually, I am testing/using a different approach with the same goal but this only works with fugumod kernel and has a difficult "howto" so I can't post it here (yet).
To give you an idea: one (flashable) script to find latest nightly on your sd, latest gapps, a modified version of the zip in this thread and latest fugumod and run all that in cwm.
But, progress is slow since I am not a die hard coder and have to spent numerous hours to get it all running without bugs.
If you would like to see how far I got, sent a pm.
Tapatalked u see

[Q] removing stock apps correctly (busybox and terminal emulator)

Alright, so checking up the system folder with root explorer I noticed that there are several applications related to the stock music player.
I can't just simply remove these "apks", right? Pretty certain there'd be leftovers of this app somewhere.
So, I realize, there's no "uninstall" script for the music app, but I was wondering, what is the most correct way to delete music application?
Simple doing this won't cut it, right?
Code:
su
cd system/app
mount -o rw,remount /system
rm -r MusicCommonUtility
rm -rMusicLiveShare2.apk
rm -rMusicPlayerWT.apk
mount -o remount,ro /system
For that kind of things I use Titanium backup app. With that app you can backup ANY app before uninstalling it or just simply uninstalling it. After that reboot the phone and that app is gone.

Resources