[Script] Delete unwanted apps - Moto G General

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

Related

SYSTEM/APP

On my rooted KFHD, Im trying to add more apps to system/app dir. Im using root explorer to access. It says 872MB used, 0 Free. Is there a way to add more of the SD Card space to it?
wing-zero said:
On my rooted KFHD, Im trying to add more apps to system/app dir. Im using root explorer to access. It says 872MB used, 0 Free. Is there a way to add more of the SD Card space to it?
Click to expand...
Click to collapse
It would take repartitioning to do so. If you didn't already know that, and considering the nature of the device and how easy it is to brick it permanently, you shouldn't even mess with it.
My question to you is...
Why on earth do you have 800+MB of apps installed in the system directory?! Aside from a few Google apps, you shouldn't explicitly install anything to your system directory. You're just asking for problems.
soupmagnet said:
It would take repartitioning to do so. If you didn't already know that, and considering the nature of the device and how easy it is to brick it permanently, you shouldn't even mess with it.
My question to you is...
Why on earth do you have 800+MB of apps installed in the system directory?! Aside from a few Google apps, you shouldn't explicitly install anything to your system directory. You're just asking for problems.
Click to expand...
Click to collapse
Actually, Out of the 872MB on "system" partition, About 760MB are occupied by the system rom (Maybe a bit less if you're on kinology), Which leaves us with about 100MB give or take for applications, Which is STILL plenty for system apps, So let me rephrase your question, Why on earth do you have 100+MB of apps installed in the system directory?!
But anyway, to answer wing-zero's question, There is no way you can add to that space, You'll have to make do with what you have, Maybe you can remove some of amazon's bloatware? But be very careful what remove.
Another solution would be to install kinology rom, It's modified to allow you to normally install any application that would otherwise be required to be put in System/App to work.
AmrBanawan said:
Actually, Out of the 872MB on "system" partition, About 760MB are occupied by the system rom (Maybe a bit less if you're on kinology), Which leaves us with about 100MB give or take for applications, Which is STILL plenty for system apps, So let me rephrase your question, Why on earth do you have 100+MB of apps installed in the system directory?!
But anyway, to answer wing-zero's question, There is no way you can add to that space, You'll have to make do with what you have, Maybe you can remove some of amazon's bloatware? But be very careful what remove.
Another solution would be to install kinology rom, It's modified to allow you to normally install any application that would otherwise be required to be put in System/App to work.
Click to expand...
Click to collapse
i m in kinology, an deleted most of amazon things, you cant see any amazon things in my tab, all deleted, i have a lot of free system,
---------- Post added at 05:07 PM ---------- Previous post was at 05:02 PM ----------
soupmagnet said:
It would take repartitioning to do so. If you didn't already know that, and considering the nature of the device and how easy it is to brick it permanently, you shouldn't even mess with it.
My question to you is...
Why on earth do you have 800+MB of apps installed in the system directory?! Aside from a few Google apps, you shouldn't explicitly install anything to your system directory. You're just asking for problems.
Click to expand...
Click to collapse
i think amazon use a lot of system memory , for a 16 g device having 12 for users they use like 4 in their "os"
persano said:
i m in kinology, an deleted most of amazon things, you cant see any amazon things in my tab, all deleted, i have a lot of free system,
---------- Post added at 05:07 PM ---------- Previous post was at 05:02 PM ----------
i think amazon use a lot of system memory , for a 16 g device having 12 for users they use like 4 in their "os"
Click to expand...
Click to collapse
Ok I'll admit, my number may have been a "bit" exaggerated, but that doesn't change the fact that installing apps (other than Google's apps of course) to the system directory is risky business. The system directory is on it's own partition and user apps are installed to a partition separate from that for good reason.
AFAIK, the userdata and system partitions don't contain signed headers so they could be repartitioned relatively safely, ASSUMING YOU KNOW WHAT YOU ARE DOING. I'm guessing from the OP's question, that he/she doesn't, and that option should be avoided altogether.
I think it's probably best to find out why so much of the system partition is being used before deciding on an appropriate solution.
thanks for replying everyone. I got titanium backup which allows me to freeze apps to see if it could hurt it. I put a few apps, like chrome and few others as system apps. pretty things i dont want to accidentally uninstall that i need. But I did remove other stuff I put in as system apps. Thanks guys. Maybe some of you can help me on my new thread on certificates! lol
http://forum.xda-developers.com/showthread.php?t=2223646

[Q] S4 Performance?

I've been wondering something.
Ive been a android fan for awhile, and previous phones have had less than desirable space left for apps. so ive always used link2sd with great effect.
What I am wondering now is (because I now have plenty internal storage on my s4) is, would I gain any performance boost by continuing to utilize link2sd for my apps?
Or would I benefit more by not bothering? Are there any benchmarks to support yay or nay?
My cards a class10 32g card... and I know the s4 supports ext4.
Posted from my I337 NB1 Dark Venom 3 SS version --- 20G Free Cloud --- https://copy.com?r=vtiraF
kevp75 said:
I've been wondering something.
Ive been a android fan for awhile, and previous phones have had less than desirable space left for apps. so ive always used link2sd with great effect.
What I am wondering now is (because I now have plenty internal storage on my s4) is, would I gain any performance boost by continuing to utilize link2sd for my apps?
Or would I benefit more by not bothering? Are there any benchmarks to support yay or nay?
My cards a class10 32g card... and I know the s4 supports ext4.
Posted from my I337 NB1 Dark Venom 3 SS version --- 20G Free Cloud --- https://copy.com?r=vtiraF
Click to expand...
Click to collapse
As far as performance goes by using link2sd... maybe a little during app loading, but not enough to notice. Are you rooted? The best app i have ever seen period for performance adjusting is Android Tuner. The paid version offers just about every possible tool to adjust every possible aspect of the rom. You should at least give it a glance. I boosted the crap out of my phone with that app alone.
Good benchmarking app is "AnTuTu"
megamanDJ said:
As far as performance goes by using link2sd... maybe a little during app loading, but not enough to notice. Are you rooted? The best app i have ever seen period for performance adjusting is Android Tuner. The paid version offers just about every possible tool to adjust every possible aspect of the rom. You should at least give it a glance. I boosted the crap out of my phone with that app alone.
Good benchmarking app is "AnTuTu"
Click to expand...
Click to collapse
yeah tried link2sd... and swapper... neither did a thing
I'll check out that AT
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
kevp75 said:
yeah tried link2sd... and swapper... neither did a thing
I'll check out that AT
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Link2sd and similar apps are really only for adjusting storage space. Performance modding lies in Android Tuner and other like apps... AT is a beast of an app though. You can get the link2sd function through it and ramp up the cpu. Try freezing as much bloatware as you can and tune up your build.prop settings as a start to get better performance with the app
megamanDJ said:
Link2sd and similar apps are really only for adjusting storage space. Performance modding lies in Android Tuner and other like apps... AT is a beast of an app though. You can get the link2sd function through it and ramp up the cpu. Try freezing as much bloatware as you can and tune up your build.prop settings as a start to get better performance with the app
Click to expand...
Click to collapse
lookin into it now just hope I dont create a paperweight LOL
bloatwares already gone... thank u Titanium Gone so far as freezing the TouchWiz Launchers without issue
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
kevp75 said:
lookin into it now just hope I dont create a paperweight LOL
bloatwares already gone... thank u Titanium Gone so far as freezing the TouchWiz Launchers without issue
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
You should be OK as long as you freeze instead of uninstalling the system apps. Or at least make backups of them in case you need to get an OTA update. If you are missing system files then it makes getting upgrades a pain in the butt. I assume you have a custom recovery too? Everything is easily reversible that you do on AT. The only issue I ever had was when i tried to have certain CPU settings apply themselves with init.d without kernel support. All I had to do was flash the disabler in recovery that you can create in the app.
For good performance setting you can try this: set CPU gov to interactive, use most of the presets available for the build.prop menu, set a bigger I/O cache with "deadline" scheduler in the SD menu, set a more aggressive OOM preset, and increase entropy as high as you can. All of these while setting them to apply on boot. There is a lot to discover in that app so have fun and make backups!
megamanDJ said:
You should be OK as long as you freeze instead of uninstalling the system apps. Or at least make backups of them in case you need to get an OTA update. If you are missing system files then it makes getting upgrades a pain in the butt. I assume you have a custom recovery too? Everything is easily reversible that you do on AT. The only issue I ever had was when i tried to have certain CPU settings apply themselves with init.d without kernel support. All I had to do was flash the disabler in recovery that you can create in the app.
For good performance setting you can try this: set CPU gov to interactive, use most of the presets available for the build.prop menu, set a bigger I/O cache with "deadline" scheduler in the SD menu, set a more aggressive OOM preset, and increase entropy as high as you can. All of these while setting them to apply on boot. There is a lot to discover in that app so have fun and make backups!
Click to expand...
Click to collapse
yeah Ill b doing most of these tomorrow im on the rom in my sig... which unfortunately does not allow safestrap to mount /system so im unable to do a nandroid.... but i did just finish a titanium bacup so at least if I do bork... Ill still have my apps
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
kevp75 said:
yeah Ill b doing most of these tomorrow im on the rom in my sig... which unfortunately does not allow safestrap to mount /system so im unable to do a nandroid.... but i did just finish a titanium bacup so at least if I do bork... Ill still have my apps
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
I found something weird. I assume it's AT... but not really sure. I'm using Aviate Launcher, and what I noticed that after AT did it's "cleaning" some of the shortcuts to a few apps would dissappear... always the same apps (minecraft, xda, etc...)
Would you happen to know how I can prevent this? I had it set to clean and optimize all apps/databases and trim partitions.
kevp75 said:
I found something weird. I assume it's AT... but not really sure. I'm using Aviate Launcher, and what I noticed that after AT did it's "cleaning" some of the shortcuts to a few apps would dissappear... always the same apps (minecraft, xda, etc...)
Would you happen to know how I can prevent this? I had it set to clean and optimize all apps/databases and trim partitions.
Click to expand...
Click to collapse
It happens after the cleaning process? Right after boot complete? You can check to see if it is AT by disabling the boot scheduler in device manager, and then a few minutes after the phone boots up manually run the cleaning process to see if its happening when it does it.
Also, when i had shortcuts disappear on me it was because I had them moved to or from the device or ext sd card. Some apps need to be installed to internal storage for them to work right. You should never move any apps to the system storage that weren't already there. That's different from internal storage, which is the same as internal SD. The system partition is where the pre installed apps reside (and bloatware). If you can find the system app in the play store then you can most likely, safely, move it elsewhere. Try to change where the missing shortcut apps are stored. AT is zip-aligning apps when it does its optimizations to make them load faster and give you a more organized file system.
megamanDJ said:
It happens after the cleaning process? Right after boot complete? You can check to see if it is AT by disabling the boot scheduler in device manager, and then a few minutes after the phone boots up manually run the cleaning process to see if its happening when it does it.
Also, when i had shortcuts disappear on me it was because I had them moved to or from the device or ext sd card. Some apps need to be installed to internal storage for them to work right. You should never move any apps to the system storage that weren't already there. That's different from internal storage, which is the same as internal SD. The system partition is where the pre installed apps reside (and bloatware). If you can find the system app in the play store then you can most likely, safely, move it elsewhere. Try to change where the missing shortcut apps are stored. AT is zip-aligning apps when it does its optimizations to make them load faster and give you a more organized file system.
Click to expand...
Click to collapse
Yeah, happens right after boot process is complete. They just disappear from the Aviate Launcher collections areas. The apps themselves are still there... so it could be something in the Launcher doing it as well...
Yeah, not linking apps to sd card Not anymore at least lol.
kevp75 said:
Yeah, happens right after boot process is complete. They just disappear from the Aviate Launcher collections areas. The apps themselves are still there... so it could be something in the Launcher doing it as well...
Yeah, not linking apps to sd card Not anymore at least lol.
Click to expand...
Click to collapse
The link2sd is mainly for phones with a small system storage. Our phones have a decent reserve set aside for it. It shows that the system memory is almost full, but its because the os is stored there. Some phones with a small internal storage have problems downloading apps once it gets just about full, even if the internal sd has plenty of room and get the "not enough storage" notification. Link2sd helps solve that for those devices. Android started making the mistake of installing apps to internal when they should be installed to SD. Something that didn't happen in earlier versions of Android. If you need room on the internal sd I know a couple of tricks to free up a large amount of space. Especially if you have 2 ".thumbdata" files in the DCIM directory that can each hold up to 500mb or more of crap you don't need at all. You can tell if you have them if your file manager is set to show hidden files and just deleting them doesn't work as they rebuild themselves after boot... total waste of space!
megamanDJ said:
The link2sd is mainly for phones with a small system storage. Our phones have a decent reserve set aside for it. It shows that the system memory is almost full, but its because the os is stored there. Some phones with a small internal storage have problems downloading apps once it gets just about full, even if the internal sd has plenty of room and get the "not enough storage" notification. Link2sd helps solve that for those devices. Android started making the mistake of installing apps to internal when they should be installed to SD. Something that didn't happen in earlier versions of Android. If you need room on the internal sd I know a couple of tricks to free up a large amount of space. Especially if you have 2 ".thumbdata" files in the DCIM directory that can each hold up to 500mb or more of crap you don't need at all. You can tell if you have them if your file manager is set to show hidden files and just deleting them doesn't work as they rebuild themselves after boot... total waste of space!
Click to expand...
Click to collapse
Yeah, I'm good with space. 5.9GB free on internal, and 23.3GB free external
kevp75 said:
Yeah, I'm good with space. 5.9GB free on internal, and 23.3GB free external
Click to expand...
Click to collapse
So, I ended going back to stock. re-rooted, the whole nine. Installed the Launcher... guess what... missing shortcuts, so it's definately not AT doing it
Hey man, thanks a ton for the help here... for some reason my XDA app isn't working so great, so I can't thank you enough
Borked it... DOH
Not real sure what did it either.
Not really borked, but now I am getting Google Play Store Force Closes every second or so... I've tried the 'settings'->'force close', 'settings'->'clear cache/data' reboot tricks... not of them worked.
I have all my apps Titaniumed already (except AT), so I'm going to revert the rom back...
kevp75 said:
Borked it... DOH
Not real sure what did it either.
Not really borked, but now I am getting Google Play Store Force Closes every second or so... I've tried the 'settings'->'force close', 'settings'->'clear cache/data' reboot tricks... not of them worked.
I have all my apps Titaniumed already (except AT), so I'm going to revert the rom back...
Click to expand...
Click to collapse
Somesthing might be wrong with the google play services app. Or the google framework app. Can you restore all the google apps to their last working backups? Or the original versions if that dont work.
---------- Post added at 08:11 PM ---------- Previous post was at 08:03 PM ----------
What firmware are you on? If you have everything backed up on Titanium to the external sd, and if you brick it just flash the same firmware or one newer then reroot. I went from MF3 to MK2 that way with no problem. And its easy to root and Safestrap. Just search "MK2 recovery from brick" and you will run into the link with all the tar files you need.
megamanDJ said:
Somesthing might be wrong with the google play services app. Or the google framework app. Can you restore all the google apps to their last working backups? Or the original versions if that dont work.
---------- Post added at 08:11 PM ---------- Previous post was at 08:03 PM ----------
What firmware are you on? If you have everything backed up on Titanium to the external sd, and if you brick it just flash the same firmware or one newer then reroot. I went from MF3 to MK2 that way with no problem. And its easy to root and Safestrap. Just search "MK2 recovery from brick" and you will run into the link with all the tar files you need.
Click to expand...
Click to collapse
Yeah, tried the restore of all thos.
on NB1... sort of I did the Deadly Venom 3.0 SafeStrap =) Anyways, I'm backup and running after a reflash... no biggee, didn';t take all that long to do LOL

Want to save more battry and Ram..

Its Very Easy....
1) Use Greenify (We All know About it)
Second Method Is Below.
>Go To
A)Settings
B)Apps
C)Click Any Apps And Select Any Pre Installed App
(Ex.. Google Play Games or Any other app which you Use Rarely)
Now click Disable To Disable It...
Tadaaa its Done.. Now Disable what u want And Save More Battry And Ram.
You Can Also Enable It. :beer:
dont want to be an ass
but.......
being root you can delete those system apps like google music, movies, books, etc, all that crap bloatware
i believe if you restart the phone they will be active again, so it is better to delete them, also titanium backup can freeze those apps
Using App Quarantine myself to disable unwanted apps.
If you are rooted you can even freeze apps that usually can not be frozen.
After a restart the apps remain frozen.
https://play.google.com/store/apps/details?id=com.ramdroid.appquarantine
maurocds said:
dont want to be an ass
but.......
being root you can delete those system apps like google music, movies, books, etc, all that crap bloatware
i believe if you restart the phone they will be active again, so it is better to delete them, also titanium backup can freeze those apps
Click to expand...
Click to collapse
Itz For NoN Rooted User (Noob)
Sent from my XT1033
maurocds said:
i believe if you restart the phone they will be active again, so it is better to delete them, also titanium backup can freeze those apps
Click to expand...
Click to collapse
No, they will stay disabled even after OTA. Only factory reset brings them back.
Very good way for those without root.
bookworth said:
No, they will stay disabled even after OTA. Only factory reset brings them back.
Very good way for those without root.
Click to expand...
Click to collapse
so even if critical apps are disabled on stock , locked , unrooted xt1032, OTA will still be successful?
wont fail due to missing critical system apps?
iluvatrix said:
so even if critical apps are disabled on stock , locked , unrooted xt1032, OTA will still be successful?
wont fail due to missing critical system apps?
Click to expand...
Click to collapse
You can not disable critical system apps. Just try and you will see.
You can disable apps same way from Android too, it is feature.
Sent from my XT1032 using Tapatalk
what about disabling Google Services Framework?
is this a critical system app?
i am able to disable it.
iluvatrix said:
what about disabling Google Services Framework?
is this a critical system app?
i am able to disable it.
Click to expand...
Click to collapse
Then you kill play and bunch of other features, not a good idea.
Sent from my XT1032 using Tapatalk
was just using GSF as a quick example
but back to my original question is it better to enable ALL apps before taking OTA to avoid possible failure?
or will disabled apps still be "seen" during OTA updating?
i have disabled most Motorola apps that can be disabled are they considered critical when updating thru Motorola OTA?
iluvatrix said:
so even if critical apps are disabled on stock , locked , unrooted xt1032, OTA will still be successful?
wont fail due to missing critical system apps?
Click to expand...
Click to collapse
You don't delete anything. You just tell the system not to start or use those apps. And as a worst case scenario, if you screw up something so bad that you can't even use the phone (but by default you cannot disable really critical apps without root and 3rd party software), a factory reset will solve it.
maurocds said:
dont want to be an ass
but.......
being root you can delete those system apps like google music, movies, books, etc, all that crap bloatware
i believe if you restart the phone they will be active again, so it is better to delete them, also titanium backup can freeze those apps
Click to expand...
Click to collapse
Terrible and dumb advise.
Remove system apps and every ota on any android device from any manufacturor will crash and fail. Are you going to help clean flash stock Android back to functional for Ota's with people who followed this advise? At least advise to put system apps back before applying OTA. (One can remove system apps and install as more battery and recources friendly user-app. But before OTA uninstall those apps and copy back apk's of those system apps).
But like said disable apps (also non-root) or freeze (only root) them solution. With Greenify Pro and Xposed Framework (root) one can Greenify (do not all but only for system non important) system apps. Without root Greenify can (when Greenify enabled in accesibilty options) force close all in Greenify by user defined unwanted still in background running user apps all at once with a shortcut. Not fake like every task killer in Play Store is.
Becareful with system applications!
I agree with the previous post...don't remove system applications unless you know it's not going to be linked to anything of use to you, and even then I would do a backup just in-case...having a broken installation of android simply due to having deleted some system app in an attempt to save a few MB of RAM would be...unfortunate.
juliatan said:
Terrible and dumb advise.
Remove system apps and every ota on any android device from any manufacturor will crash and fail. Are you going to help clean flash stock Android back to functional for Ota's with people who followed this advise? At least advise to put system apps back before applying OTA. (One can remove system apps and install as more battery and recources friendly user-app. But before OTA uninstall those apps and copy back apk's of those system apps).
But like said disable apps (also non-root) or freeze (only root) them solution. With Greenify Pro and Xposed Framework (root) one can Greenify (do not all but only for system non important) system apps. Without root Greenify can (when Greenify enabled in accesibilty options) force close all in Greenify by user defined unwanted still in background running user apps all at once with a shortcut. Not fake like every task killer in Play Store is.
Click to expand...
Click to collapse
lol really? you better use an iphone
i remove system apps of all my cell phone, and guess what, they work perfect, never had issues
and if i did someday i don't care, why? because you are root, you can recover roms, flash, upgrade, etc
and yes, i give advice to people who bricked their phones and give guides and methods of doing it, because bricking phones and recovering them it part of learning

[LP][5.X][XPERIA] Debloating script for xperia phones running LP

***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

debloat lineage os

Is there a way to debloat lineage on samsung galaxy s4 and use other apps as system apps?
Liloscar said:
Is there a way to debloat lineage on samsung galaxy s4 and use other apps as system apps?
Click to expand...
Click to collapse
gapps-config can do some.... see here
You can disable most apps with the App manager. I don't think it's worth uninstalling them since most of the apps that can be disabled aren't that big and the big ones are usually necessary for the proper functioning of the phone.
Debloat LineagoOS?!!!!
It's a very minimal AOSP based without any external features (even screen recorder isn't there)!, Do you think you can debloat it further?!
Buff99 said:
gapps-config can do some.... see here
Click to expand...
Click to collapse
I dont understand how to edit the opengapps aroma package its too complicated
Liloscar said:
I dont understand how to edit the opengapps aroma package its too complicated
Click to expand...
Click to collapse
Then you obviously don't know what AROMA is.
Why don't you just use an app to uninstall the apps you don't need?
Pwnycorn said:
Then you obviously don't know what AROMA is.
Why don't you just use an app to uninstall the apps you don't need?
Click to expand...
Click to collapse
Because i want a stable system. And not to forget this ****ing aroma script in opengapps is hard to understand in german because iam not a person from us or other english languaged country
Liloscar said:
Because i want a stable system. And not to forget this ****ing aroma script in opengapps is hard to understand in german because iam not a person from us or other english languaged country
Click to expand...
Click to collapse
Deleting the stock browser won't make your system crash. Besides, I also said you can disable those apps since deleting them won't give you much space benefit.
PS: AROMA is an installer that lets you CHOOSE WHAT TO INSTALL. Why would you even want to mess with the script when it already does what you're trying to do?
What Mr Buff showed you is ONLY for the non-AROMA packages. It even says that on the link he posted.
Pwnycorn said:
Deleting the stock browser won't make your system crash. Besides, I also said you can disable those apps since deleting them won't give you much space benefit.
PS: AROMA is an installer that lets you CHOOSE WHAT TO INSTALL. Why would you even want to mess with the script when it already does what you're trying to do?
What Mr Buff showed you is ONLY for the non-AROMA packages. It even says that on the link he posted.
Click to expand...
Click to collapse
Yes to what the learned Mr. Pwnycorn says.
There is an app called debloater on xda that runs remotely on a PC and lets you remove apps via adb. But that will be too complicated also.
Or you could freeze and delete from TIBU.
Or you could use a dedicated app from the playstore.
Or don't bother.
Buff99 said:
Yes to what the learned Mr. Pwnycorn says.
There is an app called debloater on xda that runs remotely on a PC and lets you remove apps via adb. But that will be too complicated also.
Or you could freeze and delete from TIBU.
Or you could use a dedicated app from the playstore.
Or don't bother.
Click to expand...
Click to collapse
In open gappd there is a script extra for these debloat changes . But i dont k ow how to because its complicsted as **** and nowhere to find a tutorial. Adb is not the best idea because ADT have 1.8gb downloadsize.freeze and delete is also not the best thats why iam searching for debloater. I have found several scripts for other devices lile htc or huawei but not for samsung devices especially s7.
I prefer the method with the debloater app but adb is too much size. Playstore apps are ****ing mixed. Download the false app then got reflash the device if you know what i mean.
And i want to delete gallery music eq and the fuxking soundrecorder and stockbrowser even filemanager. I want my personally preferred apps installed in system . I dont want the cyanogrn/lineageos apps because they have no updates
Pwnycorn said:
Deleting the stock browser won't make your system crash. Besides, I also said you can disable those apps since deleting them won't give you much space benefit.
PS: AROMA is an installer that lets you CHOOSE WHAT TO INSTALL. Why would you even want to mess with the script when it already does what you're trying to do?
What Mr Buff showed you is ONLY for the non-AROMA packages. It even says that on the link he posted.
Click to expand...
Click to collapse
Its not the space that i prefer its the ram that i can save by deleting the ****ty bloat out of lineageos
MigoMujahid said:
Debloat LineagoOS?!!!!
It's a very minimal AOSP based without any external features (even screen recorder isn't there)!, Do you think you can debloat it further?!
Click to expand...
Click to collapse
There are scripts for other devices to unbloat the lineageos. Its about the ram. I want to install my own gallery music etc. Because cm apps not worth it because bad quality . Was the same problem since cm13 an cm12
Pwnycorn said:
You can disable most apps with the App manager. I don't think it's worth uninstalling them since most of the apps that can be disabled aren't that big and the big ones are usually necessary for the proper functioning of the phone.
Click to expand...
Click to collapse
I know but for other devices there are scripts to delete gallery etc.
MigoMujahid said:
Debloat LineagoOS?!!!!
It's a very minimal AOSP based without any external features (even screen recorder isn't there)!, Do you think you can debloat it further?!
Click to expand...
Click to collapse
Yes. Gallery app. Music app. Equslizer app soundrecorder(its on the galaxy s4 lineage forever) i think because its there. And filemanager is bad as ****. I prefer total commander.
Liloscar said:
Its not the space that i prefer its the ram that i can save by deleting the ****ty bloat out of lineageos
Click to expand...
Click to collapse
Disabled apps don't use any RAM because they are essentially prevented from ever starting. Not even you can start them unless you actually enable them again.
They're just like deleted apps, except that they are still present in the ROM without using any resources except for space.
Liloscar said:
I know but for other devices there are scripts to delete gallery etc.
Yes. Gallery app. Music app. Equslizer app soundrecorder(its on the galaxy s4 lineage forever) i think because its there. And filemanager is bad as ****. I prefer total commander.
Click to expand...
Click to collapse
So it's not a storage problem, then as @Pwnycorn suggested already, disabling the apps will work like if they aren't even installed.
Liloscar said:
I know but for other devices there are scripts to delete gallery etc.
Yes. Gallery app. Music app. Equslizer app soundrecorder(its on the galaxy s4 lineage forever) i think because its there. And filemanager is bad as ****. I prefer total commander.
Click to expand...
Click to collapse
Like I said, config-gapps is the way to go for what you want.
Look I'll make it easier, in post #4 of my thread here is attached my example config-gapps and some instruction (in English).
If you read through the file you will get the idea of how to manually add and delete applications.
Beware however that this file is setup for use with the full SuperGapps file, as my rom, like OptCM,
has an enlarged /system partition of 2.7gb. Standard Lineage only has 1.1gb.
Buff99 said:
Like I said, config-gapps is the way to go for what you want.
Look I'll make it easier, in post #4 of my thread here is attached my example config-gapps and some instruction (in English).
If you read through the file you will get the idea of how to manually add and delete applications.
Beware however that this file is setup for use with the full SuperGapps file, as my rom, like OptCM,
has an enlarged /system partition of 2.7gb. Standard Lineage only has 1.1gb.
Click to expand...
Click to collapse
I wanted to use the pico gapps because i dont want bloat
Liloscar said:
I wanted to use the pico gapps because i dont want bloat
Click to expand...
Click to collapse
You are awfully demanding for someone who wants help.
I'm done.
I just want the best solution. And iam rhankful for all the tips . I check this libk out from your post before and see what i can do
Edit : you cant disable all of stockapps i have seen

Categories

Resources