So I build it for D6502/D6503 23.0.1.A.3.12 and it worked fine
Note I don't use Z2 for daily driver now,
so I can only confirm it's working without SIM.
It should be OK with SIM, though.
I sold my Z2, so I can't check if new versions work on Z2.
* banner by MysticEnforcer
Download from official website
What is FOTA kernel recovery?
NOTE: This is old info as we can use official recovery partition on newer ROM.
Xperia doesn't have recovery partition for user,
but we have FOTA kernel partition for OTA.
Since we have to unlock bootloader and OTA won't work on unlocked,
we can re-use useless FOTA kernel as recovery partition using Dees-Troy's "extract_elf_ramdisk".
With FOTA kernel recovery, you can update your recovery without updating kernel.For example, TeamWin provides TWRP images of FOTA kernel for Z2:
http://teamw.in/project/twrp2/232You can flash images to FOTA kernel by fastboot command like
fastboot flash recovery fotakernel.img
To enter into FOTA recovery, press power key when LED is on.
How to restore DRM functions?
When you unlock bootloader you will lose X-Reality, noise reduction and so on,
but you can restore them!
Original thread is here, but I updated steps for Z2.
1. Download zip from original thread
* Choose KitKat version (for 4.4) or Lollipop version (for 5.0)
2. Place zip in internal or external storage of your device
3. Reboot into recovery and do Factory Reset
4. Reboot into flashmode and flash FTF with Flashtool
Any FTF is OK, but of cource use FTF for same version you are using now.
Wipe: Check APPSLOG and CACHE
Exclude: Don't check
5. Close Flashtool, unplug and plug your phone and reopen Flashtool, then relock bootloader
Click BLU icon to show relock button and click it.
6. Flash FTF (same as 4.)
7. Close Flashtool, unplug and plug your phone and reopen Flashtool, then unlock bootloader
Click BLU icon to show unlock button and click it.
8. Reboot into fastboot mode and flash my kernel
9. Reboot into recovery and install DRM Restore zip
After doing this, do not restore old data since it will revert DRM restore.
You can restore system with recovery and use Titanium Backup or something to restore app data.
Note: When you flash new ROM (not kernel), you must flash DRM Restore zip.
If you get "net::ERR_NAME_NOT_RESOLVED" when connecting xda,
please disable PrototypeProtection with Titanium Backup or something similar.
How to use F2FS?
Dees_Troy & TeamWin
and many other people involved in Z3 development
AndroPlusKernel for Z2, Kernel for the Sony Xperia Z2
AndroPlus, DooMLoRD, Faux123, Dees_Troy, TeamWin, Phil3759, Myself5, glocklee, pec0ra, pelya, [NUT], cocafe, savoca, shield94
Source Code: https://github.com/WedyDQ10/android_...sony_msm8974ac
Kernel Special Features:
Last Updated 2016-04-09