Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Removed some unneeded files.. [7-10]

OP joey3002

7th July 2010, 04:24 AM   |  #1  
OP Senior Member
Thanks Meter: 63
 
1,050 posts
Join Date:Joined: Mar 2009
I have a slight issue.. nothing major. I run Damages 3.2.newest

anyway, I am trying to write a simple text file so that I can remove all the junk I dont want. Everything is working great EXCEPT now when i plug the phone into the computer, i do not get the choice of mounting the sdcard or charging only.. Which file controls that?

ok, here is my updated script.. this will REMOVE all sense items too... I use adw and have a vanilla lockscreen I installed. Obviously, make a backup before you run this one...

Code:
##### Stops OTA
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cd /system/etc/security
mv otacerts.zip otacerts.zip.bak
##### Does removing of all app I do not want
cd /system/app
rm com.htc.NewsReaderWidget.apk
rm HTCAlbum.apk
rm Flickr.apk
rm *FriendStr*.apk
rm Mail.apk
rm RSS.apk
rm SprintTVWidget.apk
rm Sprint_App_Updater.apk
rm htc msgwidgets.apk
rm htcsearchwidgets.apk
rm htcsettingwidgets.apk
rm HtcWeatherWallpaper.apk
rm SocialNetworkProvider.apk
rm GenieWidget.apk
rm com.htc.FriendStreamWidget.apkrm 
rm HtcLocationPicker.apk
rm HtcLocationService.apk
rm HtcStreamPlayer.apk
rm MagicSmokeWallpapers.apk
rm Mode10Wallpapers.apk
rm FieldTrial.apk
rm logcollector.apk
rm UploadProvider.apk
rm FTP.apk
rm GSD.apk
rm FieldTest.apk
rm FilePicker.apk
rm WifiRouter.apk
rm BugReporter.apk
rm Music.apk
rm Talk.apk
rm VoiceDialer.apk
rm VoiceSearch.apk
rm htcmailwidgets.apk
rm HTCMobileGuide.apk
rm rm HtcWeatherWallpaper.apk
rm htcmsgwidgets.apk
rm com.facebook.katana.apk
rm HTCNew.apk
rm Launcher2.apk
rm HtcAddProgramWidget.apk
rm Rosie.apk
rm HtcClockWidget.apk
rm Sprint_NASCAR.apk
rm HtcFMRadio.apk
rm WidgetDownloadManager.apk
rm HtcFacebook.apk
rm WorldClock.apk
rm HtcLockScreen.apk
rm com.htc.FriendStreamWidget.apk
rm HtcMusic.apk
rm com.htc.MusicWidget.apk
rm HtcNaviPanel.apk
rm com.htc.TwitterWidget.apk
rm HtcPhotoWidget.apk
rm com.htc.WeatherWidget.apk
rm HtcRingtoneTrimmer.apk
rm htcbookmarkwidget.apk
rm DeskClock.apk
rm HtcSoundRecorder.apk
rm htccalendarwidgets.apk
rm FriendStream.apk
rm HtcTwitter.apk
rm htccontactwidgets.apk

mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system

### PCSCII.apk - THIS STOPS PC SYNCING
### DmService.apk -THIS STOPS PRL OR PROFILE UPDATES
Last edited by joey3002; 10th July 2010 at 02:36 PM. Reason: adding info about mounting root
7th July 2010, 04:26 AM   |  #2  
Retired Recognized Developer
Thanks Meter: 3,661
 
2,031 posts
Join Date:Joined: Apr 2007
Donate to Me
rm PCSCII.apk

thats mounting iirc

also you have friendstream deleted but not facebook, that would cause perma sync unless you turn off live sync in htcfacebook
7th July 2010, 04:35 AM   |  #3  
OP Senior Member
Thanks Meter: 63
 
1,050 posts
Join Date:Joined: Mar 2009
treve

thanks.. you rock! do you ever sleep? lol

removing facebook crap now and then pushing that other file back


EDIT - I already removed fb stuff using the uninstalling you provided
Last edited by joey3002; 7th July 2010 at 04:38 AM.
7th July 2010, 04:45 AM   |  #4  
OP Senior Member
Thanks Meter: 63
 
1,050 posts
Join Date:Joined: Mar 2009
now if i could only figure out which file is "Device Self Service"
Last edited by joey3002; 7th July 2010 at 04:51 AM.
7th July 2010, 05:57 AM   |  #5  
Retired Recognized Developer
Thanks Meter: 3,661
 
2,031 posts
Join Date:Joined: Apr 2007
Donate to Me
pretty sure its like sdsa.apk
7th July 2010, 05:59 AM   |  #6  
_Burst_'s Avatar
Senior Member
Flag San Antonio, TX
Thanks Meter: 335
 
889 posts
Join Date:Joined: May 2010
Donate to Me
More
device selfe service is SDSA.apk i believe.

the apk that controls what you select is actually embedded in HtcSetupWizard.apk.

Why, i dunno. I dont think the option in the settings works if you remove it. Havent tested it in awhile.
7th July 2010, 11:58 AM   |  #7  
OP Senior Member
Thanks Meter: 63
 
1,050 posts
Join Date:Joined: Mar 2009
thats guys. I will leave it since it might be integral to the phone system.
9th July 2010, 04:51 PM   |  #8  
Senior Member
Thanks Meter: 2,899
 
2,954 posts
Join Date:Joined: Jun 2010
I just rename my apks to xxx.backup when i want to try removing something. Then If something takes a **** and breaks, I can just rename it again and remove the .backup. RootExplorer is an awesome tool for this, no need for a PC or recovery mode, you can rename/delete etc the /system right from your phone.

Also, SDSA.apk is 100% certainly "Device Self Service". You can either rename it like I mentioned above to be safe or delete it. The only think that app does is allow you to runs OTA updating. Something you don't want anyhow if you root your phone.
9th July 2010, 05:24 PM   |  #9  
pseudoremora's Avatar
Senior Member
Thanks Meter: 70
 
1,212 posts
Join Date:Joined: Nov 2009
My script looks pretty identical, which I then package as an update.zip and within seconds everything's gone . I ran into trouble with removing FriendStream and having the sync issue, but got that resolved.

Nice script.
9th July 2010, 05:35 PM   |  #10  
Junior Member
Thanks Meter: 0
 
15 posts
Join Date:Joined: Jun 2010
Quote:
Originally Posted by pseudoremora

My script looks pretty identical, which I then package as an update.zip and within seconds everything's gone . I ran into trouble with removing FriendStream and having the sync issue, but got that resolved.

Nice script.

Could you please host it?

Sorry if you already have it up somewhere, but I searched your posts and I couldnt find it anywhere.
Last edited by danoftw; 9th July 2010 at 05:46 PM.

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

Advanced Search
Display Modes