[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] saved-j:
Hello everyone.

The XZ Premium is the LAST of the Mohawk tribe. It's got the genuine feel of unleashed power.

But this amazing masterpiece really DOES lack great ROMs. And, as you guys are not too active in this field, our Chinese friends took their turn.

So as nobody else did organize it into a separate ROM thread, I present this ROM to you. This ROM is NOT my work.

also, I'm NOT responsible for any damage you might encounter.

You MAY request for some corrections, but, as I'm NOT the author of the ROM, I'm not authorized to modify the ROM, NOR i'm really willing to.

Don't expect any updates from ME!

All I've done is the translating of the installer from Chinese into English, replacing some of the software with the international version, tweaking and making this step-by-step tutorial for you. I've spent a few days testing it, to make sure you guys won't have much trouble.

I did it voluntarily, because this ROM is SO GREAT that I just feel necessary to share it with you guys!

All credits to machao44 @ bbs.gfan.com

Remember, this CUSTOM ROM is a modified STOCK ROM.

And the MAIN reason you might need this ROM is the Xposed.

Features:

JanJan's .270 kernel and patch

Aroma configurable installer

DEODEXED

Magisk OR SuperSu

Viper4Android (Optional)

Xposed WORKING (!!!) (XposedInstaller.apk NOT included)

Daydream WORKING (!!!) (Install the Daydream Enabler patch from Magisk repo)

XZ2 Themes

XZ2 UI

XZ2 Camera

XZ2 Loops

XZ2 "Ambient Screen"

Some other stuff from Google Pixel and XZ2

Some old widgets you've been missing (Photos, Top Contacts, Camera)

And some extra minor tweaks.

Changelog [Google Translated from Chinese]

Updated to 47.1.A.12.270
---------------------------------------
Updated to 47.1.A.12.235 (must be forced to brush 235, otherwise drm is invalid)
Add Android P system animation (Setting - Custom Function)
Add pixel navigation bar animation (set - custom function)
Add status bar clock adjustment (Setting - Custom Function)
Add ram display to multitasking interface
Update multitasking interface locking function Restart does not become unlocked
Update multitasking interface lock icon to display directly
---------------------------------------
Updated to 47.1.A.12.205
Brush machine optional SuperSU or Magisk
Other adjustments
---------------------------------------
Updated to 47.1.A.12.179
Update to graphics brush
(Supported in the TWRP download of the graphics brush machine)
Brush machine optional streamline
Add status bar speed
Add task lock
Add v4a sound
Fixed an error in Ultra STAMINA mode
Other adjustments
Update app
---------------------------------------
Replace the boot animation for the XZ2 original animation
Add dialing to enter the number to display the attribution
Update the attribution of the call log display (display operator)
Add attribution details in the contact details
Delete the third-party call vibration that comes with it
Add native call vibration function (within dialing settings)
Porting XZ2 environment display
Add environment display extensions (lift up bright screen, gesture sensing, pocket mode)
Other adjustments
Ps: There is a patch for the XP framework to use normally in the download.
---------------------------------------
Update the bottom package to 12.119
Fix Bluetooth sharing error
Join the theme of XZ2C
Join the network location of the Bank of China
---------------------------------------
Porting XZ2 icon ringtone media tone theme etc.
Porting XZ2 UI system interface
Porting the XZ2 main camera
Porting XZ2 Loops System Animation
Porting the XZ2 lock screen clock and animation
Porting the Xperia Touch desktop clock (same style as XZ2)
Open environment display
Update app
Note that users of XO1.2.2 and previous roms must clear the data in.
---------------------------------------
Updated to 47.1.A.12.75
Update app
---------------------------------------
Updated to 47.1.A.12.34
Call vibration
Call Recording
Extended desktop
Navigation bar height adjustment
---------------------------------------
Separate the Google service (you can directly brush the Google service pack after you have finished brushing the rom)
Replace magisk with supersu (magisk will cause some apps to be abnormal and new magisk will lose the drm patch)
No longer integrate twrp
Fix screen image
Fully merged with odex
---------------------------------------
1.1.1 update added xperia assistant and several errors caused by not extracting lib
Updated to 47.1.A.8.49
Crack system signature
Add Sony's desktop widget
Add dial T9 pinyin
Add call attribution
Add night mode (blue filter)
---------------------------------------
Fix bug
SELinux status changed to PERMISSIVE
---------------------------------------
Based on 8.0 47.1.A.5.51
Lightweight and streamlined
DRM patch
Disable RIC
TWRP3.1 (power button + volume under power off)
Magisk
Bank Profile + Google Service
PS: Because XZP's TWRP does not currently support graphics flashing (reported to TWRP authors), this ROM does not have a graphics flash.
Old rules, the first version does not add extra features

Lots of tweaks in this ROM have been taken from xda, so credits go to those people as well:

[MENTION=8363210]sToRm//[/MENTION]

[MENTION=3975929]zxz0O0[/MENTION]

[MENTION=3989065]serajr[/MENTION]

[MENTION=817586]the_brad[/MENTION]

[MENTION=357342]tobias.waldvogel[/MENTION]

[MENTION=3816568]Myself5[/MENTION]

[MENTION=8324016]sudamod[/MENTION]

[MENTION=4204264]mokee[/MENTION]

[MENTION=599722]niaboc79[/MENTION]

Instructions and download links are in the 2nd and 3rd post.