Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,192 Members 37,600 Now Online
XDA Developers Android and Mobile Development Forum

Removed some unneeded files.. [7-10]

Tip us?
 
joey3002
Old
(Last edited by joey3002; 10th July 2010 at 01:36 PM.) Reason: adding info about mounting root
#1  
Senior Member - OP
Thanks Meter 63
Posts: 1,050
Join Date: Mar 2009
Default Removed some unneeded files.. [7-10]

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
- HTC G1 - HTC Evo (made the clear battery doors)
- Iphone 4s - LG Nexus 4 (very happy to be back on Android)
- HTC One - Samsung S4
- Samsung Note 3- Next big thing?
 
TrevE
Old
#2  
Retired Recognized Developer
Thanks Meter 3,655
Posts: 2,031
Join Date: 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
DONATE TO THE EFF Let them know XDA-Developers sent you or you support the cause (https://www.eff.org/deeplinks/2011/1...s-legal-threat)
 
joey3002
Old
(Last edited by joey3002; 7th July 2010 at 03:38 AM.)
#3  
Senior Member - OP
Thanks Meter 63
Posts: 1,050
Join Date: 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
- HTC G1 - HTC Evo (made the clear battery doors)
- Iphone 4s - LG Nexus 4 (very happy to be back on Android)
- HTC One - Samsung S4
- Samsung Note 3- Next big thing?
 
joey3002
Old
(Last edited by joey3002; 7th July 2010 at 03:51 AM.)
#4  
Senior Member - OP
Thanks Meter 63
Posts: 1,050
Join Date: Mar 2009
now if i could only figure out which file is "Device Self Service"
- HTC G1 - HTC Evo (made the clear battery doors)
- Iphone 4s - LG Nexus 4 (very happy to be back on Android)
- HTC One - Samsung S4
- Samsung Note 3- Next big thing?
 
TrevE
Old
#5  
Retired Recognized Developer
Thanks Meter 3,655
Posts: 2,031
Join Date: Apr 2007

 
DONATE TO ME
pretty sure its like sdsa.apk
DONATE TO THE EFF Let them know XDA-Developers sent you or you support the cause (https://www.eff.org/deeplinks/2011/1...s-legal-threat)
 
_Burst_
Old
#6  
_Burst_'s Avatar
Senior Member
Thanks Meter 335
Posts: 889
Join Date: May 2010
Location: San Antonio, TX

 
DONATE TO ME
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.
 
joey3002
Old
#7  
Senior Member - OP
Thanks Meter 63
Posts: 1,050
Join Date: Mar 2009
thats guys. I will leave it since it might be integral to the phone system.
- HTC G1 - HTC Evo (made the clear battery doors)
- Iphone 4s - LG Nexus 4 (very happy to be back on Android)
- HTC One - Samsung S4
- Samsung Note 3- Next big thing?
 
SteelH
Old
#8  
Senior Member
Thanks Meter 2,899
Posts: 2,954
Join Date: 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.
 
pseudoremora
Old
#9  
pseudoremora's Avatar
Senior Member
Thanks Meter 69
Posts: 1,212
Join Date: 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.
 
danoftw
Old
(Last edited by danoftw; 9th July 2010 at 04:46 PM.)
#10  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Jun 2010
Quote:
Originally Posted by pseudoremora View Post
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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes