Huawei finally releases kernel source codes - Huawei Mate 20 Pro Guides, News, & Discussion

Huawei releases kernel source code for Kirin 980 and Kirin 970 devices on Android Pie
https://www.xda-developers.com/huawei-kernel-source-code-kirin-980-kirin-970-android-pie/
This is such great news for custom ROMs, custom kernels and official twrp etc.
Now that our devices are having the ability to unlock the bootloader, I believe with the release of source codes custom development shouldn't be to far away.
It's exciting times for our devices. :good:

Hopefully we might see a treble lineage for our phones ?

Does this mean we could get a G-Cam port? Or is that a completely different kettle of fish ?

AshC1995 said:
Does this mean we could get a G-Cam port? Or is that a completely different kettle of fish
Click to expand...
Click to collapse
Second that question

would a gcam port use the full potential of our Camara?

Related

CyaogenMod Huawei P9 and P9+

Guys what do you think? Will it come or not.
Im speccially interestet in the P9+. But i dont like the software of this device.
At least not until Huawei releases the source of the P9+. And, it's known that Huawei only releases the basics needed to be GPL compliant. It could take a few months before development really starts for this device. Unofficial ports will be available, official CyanogenMod versions.... We'll see
I understand that problem. I still hope..
First of all we need:
- An Unlocked Bootloader
- Release of Kernel Sources
- TWRP (Custom Recovery)
Additionally:
What affect would any rom development have on proprietary drivers/software for the Leica cameras ?
I personally dont care much about the kamera
Tiz92 said:
I personally dont care much about the kamera
Click to expand...
Click to collapse
Thats fair enough.
What is the custom rom scene for other Huawei smartphones like eg P8 & Mate 8 ?
SlyUK said:
Thats fair enough.
What is the custom rom scene for other Huawei smartphones like eg P8 & Mate 8 ?
Click to expand...
Click to collapse
No AOSP Stock Roms
Tiz92 said:
Guys what do you think? Will it come or not.
Im speccially interestet in the P9+. But i dont like the software of this device.
Click to expand...
Click to collapse
Unfortunately I do not think that you'll get CyanogenMod for this device even unofficially ... especially because the processor is Kirin and not Qualcomm !
Qualcomm provides source code for development, that's why almost all Qualcomm devices has CM officially or unofficially.
To bring CM for this device isn't impossible ... but it requires a very very good developer ....
You can take a look on P7 and P8 to see if CM exist ... if Yes, then you can hope ... P6 have a CM-11.0 ported of me , but is not 100% fixed .
I hope that a good developer will be here ( sooner or later ) to bring CM for P9 and/or P9+
Best regards !
surdu_petru said:
Unfortunately I do not think that you'll get CyanogenMod for this device even unofficially ... especially because the processor is Kirin and not Qualcomm !
Qualcomm provides source code for development, that's why almost all Qualcomm devices has CM officially or unofficially.
To bring CM for this device isn't impossible ... but it requires a very very good developer ....
You can take a look on P7 and P8 to see if CM exist ... if Yes, then you can hope ... P6 have a CM-11.0 ported of me , but is not 100% fixed .
I hope that a good developer will be here ( sooner or later ) to bring CM for P9 and/or P9+
Best regards !
Click to expand...
Click to collapse
But is a good developer also able to port CM without sources? Sorry for my ignorance, im studying biotechnology, not informatics :silly:
Sadly there is no CM for the p9.
Tiz92 said:
But is a good developer also able to port CM without sources? Sorry for my ignorance, im studying biotechnology, not informatics :silly:
Sadly there is no CM for the p9.
Click to expand...
Click to collapse
very well your question
Indeed, is not a build of cm but rather a port of cm , because lack of source code ... with only kernel source code provided from Huawei, you'll not be able to build and run cm in your device !
Hope you understand !
It is not entirely impossible.
However, I am lucky to own a Huawei Honor 4C and P8 Lite. Both have HiSilicon Kirin 620 SoC. And this the only Kirin version which is officially supported by Google and thus has kernel source codes and AOSP 6.0 and 5.1.1 source codes available. Although, it's still difficult to port as RIL is the only thing which isn't fixed and requires dirty framework hacks.
As for P9, from kernel source codes, you might be able to compile kernel compatible with CyannogenMod and also might be able to get it to boot but the Huawei proprietary stuff such as NFC, Fingerprint Support, etc, they will never ever work because they rely on source codes which unfortunately Huawei are not obliged to release. And yeah, you'll lose Leica features and other proprietary camera things. If you love CM or AOSP and can't live without that, stay away from this device or you'll regret your decision.
---------- Post added at 06:07 AM ---------- Previous post was at 06:02 AM ----------
SlyUK said:
First of all we need:
- An Unlocked Bootloader
- Release of Kernel Sources
- TWRP (Custom Recovery)
Additionally:
What affect would any rom development have on proprietary drivers/software for the Leica cameras ?
Click to expand...
Click to collapse
- Huawei has an official Bootloader Unlock Program for all their devices so don't worry about that.
- Kernel Sources - Under the GPL they'll be released but they would be a complete mess. For all the kernel sources from Huawei I have tested so far, none of them compiles. (and you would laugh at literally 10000 C errors that spawn up while building).
- TWRP - You'll get that easily. That's a no brainer.
- You'll lose proprietary stuff for Leica, NFC, Fingerprint Support, IR blaster, and many others. (All this mentioned stuff won't even work)
mfbcool said:
It is not entirely impossible.
However, I am lucky to own a Huawei Honor 4C and P8 Lite. Both have HiSilicon Kirin 620 SoC. And this the only Kirin version which is officially supported by Google and thus has kernel source codes and AOSP 6.0 and 5.1.1 source codes available. Although, it's still difficult to port as RIL is the only thing which isn't fixed and requires dirty framework hacks.
As for P9, from kernel source codes, you might be able to compile kernel compatible with CyannogenMod and also might be able to get it to boot but the Huawei proprietary stuff such as NFC, Fingerprint Support, etc, they will never ever work because they rely on source codes which unfortunately Huawei are not obliged to release. And yeah, you'll lose Leica features and other proprietary camera things. If you love CM or AOSP and can't live without that, stay away from this device or you'll regret your decision.
---------- Post added at 06:07 AM ---------- Previous post was at 06:02 AM ----------
- Huawei has an official Bootloader Unlock Program for all their devices so don't worry about that.
- Kernel Sources - Under the GPL they'll be released but they would be a complete mess. For all the kernel sources from Huawei I have tested so far, none of them compiles. (and you would laugh at literally 10000 C errors that spawn up while building).
- TWRP - You'll get that easily. That's a no brainer.
- You'll lose proprietary stuff for Leica, NFC, Fingerprint Support, IR blaster, and many others. (All this mentioned stuff won't even work)
Click to expand...
Click to collapse
How about having a debloated custom rom based on stock - Would that be possible & would that effect proprietary stuff mentioned above ?
SlyUK said:
How about having a debloated custom rom based on stock - Would that be possible & would that effect proprietary stuff mentioned above ?
Click to expand...
Click to collapse
Those are the only ROMs Huawei HiSilicon phones get. A debloated custom ROM based on Stock. That wouldn't effect any of the proprietary stuff. Only useless apps are removed which do not effect phone performance or capabilities. Personally, I debloat them myself rather than relying on Stock based ROMs. It doesn't make a great difference.
Tiz92 said:
Guys what do you think? Will it come or not.
Im speccially interestet in the P9+. But i dont like the software of this device.
Click to expand...
Click to collapse
why would you want genocidemod ? what is wrong with Emui ??
XDADEVX said:
why would you want genocidemod ? what is wrong with Emui ??
Click to expand...
Click to collapse
Because I dont like bloatet, ugly non AOSP Software.
Tiz92 said:
Because I dont like bloatet, ugly non AOSP Software.
Click to expand...
Click to collapse
Come oon don't be childish..
Emui is best OS.. Skin
XDADEVX said:
Come oon don't be childish..
Emui is best OS.. Skin
Click to expand...
Click to collapse
Im not childish really. I simply dont like Emui, neither touch wiz or any other oem skin..
XDADEVX said:
Come oon don't be childish..
Emui is best OS.. Skin
Click to expand...
Click to collapse
I do respect your opinion but really... EMUI is best??? Oh man!!! That's seriously gross.....
hahaha have been reading and laughing at this pages comments...actually that's why the android gods invented 'LAUNCHERS' i have the P9 and yes there is a little bloat on it but nothing that really makes you think...WOW i really need to clean this device up...yes EMUI is basically IOS with a different title...but it also does have a few quirks worth keeping...every OEM skin does...including touchwizz...and i am no fan of sh!tsung myself and never have been...as for the camera...just about every time i use it i get more and more impressed with it,especially the monochrome mode seriously makes you feel like a professional photographer,build quality is also seriuously good they didn't pull any punches there.the new fingerprint scanner which also maps your fingerprint ridges in 3D...is even more impressive than the one on the nexus 6p,it has NFC which means when USA finally get a version available it will support android pay,huawei said that the lazer auto focus means you do not need OIS and so far after a few days they are correct,shooting video...different story it's really needed for that...and no 4K recording which is a bummer,if it had these two options in the specs it may well justify the price tag
[Quick OTE=mfbcool;66272493]I do respect your opinion but really... EMUI is best??? Oh man!!! That's seriously gross.....[/QUOTE]
It is done same way as iOS no app draw so? If i told you apple did emui you would go woooow amazing..
What is so wrong where are the issuse I really don't undersyand ppl.. Everything works as it should..
Why u not complaining on ios where is all the same as on huawei emui..

How come the honor 8 has lots of AOSP based roms, and we don't

Everybody here is saying that wating for a custom rom for p8lite2017 is a waste of time because huawei doesn't release the sources, then why does honor 8 have so many custom roms for it ? It has EMUI 5 just like us, it's made by the same company in the same year, how did the devs manage to make roms for it ??
Honor 8 source code is released, for P8 Lite 2017 isn't.
MobileTechArena said:
Honor 8 source code is released, for P8 Lite 2017 isn't.
Click to expand...
Click to collapse
Ah.. i didn't know that, i thought HUAWEI didn't release sources at all, thank you for the information
Some developers (also I) take the data of the devices which they own. They do not need the official resources. Therefore, there is not custom rom also from devices his resources were published. I build my custom rom when android 8 is released.
ChinHon said:
Some developers (also I) take the data of the devices which they own. They do not need the official resources. Therefore, there is not custom rom also from devices his resources were published. I build my custom rom when android 8 is released.
Click to expand...
Click to collapse
I'd be glad if we can get even just a custom kernel..But if we do get a custom rom, then all the more better!
AOSP based rom <3 <3 <3
what about K rom in honor 6x dose it compatible with our device ?
K-rom
boofman said:
I'd be glad if we can get even just a custom kernel..But if we do get a custom rom, then all the more better!
Click to expand...
Click to collapse
I already work some time on a EMUI 5 custom rom. Alike for Honor 6x. Only of the Kernel is not enough. We also need 100% Recovery. There is not that.
ChinHon said:
I already work some time on a EMUI 5 custom rom. Alike for Honor 6x. Only of the Kernel is not enough. We also need 100% Recovery. There is not that.
Click to expand...
Click to collapse
True. Our Recovery isn't that all stable and consistent. I am not really expecting too much from this phone since its a budget device, and I got most of the things I want and need to work: root, busybox, Viper4Android. The TWRP is a bonus, even if its in a semi-usable state.
It's great if we can have Custom ROMs, but even just a custom kernel will suffice for now.
OFFTOPIC: On another note, I am hoping that Xposed will somehow work for Android 7 onwards. Even without a Custom ROM, that will open a lot of doors for customization.
When source codes get released you can find them here: http://consumer.huawei.com/en/opensource/
When I search for PRA, which I think is your phone model, I can get sources. Seems like sources are available for your phone
JpegXguy said:
When source codes get released you can find them here: http://consumer.huawei.com/en/opensource/
When I search for PRA, which I think is your phone model, I can get sources. Seems like sources are available for your phone
Click to expand...
Click to collapse
I think that's it, i was looking there yesterday and there was nothing under PRA.
You can have the Kernel with pleasure. Comes from the B110. Use on own risk.
https://mega.nz/#!ZldRWApK!Tjs9RFIM0ybTnp7GiWdbUd9WykCSfggUxDkK3lEx6pI
Was modified from kangvip.
ChinHon said:
You can have the Kernel with pleasure. Comes from the B110. Use on own risk.
https://mega.nz/#!ZldRWApK!Tjs9RFIM0ybTnp7GiWdbUd9WykCSfggUxDkK3lEx6pI
Was modified from kangvip.
Click to expand...
Click to collapse
Is this compatible with B160?
Also, do we have changelogs? TIA
JpegXguy said:
When source codes get released you can find them here: http://consumer.huawei.com/en/opensource/
When I search for PRA, which I think is your phone model, I can get sources. Seems like sources are available for your phone
Click to expand...
Click to collapse
OMG LOL the sources are available, thank u man!
Hi folks, anyone with stock room for p8 lite 2017 PRA-LX1. I would like to use the d load method to have my dual Sim working. Pls help with the right link. I don't want to root the phone. Kindly assist. Thanks a lot
Kwaku77 said:
Hi folks, anyone with stock room for p8 lite 2017 PRA-LX1. I would like to use the d load method to have my dual Sim working. Pls help with the right link. I don't want to root the phone. Kindly assist. Thanks a lot
Click to expand...
Click to collapse
https://mobiletech360.co/huawei-p8-lite-2017-stock-firmwarerom-android-7-nougat-pra-lx1/
Oh we do have them guys... we do have them..

