• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[OREO][8.1]Unofficial OmniROM [OTA][D5803/5833]

devil188

Senior Member
Sep 23, 2012
299
289
0
Right behind you

Unofficial OmniROM OREO for Z3C (aries)​
Brought to you by @nailyk
Know someone with a Z3? Send them over to this thread
Classic disclaimer:
Code:
/*
* Your warranty is now void.
*
* 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 me for messing up your device, I will laugh at you.
*
*/
Features:
OTA Updates:
  • We've activated OTA updates, so you can be sure to get the latest updates for your device!
Unique, customizable features with OmniGears:
  • Control the brightness by swiping across status bar!
  • Set your own actions for hard- and software buttons!
  • Change the style of your device, thanks to substratum support! (dark theme already included)
  • Crop your screenshot right after you took one!
  • ...and much more!
Switch your apps with OmniSwitch
  • Forget the recents drawer, you can switch your apps by swiping from the edge of the screen!
  • Customizable, with cool extra features!
  • And of course completely OPTIONAL! Switch it on the go without restarting your device!
...

Prerequisites:
  • Sony Z3 Compact (aries)
  • UNLOCKED Bootloader
  • Latest TWRP release


Install guide:

Still on stock fw?:

  • Make sure you're on 23.5.A.1.291, if not, download and flash it with Flashtool.
  • Flash the latest TWRP (3.1.xx) in fastboot (fastboot flash FOTAKernel twrp_***.img)
  • When you're done, follow the next points below this spoiler.
  • Enter recovery mode (HOLD VOL DOWN + POWER while device is off)
  • WIPE /system, /data, /cache, dalvik cache
  • SELECT the ROM zip and flash it
  • (Optional) Flash GApps: (http://opengapps.org/)
  • (Optional) Flash any other extras (root: look below the guide)
  • Reboot into system and wait for boot (it'll take some time, don't worry)

Root:
  • For root, we suggest that you use phhSuperUser, as it is fully open sourced and it works fine with OmniROM: phhSuperUser thread
  • Alternatives are Magisk (Click here) and SuperSU.


Downloads:

Latest build:
Read post #2 to check what bugs are currently on the latest build!



Want to report bugs?

  • Give us logs using dmesg or logcat (clear logs first before reproducing the problem with "adb logcat -c")
  • Rebooting problems? Provide last_kmsg
  • Written explanations only with a way to reproduce the bug

XDA:DevDB Information
OmniROM, ROM for the Sony Xperia Z3 Compact

Contributors
devil188, nailyk, Dobsgw
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x

Version Information
Status: Beta

Created 2017-10-29
Last Updated 2018-03-27
 
Last edited:

devil188

Senior Member
Sep 23, 2012
299
289
0
Right behind you
Changelog:
2018-06-16 release:
REQUIRES A FULL WIPE!
TWRP dirty fix for zip flashing.
Attempt to fix camera record (not working!)
Solve reboot to recovery
Periodicals updates
Switching to enforce mode (selinunx)



2018-03-20 release:
Partial Changelog
Lot of audio changes,
Video record fixed (some problems remain, like format, green bar, etc),
Some not-fully-tested power patches.
2018-01-01 release:
Lot of code cleaning,
some fixes about audio, & gps.
New issue about 4G connection: you need to connect to a wifi network before it became available (if you do not have nearly trusted wifi, turning on AP works too. )
2017-12-07 release:
Lot of change for camera (video record still broken)
Lot of sepolicy changes (next release will be enforcing so please report your denials logs)
Change for GPS. Should work but expect problems anyway.
SystemUI tuner should be working again.
Small change to make external sd mountable while using unix file-system. Still not able to write on it for now.
2017-11-03 release:
Multiple merges:
2017-10-31:
OTA updates
2017-11-03:
Fix video recording (26562)
Fix aries bootanim size (26515)
2017-11-01 release:
Minor fixes:
Restore D2TW from 26502 & 26504
Attempt to fix AP with 26524
Enable Messaging app (26526) & FM app (26527)


Currently known issues and their fixes:
ERROR 7 while flashing in TWRP
- Flash the correct TWRP or delete the getprop() in updater-script.

Video recording not working
- Now partially working, some bugs may occur!

Problems with MicroG
- https://forum.xda-developers.com/showpost.php?p=74341878&postcount=9

5GHz Wi-Fi networks not working
- There are reports that 5GHz Wi-Fi networks not getting detected, we can't reproduce this problem though. Currently looking into this.

Sources:

https://github.com/nailyk-fr/local_manifests/blob/android-8.0/x-roomservice.xml
https://github.com/omnirom
https://gerrit.omnirom.org/
 
Last edited:

devil188

Senior Member
Sep 23, 2012
299
289
0
Right behind you
How to report

How to post
  • Reports without logs or step to reproduce are useless (read contribute).
  • You are welcome to post your review: what is working, not working, etc... Check into know issues before.
  • You are welcome to report any typo, error, etc...
Try to keep thread clean as a dev reference. Thanks in advance.​

How to report problems
To report problem, please provide logs.
It is always better to include reference to the Installed version. This guide is really detailed and explained everything about bug reports.
If you have any doubts, take the most logs. There is never enough logs ;)

