[postmarketOS] Honor 9 Lite support - Honor 9 Lite Guides, News, & Discussion

Hello!
I've managed to build postmarketOS for the device.
It's based on:
penn5's kernel and JohnBergago's manual for Huawei Mediapad M5 pro (huawei-cameron).
While display, touch and usb-network is already working, I don't have enough skills and resources right now to manage firmware blobs for wlan, graphics acceleration and so on to work.
Hope somebody is interested too and would contribute. Thanks!

aa13q said:
Hello!
I've managed to build postmarketOS for the device.
It's based on:
penn5's kernel and JohnBergago's manual for Huawei Mediapad M5 pro (huawei-cameron).
While display, touch and usb-network is already working, I don't have enough skills and resources right now to manage firmware blobs for wlan, graphics acceleration and so on to work.
Hope somebody is interested too and would contribute. Thanks!
Click to expand...
Click to collapse
In the wiki page, under "how to flash", you use `empty.file` but it's better to use /dev/null.

hackintosh5 said:
In the wiki page, under "how to flash", you use `empty.file` but it's better to use /dev/null.
Click to expand...
Click to collapse
Thank you! And also for the hint to check labyrinth kernel, updated the wiki and moved to labyrinth kernel.

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..

[HACK WANTED] Use Huawei Honor 4x Cyanogen 13 ROM for Huawei Y6?

Hello all,
I would like to use a Honor 4x (Cherry) Cyanogen ROM (this one) for my Y6 SLT-L01. I figured it would be possible based on this thread of someone making a TWRP recovery for the Y6 based on the Honor 4x.
At first I just tried flashing the zip from TWRP, but the updater_script stopped me with a :
"This package is for device: c8817d,g620s,C8817D,C8817E,G621-TL00,G620S-UL00,G620S-L01,Che1-CL10,Che1-CL20,Che1-L04; this device is Honor4A."
And so I opened up the cm-13.0-20160504-NIGHTLY-cherry\META-INF\com\google\android\updater_script and removed the assert line spitting out the error, but now I just get a rather non-descriptive:
"Error flashing zip '/(emmc or sdcard, neither works)/cm-13.0lkdslk;lasd-NIGHTLY-cherry.zip'" - full log is attached below
I compared the build prop of my device, and that of the ROM I want to flash, and most of the items look pretty similar or compatible. For example, the ro.board.platform is msm8909 for my device and msm8916 for the ROM.
I've also attached both build props below.
At the end of the day, my question is: Is it possible to hack something quick that will let me use this ROM with my phone because the hardware is so similar? I would rather do that then set up a whole android ROM development build environment. Any advice would be appreciated.
maybe someone here can port it, btw has kernel sources of Y6 released??
Someone can do it, but he needs the proper files
without proper kernel sources i think it would not be possible
Kernel source isn't the most important, proprietary vendod files and device tree are crucial
venom007 said:
without proper kernel sources i think it would not be possible
Click to expand...
Click to collapse
Kernel source are released for the huawei y6
Amaan007 said:
Kernel source are released for the huawei y6
Click to expand...
Click to collapse
maybe someone will port it
Amaan007 said:
Kernel source are released for the huawei y6
Click to expand...
Click to collapse
If it's already released then there's no need to port. Better to build from source.
Sent from my Honor 8 using XDA Labs
adriansticoid said:
If it's already released then there's no need to port. Better to build from source.
Click to expand...
Click to collapse
Well , if any dev owns that device then surely they will get roms
Fworg64 said:
Hello all,
I would like to use a Honor 4x (Cherry) Cyanogen ROM (this one) for my Y6 SLT-L01. I figured it would be possible based on this thread of someone making a TWRP recovery for the Y6 based on the Honor 4x.
At first I just tried flashing the zip from TWRP, but the updater_script stopped me with a :
"This package is for device: c8817d,g620s,C8817D,C8817E,G621-TL00,G620S-UL00,G620S-L01,Che1-CL10,Che1-CL20,Che1-L04; this device is Honor4A."
And so I opened up the cm-13.0-20160504-NIGHTLY-cherry\META-INF\com\google\android\updater_script and removed the assert line spitting out the error, but now I just get a rather non-descriptive:
"Error flashing zip '/(emmc or sdcard, neither works)/cm-13.0lkdslk;lasd-NIGHTLY-cherry.zip'" - full log is attached below
I compared the build prop of my device, and that of the ROM I want to flash, and most of the items look pretty similar or compatible. For example, the ro.board.platform is msm8909 for my device and msm8916 for the ROM.
I've also attached both build props below.
At the end of the day, my question is: Is it possible to hack something quick that will let me use this ROM with my phone because the hardware is so similar? I would rather do that then set up a whole android ROM development build environment. Any advice would be appreciated.
Click to expand...
Click to collapse
Probably not
136fei said:
Probably not
Click to expand...
Click to collapse
There are quite a few roms on huawei y6 development thread
Amaan007 said:
There are quite a few roms on huawei y6 development thread
Click to expand...
Click to collapse
Can you link them here?
adriansticoid said:
Can you link them here?
Click to expand...
Click to collapse
https://forum.xda-developers.com/huawei-y6/development
Amaan007 said:
https://forum.xda-developers.com/huawei-y6/development
Click to expand...
Click to collapse
Thanks man.
Sent from my Honor 8 using XDA Labs
Amaan007 said:
https://forum.xda-developers.com/huawei-y6/development
Click to expand...
Click to collapse
+1

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..

Huawei P8lite ALE-L21 LineageOS firmware

Hi all !
I had read lot of links here at xda-developers.com and htcmania.com about non-official and not fullworking roms, and finally I'm lost.
So the last way is to do the question ... someone knows some *stable* lineageOS firmware for the ALE-L21 ?
I'm looking for lineageOS rom because I want to say bye bye to google and to have a little bit more privacy than now, so other roms are not on my target.
Thanks in advance
+1
I would also like to know answer to the exactly the same question! At first hand if possible!
Apparently there is no stable rom based on lineageos for our phone.
They all have stuff broken/not working.
At least that's what I see but maybe I'm wrong and didn't look in the right place...
I've been using this as a daily driver: https://forum.xda-developers.com/p8lite/development/rom-t3606568
The only problem I've had with it is that it is occasionally laggy (although I believe this may be the fault of the device) and video recording isn't working.

[INFO] Android Pie for P9 Lite 2016 Progress

Hi Folks
this topic it to keep the community updated about progress for Android Pie based on Emui 5.x, it's a collaboration between me & Meticulus. here the list of working thins, each time something is fixed will be strike:
Works
Android Pie system.
Led
Lights
Ril (Test in progress)
Storage.
Bugs
Audio.
Bluetooth.
Camera.
Graphics: no hwcomposer.
NFC.
Sensors.
Wifi.
Note:
This topic will be closed once "fix" mostly everthing, so please no ETA.
Supported Devices:
All P9 Lite 2016 variants.
The following devices will not get supported such as: P10 Lite, P8 Lite 2017 and P9 Lite 2017 for the simple reason this community it's for P9 Lite 2016 not for all hi6250.
Thanks for info haky.
Is fingerprint working as well?
Coolyou said:
Thanks for info haky.
Is fingerprint working as well?
Click to expand...
Click to collapse
not tested yet, but I will try in next build.
Hey Haky!
Firstly, thank you for both the efforts in porting and maintaining the rom dev in P9 lite community.
Second. About the camera app, is there any chance you can try porting the google camera app? It may fix some of the recording issues that happen in the oreo roms without using the extras option. Only if you want ofc!
The Restless Soul said:
Hey Haky!
Firstly, thank you for both the efforts in porting and maintaining the rom dev in P9 lite community.
Second. About the camera app, is there any chance you can try porting the google camera app? It may fix some of the recording issues that happen in the oreo roms without using the extras option. Only if you want ofc!
Click to expand...
Click to collapse
sure you can post it, I'm focus on pie at the moment.
has there been any further development on this project?
Trail Road said:
has there been any further development on this project?
Click to expand...
Click to collapse
Ok, but why not sharing the ROM link builds?
Private sources. Ask Meticulus -> https://www.meticulus.co.vu
Is the bugs still actual? This post is 1 year old

Categories

Resources