In Terms Of Custom Roms & Kernels What Can We Expect ?

Is this influenced by Project Treble ?
You'll be able to run a stock rom via treble just like you can with the p10/mate10. That said, why would you want to? The camera will be straight trash on a custom rom.
Goronok said:
You'll be able to run a stock rom via treble just like you can with the p10/mate10. That said, why would you want to? The camera will be straight trash on a custom rom.
Click to expand...
Click to collapse
It depends on what you take from this question:
1) Custom ROM based on EMUI, or
2) Custom ROam built from source.
If the P10 or Mate 10 series is anything to go by, there won't be many if any options of EMUI based customised ROMs. However, with the work that PHH is doing, he has stated earlier today (to a question of mine) that he will be looking to have his treble builds support the P20 Pro.
On Source built custom ROMs, you might loose things like the camera however there is also a potential that this could be ported over. Again, PHH has done some work to port over the Huawei camera to the Mate 10 etc but he also said he wouldn't be looking at this for the P20 Pro. Might be that we have to hope for someone else to try this task, I know I don't have the skill set for it.
Treble will definitely make it easier. However, it would still be helpful to get kernel sources released in a timely manner and encourage Devs to get this device / encourage Huawei to give devices to know quality developers.
In the meantime I would ask that people tweet or otherwise get in contact with Huawei to release kernel sources ASAP.
Sent from my OnePlus 5 using XDA Labs
Expect nothing. Sell that crap and buy Nokia 3310. There is latest CM for it every day.
I'm not too concerned about a full custom ROM to be honest. Root is my main concern for minor tweaks and ad blocking etc
rav101 said:
It depends on what you take from this question:
1) Custom ROM based on EMUI, or
2) Custom ROam built from source.
If the P10 or Mate 10 series is anything to go by, there won't be many if any options of EMUI based customised ROMs. However, with the work that PHH is doing, he has stated earlier today (to a question of mine) that he will be looking to have his treble builds support the P20 Pro.
On Source built custom ROMs, you might loose things like the camera however there is also a potential that this could be ported over. Again, PHH has done some work to port over the Huawei camera to the Mate 10 etc but he also said he wouldn't be looking at this for the P20 Pro. Might be that we have to hope for someone else to try this task, I know I don't have the skill set for it.
Treble will definitely make it easier. However, it would still be helpful to get kernel sources released in a timely manner and encourage Devs to get this device / encourage Huawei to give devices to know quality developers.
In the meantime I would ask that people tweet or otherwise get in contact with Huawei to release kernel sources ASAP.
Sent from my OnePlus 5 using XDA Labs
Click to expand...
Click to collapse
- How does PHH's builds differ usually from Stock EMUI ?
Hopefully there will be a kernel or two being developed with any luck ?
SlyUK said:
- How does PHH's builds differ usually from Stock EMUI ?
Hopefully there will be a kernel or two being developed with any luck ?
Click to expand...
Click to collapse
I haven't tried it yet but it's properly stock aosp. No special features
Sent from my OnePlus 5 using XDA Labs
rav101 said:
I haven't tried it yet but it's properly stock aosp. No special features
Sent from my OnePlus 5 using XDA Labs
Click to expand...
Click to collapse
Fair enough
(Shall press "Thanks" tomorrow)
Looks like custom rom hasn't gone anywhere yet.
Btw what is treble?
Sent from my SM-G955F using Tapatalk
twe90kid said:
Looks like custom rom hasn't gone anywhere yet.
Btw what is treble?
Click to expand...
Click to collapse
Google project treble
https://source.android.com/devices/architecture/treble
Sent from my CLT-L29 using XDA Labs

Petition For Oppo A37f Kernel Source

Hello guys I have made this petition to Oppo for releasing Oppo a37 kernel source for getting latest Android versions
Please support by signing the petition
Sign in This to help getting android 10 for Oppo a37f
~ http://chng.it/9mwSrkNywL
Lolipop stable roms posting soon:laugh:
Yashraj22 said:
Hello guys I have made this petition to Oppo for releasing Oppo a37 kernel source for getting latest Android versions
Please support by signing the petition
Sign in This to help getting android 10 for Oppo a37f
~ http://chng.it/9mwSrkNywL
Lolipop stable roms posting soon:laugh:
Click to expand...
Click to collapse
Oh dude, if you want to enjoy a newer version of android in oppo devices, then just buy a newer oppo phone. Stop doing thing imposible like petition or whatever. Trust me, they won't.
lets us give it a shot
Dyt199412syam said:
Oh dude, if you want to enjoy a newer version of android in oppo devices, then just buy a newer oppo phone. Stop doing thing imposible like petition or whatever. Trust me, they won't.
Click to expand...
Click to collapse
We ported lolipop/marshmallow roms and now are stuck and bored we want new android versions , is there any way to cross port rom i.e. from snapdragon 616/210/400/425 to snapdragon 410 ?
Yashraj22 said:
We ported lolipop/marshmallow roms and now are stuck and bored we want new android versions , is there any way to cross port rom i.e. from snapdragon 616/210/400/425 to snapdragon 410 ?
Click to expand...
Click to collapse
No idea. It is very difficult, or most likely impossible to crossport the rom from another chipset especially for device that has no sourcce code. I will add redmi 2 to your list (snapdrgon 410), same chipset with oppo, but it can even gets stable android 10 (Lineageos 17.1). But no one developer in xda to port it to oppo a37, cause the source.
Yashraj22 said:
We ported lolipop/marshmallow roms and now are stuck and bored we want new android versions , is there any way to cross port rom i.e. from snapdragon 616/210/400/425 to snapdragon 410 ?
Click to expand...
Click to collapse
Almost impossible, unless Project Mainline comes out and support every version of Android with cross platform support, it is not possible. (From my 4 years of experience.)

Question Sailfish OS

Just wondering if someone have or know how to make
Sailfish OS work on this phone.​
Thanks
hawaii99 said:
Just wondering if someone have or know how to make
Sailfish OS work on this phone.​
Thanks
Click to expand...
Click to collapse
Bro its not possible on this phone as the kernel source has not been released by xiaomi yet.
Xiaomi uses GPL like it's toilet paper. Because of this, almost one year after the device's release we don't have source code available yet. Fortunately available custom Android-based ROMs work because the chipset is kinda popular, but there's no WIP for a Sailfish OS port.

Categories

Resources