FORUMS

 View Poll Results: Should I continue this project?

Yes, for the XZ2.
 
90 Vote(s)
34.35%
Yes, for the XZ2C.
 
114 Vote(s)
43.51%
Yes, for the XZ3.
 
80 Vote(s)
30.53%
No.
 
2 Vote(s)
0.76%

[EOL][SODP][ROM][AOSP][XZ2, XZ2C, XZ3] SonyAOSP 9.0.0_r46 [Stable]

5,425 posts
Thanks Meter: 2,788
 
By MartinX3, Recognized Contributor on 16th September 2018, 11:56 AM
Post Reply Email Thread
The Sony Open Devices Project is always happy about volunteers (coding, testing, etc)
Also mainlining your favorite snapdragon powered xperia device into the mainline kernel is possible and we will be glad to help you!

Code:
#include <std_disclaimer.h>
/*
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */
This is the AOSP ROM for the Sony Xperia XZ2 (akari), XZ2C (apollo) and XZ3 (akatsuki)

This ROM build will always mainly based on Sony AOSP Code and maybe include cherry-picks.
I plan to make monthly builds, after a new security patch level and the OEM binary got fully implemented, if there is no need for a critical hotfix.

Preview Picures:
FAQ:
Quote:
Originally Posted by jerpelea

for a complete security patch you have to
1. flash the stock firmware using https://developer.sony.com/develop/open-devices/get-started/flash-tool/
2. build and flash the ROM
* The security patch may affect or not the proprietary parts depending on HW and implementation
* After official support ends you can still get security updates for kernel and Android but loader and firmware will be stuck to the latest official release

Known Bugs:
Bugreport:
  • A bugreport needs logcat, dmesg and a way to reproduce the issue.
  • A crash of the system requires the content of the /sys/fs/pstore folder as bug report
    • Be aware that a second reboot erases this folder
  • A crash to the recovery partition requires additionally the content of the /dev/block/by-name/misc partition
    • You get the content via `cat /dev/block/by-name/misc partition > /path/to/output/file.txt`
  • To rescue a not responding phone:
    • VOLUP+POWER for 3 Seconds -> RESTART with one Vibration.
    • VOLUP+POWER for 20 Seconds -> SHUTDOWN with 3 Vibrations.
    • VOLUP+POWER+CAMERA for 30 Seconds -> HARDWARE SHUTDOWN by discharging a capacitor.

Thank you very much for your help, code contribution & testing! (Random order):
  • @jerpelea and the entire AOSP developers paid by and get inventory from the sony company and their volunteers coding this wonderful piece of software
  • @nasko_spasko
  • @laoli0913
  • @twistedddx
  • @dhacke thank your for providing a download server
  • And many thanks to the few donators!

A telegram group for technical SODP stuff:
https://t.me/xda_tv

XDA:DevDB Information
AOSP, ROM for the Xperia XZ2

Contributors
MartinX3, Sony
Source Code: https://github.com/SonyAosp

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Latest Stock Firmware
Based On: AOSP

Version Information
Status: Stable
Stable Release Date: 2019-08-08

Created 2018-09-16
Last Updated 2020-06-10
The Following 21 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
16th September 2018, 11:56 AM |#2  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
Download & Installation
Download:
Installation:
  1. fastboot flash boot boot.img
  2. fastboot flash dtbo dtbo.img
  3. fastboot flash vbmeta vbmeta.img
  4. fastboot flash system system.img
  5. fastboot flash vendor vendor.img
  6. fastboot flash oem oem_*.img
  7. (Optional, but mandatory on first boot) fastboot flash userdata userdata.img -> will factory reset the device.
  8. (Mandatory on dual sim devices) Dual Sim Patcher
  9. (Optional) https://opengapps.org/ or MicroG
Attached Thumbnails
Click image for larger version

Name:	IMG_20190421_115210.jpg
Views:	3296
Size:	249.2 KB
ID:	4747213   Click image for larger version

Name:	IMG_20190421_140718_HDR.jpg
Views:	3238
Size:	282.7 KB
ID:	4747222   Click image for larger version

Name:	IMG_20190421_181313_HDR.jpg
Views:	2540
Size:	284.3 KB
ID:	4747225   Click image for larger version

Name:	IMG_20190421_181551_HDR.jpg
Views:	2396
Size:	284.1 KB
ID:	4747229   Click image for larger version

Name:	IMG_20190421_181600_HDR.jpg
Views:	2198
Size:	278.1 KB
ID:	4747233   Click image for larger version

Name:	IMG_20190421_181606_HDR.jpg
Views:	2288
Size:	287.0 KB
ID:	4747234   Click image for larger version

Name:	IMG_20190421_181615_HDR.jpg
Views:	2250
Size:	288.7 KB
ID:	4747235   Click image for larger version

