[Sony Xperia M2] linuxct:
Hello there!

Today I'm presenting you the latest update of my ROM, Xperia Z5 STYLE 4.6.

This rom has a unique feature, and it's that it's made for both locked and unlocked bootloaders, having some advantages and disadvantages linked to it...

​

Based on the latest Xperia Z1 Compact deodexed base by [MENTION=5264045]Gaurav007[/MENTION], with SuperUserMod and ZipAlign.

Implemented with a bunch of updated Sony Xperia Z5 apps, such as Camera, Weather, Contacts, Dialer, some themes, etc.

No bloatware: All unuseful Sony apps were removed. The system has been optimized at it's max.

Tweaked: Some tweaks have been implemented to improve your Lollipop experience, such as TRIM for NAND, ART Tweaks, and zRAM Tweaks.

You can install Xposed on top of it if you want to. Just Google Xposed For Lollipop and follow the steps.

Custom ROM OTA Services: A OTA Update system has been implemented, independent of Sony's FOTA, so that I can send you over there the latest patches and updates of the ROM.

X-Reality & Bravia Engine 2 come preinstalled to enjoy a better image quality.

Do you want to join our beta group? Check here.

Current stable version: 4.6 (2016-05-06)

Current beta version: 4.6b (2016-05-06)

​

Instructions (LOCKED BOOTLOADER):

- Flash an FTF from the latest Xperia M2 firmware, you can grab the latest as of today (18.6.A.0.182) from here - http://xdaforums.com/xperia-m2/general/ftf-download-centre-xperia-m2-t3157411

- Root your device using EagleRootTool.

- Install latest MultiRecovery version from here.

- Download and copy the latest version of the ROM to your SD-card or Internal Memory. Reboot your device and when you see blue/cyan LED while in the Sony Logo, tap many times the Vol+ button to trigger TWRP.

- Go to Wipe, Advanced, and choose Data, cache and Dalvik cache.

- Go back and choose Install Zip, Choose from /sdcard if it is in the Internal Memory or /sdcard1 if it's in the SD.

- Choose the Z5-STYLE-*.*, depending on the version you downloaded, and install it. After 3 minutes it will be ready to go!

- Now reboot. After 10 minutes, it should have booted up.

Instructions (OPEN BOOTLOADER):

- Flash an FTF from the latest Xperia M2 firmware, you can grab the latest as of today (18.6.A.0.182) from here - http://xdaforums.com/xperia-m2/general/ftf-download-centre-xperia-m2-t3157411

- Root & install TWRP Recovery following this guide: http://xdaforums.com/xperia-m2/general/unlocked-bl-root-sony-xperia-m2-android-t3214498

- Download and copy the latest version of the ROM to your SD-card or Internal Memory. Reboot your device into TWRP recovery (Pressing the Vol- button while it's off, then power it on and stop pressing Vol- when it boots into TWRP).

- Go to Wipe, Advanced, and choose Data, cache and Dalvik cache.

- Go back and choose Install Zip, Choose from /sdcard if it is in the Internal Memory or /sdcard1 if it's in the SD.

- Choose the Z5-STYLE-*.*, depending on the version you downloaded, and install it. After 3 minutes it will be ready to go!

- Now reboot. After 10 minutes, it should have booted up.

WARNING

: If you wish to install version 4.0, you should check the Old Thread for instructions, which is at the bottom of this post. I don't recommend it. Use the latest version instead.

Upgrade (Via OTA):

- Open the OTA Updater app.

- If there's any new update, it will prompt us. Just hit Download.

- Once it finishes downloading, it'll let us flash it. Just hit the Flash button. Leave unchecked all checkboxes (Backup, Wipe Data and Wipe Cache), unless I explicitely told you to check some in the changelog.

- Once Sony's logo appears, hit the Vol+ button to open TWRP.

- If the installation doesn't start automatically, go to Install, choose your internal memory (sdcard0), go into OTA-Updater folder, Download, ROM, and you'll find there the ZIP.

- OpenRecoveryScript will do the rest for you, so just sit back and relax.

Upgrade (Manually):

- Download and copy the latest version of the ROM to your SD-card or Internal Memory. Reboot your device into TWRP recovery, following the steps from above methods, either Open Bootloader or Locked Bootloader.

- Choose Install Zip, Choose from /sdcard if it is in the Internal Memory or /sdcard1 if it's in the SD.

- Choose the Z5-STYLE-*.*, depending on the version you downloaded, and install it. After 3 minutes it will be ready to go!

- Optional: If you want to clear your data, go into Wipe, Advanced, and check Data, Cache and dalvik cache.

- Reboot and wait until the system completes the upgrade.

​

All bugs and faulty apps, excepting some Sony camera apps were removed or fixed! (Thanks to some tweaking and modding)

Settings app functionality has been extremely improved! Now, the 3 main required-add-ons of the ROM, APN Config, YAAB and OTA Updater have been integrated directly into the Settings, and thus,

removed from the launcher

to avoid duplicate functions. (APN Config is under Settings → More → Install new APNs, YAAB under Settings → Screen → Automatic brightness, and OTA Updater under Settings → About device → System updates). Also, the Settings icons have been replaced by the new Xperia X ones.

New BootAnimation

s

. Yes, you read it well, bootanimations, since now, in the first boot, you'll be presented with a color-changing bootanimation to let you know if the first boot is doing well, or frozen. When first boot is done, it's replaced with regular Xperia X bootanimation, which I'm quite sure you'll love it ;)

New Android-N-style notification shade and Emojis from Developer Preview 2! As I already previewed some days ago, here you've the flattish Android N style notification shade, plus some new emojis right from Android N, featuring support for Unicode 9!

Support for XPERIA Companion (and PC Companion) added!

A small Stagefright patch has been applied to the system, to avoid MMS RCEs. For those upgrading from older versions, in order to activate it, please,

wipe data of the Xperia Messaging app

.

New Number Assistant app included, letting you block unwanted calls and SMSs.

Updated launcher (Xperia Home 10.0.A.0.40), featuring slide-down-to-search function right from the desktop and app drawer icon rearrange (if wanted).

New Xperia X system sounds added, featuring new ringtones and notifications.

All System apps, and SuperSU package were updated to it's latest version as of today.

And some other things I can't recall right now...

Old versions:

Version 4.5-MU1 and 4.5b-MU1

Beta release channel it's going to be considered 4.5b-*** from now on, instead of the old 4.5b3, which is now a non-sense.

NotoColorEmoji font has been updated to use Android 6.0.1 emojis. You'll need an external keyboard to use the new emojis, such as Fleksy.

Settings has been slightly redesigned, following Xperia X series look and feel.

The gap between the network indicator and the battery icon has been reduced considerably.

A better PS4 Remote Play port has been included. I've no idea if it works , so if anyone owns a PS4, please test it and report.

SEMCcolorExtraction was faulty, making multimedia LED to stop working in Album and Video app. Now that's fixed.

Xperia Home has been updated to 10.0.A.0.24, featuring Double Tap to sleep in the launcher.

Hosts updated

Version 4.5 (Full changelog since 4.0)

New installer! Now it detects what Xperia M2 model you own (No needs of any extra patches!) - Plus, it directly installs for you latest MultiRecovery compilation (MR0.8), RIC Defeat and SuperSU, just in case you need it.

The APNs can now be installed using a modded APN 2.1 app I included in this release. Just open the app, hit 'Add Apn' button, then go into Settings, More…, Network, APN, and choose the one that matches your carrier.

Custom ROM OTA SERVICES enabled. You'll receive new OTAs as soon as they get published. There will be 2 OTA channels: Stable and Beta. If anyone shares the links of any OTA, I'll inmediately remove this features from Beta channel and leave this feature for Stable channel only. I'm sorry.

New launcher! Launcher has been updated to 10.0.A.0.5, featuring more translations, and some other cool features (plus, sliding down from home screen to show search has been disabled). Also, it has been set in 'Classic Mode' as default. You can go back to the automatic one in Xperia Home Settings.

