• 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

[ROMs][TREBLE] OpenKirin AOSP Collection

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin

Welcome to Team OpenKirin AOSP Project. Our goal is to provide
a overall stable AOSP experience across all Huawei/Honor phones
utilizing a Kirin SoC and EMUI 8.0 - either updated or shipped.
So far most of the bugs have been fixed and the ROMs are fully usable
as daily driver - and fully Kirin optimized.


This is the device support section for: Huawei Mate 9.
Any bugs found on this device(s) can be reported here, please include proper logs if you encounter any issues.

We support 3 ROMs in total as of now - LineageOS (Unofficial), ResurrectionRemix OS (Official from Beta 2+), OmniRom
You can find all needed guides/roms on our official website: https://openkirin.net

Requirements: basically full stock EMUI 8.0, with stock recovery/ramdisk

Support: Telegram - https://t.me/joinchat/EeDpi02ekfeJSBeaV4eqOw

XDA:DevDB Information
OpenKirin Treble ROMs, ROM for the Huawei Mate 9

Contributors
OldDroid, XePeleato, rcstar6696, surdu_petru
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 8.0
Based On: LineageOS, CarbonROM, ResurrectionRemix OS, OmniRom

Version Information
Status: Beta

Created 2018-08-13
Last Updated 2018-08-27
 

tim.malone

Senior Member
May 20, 2016
55
15
0
Thanks for this! I am running the CarbonROM Beta 2 from the partner builds (released July 17). I notice that there is now an official version that is also labeled as Beta 2, but was released five days later (July 22). Can I flash the official build without going back to full stock first? Also, the newer build is significantly smaller: 599MB versus 1.6 GB. Is that because the newer build doesn't include GAPPS?

Thanks again and sorry if I missed the answers to these questions.

As an aside, I'm really liking CarbonROM. Great battery life and very smooth.
 
  • Like
Reactions: kkslider1

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin
Thanks for this! I am running the CarbonROM Beta 2 from the partner builds (released July 17). I notice that there is now an official version that is also labeled as Beta 2, but was released five days later (July 22). Can I flash the official build without going back to full stock first? Also, the newer build is significantly smaller: 599MB versus 1.6 GB. Is that because the newer build doesn't include GAPPS?

Thanks again and sorry if I missed the answers to these questions.

As an aside, I'm really liking CarbonROM. Great battery life and very smooth.
the newer builds are xz compressed, you have to decompress them first.
If its the same rom (e.g. carbon -> carbon) you don't have to do a factory reset.

Regards
 
  • Like
Reactions: T_BB

irony_delerium

Senior Member
Jan 13, 2013
304
204
43
Portland, OR
What's the difference between OpenKirin LOS and Phusson's LOS?
Phh LOS is a generic build meant for any device with treble support. The OpenKirin build is specifically targeted to Kirin devices.

Most of the changes are for dealing with the ways Huawei did things differently than everyone else. Also built in is the Huawei camera app, so (most of) the native camera functionality is available.
 

kkslider1

Member
Sep 23, 2017
31
7
0
Phh LOS is a generic build meant for any device with treble support. The OpenKirin build is specifically targeted to Kirin devices.

Most of the changes are for dealing with the ways Huawei did things differently than everyone else. Also built in is the Huawei camera app, so (most of) the native camera functionality is available.
Thanks! I want to try OpenKirin LOS (OKLOS), but how will I be able to flash Magisk without TWRP? OpenKirin LOS says that it requires the stock EMUI recovery, so how can I flash Magisk?

---------- Post added at 12:08 PM ---------- Previous post was at 11:38 AM ----------

Okay, so I clean flashed OpenKirin LOS Beta 5 on my MHA-L29. Fingerprint gestures are disabled/greyed-out despite the Mate 9 having a rear fingerprint sensor. Fingerprint gestures worked perfectly on Phh LOS, so I'm not sure why OKLOS isn't working on that end.

---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------

Another issue I found: On OKLOS, the Mate 9's secondary top speaker isn't working when playing media. To be fair, it didn't work on Phh LOS either, so I'm not sure if that's an issue you guys can fix. :)
 
Last edited:

michael_hamada

Senior Member
Jun 14, 2011
385
152
43
TOKYO
Thanks! I want to try OpenKirin LOS, but how will I be able to flash Magisk without TWRP? OpenKirin LOS says that it requires the stock EMUI recovery, so how can I flash Magisk?
Use 'fastboot' command.
-> extract stock boot image, patch it by magisk manager, flash patched boot image by fastboot.

Or you can install (patch boot image and replace it ) in magisk manager directly.
 
Last edited:

kkslider1

Member
Sep 23, 2017
31
7
0
Use 'fastboot' command.
-> extract stock boot image, patch it by magisk manager, flash patched boot image by fastboot.

Or you can install (patch boot image and replace it ) in magisk manager directly.
Thanks! Much appreciated!

After a few days of running on my Mate 9, OKLOS is running super smooth! Much smoother than Phh LOS. Hoping @OldDroid and the team can address a few of the bugs listed in my earlier post. Keep it up! :)
 

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin
Thanks! I want to try OpenKirin LOS (OKLOS), but how will I be able to flash Magisk without TWRP? OpenKirin LOS says that it requires the stock EMUI recovery, so how can I flash Magisk?

---------- Post added at 12:08 PM ---------- Previous post was at 11:38 AM ----------

Okay, so I clean flashed OpenKirin LOS Beta 5 on my MHA-L29. Fingerprint gestures are disabled/greyed-out despite the Mate 9 having a rear fingerprint sensor. Fingerprint gestures worked perfectly on Phh LOS, so I'm not sure why OKLOS isn't working on that end.

---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------

Another issue I found: On OKLOS, the Mate 9's secondary top speaker isn't working when playing media. To be fair, it didn't work on Phh LOS either, so I'm not sure if that's an issue you guys can fix. :)
disable the navbar to turn on navigation gestures.
This will be adressed in the next los beta so you can toggle the nav gestures with navbar enabled.

EDIT: please have a look at our telegram group if you need any guidance regarding the installation of magisk without a custom recovery (e.g. twrp).

Regards
 
Last edited:

vedko

Senior Member
Jun 8, 2008
303
128
0
hello,
is there any way how the bugs should be reported?
In LOS Beta 5 I discovered that if trying to enable Bluetooth trigger in a Profile, the Settings crash. My phone is Mate 9.

PS Otherwise, the only thing I can say is Hats off to the developers! When I received the phone as a replacement (for a broken Nexus 6p) I thought "oh, crap: no Snapdragon, no LOS". This really made my day!
 

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin
hello,
is there any way how the bugs should be reported?
In LOS Beta 5 I discovered that if trying to enable Bluetooth trigger in a Profile, the Settings crash. My phone is Mate 9.

PS Otherwise, the only thing I can say is Hats off to the developers! When I received the phone as a replacement (for a broken Nexus 6p) I thought "oh, crap: no Snapdragon, no LOS". This really made my day!
i'm aware of this issue. It will be adressed in the next update.

Regards
 

vedko

Senior Member
Jun 8, 2008
303
128
0
i'm aware of this issue. It will be adressed in the next update.

Regards
Thanks.
Although I meant it mainly as a general questions where the bugs should be brought up. In this thread? Or in the Telegram channel referenced in the 1st post? Or...?

PS I found out that NFC is not working, but that seems to be a known issue.
 

tim.malone

Senior Member
May 20, 2016
55
15
0
errors in logcat (omnirom)

Hello,

I am trying out OmniROM and I have been getting less than stellar battery life (though still acceptable). I took a look at the MatLog app and noticed a bunch of errors that keep coming up. One of them is from BatteryExternalStatsWorker: "no controller energy info supplied for wifi".
I googled around a bit and it appears this has popped up on other ROMs and it seems to be related to a missing API. There are other errors as well, many of them thrown by HWComposer: "invalid layer type change".
I have no idea if these are impacting battery life, but an error is an error.
I attached a zip with logs from MatLog.

Thanks.
 

Attachments

luyongfeng

Senior Member
Aug 31, 2007
53
10
0
Dear MR.OldDroid

Is it possible for you to add UMS (USB mass storage function, connect pc and turn Micro SD card in photo to be a removable flash disk on PC) into the Kernel? I like this function, it is much better than MTP function.

Thank you very much.
 
Last edited: