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?
Related
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!
Since the huwaei in not officially supported honor 6. They stuck at marshmallow. plzz someone build CM14 for honor 6. Honor 4x has a low hardware as compared to honor 6 still honor 4x got CM14 support. in last 2 year no one ported custom rom for honor 6.
Without complete source is impossible to build good custom rom.
If you want you can try the Mate 7 MM AOSP, this works on Honor 6
"please build CM14"... why won't you try to do it yourself, if it's so easy? You should read the other topics, Google some stuff, or even use common sense before making such useless topics. Like CX&== says, the most we can get right now is Marshmallow AOSP (not CM). Anything better would require Huawei to make a custom ROM for us, which is never going to happen.
If you actually knew what you were writing about, you would notice that 4X has a Snapdragon processor, which explains why it has custom ROMs support.
I've already posted the Full Source including Kernel Source.
http://forum.xda-developers.com/honor-6/development/h60-mm-emui4-source-t3447862
and still no one wants to do it.
Maybe because the device is not popular...
better you post requests in q and a section bro..
Hi threre
at androidfilehost is a file called cm-14.0-20160927-UNOFFICIAL-cherry.zip
Found here
Does anybody know or can anybody say if this is really for the honor 6 or its a fake or a mistake?
Thx
logg.sar said:
Hi threre
at androidfilehost is a file called cm-14.0-20160927-UNOFFICIAL-cherry.zip
Found here
Does anybody know or can anybody say if this is really for the honor 6 or its a fake or a mistake?
Thx
Click to expand...
Click to collapse
Is a fake in build.prop says msm8916 Honor 4X
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?
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.
Does anyone know any developer who would be willing to make android-10 ROMS for our P2 or is Pie the last update for this awesome phone?
Kinngk said:
Does anyone know any developer who would be willing to make android-10 ROMS for our P2 or is Pie the last update for this awesome phone?
Click to expand...
Click to collapse
Hopefully not as the developers said that as long as they have this phone working they'll keep the development going. :fingers-crossed::fingers-crossed:
Well, I hope there will be future development for this phone too. I'm using one for more than 2 years, and battery still rocks, it sure lasts more than any flagship !
as far as i can tell, mike is working on lineage os 17.
so at least one android 10 rom might be coming soon
ryd3r89 said:
Well, I hope there will be future development for this phone too. I'm using one for more than 2 years, and battery still rocks, it sure lasts more than any flagship !
Click to expand...
Click to collapse
Yea bro same, more than 2.5 years and still i get SOT of 6-7 hours.
Whenever i think of buying a new phone, i look at my p2 and i stop. Its still so smooth cuz of the ROMS and charges under 1 hour and 15 minutes.
This phone is the best purchase i ever had. So i want development to keep going on, atleast for 1 more iteration of Android. Then i'll maybe buy Redmi K20 pro next year cuz it'll also have good development in future.
@Erazor84 that's good news brother. But I'll wait for AOSP xtended Android-10 (if it ever comes)
Bcuz i used their Oreo build and now using pie, and i found them the best among all of'em.
Erazor84 said:
as far as i can tell, mike is working on lineage os 17.
so at least one android 10 rom might be coming soon
Click to expand...
Click to collapse
My guess would be at least 2 more ROMs :fingers-crossed: one from @VladSor and second from @Fullbustah as they are consistent with porting/ developing the ROMs such as Havoc, Syberia, Bootleggers and POSP for P2.
But of course, we need a reliable vendor upgrade first.
Xiaomi redmi note 4 which has the same Specs has just got lineage 17.
mido hamdy said:
Xiaomi redmi note 4 which has the same Specs has just got lineage 17.
Click to expand...
Click to collapse
We're next, I guess :fingers-crossed:
Kinngk said:
Does anyone know any developer who would be willing to make android-10 ROMS for our P2 or is Pie the last update for this awesome phone?
Click to expand...
Click to collapse
Yus coming 10
Astridxx said:
Yus coming 10
Click to expand...
Click to collapse
You're the man buddy!:highfive:
Only sgsi are coming for our device No rom yet , and those gsi are also ****ty...
shivang_bagh said:
Only sgsi are coming for our device No rom yet , and those gsi are also ****ty...
Click to expand...
Click to collapse
Can you tell me please what is the meaning of gsi ? Or sgsi?
is there any chance for android 10 for havoc os?
As per my understanding:
HACKIMTOSH said:
Can you tell me please what is the meaning of gsi ? Or sgsi?
Click to expand...
Click to collapse
Generic System Image (GSI) is pure untouched Android released by Google for treble enabled phones with a designated vendor partition.
Semi GSI (SGSI) is a customized GSI with features and name of a custom ROM and it can also be installed on treble enabled phones with a designated vendor partition.
alirazaagha said:
Generic System Image (GSI) is pure untouched Android released by Google for treble enabled phones with a designated vendor partition.
Semi GSI (SGSI) is a customized GSI with features and name of a custom ROM and it can also be installed on treble enabled phones with a designated vendor partition.
Click to expand...
Click to collapse
Now i see , thank you bro
How is Android 10 on Lenovo P2? Is it stable? I am on stock Rom Android 7. How to get from stock to Android 10?
Thank you.
Astridxx said:
Yus coming 10
Click to expand...
Click to collapse
The following url https://forum.xda-developers.com/lenovo-p2/development/rom-aosip-derpfest-t3981193 will give You access on this forum to the thread concerning AOSiP-10-DerpFest-Alpha-kuntao-20191009.zip which is the first alpha version of the first Android 10 custom rom dedicated to the Lenovo P2.
If You are interested in testing this Android 10 rom, just follow the installation instructions given on the first page of the thread.
If I well understood, I think that someone, maybe mikeioannina ?, should now be working on a Android 10 rom LineageOS 17. If this is the case, all we can do is to be patient.
You will note that from now on we must say Android 10 instead of Q as asked by Google. So, next year, the next version of Android will be Android 11 and not R.
Below is the lineageos github page for Kuntao (Lenovo P2a42), the branch is on 17.0, but it seems it hadn't been developed on in 4 months, but i don't know how these things go...
Github Kuntao: https://github.com/LineageOS/android_device_lenovo_kuntao
Roms for kuntao
slovantes said:
Below is the lineageos github page for Kuntao (Lenovo P2a42), the branch is on 17.0, but it seems it hadn't been developed on in 4 months, but i don't know how these things go...
Github Kuntao: https://github.com/LineageOS/android_device_lenovo_kuntao
Click to expand...
Click to collapse
Hello I've tried all of the versions on my KUNTAO, at the beggining very laggy now better, there are some ROMS which you can use w/out a problem if you can live w/out some of the features like the FP GESTURES OR AA CONNECTIVITY.
HAVOC 3.0 (NOT THE TREBLE VERSION) to me is the best option till this post furthermore I don't know.
CHHERS
So, We are half a year further from the last post in this thread, any news on the stability and performance of the android 10 rom's? Im right now on Crdroid Pie ROM and except fingerprint kicking the bucket everything is working flawlessly. Any stable and well performing 10 rom's out there, or should we wait a little longer?