Some apps where restored back too! Per suggestion of some users, Email, Internet (Sony's stock web browser), SimToolkit, WirelessController, File Commander, and Small Apps are back

Clocks style has been changed! Both the homescreen widget and the lockscreen one use bold font ONLY for hours. Now looks cleaner, plus lockscreen's analog clock is changed to a more rounded like style, thanks to Mariana Lovegood!

Some camera optimizations! Now you can choose 5MPx too in Manual & SuperiorAuto mode, plus, some random crashes such as turning on video mode from the lockscreen have been fixed. (MANY MANY THANKS to @boyrock for this! Go thank him!)

Sound quality has been improved, using my own 'Headphone-quality-mod', and xLOUD, ClearPhase and S-Force Front Surround 3D were added, thanks to Adrian Lucas for the heads up!

The default theme is now set to work Out-of-the-box (no need to re-apply), and now it has Orange accent + Black design.

X-Reality and BE2 are added for those with untouched DRM keys.

Call recorder fatures added (hopefully, it should also work in M2 Dual, but since TeleService now is not the same, I've no idea).

Regarding Settings: "About device" has now a cleaner look (less bloated + new ROM banner) & I've implemented some toggles to WiFi and Bluetooth, thanks to Venkat Kamesh.

PS4 Remote Controller (Screen Sharing) is now added (you'll need to install PS App if you want it (Google Play).

Build.Prop's are lightly tweaked, with some ART optimizations.

Get to know it Widget (handy for newbies) is added.

SemcMetadataCleanup (for Walkman Tag editor) is fixed.

Sysctl wasn't recognized as a proper command, resulting in a I/O usage chaos. That's solved.

Updated Clock app.

Updated Conversations and Phonebook app.

Updated Weather app.

Updated Notes app.

Version 4.5b3-f2

Fully working Audio effects added (xLOUD, ClearPhase and S-Force Front Surround 3D), thanks to Adrian Lucas for the heads up!

Lockscreen's analog clock is changed to a more rounded like style, thanks to Mariana Lovegood!

Included by petition a file explorer.

Sysctl wasn't recognized as a proper command, resulting in a I/O usage chaos. Now that's solved.

Updated Notes app.

Version 4.5b3-f1

; ORS OTA Fix.

Version 4.5b3

X-Reality and BE2 are added for those with untouched DRM keys.

Screen Recording with YouTube Streaming support.

Custom ROM OTA SERVICES enabled. You'll receive new OTAs as soon as they get published. There will be 2 OTA channels: Stable and Beta. If anyone shares the links of any OTA, I'll inmediately remove this features from Beta channel and leave this feature for Stable channel only. I'm sorry.

Regarding Settings: "About device" has now a cleaner look (less bloated + new ROM banner) & I've implemented some toggles to WiFi and Bluetooth, thanks to Venkat Kamesh.

PS4 Remote Controller (Screen Sharing) is now added (you'll need to install PS App if you want it (Google Play).

Call recorder added (hopefully, it should also work in M2 Dual, but since TeleService now is not the same, I've no idea)

The APNs can now be installed using a modded APN 2.1 app I included in this release. Just open the app, hit 'Add Apn' button, then go into Settings, More…, Network, APN, and choose the one that matches your carrier.

The Xperia Home has been set in 'Classic Mode' as default. You can go back to the automatic one in Xperia Home Settings.

The default theme is now set to work Out-of-the-box (no need to re-apply), and now it has Orange accent + Black design.

Build.Prop's are lightly tweaked, with some ART optimizations.

SomcWifiDisplay (to cast the screen to Smart TVs using miracast) is added.

Wireless Controller support for PS3.

Get to know it Widget (handy for newbies) is added.

New Mirror & Currency converter small apps included.

SemcMetadataCleanup (for Walkman Tag editor) is fixed.

STK (SimToolkit) is back.

Updated Clock app.

Updated Conversations and Phonebook app.

Updated Weather app.

MultiRecovery now WORKS as intended. (no more LED freezes)

D2302 patch is now complete (on b2-r2 I forgot to apply the full patch to it, this means, teleservice [Call Settings] was faulty. Now that's fixed.)

Version 4.5b2

New installer! Now it detects what Xperia M2 model you own (No needs of any extra patches!) - Plus, it directly installs for you latest MultiRecovery compilation (MR0.8b) and RIC Defeat, just in case you need it. If you need SuperSU, go and flash a SuperSU zip.

New launcher! Launcher has been updated to 10.0.A.0.5, featuring more translations, and some other cool features (plus, sliding down from home screen to show search has been disabled)

Some apps where restored back too! Per suggestion of some users, Email and Internet (Sony's stock web browser) are back, and, Small apps theme has been changed to Z5 style.

Clock style has been changed! Both the homescreen widget and the lockscreen one use bold font ONLY for hours. Now looks cleaner.

Some camera optimizations! Now you can choose 5MPx too in Manual & SuperiorAuto mode, plus, some random crashes such as turning on video mode from the lockscreen have been fixed. (MANY MANY THANKS to @boyrock for this! Go thank him!)

Sound quality has been improved, using my own 'Headphone-quality-mod'.

Version 4.5b1

; Few day-one bugfixes.

Version 4.0

; Initial version.

Apart from some faulty camera apps, like Sweep Panorama, and video mode in AR Effect, everything is working as intended.

Any sporadic bug might be easily solved by reinstalling the ROM, or by wiping Dalvik cache and/or Data.

For example: Camera app crashes → Wipe Dalvik and it should be solved.

WARNING:

If you experience any major hardware issue during XPERIA Z5 STYLE usage, please, check here and proceed as described.

Nice review of the ROM, thanks to @Jozinek! :good:

[YOUTUBE]fj_wzCyFsg8[/YOUTUBE]

​

Gaurav007 & Nathan Ali Ashari for their big job on the deodexed Rom, AleksJ for his great support, the Recoveries and Ric Disabler, Miche1Asso for his collection of tweaks to optimize Lollipop at it's max, boyrock for his Camera Resolution mods, and

baris27, gamzekal & jimRnor

for some of their Xperia Z5 Apps & Plugins Ports, and Venkat Kamesh for his great guide on how to add Toggles in Settings.

ENJOY! :D

Liking it so far? Help us spread the word!

#OldPost:

XDA:DevDB Information

Xperia Z5 STYLE 4.6, ROM for the Sony Xperia M2

Contributors

linuxct

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Sony's Stock ROM 18.6.A.0.182

Based On: Stock

Version Information

Status: Stable

Current Stable Version: 4.6

Stable Release Date: 2016-05-06

Current Beta Version: 4.6b

Beta Release Date: 2016-05-06

Created 2015-11-18

Last Updated 2016-11-03