Lineage OS for Huawei Mate 9? - Huawei Mate 9 Questions & Answers

EMUI is MIUI, just "copy my homework and change it a lil bit". I love MIUI but clean/stock Android, like on my OnePlus 3T is the best.
Whats about Lineage OS and Huawei/Kirin device, like on the Mate 9? The same problem like on Exynos devices?
Regards

Didnt know emui was miui

Klanac89 said:
Whats about Lineage OS and Huawei/Kirin device, like on the Mate 9? The same problem like on Exynos devices?
Regards
Click to expand...
Click to collapse
We couldn't​ do anything, cause lack of kernel sources.

Klanac89 said:
EMUI is MIUI, just "copy my homework and change it a lil bit". I love MIUI but clean/stock Android, like on my OnePlus 3T is the best.
Whats about Lineage OS and Huawei/Kirin device, like on the Mate 9? The same problem like on Exynos devices?
Regards
Click to expand...
Click to collapse
Guess the main problem is the unpublished kernel and missing device trees.
it took months to unofficially​ port lineage for the p9 lite. Meticulous did it by reverse engineering because he earned a sponsored device for his awards. Maybe he would do it here too but the mate 9 is very expensive compared to the p9 lite.
But just the fact our mate is running a Kirin doesn't shoot it out. P9 series are running on Kirin too

intruda119 said:
Didnt know emui was miui
Click to expand...
Click to collapse
I use MIUI before Huawei even build devices. It's just the old MIUI, what you get on EMUI.
5[Strogino] said:
We couldn't​ do anything, cause lack of kernel sources.
Click to expand...
Click to collapse
I saw a lot phones without kernel source but with almost perfect port. Is there more than kernel source?

WieserZ1C said:
Guess the main problem is the unpublished kernel and missing device trees.
Click to expand...
Click to collapse
What do you mean by 'device trees' ?
There is a buggy LineageOS 14.1 image for Honor 8 and they also don't have 4.x kernel sources.
Has somebody tried to boot the HiKey960 4.4 kernel to test the core CPU support ?
It is useless for the phone operation, but will be a good starting point for kernel development.
Closed-source firmware blobs at https://github.com/96boards-hikey/tools-images-hikey960 with very high probability were taken from the Mate 9 codebase.

So it is possible but it's really hard to port it?

Related

Is it possible to flash custom rom on Mate 8?

Hello, I am wondering If its possible to make custom rom (aosp) working on Mate 8? I read, that its not possible coz of Kirin processor. So how is it? Will be this phone supported with cyanogen for expample?
well, both the kernel and the recovery sources have been made public by huawei, so theres already a good baseline for ya... lets see how the devs will treat the mate 8 in the long run
jbmc83 said:
well, both the kernel and the recovery sources have been made public by huawei, so theres already a good baseline for ya... lets see how the devs will treat the mate 8 in the long run
Click to expand...
Click to collapse
Thank you!

Someone please make Lineage OS for the Mate 9?

We have the source code now:
http://consumer.huawei.com/en/openso...e=10&curPage=1
Can someone please port Lineage OS to the Mate 9? I will buy them a coffee.
Nickco43 said:
We have the source code now:
http://consumer.huawei.com/en/openso...e=10&curPage=1
Can someone please port Lineage OS to the Mate 9? I will buy them a coffee.
Click to expand...
Click to collapse
beer!! from me
me too.or can produce mokee
Please, somebody can help us? We will need a reverse engineer for the drivers to port and somebody from Lineage crew.
AFAIK, the problem with the published source code by Huawei is that the camera does not work.
tusko5 said:
AFAIK, the problem with the published source code by Huawei is that the camera does not work.
Click to expand...
Click to collapse
Can you provide the technical details on the error messages ?
There is a LineageOS image for Honor8 (which has problems with random crashes) but the actual kernel interface differences between Honor8 and Mate9 are minimal.
Sorry I don't know the details but there has been some discussion in this thread:
https://forum.xda-developers.com/mate-9/help/kernel-source-code-t3556352
cr2 said:
Can you provide the technical details on the error messages ?
There is a LineageOS image for Honor8 (which has problems with random crashes) but the actual kernel interface differences between Honor8 and Mate9 are minimal.
Click to expand...
Click to collapse
The camera itself works, it's when you take a picture that the image doesn't save.
I narrowed it down to a sqlite error when trying to save:
Code:
06-09 12:00:45.188 E/SQLiteDatabase(26762): android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: gallery_media._data (Sqlite code 2067), (OS error - 2:No such file or directory)
I'm not sure how to fix that actually.
gallery_media._data seems to have a dot too many imo, but maybe it's supposed to be that way.
I never tried with another camera app, to check if it's just stock that doesn't work.
Edit: This can apparently mean 2 things, either the db is not read/write or the ID (gallery_media._data) already exists.
Edit 2: Actually, this error no longer exists on B185.
Google Camera works fine. It's just Huawei's camera app that doesn't work correctly.
Then, if the kernel works, what are the general steps to start working on a Mate 9 Lineage port?
If the kernel interface is similar to that of Honor 8, shouldn't the Honor 8 Lineage sources be the base for a Mate 9 port?
tusko5 said:
Then, if the kernel works, what are the general steps to start working on a Mate 9 Lineage port?
If the kernel interface is similar to that of Honor 8, shouldn't the Honor 8 Lineage sources be the base for a Mate 9 port?
Click to expand...
Click to collapse
Apparently the unofficial lineage for Honor 8 uses stock honor 8 kernel.
I'm syncing now, might take a while.
Hopefully we just need to edit the Honor 8 sources for Mate 9.
ante0 said:
Apparently the unofficial lineage for Honor 8 uses stock honor 8 kernel.
I'm syncing now, might take a while.
Hopefully we just need to edit the Honor 8 sources for Mate 9.
Click to expand...
Click to collapse
I hope so!
It seems like we need some serious talent to get a proper rom ported.
I started messing around with building the kernel but, given my lack of experience, I wouldn't expect much.
Any progress on this my friend? @ante0
albertobom said:
Any progress on this my friend? @ante0
Click to expand...
Click to collapse
I gave up, but might start again soon.
ante0 said:
I gave up, but might start again soon.
Click to expand...
Click to collapse
There are few more devs here maybe you should unite. Don't give up just yet.
How far did you get/where did you get stuck? I've got time to mess around with things next week. @ante0
thenellt said:
How far did you get/where did you get stuck? I've got time to mess around with things next week. @ante0
Click to expand...
Click to collapse
I've only just started. I changed everything in devices, vendor left now. But that's just replacing Honor 8 text with Mate 9 text.
Got to replace files too.
I'm not a dev, I'm more a fixer guy xD
I'm not a dev, but I have programming experience and am willing to help since I'm now a Mate 9 user.
So guys, anyone set a team to work on this?

Will we ever get open sources from Huawei for Oreo?

Hey all. Just wondering if anyone knows or thinks we will ever get open sources from Huawei for Oreo for the mate 9?
DUK source for Oreo kernel works fine on Mate 9.
ante0 said:
DUK source for Oreo kernel works fine on Mate 9.
Click to expand...
Click to collapse
Yeah eh?
Wirmpolter said:
Yeah eh?
Click to expand...
Click to collapse
The kernel source for Honor 8 Pro can be compiled and used on Mate 9.
It doesn't really work on Honor 8 Pro, Bluetooth and WiFi breaks. But on Mate 9 it's fine
Is anyone port a Los 15 or RR rom? Disillusioned with this device in terms of development. It has good hardware and battery. Treble is unstable. It was my first Huawei device and the last one. I've always had custom roms. Mate9 was the first device to keep the stock rom for more than a year and so will follow
ante0 said:
The kernel source for Honor 8 Pro can be compiled and used on Mate 9.
It doesn't really work on Honor 8 Pro, Bluetooth and WiFi breaks. But on Mate 9 it's fine
Click to expand...
Click to collapse
That's good to know... May I ask, what software, etc would I need to download to compile / build the ROMs? Also is it better to build ROMs running a Linux environment? If so, which is best Linux to get?
n.pikota said:
Is anyone port a Los 15 or RR rom? Disillusioned with this device in terms of development. It has good hardware and battery. Treble is unstable. It was my first Huawei device and the last one. I've always had custom roms. Mate9 was the first device to keep the stock rom for more than a year and so will follow
Click to expand...
Click to collapse
I hear ya bud... It's been my first and only huawei device so far too.
I'm thinking about doing it, as long as I have no big issues in learning to build / compile ROMs.
You got the wrong device for that. You have to do everything from scratch. To start you have to build device tree.

Lineage OS available?

Hello!
Is there Lineage OS already available for the P20?
Any actual roms?
0xsly0x said:
Hello!
Is there Lineage OS already available for the P20?
Click to expand...
Click to collapse
Are there even any roms out for the P20, not liking the stock and don't really want to get a launcher
No, not yet and i doubt that there will be scene because huawei is locking the possibility to unlock bootloader
P20 can still be unlocked
g_oral said:
No, not yet and i doubt that there will be scene because huawei is locking the possibility to unlock bootloader
Click to expand...
Click to collapse
You'd think that some people would want a custom ROM though
There are a lot of Treble roms available for P20 (Pixel Experience, RR, LOS).. just take a look on the internet !
ROMS
Androlark said:
There are a lot of Treble roms available for P20 (Pixel Experience, RR, LOS).. just take a look on the internet !
Click to expand...
Click to collapse
Sorry to be annoying but do you know if any flashes of twrp and magisk for p20 cuz my current twrp keeps encrypting and I can't find a magisk that works, all the in error 1
Androlark said:
There are a lot of Treble roms available for P20 (Pixel Experience, RR, LOS).. just take a look on the internet !
Click to expand...
Click to collapse
And have you tried any of those? Could you tell us what's not working on treble ROMs?
0xsly0x said:
Hello!
Is there Lineage OS already available for the P20?
Click to expand...
Click to collapse
Actually it is. ?
https://forum.xda-developers.com/honor-view-10/development/rom-lineageos-15-1-t3753000
And there is also GSI Lineage
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
0xsly0x said:
Hello!
Is there Lineage OS already available for the P20?
Click to expand...
Click to collapse
rawdealer said:
Actually it is.
https://forum.xda-developers.com/honor-view-10/development/rom-lineageos-15-1-t3753000
And there is also GSI Lineage
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
Click to expand...
Click to collapse
I have the GSI Lineage running on my P20, with the caveat that i have to run V3. V4 gets stuck on the lineage logo. Haven't tried the honor view version yet.
rawdealer said:
Actually it is.
https://forum.xda-developers.com/honor-view-10/development/rom-lineageos-15-1-t3753000
And there is also GSI Lineage
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
Click to expand...
Click to collapse
Marnux said:
I have the GSI Lineage running on my P20, with the caveat that i have to run V3. V4 gets stuck on the lineage logo. Haven't tried the honor view version yet.
Click to expand...
Click to collapse
Androlark said:
There are a lot of Treble roms available for P20 (Pixel Experience, RR, LOS).. just take a look on the internet !
Click to expand...
Click to collapse
Would you recommend switching to LineageOS/AOSP? Why (not)?
Anything you miss in particular? Is the camera quality bearable?
There's a quite buggy port made by phhusson, but ported from Mate 9 so pretty useless..
The camera quality is actually bad. It is the main reason I'm not switching to LOS.
The notch is not supported at all, some texts and icons are hiding behind it.
No FP sensor too.
I've got no issues for booting Treble roms with EMUI 8.1, but some are getting issues with 8.0
I opened this on phhusson's github, you can take a quick look.
I like clean and uncluttered. So i buy my phones with unlocking and custom romming in mind, as i have a choice of software at that time. It's a personal preference.
That said, i find something that is closer to AOSP, always recommended. I'm sure there are people that don't agree. Tastes differ and i like to have freedom and own my device. I paid for it, so i can do with it what i want.
I don't miss anything, i don't have high quality standards for camera and such on a phone. There is specific equipment for specialized tasks.
It is good enough to send the odd photo or video on my messaging app.
Androlark said:
There's a quite buggy port made by phhusson, but ported from Mate 9 so pretty useless..
The camera quality is actually bad. It is the main reason I'm not switching to LOS.
The notch is not supported at all, some texts and icons are hiding behind it.
No FP sensor too.
I've got no issues for booting Treble roms with EMUI 8.1, but some are getting issues with 8.0
I opened this on phhusson's github, you can take a quick look.
Click to expand...
Click to collapse
Thanks Androlark.
Did you try the phhusson's GSI LineageOS version or LuK1337's Unofficial LineageOS? Is there any difference between them?
Are the bugs you mentioned fixed?
https://github.com/phhusson/treble_experimentations/issues/39
If I had a spare phone, I would have tried these treble roms on my device, but P20 is my main daily driver. But, I (and we all) would love to have a fully working LineageOS for P20. I am watching this space closely.

Question Custom Rom?

