[ROM] [7.1.1] [AOSP] [PURE NEXUS] [CARBON] Xperia Z2 [D6503, D6502, D6543]

Status
Not open for further replies.
Search This thread

rcstar6696

Senior Member
Dec 21, 2013
2,468
8,473
0
Kassel (Hessen)
AndroidPIT-N-android-android-mini-collectible.jpg


INFORMATION
First AOSP NOUGAT based Builds for Sony Xperia Z2.

Disclaimer
We are not responsible for anything that may happen to your device . We ask that you do your part to know your device and know how to recover from problems before you flash!

BUGS,
1. Camera Foucs unclear & Dark camera.
2. Front Camera crash at 16:9 ratio.

All other seems to Work for now.
Please let me know if you find more Bugs!!!


INSTRUCTIONS,
Download Rom, Recovery & Gapps First & Unlock Bootloader
1. Download AOSP & PURE NEXUS ROM
---Download CARBON ROM
---Download TWRP RECOVERY 3.0.0-0
2. Download OPENGAPPS (Full version GAPPS recommended)
3. Flash the Boot from ROM via fastboot (fastboot flash boot pathTo/boot.img)
4. Flash TWRP Recovery 3.0.0-0 via fastboot too (fastboot flash recovery pathTo/recovery.img)
5. Boot into Recovery by using VOLUME UP when Sony logo comes up with pink notification light.
6. Wipe SYSTEM, DATA, DALVIK, CACHE from recovery.
--- 6.1 If you Update the ROM skip 3,4 & 6.
7. Flash the Rom zip and Open Gapps zip from Recovery.
--- 7.1 For D6502 user flash Baseband Patch
8. Reboot.

(Optional)
9. Root Direct Download
10. Flash SU zip via recovery.
11. Reboot.

Changelogs :

Build 28/02/2017
- Pixel navigation bar animation fix
- call echo finally fixed 100%
- bug fixes and performance improvements

Build 18/02/2017
- New blobs from sony
- Call reboot fixed
- Camera crash fixed
- charging bug fixed
- Latest security patch

Build 09/11/2016
- Google release 7.1_r7
- November Security patch
- new charger driver
- added Support of D6502

Build 31/10/2016
-Camera fix (half green is gone)
-Nfc is fixed
-Update interactive gov
-Fix charging bug
-Unify sound Implementation
-Rework panel Implementation

Build 21/10/2016
-Android 7.1.0_r4 release
-Some camera commits
-Removed fm radio (causes deep sleep problems)
-Night display enabled


Sceenshots :

s429gm.png

292qhcl.png

20hrh3r.png

8voykk.png

34sie7c.png



FAQ :

Q- Can i install it on locked bootloader?
A- No.

Q- Which gapps should be used?
A- OpenGapps arm 7.1 Full

Q- How to install this rom?
A- Read first post.

Q- Is camera working?
A-See the bugs listed above.

Q- Something* is not working.
A-Report bugs on github or here when it is not listed above.

Q-Battery draining quickly.
A-There is miscellaneous battery drain.Else no issue with battery.


CREDITS
AOSP/Google
Sonys Open Device Program

Sources
Google
Device Tree
Kernel tree
Vendor Tree


XDA:DevDB Information
Android Open Source Project [Nougat], ROM for the Sony Xperia Z2

Contributors
rcstar6696, akshay2shah
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP

Version Information
Status: Alpha

Created 2015-10-29
Last Updated 2017-04-15
 
Last edited:

rcstar6696

Senior Member
Dec 21, 2013
2,468
8,473
0
Kassel (Hessen)
Anyone wanna make bet's if it's gonna work in Multirom ? :D

I wont bet but that wont stop me from trying :p

It may glitch out when flashing as some img based roms zip thingers are like so


No it will not work with Multirom and its not planned for the future first fix audio and Video and Camera than maybe
 

rcstar6696

Senior Member
Dec 21, 2013
2,468
8,473
0
Kassel (Hessen)
Damn now you really have my interest

Anyway it'd be nice that we have a mostly working aosp build for once

(im sure we are yet to see it here for sirius)

today night i will build the first flashable zip it will have ant+ support and selinux will be present too.
i have a test build with cam but no focus and extremly bad colours :D i hope it will be better later and then maybe i will release it. but first i need to fix light sensor on castor and castor windy ( z2 tablet)
 

Envious_Data

Senior Member
Oct 12, 2012
4,869
2,280
0
Imagination
enviousmedia.design
today night i will build the first flashable zip it will have ant+ support and selinux will be present too.
i have a test build with cam but no focus and extremly bad colours :D i hope it will be better later and then maybe i will release it. but first i need to fix light sensor on castor and castor windy ( z2 tablet)

Well as long as it eventually works then it will benefit users and other developers

Ill let you know if i can find anything when i try it
 

peddarson

Senior Member
Aug 20, 2012
600
112
0
today night i will build the first flashable zip it will have ant+ support and selinux will be present too.
i have a test build with cam but no focus and extremly bad colours :D i hope it will be better later and then maybe i will release it. but first i need to fix light sensor on castor and castor windy ( z2 tablet)
Wow, you got the camera finally got to work (kind oft)? Did Sony publish the drivers finally?
 

rcstar6696

Senior Member
Dec 21, 2013
2,468
8,473
0
Kassel (Hessen)
Wow, you got the camera finally got to work (kind oft)? Did Sony publish the drivers finally?

