[Sony Cross-Device General] elshur:
HI ALL XPERIANCED

Since i use android, after a new installation, i was always trying to erase all unwanted applications. Manually from system or with titanium_backup.

But over time that was laborious, so i find this solution to do it by myself .

THE SCRIPTS AIM TO

FIRST

After flashing a new rom, totaly debloat applications from google and sony, then appropriating you your device.

Personnaly, i just need essential app like :

android : Phone; sms/mms/email; usb, multitask, gps, net browsing

sony apps : Album; music; video; radio; cybershot

google apps : Nothing ( natively a bloatware ? )

NEXT

It will move all bloatware under a new directory into /system/_keep_safe; which is easy to reinstall manually with a root explorer or with the restoration package.

/data/app

/etc/customization

/etc/product

/system/app

/system/media/audio/

/system/media/bootanimation.zip

/system/priv-app

/system/vendor

FINALY

You can install your own apps from external_sd and get a super leggera xperia device ;) . Just check from attached image before and after the script.

BEFORE LAUNCHING

YOU NEED A SONY XPERIA DEVICE

Tested ok on my xperia z1compact d5503 with stock/prerooted/dual-recovery lp .236

To download the debloating script and his restoration package

A working recovery

Working flash via TWRP and philz-touch; but after flashing always wipe cahe and dalvik-cache​

Working flash via FlashFire​

YOU CAN ADD YOUR OWN APK

Applications will be copy to data/app so there can be uninstalled and media will be copy to there default location.

The easyest way is by dropping them into debloating package, under package.zip /system/app then /system/media

The second way is by editing the script called :SET_MY_MOD.sh in the front of package

Indeed, i prefer this solution which lightens the package and thus change the least possible file.​

YOU JUST NEED TO EDIT YOUR APK LOCATION, IN MY CASE, ALL COME FROM EXTERNAL_SD

### set your medias location

alarm="/external_sd/alarms/alarm.ogg"

notification="/external_sd/notifications/notification.ogg"

ringtone="/external_sd/ringtones/fired_up_feels_good.mp3"

bootanimation="/external_sd/_app/bootanimation.zip"

### set your applications location

launcher="/external_sd/_app/xmarshmallow_10.0.a.0.5.apk"

theme="/external_sd/_app/black_5.0.2.apk"

file_manager="/external_sd/_app/total commander_2.80b1.apk"

browser="/external_sd/_app/maxthon_4.5.6.1000.apk"

TEST IN ALL RISK KNOWLEDGE. PLAN A BACKUP BEFORE.

I join a restoration script in case of something doesn't work, it will restore all from debloating script.

All actions are logged into /system/_keep_safe/bloatwares.log

ALL CREDITS GO TO

xda community

sony mobile

android

amarullz

moly82

SUPPORTED DEVICES

sony xperia z1 compact .108 .757 .368 .236

TELL ME !?

UPDATE 08-06-2016

Aroma, available options stable !

Updated download link then you can vote for the poll

Thank you for the " thanks button " but I have mostly need confirmation on functioning ? and on which device ?

Aroma experimental option don't do anything; they are test fonction

XDA:DevDB Information

[SCRIPT] XPERIA BLOATWARES, Tool/Utility for the OEM Cross Device Development

Contributors

elshur

Version Information

Status: Stable

Current Stable Version: 2016-06-08

Created 2016-04-29

Last Updated 2016-06-08