How to get logs
  • If your device is not booting at all, we need information about how you flash and all the handling you do, the display status, light status, and if available a dump of /proc/last_kmesg*
  • If you have a non working peripheral (non-working radio/wifi/etc...) please provide a full logcat and full dmesg, example:
    Code:
    adb reboot
    adb wait-for-device
    adb shell dmesg > dmesg.log
    adb logcat -d > logcat.log
  • If you have a non working app please provide a partial logcat:
    Code:
    adb reboot
    adb wait-for-device
    adb logcat -c
    <launch your app>
    adb logcat -d > logcat.log
  • On this rom, there is a script who detect device at install time and provide the right functions for single or dual sim. If you have modem problems (like data not working or no signal) please also provide the /tmp/recovery.log.:
    If you have ADB access to your device in twrp just use
    Code:
    adb pull /tmp/recovery.log .
    after flashing omnirom.
    If you do not have ADB access use the 'copy to SD' button in the advanced tab, then transfer it the way you like.
  • then upload your files to a service like pastebin.com / paste.omnirom.org

How to contribute
  • Code is like hieroglyphs for me:
No worries you can contribute anyway! Install the rom, do tests, read failure logs, look at internet for potential fix/similar users experience, is the biggest part of debugging. Then collect all of this and write your results here.
  • Code is like hieroglyphs for me and logs are worst:
No problem, collects logs the right way if you can, explain how you encounter the problem: detailed step to reproduce could be enough: explain exactly how you encounter the error/problem, it should produce each time someone repeat your steps. Then we will be able to fix it.
 
Last edited:

marcogiannetta

Senior Member
Sep 29, 2012
253
163
0
24
Otranto
Amazing, I'm testing right now.
-It's quite fast (maybe a bit laggy in Settings app)
-Calls/SMS ok
-Wi-Fi working (both 2.4 and 5 GHz)
-Camera taking pictures, but not videos (as stated in post #2)
-Mobile data working (2G, 3G, LTE)
-Bluetooth working! I successfully connected to my JBL Go
-DoubleTapToWake not working
-Auto brightness not working here, good Night Mode
-Audio is quite loud, very good! (good inCall and loudspeaker volumes too)
-Screen rotation working
-64GB microSD correctly detected
-only around 5.5 GB occupied (without gApps)
-just 23 seconds to boot
-30 minutes of SOT drained about 7% of battery
I'm really tempted to keep this ROM, but I'll wait for it to get even more stable than now.
Oreo seems a way better than Nougat.
Thanks dev for this :good::good::good:
 
D

Dinkec27

Guest
When video recording gets fixed I am installing this ROM,I already see good reviews so hoping it gets fixed soon.
Great job dev!
 

levone1

Elite Member
Dec 28, 2014
3,740
1,451
113
So far so good... What I've noted:
- 'unknown sources' option in security settings is done away with. Now is a pop-up dialog included in pkg mgr.
- Settings layout is different. Main dashboard more condensed, with several options now in sub-settings.
- Signature spoofing ability included without patch, but Micro G still showing not active. Not sure what to do to activate it. SELinux already permissive; I don't see any option in settings...
- phh's Superuser working fine, (my preferred root).

Thanks

---------- Post added at 08:24 PM ---------- Previous post was at 07:55 PM ----------

Figured out the Micro G issue, (feel stupid because I already went through this with another ROM and forgot about it...) Just tap on the unchecked box in Micro G settings and allow permission in the pop-up box.
Now Micro G working fine...
 

Attachments

Last edited:
  • Like
Reactions: AndroidenKalle

yo7fb

Member
Apr 18, 2009
48
8
0
Already approx 24h on. I am really pleased surprise, she isn't perfect but come on!! ,is Alfa release, and come so early after officially released!
Normally installed, on get gaps I have same treble, usually use aroma install, but don't past a way,finely successful with pico, magisk , and now I am a happy campers.
Tks a loot for this!
Stock camera working, no recording.(just flash)
 
Last edited:

levone1

Elite Member
Dec 28, 2014
3,740
1,451
113

Attachments

Last edited:
  • Like
Reactions: alf-endy

madvinegar

Senior Member
May 17, 2016
658
283
63
Piraeus
Tried the rom. Many congrats for the good work and thank you.
I cannot get the 5ghz networks to show up.
Also double tap to wake does not work.
And, the camera, even if does not FC when taking video, it does not store it anywhere.

Finally I get an error message as soon as the phone boots up to android. "Cell broadcast has stopped".

I will be following closely this thread. Keep up the good work!!!
 
Last edited:

marcogiannetta

Senior Member
Sep 29, 2012
253
163
0
24
Otranto
I flashed again this rom to check if "Nougat Sony Camera Port" could work on Oreo too (I cannot live without that camera).
The result is YES (obviously Video recording still broken and some camera mode like AR Fun are force closing) and Cyberian Camera 8.0 works too.
So proud of this phone, it does not want to give up :) :good:
 

devil188

Senior Member
Sep 23, 2012
299
289
0
Right behind you
Tried the rom. Many congrats for the good work and thank you.
I cannot get the 5ghz networks to show up.
Also double tap to wake does not work.
And, the camera, even if does not FC when taking video, it does not store it anywhere.

Finally I get an error message as soon as the phone boots up to android. "Cell broadcast has stopped".

I will be following closely this thread. Keep up the good work!!!
5GHz networks are showing up for me, double tap to wake works too. And that's what we meant with "video recording not working" ;)
If possible, give us a logcat so we can take a look at that problem of yours.
 
  • Like
Reactions: marcogiannetta

marcogiannetta

Senior Member
Sep 29, 2012
253
163
0
24
Otranto
5GHz networks are showing up for me, double tap to wake works too. And that's what we meant with "video recording not working" ;)
If possible, give us a logcat so we can take a look at that problem of yours.
5Ghz working for me too, but not DT2W.
I've seen a new build on androidfilehost (too late :D), has it been fixed in that build?