Yes we have made a test build with camera and it works but not fully and will
Not released in near future we revert the test build commits and now its complete without cam and we will bring it back only if its fully working
No but we are working on community drivers based on aosp but i will not relase any build with camera now

Edit: it seems that David viteri has fixed audio for Z3 and maybe his commits fix audio on z2 :D
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 148
    AndroidPIT-N-android-android-mini-collectible.jpg


    INFORMATION
    First AOSP NOUGAT based Builds for Sony Xperia Z2.

    Disclaimer
    We are not responsible for anything that may happen to your device . We ask that you do your part to know your device and know how to recover from problems before you flash!

    BUGS,
    1. Camera Foucs unclear & Dark camera.
    2. Front Camera crash at 16:9 ratio.

    All other seems to Work for now.
    Please let me know if you find more Bugs!!!


    INSTRUCTIONS,
    Download Rom, Recovery & Gapps First & Unlock Bootloader
    1. Download AOSP & PURE NEXUS ROM
    ---Download CARBON ROM
    ---Download TWRP RECOVERY 3.0.0-0
    2. Download OPENGAPPS (Full version GAPPS recommended)
    3. Flash the Boot from ROM via fastboot (fastboot flash boot pathTo/boot.img)
    4. Flash TWRP Recovery 3.0.0-0 via fastboot too (fastboot flash recovery pathTo/recovery.img)
    5. Boot into Recovery by using VOLUME UP when Sony logo comes up with pink notification light.
    6. Wipe SYSTEM, DATA, DALVIK, CACHE from recovery.
    --- 6.1 If you Update the ROM skip 3,4 & 6.
    7. Flash the Rom zip and Open Gapps zip from Recovery.
    --- 7.1 For D6502 user flash Baseband Patch
    8. Reboot.

    (Optional)
    9. Root Direct Download
    10. Flash SU zip via recovery.
    11. Reboot.

    Changelogs :

    Build 28/02/2017
    - Pixel navigation bar animation fix
    - call echo finally fixed 100%
    - bug fixes and performance improvements

    Build 18/02/2017
    - New blobs from sony
    - Call reboot fixed
    - Camera crash fixed
    - charging bug fixed
    - Latest security patch

    Build 09/11/2016
    - Google release 7.1_r7
    - November Security patch
    - new charger driver
    - added Support of D6502

    Build 31/10/2016
    -Camera fix (half green is gone)
    -Nfc is fixed
    -Update interactive gov
    -Fix charging bug
    -Unify sound Implementation
    -Rework panel Implementation

    Build 21/10/2016
    -Android 7.1.0_r4 release
    -Some camera commits
    -Removed fm radio (causes deep sleep problems)
    -Night display enabled


    Sceenshots :

    s429gm.png

    292qhcl.png

    20hrh3r.png

    8voykk.png

    34sie7c.png



    FAQ :

    Q- Can i install it on locked bootloader?
    A- No.

    Q- Which gapps should be used?
    A- OpenGapps arm 7.1 Full

    Q- How to install this rom?
    A- Read first post.

    Q- Is camera working?
    A-See the bugs listed above.

    Q- Something* is not working.
    A-Report bugs on github or here when it is not listed above.

    Q-Battery draining quickly.
    A-There is miscellaneous battery drain.Else no issue with battery.


    CREDITS
    AOSP/Google
    Sonys Open Device Program

    Sources
    Google
    Device Tree
    Kernel tree
    Vendor Tree


    XDA:DevDB Information
    Android Open Source Project [Nougat], ROM for the Sony Xperia Z2

    Contributors
    rcstar6696, akshay2shah
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Unlocked Bootloader
    Based On: AOSP

    Version Information
    Status: Alpha

    Created 2015-10-29
    Last Updated 2017-04-15
    61
    PHP:
    rcstar6696,

    Hi! please tell me where to download fully working Los?

    Please wait till April for release.

    Tomorrow late evening is release for 3.4 lineage build :) we are finish !!! it requiers a small extra flashable ZIP but more tomorrow in the New thread
    This is the public annoucement for it !!!!
    47
    Annoucement

    Hey

    I finally fixed 3.4 kernel on lineage for our device
    It has a fully working cam with same quality than stock Rom
    I will post some samples later
    Only things which are broken are NFC and FM radio
    I will make a new thread for the 3.4 rom but i will not stop development here but i will more investigate 3.4 for now

    I hope you will like the new Rom but it will take some days to prepare all things i will inform you about ans news
    43
    PHP:



    Tomorrow late evening is release for 3.4 lineage build :) we are finish !!! it requiers a small extra flashable ZIP but more tomorrow in the New thread
    This is the public annoucement for it !!!!
    Many sleepless night !
    100's of flash over and over again.
    Trial and error.
    Giving precious time ! Using all knowledge, frustation moments , success​, Unkillable bugs, eternal camera issue with AOSP.
    Nightmare of AOSP blobs 3.10.
    Challenge of getting Fully working Android N on MSM8974.

    & Finally we are here with fully working device !

    We really appreciate your efforts ! ?
    Thanks once again for all hard work and patience.
    Thanks @rcstar6696 @nailyk @tomascus @Myself5 & team !

    P.S. - BTW if u guys didn't know, @rcstar6696) his Z2 got dead in process of development. He bought new Z2 only for development, he could have hav bought anything other than z2 but he kept his word and giving us Stable Android N.
    Huge Respect ! ?
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone