[Xperia Z3 Compact Android Development] FcukBloat:
[UNMAINTAINED]

This is for both locked/unlocked. Being 100% stock it is not going to unlock your BL, mess up your DRM/keys etc!

As some people asked me hereby I present you my new all-in-one solution for z3c d5803, this time based on LP 5.1.1, with following charateristics:

- Based on LP 5.1.1 23.4.A.1.264 FW (D5803, customized IT); 23.4.A.1.200 (D5833, customized HK) both with good spaced LTE icon

- pre-rooted with SuperSU 2.46 and Dual Recovery 2.8.21

- 100% stock (odexed)

- Heavily debloated with my own original big list :o

- xposed flashable v78 official by rovo for 5.1.1 + xposed APK alpha4

- Web View Google already updated to latest version as of 21/Jan in /data

- NFC icon restored

- Etar Calendar replacing Sony's

- Google Keyboard, Dialer and Contacts replacing Sony's (normal V8) or stock Sony versions (in V8_sony version)

- Nova Launcher replacing Sony's

- ES File Manager (pre-bloated version) replacing stock one

- QuickPic (neutered signed pre-bloated version) replacing Sony Album

- Z3+/Z4 bootanimation and live wallpaper

- Z5 conversations/messages/InCallUI/Phonebook (V8_sony version)

- Gravity Box, Unlink ringtones/notifications volume, AppsOpsXposed, MinMinGuard, Blurred System UI and Xperia Xposed xposed modules in /data

- Latest Sony Music in /data

- DPI changed to 280 for much better screen experience

- External SDCard writing fix

- Status Bar Icons Spacing Fix - example

- Camera/Album link FIX - to be able use camera without Album installed so you can open the images you take with your favourite image viewer!

- Lock screen fix in SystemUI (for hour in bold, and minutes in thin font) - example

Requirements:

- Working recovery installed

Installation: (as easy as...)

1. full backup

2. full wipe (system, data, cache and dalvik) ***

3. flash either AiO for D5803 [V8!!!] or AiO for D5803 [V8_sony!!!] or AiO for D5833 [V6!!!]

5. reboot/enjoy

PS IMPORTANT NOTE for unlocked BL users: to fix r/w on system you will have to flash a custom kernel like the one by Gustavo for example

*** NOTES ABOUT FULL WIPE vs DIRTY FLASH

You can also avoid wiping /data to keep all your data untouched but if YOU DO NOT WIPE DATA:

1. all apps I updated directly in /system may conflict someway with copies you may have stored in /data and you could get FC, especially Play Store/Services (btw in case any conflicts will appear it is pretty easy to fix them if you know how to clean things up yourself, for example clearing data of the conflicting apps installed in /data, and then uninstalling them via settings > downloaded apps)

2. my all-in-one solution won't be be 100% effective: the personal apps I included that are going to be installed in /data (xposed installer APK, Play Games, Sony Music, Gravity Box and Blurred UI xposed modules) WON'T be installed but just placed in /system/etc/product/applications with no effects (so in this case you can either keep them there, won't hurt, or delete them if you don't want them, while if you want them installed you can just click on them to start the installation as normal APKs)

3. all the apps installed by sony FW in /data (kobo books, navigator, social life, psp app, avg etc etc) won't be automatically removed (you will have to go to settings > downloaded apps to uninstall them manually)

4. not all the things needed for xposed to work contained in the FW will be installed automatically, so xposed will not work OOTB anymore (to get it to work, you will need to install manually at least xposed installer APK you can find in /system/etc/product/applications, and then all the modules you want to use)

I repeat the above will happen only if you DO NOT WIPE DATA, with clean flash instead everything will be as supposed: for sure no conflicts at all, all apps installed, xposed, modules, full debloat etc everything up and running and working OOB!

;)

In case of UPDATING from one version to another: (as easy as... if not expressly mentioned to do otherwise...)

1. full backup

2. wipe system, cache and dalvik (do NOT wipe data, this way you will keep all your personal data)

3. flash new version via recovery

5. reboot/enjoy

SCREENSHOTS!!

https://www.dropbox.com/sh/m76pfpi9thygpd0/AAAogyfCaSTyFhXxE0c27Roza?dl=0

Hope you like it! If so, just please press THANKS! :o

CHANGELOG:

30/Nov (Ver.8)

- Changelog here

02/Oct (Ver.7)

- Changelog here

30/Sep (Ver.6)

