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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 :
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

Reserved

Reserved

Reserved

Can you make a flashable zip ?
I not have pc to try every aosp rom !
Sent from my Xperia Z2 using Tapatalk

Does the sdcarf get mounted?

that's awesome, I can't wait for a build with all functions Working, Great job!

paulwollf said:
Does the sdcarf get mounted?
Click to expand...
Click to collapse
Yes but you need to do it by yourself it will show up as notification and then you will have access to it

itsnie said:
Can you make a flashable zip ?
I not have pc to try every aosp rom !
Sent from my Xperia Z2 using Tapatalk
Click to expand...
Click to collapse
I will look into it but the first will be only imgs or i will found a way to make a ZIP for you
Edit: next build will be a flashable ZIP its easy

rcstar6696 said:
I will look into it but the first will be only imgs or i will found a way to make a ZIP for you
Edit: next build will be a flashable ZIP its easy
Click to expand...
Click to collapse
You're genius man [emoji16]
Thanks
Sent from my Xperia Z2 using Tapatalk

rcstar6696 said:
Edit: next build will be a flashable ZIP its easy
Click to expand...
Click to collapse
Anyone wanna make bet's if it's gonna work in Multirom ?

Haldi4803 said:
Anyone wanna make bet's if it's gonna work in Multirom ?
Click to expand...
Click to collapse
I wont bet but that wont stop me from trying
It may glitch out when flashing as some img based roms zip thingers are like so

Haldi4803 said:
Anyone wanna make bet's if it's gonna work in Multirom ?
Click to expand...
Click to collapse
Envious_Data said:
I wont bet but that wont stop me from trying
It may glitch out when flashing as some img based roms zip thingers are like so
Click to expand...
Click to collapse
No it will not work with Multirom and its not planned for the future first fix audio and Video and Camera than maybe

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)

Envious_Data said:
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)
Click to expand...
Click to collapse
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 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)

rcstar6696 said:
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 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)
Click to expand...
Click to collapse
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

rcstar6696 said:
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 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)
Click to expand...
Click to collapse
Wow, you got the camera finally got to work (kind oft)? Did Sony publish the drivers finally?

peddarson said:
Wow, you got the camera finally got to work (kind oft)? Did Sony publish the drivers finally?
Click to expand...
Click to collapse
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

Audio and Video playing is fixed in the next build but the colours on Video are totaly wrong like on Android l aosp
Next build will be avabile tomorow and now i will use it as my daily driver

Wow this thread just made my day! Been dreaming about working aosp build for z2 for so long! Do you accept donations for your awesome work?

Related

