[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Port of [MENTION=5897890]lubik1[/MENTION]'s port for X. Original thread here - https://www.google.com/url?sa=i&sou...aw0zrrid9BEYKypZ0HW_qFZ9&ust=1543487327044956

Credits (from lubik1's thread):

[MENTION=599722]niaboc79[/MENTION] - for best custom stock-based rom (eXistenZ)

[MENTION=2902434]Pandemic[/MENTION] - for best eXistenZ modifications

[MENTION=357342]tobias.waldvogel[/MENTION] - for root kernel tool

[MENTION=5570221]runels[/MENTION] - for tests and help with modifications

[MENTION=7561631]Gray47Maxx[/MENTION] - for tests, help with translation

[MENTION=6994234]Chippa_a[/MENTION] - for makes recovery official for Xperia X

Features:

Status bar custom settings:

Enable / disable battery icon.

Enable / disable battery percentage.

Network traffic monitor with options.

Double tap to sleep.

Notification panel custom settings:

Panel background has a darker shade.

New color for user icon.

Quick pulldown.

Enable / disable QS footer warning.

Enable / disable light systemUI style (Panel background color, icons color, volume panel color).

Blur notification panel with options.

Less annoying Heads Up (Heads up only for dialer and messaging apps).

Heads up options (Timeout, snooze timer).

Quick settings custom settings:

Small QS tiles (from 3 to 8).

Enable / disable brightness slider.

Enable / disable tile titles.

Vibrate on touch.

Music track title.

Layout customization (Portrait and landscape, Columns and rows).

Music quick setting.

Picture in picture quick setting.

Caffeine quick setting.

Night light quick setting.

Lockscreen custom settings:

Force see through clock.

Enable / disable album art.

Lockscreen charging infos (Amperage, temperature, remaining time).

Double tap to sleep.

Custom Left and Right shortcuts (Inside SystemUI tuner options).

Navigation bar and buttons custom settings:

Navigation bar height (Portrait and landscape).

Double tap to sleep.

Show power menu on secure Lockscreen.

Power button torch.

Navigation bar buttons tuner (Inside systemUI tuner).

Show left and right arrows when the keyboard is showed to move cursor.

Show backward and forward buttons when a media is played.

Recent panel custom settings (Inside appearance settings) :

Icon pack support.

Pinch recent panel to close all task.

Lock applications who won’t be cleared when clearing the apps.

Kill apps button in a safe way.

New clear all button animation.

Slim recent panel with options:

Pinch to close all tasks.

Icon pack support.

Xperia XZ2 lockscreen clock.

Xperia XZ2 lockscreen Loops animation.

Xperia XZ2 Ambient Display.

Xperia XZ2 diable touchscreen with screen off.

Xperia XZ2 screen on/off animation.

Xperia XZ2 new framework and UI style.

Xperia XZ2 Contact app.

Xperia XZ2 Clock widget.

Xperia XZ2 Xperia Assist app.

Xperia XZ2 Weather widget.

Xperia XZ2 Google search widget.

Xperia XZ2 Dialer.

Xperia XZ2 Sound Enhancement.

Xperia XZ2 Settings.

Xperia XZ2 Themes.

Xperia XZ2 Sounds.

Xperia XZ2 Boot animation.

Xperia XZ2 Skin Core engine.

Xperia XZ2 Skin Effects.

Xperia XZ2 Skin Pickers.

Xperia XA2 Camera.

Xperia XA2 Animated wallpaper.

Unified patch for Single and Dual sim users.

Latest beta Xperia home.

New Ambient Display options.

Add long press volume keys to skip tracks.

Lockscreen weather with Icon pack support (Settings inside Appearance settings).

Default Weather images replaced by Galaxy S8 one.

Statusbar clock options (Left, Center, Right, Date, AM/PM).

Battery bar with settings.

Reworked quick toggles brightness slider with new functionalities (Try to press and longpress all buttons ).

Reworked many part of Statusbar code to implement Android 8.1 optimizations.

Reworked Statusbar ticker code.

Statusbar battery options (Default, circle, square, landscape, droid, text).

Statusbar weather.

SystemUI tuner enabled by default.

Screen recording in power menu.

Removed useless battery setting from SystemUI tuner options.

QS tiles customizer: respect user tiles columns value.

Added eXistenZ banner inside about settings.

Added night display custom brightness settings.

+ all the features made by [MENTION=2902434]Pandemic[/MENTION]:

The framework has been redesigned (the mobile data notification has been removed).

LTE is changed to 4G.

Updated SystemUI (rounded corners in Recents).

Stamina levels are remade (Warning at 5 and 10% respectively).

The eXistenZ menu is hidden from applications.

Added animation speed: 0,25x.

Keyboard: Xperia Material Keyboard.

Google Calendar is replaced by Xperia calendar.

Improvements in the final patch v3.0 for version 7.0.0:

Fixed bug with rejecting incoming calls

Fully ported RIL part from Xperia XZ

Improved patch installation script

Added working and effective init.d scripts

Firmware cleaned up from bloatware

Optimization of Deodex for eXistenZ O v7.0.0 patch

Xposed Fix is ​​now included into the ROM

Full SuperUserMod is included as well

Increased the number of false positives of the fingerprint scanner from 5 to 10

The management of the sound of notifications and calls is now added in the settings and in the quick pop-up menu.

Due to tweaks of build.prop and init.d, the battery life of the phone from a single charge is significantly increased

Fixed Roaming Data in Settings

Added customization of the location of the "clear all" button in Recent

Fixed white QS in SystemUI

Fonts are cut from the Display settings, because they doesn't work

Fixed clock widget to use third-party fonts

Fixed display of controls in the Calendar

Fixed WFD

Add Doze (Ambient Display Mode)

Other minor fixes and optimization.

Downloads:

Deodex zip: https://mega.nz/#!dkdGnK7b!VMgKwV4XIooO5erGsIQsKaK-ceEw9ZlIM67XLe74flg

CE1_118_deodex: https://mega.nz/#!x19SmCaL!ETvP3ro9IiFhGoYoeGlfp6mcazKIpuzTzbWERLdOj-0

eXz_Xc zip (older version): https://mega.nz/#!9psmUQQY!eH07TwCpv5OEcJS-fEErKiJpxYiYc6T-hnStCfDXmsA

eXz_v3.2_Xc (latest): https://mega.nz/#!o0EEGAra!WZkx1ghbkMpuuNFkJQkE1zZK5Wm94Xp1Xj55FYoSB8A

Instructions:

1. Start from stock 118, clean flash, boot to recovery and flash deodex zip, (takes about 10 minutes). Then boot phone until you get to home screen

* 1a. If you want fingerprint support, you need to start from European firmware, (fingerprint disabled in US fw; I don't know about other regions. I tested with CE1 customization), and use CE1_118_deodex zip

2. Power off, boot to recovery, and flash eXz zip. IMPORTANT - You will need your own boot img. The one included in the zip will not work on XC. I didn't include it in the zip, because everyone's is different, especially if you use rootkernel with TA mounted, (like I do), so you have to have a backed up boot img,

with Magisk

(SuperSU might work too - I haven't tried), that you need to flash before you reboot. Easiest thing is probably to flash Magisk on your stock rom, then make a backup in TWRP, then wipe everything and follow these instructions from scratch, and when you get to this point, go to 'Restore' in TWRP menu, select your backup, and uncheck everything except 'boot', then swipe to restore your boot img. If you know how to use dd command, you can just do that and have a backed up boot img file on your phone that you can flash at this point, or, if you did use rootkernel, you probably still have a copy of your boot img in the rootkernel folder. Whatever the case, flash your boot img here

3. Reboot

Summary:

1) Flash stock 118

2) Flash deodex zip (if you want fingerprint support, flash CE1 version, [maybe good idea to choose the same version in Flashtool initially also

I don't know if it matters], If not, pick either one)

3) Boot the phone and go through setup until you get to the home screen

4) Power off, boot to recovery, and flash eXistenZ zip - don't turn the phone on

5) Flash a rootkernel-modified boot img for your phone. You can do this with fastboot, or restore from a backup in TWRP

Notes:

- Don't do any data wipes after you boot (after deodex). Just start from clean stock and follow steps

- When flashing exz zip, watch for prompt at SELinux zip. First press volume up when prompted, then press volume down to set SELinux permissive

- Exz zip deletes Swiftkey and replaces it with Xperia keyboard, so you have to enable it in settings to have any keyboard

- Phone will be a bit laggy at first, while it does all of it's optimizations/updates, etc. After all done and a couple of reboots, will be fine

- One user here - https://xdaforums.com/showpost.php?p=79054646&postcount=146 - said he got bootloop unless he flashed the modified boot.img before booting the deodex. I didn't have to do that, but if you have that issue, might be worth a shot. Note that you will still have to flash the boot.img again at the end, because eXistenZ zip will overwrite it.

- If battery care app won't open, see post 211 and 212 - https://xdaforums.com/showpost.php?p=79118700&postcount=212

Bugs:

I don't know of any. Let me know if you find them, because I told niaboc79 I wouldn't post this unless bug-free

Dark mod pack (for older version) - https://mega.nz/#!YpU0GapC!nz2mVjh4zfqerNdUngsAAKVx5x_jBFAQrMdy2W1rtW8 Flash in recovery after eXistenZ is installed. Screenshots here - https://xdaforums.com/showpost.php?p=78295876&postcount=32

Dark mods for newer version - https://mega.nz/#!U0EylIxT!JrwiO8TUmIHhLfadNFO_D_iFzYKVGSdGRIUN9QgZ7Eo

Screenshots - https://xdaforums.com/showpost.php?p=78318609&postcount=43

Boot animation fix attached (not too big)