FORUMS
Remove All Ads from XDA

 View Poll Results: Should I continue this project?

Yes, for the XZ2.
 
51 Vote(s)
29.14%
Yes, for the XZ2C.
 
88 Vote(s)
50.29%
Yes, for the XZ3.
 
47 Vote(s)
26.86%
No.
 
2 Vote(s)
1.14%

[EOL][ROM][OmniROM][XZ2, XZ2C, XZ3] OmniROM 9.0.0_r47 [UNofficial] [Stable]

4,729 posts
Thanks Meter: 2,423
 
By MartinX3, Recognized Contributor on 7th February 2019, 11:06 PM
Post Reply Email Thread
The Sony Open Devices Project is always happy about volunteers (coding, testing, etc)

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 OmniROM for the Sony Xperia XZ2 (akari), XZ2C (apollo) and XZ3 (akatsuki)

This ROM build will always mainly based on OmniROM 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:
Bugtracker:
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
  • @oshmoun for his device tree portings
  • @dhacke thank your for providing a download server
  • And the OmniROM developers!
  • And many thanks to the few donators!

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

XDA:DevDB Information
OmniROM, ROM for the Xperia XZ2

Contributors
MartinX3, Sony, oshmoun, OmniROM
Source Code: https://github.com/omnirom/

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

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

Created 2019-02-07
Last Updated 2020-02-02
The Following 15 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
7th February 2019, 11:06 PM |#2  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
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

In case of touch issues on the XZ2 compact:
  1. Download (try the v10 zip first, if it doesn't work try v9 or v8)
  2. fastboot flash boot boot.img
  3. fastboot flash vendor vendor.img
  4. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  5. (Mandatory on dual sim devices) Dual Sim Patcher
  6. If your system apps did loose their permissions (sadly that happens sometime after flashing a boot.img again -> AOSP bug which is maybe fixed in 10.0)
    1. fastboot flash userdata userdata.img (Flashing the boot.img may
    2. (Optional) https://opengapps.org/ or MicroG
Attached Thumbnails
Click image for larger version

Name:	IMG_20190421_114719.jpg
Views:	3094
Size:	248.8 KB
ID:	4747250   Click image for larger version

Name:	IMG_20190421_115210.jpg
Views:	3022
Size:	249.2 KB
ID:	4747251   Click image for larger version

Name:	IMG_20190421_140718_HDR.jpg
Views:	2542
Size:	282.7 KB
ID:	4747252   Click image for larger version

Name:	IMG_20190421_181313_HDR.jpg
Views:	2398
Size:	284.3 KB
ID:	4747253   Click image for larger version

Name:	IMG_20190421_181551_HDR.jpg
Views:	2406
Size:	284.1 KB
ID:	4747254   Click image for larger version

Name:	IMG_20190421_181600_HDR.jpg
Views:	2224
Size:	278.1 KB
ID:	4747255   Click image for larger version

Name:	IMG_20190421_181606_HDR.jpg
Views:	2170
Size:	287.0 KB
ID:	4747256   Click image for larger version

Name:	IMG_20190421_181615_HDR.jpg
Views:	2076
Size:	288.7 KB
ID:	4747257   Click image for larger version

Name:	IMG_20190421_181619_HDR.jpg
Views:	2032
Size:	280.6 KB
ID:	4747258   Click image for larger version

Name:	IMG_20190421_181627_HDR.jpg
Views:	2008
Size:	297.0 KB
ID:	4747259   Click image for larger version

Name:	IMG_20190421_181643_HDR.jpg
Views:	1992
Size:	293.9 KB
ID:	4747260   Click image for larger version

Name:	IMG_20190421_182203_HDR.jpg
Views:	2000
Size:	252.7 KB
ID:	4747262   Click image for larger version

Name:	IMG_20190421_182212_HDR.jpg
Views:	1948
Size:	259.0 KB
ID:	4747266   Click image for larger version

Name:	IMG_20190421_182220_HDR.jpg
Views:	2036
Size:	266.4 KB
ID:	4747267   Click image for larger version

Name:	IMG_20190421_182226_HDR.jpg
Views:	2010
Size:	279.2 KB
ID:	4747269   Click image for larger version

Name:	IMG_20190421_203253_HDR.jpg
Views:	1978
Size:	252.3 KB
ID:	4747270   Click image for larger version

Name:	IMG_20190421_203300_HDR.jpg
Views:	2122
Size:	253.8 KB
ID:	4747274   Click image for larger version

Name:	IMG_20190421_203307_HDR.jpg
Views:	2106
Size:	254.2 KB
ID:	4747275   Click image for larger version

Name:	IMG_20190421_203549_HDR.jpg
Views:	2108
Size:	255.1 KB
ID:	4747276   Click image for larger version

Name:	afterOshmoun.jpg
Views:	2418
Size:	84.1 KB
ID:	4753120  
The Following 7 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
7th February 2019, 11:06 PM |#3  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
Donate to Me
More
News
05.01.2020
Quote:

i thought pushing a maintenance update would be a good idea.
Sadly it wasn't achievable.
I tried to simply rebuild the old sodp sync with the newest omnirom, also synced the newest sodp stuff wit the newest omnirom.
But that every time resulted into
1. Installing gapps on a fresh system let the device crash into twrp with the message "set_policy_failed:/data/cache/"
2. Upgrading from the previous version resulted into "no web views detected". The webview is needed for some apps to render their content. Without that they would simply crash.
Regardless if the gapps, aosp or bromite webview was installed, none was listed and the logcat throws errors.
3. The audio doesn't route anymore to a connected usb audio 3.5mm adapter.
4. There may be more bugs, but i am too frustrated to with the already occurring bugs and invested hours/days.

Lets look optimistically into the future of android 10.0, kernel 4.14 and which custom roms can be build on it.

12.10.2019
Quote:

https://gerrit.omnirom.org/#/q/topic...+status:merged)
https://gerrit.omnirom.org/#/q/topic...+status:merged)

omnirom 9 may be deprecated, but it seems that they backport security fixes.
Soooo, we get still security updates.

On the other side i got insulted (called a stupid idiot), warned, kicked and banned at once for asking about the security commits and saying that the insulter has a low emphatic intelligence.
I look if i will continue distributing stuff for this toxic community administration.

04.10.2019
Quote:

it's official announced by the omnirom boss.
Omnirom 9 reached end of life and is now deprecated.
Omnirom 10 for xz2, xz2c, xz3 will come after the sony aosp builds with q and kernel 4.14 are stable enough.

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 omnirom switches to q.)

26.08.2019
Quote:

september no new release
reason -> vacation + university exams

11.08.2019
Quote:

omnirom 9.0.0_r47
august security patch
new glove mode

12.07.2019
Quote:

omnirom 9.0.0_r44.
July security patch.

11.06.2019
Quote:

omnirom 9.0.0_r40.
June security patch.

31.05.2019
Quote:

omnirom 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

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!
Removed buildin twrp.
Twrp needs to get build as -eng, not as -userdebug.
And we got now a working "fastboot boot twrp.img".

22.04.2019
Quote:

attached oemv8 images at the post
https://forum.xda-developers.com/sho...51&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 after i released the oemv8 sonyaosp builds.

07.04.2019
02.04.2019
Quote:

omnirom 9.0.0_35.
April security patch.
Needs oemv7 blobs.
Improved stability and fixed bugs.
Now with integrated twrp.
Hopefully fixed ril crash with manually merged upstream code from sony aosp sodp.

31.03.2019
Quote:

omnirom 9.0.0_34.
March security patch.
Needs oemv7 blobs.
Improved stability and fixed bugs.
Now with integrated twrp.

22.02.2019
Quote:

updated the rom for the 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 security update release.

07.02.2019
Quote:

finaly xda fixed their blocking website bug and i was able to create this new xdadev project.
First release from 01. February 2019

The Following 9 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
7th February 2019, 11:54 PM |#4  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
Donate to Me
More
Screenshots
Screenshots
Attached Thumbnails
Click image for larger version

Name:	Screenshot_Changelog_20190201-184716.png
Views:	4568
Size:	140.0 KB
ID:	4701404   Click image for larger version

Name:	Screenshot_Einstellungen_20190201-184810.png
Views:	4504
Size:	125.5 KB
ID:	4701405   Click image for larger version

Name:	Screenshot_Einstellungen_20190201-184821.png
Views:	4352
Size:	129.5 KB
ID:	4701406   Click image for larger version

Name:	Screenshot_Einstellungen_20190201-184912.png
Views:	4182
Size:	90.7 KB
ID:	4701407   Click image for larger version

Name:	Screenshot_Equalizer_20190201-194616.png
Views:	4196
Size:	220.9 KB
ID:	4701408   Click image for larger version

Name:	Screenshot_Google_Play_Store_20190201-184734.jpg
Views:	4112
Size:	160.5 KB
ID:	4701409   Click image for larger version

Name:	Screenshot_Google_Play_Store_20190201-184740.png
Views:	4044
Size:	139.7 KB
ID:	4701410   Click image for larger version

Name:	Screenshot_Magisk_Manager_20190201-184726.png
Views:	3956
Size:	115.1 KB
ID:	4701411   Click image for larger version

Name:	Screenshot_MatLog_20190201-194634.jpg
Views:	3958
Size:	214.4 KB
ID:	4701412   Click image for larger version

Name:	Screenshot_OmniClockOSS_20190201-194600.png
Views:	3898
Size:	234.8 KB
ID:	4701413   Click image for larger version

Name:	Screenshot_OmniSwitch_20190201-194608.png
Views:	3826
Size:	248.9 KB
ID:	4701414   Click image for larger version

Name:	Screenshot_Quickstep_20190201-184722.jpg
Views:	3752
Size:	128.6 KB
ID:	4701415   Click image for larger version

Name:	Screenshot_Quickstep_20190201-184925.jpg
Views:	3884
Size:	178.7 KB
ID:	4701416  
The Following 7 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
8th February 2019, 12:08 AM |#5  
Senior Member
Thanks Meter: 584
 
More
Always great devoted work from you!

You have a small typo in your post:
The stock firmware updates doesn't not update your "android"

Should read
The stock firmware updates doesn't just update your "android"
The Following User Says Thank You to twistedddx For This Useful Post: [ View ] Gift twistedddx Ad-Free
8th February 2019, 12:14 AM |#6  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
Donate to Me
More
Quote:
Originally Posted by twistedddx

Always great devoted work from you!

You have a small typo in your post:
The stock firmware updates doesn't not update your "android"

Should read
The stock firmware updates doesn't just update your "android"

xD Thank you
8th February 2019, 07:24 AM |#7  
niaboc79's Avatar
Recognized Developer / Themer
Flag Enghien
Thanks Meter: 68,134
 
Donate to Me
More
Great job

How is battery life?

Any lag after a few days if use?

Envoyé de mon H8266 en utilisant Tapatalk
8th February 2019, 10:26 AM |#8  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
Donate to Me
More
Quote:
Originally Posted by niaboc79

Great job

How is battery life?

Any lag after a few days if use?

Envoyé de mon H8266 en utilisant Tapatalk

Thank you

The only thing I see so far is the missing camera.

And the phone uses a bit more energy I thing, but I need to test that.
The Following 2 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
8th February 2019, 10:44 PM |#9  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
Donate to Me
More
Together with the sony team we did a great step.
Now we support the exFAT file system on sdcards.

(There still needs work to be done in the sepolicy, will take a bit before code gets merged for my next release build)

PS:
ext4 support for sdcards, too.
The Following 2 Users Say Thank You to MartinX3 For This Useful Post: [ View ] Gift MartinX3 Ad-Free
10th February 2019, 12:56 AM |#10  
Haldi4803's Avatar
Senior Member
Thanks Meter: 1,560
 
More


Hooo i see interactive governor in the screenshots?
AOSP does not use EAS or does only OMNI rom not use EAS?
10th February 2019, 01:11 AM |#11  
MartinX3's Avatar
OP Recognized Contributor
Thanks Meter: 2,423
 
Donate to Me
More
Quote:
Originally Posted by Haldi4803



Hooo i see interactive governor in the screenshots?
AOSP does not use EAS or does only OMNI rom not use EAS?

erm, maybe the added EAS stuff last month. Hmm.
I asked some devs now.

Edit:
Interactive is used.
And there is no EAS.
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