[Xperia Z2 Android Development] kostas66:
ROM FILES AND LINKS UPDATED !!

FTF AND FLASHABLE.ZIP LINKS NOW ARE LIVE AGAIN WITH A ROM UPDATE, VERSION IS NOW 23.5.A.1.291 CUSTOMIZED IT (I still use this rom in my Z2 !)

---------------------------------------------------

Introduction

Since I did it, and it seems to work fine on my phone, I decided to publish “my” first ROM. I want to emphasize that I'm not a developer (not any more, too many years away from coding :) ), but only somebody with “some computer knowledge”. So I will not be responsible of any possible damage or loss of data that the use of this rom may cause… and always remember to backup your phone first !!

The ROM is the result of a lot of “searching and reading” of the following (and other…) threads here on XDA. Thanks to all the authors !!

[INFO] ALL You Need To Know About Owning A Xperia Z2 - Thread by Envious_Data: I started from here, understanding how to backup my TA in order to be able to restore original configuration and warranty, to root the phone, to unlock it and install bootloader, etc.

[4.4.4][LB] Create ROOTED update package from stock FTF (Windows) - Thread by norti: A detailed guide on how to build a 4.4.4 pre-rooted ROM and install it on the phone

[TOOL] PRFCreator - easily create pre-rooted firmwares - Thread by zxz0O0: Tool to build the pre-rooted firmware (flashable.zip)

[TOOL] XperiFirm ~ Xperia Firmware Downloader & Checker [v3.1] - Thread by IaguCool: The tool I used to downolad the original firmwares

Different threads and other sites for understanding the use of Flashtool, on how to flash, how to build FTF files from original firmwares, etc. You can find the tool here. Some “searching” on XDA or Google will help !

[4.4.4][Stock][Noise Cancelling Works] [Fully Pre-Rooted] by shockss and [stock][locked-unlocked][odex-deodex][root][dual-recovery] 4.4.4 | 23.0.1.a.0.167 by niaboc79: two similar works

... etc !

ROM Files

The ROM is totally stock/untouched, I only added pre-root and dual recovery.

Original/stock firmware

: D6503 23.5.A.1.291 CUSTOMIZED IT (Italy) - downloaded with XperiFirm, FTF built with Flashtool – You can find the FTF file here.

Flashable.zip

: built with PRFCreator ver. 0.5 - You can find the .ZIP file here.

Included (in flashable.zip)

: Root “UPDATE-SuperSU-v2.40.zip” - Dual Recovery “Z2-lockeddualrecovery2.7.157-BETA.flashable.zip”

So, I repeat it to to be perfectly clear, the only things I did where to download the firmware, decrypt it, build the FTF file and add pre-root and dual recovery with PRFCreator. Nothing more !

Installation

Pre-requisite

: To be able to install a 4.4.4 pre-rooted firmware, as the first step of the process is to flash “flashable.zip” with TWRP, you must start from a rooted version of Android 4.4.2 with dual recovery already installed. In the suggested threads you will find the necessary infos to start from.

To install the ROM (or to build it by yourself, in case you want !) you have to follow the suggested procedure described in the [4.4.4][LB] Create ROOTED update package from stock FTF (Windows) thread by norti that I thank again (flash

first

the flashable.zip file, built as suggested in the norti thread, and

then

the FTF file with Flashtool, without rebooting and with the suggested configuration, to complete the installation...) !

Some more details: before rooting the phone (while in 4.4.2) I unlocked the bootloader (used the Sony code method ) and then flashed the prerooted 4.4.4 version that works fine even if the Norti thread says that the method is for locked bootloader.

Enjoy another rooted version of Android 6.0.1 !