[Sony Cross-Device General] FcukBloat:
***LOOKING FOR A ALL-IN-ONE SOLUTION? THAT'S AVAILABLE FOR Z3C USERS ONLY, IF INTERESTED GO HERE***

I guys, similarly to what I did for LP, and considering that even in the LP time some people asked me about debloating KK (and I'm using it right now and actually seems i like it more than LP too) I share with you my debloating script for those interested in a higly DEBLOATED KK installation, very slimmed down, battery friendly, faster, with less RAM comsuption etc :o

Heavily debloated actually means almost 900 mb of system stuff moved to a backup folder (that you can even delete or move to sdcards to get 900mb 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).

Procedure for all xperia phones running KK:

Requirements:

- working recovery

- be on KK 4.4.4 already

Installation:

1. full nandroid backup to eventually go back to previous any time

2. wipe data, cache and dalvik ***

3. flash my Debloating Script for KK

4. that's all! reboot/enjoy

RESULT

As said at the top, you'll get a very slimmed down KK FW, battery friendly, very fast, with less RAM comsuption etc :o

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 170 packages in total (unfortunately not also all the libs like it happen in LP because of how are placed apps in system in KK) plus all applications automatically installed by Sony :o :good:

DISCLAIMER

###########################################################################################################

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.

At the following link you will find the full list of all stuff I moved away in my customized FW (and what you are going to move away if you flash my debloating script):

https://docs.google.com/spreadsheets/d/1Gof3mcFSWxP4cONuoLXPQkGE6Xnfn9tsg899rLN3ALY/edit#gid=0

PS. the file is with read-only access for everyone, if you have any changes to suggest, please reply in the thread or send me a PM with the changes you propose ;)

Sorry, the link was not public, now you should be able to correctly see the list! ;)

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)

- with a root file manager like ES, go to /system/__Backup/system_app and MOVE both "Chrome.apk" and "Chrome.odex" files to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE both "Velvet.apk" and "Velvet.odex" files 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 [MENTION=6351145]ondrejvaroscak[/MENTION] and [MENTION=3172970]Puffin617[/MENTION] for some very good advices, [MENTION=1239635]mj084[/MENTION] for some packages descriptions :good: