[Xperia Z2 General] Brandon Nel:
Hey guys! Guess what? I'm currently busy on porting the Android N Developer Preview 2 ROM from the Xperia Z3 to Z2! Hope this turns out stable! :D

Here is the Download link to the ROM below:

Mediafire: http://www.mediafire.com/folder/hp8fnbbxkbb4f/Android N Xperia Z2

IMPORTANT NOTICE!!!

For anyone or everyone saying that I'm, or that this OP is a troll, please stop. This is a WIP, and the ROM did indeed work (when I still had my PC.) I did follow a ROM port guide the first time when it was successful, but now I don't know which one it is. I have contacted some ROM porters for help so I guess that I should wait for an answer to let them help me port it. And for this ROM, it's NOT for stable use yet. This is just for people wanting to test and see if it works at all. If you have your PC at the moment then please and try to fix it yourself. (I'll add you to credits.) Anyway, sorry about the inconvenience, but please don't call me a troll becuase I'm not! �� Cheers.

BUT BEFORE DOWNLOAD, READ THE STEPS BELOW. I'M NOT RESPONSIBLE FOR ANY DEVICE BRICKS ETC. THIS ROM IS FOR UNLOCKED BOOTLOADER PHONES ONLY HAVING MODEL NUMBER OF D6503.

Better safe then sorry. Create a ROM backup of your device in TWRP before installing the ROM in Recovery! Download ZipMe from the Play Store to backup some of your important data!

1: Download all of the files that you want to flash from the link given above and place them in the Root of your sdcard.

3: Download the updater-script FOR ROM FIX file and rename the file to updater-script.

4: Extract the ROM and replace the updater-script from the one you downloaded earlier with the one in the ROM (META-INF/google/com/android folder I think.). REZIP the ROM.

5: Reboot into recovery. Click on Wipe then "Adcanced Wipe." Wipe Dalvik Cache, Cach, System, Data, and Internal Storage.

6: Go back after finished. Flash the Android N ROM, then the Optional files. (Root, Media Apps, & And Smoother Boot Animation, backed up data etc.)

7: Flash the custom Kernel. (Link: http://xdaforums.com/xperia-z2/development/kernel-advanced-stock-kernel-t3347413)

8: Reboot and Enjoy!!! :)

If anything isn't working or your stuck in a bootloop, try and flash the bootloop fix file from here: https://mega.nz/#!AJcwERiQ!FUmk6eS5aoVsFSZ1f4WZIELIt7sckPCj11n0AIdCNzU

If your still stuck in a bootloop, then the ROM may not be compatible with your device. Use Flashtool to flash back to Lollipop/Marshmallow and wait for a ROM that's compatible with your Phone.

THANKS!!! :D

BTW this ROM is different from the one i installed. i have managed and tried to fix some issues like the camera, but if anything isn't working then just please report it. Thanks.!

Below Are Some Problems That You May Encounter.

-The Multi-Window is EXTREMELY laggy.

-Some apps don't work such as the Beta Program App Settings. (But then again, it's expected from a port. XD)

-Recovery (TWRP) may no longer work. You can try and install a Kernel and Recovery your self, but be sure to make a Backup before risking your phone into a Bootloop.

-My Bootloader is unlocked, so I HIGHLY recommend only flashing this ROM if you have a Unlocked Bootloader. If not, wait for a Locked Bootloader version!

-No more Sony Media Apps (Walkman Music, Album, Video etc.) after flashing ROM, so flash the Sony Media Apps zip after ROM to restore the Media Apps. :)

-The Boot Animation is EXTREMLY slow and laggy, (5-8fps) so please flash the Smoother Boot Animation zip after ROM flashed to ensure a smoother, 30fps Boot Animation. :)

I haven't encountered any other problems as of now, but I will update the list if I find a bug! :) And once I receive a problem or bug, I will try to patch it and upload it as a Flashable zip file to fix the bug. A Screenshot of Home Screen from Z2 Android N ROM is attached below...

Once the link is given and doesn't work on your device, just tell me the problem that it's going through, give me your device details, (LB or UB device, Model number, IMEI etc.) and I'll double check the ROM and will try to make supported for your device! :)

As you can see in the screenshot attachment down below, i have changed some of my icons (like the app icons and status bar icons) back to stock Xperia. I wasn't a BIG fan of all of the AOSP icons. :)

Upcoming ROM Information.

Contributers

Brandon Nel

Thiagomesa

pollonamid

hiredantispammer

ROM OS Version: N

ROM Kernel: Z2 Marshmallow 6.0.1 Kernel

ROM Firmware Required: At least 23.5.A.0.486

Based On: Android N DP2

Version Information

Status: BETA

Current Stable Version: N/A

Current Beta Version: 2016/04/27

Stable ROM Release Date: May 3 2016