[ROM][6.0.1][FINAL] Android Open Source Project [OMS/Substratum] [Updated 31-10-2016]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Android Open Source Project with OMS/Layers
Disclaimer:-
Code:
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,thermonuclear war, or you getting fired because the alarm app failed!!
* Please make nandroid backup before flashing this as a precaution!
* Try this ROM at your own risk!
Smoothness of Stock ROM with greatness of OMS Themes!​
What is AOSP?
AOSP is Android as Google publishes without other modifications. More or less AOSP is the Nexus devices stock rom without gapps.
Anyway, to get a working system I added some changes from CodeAurora Forum and CyanogenMod. I also added Non-AOSP features for a better user experience ("Clear All" button in Recents) and I'm NOT going to add something other.
What is OMS?
OMS stands for Overlay Manager Service and was developed by Sony, just like RRO - so overlays could be downloaded and managed through a client.
More about OMS and Substratum
Developers:-
@srisurya95
@akhilnarang
Features:-
Based On Google's AOSP
Clear all recents
AOSPA Battery Styles
Quick Unlock
Volume Rocker Wake
Advanced reboot
Hardware Key customization
Optimizations for battery
How to flash:-
Make sure you have TWRP recovery installed in FOTA partition
Download Latest AOSP Marshmallow Build
Download Gapps
Take Nandroid Backup via Recovery
Recommended- Full wipe and Factory reset
Format System, Data, Cache, Dalvik-cache and Clean Install the ROM
Flash ROM using recovery
Flash Gapps
Reboot
Enjoy!
NOTE- To access FOTA recovery(CWM/TWRP) after flashing AOSP, press vol+ on reboot.
Downloads:-
Download AOSP-OMS Marshmallow [2016-10-31]
Download MD5 Checksum
Old Versions:-
Download AOSP-OMS Marshmallow [2016-08-12]
Download MD5 Checksum
Download AOSP-RRO Marshmallow [2016-05-24]
Download MD5 Checksum
Download AOSP-RRO Marshmallow [2016-05-15]
Download MD5 Checksum
Bugs:-
None!
Credits:-
Big thanks to @qsnc and @airlessproject
Thanks to @Alberto97 (for his works on F-AOSP lollipop)
CyanogenMod Team
SlimROM Community
AOSPB
XDA:DevDB Information
Android Open Source Project [AOSP+OMS], ROM for the Sony Xperia Z
Contributors
STRYDER~007
ROM OS Version: 6.0.x Marshmallow
Source Code Rom:https://github.com/AOSP-RRO
Source Code Kernel:https://github.com/AdrianDC/android_kernel_sony_apq8064/tree/cm-13.0
Source Code Device:https://github.com/STRYDER-007/android_device_sony_yuga
Version Information
Status: Stable
Created 2016-05-15
Last Updated 2016-10-31
Screenshots and Changelogs
Changelogs:-
Code:
====================
31-10-2016
====================
- Merged Android-6.0.1_r72
- October 5th security patch merged
- Added livewallpaper picker
- Added caf material music player and audio fx
- Nuked busy box and added toybox
- Fixed bash
- New default wallpaper
- Updated sepolicy
- Added many APNs
- Updated and included new OMS commits
====================
12-08-2016
====================
- Android-6.0.1_r61 merged
- Updated security patch to August
- Added AOSPA battery styles which includes portrait, circle, percentage only modes (Accessible through Settings->Battery)
- New Theme system called OMS is now merged. Layers manager is deprecated and Substratum is added.
- Added option to select MTP or charging or photo transfer by default when usb is connected (accessible through Settings->Storage & USB)
- Fix Low recording volume
- Updated SuperSU to V2.76
- New material Camera icon
- New material SIM toolkit icon
- Removed Email app to reduce zip size
- New Adreno sensor blobs
- Fix network search
- Hotplug updates in kernel for performance improvements
- Upstream AOSP changes
====================
24-05-2016
====================
- Fixed In-Call Volume issue
- Reverted to old audio HAL
- Fixed NFC
====================
14-05-2016
====================
- Updated base to 6.0.1_r43
- Security patches updated to May Release
- Fixed SuperSU flashing
- Initial Marshmallow Release
Screenshots:-
Fast
Stable
Battery Friendly
Best
Kuciak said:
Fast
Stable
Batery Friendly
Best
Click to expand...
Click to collapse
Glad you liked it! Enjoy..Report bugs if you find any..
Very good Work. Just an AOSP .
layers yet never by belongs. but very good the rome very much slim and without extras. simple only aosp very good. am enthusiastically. times see how these itself behaves.
I have set a Theme but in every Themes are this is not currently with your Android Version .
Herr
The Theme is working fine.
Why standing at each theme
Gesendet von meinem Xperia Z mit Tapatalk
HWsimon said:
Very good Work. Just an AOSP .
layers yet never by belongs. but very good the rome very much slim and without extras. simple only aosp very good. am enthusiastically. times see how these itself behaves.
I have set a Theme but in every Themes are this is not currently with your Android Version .
Herr
The Theme is working fine.
Why standing at each theme
Gesendet von meinem Xperia Z mit Tapatalk
Click to expand...
Click to collapse
That layer theme is not updated I guess..That's why it's not supported..Try Art Reborn layer theme..It's good! :good: Btw guys, I need testers for a new Official Sony UI ROM based on Marshmallow..Message me on Telegram app. My username- STRYDER_007
something's wrong with recovery or maybe just my device, I can't access microSD, heck I can't even access sdcard (internal storage) so I can't install GApps
I had to install another recovery via adb and it's a pain to do so lol
So far the the 6.0.1 Rome is the is the least hot and works most stable. No Fcs. Everything goes as it should.
Gesendet von meinem Xperia Z mit Tapatalk
Dev, your ROM have very high lags (on audio) in calling on Skype (on forehound and background).
Edit: problem fixed after 30 mins after using (on this rom only, on others roms on 6.0.1 based, this problem stayed).
In call Speaker not working I have C6603 fresh install and if i activate loud speaker i cant hear anything .. but speaker in music working
TrueFriend-cz said:
Dev, your ROM have very high lags (on audio) in calling on Skype.
Click to expand...
Click to collapse
Tr0NiX123 said:
In call Speaker not working I have C6603 fresh install and if i activate loud speaker i cant hear anything .. but speaker in music working
Click to expand...
Click to collapse
Can you get me logs?
STRYDER~007 said:
Can you get me logs?
Click to expand...
Click to collapse
Yeah Give me a 1 minute please now i stuck on boot screen
logcat
View attachment 3751613 Updated with trying call View attachment logcat.docx
Tr0NiX123 said:
Yeah Give me a 1 minute please now i stuck on boot screen
logcat
View attachment 3751613 Updated with trying call View attachment 3751625
Click to expand...
Click to collapse
Calling doesn't work for both sides, neither mic nor speaker work. But Whatsapp calling works.
But i tried AOKP rom and on both roms i cant hear in call
I am a massive fan of what slimROM has done for my past phones and I think this is the closest I will get to a slimMarshmallow rom right now.
Thank you, thank you so much! Can't wait to try this out
STRYDER~007 said:
Can you get me logs?
Click to expand...
Click to collapse
No i edited post.... Problem has been fixed after +-30 mins after using.
Yeah i can confirm call audio(in/out) and speaker are not working, i just hear a beep on call end, also tried Whatsapp its working just fine.
Log recorded from Catlog
sarfrax said:
Calling doesn't work for both sides, neither mic nor speaker work. But Whatsapp calling works.
Click to expand...
Click to collapse
Tr0NiX123 said:
But i tried AOKP rom and on both roms i cant hear in call
Click to expand...
Click to collapse
TrueFriend-cz said:
No i edited post.... Problem has been fixed after +-30 mins after using.
Click to expand...
Click to collapse
Prohyper said:
Yeah i can confirm call audio(in/out) and speaker are not working, i just hear a beep on call end, also tried Whatsapp its working just fine.
Log recorded from Catlog
Click to expand...
Click to collapse
It seems this issue emerged due to new Audio HAL changes in source..I'll look into it! Thanks for the logs guys! :highfive:
FritzOnFire said:
I am a massive fan of what slimROM has done for my past phones and I think this is the closest I will get to a slimMarshmallow rom right now.
Thank you, thank you so much! Can't wait to try this out
Click to expand...
Click to collapse
You're welcome! Enjoy! I'm also bringing my StryFlex ROM to XZ as soon as AOSP is fixed and usable as daily driver..
awsome to see you here from xperia sp to xperia z verry nice going to check this for now
Thank you for the great rom. We can put up if camera would not work, but the ability to make calls is the important function of the rom This rom is very nice, so we will use only sms for a little time and wait the update