- Changelog and md5sums here

24/Sep (Ver.5)

- Changelog and md5sums here

14/Sep (Ver.4)

- Changelog and md5sums here

11/Aug (Ver.3)

(for more details about changelog see here)

- Camera/Album link FIX: to use camera without album installed so you can open the images you take with your favourite image viewer

- updated google play services and play store to latest in /system/priv-app

- updated xperia xposed module

- xposed flashable updated to v70

- lock screen fix in systemUI (for hour in bold, and minutes in thin font)

- ar-effect/bgdefocus/infoeye/album/music all removed from /system/priv-app

- ImageEnhancer removed from /system/app

27/Jul (Ver.2)

- bug fix for drm restoration mod users (restored original album and music apps, so will have to be updated manually not a big deal)

- updated Google services to latest

- Google Calendar replaced sony's

- status bar icons spacing fix by great [MENTION=4708091]istux[/MENTION]

- Xperia Xposed v2.0 by great [MENTION=3989065]serajr[/MENTION] -> if you are NOT going to wipe data during the upgrade, this won't be installed automatically. you can install it manually going to /system/etc/product/applications and clicking on "Xperia_Xposed_2.0.apk" ;)

- simplified all-in-one zip structure with less "extra" scripts (i did put three zips in one so at the end of the fw flashing you won't see too many additional zips flashing after each other)

Removed stuff:

With my solution you are going to get rid of more than 170 packages and all relevant libs/stuff plus all applications automatically installed by Sony, overlays etc...

As said at the beginning, stuff is not going to be really deleted, but moved in /system/__Backup folder. This way you can restore things very easily.

At the following link you will find the full list of all stuff I moved away:

https://docs.google.com/spreadsheets/d/1geFByRKDTOOZSIBOixO2boG1_78NUjqzkB6iozzJ4-k/edit#gid=0

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

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

PPS. still, if you mess up something copying stuff to /system, and you get a bootloop, remember you can just enter in TWRP, mount system, and then with advanced > file manager you can delete what you have just copied to /system, this way your phone will boot up properly again ;)

CREDITS

Many many heartily THANKS to:

[MENTION=4904057][NUT][/MENTION] for his lovely Dual Recovery

[MENTION=3975929]zxz0O0[/MENTION] for many things (root, helping with recovery, PRF creator etc) and [MENTION=4688377]russel5[/MENTION] for fixing some problems in PRF creator

[MENTION=4419114]rovo89[/MENTION] for his wonderful xposed

[MENTION=5008415]C3C076[/MENTION] for excellent GravityBox

[MENTION=3989065]serajr[/MENTION] for many things but especially for his kindness, contributions and in particular for the amazing Xperia Xposed and Blurred UI

[MENTION=4708091]istux[/MENTION] for his FW thread and so nice Status Bar icons spacing fix

[MENTION=6351145]ondrejvaroscak[/MENTION] and [MENTION=3172970]Puffin617[/MENTION] for some very good advices about backing up stuff and installing personal apps respectively

[MENTION=1239635]mj084[/MENTION] for some packages descriptions and collaboration and suggestions, mirrors etc [emoji14]

[MENTION=6044561]Carach_CZ[/MENTION] and [MENTION=1247664]rak500[/MENTION] for the help in troubleshooting the root problem in unlocked bootloader

[MENTION=4102242]Gustavo RD78[/MENTION] for his kernel fixing root problems on unlocked BL

[MENTION=4433143]venkat kamesh[/MENTION] for his camera/album link fix!!

[MENTION=448664]Wajk[/MENTION] for the lockscreen clock fix solution hint and google dialer/contacts mod

[MENTION=4704767]lee480[/MENTION] for the Z3+/Z4 live wallpaper and bootanimation

[MENTION=2536649]itandy[/MENTION] for unlink ringtones/notifications volume module

[MENTION=4477302]caspase[/MENTION] for AppOpsXposed module (hope the fact I included the module in this rom is not a problem, otherwise please let me know and I will remove it immediately! :o )

[MENTION=4981793]FatMinMin[/MENTION] for MinMinGuard xposed module (hope the fact I included the module in this rom is not a problem, otherwise please let me know and I will remove it immediately! :o )

[MENTION=4712945]GenericAsianGuy[/MENTION] for neutered signed pre-bloated version of QuickPic (hope the fact I included the apk in this rom is not a problem, otherwise please let me know and I will remove it! :o )