APPS that are SAFE to remove - Hero CDMA Themes and Apps

Just as the title says, if you've managed to remove a sprint app and it HAS NOT caused an error at startup, or a "force close," would you please post it here? Be sure you've restarted your phone first just to be sure that you're error free.
Stock Sprint Firmware is available here in case anyone breaks something. ftp://xda:[email protected]/Hero/Official-ROMs/RUU_Hero_C_Sprint_1.29.651.1_signed_release.exe
Remember that everything is case sensitive. For example if you try to "rm sprint_nscar.apk" it won't work. You must type "rm Sprint_Nscar.apk" - without quotations of course.
To remove an app from your phone you must have root access and type the following commands with SU access:
type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Then type:
cd /system/app
then you can type "ls" to list the contents of the directory.
To remove an app the "rm" (Remove) cmd will precede the app name each time. For example: rm Sprint_Nscar.apk (and then hit enter)
Mods can we get a sticky on this? Please?
ALL OF THE APPS LISTED BELOW HAVE BEEN CONFIRMED WITH NO ERRORS AFTER REBOOT WITH CURRENT SPRINT PATCH FROM 11/18/2009.
Sprint_TV.apk
Sprint_Navigator.apk
Sprint_TVWidget.apk
Sprint_NFL.apk
Sprint_Nscar.apk
amazonmp3.apk
Stock.apk
Stock.odex
DCSStock.apk
DCSStock.odex
HtcFootprints.apk
HtcFootprints.odex
HtcFootprintsWidget.apk
HtcFootprintsWidget.odex
LearnMore.apk
com.htc.StockWidget.apk
com.htc.StockWidget.odex
VoiceDialer.apk
VoiceDialer.odex
HtcSoundRecorder.apk
HtcSoundRecorder.odex
DO NOT REMOVE
IMPlugins and ImProvider (.apk and .odex's) Causes com.google.process.gapps Error
IM.apk and IM.odex will break GChat apparently
Removing Googlechat apparently breaks access to the market?
THESE HAVEN'T BEEN CONFIRMED AS OF YET. ANYONE THAT HAS REMOVED THESE AND REBOOTED WITHOUT ANY ISSUES PLEASE POST
rm com.htc.TwitterWidget.apk
rm com.htc.TwitterWidget.odex

Sprint_Nscar.apk

I removed the HtcTwitter + Widget (Peep) I use I Tweet
I removed the Stocks, Footprints, and their widgets
Sprint_TV+Widget, Sprint_Navigation, Sprint_Nscar (not sure why its spelt like that)
IM + Widget, Voice Recorder, Voice Search, Amazon mp3, HTC Mail (Doesn't affect my Gmail at all)

nelson8403 said:
I removed the HtcTwitter + Widget (Peep) I use I Tweet
I removed the Stocks, Footprints, and their widgets
Sprint_TV+Widget, Sprint_Navigation, Sprint_Nscar (not sure why its spelt like that)
IM + Widget, Voice Recorder, Voice Search, Amazon mp3, HTC Mail (Doesn't affect my Gmail at all)
Click to expand...
Click to collapse
Well damn...Awesome.

I removed all this:
Code:
# rm Stock.apk
# rm Stock.odex
# rm Sprint_Nscar.apk
# rm amazonmp3.apk
# rm com.htc.StockWidget.apk
# rm com.htc.StockWidget.odex
# rm com.htc.TwitterWidget.apk
# rm com.htc.TwitterWidget.odex
# rm LearnMore.apk
# rm LearnMore.odex
# rm HtcTwitter.apk
# rm HtcTwitter.odex
# rm IM.apk
# rm IM.odex
# rm IMPlugins.apk
# rm IMPlugins.odex
# rm ImProvider.apk
# rm ImProvider.odex
# rm Sprint_Navigator.apk
# rm HtcRingtoneTrimmer.apk
# rm HtcRingtoneTrimmer.odex
# rm HtcFootprints.apk
# rm HtcFootprints.odex
# rm HtcFootprintsWidget.apk
# rm HtcFootprintsWidget.odex

Negrito said:
I removed all this:
Code:
# rm Stock.apk
# rm Stock.odex
# rm Sprint_Nscar.apk
# rm amazonmp3.apk
# rm com.htc.StockWidget.apk
# rm com.htc.StockWidget.odex
# rm com.htc.TwitterWidget.apk
# rm com.htc.TwitterWidget.odex
# rm LearnMore.apk
# rm LearnMore.odex
# rm HtcTwitter.apk
# rm HtcTwitter.odex
# rm IM.apk
# rm IM.odex
# rm IMPlugins.apk
# rm IMPlugins.odex
# rm ImProvider.apk
# rm ImProvider.odex
# rm Sprint_Navigator.apk
# rm HtcRingtoneTrimmer.apk
# rm HtcRingtoneTrimmer.odex
# rm HtcFootprints.apk
# rm HtcFootprints.odex
# rm HtcFootprintsWidget.apk
# rm HtcFootprintsWidget.odex
Click to expand...
Click to collapse
I"m afraid to remove some things as I've run into that com.htc.provider startup error. Seems navigator or twitter is causing it? But you're ok? have you rebooted your phone yet?

VoXHTC said:
I"m afraid to remove some things as I've run into that com.htc.provider startup error. Seems navigator or twitter is causing it? But you're ok? have you rebooted your phone yet?
Click to expand...
Click to collapse
Actually just did. Got two force close errors, but everything seems to be operating just fine.

Negrito said:
Actually just did. Got two force close errors, but everything seems to be operating just fine.
Click to expand...
Click to collapse
I was never able to get past the force close error I was getting. I press close and It kept reloading the OS over and over and over and.... zzz

VoXHTC said:
I"m afraid to remove some things as I've run into that com.htc.provider startup error. Seems navigator or twitter is causing it? But you're ok? have you rebooted your phone yet?
Click to expand...
Click to collapse
My phone is currently in the middle of another nandroid backup before trying to tweak some settings files...
but the safest way to test would be to "mv [filename] /sdcard/[filename]" and if it causes issues... "mv /sdcard/[filename] [filename]"

Yeah I've backed up all the apps to my desktop computer. I suppose I could do it one by one..zzz

VoXHTC said:
Yeah I've backed up all the apps to my desktop computer. I suppose I could do it one by one..zzz
Click to expand...
Click to collapse
Or someone else who's bored could.

thecodemonk said:
Or someone else who's bored could.
Click to expand...
Click to collapse
I'm that guy!

VoXHTC said:
I'm that guy!
Click to expand...
Click to collapse
Off topic: Bwahaha, the way you typed that made me think "I'm...that...hero!" from a kids show, Larry Boy.

thecodemonk said:
Off topic: Bwahaha, the way you typed that made me think "I'm...that...hero!" from a kids show, Larry Boy.
Click to expand...
Click to collapse
lol never heard of it. It's not possible that I'm too young...

VoXHTC said:
lol never heard of it. It's not possible that I'm too young...
Click to expand...
Click to collapse
Heh, it's ok...it's a Christian TV subshow of Veggie Tales (it's pretty entertaining to me). It's mostly the voice that I find funny from the theme song.

Ok, I think that's all I'm going to do tonight.. More tomorrow late night for me.. zzz

i removed
com.htc.twitterwidget.odex
stock.odex
sprint_nscar.apk
teeter.odex
amazonmp3.apk
teeter.apk
at first everything worked fine then i powered down and got the htc force close error then i did a hard reset and the phone rebooted fine with those apps gone

702DROID said:
i removed
com.htc.twitterwidget.odex
stock.odex
sprint_nscar.apk
teeter.odex
amazonmp3.apk
teeter.apk
at first everything worked fine then i powered down and got the htc force close error then i did a hard reset and the phone rebooted fine with those apps gone
Click to expand...
Click to collapse
I'm going to guess and say it's com.htc.twitterwidget.odex that is causing the error... That's my vote

702DROID said:
i removed
com.htc.twitterwidget.odex
stock.odex
sprint_nscar.apk
teeter.odex
amazonmp3.apk
teeter.apk
at first everything worked fine then i powered down and got the htc force close error then i did a hard reset and the phone rebooted fine with those apps gone
Click to expand...
Click to collapse
i've removed all of those but teeter (i can't imagine a game would cause that) and i've had 0 issues, after quite a few reboots, are you sure it wasn't something else

VoXHTC said:
I'm going to guess and say it's com.htc.twitterwidget.odex that is causing the error... That's my vote
Click to expand...
Click to collapse
that was mine to i was tripping out (new to all this) so luckly the hard reset worked and my phone works fine now

Related

i didnt need a thread for this....sorrry!!!!!!!!!

I've tried the method below and it doesn't seem to work........it doesn't give me errors......but it doesn't delete the files that I don't want anymore.
I did try searching the forums but didn't see any posts regarding this....but seeing how new the 1.5 firmware it is...I didn't think there would be a post on it anyway and didn't think the command prompt or the location of these files would change
Any help is appreciated
-Type su
mount -o rw,remount -t yaffs2 /dev/block/
mtdblock3 /system
rm -r /system/media/audio/ringtones
rm -r /system/media/audio/notifications
I did this yesterday, and removed all the stock ringtones and replaced with htc defaults.
I did this from ADB shell, I suppose you can do it from the terminal, matter of fact I'm sure you can.
The trick is to use busybox.
#commands below
busybox rm -rf /system/media/audio/ringtones # remove ringtones
busybox rm -rf /system/media/audio/notifications # removes notifications
# this removed all my ringtones and folders
After that I just used "adb push c:\ringtones /system/media/audio/ringtones"
That simply took whatever .ogg / .mp3 ringtones and put them back on the system memory of my G1.
Using JF 1.5, didn't need to go into recovery or anything.

[Guide]JAC HERO CLEANUP

If you want to run your hero build fast like cyanogen just copy and paste these in cmd
for slow_sd
adb shell rm -r /data/app_s/Quickoffice_HTC_1.0.1.apk
adb shell rm -r /data/app_s/DCSStock.apk
adb shell rm -r /data/app_s/DCSStock.odex
adb shell rm -r /data/app_s/HtcPhotoWidget.apk
adb shell rm -r /data/app_s/HtcPhotoWidget.odex
adb shell rm -r /data/app_s/com.htc.StockWidget.apk
adb shell rm -r /data/app_s/com.htc.StockWidget.odex
adb shell rm -r /data/app_s/com.htc.TwitterWidget.apk
adb shell rm -r /data/app_s/com.htc.TwitterWidget.odex
adb shell rm -r /data/app_s/htcbookmarkwidget.apk
adb shell rm -r /data/app_s/htcbookmarkwidget.odex
adb shell rm -r /data/app_s/htccalendarwidgets.apk
adb shell rm -r /data/app_s/htccalendarwidgets.odex
adb shell rm -r /data/app_s/htccontactwidgets.apk
adb shell rm -r /data/app_s/htccontactwidgets.odex
adb shell rm -r /data/app_s/htcmsgwidgets.apk
adb shell rm -r /data/app_s/htcmsgwidgets.odex
adb shell rm -r /data/app_s/htcsearchwidgets.apk
adb shell rm -r /data/app_s/htcsearchwidgets.odex
adb shell rm -r /data/app_s/Stock.apk
adb shell rm -r /data/app_s/Stock.odex
adb shell rm -r /data/app_s/htcmailwidgets.apk
adb shell rm -r /data/app_s/htcmailwidgets.odex
for normal
adb shell rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
adb shell rm -r /system/sd/app_s/DCSStock.apk
adb shell rm -r /system/sd/app_s/DCSStock.odex
adb shell rm -r /system/sd/app_s/HtcPhotoWidget.apk
adb shell rm -r /system/sd/app_s/HtcPhotoWidget.odex
adb shell rm -r /system/sd/app_s/com.htc.StockWidget.apk
adb shell rm -r /system/sd/app_s/com.htc.StockWidget.odex
adb shell rm -r /system/sd/app_s/com.htc.TwitterWidget.apk
adb shell rm -r /system/sd/app_s/com.htc.TwitterWidget.odex
adb shell rm -r /system/sd/app_s/htcbookmarkwidget.apk
adb shell rm -r /system/sd/app_s/htcbookmarkwidget.odex
adb shell rm -r /system/sd/app_s/htccalendarwidgets.apk
adb shell rm -r /system/sd/app_s/htccalendarwidgets.odex
adb shell rm -r /system/sd/app_s/htccontactwidgets.apk
adb shell rm -r /system/sd/app_s/htccontactwidgets.odex
adb shell rm -r /system/sd/app_s/htcmsgwidgets.apk
adb shell rm -r /system/sd/app_s/htcmsgwidgets.odex
adb shell rm -r /system/sd/app_s/htcsearchwidgets.apk
adb shell rm -r /system/sd/app_s/htcsearchwidgets.odex
adb shell rm -r /system/sd/app_s/Stock.apk
adb shell rm -r /system/sd/app_s/Stock.odex
adb shell rm -r /system/sd/app_s/htcmailwidgets.apk
adb shell rm -r /system/sd/app_s/htcmailwidgets.odex
you can also selectively delete. Only widgets left are
MUSIC
SETTINGS
CLOCK
WEATHER
thanks, this must have taken a............g..............e.................s to type out
Thats cool thatnks,
but can i take out 1 or 2 from the list that i would like to keep and then run it in cmd?
EDIT: then again if i have them all on my sd, this wont work..
Just copy and paste the OP and make a batch file. Then just run it
What does DCSStock do?
You can also use root explorer and delete
Lakers3408 said:
You can also use root explorer and delete
Click to expand...
Click to collapse
That's what I was about to suggest...granted I hate that the item list resets itself after every delete...(if u delete hypothetical ZZZ.apk and want to delete the ZZZ.odex file u'd have to scroll to the bottom again)
Can you delete the weather widget without messing up the clock/weather widget?
abteer said:
Can you delete the weather widget without messing up the clock/weather widget?
Click to expand...
Click to collapse
Yes u can, just dont touch Weather.apk
Lakers3408 said:
Yes u can, just dont touch Weather.apk
Click to expand...
Click to collapse
Thank you sir. Even though you like the Lakers. Go Celtics!
Go cavaliers!
Thanks!
I deleted all those widgets.
Lakers3408 said:
What does DCSStock do?
Click to expand...
Click to collapse
thats the service for the stocks widget and app
RaiderX303 said:
thats the service for the stocks widget and app
Click to expand...
Click to collapse
So if you remove that then it stands to reason that NONE/ZERO htc widgets will work?
Lakers3408 said:
So if you remove that then it stands to reason that NONE/ZERO htc widgets will work?
Click to expand...
Click to collapse
the widgets will work, it is for the stock widgets that show company stock prices
RaiderX303 said:
the widgets will work, it is for the stock widgets that show company stock prices
Click to expand...
Click to collapse
Are you sure its for the Stock market?
I removed Stock.apk and odex, that removed the Stocks from my app drawer and removing the com.htc.StockWidget.apk and odex removes the Stock widget.
So your tellling me that DCSStock is also part of it?
If u are on a EDGE internet connection i suggest u dont use any widgets that use the internet like twitter or mail, They slow down rosie when they pull updates from the internet.
You could also remove the Mail.apk/odex if you only use gmail.
Yep, this is what I was doing for a while, then I just realized what a lifesaver just resigning the file is...just follow this thread: http://forum.xda-developers.com/showthread.php?t=471586 and get the resigning setup so all you have to do is this:
-Download Update file
-Delete the files you dont want in there directly from the update file (like OP is doing with command lines there) [its also better b/c you can choose other apps you may not want in there )]
-Go to Run > CMD > type: java testsign update.zip
-Done.
-Put on SD card and go.
Ive been doing that several weeks now, its really quicker once you get it setup (if you have adb (doing the command lines posted), then your already half way there).
Otherwise this works too .
the biggest system drag, though, is that clock and widget. I made a build with that uninstalled, kept mail and msg widgets, and installed the alarm clock from tehseano's rom, and rosie is now fast, even with all 7 home screens loaded. i dont use a world clock,so it works for me
is there anyway i can remove these apks and odex files from the update.zip and possibly a few others that i dont want... i have tried removing them from the update.zip and installing, but it fails... file not found Quickoffice_HTC_1.0.1.apk
any ideas ???

Need Settings.apk and Settings.odex

I did a search on the forums and google and can't find a solution. While removing bloat ware on my phone I some how removed my settings apk and odex.
I'm not sure how or why I did this but I think it was because I was using the "up" button in the cmd prompt so I wouldn't have to retype file names when changing apk to odex and some how or another deleted Settings.apk/odex on some fluke (a copy and paste of the commands I typed in below).
Does anyone know where I can get these two files back (Settings.apk and Settings.odex), and what the commands are to put them back in the proper directory.
Thank you for any help.
Code:
/system/app # rm Sprint_NASCAR.apk
rm Sprint_NASCAR.apk
/system/app # rm Sprint_NFL.apk
rm Sprint_NFL.apk
/system/app # rm Settings.odex
rm Settings.odex
/system/app # rm Settings.apk
rm Settings.apk
/system/app # rm com.htc.StockWidget.odex
rm com.htc.StockWidget.odex
/system/app # rm com.htc.StockWidget.apk
rm com.htc.StockWidget.apk
edit: Sorry, I meant to put this in the developers forum, but to be honest I am not sure where this belongs.
edit edit: did a advanced nanroid restore of my system and all is good. sorry for the obvious problem and fix, I am a bit new.

[NOT FOR NOOBS] Bloatware removal - Hardcore mode! (use at your own risk)

Since I was asked to release the remove bloatware script (hardcore mode) from the now more or less obsolete kn0x0ut toolbox, here it goes.
This baby removes like 99,9% of bloatware you can think of, including most google stuff (only Google Account, Google Services Framework, and Play store remain, thats all you need to download apps), all the "test" apps and otherwise useless stuff in my eyes.
Only run this if you know what you are doin and know how to reinstall the stuff incase something gets deleted that you want to use.
Make a nandroid backup before too or something, and report if something important is not working after running. (was created for ML2 rom, dunno if it works with Kitkat)
Calling, GPS, Wifi, etc. should all be still working. (but NetworkLocation gets deleted, this will stop the phone sending location data to google afaik, but GPS-aware apps still work. Just install it back if you want to be tracked errr I mean if you want apps to get your location by network data from google.
WTF cant upload sh, so put this into a sh script and run it:
Code:
#!/system/bin/sh
#############################################
# #
# VARIABLES #
# #
#############################################
### VERSION ###
REMOVE_BLOAT_VERSION="2.00"
############################################
# #
# MAIN #
# #
############################################
echo ""
echo "######################################"
echo "# #"
echo "# remove_bloatware vREMOVE_BLOAT_VERSION by z.ro-ice #"
echo "# (hardcore version) #"
echo "# #"
echo "######################################"
echo ""
echo "Please make a backup of the system before proceeding!!!"
echo ""
echo "This will remove all the bloatware do you want to proceed?"
echo "(type \"yes\" to proceed)"
read CONTINUE
if [ "$CONTINUE" != "yes" ]; then
echo "Aborting the bloatware removal..."
exit 1
fi
echo "Removing bloatware from /system/app..."
rm /system/app/AccuweatherPhone2013.apk
rm /system/app/AccuweatherPhone2013.odex
rm /system/app/AirMotionTryActually.apk
rm /system/app/AirMotionTryActually.odex
rm /system/app/AlarmWidget.apk
rm /system/app/AlarmWidget.odex
rm /system/app/AllShareCastPlayer.apk
rm /system/app/AllShareCastPlayer.odex
rm /system/app/AllshareControlShare.apk
rm /system/app/AllshareFileShare.apk
rm /system/app/AllshareFileShare.odex
rm /system/app/AllshareFileShareClient.apk
rm /system/app/AllshareFileShareClient.odex
rm /system/app/AllshareFileShareServer.apk
rm /system/app/AllshareFileShareServer.odex
rm /system/app/AllshareMediaServer.apk
rm /system/app/AllshareMediaServer.odex
rm /system/app/AllshareMediaShare.apk
rm /system/app/AllshareMediaShare.odex
rm /system/app/AntHalService.apk
rm /system/app/AntHalService.odex
rm /system/app/ANTPlusPlugins.apk
rm /system/app/ANTRadioService.apk
rm /system/app/AutomationTest_FB.apk
rm /system/app/AutoPreconfig.apk
rm /system/app/AutoPreconfig.odex
rm /system/app/BackupRestoreConfirmation.apk
rm /system/app/BackupRestoreConfirmation.odex
rm /system/app/BCService.apk
rm /system/app/BCService.odex
rm /system/app/BeamService.apk
rm /system/app/Bloomberg.apk
rm /system/app/BluetoothTest.apk
rm /system/app/BluetoothTest.odex
rm /system/app/Blurb.apk
rm /system/app/Books.apk
rm /system/app/CapabilityManagerService.apk
rm /system/app/ChatON_FEATURE_H.apk
rm /system/app/ChocoEUKor.apk
rm /system/app/Chrome.apk
rm /system/app/CHS_J_Device_only.apk
rm /system/app/ClipboardSaveService.apk
rm /system/app/ClipboardSaveService.odex
rm /system/app/ClockPackage.apk
rm /system/app/ClockPackage.odex
rm /system/app/CloudAgent.apk
rm /system/app/ConfigUpdater.apk
rm /system/app/ContainerAgent.apk
rm /system/app/ContainerAgent.odex
rm /system/app/ContainerEventsRelayManager.apk
rm /system/app/ContainerEventsRelayManager.odex
rm /system/app/ContentSearch.apk
rm /system/app/ContentSearch.odex
rm /system/app/ContextProvider.apk
rm /system/app/ContextProvider.odex
rm /system/app/CoolEUKor.apk
rm /system/app/CSC.apk
rm /system/app/CSC.odex
rm /system/app/DigitalClock.apk
rm /system/app/DigitalClock.odex
rm /system/app/DirectConnect.apk
rm /system/app/DirectConnect.odex
rm /system/app/DirectShareGallery.apk
rm /system/app/DirectShareGallery.odex
rm /system/app/DirectShareManager.apk
rm /system/app/DirectShareManager.odex
rm /system/app/DroidSansSherifItalic.apk
rm /system/app/Dropbox.apk
rm /system/app/DropboxOOBE.apk
rm /system/app/DRSService.apk
rm /system/app/DRSService.odex
rm /system/app/DSMForwarding.apk
rm /system/app/DSMForwarding.odex
rm /system/app/DSMLawmo.apk
rm /system/app/DSMLawmo.odex
rm /system/app/DualClockDigital.apk
rm /system/app/DualClockDigital.odex
rm /system/app/EasyFavoritesContactsWidget.apk
rm /system/app/EasyFavoritesContactsWidget.odex
rm /system/app/EasyLauncher.apk
rm /system/app/EasyLauncher.odex
rm /system/app/EasySettings.apk
rm /system/app/EasySettings.odex
rm /system/app/EdmSimPinService.apk
rm /system/app/EdmSimPinService.odex
rm /system/app/EdmSysScopeService.apk
rm /system/app/EdmSysScopeService.odex
rm /system/app/EdmVpnServices.apk
rm /system/app/EdmVpnServices.odex
rm /system/app/ELMAgent.apk
rm /system/app/ELMAgent.odex
rm /system/app/EnterprisePermissions.apk
rm /system/app/Evernote.apk
rm /system/app/FactoryCamera_FB.apk
rm /system/app/FactoryKeystring_FB.apk
rm /system/app/FactoryTest_FB.apk
rm /system/app/Flipboard.apk
rm /system/app/FmmDM.apk
rm /system/app/FmmDM.odex
rm /system/app/FmmDS.apk
rm /system/app/FmmDS.odex
rm /system/app/FotaClient.apk
rm /system/app/FotaClient.odex
rm /system/app/FWUpgrade.apk
rm /system/app/FWUpgrade.odex
rm /system/app/GalaxyFinder.apk
rm /system/app/GalaxyFinder.odex
rm /system/app/GearManagerStub.apk
rm /system/app/Gmail2.apk
rm /system/app/GMS_Maps.apk
rm /system/app/GmsCore.apk
rm /system/app/GoogleBackupTransport.apk
rm /system/app/GoogleCalendarSyncAdapter.apk
rm /system/app/GoogleContactsSyncAdapter.apk
rm /system/app/GoogleFeedback.apk
rm /system/app/GooglePartnerSetup.apk
rm /system/app/GoogleSearchWidget2.apk
rm /system/app/GoogleSearchWidget2.odex
rm /system/app/GroupPlay_25.apk
rm /system/app/Hangouts.apk
rm /system/app/HwModuleTest.apk
rm /system/app/INDI_Server.apk
rm /system/app/InteractiveKeyguardTutorial.apk
rm /system/app/InteractiveKeyguardTutorial.odex
rm /system/app/InteractiveTutorial.apk
rm /system/app/InteractiveTutorial.odex
rm /system/app/KeyguardBackupRestore.apk
rm /system/app/KeyguardBackupRestore.odex
rm /system/app/Kies.apk
rm /system/app/Kies.odex
rm /system/app/KLMSAgent.apk
rm /system/app/KLMSAgent.odex
rm /system/app/KNOXAgent.apk
rm /system/app/KNOXAgent.odex
rm /system/app/KnoxAttestationAgent.apk
rm /system/app/KnoxAttestationAgent.odex
rm /system/app/KNOXStore.apk
rm /system/app/KNOXStore.odex
rm /system/app/KNOXStub.apk
rm /system/app/LocalFOTA.apk
rm /system/app/Magazines.apk
rm /system/app/MDMApp.apk
rm /system/app/MDMApp.odex
rm /system/app/MediaUploader.apk
rm /system/app/MobilePrint3.apk
rm /system/app/MobilePrint3.odex
rm /system/app/MobilePrintSvc_Epson.apk
rm /system/app/MobilePrintSvc_HP.apk
rm /system/app/MobilePrintSvc_Samsung.apk
rm /system/app/MobilePrintSvc_WFDS.apk
rm /system/app/MobileTrackerEngineTwo.apk
rm /system/app/MobileTrackerEngineTwo.odex
rm /system/app/Music2.apk
rm /system/app/MusicLiveShare2.apk
rm /system/app/MusicLiveShare2.odex
rm /system/app/MusicPlayerWT.apk
rm /system/app/MusicPlayerWT.odex
rm /system/app/NetworkLocation.apk
rm /system/app/NfcTest.apk
rm /system/app/NfcTest.odex
rm /system/app/NoiseField.apk
rm /system/app/NoiseField.odex
rm /system/app/PanningTryActually.apk
rm /system/app/PanningTryActually.odex
rm /system/app/PartnerBookmarksProvider.apk
rm /system/app/PartnerBookmarksProvider.odex
rm /system/app/PCWClientS18.apk
rm /system/app/Peel.apk
rm /system/app/Personalization.apk
rm /system/app/Personalization.odex
rm /system/app/PhaseBeam.apk
rm /system/app/PhaseBeam.odex
rm /system/app/PhoneErrService.apk
rm /system/app/PhoneErrService.odex
rm /system/app/PhotoRetouching_H.apk
rm /system/app/PhrCloudService.apk
rm /system/app/PickUpTutorial.apk
rm /system/app/PickUpTutorial.odex
rm /system/app/PlayGames.apk
rm /system/app/PlusOne.apk
rm /system/app/PolarisViewer5.apk
rm /system/app/Preconfig.apk
rm /system/app/Preconfig.odex
rm /system/app/PreloadInstaller.apk
rm /system/app/PreloadInstaller.odex
rm /system/app/QuickMemoCover.apk
rm /system/app/QuickMemoCover.odex
rm /system/app/QuickMemoWidget.apk
rm /system/app/ringtoneBR.apk
rm /system/app/ringtoneBR.odex
rm /system/app/RoseEUKor.apk
rm /system/app/S_Translator_CSLi_STUB.apk
rm /system/app/SamsungApps_H.apk
rm /system/app/SamsungHub_land.apk
rm /system/app/SamsungHubUpdater.apk
rm /system/app/SamsungLink18.apk
rm /system/app/Samsungservice_H.apk
rm /system/app/SamsungTTS.apk
rm /system/app/SamsungVideo_H.apk
rm /system/app/SamsungWatchON.apk
rm /system/app/SamsungWidget_ActiveApplication.apk
rm /system/app/SamsungWidget_ActiveApplication.odex
rm /system/app/SBrowser.apk
rm /system/app/SBrowser.odex
rm /system/app/SBrowserTry.apk
rm /system/app/SBrowserTry.odex
rm /system/app/sCloudBackupApp.apk
rm /system/app/sCloudBackupProvider.apk
rm /system/app/sCloudDataRelay.apk
rm /system/app/sCloudDataSync.apk
rm /system/app/sCloudQuotaApp.apk
rm /system/app/sCloudSyncCalendar.apk
rm /system/app/sCloudSyncContacts.apk
rm /system/app/sCloudSyncSBrowser.apk
rm /system/app/sCloudSyncSNote3.apk
rm /system/app/SCONE_Android_ProxyService.apk
rm /system/app/SCParser.apk
rm /system/app/SecCalculator2.apk
rm /system/app/SecCalculator2.odex
rm /system/app/SecFactoryPhoneTest.apk
rm /system/app/secimsfw.apk
rm /system/app/secimsfw.odex
rm /system/app/SecMyFiles2.apk
rm /system/app/SecMyFiles2.odex
rm /system/app/SecSetupWizard2013.apk
rm /system/app/SecSetupWizard2013.odex
rm /system/app/SecurityProviderSEC.apk
rm /system/app/SecurityProviderSEC.odex
rm /system/app/SensorService2_5.apk
rm /system/app/serviceModeApp_FB.apk
rm /system/app/ServiceModeApp_RIL.apk
rm /system/app/SetupWizard.apk
rm /system/app/SharedStorageBackup.apk
rm /system/app/SharedStorageBackup.odex
rm /system/app/ShareShotService.apk
rm /system/app/ShareShotService.odex
rm /system/app/ShareVideo.apk
rm /system/app/ShareVideo.odex
rm /system/app/SHealth2_5.apk
rm /system/app/SimpleWidget.apk
rm /system/app/SimpleWidget.odex
rm /system/app/SketchBookStub.apk
rm /system/app/SmartcardManager.apk
rm /system/app/SmartcardService.apk
rm /system/app/SmartcardService.odex
rm /system/app/SNS.apk
rm /system/app/SPDClient.apk
rm /system/app/SPDClient.odex
rm /system/app/SPlannerAppWidget.apk
rm /system/app/SPlannerAppWidget.odex
rm /system/app/SPPPushClient_Dev.apk
rm /system/app/StoryAlbumStubActivation.apk
rm /system/app/StoryAlbumWidget.apk
rm /system/app/StoryAlbumWidget.odex
rm /system/app/Street.apk
rm /system/app/SuggestionService.apk
rm /system/app/SuggestionService.odex
rm /system/app/S-Voice_Android_phone_H.apk
rm /system/app/SyncmlDM.apk
rm /system/app/SyncmlDM.odex
rm /system/app/SyncmlDS.apk
rm /system/app/SyncmlDS.odex
rm /system/app/SysScope.apk
rm /system/app/Tag.apk
rm /system/app/Tag.odex
rm /system/app/talkback.apk
rm /system/app/TravelService.apk
rm /system/app/TravelService.odex
rm /system/app/Velvet.apk
rm /system/app/VideoEditor_Lite_H.apk
rm /system/app/Videos.apk
rm /system/app/VoiceSearchStub.apk
rm /system/app/WebManual.apk
rm /system/app/WebManual.odex
rm /system/app/WfdBroker.apk
rm /system/app/WfdBroker.odex
rm /system/app/WlanTest.apk
rm /system/app/WlanTest.odex
rm /system/app/wssyncmlnps.apk
rm /system/app/wssyncmlnps.odex
rm /system/app/YahoostockPhone2013.apk
rm /system/app/YahoostockPhone2013.odex
rm /system/app/YouTube.apk
echo "Removing bloatware from /system/lib..."
rm /system/lib/libChatOnAMSImageFilterLibs-1.0.2.so
rm /system/lib/libcordon.so
rm /system/lib/libhealth_jni.so
rm /system/lib/libINDIServer.so
rm /system/lib/libpolarisexternel.so
rm /system/lib/libpolarisexternelSDK.so
rm /system/lib/libpolaristextprint5v.so
rm /system/lib/libpolarisviewer5.so
rm /system/lib/libpolarisviewerSDK.so
rm /system/lib/libscone_proxy.so
rm /system/lib/libSVIEngine.so
rm /system/lib/libswev8.cr.so
rm /system/lib/libvwengine.so
echo "Removing bloatware folder /system/containers..."
rm -r /system/containers
echo "Removing bloatware folder /system/tts..."
rm -r /system/tts
echo "Removing bloatware folder /system/voicebargeindata..."
rm -r /system/voicebargeindata
echo "Removing bloatware folder /system/wakeupdata..."
rm -r /system/wakeupdata
echo "Removing bloatware folder /system/etc/secure_storage/com.sec.knox.store..."
rm -r /system/etc/secure_storage/com.sec.knox.store
echo "Removing bloatware /system/tima_measurement_info..."
rm /system/tima_measurement_info
echo ""
If it was created for 4.3 I doubt very much it will work on KitKat. I tried the other user script lying around the forum these days and too much names and locations have been changed (mainly of samsung stuff)
testmonkey1 said:
If it was created for 4.3 I doubt very much it will work on KitKat. I tried the other user script lying around the forum these days and too much names and locations have been changed (mainly of samsung stuff)
Click to expand...
Click to collapse
Would love to see a hard-core script for KitKat 4.4.2.
:good:
gianna68 said:
Would love to see a hard-core script for KitKat 4.4.2.
:good:
Click to expand...
Click to collapse
Try Echoe's debloater. Haven't tested it myself.
Hey,
The script is not working here (mj7, run as admin). rm failed ...... Is there anything special to run this script?
Thanks
Can't help with this but if you dont get it working, i made a flashable zip from this script (the hardcore version). I wont post it because its not my work but i could send you a link if you are interested. All credits to zr0ice.
Gesendet von meinem SM-N9005 mit Tapatalk
A.N.Droid said:
Can't help with this but if you dont get it working, i made a flashable zip from this script (the hardcore version). I wont post it because its not my work but i could send you a link if you are interested. All credits to zr0ice.
Gesendet von meinem SM-N9005 mit Tapatalk
Click to expand...
Click to collapse
Please, I really like to make it work.
Thanks in advance
didopidobg said:
Please, I really like to make it work.
Thanks in advance
Click to expand...
Click to collapse
you got pm.
A.N.Droid said:
you got pm.
Click to expand...
Click to collapse
same here my good man.
A.N.Droid said:
Can't help with this but if you dont get it working, i made a flashable zip from this script (the hardcore version). I wont post it because its not my work but i could send you a link if you are interested. All credits to zr0ice.
Gesendet von meinem SM-N9005 mit Tapatalk
Click to expand...
Click to collapse
@A.N.Droid can you please pm me the flash-able zip too thank you
A.N.Droid said:
Can't help with this but if you dont get it working, i made a flashable zip from this script (the hardcore version). I wont post it because its not my work but i could send you a link if you are interested. All credits to zr0ice.
Gesendet von meinem SM-N9005 mit Tapatalk
Click to expand...
Click to collapse
..so why don't you ask for a permition from @zr0ice and share your work !?
...'coz I want it too
Maybe i do later.
In the meantime, just send me pm if somebody wants it instead of spamming this thread(no offence).
All of you that already requested the zip will get the link later this day.
But please confirm if it worked for you because i dont want to send out s#*t that doesnt work.
Have a nice day
Gesendet von meinem SM-N9005 mit Tapatalk
Thanks, it works like a charm.
A.N.Droid said:
Maybe i do later.
In the meantime, just send me pm if somebody wants it instead of spamming this thread(no offence).
All of you that already requested the zip will get the link later this day.
But please confirm if it worked for you because i dont want to send out s#*t that doesnt work.
Have a nice day
Gesendet von meinem SM-N9005 mit Tapatalk
Click to expand...
Click to collapse
@A.N.Droid pm sent
all pm´s sent.
i left zroice a msg, asking for his permission to post it here.
i cleaned up the script because i relized that i put some additional files and folders in. nothing of importance, few sound files and so on.
now it is 100% the zroice hardcore script.
if you like it, leave him a thanks :good:
A.N.Droid said:
all pm´s sent.
i left zroice a msg, asking for his permission to post it here.
i cleaned up the script because i relized that i put some additional files and folders in. nothing of importance, few sound files and so on.
now it is 100% the zroice hardcore script.
if you like it, leave him a thanks :good:
Click to expand...
Click to collapse
@A.N.Droid thanks, works like a charm
wasnt online for a few days. Go ahead and post a link to your zip-version if you want. I don't mind it.
Ill take a look what you added to the list =)
By the way for those that failed to run it in terminal / over adb.. did you remount system and run it as root before you did?
ok.
here is the flashable zip made from the debloater script from the 1st post.
nothing was added or removed.
@zroice for the additonal files, i will take a look tomorrow and post it.
A.N.Droid said:
ok.
here is the flashable zip made from the debloater script from the 1st post.
nothing was added or removed.
@zroice for the additonal files, i will take a look tomorrow and post it.
Click to expand...
Click to collapse
this work with the new priv-app dir. ?
rooooooooney said:
this work with the new priv-app dir. ?
Click to expand...
Click to collapse
this was not made for kitkat 4.4.2.
if you want to debloat a kk based rom, i'm sure you will find something in my signature

How to debloat Moto G 2015 XT1541 Marshmallow ?

Hi @ll,
I'm new here in the Motorola section and I have a question.
I've updated my Moto G 2015 to Marshmallow and wanna debloat the stock firmware.
The device has an unlocked bootloader and is rooted correctly.
But every try ends in a freeze after the second Motorola Logo is shown and the device
doesn't start the launcher. The display lights a little bit and dim the backlight all ~5
seconds.
I've used System Application Remover and deleted the APKs. Freeze the apps over
Titanium Backup brings the same effect.
Disable apps over Autostart does the same.
Apps I've tested to freeze or remove:
- Google+
- Hangouts
- Maps
Can someone tell me how to do this right with this device ?
Thx in advanced
D3V!Lc0r3
Titanium backup mate
@therealduff1: You don't read my post correctly. TB doesn't work too ...
Try to re flash stock rom , and then do it. If that does not work , flash a custom rom
@therealduff1: I've installed the stock firmware and it's not the first try. On every other device it's working without a problem.
It's not the solution to install a custom firmware. I wanna stay on stock because no custom firmware works correctly
with WiFi.
I've found the file 70-gapps.sh under /system/addon.d
Is that the problem ? I think so ... because the files will be backuped and restored ...
Code:
#!/sbin/sh
#
# /system/addon.d/70-gapps.sh
#
. /tmp/backuptool.functions
list_files() {
cat /tmp/gapps.prop
fi
free_tmp_size_kb=$(grep "^free_tmp_size_kb" /tmp/gapps.prop | cut -d= -f2)
if [ ! "$free_tmp_size_kb" ]; then
free_tmp_size_kb=$(df -k /tmp | tail -n 1 | awk '{ print $4 }')
echo "free_tmp_size_kb=$free_tmp_size_kb" >> /tmp/gapps.prop
fi
buffer_size_kb=204800
if [ $((installed_gapps_size_kb + buffer_size_kb)) -ge "$free_tmp_size_kb" ]; then
C=/sdcard/tmp-gapps
fi
case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file "$S"/"$FILE"
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
[ -f "$C/$S/$FILE" ] && restore_file "$S"/"$FILE" "$R"
done
;;
pre-backup)
# Stub
;;
post-backup)
# Stub
;;
pre-restore)
# Remove Stock/AOSP apps (from GApps Installer)
rm -rf /system/app/Calculator
rm -rf /system/app/ExactCalculator
rm -rf /system/app/FineOSCalculator
rm -rf /system/app/Calendar
rm -rf /system/app/FineOSCalendar
rm -rf /system/priv-app/Calendar
rm -rf /system/app/DeskClock
rm -rf /system/app/FineOSDeskClock
rm -rf /system/app/Exchange2
rm -rf /system/priv-app/Exchange2
rm -rf /system/app/PackageInstaller
rm -rf /system/priv-app/PackageInstaller
rm -rf /system/priv-app/packageinstaller
rm -rf /system/priv-app/Tag
# Remove 'other' apps (per installer.data)
rm -rf /system/app/CalendarGoogle
rm -rf /system/app/CloudPrint
rm -rf /system/app/DeskClockGoogle
rm -rf /system/app/EditorsDocsStub
rm -rf /system/app/EditorsSheetsStub
rm -rf /system/app/EditorsSlidesStub
rm -rf /system/app/Gmail
rm -rf /system/app/Gmail2
rm -rf /system/app/GoogleCalendar
rm -rf /system/app/GoogleCloudPrint
rm -rf /system/app/GoogleHangouts
rm -rf /system/app/GoogleKeep
rm -rf /system/app/GoogleLatinIme
rm -rf /system/app/GooglePlus
rm -rf /system/app/Keep
rm -rf /system/app/NewsWeather
rm -rf /system/app/NewsstandStub
rm -rf /system/app/PartnerBookmarksProvider
rm -rf /system/app/PrebuiltBugleStub
rm -rf /system/app/PrebuiltKeepStub
rm -rf /system/app/QuickSearchBox
rm -rf /system/app/Vending
rm -rf /system/priv-app/GmsCore
rm -rf /system/priv-app/GmsCore_update
rm -rf /system/priv-app/GoogleHangouts
rm -rf /system/priv-app/GoogleNow
rm -rf /system/priv-app/GoogleSearch
rm -rf /system/priv-app/OneTimeInitializer
rm -rf /system/priv-app/QuickSearchBox
rm -rf /system/priv-app/Velvet_update
rm -rf /system/priv-app/Vending
# Remove 'priv-app' apps from 'app' (per installer.data)
rm -rf /system/app/ConfigUpdater
rm -rf /system/app/GoogleBackupTransport
rm -rf /system/app/GoogleFeedback
rm -rf /system/app/GoogleLoginService
rm -rf /system/app/GoogleOneTimeInitializer
rm -rf /system/app/GooglePartnerSetup
rm -rf /system/app/GoogleServicesFramework
rm -rf /system/app/OneTimeInitializer
rm -rf /system/app/Phonesky
rm -rf /system/app/PrebuiltGmsCore
rm -rf /system/app/SetupWizard
rm -rf /system/app/Velvet
# Remove 'required' apps (per installer.data)
rm -rf /system/app/LatinIME/lib/arm/libjni_latinimegoogle.so
rm -rf /system/lib/libjni_latinimegoogle.so
rm -rf /system/lib64/libjni_latinimegoogle.so
# Remove 'user requested' apps (from gapps-config)
;;
post-restore)
# Recreate required symlinks (from GApps Installer)
install -d "/system/app/FaceLock/lib/arm"
ln -sfn "/system/lib/libfacelock_jni.so" "/system/app/FaceLock/lib/arm/libfacelock_jni.so"
install -d "/system/app/LatinIME/lib/arm"
ln -sfn "/system/lib/libjni_latinimegoogle.so" "/system/app/LatinIME/lib/arm/libjni_latinimegoogle.so"
# Remove any empty folders we may have created during the removal process
for i in /system/app /system/priv-app /system/vendor/pittpatt /system/usr/srec /system/vendor/pittpatt; do
find $i -type d | xargs -r rmdir -p --ignore-fail-on-non-empty;
done;
# Fix ownership/permissions and clean up after backup and restore from /sdcard
find /system/vendor/pittpatt -type d -exec chown 0:2000 '{}' \; # Change pittpatt folders to root:shell per Google Factory Settings
for i in $(list_files); do
chown root:root "/system/$i"
chmod 644 "/system/$i"
chmod 755 $(dirname "/system/$i")
done
rm -rf /sdcard/tmp-gapps
;;
esac
Debloating google apps is possible.
Flash stock firmaware.
Download pico gapps for your android version and flash through twrp.
This will remove most of the google apps and it will remove stock google launcher too.
So you need to use any 3rd party launcher on your phone.
Arcade said:
Debloating google apps is possible.
Flash stock firmaware.
Download pico gapps for your android version and flash through twrp.
This will remove most of the google apps and it will remove stock google launcher too.
So you need to use any 3rd party launcher on your phone.
Click to expand...
Click to collapse
This sounds intriguing. I googled pico gapps but could not find what apps get removed or replaced from stock. I am also interested if pico gapps will remove many of the Google requirements such as turning on auto-sync to use Gmail. I would love to get rid of Hangouts, Google+, Movies, Photos, & Music. I am just afraid to mess with anything in the /system. I don't mind Maps but wouldn't mind a suitable replacement.
MrTooPhone said:
This sounds intriguing. I googled pico gapps but could not find what apps get removed or replaced from stock. I am also interested if pico gapps will remove many of the Google requirements such as turning on auto-sync to use Gmail. I would love to get rid of Hangouts, Google+, Movies, Photos, & Music. I am just afraid to mess with anything in the /system. I don't mind Maps but wouldn't mind a suitable replacement.
Click to expand...
Click to collapse
So just here...
Pico gapps is replacement for all the bloats. It has all the required apps for the functionality of play store and ither google apps.
First of all install 3rd party launcher then move it to system.
Download tge pico gapps from here.... http://opengapps.org/
Flash using twrp. It will replace all unnecessary apps even maps but you can dowload it later and have it working and other required apps too.
I already realised that is not possible to freeze Google Now app and Google Now launcher with TB. The phone gets all blank after a reboot, just how mentioned in OP. I can freeze G+, Maps, G Music, etc. in Settings>Apllications. Never tried to install pico gapps on top of stock firmware.
@Arcade: Thx for this awesome tip You've pushed
me into the right direction
I've tested it but the way is not so easy as described.
First of all I've made a backup over TWRP. After that,
I've flashed open_gapps-arm-6.0-pico-20160325.zip
over the stock firmware.
But all Google Apps will be recovered after starting.
Here's a working method:
Code:
- install a 3rd party launcher like Trebuchet
- open Root Explorer or ES File Explorer and delete
70-gapps.sh under /system/addon.d
- reboot into Recovery and flash Open GApps Pico
- wipe cache / dalvik
- reboot the device
- but the GApps are always there
- take Títanium Backup and delete the unneeded APKs
- restart your device another time and that's it :D
The device isn't freezing when it's starting into the launcher.
If something goes wrong, restore your BACKUP
I'm not responsible for soft- and / or hardware crash !!!
DL-Links:
https://uploadshub.com/murhu6y9ut4s <- Trebuchet
https://uploadshub.com/d9h3uwqyjo8g <- Open GApps ARM 6.0 Pico
D3V!Lc0r3 said:
@Arcade: Thx for this awesome tip You've pushed
me into the right direction
I've tested it but the way is not so easy as described.
First of all I've made a backup over TWRP. After that,
I've flashed open_gapps-arm-6.0-pico-20160325.zip
over the stock firmware.
But all Google Apps will be recovered after starting.
Here's a working method:
Code:
- install a 3rd party launcher like Trebuchet
- open Root Explorer or ES File Explorer and delete
70-gapps.sh under /system/addon.d
- reboot into Recovery and flash Open GApps Pico
- wipe cache / dalvik
- reboot the device
- but the GApps are always there
- take Títanium Backup and delete the unneeded APKs
- restart your device another time and that's it :D
The device isn't freezing when it's starting into the launcher.
If something goes wrong, restore your BACKUP
I'm not responsible for soft- and / or hardware crash !!!
DL-Links:
https://uploadshub.com/murhu6y9ut4s <- Trebuchet
https://uploadshub.com/d9h3uwqyjo8g <- Open GApps ARM 6.0 Pico
Click to expand...
Click to collapse
Yes certainly I have tried it earlier with LP on stock firmware. It kinda work great.
Thanks pressed will be appreciated if I helped you. ?

Categories

Resources