Can a Gscript script be converted to work with SL4A? - Android Software/Hacking General [Developers Only]

I have a script that works with Gscript that needs root and I would like to run it with SL4A if possible so that I can launch with tasker. Can this be done?
This is the script :
#Android Market
busybox rm -R /data/data/com.android.vending/cache
#Browser
busybox rm -R /data/data/com.android.browser/cache/webviewCache
#GMail
busybox rm -R /data/data/com.google.android.gm/cache/webviewCache
#Google Maps
busybox rm -R /data/data/com.google.android.apps.maps/cache/webviewCache
#Google Maps StreetView
busybox rm -R /data/data/com.google.android.street/cache
#Youtube
busybox rm -R /data/data/com.google.android.youtube/cache
#Reboot using Rom Manager binary
/data/data/com.koushikdutta.rommanager/files/reboot
Sent from my PC36100 using XDA App

Related

[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 ???

[Post ROOT Guide] App Removal + Backup Walkthrough Video + App list for customisation

You might need to watch it in YouTube to get the annotations
http://www.youtube.com/watch?v=n24YhtjjlGI
If it works for you please post to let people know.
Here is the text you will need to add if you want to remove them all, if not just add the lines you want to.
NOW ALSO INCLUDES BACKUP Thanks Grospolina.
Code:
@echo off
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb shell mkdir /sdcard/apps
@adb shell cp /system/app/mox* /sdcard/apps
@adb shell cp /system/app/off* /sdcard/apps
@adb shell cp /system/app/play* /sdcard/apps
@adb shell cp /system/app/track* /sdcard/apps
@adb shell cp /system/app/EManual* /sdcard/apps
@adb shell cp /system/app/SemcIME* /sdcard/apps
@adb shell cp /system/app/LatinImeTutorial* /sdcard/apps
@adb shell cp /system/app/AndroidQuadrapop* /sdcard/apps
@adb shell cp /system/app/LatinIME* /sdcard/apps
@adb shell cp /system/app/SEMCTouchPal* /sdcard/apps
@adb shell cp /system/app/se-supp* /sdcard/apps
@adb shell cp /system/app/Launch* /sdcard/apps
@adb shell cp /data/app/*.zip /sdcard/apps
@adb shell rm /system/app/mox*
@adb shell rm /system/app/off*
@adb shell rm /system/app/play*
@adb shell rm /system/app/track*
@adb shell rm /system/app/EManual*
@adb shell rm /system/app/SemcIME*
@adb shell rm /system/app/LatinImeTutorial*
@adb shell rm /system/app/AndroidQuadrapop*
@adb shell rm /system/app/LatinIME*
@adb shell rm /system/app/SEMCTouchPal*
@adb shell rm /system/app/se-supp*
@adb shell rm /system/app/Launch*
@adb shell rm /system/app/SEMCTouchPalKoreanQWERTY.apk
@adb shell rm /system/app/SEMCTouchPalChinese.apk
@adb shell rm /data/app/*.zip
@adb shell rm -r /etc/semc/startupshow
@adb shell rm -r /etc/semc/preset/app
What they are (Add CP in place of RM if you want a backup)
@adb shell rm /system/app/mox* - Moxia
@adb shell rm /system/app/off* - Office Suite
@adb shell rm /system/app/play* - PlayNow
@adb shell rm /system/app/track* - Track ID
@adb shell rm /system/app/EManual* - Manual
@adb shell rm /system/app/SemcIME* - Input Method Editor SE
@adb shell rm /system/app/LatinImeTutorial* - Input Method Editor Latin Tutorial
@adb shell rm /system/app/AndroidQuadrapop* - The Quadra Pop Game
@adb shell rm /system/app/LatinIME* - Input Method Editor Latin
@adb shell rm /system/app/SEMCTouchPal* - (Unsure)
@adb shell rm /system/app/se-supp* - SE Support App
@adb shell rm /system/app/Mediascape* - mediascape
@adb shell rm /system/app/Timescape* - Timescape
@adb shell rm /system/app/PcCompanionInstaller* - PcCompanion Installer
@adb shell rm /system/app/Music* - androids Music Player (and “Video” Player)
@adb shell rm /system/app/CdfInfoAccessor* - Accessory related Service ???
@adb shell rm /system/app/DrmProvider* - Provides DRM functions, needed to access media files (including ringtones)
@adb shell rm /system/app/LearningClient* - some kind of sony ericcson client linked everywhere....
@adb shell rm /system/app/FaceRecognition* - camera face Recognition
@adb shell rm /system/app/AndroidSyncService* - Service sync
@adb shell rm /system/app/semc-backup-rachael* - backup app
@adb shell rm /system/app/Launch* - SE Standard Home Screen
@adb shell rm /data/app/*.zip - WisePilot data (See Note 1)
@adb shell rm -r /etc/semc/startupshow - SE Splash Screen
@adb shell rm -r /etc/semc/preset/app - WisepPilot App
@adb shell rm /system/app/SEMCTouchPalKoreanQWERTY.apk - Korean Keypad
@adb shell rm /system/app/SEMCTouchPalChinese.apk - Chinese Keypad
If you know the others post them up and i will add them, Also if you know of other parts people might want to remove feel free to post them up too and we can get a list going.
Notes:
1: If you delete the WisePilot data, you also have to uninstall the WisePilot app itself. Just uninstall it from Settings > Applications > Manage applications > WisePilot, or use ExUninstall.
App Removal Files
App Remover only from Shiwantha: http://forum.xda-developers.com/showpost.php?p=7026097&postcount=40
App Cleaner/Backup from Grospolina: http://forum.xda-developers.com/showpost.php?p=7016299&postcount=31
Updated with App List
Thanks, this is helpful. One of the unsure one says, tutorial and I think it is in setttings option tutorial.
Nimche said:
Thanks, this is helpful. One of the unsure one says, tutorial and I think it is in setttings option tutorial.
Click to expand...
Click to collapse
yeah with it saying Latin at the beginning it made me unsure as to what exactly it was for.
IME -> Input Method Editor. So basically the pre-installed keyboards
@adb shell rm /system/app/SemcIME* - (unsure)
@adb shell rm /system/app/LatinImeTutorial* - (Unsure)
@adb shell rm /system/app/LatinIME* - (Unsure)
ttxdragon said:
IME -> Input Method Editor. So basically the pre-installed keyboards
@adb shell rm /system/app/SemcIME* - (unsure)
@adb shell rm /system/app/LatinImeTutorial* - (Unsure)
@adb shell rm /system/app/LatinIME* - (Unsure)
Click to expand...
Click to collapse
Wicked Thanks.
I deleted launcher but I need install again
Please can you upload launcher.apk y launcher.odex of r2b fw ?
with this command can i install again ?
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/Launcher.apk of=/system/app/Launcher.apk
adb shell dd if=/sdcard/apps/Launcher.odex of=/system/app/Launcher.odex
adb shell chmod 644 /system/app/Launcher.apk
adb shell chmod 644 /system/app/Launcher.odex
adb shell reboot
thanks
rosco16 said:
I deleted launcher but I need install again
Please can you upload launcher.apk y launcher.odex of r2b fw ?
with this command can i install again ?
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/Launcher.apk of=/system/app/Launcher.apk
adb shell dd if=/sdcard/apps/Launcher.odex of=/system/app/Launcher.odex
adb shell chmod 644 /system/app/Launcher.apk
adb shell chmod 644 /system/app/Launcher.odex
adb shell reboot
thanks
Click to expand...
Click to collapse
Thats your code you will need and you can re install it using the removal video but using the below text instead
Code:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb shell dd if=/sdcard/apps/Launcher.apk of=/system/app/Launcher.apk
@adb shell dd if=/sdcard/apps/Launcher.odex of=/system/app/Launcher.odex
@adb shell chmod 644 /system/app/Launcher.apk
@adb shell chmod 644 /system/app/Launcher.odex
@adb shell reboot
unfortunately i dont have the files though, someone will though.
and how can i install again startupshow ( splashscreen ) ?
not sure what the exact code would be, someone will be allong soon though who does.
Hi there. I really, really hate Timescape lol. Can you please tell me how to remove that, also just incase, if the removal of it ends up screwing up something, can you post how to reinstall it also.
thank you and keep up the great work
I've got Korean, Japanese and chinese keyboards (even tho I used the UK fw?)
maybe we should add those to the list?
The thing is.
Is there really any point in deleting stuff?
yes saving space, but I dont think they're too big?
We should try and make a list of the apps that run on the background doing stuff. those are the ones we should focus on getting rid of.
shukla said:
Hi there. I really, really hate Timescape lol. Can you please tell me how to remove that, also just incase, if the removal of it ends up screwing up something, can you post how to reinstall it also.
thank you and keep up the great work
Click to expand...
Click to collapse
You can't remove it, as it is linked to the phone (calling/messaging) aspect of the phone.
You also can't remove mediascape, otherwise your headphones won't work.
aussiebuddha said:
I've got Korean, Japanese and chinese keyboards (even tho I used the UK fw?)
maybe we should add those to the list?
The thing is.
Is there really any point in deleting stuff?
yes saving space, but I dont think they're too big?
We should try and make a list of the apps that run on the background doing stuff. those are the ones we should focus on getting rid of.
Click to expand...
Click to collapse
the reason you have other keyboards is due to you using the firmware in this post,
http://forum.xda-developers.com/showpost.php?p=6514692&postcount=2
Its not so much the space but other aspects, it leaves your CPU free to only think about what you want it too not "should i do this with this or that"
Chewitt said:
the reason you have other keyboards is due to you using the firmware in this post,
http://forum.xda-developers.com/showpost.php?p=6514692&postcount=2
Its not so much the space but other aspects, it leaves your CPU free to only think about what you want it too not "should i do this with this or that"
Click to expand...
Click to collapse
actually, I did use those firmware, but I later reflashed with the new UK firmware before I rooted.
aussiebuddha said:
actually, I did use those firmware, but I later reflashed with the new UK firmware before I rooted.
Click to expand...
Click to collapse
Looks like you didnt carry out a factory reset then...
Also, I think we should remove Wisepilot.
It should be big, and AFAIK it's a paid GPS software?
aussiebuddha said:
Also, I think we should remove Wisepilot.
It should be big, and AFAIK it's a paid GPS software?
Click to expand...
Click to collapse
You dont need root to remove that one its just a standard uninstall
Im rooted with latest R2BA020, but I wanna remove moxier and all these Asian keyboards,
Ive Tried methods mentioned in initial post, it fails. can any one help?

[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. ?

[Tool][Universal Debloater][02.03.2017] Brought To You By The Phronesis Team....

The plan was to release this debloating utility in the Phronesis rom thread but it was later decided to have it in it's own dedicated thread so users of our rom don't get confused.
The script is provided as it and it's users responsibility to know what to debloat. The advice is to be careful of files to debloat. If you don't know what a file does, it's better not to remove it. You can Google what each app does if any doubt.
No member of the Know-How Team will be held responsible if you delete what you're not meant to delete. Don't expect your alarm to work if you have removed your clock, don't come crying to us that you missed you appointment because your alarm did not sound when you've debloated your clock. The utility is for people who know what they are doing!
##########################################################################################################
What's this utility for?
1. The very reason for this utility is to make a lean rom from your currently installed rom. Many users prefer to have application they don't use or consider bloat or useless removed from their phone to free up space, boost performance and reduce overhead on the system
2. Can this utility be used for other rom or is it purely for Phronesis Rom Series?
This utility can be used for any rom, any version of Lollipop or Marshmallow. Be it Note, Note 7 S4, S5 etc, can also be use for Tablets. Not tested on Nougat version.
3. How does the utility work?
The working of the utility is very simple, you tell it what you want removed by editing the debloating file and any app corresponding to that entry will be removed. You can only get back deleted files by doing a dirty flash of your rom.
4. How can I customize this utility for my usage?
Different users with different requirements. The script in the zip is based on my own preference, you will need to customize the script for your usage. Flashing the zip as it is will delete apps corresponding to the entries in the shell script which is for my own personal preference.
The attached zip as it is can be flashed to debloat your firmware. It will save about 200MB space in the system memory. But know that files will be deleted according to my preferences. E.g. I have choose to have all the AllShare apps removed which means I won't be able to send or receive files via WIFI Direct.
It's very easy to edit the file for your usage. You will need a file editor, e.g. Notepad++ and file archiver, e.g. 7zip. Follow the steps below to customize the utility for your usage
1. Download the attached debloater utility zip file.
2. Unzip or open archive.
3. Inside the phronesis folder is a file named "debloat.sh". Open this folder with Notepad++
4. Make changes as needed and save. Ensure you do not change the file name or it's extension i.e. the .sh, else the script will fail to debloat your device. See post #2 for the content of the shell script.
5. You can put hash "#" in front of any entry you want to disable. No need to delete the entire line. See example in post 2.
6. Put back the script and copy zip to your phone.
7. Flash as you will normally flash a rom.
Credit and Contributors:
@filchi756
@Logel
@6h0st
Thanks for all your effort team. Nothing would have been impossible without you:good:
Changelog:
V3 - Added delete dalvik-cache
V2 - XDA released
v1 - Initial compilation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Debloater Script Content
#!/sbin/sh
# =========================================
# Phronesis Debloating Script
# =========================================
# User can modify this file by adding custom entry in later section of this script
# =========================================
# Append any line you which not to delete with #. See usage in script.
# =========================================
# Remember that with great power comes great responsibility. So use with care.
# =========================================
# Cleaning system/app
rm -rf /system/app/AASAservice
rm -rf /system/app/AdvSoundDetector2015
rm -rf /system/app/AllShareCastPlayer
rm -rf /system/app/AllshareFileShare
rm -rf /system/app/AllshareFileShareClient
rm -rf /system/app/AllshareFileShareServer
rm -rf /system/app/AllshareMediaShare
rm -rf /system/app/AntHalService
rm -rf /system/app/ANTPlusPlugins
rm -rf /system/app/ANTPlusTest
rm -rf /system/app/ANTRadioService
rm -rf /system/app/AssistantMenu_M
rm -rf /system/app/AutoPreconfig
rm -rf /system/app/BasicDreams
rm -rf /system/app/BBCAgent
rm -rf /system/app/BeaconManager_40
rm -rf /system/app/BeamService
rm -rf /system/app/BookmarkProvider
rm -rf /system/app/CarmodeStub
rm -rf /system/app/ChocoEUKor
rm -rf /system/app/Chrome
rm -rf /system/app/ChromeCustomizations
rm -rf /system/app/ClockPackage_M
rm -rf /system/app/CloudGateway
rm -rf /system/app/ControlTV
rm -rf /system/app/CoolEUKor
rm -rf /system/app/CoreApps
rm -rf /system/app/DictDiotek
rm -rf /system/app/Drive
rm -rf /system/app/DRParser
rm -rf /system/app/EasymodeContactsWidget
rm -rf /system/app/EasySetup
rm -rf /system/app/EdmSimPinService
rm -rf /system/app/EdmVpnServices
rm -rf /system/app/EmergencyModeService
rm -rf /system/app/EmergencyProvider
rm -rf /system/app/ESEServiceAgent
rm -rf /system/app/Facebook_stub
rm -rf /system/app/FBAppManager
rm -rf /system/app/FBInstagram_stub
rm -rf /system/app/FidoUafClient
rm -rf /system/app/FlipboardBriefing
rm -rf /system/app/Foundation
rm -rf /system/app/GalaxyAppsWidget_Phone_Hero
rm -rf /system/app/GameOptimizer
rm -rf /system/app/GearManagerStub
rm -rf /system/app/GoogleCalendarSyncAdapter
rm -rf /system/app/GoogleTTS
rm -rf /system/app/Hangouts
rm -rf /system/app/HighlightPlayer_Hero
rm -rf /system/app/Hs20Provider
rm -rf /system/app/imsservice
rm -rf /system/app/ImsSettings
rm -rf /system/app/ImsTelephonyService
rm -rf /system/app/Kies
rm -rf /system/app/KnoxAppsUpdateAgent
rm -rf /system/app/KnoxAttestationAgent
rm -rf /system/app/KnoxFolderContainer
rm -rf /system/app/KnoxSetupWizardClient
rm -rf /system/app/KnoxSwitcher
rm -rf /system/app/MapconContentProvider
rm -rf /system/app/Maps
rm -rf /system/app/MDMApp
rm -rf /system/app/minimode-res
rm -rf /system/app/MirrorLink
rm -rf /system/app/MobileTrackerEngineTwo
rm -rf /system/app/MSSkype_stub
rm -rf /system/app/MyKNOXSetupWizard
rm -rf /system/app/OneDrive_Samsung_v2
rm -rf /system/app/OneNote
rm -rf /system/app/PartnerBookmarksProvider
rm -rf /system/app/Photos
rm -rf /system/app/PhotoTable
rm -rf /system/app/Preconfig
rm -rf /system/app/PreloadInstaller
rm -rf /system/app/RCPComponents
rm -rf /system/app/RootPA
rm -rf /system/app/RoseEUKor
rm -rf /system/app/SamsungDLPService
rm -rf /system/app/SamsungTTS
rm -rf /system/app/SapaAudioConnectionService
rm -rf /system/app/SapaMonitor
rm -rf /system/app/SecFactoryPhoneTest
rm -rf /system/app/SecLiveWallpapersPicker
rm -rf /system/app/SecMemo3
rm -rf /system/app/SecurityLogAgent
rm -rf /system/app/SecurityManagerService
rm -rf /system/app/SecurityProviderSEC
rm -rf /system/app/SilentLog
rm -rf /system/app/SKMSAgent
rm -rf /system/app/SLocation
rm -rf /system/app/SmartcardService
rm -rf /system/app/SmartSwitchAgent
rm -rf /system/app/SnsImageCache
rm -rf /system/app/STalkback
rm -rf /system/app/Stk
rm -rf /system/app/Stk2
rm -rf /system/app/SysScope
rm -rf /system/app/TasksProvider
rm -rf /system/app/TuiService
rm -rf /system/app/UniversalMDMClient
rm -rf /system/app/Weather2016
rm -rf /system/app/WeatherWidget2016
rm -rf /system/app/WebManual
rm -rf /system/app/WfdBroker
rm -rf /system/app/WhatsAppDownloader
rm -rf /system/app/withTV
rm -rf /system/app/YouTube
# Cleaning system/priv-app
rm -rf /system/priv-app/AutomationTest_FB
rm -rf /system/priv-app/AxelSpringer
rm -rf /system/priv-app/CallLogBackup
rm -rf /system/priv-app/CarrierConfig
rm -rf /system/priv-app/ConfigUpdater
rm -rf /system/priv-app/ContextProvider
rm -rf /system/priv-app/DeviceKeystring
rm -rf /system/priv-app/DeviceTest
rm -rf /system/priv-app/DiagMonAgent
rm -rf /system/priv-app/EasyLauncher2_Zero
rm -rf /system/priv-app/EnhanceService
rm -rf /system/priv-app/Excel_SamsungStub
rm -rf /system/priv-app/FaceService
rm -rf /system/priv-app/FBInstaller
rm -rf /system/priv-app/FidoUafAsm
rm -rf /system/priv-app/Fmm
rm -rf /system/priv-app/FotaAgent
rm -rf /system/priv-app/GalaxyApps_3xh
rm -rf /system/priv-app/GalaxyCare
rm -rf /system/priv-app/GalaxyLabs
rm -rf /system/priv-app/GearManager
rm -rf /system/priv-app/HealthService
rm -rf /system/priv-app/Hearingdro_V5
rm -rf /system/priv-app/ImsLogger+
rm -rf /system/priv-app/IPService
rm -rf /system/priv-app/KLMSAgent
rm -rf /system/priv-app/LiveBroadcast
rm -rf /system/priv-app/MyPlaces_Hero
rm -rf /system/priv-app/PhoneErrService
rm -rf /system/priv-app/PowerPoint_SamsungStub
rm -rf /system/priv-app/RNB
rm -rf /system/priv-app/RNBShell
rm -rf /system/priv-app/SamsungBilling
rm -rf /system/priv-app/SamsungMagnifier3
rm -rf /system/priv-app/SamsungPayStub
rm -rf /system/priv-app/SCloudServiceHero
# rm -rf /system/priv-app/SecEmail_M
# rm -rf /system/priv-app/SecEmail_M
rm -rf /system/priv-app/SecIrisService
rm -rf /system/priv-app/SecSetupWizard2015
rm -rf /system/priv-app/SendHelpMessage
rm -rf /system/priv-app/SetupWizard
rm -rf /system/priv-app/SFinder_v4
rm -rf /system/priv-app/SFinder_v5
rm -rf /system/priv-app/SHealth4
rm -rf /system/priv-app/SHealth5
rm -rf /system/priv-app/SKSMAgent
rm -rf /system/priv-app/SmartcardManager
rm -rf /system/priv-app/SNS_v2
rm -rf /system/priv-app/SOAgent
rm -rf /system/priv-app/SPDClient
# rm -rf /system/priv-app/SPPPushClient_Prod
rm -rf /system/priv-app/StatementService
rm -rf /system/priv-app/StoryService
rm -rf /system/priv-app/SVoice_1.0
rm -rf /system/priv-app/SVoiceLang_EnglishPack_GB_1.0
rm -rf /system/priv-app/SVoiceLang_EnglishPack_US_1.0
rm -rf /system/priv-app/SVoiceLang_FrenchPack_1.0
rm -rf /system/priv-app/SVoiceLang_GermanPack_DE_1.0
rm -rf /system/priv-app/SVoiceLang_ItalianPack_IT_1.0
rm -rf /system/priv-app/SVoiceLang_RussianPack_RU_1.0
rm -rf /system/priv-app/SVoiceLang_SpanishPack_ES_1.0
rm -rf /system/priv-app/SVoicePLM_1.0
rm -rf /system/priv-app/Tag
rm -rf /system/priv-app/UcsPinpad
rm -rf /system/priv-app/UIBCVirtualSoftkey
rm -rf /system/priv-app/UrgentFWUpdateNfc
rm -rf /system/priv-app/UrgentFWUpdateSensorHub
rm -rf /system/priv-app/UrgentFWUpdateTSP
# rm -rf /system/priv-app/Velvet
rm -rf /system/priv-app/VoiceNote_4.0
rm -rf /system/priv-app/VoiceWakeUp
rm -rf /system/priv-app/VRSetupWizardStub
rm -rf /system/priv-app/Word_SamsungStub
# Cleaning Custom app. - [Custom app for cleaning goes below]
Add Your entries within this space
# End of the sound cleaning script
User's Shared Scripts will go here
Just in case we for future usage
thank you so much mate, a great step for your rom!!
as always awesome, in contributions, thanks phronesis team
Excellent thinking guys this is awesome!!
I dont know why but it doesn't work for me ...i flashed the zip äs it came ...after that home end recent didn't work plus ..all apps stayed :crying:
i did a clean flash now ..everything back to normal, but i dont know about this script yet...can anyone confirm its working
Nice tool master
Nice work... Some of the ones I was concerned about are in the list - concerned as in I wasn't sure if I needed them/something would break and hadn't gotten around to testing them.
Nice., Thanks.
Nice - Storage tells me I have 20.2 GB available internal and 1.5GB available RAM.
Is there any app i can use on my phone to edit the file ?
My phone isnt recognized by my laptop so i cant transfer any files from phone to laptop .. and vice versa ..
N9005
Phronesis V5
Sent from my SM-N930F using XDA Labs
Lola22i said:
Is there any app i can use on my phone to edit the file ?
My phone isnt recognized by my laptop so i cant transfer any files from phone to laptop .. and vice versa ..
N9005
Phronesis V5
Click to expand...
Click to collapse
Wrong thread mate. Have you choose MTP connection when you connect to your laptop and install samsung drive for phone on your laptop?
mrcandy108 said:
Wrong thread mate. Have you choose MTP connection when you connect to your laptop and install samsung drive for phone on your laptop?
Click to expand...
Click to collapse
Im asking for an app that i can use on my phone instead of notepad on lap so this is the right thread ..
And Sure i did ..
I've tried all solutions mentioned on rom thread or google but didnt work for me ..
It happened after installing V5 .. in previous versions i didnt have any problem !
Sent from my SM-N930F using XDA Labs
Lola22i said:
Im asking for an app that i can use on my phone instead of notepad on lap so this is the right thread ..
And Sure i did ..
I've tried all solutions mentioned on rom thread or google but didnt work for me ..
It happened after installing V5 .. in previous versions i didnt have any problem !
Click to expand...
Click to collapse
MiXplorer included in the phronesis rom allow you to edit file.
mrcandy108 said:
MiXplorer included in the phronesis rom allow you to edit file.
Click to expand...
Click to collapse
I have extracted the file so i can edit it ..
But i couldnt move it into the zip file again ..
Sent from my SM-N930F using XDA Labs
did anyone tried this on lollipop rom?
This script is in every rom?
brahma666 said:
This script is in every rom?
Click to expand...
Click to collapse
read in OP mate
@txx3 Flashed the file as it came and works fine here

Categories

Resources