Name:	IMG_20190421_181619_HDR.jpg
Views:	2220
Size:	280.6 KB
ID:	4747236   Click image for larger version

Name:	IMG_20190421_181627_HDR.jpg
Views:	2088
Size:	297.0 KB
ID:	4747237   Click image for larger version

Name:	IMG_20190421_181643_HDR.jpg
Views:	2084
Size:	293.9 KB
ID:	4747238   Click image for larger version

Name:	IMG_20190421_182203_HDR.jpg
Views:	2002
Size:	252.7 KB
ID:	4747239   Click image for larger version

Name:	IMG_20190421_182212_HDR.jpg
Views:	2116
Size:	259.0 KB
ID:	4747240   Click image for larger version

Name:	IMG_20190421_182220_HDR.jpg
Views:	2146
Size:	266.4 KB
ID:	4747242   Click image for larger version

Name:	IMG_20190421_182226_HDR.jpg
Views:	2184
Size:	279.2 KB
ID:	4747243   Click image for larger version

Name:	IMG_20190421_203253_HDR.jpg
Views:	2298
Size:	252.3 KB
ID:	4747244   Click image for larger version

Name:	IMG_20190421_203300_HDR.jpg
Views:	2262
Size:	253.8 KB
ID:	4747245   Click image for larger version

Name:	IMG_20190421_203307_HDR.jpg
Views:	2232
Size:	254.2 KB
ID:	4747246   Click image for larger version

Name:	IMG_20190421_203549_HDR.jpg
Views:	2158
Size:	255.1 KB
ID:	4747247   Click image for larger version

Name:	afterOshmoun.jpg
Views:	2596
Size:	84.1 KB
ID:	4753132  
The Following 6 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
16th September 2018, 11:56 AM |#3  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
News
05.01.2020
Quote:

this rom is now officially end of life like the omnirom.
Future development happens only on android 10.0 with kernel 4.14.
Of course this doesn't automatically make this rom unusable. :)

27.10.2019
Quote:

sonyaosp 9.0.0_r46
august security patch
newest sync with sodp code.
Fixed not working touch for the few xz2 (compact) users with tcm touch chip.
(i don't know why the tcm chip got rarely used in the xz2 & xz2 compact hardware).

Ps: The new security updates are only happening on android 10 and require backporting to 9 from developers who know what they are doing to avoid any new (security) bugs.
We sadly don't have this capacity.

07.09.2019
Quote:

dear xz2 compact owners with not working touch.
It seems that we fixed the problem
https://github.com/sonyxperiadev/bug_tracker/issues/351
the code needs to to get refactored and merged into sodp, before i can release new builds.
But anyway, i'm on vacation & studying for exams, so don't expect builds earlier than end of september/october.

To test it
apollo_v8.zip

Code:
fastboot flash boot boot.img
fastboot flash vendor vendor.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

28.08.2019
Quote:

someone may have seen that in september comes a sodp switch to
1. Android 10 (queen cake)
2. Kernel 4.14 (using 4.9 at the moment)
i won't switch asap to the new stuff and wait until it proofs enough stability to act as a daily driver.
Maybe it is stable directly right release (i don't think it) or it may take ~1-5 months.
(and i don't know how fast sonyaosp switches to q.)

26.08.2019
Quote:

september no new release
reason -> vacation + university exams


08.08.2019
Quote:

sonyaosp 9.0.0_r46
august security patch
new glove mode

12.07.2019
Quote:

sonyaosp 9.0.0_r44
july security patch

16.06.2019
Quote:

sonyaosp with june 2019 security patch level.

31.05.2019
Quote:

sonyaosp with may 2019 security patch level.
Newer, faster, more stable, oemv9 support.
Also i'll only push files to the single sim device section.
The dual sim device section will get a file with a hint to look into the single sim section.
There is also the twrp dual sim patcher. Without it the single sim firmware won't work on a dual sim phone.
That'll save bandwith and server storage.


I linked the patcher on the first page, but use my uploaded v4alpha patcher instead.
It contains my complete overhaul of the patcher and the current v3 in the xda thread doesn't work on tama.
I already made a pull request and the author just needs to merge my changes.
https://git.ix5.org/felix/dualsim-patcher/pulls/3

19.05.2019
Quote:

reworked the thread page

14.05.2019
Quote:

http://www.dhsfileserver.de/ftp/martinx3/ thank you @dhacke for the second download server

11.05.2019
Quote:

next build will hopefully contain the open source chromium browser cherry-picked from omnirom.
(if i didn't it wrong, the builds are at
out/target/product/{devicename}/obj/apps/chromium_intermediates/
and
out/target/product/{devicename}/system/app/chromium/chromium.apk)
so we have at least one browser build in and this should also fix maybe happening webview bug.
Thank you @murrofx and @hingbong for your bugreports!

The next build is on hold (like omnirom and aosp twrp) until we get a new prebuild kernel (prebuild kernels usually ensure that the kernel is working and buildable).
https://github.com/sonyxperiadev/ven....um.2.3.2.r1.4

02.05.2019
Quote:

i heard that oemv9 will support the hexagon snapdragon processor.
- longer battery life
- faster device
- real hdr plus for our tama camera

22.04.2019
Quote:

oemv8 (camera) support!

22.04.2019
Quote:

attached oemv8 images at the post
https://forum.xda-developers.com/sho...65&postcount=2

it is only a current snapshot of the camera development.
Expect further improvements with the upcoming oem blobs.

Ps: Oemv8 compatible builds are getting compiled.

12.04.2019
Quote:

9.0.0_r35 april security update
much fixes
oemv7 support
you should be able to try aosp 10.0 q gsi's with it! :)

07.04.2019
21.02.2019
Quote:

updated the rom for the probably tomorrow released sony oem v6 with updated camera hal!
(beta release, has still a crash with exposure, they are not finished with their work. Don't expect stock like photos "now".)

10.02.2019
Quote:

february 2019 patch level
switch from sony aosp to sonyaosp.
Sony aosp = sonyaosp + additional fixes (like exfat sdcard support)
sonyaosp = aosp + device support fixes for xperias
i excluded the gapps with a bit work and investigation!

17.01.2019
Quote:

january 2019 patch level

09.01.2019
Quote:

moved to android file host.
Added builds for every supported device.

22.12.2018
Quote:

added the xz3 (akatsuki).
Camera still not feature complete.
Please search or report bugs in the bug tracker.
Twrp will follow.

29.11.2018
Quote:

first android 9.0 build. :)
added the xz2c (apollo).
Should be stable enough for stable use.
Please search or report bugs in the bug tracker.

12.10.2018
Quote:

new build with fixed bugs. :)
including the fixed display damaging bug.
May may maaaaaaaaay you get graphical/display issues, you should deactivate your device asap with (vol up + power)

24.09.2018
Quote:

build "2018-09-14_15:00+2:00":
Switched back to oem vendor img for android 8.1.
The oem vendor 9.0 img shouldn't be used.

16.09.2018
Quote:

first release of the unstable, bugfull build.

The Following 3 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
19th September 2018, 11:39 AM |#5  
Haldi4803's Avatar
Senior Member
Thanks Meter: 1,569
 
More
Anyone that has AOSP installed can do me a Favor and run a MicroSD Speed Test?
I.E Androbench and in Settings switch target partition to MicroSD folder.
19th September 2018, 12:25 PM |#6  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
Quote:
Originally Posted by Haldi4803

Anyone that has AOSP installed can do me a Favor and run a MicroSD Speed Test?
I.E Androbench and in Settings switch target partition to MicroSD folder.

The sdcard Support is still missing.
(Look at the bug list)
24th September 2018, 03:40 PM |#7  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
24.09.2018
Quote:

Build "2018-09-14_15:00+2:00":
Switched back to OEM vendor img for Android 8.1.
The OEM vendor 9.0 img shouldn't be used.

25th September 2018, 10:55 AM |#8  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
https://github.com/sonyxperiadev/bug...ment-424278920
Quote:

PLEASE DON'T FLASH TAMA WITH THE CURRENT KERNEL

My Akari's display got permanently damaged.
I repeat, DO NOT FLASH.

I planned a new build on thuesday with the new kernel fixes.
But now I will wait.
The Following User Says Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
28th September 2018, 12:37 PM |#9  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
The AOSP 4.9 kernel is now stable enough to get prebuild by sony.
(Which is inside my TWRP builds)
Nice.
https://github.com/sonyxperiadev/ven....UM.2.3.2.r1.4
My next AOSP ROM will probably get nice fixes. (Should still be tested and confirmed).

But he still need to confirm if the hardware damaging bug got really fixed or only by a workaround.
https://github.com/sonyxperiadev/bug...ment-425406778
The Following 6 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
29th September 2018, 12:52 PM |#10  
margee82's Avatar
Senior Member
Flag tralee
Thanks Meter: 9
 
More
HI every1 !
Does any1 know why I am unable to find any Xperia XZ2 rom in the web at all ?
I hate the feeling I can't use Gcam at all because of Cam2 API is not supported .
29th September 2018, 01:17 PM |#11  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,788
 
Donate to Me
More
Quote:
Originally Posted by margee82

HI every1 !
Does any1 know why I am unable to find any Xperia XZ2 rom in the web at all ?
I hate the feeling I can't use Gcam at all because of Cam2 API is not supported .

Do you mean Custom ROMs?

The XZ2 was introduced with a brand new kernel.
It took months make it compatible with AOSP to create custom ROMs and even since the compatibility stock update in September, the aosp support needs more work.
After that and my TWRP starts working, the custom creation will start.
The Following 3 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes