[LP][5.X][XPERIA] Debloating script for xperia phones running LP - Sony Cross-Device General

***LOOKING FOR A ALL-IN-ONE SOLUTION? THAT'S AVAILABLE FOR Z3C USERS ONLY, IF INTERESTED GO HERE***
I guys, I share with you my debloating script for those interested in a higly DEBLOATED LP installation, very slimmed down, battery friendly, faster, with less RAM comsuption etc
Heavily debloated actually means almost 1 gb of system stuff moved to a backup folder (that you can even delete or move to sdcards to get 1gb extra free space in /system) so applying my script you agree to debloat A LOT as I did but take care that you will have a much lighter system and still you will be able to restore very easily anything you want anytime moving stuff back from the backup folder to /system (detailed instructions for that below in this thread).
NOTES
1. as all the stuff object of my debloating script is going to be placed in /system when flashing the pre-rooted FW, it is strongly suggested to apply my script immediately after flashing the pre-rooted LP FW and before rebooting, this way all that stuff will be moved away, and it is like it was never installed (at first boot no optimizations for those apps, means faster first boot etc)
2. as said above, all the bloat is not really deleted but moved to a Backup folder in system (/system/__Backup) so you can restore anything you want very easily. that's the reason you can see /system partition still almost full in spite of my high debloat, but stuff moved to the backup folder is "silent", so for sure it is not affecting the system at all and it is like it is not installed: I use this approach for people who needs to restore something, this way restoring is very very easy and fast. By the way, deleting the whole Backup folder (or moving it to your sdcard) you will then see something like 1.1 gb extra free space in /system!!
3. using different FW as base you may have some more bloat/apks, not present in my FW, that will remain installed. In this case, if you think there is some bloat left that could be removed, please send me a list of all your system apps remained after debloating, so i can check them (you can easily do that via terminal with 'ls /system/app > /sdcard/sysapps.txt' and 'ls /system/priv-app > /sdcard/privapps.txt' and send me the resultant text files)
Click to expand...
Click to collapse
Procedure for all xperia phones running LP: (like all Z series)
Requirements:
- working recovery
- be on LP already, 5.0.2 or 5.1.1, doesn't matter
Installation:
1. full nandroid backup to eventually go back to previous any time
2. wipe data, cache and dalvik ***
3. flash my debloating script
4. that's all! reboot/enjoy
*** NOTES
You can skip wiping data, so you'll keep all your personal data! But please mind that not wiping data during the installation procedure the debloat will not be 100% effective: in fact, if you don't wipe data, all the sony apps installed in /data/app won't be removed by the script! (to remove them, you'll have to uninstall them manually from settings > apps > downloaded)
Click to expand...
Click to collapse
RESULT
As said at the top, you'll get a very slimmed down LP FW, battery friendly, very fast, with less RAM comsuption etc
Of course, everything is working great here, I mean all the features I need/use!
In particular, with latest version of my script you are going to delete more than 160 packages in total with all relevant libs/stuff plus all applications automatically installed by Sony :good:
DISCLAIMER
If you apply my script again please take care I did a pretty massive debloat as I don't use a lot of stuff (social apps, small apps, many of the sony "addons"/special settings etc!!) and this is a working config for me, but for others some functionalities will be probably missing, so mind what you do before apply them! (but again you can restore anything anytime, if interested just continue the reading)
Click to expand...
Click to collapse
###########################################################################################################
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things without the need to download them from my GDrive.
HOW TO RESTORE SOMETHING
PS. of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
In the hidden field below you will find the restoring instructions you need to follow to restore any package you may want back:
According to what you want to restore, you have to follow two different procedures:
- all the APKs that are inside /system/__Backup/various/etc_custom_apps and /system/__Backup/various/etc_prod_apps are regular APKs that are going to be installed in /data, so you can just run them and then select "install" like a normal APK, easy. You will then see them in Settings > applications > downloaded
- instead, all the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
Many THANKS @ondrejvaroscak and @Puffin617 for some very good advices, @mj084 for some packages descriptions :good:

Would one arrive at the same stable setup as you if the debloating-part in your guide was omitted?
(I prefer to use Debloater by @gatesjunior to block the apps)

Norup58 said:
Would one arrive at the same stable setup as you if the debloating-part in your guide was omitted?
(I prefer to use Debloater by @gatesjunior to block the apps)
Click to expand...
Click to collapse
don't think so. in fact, several people who flashed and installed xposed directly on stock FW, had bootloops. others have problems with play store in deodexed, so I think, at least here and IMHO, best combo is odexed but debloated.
of course you can remove less stuff, that will be also much safer. if and when I post a text list of what I removed, I can maybe highlight dangerous apps that people should be careful with, or add notes for some apps that maybe is not so easy to understand what they are for
EDIT: I always prefer manual things, so I always manually move apps to a temporary location and then delete them

oh man, thanks for this, but i have a lot of problems to visualize what have you did. dropbox isn't working for me on my work's network. Can you make a list of apps? pastebin, tinypaste, hastebin, chop... there are options!

espaciosalter20 said:
oh man, thanks for this, but i have a lot of problems to visualize what have you did. dropbox isn't working for me on my work's network. Can you make a list of apps? pastebin, tinypaste, hastebin, chop... there are options!
Click to expand...
Click to collapse
will make a list soon!
EDIT: done! see OP!!

moly82 said:
will make a list soon!
EDIT: done! see OP!!
Click to expand...
Click to collapse
Thank you! it's a shame that i already have achieved my 8-post limit for today.

Which app is refer screenshot: https://www.dropbox.com/s/6smtqx57f3mjy68/Screenshot_2015-04-08-15-10-03.png?dl=0
Thank
Hispa

espaciosalter20 said:
Thank you! it's a shame that i already have achieved my 8-post limit for today.
Click to expand...
Click to collapse
don't worry mate!
ps. added notes/colours to some pretty dangerous apps to remove.. all others should be pretty self explanatory/safe to delete if you don't use them
hispanico957 said:
Which app is refer screenshot: https://www.dropbox.com/s/6smtqx57f3mjy68/Screenshot_2015-04-08-15-10-03.png?dl=0
Click to expand...
Click to collapse
gravity box > lockscreen mods > customizable lockscreen shortcuts!

enabled navbar edits and lost recent buttons... but in homescreen (and only there) I still have it
(the secret is... a modded wallpaper lol )
of course in other apps it is gone ;(

moly82 said:
enabled navbar edits and lost recent buttons... but in homescreen (and only there) I still have it
(the secret is... a modded wallpaper lol )
of course in other apps it is gone ;(
Click to expand...
Click to collapse
Yes also for me no recent in apps... but also at home !?
Hispa

Perfect Bro @moly82 will work on it to launch a FW Debloated stable.

So do we know which app it is that you removed that fixed the xposed issue? I don't buy the "just delete a bunch of stuff and xposed will work", there must be one or a combination of apps that are causing the bootloops.

Avengeme said:
So do we know which app it is that you removed that fixed the xposed issue? I don't buy the "just delete a bunch of stuff and xposed will work", there must be one or a combination of apps that are causing the bootloops.
Click to expand...
Click to collapse
well, you are free to investigate [emoji14]
always when i flash a stock fw i immediately remove a lot of useless (for me) stuff.. this time I had already deleted something like 120 useless apps before flashing xposed and seeing it was working fine.. so that's not so easy for me at this time to understand exactly what is causing bootloops for some people and actually, even if it wouldn't be impossible to find that out, that's not interesting for me so don't see a point in losing extra time in that research sorry (I'm already wasting too much time in debloat operations [emoji14] )

hispanico957 said:
Yes also for me no recent in apps... but also at home !?
Hispa
Click to expand...
Click to collapse
yeah no recents button here as well.. as i said the recent button i have in my homescreen is a trick... a wallpaper with a fake button drawing in background [emoji14]

@moly82: you are the greatest ... finally I got xposed framework without bootloop!! Thank you so much!!

no problem mate glad it was helpful for someone else!
yesterday I added a few more xposed modules, and still no bootloops at all (right now I'm using GB, apm+, youtube adway, youtube background playback, xperia/AOSP NavBar Buttons :good: )
btw did you delete all (or most of the) the apps in my list? and before debloating you had bootloops?
because I immediately debloated and only then I installed xposed, so was wondering if maybe also installing xposed without debloating could be working actually as never tried here this way
in any case, just testing right now some more debloat... would like to increase the debloat list... will update OP if I find it safe and will have no problems after new deletions

gallery app is not working! i tried restoring all the Photo* app ,but still not working

Try to clear Cache and Data from Album App, helped me last time it wont work

you mean sony album? works perfectly here

removed updates and now is working fine

Related

[Guide]List of apps safe to remove

This is a list of safe/unsafe apps to remove from stock roms.
Generally for other regions/carrier roms anything not included should be safe to remove.
Safe in this case is defined as "will not affect the stability of the rom" removing carrier apps is "safe" for the rom, but weither or not it's useful to keep is beyond the scope of this guide. An example is removing the carrier specific mms app. It can function correctly without it, but you lose any carrier specific enhancements.
General Guideline
NOT safe to remove:
com.android.*
com.dell.* (excluding com.dell.launcher, com.dell.stage.*)
com.google.android.* (that isnt available on market)
PreLoadNetworkSettings.apk [com.oem.prenetworksetting]
Safe to remove:
com.oem.engineeringmode.*
anything available on market
anything not listed here
Possibly Not safe to remove:
Package (OTA) util
PackageChecker.apk [com.oem.packagechecker]
PackageUpdate.apk [com.oem.packageupdate]
Safe to remove:
AMOLED.apk [com.oem.engineeringmode.amoled]
CableDetection.apk [com.oem.engineeringmode.cabledetection]
Calibrator.apk [com.oem.calibrator]
CellInfo.apk [com.oem.engineeringmode.cellinfo]
ConfidentialRunningTest.apk [com.oem.engineeringmode.runningtest]
DisplayVersionInfo.apk [com.oem.mode]
dtretriever.apk [com.oem.engineeringmode.dtretriever]
ECompass.apk [com.oem.engineeringmode.ecompass]
EMList and subapps
audioEM.apk [com.oem.engineeringmode.audioEM]
BluetoothEM.apk [com.oem.engineeringmode.BluetoothEM]
cameraEM.apk [com.oem.engineeringmode.cameraEM]
EMList.apk [com.oem.engineeringmode.emlist]
EMLoader.apk [com.oem.engineeringmode.EMLoader]
EMwifi.apk [com.oem.engineeringmode.wifi]
GpsEM.apk [com.oem.engineeringmode.gpsem]
FactorySuiteUtility.apk [com.oem.engineeringmode.suitutility]
FakeCB.apk [com.oem.engineeringmode.fakecb]
GPIO subapps
Gpio.apk [com.oem.engineeringmode.gpio]
GpioSleepMode.apk [com.oem.engineeringmode.gpiosleepmode]
GSensor.apk [com.oem.engineeringmode.gsensor]
Logging apps
LogMaster2.apk [com.oem.log]
LogService.apk [com.oem.logservice]
Lota.apk [com.oem.lota]
MaxPowerTest.apk [com.oem.engineeringmode.maxpowertest]
mccmnc.apk [com.oem.engineeringmode.mccmnc]
mminfo.apk [com.oem.engineeringmode.mminfo]
NetWorkSetting.apk [com.oem.engineeringmode.networksetting]
NVEngMode.apk [com.oem.engineeringmode.nv]
OOD_OOM.apk [com.oem.testkits.ood_oom]
PermissionToAccessLocApi.apk [com.qualcomm.permission.locapi]
PowerMonitor.apk [com.oem.engineeringmode.powermonitor]
security.apk [com.oem.engineeringmode.security]
SensorsInfo.apk [com.oem.engineeringmode.SensorsInfo]
SIMInfo.apk [com.oem.engineeringmode.siminfo]
TouchPanel.apk [com.oem.engineeringmode.touch]
Verification apps
FactoryTestSIMCard.apk [com.oem.engineeringmode.verificationsimcard]
Verification.apk [com.oem.engineeringmode.verification]
VerificationAudio.apk [com.oem.engineeringmode.VerificationAudio]
VerificationBluetooth.apk [com.oem.engineeringmode.verification.bluetooth]
VerificationCamEEPROM.apk [com.oem.engineeringmode.verificationcameeprom]
VerificationEcampass.apk [com.oem.engineeringmode.verification.ecampass]
VerificationGaugeIcTemp.apk [com.oem.engineeringmode.verification.gaugeictemp]
VerificationGaugeIcVoltage.apk [com.oem.engineeringmode.verification.gaugeicvoltage]
VerificationGSensorTest.apk [com.oem.engineeringmode.verificationGSensorTest]
VerificationHdmi.apk [com.oem.engineeringmode.verificationVerificationHdmi]
VerificationHeadset.apk [com.oem.engineeringmode.VerificationHeadset]
VerificationKey.apk [com.oem.engineeringmode.verificationkey]
VerificationLCD.apk [com.oem.engineeringmode.verificationlcd]
VerificationLPSensorTest.apk [com.oem.engineeringmode.verificationLPSensorTest]
VerificationLPSensorUtility.apk [com.oem.engineeringmode.verificationlpsensorutility]
VerificationSDCard.apk [com.oem.engineeringmode.verificationsdcard]
VerificationSingleTouch.apk [com.oem.engineeringmode.verification.singletouch]
VerificationUsbCharging.apk [com.oem.engineeringmode.verification.usbcharging]
VerificationVibratorAndLed.apk [com.oem.engineeringmode.crt]
VerificationWifi.apk [com.oem.engineeringmode.verificationwifi]
Bundleware (available in market):
ACCUWX.apk [com.accuweather.android.simpleweatherlite.dellstreak]
amazonmp3.apk [com.amazon.mp3]
com.adobe.air.apk [com.adobe.air]
com.facebook.katana [com.facebook.katana]
com.twitter.android.apk [com.twitter.android]
copilot.apk [com.alk.copilot.dell.trial]
evernote.apk [com.evernote]
Gallery3D.apk [com.cooliris.media]
KindleGold.apk [com.amazon.kindle]
KongregateArcade.apk [com.kongregate.android.kongarcade]
Napster-Tablet.apk [com.napster.bishop]
NeroDellSync.apk [com.nero.android.dellsync]
oovoo.apk [com.oovoo]
PageOnce.apk [com.netgate]
Quickoffice.apk [com.qo.android.oemec]
radiotime.apk [tunein.player]
RoxioNow.apk [com.roxio.rnow]
ZinioReader.apk [com.zinio.mobile.android]
ZinioSettingsProvider.apk [com.zinio.android.settings]
GApps (available in market):
Gmail.apk [com.google.android.gm]
GoogleQuickSearchBox.apk [com.google.android.googlequicksearchbox]
Maps.apk [com.google.android.apps.maps]
Street.apk [com.google.android.street]
VoiceSearch.apk [com.google.android.voicesearch]
Youtube.apk [com.google.android.youtube]
StageUI:
BooksStageWidget-release.apk [com.dell.stage.widget.books]
ContactsStageWidget-release.apk [com.dell.stage.widget.contacts]
EmailStageWidget-release.apk [com.dell.stage.widget.email]
HomeStageWidget-release.apk [com.dell.stage.widget.home]
MusicStageWidget-release.apk [com.dell.stage.widget.music]
NewsStageWidget-release.apk [com.dell.stage.widget.news]
PicturesStageWidget-release.apk [com.dell.stage.widget.pictures]
RadioStageWidget-release.apk [com.dell.stage.widget.radio]
SocialStageWidget-release.apk [com.dell.stage.widget.social]
StageLauncher-release.apk [com.dell.launcher]
VideoStageWidget-release.apk [com.dell.stage.widget.video]
WebStageWidget-release.apk [com.dell.stage.widget.web]
Non system apps:
CarDock.apk [com.google.android.carhome]
DRMPlayer.apk [com.arcsoft.drmplayer]
swype.apk [com.swype.android.inputmethod]
It's time consuming to go through and delete the unwanted stuff using Root Uninstaller, but I believe it to be time well spent if only to provide a bit more space on the internal MicroSD. Perhaps someone should write an automated script that will allow the user to delete the APKs in the "Safe To Remove" section of the post?
Removing things like Stage UI and the bundleware should be left out of such a script, since every user is different.
The bundleware is more or less safe to remove, just as much they're usually older versions of what's available on market, you'd still need to update and would end up with 2 copies on your system. The current version at /data/app and the original older version at /system/app
Root explorer has a mass select button btw if you use that, I believe it also works for deleting but I'm not 100% sure. Only thing to be careful of is uninstalling a system critical file, though you can just as easily manually uninstall one by accident.
There's actually more stuff that can safely be removed, only the rom is the only way to get it as you cant download it normally. (eg swype and drmplayer, though swype beta is available as a slightly different thing)
I wasn't questioning the safety of removing the bundleware, since I removed most of it along with all the engineering stuff and the Stage UI yesterday. All I was saying is that in a script those things shouldn't be included because of individual user preferences.
Nice work bruv!!:d
Added a couple more apps into list, turns out everything in com.oem.* is not required (if you ignore being able to use OTA updates, but as noone uses them to begin with)
Dont remove dellsettingsprovider.apk though, it's needed for dock mode with an official dock.
out of curiosity did you guys figure out what are all those com.engineeringmode.* apps? to be honest, removing something like gsensor.apk sounds scary
If you force them to run by making a custom activity shortcut, they mostly do exactly what they sound like.
Majority of them lets you test a single function (ie what they're named after). They're all essentinally debug utils. Dell might have them included because it makes fixing returned devices easier (ie warrentied devices)
Or just as likely they left them in because they're lazy, the entire build system for the s5 is a bit of a mess. They fixed it for building venue and streak 7 roms but they never bothered to go back and fix it.
Though all these apps are also included in stock venue and s7 roms
So before removing these apps do a nandroid backup. Will the nandroid save these files? Also can u do this with Gingerstreak?
Sent from the SuperStreak! ;-)
Of course nandroid saves it, unless you intentionally dont do a nandroid of system\, which defeats the point of nandroid.
SD2.3 doesnt include these nor does SD2.0
TheManii said:
Of course nandroid saves it, unless you intentionally dont do a nandroid of system\, which defeats the point of nandroid.
SD2.3 doesnt include these nor does SD2.0
Click to expand...
Click to collapse
SD 2.3 doesn't save which ones?
Sent from the SuperStreak! ;-)
I mean SD2.3 doesnt include anything that needs to be removed
TheManii said:
I mean SD2.3 doesnt include anything that needs to be removed
Click to expand...
Click to collapse
Oh ok
Sent from the SuperStreak! ;-)
so I decided to remove completely all those apps; so far so good and I'll surely like the slightly higher amount of available RAM
I have found something odd though (albeit almost irrelevant). after uninstalling (via titanium backup) all these apps I have lost one of the two wallpapers galllery (the one with a lot of pictures). Unfortunately I cannot tell which is the app responsible for this as I uninstalled them in bulk (I am not even 100% sure the two facts are related as more tweaking was going on and I discovered the issue only hours later).
well as I stated before it's not what you call a deal breaker, who uses stock wallpapers anyway but you'd better be advised than sorry!
you likely removed something in com.android.*
wallpapers are set with either:
gallery app
stageui's set
default android live wallpapers
whatever others you downloaded
mmh unlikely mate. I'm not betting my house on this but I'm quite confident I deleted only the apps that are in this very OP. the LWP and the 2-images-only galleries anyway are still there, i think it's something related to stage.
crashDebug said:
mmh unlikely mate. I'm not betting my house on this but I'm quite confident I deleted only the apps that are in this very OP. the LWP and the 2-images-only galleries anyway are still there, i think it's something related to stage.
Click to expand...
Click to collapse
It is the stage UI. I LOVE the "beach & sea" one and lost it after removing stage ui
Sent from my Dell Streak using Tapatalk
Updated list, there are a couple com.oem apps that are boarderline cases of being safe to remove, as they break functionality, but which depends on if that's a good or bad thing.
Case in point: the ota tools can be safely removed, but obviously break ota updates. If you're on a custom rom this wouldnt work anyway as custom roms dont support ota updates.
Experience uninstalling these apps, based on 2.2.2 351 00:
Deleted the package apps = could not uninstall using Settings - App. Tried restarting phone as possible solution but got stuck on boot image.
Does cabledetection have anything to do with attaching with usb to pc? Gone, cannot use Streak as USB storage device in pc.
Note that many other appd can be removed too. Check Cyanogen barebones for detailed descriptions.
Question: Why is it impossible to "restore" apps I remove? Titanium simply does not work. At least with such far out ventures as removing, by accident though, and I had made a backup of everything, so it shoulf have been possible, the Accounts and Sync Settings apk.
Analogously - copying and pasting in RootExplorer does nothing at all, as is the case with trying to reinstall removed apps.
Anyways, lots of stuff can be removed. I even removed Market, to save resources, since I never download any apps from there anway.
You would be better off doing a nandroid backup before you muck around with the files. That way if something DOES happen you can go back to the original configuration. As to Titanium Backup, various versions of the app have had problems with restoring apps, corrupting not only the app, but the app's data as well. For backup purposes, Titanium Backup is not recommended. Nandroid instead.

[Script] Delete unwanted apps

Hello, guys. I saw this thread today and thought of doing the same thing for Moto G. I just adapted it, some apps and odex were differents. So, here it is.
Download:
In attachments
Way to install:
Put it on /sdcard and flash by recovery. After, wipe dalvik cache.
Things to do:
Give some love to this ugly op
Delete apps you suggest, as i couldn't add more because i don't have a backup and didn't want mess it all :S
Credits: MoJo - script creator
Well, this is it. Thanks for reading it all.
mathm2013 said:
Hello, guys. I saw this thread today and thought of doing the same thing for Moto G. I just adapted it, some apps and odex were differents. So, here it is.
Download:
In attachments
Way to install:
Put it on /sdcard and flash by recovery. After, wipe dalvik cache.
Things to do:
Give some love to this ugly op
Delete apps you suggest, as i couldn't add more because i don't have a backup and didn't want mess it all :S
Credits: MoJo - script creator
Well, this is it. Thanks for reading it all.
Click to expand...
Click to collapse
hi dude, this is great, so can you make an scrip that just have the esential gapps? just like if we install the "minimal gapps", if you can do it, i have another question, this will break OTA updates? thanks!
alonsoch said:
i have another question, this will break OTA updates? thanks!
Click to expand...
Click to collapse
Yes because you have made changes to the system. Any missing files will prevent you from applying OTA updates.
BTW why not just use the built-in method of disabling apps in Android? Once they have been disabled and you reboot they won't be launched, won't take up resources etc etc. Deleting them from the system is just daft since you cannot reclaim that space for your own files.
flibblesan said:
Yes because you have made changes to the system. Any missing files will prevent you from applying OTA updates.
BTW why not just use the built-in method of disabling apps in Android? Once they have been disabled and you reboot they won't be launched, won't take up resources etc etc. Deleting them from the system is just daft since you cannot reclaim that space for your own files.
Click to expand...
Click to collapse
Is space from deleted apps really not reclaimed? That's strange...so for example the 5,52 MB available (or better the free MB amount of those 5,52) won't increase after deleting built-in apps?
flibblesan said:
Yes because you have made changes to the system. Any missing files will prevent you from applying OTA updates.
BTW why not just use the built-in method of disabling apps in Android? Once they have been disabled and you reboot they won't be launched, won't take up resources etc etc. Deleting them from the system is just daft since you cannot reclaim that space for your own files.
Click to expand...
Click to collapse
thanks for the answer, so what is the built-in method of disabling apps in Android?
alonsoch said:
thanks for the answer, so what is the built-in method of disabling apps in Android?
Click to expand...
Click to collapse
Settings > apps > all > choose app > click > disable
Rooting the device also breaks OTA updates.
Sent from my XT1033 using Tapatalk
ksuuk said:
Settings > apps > all > choose app > click > disable
Click to expand...
Click to collapse
well, thanks
flibblesan said:
Yes because you have made changes to the system. Any missing files will prevent you from applying OTA updates.
BTW why not just use the built-in method of disabling apps in Android? Once they have been disabled and you reboot they won't be launched, won't take up resources etc etc. Deleting them from the system is just daft since you cannot reclaim that space for your own files.
Click to expand...
Click to collapse
Just disabling your apps won't free much internal memory as deleting apks will.
mathm2013 said:
Just disabling your apps won't free much internal memory as deleting apks will.
Click to expand...
Click to collapse
Deleting apps on the /system partition will not give you any additional space on /data either, so there is no point in deleting them. Disabling them is the more logical way if you want to get rid of them.
mathm2013 said:
Just disabling your apps won't free much internal memory as deleting apks will.
Click to expand...
Click to collapse
The internal memory and the /system are two separate partitions. You cannot access the free space on /system unless you are rooted (and you have limited use of it even if you are rooted, for example you can move apps there with titanium backup, but cannot use it for storing media files).
Great! Works perfectly.
The general performance is slightly improved, and the battery life is better than stock. With the Faux123 kernel, the battery life (if correctly configured) is impressive.
Thans a lot.
Which apps are being the deleted exactly? (Did i miss a post about that?)

[ROM] MIUI 2.3.30 (GB 2.3.7) English ROM + TWRP Recovery for Google Nexus One

Please Read Everything Carefully as some info is crucial to getting your old phone functioning well!
Update:::: August 16, 2015 ::::::::::
STAGEFRIGHT BUG:
This bug has been blown way out of proportion and it is not something anyone should be extremely worried about. There are no patches for gingerbread as of yet, and I cannot patch it since I do not have the CM source. However, you can copy from /system/build.prop and open the file in Notepad++ and then search for "stage" and change the "true" to "false" -without quotes. While this is not a fix, it will still offer some protection. Do not download apk files from places you do not trust and you should be ok. For now you can also do the following :
1) In MMS App, Turn off Auto-Retrieve. If your Carrier converts your voice mails to text, you will no longer be getting those. The app will then provide a download button for you to download the message instead. You can simply call your voice mail and listen to the message and download it if you think its important.
2) Remove the stock browser - do not use it to sign into anything.
3) Use Firefox as your default browser. It will be slower but safer. Type about:config > Search for Stagefright > Set stagefright.disabled to True
4) FIREWALL : Use AFWall+ to block Apps making unneeded connections to places you don't trust. It starts in Whitelist mode. Change it Blacklist mode. Be careful, and understand how to use this. LINK https://play.google.com/store/apps/details?id=dev.ukanth.ufirewall&hl=en
6) In an effort to save RAM and unnecessary background Operation, I have included ForceStop Prevent Running. Do not update this past version 0.15. Updates after this do not work well on Gingerbread. Preventing Google Play Store is ok, Play Services is optional (You will lose all sync except Contacts and Calendar but no unnecessary background syncing.[/I]
7) GApps package now Included. It is Stock Gingerbread Gapps with Google Play Store updated to version 5.1.11. Please note that the latest Google Play Store works Fine but it is slower. If you want to block it from Updating, BEFORE connecting to Wifi, IF the APK is called com.android.vending.apk THEN create a new directory in /data/app called com.android.vending-1.apk, so it is always 1 number higher than what is installed. Also, if you do Update, MOVE the update to System parition or you will have 2 copies of it. Then delete its Dalvik cache and reboot
Update :::: June 18, 2015 ::::::::::::::New Goody : Added Modded K9-Email for Gingerbread to list of Software - It is open source, and a good way to check "Hotmail/Outlook" using Imap. Imap functions in Outlook are limited but the program works. I have removed the Ugly K9 dog Icon and replaced it with a real Email icon to make it look more appealing
Updated ::: June 12, 2015 ::::::::::::: New Goody : Attached Adaway for Gingerbread - Disclaimer: I support ads in some apps that do so reasonably, but some apps are out of control with Permissions and blowing up your screen with constant Ads, this behavior is unacceptable so I have included AdAway here. It is the user's Right and choice to do as they please on a carrier/contract free ROM, however it is not my responsibility what you may do with this ROM. This ROM still contains most of the original components of the Original ROM and I may remove outdated functions or add new functions in the future
This is MIUI 2.3.30 Gingerbread version 2.3.7 U.S. English Rom
I have now added various changes to this ROM. No more Security Certificate issues. No more Email / IMAP issues -K9 Mail, Exchange and Google accounts should sync without issues now
Xposed For Gingerbread + Prevent Running + Security Fixes are now attached below for convenience
Partitioning your SDCard is absolutely recommended or you will not have enough Internal Space to have Google Apps - Internal Space should only store Dalvik Cache - Please see details
1) 30 Step Headset Volume Configuration - works great with Volume Limiter
2) Security Certificates updated. Bad and Outdated ones Removed. see GuardianProject. This ROM is more secure. I also highly recommend using Firefox and OperaMini. I have also attached CACERTS.BKS - Remove the .TXT Extension - Already included in the ROM but can be used in other Gingerbread devices!
3) Nexus Pie boot animation
4) Misc changes - Gps locks fast when using GPS apps like Mapfactor Navigator, CPU Sleep works during trackball wake/notify feature, country codes in dialer corrected, Correct APN and Carrier name will show.
Recommended Software
I recommend you download this: Volume Limiter by Captain Neoguri - March 26, 2014
Caution: Nexus One hardware has a bug where upon using this app when adjusting volume outputs in max volume which can be dangerous for your ears, Please do not wear your headset when doing volume adjustments. I recommend a volume of upto 16 in this app for headset max volume.
Recommended : Xposed Framework for Gingerbread :::::: Download Below
Once you install it, Update it, and Install the Following :
1) Fake ID Fix
2) Master Key Multi Fix
3) MasterKeyFix GB
These are all Security Patches for Gingerbread. I have taken the Courtesy to attach them in this thread.
I recommend Google Play Store no later than 5.1.11 as the latest versions seem to have some kind of DPI related bug and will Force close constantly. Google Play Services can however be updated to 7.5.73-034 - I have tested it and it is working perfectly fine
Launcher : I am now recommending Holo Launcher from the Playstore. It saves RAM and it is much more Functional than the Stock launcher. When I have time, I will entirely remove the Stock Launcher and put Holo Launcher in the ROM or until I get permission from its author
Call Blocking Call blocking feature is built into the ROM, however it is like most call blockers which simply hide the blocked call but it still goes through. A solution to this is to use this app. Root Call Blocker : https://play.google.com/store/apps/details?id=fahrbot.apps.rootcallblocker.beta&hl=en
It will take about 5 minutes to set up and will allow you to kill a call after 1 ring and it will not go into your voice mail. So the Spam caller will have no idea whether its a dead number or to even bother calling back. Usually "Dead Rings" make the automated telemarketing calls stop because the computer dialer that is making the call keeps getting dead air and it keeps showing in their call logs. So it becomes their problem, you will simply never see the call coming until 1 day you decide to go in your blocker's call log. So if you have a pesky caller, use this app.
Radio / Baseband Software
http://wiki.cyanogenmod.org/w/Passion_Info
If your 3G does not work, Please check your 3G Network's supported Frequency with your Nexus One 3G Supported Frequency. There were 2 models of this phone released in Canada. This is not due to MIUI and downloading any Radio software will NOT fix this because it is by design.
You need version 5.08.00.04 if you are not using a Korean Nexus One. Download it, then Extract the Radio.img file from the zip.
1) You need to have ADB Fastboot and ADB Enabled on your phone. You can download a small ADB Version here.
http://forum.xda-developers.com/showthread.php?t=2588979
There are also other places to get ADB, But just know there is no need to download Gigantic SDK Kit from Google. You only need the basic ADB with Fastboot.
2) Press Volume Down, Then Press Power and Start your phone in Bootloader Mode. Then select Fastboot. Make sure your phone is now in Fastboot mode, it should say it at the top of all the choices.
3) Go to where you ADB folder is and hit Shift + Right Click = Open Command Window Here.
4) Now Plug your USB cable into your phone and type in Command Prompt this - fastboot devices. You should see your Phone listed. If you do not, go back and check everything.
5) Copy that Radio.img file from the Zip you extracted into your ADB Folder and then type
fastboot flash radio radio.img
It should take about 30 seconds.
Use the instructions here http://forum.xda-developers.com/showthread.php?t=698721 to push it to your phone.
Now you are done.
How To Increase Internal Storage using Data2SD. This puts Apps(apk) AND Data onto your SD EXT Partition so you have more free Internal memory on the internal /Data partition
MIUI comes with something called A2SD+ which is turned off by Default.
1) Go into TWRP Recovery. Create EXT-4 Partition. You will lose all data, so before doing this, its a good idea to backup.
Create an EXT partition size you are comfortable with and depending on your needs.
2) SWAP SPACE 0. You do not need it.
When it is done. Your SD Card now has a FAT partition and an EXT Partition. You can reformat your FAT to FAT32 in Windows if you would like and give it a name.
Then get this Script. MAKE SURE YOU READ EVERYTHING in the Following Threads.
This is Ungaze Data2SD Script. Script is now Attached at the bottom of this post
http://forum.xda-developers.com/showthread.php?t=1378568
http://forum.xda-developers.com/showthread.php?t=1661892
Get the Data2SD Script and copy it to your SDCard FAT32 partition. Reboot your phone a couple times after flashing MIUI. Wipe Dalvik, Wipe Cache, Then Flash Ungaze D2SD from Recovery.
Follow directions in those threads and you should see an increase in Internal Storage Space in MIUI
You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card incase something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data.
ETC INFO
You will Need ROOT Access for almost everything if you want to make changes so make sure you have SuperUser Access Turned ON in MIUI.
Search for ADAWAY which creates a HOSTS file in your /System/etc Directory, which helps to block ads. I prefer using only open source apps or apps with Ads that do not Annoy.
Use ES File Explorer
And now you can install (or Uninstall) all the Pesky large size Google Apps. I personally stay away from ANY Google App I do not absolutely Need. I remove apps like
Google Search
Google Talk (Hangouts)
and Other Google crap.
MIUI has the basics of what you need. But you can Remove the MIUI Accounts etc because you won't be needing it.
And Anything Pesky that I cannot trust. Make sure you Backup in Recovery first before Uninstalling System Apps.
You can use an app called Disable Service from the PlayStore to disable Individual Services in an app incase you don't want certain services loading up. This should help conserve memory and cpu cycles if needed and also to disable functionalities in Apps that are otherwise impossible to disable. Link Below
https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=en
The idea is to keep it SIMPLE and functional.
Last but not least, Thanks to everyone at XDA for making things like this possible. Without this community, we would not be able to do the things we can to bring enjoyment and functionality to our devices. Thanks to everyone who finds a solution and posts it with details for everyone to understand. I hope this culture keeps growing stronger.
Don't forget to say Thanks
That's it Folks! Bring out your old Nexus One. It will be fast, and serve its purpose as a phone first. And YES, Even your mom will now be able to use it. Enjoy!
ROM DOWNLOAD:
Download MIUI-Android-2.3.30-Gingerbread-NexusOne
Thanks for your time and for sharing this with us... Maybe some of us knows these stuff but in the KK 4.4.4 era, there always is someone who want to use the Sexy Nexy as a fully functional phone and use an eye candy ROM and more user friendly than CM 7.2.
For recovery I recommend 4Ext Recovery
Regards!
Obsy said:
Thanks for your time and for sharing this with us... Maybe some of us knows these stuff but in the KK 4.4.4 era, there always is someone who want to use the Sexy Nexy as a fully functional phone and use an eye candy ROM and more user friendly than CM 7.2.
For recovery I recommend 4Ext Recovery
Regards!
Click to expand...
Click to collapse
Hey, no problem! Yes 4Ext is a good recovery if you are on Blackrose and change your hboot partitions etc. My Guide is for those who don't want to mess with that and the TWRP Recovery is working flawless. I will mess around with Blackrose to increase internal Memory because one thing I find after bootloader unlock is the initial boot process is what takes the longest! MIUI Itself boots in less than half the time it takes for the intial boot. (Nexus X multi colored Logo with gray colored open lock at the bottom)
I am still not quite sure if the trouble of using Blackrose just to cut down my Cache partition to 50mb is worth the time and trouble because the phone is running fine. And I am also not sure if Blackrose will work with twrp. I will need to read more on this.
Thanks.
I completely agree with this OP. This is best rom you can use on the nexus one, I've played around with all sorts of roms and versions including the most recent KitKat iterations and non of them are smooth in comparison with a solid gingerbread rom. But this rom is particularly good because it still makes the Nexus One feel fresh.
daaac said:
I completely agree with this OP. This is best rom you can use on the nexus one, I've played around with all sorts of roms and versions including the most recent KitKat iterations and non of them are smooth in comparison with a solid gingerbread rom. But this rom is particularly good because it still makes the Nexus One feel fresh.
Click to expand...
Click to collapse
Thanks Daaac, you are right. When I pull out this old Phone, people ask me where did I get it? And how nice it looks. When I tell them its over 4 years old, they seem surprised. What google still does not seem to realize is that when it comes to Phones, people look at both the Phone hardware AND its Software that's running on it. Android is terribly ugly and MIUI is the closest you can get to getting some kind of Organized option structure even though it lacks some power user features, it is still better than scrolling through endless Cyanogenmod Gingerbread options. Not the fault of Cyanogenmod, but I blame Google for the terrible User Interface of Android. Google seems to hire Amateurs to design their User Interface and then market it as Simplicity. In my opinion, Apple runs circles around Android when it comes to Fluidity but ofcourse we know why we stick to Android, for things an iOs user can only dream of, specially on older devices. This MIUI ROM comes closest to make your Nexus One a daily usable phone with very few annoyances, however it is stable, never crashes, and looks good.
Thanks for your guide, very nice to read your step by step, good as I didn't update nexus one since 1 year ago and I don't remember all steps.
Thanks!!
You are most certainly welcomed Sir! If you ever have any questions, feel free to ask me.
danibus said:
Thanks for your guide, very nice to read your step by step, good as I didn't update nexus one since 1 year ago and I don't remember all steps.
Thanks!!
Click to expand...
Click to collapse
Thank you very much for taking the time to cook such a nice ROM for Nexus one. I hadn't installed any custom ROM on my device until some days ago. It is really awesome. Considering that Nexus one is an old device I do not expect to be any update for this ROM, but in case there was one I would appreciate it if you could post the link.
You need to see the first post for that to happen.
miui_nexus1 said:
Thank you very much for taking the time to cook such a nice ROM for Nexus one. I hadn't installed any custom ROM on my device until some days ago. It is really awesome. Considering that Nexus one is an old device I do not expect to be any update for this ROM, but in case there was one I would appreciate it if you could post the link.
Click to expand...
Click to collapse
Thanks for your quick reply. I am well aware of your updates to the ROM. I especially love the Nexus pie and appreciate the security updates.
ocd_amp said:
You need to see the first post for that to happen.
Click to expand...
Click to collapse
More security fixes!! I can't believe my eyes. Thanks a ton!
Hola launcher
I have tried Hola launcher (e.g. with chromatic theme), and its icons are similar to MIUI icons in contrast with Hola launcher (which is similar to latest Android versions).
P.s. I am just testing . I don't know if this launcher will drain the battery fast or not.
That launcher will slow down your system, and constantly try to download ads. It also takes up a LOT of RAM. The idea here to make the device run FAST consuming as little resources as possible. On a fresh boot, my N1 RAM usage is at 95MB, and after 28 Hours, it is 144MB. With other processes that are important Cached. My Dialer starts and makes calls upto 3 seconds faster than my Galaxy 3 on Lollipop.
All this can be achieved by disabling Google Play Services and Google Play Store from starting on boot (unless you have apps that you are always using and depend constantly on them) - I don't use apps that heavily depend on Google Play Services, and if I do, I start the service and the app, then I press the "back" key and exit Google Play Services. - Xposed Framework module attached to prevent Apps from running helps.
Battery life is great, easily lasts 2-3 days with minor screen time / talk time - Heavy usage can last a full day. This is all on a 2010 phone with an old battery. My Nexus One puts most people's dual core modern phones to shame when it comes to speed
miui_nexus1 said:
I have tried Hola launcher (e.g. with chromatic theme), and its icons are similar to MIUI icons in contrast with Hola launcher (which is similar to latest Android versions).
P.s. I am just testing . I don't know if this launcher will drain the battery fast or not.
Click to expand...
Click to collapse
That is fantastic battery life and speed you have!
I have got some questions and appreciate your help (Please forgive my newbie questions and such a long post)
1) When I want to run PHONE and MESSAGING applications on “Holo launcher” it gives this error message: "This activity cannot be launched". Although stock MIUI icons for these applications work fine.
2) I partitioned my memory card using ClockworkMod recovery and I dedicated 2 Gb’s of my 16 Gb class 10 microSD card (I haven’t had any problem with this recovery so far but if you think it may be incompatible with your ROM or cause issues please let me know and I will replace it). After flashing Ungaze Data2SD I see an increase in the internal memory . To be honest I didn’t completely understand the rest of the instructions so I do not know whether I have done it right or not.
"You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card in case something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data."
This is what I did:
I used “adb shell” to access the contents of those two locations and deleted their contents. As I said before I didn’t understand the rest of the instructions and I assumed it has been done correctly!! Then I installed my apps normally but I do not know whether they have been copied to the internal memory or the memory card. (I have downloaded apk’s of all apps I use from "apps.evozi. /apk-downloader/" or "apk4fun" and I have installed them using package manager).
My main question is what do I do after cleaning up those two locations and how do I install the apps so they will be copied to the memory Card’s Ext partition.
You should only have Dalvik-Cache in this location (What location exactly?)
Your Device System Partition will have System Apps (/system?)
Data partition will have Dalvik Cache (/data?)
SD Card's EXT Partition (/sd-ext?) If I am right as I have “adb” installed on my windows, it doesn’t show me the contents of this folder naturally. I have Ubuntu Linux too but “adb” is not installed on it.
Thanks a lot for your time!
1) Remove Holo Launcher icons and drag and drop Phone and Messaging icon from Drawer into the Dock at the bottom.
2) Use TWRP recovery.
3) /Data partition is EXT2 partition on your SDCard. Apps+Data (app data) will be there.
4) /mnt/asec/d2sd will be the "other" data partition (the original data partition) which is where your Dalvik cache will be.
5) Apps will be installed where their manifest suggests - Most apps will be installed to /Data on your EXT and their Dalvik Cache will be on the Internal parition /mnt/asec/d2sd/Dalvik-Cache
6) Use ES File Explorer - give it Root permissions - make sure Superuser permissions is set to On and inside ES Explorer you give Root access R/W - you can view all partions there
7) Use DiskInfo to see all your partitions
miui_nexus1 said:
That is fantastic battery life and speed you have!
I have got some questions and appreciate your help (Please forgive my newbie questions and such a long post)
1) When I want to run PHONE and MESSAGING applications on “Holo launcher” it gives this error message: "This activity cannot be launched". Although stock MIUI icons for these applications work fine.
2) I partitioned my memory card using ClockworkMod recovery and I dedicated 2 Gb’s of my 16 Gb class 10 microSD card (I haven’t had any problem with this recovery so far but if you think it may be incompatible with your ROM or cause issues please let me know and I will replace it). After flashing Ungaze Data2SD I see an increase in the internal memory . To be honest I didn’t completely understand the rest of the instructions so I do not know whether I have done it right or not.
"You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card in case something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data."
This is what I did:
I used “adb shell” to access the contents of those two locations and deleted their contents. As I said before I didn’t understand the rest of the instructions and I assumed it has been done correctly!! Then I installed my apps normally but I do not know whether they have been copied to the internal memory or the memory card. (I have downloaded apk’s of all apps I use from "apps.evozi. /apk-downloader/" or "apk4fun" and I have installed them using package manager).
My main question is what do I do after cleaning up those two locations and how do I install the apps so they will be copied to the memory Card’s Ext partition.
You should only have Dalvik-Cache in this location (What location exactly?)
Your Device System Partition will have System Apps (/system?)
Data partition will have Dalvik Cache (/data?)
SD Card's EXT Partition (/sd-ext?) If I am right as I have “adb” installed on my windows, it doesn’t show me the contents of this folder naturally. I have Ubuntu Linux too but “adb” is not installed on it.
Thanks a lot for your time!
Click to expand...
Click to collapse
Thanks a lot for the complete information. Holo launcher and Prevent running are really great. Now only 94 Mb of RAM is used . I expect to have better battery life too. I will report that after some days of using this configuration.
miui_nexus1 said:
Thanks a lot for the complete information. Holo launcher and Prevent running are really great. Now only 94 Mb of RAM is used . I expect to have better battery life too. I will report that after some days of using this configuration.
Click to expand...
Click to collapse
Oh lord, might be joining the N1 family due to recent corrupt internal data/EMMC failures on the Sensation and One Mini. Hoping to get a daily ROM and stable service from AT&T. Any critical updates/preventions prior to dusting off 2 years of being shelved and lending to 3 people (aka TANK N1).
Excited to see activity and will give this a shot when I get home. Thanks for posting!
Thanks for posting about Stagefright bug. It seems to be a hell of a bug. I have done all of them except the first one. Could you elaborate on how to edit build.prop?
By the way just a small thing: there is an extra "r" in
3) Use Firefox. Type about:config > Search for Stragefright > Set stagefright.disabled to True
Thanks again.
You're welcome. Enjoy!
lfe.zaius said:
Oh lord, might be joining the N1 family due to recent corrupt internal data/EMMC failures on the Sensation and One Mini. Hoping to get a daily ROM and stable service from AT&T. Any critical updates/preventions prior to dusting off 2 years of being shelved and lending to 3 people (aka TANK N1).
Excited to see activity and will give this a shot when I get home. Thanks for posting!
Click to expand...
Click to collapse
You edit build.prop either right on the phone using a text editor, or if you're like me, do it on the computer with Notepad++. It's a text based file. Oh yes, that was a spelling error. Fixed.
miui_nexus1 said:
Thanks for posting about Stagefright bug. It seems to be a hell of a bug. I have done all of them except the first one. Could you elaborate on how to edit build.prop?
By the way just a small thing: there is an extra "r" in
3) Use Firefox. Type about:config > Search for Stragefright > Set stagefright.disabled to True
Thanks again.
Click to expand...
Click to collapse
I have opened it using ES file explorer (ES Note editor) on my device but when I want to save it it shows an error:"Error occurred when trying to save the file. It will not be saved.". I have granted Superuser access to ES file explorer but I cannot find a way to give the specified permissions you have mentioned in the post. I would appreciate your help.

[MM][6.0][UNLOCKED BL/ROOTED] Debloating script for Sony Marshmallow Concept Rom

I guys, I share with you my debloating script for those lucky people who could install Sony Marshmallow Concept ROM and unlocked their BL and rooted
Concept ROM is already very minimal, so I just deleted few things, mostly Google apps and especially all things that can be installed from the Play Store (and already updated to latest versions of course!)
All things object of my debloating script are not really deleted actually, but moved to a backup folder in /system (that you can even delete or move to sdcards to get extra free space in /system) so you will be able to restore anything you may need very very easily (detailed instructions for that in second post).
NOTES
1. it is suggested to apply my script immediately after installing the Concept FW LP FW and before rebooting, this way all that stuff will be moved away before first reboot, and it is like it was never installed (at first boot no optimizations for those apps, means faster first boot etc)
2. as said above, all the bloat is not really deleted but moved to a Backup folder in system (/system/__Backup) so you can restore anything you want very easily. that's the reason you can see /system partition still almost full in spite of my high debloat, but stuff moved to the backup folder is "silent", so for sure it is not affecting the system at all and it is like it is not installed: I use this approach for people who needs to restore something, this way restoring is very easy and fast. By the way, deleting the whole Backup folder (or moving it to your sdcard) you will then see much more free space in /system!!
Click to expand...
Click to collapse
Procedure for all xperia phones running MM Concept FW: (only Z3 and Z3C atm)
Requirements:
- rooted + working recovery
- MM Concept ROM already installed
Installation:
1. full nandroid backup
2. wipe cache and dalvik
3. flash my debloating script
4. that's all! reboot/enjoy
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things pretty easily. Luckily concept rom comes already slimmed down so debloat I did is minimal! Of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
Things removed by my script:
/system/vendor/overlay/*
/system/app/AndroidPay
/system/app/BasicDreams
/system/app/BookmarkProvider
/system/app/bootinfo
/system/app/Chrome
/system/app/ClockWidgets
/system/app/DMAgent
/system/app/Drive
/system/app/Exchange3Google
/system/app/FOTAClient
/system/app/FaceLock
/system/app/Galaxy4
/system/app/Gmail2
/system/app/HeadphoneSelection
/system/app/helpapp
/system/app/HTMLViewer
/system/app/Hangouts
/system/app/HoloSpiralWallpaper
/system/app/ImageProcessorPermission
/system/app/JapaneseIME
/system/app/LiveWallpapers
/system/app/Maps
/system/app/Music2
/system/app/NoiseField
/system/app/PartnerBookmarksProvider
/system/app/PhaseBeam
/system/app/Photos
/system/app/PlusOne
/system/app/PrintSpooler
/system/app/SemcAlbum
/system/app/skin-core
/system/app/skin-picker
/system/app/SomcEmail
/system/app/SomcExchange
/system/app/Stk
/system/app/talkback
/system/app/Theme000
/system/app/Theme001
/system/app/Theme002
/system/app/Theme003
/system/app/Theme004
/system/app/Theme005
/system/app/Theme006
/system/app/Theme007
/system/app/Theme008
/system/app/UserDictionaryProvider
/system/app/Videos
/system/app/YouTube
/system/priv-app/ar-effect
/system/priv-app/AnonymousData
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/BetaFeedback
/system/priv-app/CellBroadcastReceiver
/system/priv-app/CrashMonitor
/system/priv-app/CrashMonitorSystem
/system/priv-app/device-monitor
/system/priv-app/IddAgent
/system/priv-app/InputDevices
/system/priv-app/phone-usage
/system/priv-app/qcrilmsgtunnel
/system/priv-app/SemcSimDetection
/system/priv-app/SharedStorageBackup
/system/priv-app/StatementService
/system/priv-app/TagGoogle
/system/priv-app/TimeShiftCamera
/system/priv-app/Velvet
HOW TO RESTORE SOMETHING
All the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
trying right now, report later
When i ran this script in TWRP: TWRP soft rebooted and nothing was removed as far as i can tell!
smorgar said:
When i ran this script in TWRP: TWRP soft rebooted and nothing was removed as far as i can tell!
Click to expand...
Click to collapse
strange it works fine here! btw you can also manually delete things if you want, I wrote the list of all things removed by the script in second post
moly82 said:
strange it works fine here! btw you can also manually delete things if you want, I wrote the list of all things removed by the script in second post
Click to expand...
Click to collapse
Ill give it another go!
Thank you for your work! Your KK and LP deboated roms are some fine stuff sir
[Edit]
I re-downloaded the script and ran it, same problem.
I'll go manual style now
works great on my D5833, the startup guide lacks for google seetings, but its totaly usable anyway.-
Sorry my english xD
thanks. but what you mean with startup guide lacking google settings?
moly82 said:
thanks. but what you mean with startup guide lacking google settings?
Click to expand...
Click to collapse
nothing wrong, since gmail is out it doesn't show you the seetings for add another account, that's all
Great work
Hi!
All works perfect on my D5803 with A1 Austria.
Thanks a lot and keep up
Ps: Akku %
Removed stuff
Moly my friend, you've just hit the same content I did remove manually on mine... I'm not kidding! :highfive:
Unfortunately I didn't have time enough for deeper tests (my regular week days are being tough), but it looks faster as hell. But for some obvious reason, I need to get back on LP, and I hope it just for a short period of time... and let's pray for the rovo!
serajr said:
Moly my friend, you've just hit the same content I did remove manually on mine... I'm not kidding! :highfive:
Unfortunately I didn't have time enough for deeper tests (my regular week days are being tough), but it looks faster as hell. But for some obvious reason, I need to get back on LP, and I hope it just for a short period of time... and let's pray for the rovo!
Click to expand...
Click to collapse
Hi chief!!
yes indeed it is a super fast rom! and it comes so slim.. not even close to usual bloated stock fw... i love it!
rovo should do his magic soon, and hope you'll do the same! can't imagine this rom plus xposed and your modules.. it would be just simply wonderful!! :fingers-crossed: :good:
see you!!
How is the battery life with your debloat script? Is it possible to get 2 days usage with 3-4h sot?
Marvel1403 said:
How is the battery life with your debloat script? Is it possible to get 2 days usage with 3-4h sot?
Click to expand...
Click to collapse
debloating MM is not so effective for battery life actually as MM comes already slim. it is essentially to optimize and remove useless stuff you can also download from the store. btw yes 2 days and 3-4 hours sot is very easy to reach here, with or without debloat script! I could get that in LP too...
as I am back to concept rom (much more stable now) and Sony added more bloat in it, I updated the script and list of things removed by the script
@moly82, I use your scripts on my xperia's but wondered if it would work on my Nexus 9 too?
Anything you could see that would be an issue?
Would it just skip items it did not find?
yes it should just skip unfound items so no worries but backup first just in case who knows
moly82 said:
yes it should just skip unfound items so no worries but backup first just in case who knows
Click to expand...
Click to collapse
Cool thanks, will give it a whirl
@moly82 Thanks for the list of deletable files, most of which I had already done. The concept FW should be the commercial release in my opinion. I only flashed it because I had an issue with my nav bar not working even after restoring an old back up so I fully wiped the system and internal memory and started from a new FW. I wish I had of changed over sooner!
@moly82 have you managed to get any camera mods to work with Concept? That's one of the biggest issues I'm having right now with this rom, the stock camera/video is so bad; washed out, overexposed white balance, and nasty lens flair. I was able to flash the Z5 camera libs, but that didn't seem to help. I tried Camera 2.0, but that caused a force close.
On a side note, I was able to regain special Sony audio settings, ex. Clear Audio, S-Force, etc., using this thread: http://forum.xda-developers.com/showthread.php?p=65873613
Sent from my D5803 using Tapatalk

Which Apps are safe to remove after Root

I couldnt find anything regarding this topic for our phone. Which Apps are safe to uninstall/freeze after gaining Root?
Can anyone provide a list? Especially I would like to remove the following apps:
- What's New
- Swiftkey
- Xperia Tips Service
- Xperia Tips
- Xperia Services
- Xperia Lounge pass
- Xperia Resource Extension
- my Xperia
- the Messaging App (I am using the app Messaging by google instead)
- Lounge
- Recommendation Engine Extension
I removed all those and then some. The only exception being Swiftkey - I use AFWall to block it from uploading everything I type to the creeper servers.
Special mentions:
- Amazon Shopping
- AVG Protection
- All facebook ****
- Google App, Play Movies, Play Music
- Hangouts
- Lifelog
- YouTube
All running smoothly.
FYI w/o root you can disable apps using the ADB interface and using the following command:
pm disable-user com.touchtype.swiftkey
*disabled swiftkey without root
Below is the list I disabled without any adverse effects on stock nougat (output of "pm list packages -d"):
package:com.amazon.mShop.android.shopping
package:com.sony.nfx.app.sfrc
package:com.sonymobile.intelligent.iengine
package:com.sonymobile.sketch
package:com.sonymobile.getmore
package:com.google.android.googlequicksearchbox
package:com.sonymobile.getmore.client
package:com.sonyericsson.textinput.chinese
package:com.sonymobile.xperiatransfermobile
package:com.sonymobile.music.youtubeplugin
package:com.touchtype.swiftkey
package:com.google.android.apps.docs.editors.docs
package:com.sonymobile.lifelog
package:com.sonymobile.android.addoncamera.soundphoto
package:com.sonyericsson.conversations
package:com.sonymobile.rcsvideoprovider
package:com.sonymobile.advancedwidget.topcontacts
package:com.sonymobile.coverapp2
package:com.sonymobile.moviecreator
package:com.sonymobile.android.externalkeyboardjp
package:com.google.android.apps.docs.editors.sheets
package:com.google.android.apps.docs.editors.slides
package:com.sonymobile.enterprise.service
package:com.sonymobile.deviceconfigtool
package:com.sonymobile.androidapp.cameraaddon.stickercreator
package:com.realvnc.android.remote
package:com.sonymobile.phoneusage
package:com.sonymobile.tvout.wifidisplay
package:com.sonymobile.deqp
package:com.sonymobile.dlna
package:com.sonyericsson.wappush
package:com.sonymobile.demoappchecker
package:com.google.android.marvin.talkback
package:com.sonymobile.music.youtubekaraokeplugin
package:com.sonymobile.xperiaservices
package:com.sonymobile.exchange
package:com.google.android.gm
package:com.sonymobile.rcs.settings
package:com.sonymobile.entrance
package:com.s.antivirus
package:com.google.android.music
package:com.android.dreams.basic
package:com.sonymobile.susrescheck
package:com.sony.tvsideview.phone
package:com.google.android.apps.docs
package:com.google.android.apps.maps
package:com.google.android.webview
package:com.sonymobile.crashmonitor.system
package:com.google.android.syncadapters.contacts
package:com.android.facelock
package:com.google.android.tag
package:com.google.android.tts
package:com.sonyericsson.xhs
package:com.google.android.videos
package:com.sonymobile.runtimeskinning.picker
package:com.sonyericsson.crashmonitor
package:com.sonymobile.mx.android
package:com.sonymobile.support
package:com.google.android.feedback
package:com.google.android.apps.photos
package:com.google.android.calendar
package:com.swiftkey.swiftkeyconfigurator
package:com.sonymobile.xperiaweather
package:com.sonymobile.gettoknowit
package:com.sonymobile.synchub
package:com.facebook.katana
package:com.sonymobile.moviecreator.rmm
package:com.sonymobile.xperialounge.services
package:com.sonymobile.androidapp.cameraaddon.areffect
package:com.sonymobile.email
package:com.sonymobile.pobox
package:com.scee.psxandroid
package:com.sonymobile.advancedwidget.worldclock
package:com.facebook.system
package:com.sonyericsson.android.socialphonebook
package:com.sonyericsson.album
package:com.sonyericsson.music
package:com.sonymobile.retaildemo
package:com.sonymobile.anondata
package:com.sonymobile.pip
package:com.sonymobile.sso
package:com.sonymobile.usm
package:com.android.bookmarkprovider
package:com.sonyericsson.startupflagservice
package:com.sonymobile.advancedlogging
package:com.google.android.talk
package:com.sonymobile.music.wikipediaplugin
package:com.facebook.appmanager
package:com.sonymobile.music.googlelyricsplugin
package:com.sonymobile.dualshockmanager
package:com.sonymobile.mwutil
package:com.sonyericsson.advancedwidget.clock
package:com.sonymobile.android.addoncamera.timeshift
package:com.sonyericsson.advancedwidget.photo
package:com.sony.tvsideview.videoph
package:com.gsma.rcs
To the above post I would like to add something for newbies:
1) Type "adb shell" before you use the commands above, otherwise it won't work.
2) instead of the disable command (which doesn't work on my phone, apparently because you need to be rooted), i used the command hide, which also deactivates the app.
To removing SwiftKey :
Be aware, that if your phone is encrypted or uses PIN or password authentication before it boots, you must install another keyboard as SYSTEM app, or you will not be able to boot your phone.
Some more that can be removed
com.android.chrome (I use Pale Moon for Android)
com.android.partnerbrowsercustomizations.chromeHomepage
com.android.dreams.phototable
com.android.galaxy4
com.android.noisefield
com.android.phasebeam
com.android.wallpaper.holospiral
com.android.wallpaper.livepicker
com.android.wallpaper
com.sonyericsson.idd.agent
com.sonyericsson.startupflagservice
com.sonymobile.experienceflow2
com.sonymobilemusic.googlelyricsplugin
com.sonymobile.slideshow
com.sonyericsson.warrantytime
After "hiding" most of the above apps, I have around 1100mb of free ram left instead of 600mb before debloating. The phone feels much snappier too.
I use magisk to hide the following apps from system. So i'm not actually touching the system partition. Although you need unlocked bootloader and custom kernel (genesis) for that so the OTA updates won't install anyway. Thats why I removed the update-center as well. Use at your own Risk.
/system/app/CrashMonitor
/system/app/CrashMonitorsystem
/system/app/EditorsDocs
/system/app/EditorsSheets
/system/app/EditorsSlides
/system/app/Exchange2
/system/app/ExternalKeyboardJP
/system/app/FaceLock
/system/app/GetMoreClient-standard-release
/system/app/Gmail2
/system/app/GoogleLyricsPlugin
/system/app/GoogleTTS
/system/app/IddAgent
/system/app/Iengine
/system/app/KerberosService
/system/app/Lifelog-3.0.B.4.15-6295567-googlePreloadLive-release
/system/app/OmaDownload
/system/app/PartnerBookmarksProvider
/system/app/PhotoWidget-release
/system/app/PrintSpooler
/system/app/RcaHandler
/system/app/RemoteControlService
/system/app/SemcAutoPowerOff
/system/app/SemcEmail
/system/app/SemcSimDetection
/system/app/SemcWarrantyTime
/system/app/SmartcardService
/system/app/SomcDualshockManager
/system/app/SomcMovieCreatorRmm-release
/system/app/SomcPOBox
/system/app/SomcSketch-live
/system/app/SyncHub-release
/system/app/TopContactsWidget-release
/system/app/WikipediaPlugin
/system/app/WorldClockWidget-release
/system/app/XperiaTransferMobile-release
/system/app/YouTube
/system/app/YouTubeKaraokePlugin
/system/app/YouTubePlugin
/system/app/com.facebook.appmanager
/system/app/com.facebook.katana
/system/app/com.s.antivirus
/system/app/com.sonyericsson.xhs
/system/app/com.sonymobile.xperialounge.services
/system/app/device-monitor
/system/app/fota-service
/system/app/newssuite
/system/app/photoslideshow-release
/system/app/playstationapp
/system/app/weather-release
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/CameraWearableBridgeHandheldServer
/system/priv-app/EnterpriseService
/system/priv-app/GetMore-standard-release
/system/priv-app/GoogleBackupTransport
/system/priv-app/GoogleFeedback
/system/priv-app/MyXperia-release
/system/priv-app/OMAClientProvisioning-release
/system/priv-app/SharedStorageBackup
/system/priv-app/SomcMovieCreator-release
/system/priv-app/StartupFlagV2
/system/priv-app/Velvet
/system/priv-app/com.sonymobile.retaildemo
/system/priv-app/somc-get-to-know-it-release
/system/priv-app/textinput-chn-xhdpi
/system/priv-app/usb-mtp-backup-transport
/system/priv-app/usb-mtp-factoryreset-wrapper
/system/priv-app/usb-mtp-fotaupdate-wrapper
/system/priv-app/usb-mtp-update-wrapper
/system/priv-app/usb-mtp-vendor-extension-service
/system/vendor/app/ChromeCustomizations
/system/priv-app/RcsVideoShare
/system/app/com.sonymobile.deqp
/system/app/talkback
/system/priv-app/rcs-settings
/system/app/SusResCheck
/system/app/videotvsideview
/system/app/Drive
/system/app/Chrome
/system/app/Videos
/system/app/Photos
/system/priv-app/SocialphonebookStub
/system/priv-app/album-albumLive-release
/system/app/pip
/system/priv-app/USMHome
/system/app/Hangouts
/system/app/videoplaceholder
/system/priv-app/rcs-core
/system/priv-app/sonyentrance2-release
/data/app/com.sonymobile.entrance-1
/system/priv-app/album-albumLive-release
/system/app/com.amazon.mShop.android.shopping
/oem/app/com.lookout
/oem/app/uk.co.ee.myee
/data/app/com.sonyericsson.updatecenter-1
/oem/overlay/com.sonyericsson.updatecenter
I also disabled the following apps on top of that:
AR effect
Creative Effect
Messaging ( I text with Signal)
Sound Photo
Spotify
Sticker Creator
tempurastyle said:
After "hiding" most of the above apps, I have around 1100mb of free ram left instead of 600mb before debloating. The phone feels much snappier too.
Click to expand...
Click to collapse
wow. you must have a lot of bloat. I had ~1GB free as stock with only disabling a lot of apps and a few services just through the app manager I have ~1.5GB free. (around 100-200MB more on both at fresh boot, I check the usage frequently) I do not have the amazon stuff and a lot of other things I see though. I am gonna have a look again now as there definitely is more to disable.
After disabling some apps listed above, i figured out that the qnovo battery care stopped working. Does anybody know which apps i need to enable to make it work again?
Battery care can be a little unstable. For me it works most of the time. It seems to work more often with the February security update. It works with the charging intelligent service (CIS). My list doesn't disable it.
Ikzy said:
I use magisk to hide the following apps from system. So i'm not actually touching the system partition. Although you need unlocked bootloader and custom kernel (genesis) for that so the OTA updates won't install anyway. Thats why I removed the update-center as well. Use at your own Risk.
Click to expand...
Click to collapse
Hi,
I been thinking of installing magisk, but could not find a good reason yet, though when chainfire gives full control to the company that apparently bought supersu I am probably going to use the opensource solution by phh.
this is a good idea too! I read a little on how magisk modules works, and maybe I am lazy but do you mind sharing your module for reference and use? besides not inventing the spoon again, I think it could be of great help also to help understand the script structure faster/better.
best regards
realtuxen said:
Hi,
I been thinking of installing magisk, but could not find a good reason yet, though when chainfire gives full control to the company that apparently bought supersu I am probably going to use the opensource solution by phh.
this is a good idea too! I read a little on how magisk modules works, and maybe I am lazy but do you mind sharing your module for reference and use? besides not inventing the spoon again, I think it could be of great help also to help understand the script structure faster/better.
best regards
Click to expand...
Click to collapse
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Ikzy said:
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Click to expand...
Click to collapse
Thanks a lot! That's another good idea, but you need to relock bootloader too as far as I know to receive OTA's again.
Would be really cool but probably near impossible if something could fake that most bothering step.
Loosing userdata and the devicekey with every upgrade would be a bummer although it can be restored too.
Ikzy said:
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Click to expand...
Click to collapse
I got a newbie question: How do you flash the stock kernel, and where do you get it from? Is it in the FTF file?
Yeah extract kernel.sin from the ftf file (its just a zip) then use flashtool sin editor to extract kernel.elf. Then you can use rootkernel to build a boot.img you can flash with fastboot. That's one method.
realtuxen said:
Yeah extract kernel.sin from the ftf file (its just a zip) then use flashtool sin editor to extract kernel.elf. Then you can use rootkernel to build a boot.img you can flash with fastboot. That's one method.
Click to expand...
Click to collapse
Thanks! Useful information! Just out of curiosity, what are the other methods? Can you just choose what you want to flash in Flashtool?
Another list of apps that can be removed with some comments included. You'll have to use google translate or similar though:
http://blog.livedoor.jp/cn221283/archives/51218350.html
tempurastyle said:
Thanks! Useful information! Just out of curiosity, what are the other methods? Can you just choose what you want to flash in Flashtool?
Click to expand...
Click to collapse
Yes you can exclude/choose things to flash, so I guess you could exclude everything but kernel in Flashtool. But your system can not be modified or rooted so you might as well just flash the whole thing except/not wiping userdata. Both should return you to stock with unlocked bl and intact device key. (no ota though)
Play around with the options with your phone disconnected in simulation mode, it might help you to understand the process better once you get past the confusion.
Ikzy said:
Here you go. I like magisk for it in faking any system modification. By Uninstaller magisk and flashing stock kernel I should be able to get OTA's. After an update I don't have to re-uninstall all bloat system apps, just flash magisk and everything is hidden again. I'm hoping removing folders (debloating) someday will go have a Gui so that it's quicker then editing zips on pc
Click to expand...
Click to collapse
Hello,how can I use this Zip?

Categories

Resources