[UNOFFICIAL][7.1.1][HYDROGEN] XenonHD 7.1.1

[UNOFFICIAL][7.1.1][HYDROGEN] XenonHD 7.1.1​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TeamHorizon's XenonHD rom builds for Xiaomi Mi Max (Hydrogen)​http://www.xenonhd.com/​
XenonHD is a custom firmware aka ROM for various Android devices. It is based on CyanogenMod 14.1 with additional features, performance and battery life improvements.
The idea behind XenonHD is to give users a ROM that is "blazing fast, rock stable and buttery smooth".
Flashing Instructions:​To install this ROM you will need to have a latest custom Recovery such as TWRP installed.
Copy the downloaded ROM to your phone.
Boot into your recovery
Back up your ROM
Enter recovery
Make a full wipe (system, data, cache, dalvik)
Install the ROM
Install GAPPS package
Reboot - the first boot can take up to 5 minutes
links in Download Section ​
https://forum.xda-developers.com/devdb/project/?id=19846#downloads
Please Do Hit The Thanks Button if you like my work
Rom is in beta Stage So there can be some bugs
Review : https://forum.xda-developers.com/showpost.php?p=71487748&postcount=11
XDA:DevDB Information
[UNOFFICIAL][7.1.1][HYDROGEN] [SUBSTRATUM] XenonHD 7.1.1 , ROM for the Xiaomi Mi Max
Contributors
aggarwalace
Source Code: https://github.com/TeamHorizon
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP
Based On: Lineage OS
Version Information
Status: Beta
Created 2017-03-18
Last Updated 2017-03-19
Nice! Hopefully this is maintained well and regularly. Xenon used to be THE ROM to flash during KK days!
where is download link?
nice couldnt find the download but still grat to see more and more roms for this phone
lionel8595 said:
nice couldnt find the download but still grat to see more and more roms for this phone
Click to expand...
Click to collapse
Downloads section
lionel8595 said:
nice couldnt find the download but still grat to see more and more roms for this phone
Click to expand...
Click to collapse
https://forum.xda-developers.com/devdb/project/dl/?id=23719
Well, there is a rom for "kenzo" on xenonhd site so maybe there somewhere exists one for hydrogen
But, yes Downloads section would be welcome Unless it's only "thanks" bait
Download
lionel8595 said:
nice couldnt find the download but still grat to see more and more roms for this phone
Click to expand...
Click to collapse
checkpost again
Download
mat9v said:
Well, there is a rom for "kenzo" on xenonhd site so maybe there somewhere exists one for hydrogen
But, yes Downloads section would be welcome Unless it's only "thanks" bait
Click to expand...
Click to collapse
check Post again
Download
Alex Tian8800 said:
where is download link?
Click to expand...
Click to collapse
check post again
So first impressions: installation on helium (after installer and kernel config was modified)
- installer went without problems
- initial setup wizard went well, asked for both sim cards and configured them, wifi 5ghz ac connected without problem, google happily restored all 175 apps from backup, fingerprint was created and works correctly with pin
- room looks like typical LAOS with blue on white settings
- settings informs that it has march 2017 security fixes
- SELinux is enforcing
- dark settings theme is available in display menu
- there is, in settings menu, a "Configuration" huge menu with different settings to change
- a bug with camera, in 4k recording starts, but there is no counter and stopping recording immediately exits camera app (I did not make any changes to build.prop, only patched core control)
in 1080p counter shows for a second, disappears and nothing else happens, same happens in 720p, other camera apps don't work either (google camera, cinema fv-5, lgcamera, open camera)
- even with "persist.camera.HAL3.enabled=1" in build.prop, recording is still broken
- gps works correctly, as do flashlight
- LTE data works on both sims (can't test VOLTE, my network does not allow it)
- Substratum works, very nice effects with semi-transparent theme
- battery life is good (at least the deep sleep and idle parts), idle power use seems to be about 13mA
I will be updating with further progress and tests
- while Substratum works, main settings page can't be modified with semi transparent background
- benchmark scores are like other LAOS roms (at least with my governor/core control modifications)
- Vulkan support is present
aggarwalace said:
[UNOFFICIAL][7.1.1][HYDROGEN] XenonHD 7.1.1​
Click to expand...
Click to collapse
Fix camera + MTP default + notification light.
link77kz said:
Fix camera + MTP default + notification light.
Click to expand...
Click to collapse
Thanks now everything is working.Using harfix kernel battery life is awesome but anyway can we enable core control here?BTW had to disable some system app like supersu, adaway cos i don't use them and gallery is buggy so I disable it.Overall a good rom.Thanks op.
link77kz said:
Fix camera + MTP default + notification light.
Click to expand...
Click to collapse
Is the fix in kernel image or in framework/.so file? Because after your fix and flashing Harfix, camera is not working.
link77kz said:
Fix camera + MTP default + notification light.
Click to expand...
Click to collapse
any fix for certain email app force closing like bluemail when i already allow permission still force close
mat9v said:
Is the fix in kernel image or in framework/.so file? Because after your fix and flashing Harfix, camera is not working.
Click to expand...
Click to collapse
I don't use a third-party leftist core Harfix sorry
fix camera lib/libcameraservice.so
mat9v said:
Is the fix in kernel image or in framework/.so file? Because after your fix and flashing Harfix, camera is not working.
Click to expand...
Click to collapse
i got no problem after flashing same thing as you but i am on hydrogen
Camera issue on Helium is fully fixed on default and Harfix kernel by flashing ajsmsg78's fix https://www.androidfilehost.com/?fid=457095661767140419
It replaces kernel so to use it with Harfix, it must be flashed over after installing the fix.
This also fixes 30s bug.
@aggarwalace sorry for off-topic, but seems you're the only one who is still introducing new rom for MiMax, could you make tesla/validus roms please?
Yes ofcourse
laolang_cool said:
@aggarwalace sorry for off-topic, but seems you're the only one who is still introducing new rom for MiMax, could you make tesla/validus roms please?
Click to expand...
Click to collapse
i am trying to port each and every Rom to Our beloved Hydrogen !! stay tuned

[ROM][Alpha][8.1.0] Lineage OS for Xperia Z2 (Sirius)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lineage OS Oreo For Xperia Z2​
This rom is unsupported in favour of rr
Installation Instructions
---If you Update the ROM skip 2,3,4,6,8.
1. Download ROM, Gapps (need newest version) , TWRP recovery.
2. Extract Boot.img from ROM zip.
3. Flash the Boot.img from ROM via fastboot (fastboot flash boot pathTo/boot.img)
4. Flash TWRP Recovery via fastboot (fastboot flash recovery pathTo/recovery.img)
5. Boot into Recovery by using VOLUME UP when Sony logo comes up with pink notification light.
(Orange LED shows Recovery is Loading)
6. Wipe SYSTEM, DATA, DALVIK, CACHE from recovery (Wipe Option).
7. Flash the Rom zip from recovery.
8. Flash Gapps zip from recovery.
9. For D6502 user flash Baseband Patch
10. Reboot.
Downloads
Gapps (Full recommended but not needed)
TWRP Recovery 3.1
ROM
Bugs:
Video doesn't work
Source Code:
https://github.com/LineageOS
https://gitlab.com/opendata26/android_device_sony_sirius
https://gitlab.com/opendata26/android_device_sony_msm8974-common
https://gitlab.com/opendata26/android_kernel_sony_msm8974
XDA:DevDB Information
Lineage OS, ROM for the Sony Xperia Z2
Contributors
opendata, rcstar6696, akshay2shah, iXaidyiu
Source Code: http://github.com/LineageOS
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: LineageOS
Version Information
Status: No Longer Updated
Current Stable Version: 02-06-2018 (final)
Stable Release Date: 2018-02-06
Created 2017-11-04
Last Updated 2018-02-11
Reserved
Video fixed build in about 30min
EDIT: since the fix i thought wouuld work didn't work it'll probably be tommorow instead
EDIT2: since the other fix i thought would work didn't work it'll probably be tommorow instead
EDIT3: video work is stopped for now, not even los devs know what issue is, will be fixed this month probably though.
opendata said:
Video fixed build in about 30min
Click to expand...
Click to collapse
Happy to see you again supporting our device too. Thanks.
As reported on our Z2 Forum BT can not be switched off.
UPD: Switches on and off after reboot.
A new rom that will keep Xperia Z2 Alive...thanks
And as far as i know, RR O maybe will be released next year..maybe
Something is really wrong with microsd card mount in system. It detects like a new card after each reboot. File system exFAT. Also there is second fat for APPS2SD (f2fs).
Sent from my sirius using XDA Labs
Dear dev.I wanted to humbly ask,
has the option to set WiFi region code been completely disabled. It was available in nougat so since its no longer there...I guess its not going to appear later on in the future either.is it?
Oh and great work there.its extremely faster when compared to nougat.and also smoother. Thanks!!!!
chriskhany said:
Dear dev.I wanted to humbly ask,
has the option to set WiFi region code been completely disabled. It was available in nougat so since its no longer there...I guess its not going to appear later on in the future either.is it?
Oh and great work there.its extremely faster when compared to nougat.and also smoother. Thanks!!!!
Click to expand...
Click to collapse
I think it will come because the nougat rom didn't have the region code option at first but it came on later updates but @opendata knows better
raminta said:
I think it will come because the nougat rom didn't have the region code option at first but it came on later updates but @opendata knows better
Click to expand...
Click to collapse
It will come when its merged into los
Hafyzy said:
A new rom that will keep Xperia Z2 Alive...thanks
And as far as i know, RR O maybe will be released next year..maybe
Click to expand...
Click to collapse
It won't, drvs have said end of december
Mondor1979 said:
As reported on our Z2 Forum BT can not be switched off.
UPD: Switches on and off after reboot.
Click to expand...
Click to collapse
Thanks for reporting, will look into
Mondor1979 said:
Something is really wrong with microsd card mount in system. It detects like a new card after each reboot. File system exFAT. Also there is second fat for APPS2SD (f2fs).
Sent from my sirius using XDA Labs
Click to expand...
Click to collapse
Think that's a los issue, rebooting a couple of times should fix it
so does this rom have same exfat bug like in carbon rom?
and what about drm? it is included or not?
Samir2298 said:
so does this rom have same exfat bug like in carbon rom?
and what about drm? it is included or not?
Click to expand...
Click to collapse
Nope, exfat works and DRM should also be included
Wow just installed this rom and tried some things like checking if the system is stable and installing some apps like sound mods. Viper4Android is installed and works perfectly. Nice works thank you very much for that extremly stable and awesome build. Can't wait to see more of your work.
churchner420 said:
Wow just installed this rom and tried some things like checking if the system is stable and installing some apps like sound mods. Viper4Android is installed and works perfectly. Nice works thank you very much for that extremly stable and awesome build. Can't wait to see more of your work.
Click to expand...
Click to collapse
does it support WiFi Region Code? because I can't access WiFi without it
Austin.gonzo said:
does it support WiFi Region Code? because I can't access WiFi without it
Click to expand...
Click to collapse
Not sure. Good question. But Wifi works normally for me if that helps.
Is video recording working?
churchner420 said:
Not sure. Good question. But Wifi works normally for me if that helps.
Click to expand...
Click to collapse
can you check if it's there
go to settings, WiFi, look for it in WiFi options
thanks
Austin.gonzo said:
can you check if it's there
go to settings, WiFi, look for it in WiFi options
thanks
Click to expand...
Click to collapse
This is everything you can find in the wifi settings. Is it helpful?
opendata said:
Nope, exfat works and DRM should also be included
Click to expand...
Click to collapse
That's mean camera all functionally working and quality(especially low ligh performance) better as locked stock?

[ROM] [XZ] [F8331] [F8332] [Pie] [STABLE] | AOSP 9.0 Pie builds for F8331/F8332

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
First public Android 9.0 builds for Kagura! It`s pure AOSP from Google with few modifications by me and general configs/tweaks from Sony Open Devices Project. Let`s make our XZ great again!
How To Install​
Download all needed files of latest version: ROM, TWRP, OEM, Magisk, GApps (arm64, Android 9.0, nano)
Flash latest TWRP using:
Code:
[COLOR="Red"]fastboot flash recovery [your twrp image name].img[/COLOR]
Flash latest OEM using:
Code:
[COLOR="Red"]fastboot flash oem [your oem image name].img[/COLOR]
Reboot your phone to recovery by pressing Vol- and Power Button together - Sony logo must appear, then TWRP will boot in ~15sec. PHONE MUST BE TURNED OFF!!!
When rebooted to recovery, format /data, then do wipe /data /cache /dalvik, put ROM, Magisk and OpenGapps zips to internal storage
FOLLOW NEXT STEPS AS THEY ARE DESCRIBED HERE, IT`S VERY IMPORTANT!!!
Flash ROM (universal for both F8331 and F8332) and DualSim patch if you`re using F8332 (head to F8332 folder)
Flash Magisk
Flash Gapps
When finished, reboot to system as TWRP suggests you. Phone will reboot twice, it`s OK, after second reboot it will start to boot to system
Bugs:​
[*]Notification light
Night light (can`t be fixed)
Official TWRP can`t mount /data (TWRP`s issue, wait for update, or use AdrianDC`s one)
Credits:
MotexT
Paul aka Fastbooking for guiding​SONY Open Devices Project developers for source​
Gouster aka tweak-maniac for DualSim patcher​
Download links/mirrors:​
GDrive - builds are ordered by date of build in corresponding folder
[Your mirror] - i allow mirroring, but put credits then and inform me about mirror, will add it here
ROM OS Version: 9.0 Pie
ROM Kernel: Linux 4.9
Based On: AOSP
Version Information
Status: Stable
Latest Beta Release Date: 06/10/2018
Latest Stable Release Date: 06/10/2018
Created 11/09/2018
Last Updated 06/10/2018
Changelog​11/09:​
new navbar
better battery
led notifications should work now
new oem, so possibly more stable and alot faster
12/09:​
MTP works now
webview patched
autobrightness fixed
forceencrypt disabled, set to encryptable
autorotation fixed
camera fixed partially - aosp camera app works now, 3rd party should too (except any of GCam)
fingerprint reboots fixed: press once when phone showed from side, then wait until 3 animations on fingerprint pass, just than add your fingerprint
finally separate builds for F8332 aka dualsim, check my GDrive
14/09:​
under the hood fixes for better perfomance
frontal camera works now
removed night light
disabled notification LED until i fix it
24/09:​
updated mixer_paths.xml to possibly fix top speaker
WiFi on battery draining fixed
camera improved a bit
latest sources & patches from AOSP and SOD for even better performance and stability
06/10:​
notification led finally fixed, thx SOD team
latest sources
pixel accent
top speaker re-fix
speed improvements, some random reboots fixed
06/10 upd. [STABLE]:​
now marked as [STABLE]
google camera and other camera apps are fixed now
removed annoying career label (lmao, i thought you will like it)
removed annoying volume-level warning
some under-the-hood improvements, up to you to notice speed and stability increase
Screenshots:​
​
Awesome work Bro...
Which Folder is better one?
J.M.Siyath said:
Awesome work Bro...
Which Folder is better one?
Click to expand...
Click to collapse
Folder`s are grouped in dd/mm order, so for now 10/09 is the most recent one. Today 11/09 will come, wait for updates.
MotexT said:
Folder`s are grouped in dd/mm order, so for now 10/09 is the most recent one. Today 11/09 will come, wait for updates.
Click to expand...
Click to collapse
Yes, but latest folder name is "underbug" therefore.
and 11/09 Build is Uploaded
Thanks for your work! how do you enable the gestures? they aren't visible in the settings
I have to say its blazing fast, its way snapier than stable oreo, keep up the good work, by the way camera works with open camera app from google store.
Be_Cruel. said:
I have to say its blazing fast, its way snapier than stable oreo, keep up the good work, by the way camera works with open camera app from google store.
Click to expand...
Click to collapse
Thx for feedback, will edit OP
OEM got updated, so links for download are updated too. Also new build is ready - 11/09, download it. In pair with new oem it`s incredibly fast
Wow ! Already 9.0 ?! Is it usable on a daily basis ? (Camera, battery...)
ilininja said:
Wow ! Already 9.0 ?! Is it usable on a daily basis ? (Camera, battery...)
Click to expand...
Click to collapse
Perfect candidate as daily driver, except cera works only in third party apps, and not all of them. Wait for fixes, no ETA for now.
USB PC file trasnfer is not working including twrp after boot, twrp asks password to dcrypt. any tips?
J.M.Siyath said:
USB PC file trasnfer is not working including twrp after boot, twrp asks password to dcrypt. any tips?
Click to expand...
Click to collapse
Will be fixed, no ETAs for now. When I will have time.
Keep up the awesome work :good:
Waiting for fix , i will test it on my F8332
anyone tried it on f8332?
nhicko95 said:
anyone tried it on f8332?
Click to expand...
Click to collapse
I tried, but sim 1 only working.
J.M.Siyath said:
I tried, but sim 1 only working.
Click to expand...
Click to collapse
try to add this to build.prop
persist.multisim.config=dsds
persist.radio.multisim.config=dsds
ro.telephony.default_network=9,0
Click to expand...
Click to collapse
fingerprint registration cause of force shut down
Amazing fast rom. Bug i noticed so far: camera Not working, adaptive brightness Not working, Fingerprint Set Up causes Phone shut down, nightlight Not working. I will use it more and will Report Back
Edit: also high battery drain when Screen on & Off
Edit2: Notificiation LED is Always activated with Red Color when Screen is on or off

[ROM+KERNEL][UNOFFICIAL][11.0] crDroid

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Rom Features:
https://github.com/crdroidandroid/crdroid_features/blob/11.0/README.mkdn
Device specific Features:
kernel features:
sultan's cpu input boost & devfreq boost
custom ioched algos(maple,etc.)
msm8994(sd810) specific commits
boeffla's wakelock blocker(must be configured by the user)
a lot of backport commits from 3.18y/4.4 msm kernels
much more(see github repo)
custom power set-up(optimized cpuset,governor,iosched parameters)
z3fold for zram(as stock)
removed sony's debug stuff
Flashing Instructions:
Pre-installation:
TWRP
gapps (i advise you nikgapss or mindgapss)
Magisk 20.0 or newer for root (after first boot) - (Download from here)
First time installation:
reboot into recovery
format data
reboot in recovery
wipe data
install rom
install gapps(if you want)
reboot
Update installation:
reboot into recovery
wipe cache/dalvik cache
install rom
install gapps(if they were already present)
reboot
Sources:
ROM: https://github.com/crdroidandroid
Kernel & device-tree & vendor: https://github.com/linckandrea
Download:
ROM SINGLE & DUAL SIM
Known issues:
You tell me...
Contributors
tarkzim, berni-0815
Visit official website @ crDroid.net
crDroid Community Telegram
Donate to help our team pay server costs
Donate me a coffe
NOTES:
if you have a bug please send me a logcat and provide much informations as possible
(step to reproduce, you set-up(magisk, gapps,etc.))
Do NOT send me logcats if you installed weird magisk modules(bad audio mods, bad performance mods,etc.)
if you want you can join in my telegram group where i usually release things(roms, kernel, etc.) early
reserved 2
hello, any known issues? i can test.
Good job, thanks!
Hi, can you check if you guys happened some issues as me:
1. Charging so slow
2. Rebooting when open Youtube app
3. Cannot setup fingerprint
The others are ok, looking good with unlock by face
lctuan0807 said:
Hi, can you check if you guys happened some issues as me:
1. Charging so slow
2. Rebooting when open Youtube app
3. Cannot setup fingerprint
The others are ok, looking good with unlock by face
Click to expand...
Click to collapse
if you have a bug please send me a logcat and provide much information as possible
(step to reproduce, you set-up(magisk, gapps,etc.))
update version ? 13.07 los.
my device is e6683.
after flash lineageOs 18 v.20210713 there is a little problem for the microphone when using the whatsapp application, recording application and type by voice.
microphone like auto mute so that the other person cannot hear the sound, and when recording no files are generated.
the second problem is the camera results are not good,
although already using a third party, namely open camera.
third NFC not working.
For now, that's all I can feel, thank you
lctuan0807 said:
Hi, can you check if you guys happened some issues as me:
1. Charging so slow
2. Rebooting when open Youtube app
3. Cannot setup fingerprint
The others are ok, looking good with unlock by face
Click to expand...
Click to collapse
were you able to solve these problems?
New update
changelog(a lot of thing if you want more details go to see my github repos):
merged latest cr source (as 22/09/2021)
perfomace improvements (perf blobs from oneplus 2 + custom powerscript(took me a lot to figure how keep cool sd810 while maintening a decent "smothness)
added & enabled sdfat
nfc improvements(added extended length NFC support & disabled NfcF HCE)
reworked audio configs(i have no problem with BT audio now)
removed sony's blobs for debug(iddd, idd, etc.)
much more (see my github repos)
download link has been alredy updated in 1th post
mthree3 said:
my device is e6683.
after flash lineageOs 18 v.20210713 there is a little problem for the microphone when using the whatsapp application, recording application and type by voice.
microphone like auto mute so that the other person cannot hear the sound, and when recording no files are generated.
the second problem is the camera results are not good,
although already using a third party, namely open camera.
third NFC not working.
For now, that's all I can feel, thank you
Click to expand...
Click to collapse
kerimcem said:
update version ? 13.07 los.
Click to expand...
Click to collapse
ehm i think you are in the wrong thread
hi everybody
"ok google" works good? thanks u...
linckandrea said:
New update
changelog(a lot of thing if you want more details go to see my github repos):
merged latest cr source (as 22/09/2021)
perfomace improvements (perf blobs from oneplus 2 + custom powerscript(took me a lot to figure how keep cool sd810 while maintening a decent "smothness)
added & enabled sdfat
nfc improvements(added extended length NFC support & disabled NfcF HCE)
reworked audio configs(i have no problem with BT audio now)
removed sony's blobs for debug(iddd, idd, etc.)
much more (see my github repos)
download link has been alredy updated in 1th post
Click to expand...
Click to collapse
Hi, i'm new to this thread. After i read the posts, your latest update was september 28th and it is said the link has been updated in the first post. But after i open it the file naming date was 20210527, which is May 27th. Is this the correct file for the latest version or i'm missing something out?
Zenzarahis said:
Hi, i'm new to this thread. After i read the posts, your latest update was september 28th and it is said the link has been updated in the first post. But after i open it the file naming date was 20210527, which is May 27th. Is this the correct file for the latest version or i'm missing something out?
Click to expand...
Click to collapse
fixed, seems that xda ignored dowload's hyperlink edit
linckandrea said:
New update
changelog(a lot of thing if you want more details go to see my github repos):
merged latest cr source (as 22/09/2021)
perfomace improvements (perf blobs from oneplus 2 + custom powerscript(took me a lot to figure how keep cool sd810 while maintening a decent "smothness)
added & enabled sdfat
nfc improvements(added extended length NFC support & disabled NfcF HCE)
reworked audio configs(i have no problem with BT audio now)
removed sony's blobs for debug(iddd, idd, etc.)
much more (see my github repos)
download link has been alredy updated in 1th post
Click to expand...
Click to collapse
hey nice job ! this rom full of features
i ported boot.img and flashed this rom to my e6883{z5pd)
rom is smooth and nice
but there is some problems
main one is BT and 8mp camera !
i have no idea how to bug fix android 7+ roms
im planning to to replace all BT files of stable lineage os 11
for camera i replaced camera files but stuck in bootloop
and btw first boot camera is upside down !
pls help me or share any useful android 11 port/bugfix guide link !
TNX
update: the rom i ported was version 7.6 and dont know was it urs or i got it from somewhere else
this one gets bootloop from start even with ported boot.img
seems some drivers r missing
unfied remote program not work phone reset.
New update
changelog(a lot of thing if you want more details go to see my github repos):
merged latest cr source (as 14/11/2021)
fixed fingerprint sensor with enforced selinux
download link has been alredy updated in 1th post
newbiez5p said:
hey nice job ! this rom full of features
i ported boot.img and flashed this rom to my e6883{z5pd)
rom is smooth and nice
but there is some problems
main one is BT and 8mp camera !
i have no idea how to bug fix android 7+ roms
im planning to to replace all BT files of stable lineage os 11
for camera i replaced camera files but stuck in bootloop
and btw first boot camera is upside down !
pls help me or share any useful android 11 port/bugfix guide link !
TNX
update: the rom i ported was version 7.6 and dont know was it urs or i got it from somewhere else
this one gets bootloop from start even with ported boot.img
seems some drivers r missing
Click to expand...
Click to collapse
long story short, your port will never work
the only way to get a stable and fully working rom is compiling it from source.
I saw that z5pd share the same hardware of z5 and z5c so you will only need a specific repo for device tree and vendor
linckandrea said:
New update
changelog(a lot of thing if you want more details go to see my github repos):
merged latest cr source (as 14/11/2021)
fixed fingerprint sensor with enforced selinux
download link has been alredy updated in 1th post
long story short, your port will never work
the only way to get a stable and fully working rom is compiling it from source.
I saw that z5pd share the same hardware of z5 and z5c so you will only need a specific repo for device tree and vendor
Click to expand...
Click to collapse
tnx for info
i found another version of this rom in russ site i ported boot.img it works perfectly ! even battery life better than all other z5pd roms im planning to share it on xda but dont know to whom should i give credit there is no name in build prop or anywhere else !
After using this rom for a couple of days and some random crashes I can say is not stable enough for daily use, but for a secondary phone is ok. It looks pretty, smoth, the termals are great.
The UI doesn't show the LTE signal strengh correctly
Crashes opening the last version of youtube & youtube music.
whatsapp audio messages have a very long delay to play
opening the camara on whatsapp it is very laggy
fingerprint doesn't work (that's nor a problem for me)
everything else looks fine.

Categories

Resources