I'm a new user of this phone,and i curious about normally when will this phone gets custom roms?
Depends if a dev is getting the phone normally... For the mi 11 pro/ultra there was a fundraiser.. after phone was bought... It took a few months, also due to source release off Xiaomi. But FUXI is wat more easy i guess.. so i think custom will come here fairly fast
marcel112 said:
Depends if a dev is getting the phone normally... For the mi 11 pro/ultra there was a fundraiser.. after phone was bought... It took a few months, also due to source release off Xiaomi. But FUXI is wat more easy i guess.. so i think custom will come here fairly fast
Click to expand...
Click to collapse
thx.. Now I have some clues then.
HAJIHUJIN said:
thx.. Now I have some clues then.
Click to expand...
Click to collapse
This is great. Can u share more details?
Since XIAOMI 13 global announced at official sites (2023.02.26), which means its source release on the way?
Xiaomi 13 | Xiaomi Global
Leica professional optical lens,Leading Snapdragon® 8 Gen 2,120Hz AdaptiveSync AMOLED display,67W wired turbo charging.
www.mi.com
There is already not a single rom for the 12 pro 8 Gen1 while the kernel dates from December 2021.
In my opinion several obstacles, incomplete Kernel ***, the completely new fingerprint part ***, the soc, price.
(***confirmed by developers).
NOSS8 said:
There is already not a single rom for the 12 pro 8 Gen1 while the kernel dates from December 2021.
In my opinion several obstacles, incomplete Kernel ***, the completely new imprint part ***, the soc, price.
(***confirmed by developers).
Click to expand...
Click to collapse
You mean xiaomi made it extremely hard to make custom roms due to nearly impossible to aosp software to control the hardware ? Or am i getting it way off
marcel112 said:
You mean xiaomi made it extremely hard to make custom roms due to nearly impossible to aosp software to control the hardware ? Or am i getting it way off
Click to expand...
Click to collapse
Maybe it's the soc, for devices over a year old brands like One Plus or Samsung no AOSP rom too.
Xiaomi 12 (cupid) with 8 gen 1 has stable LOS. Fingerprint and SOC seems to be no problem. I guess, as soon as an good developer wants a custom rom for that phone, it will be a process less then 3 Month to stable. RN I use the 12X and on december a good dev got the phone and now we have a pretty good and stable base!
Voodoojonny said:
Xiaomi 12 (cupid) with 8 gen 1 has stable LOS. Fingerprint and SOC seems to be no problem. I guess, as soon as an good developer wants a custom rom for that phone, it will be a process less then 3 Month to stable. RN I use the 12X and on december a good dev got the phone and now we have a pretty good and stable base!
Click to expand...
Click to collapse
Interesting, could you share the link?
NOSS8 said:
Interesting, could you share the link
Click to expand...
Click to collapse
Releases · arian-ota/ota
Contribute to arian-ota/ota development by creating an account on GitHub.
github.com
Voodoojonny said:
Releases · arian-ota/ota
Contribute to arian-ota/ota development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
the two newest releases are for davinci (K20) and not cupid.
Users going to that github should be aware. The third file is for cupid but it's vanilla without GMS.
McFlypants said:
the two newest releases are for davinci (K20) and not cupid.
Users going to that github should be aware. The third file is for cupid but it's vanilla without GMS.
Click to expand...
Click to collapse
It seems to me that it's written big enough not to be wrong and Vanilla has always been without gapps.
McFlypants said:
the two newest releases are for davinci (K20) and not cupid.
Users going to that github should be aware. The third file is for cupid but it's vanilla without GMS.
Click to expand...
Click to collapse
Flash gapps. Los is always vanilla. And the latest release for cupid is built this month and it's stable. This is the best possible situation!
Voodoojonny said:
Flash gapps. Los is always vanilla. And the latest release for cupid is built this month and it's stable. This is the best possible situation!
Click to expand...
Click to collapse
Not always; the particular dev can bundle GMS with one of the versions of their implementation.
HAJIHUJIN said:
I'm a new user of this phone,and i curious about normally when will this phone gets custom roms?
Click to expand...
Click to collapse
I'm so waiting for this too! You cant imagine how disappointed I am with Xiaomi's UI both visually and functionally, not to mention some of its stupid restrictions. Today I've succesfully unlocked BL and flashed xiaomi.eu wich fixes some of the annoyances, but I definitely think a more pure version of android would suite that device better.

Categories

Resources