• 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

[DEV][WIP] LineageOS 14.1 for Huawei P9 Lite | Honor 5c | Honor 7 Lite [METICULUS]

Status
Not open for further replies.
M

Meticulus

Guest
LineageOS 14.1 is a free, community built distribution of Android 7.1, (Nougat) which greatly extends the capabilities of your phone, tablet or PMP.


Code:
#include 
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
These are LineageOS 14.1 builds are for the Huawei P9 Lite | Honor 5c | Honor 7 Lite | Huawei GT3 | Huawei GR5 mini. It may cause all the things in the disclaimer to happen, or steal your girlfriend while you are busy flashing ROMs.

GPL:


Warning: Currently, this ROM is in ALPHA.
Notice: These are not "official" LineageOS builds.



PLEASE STAY INFORMED!
No one likes to repeat themselves over and over again.
  • Latest Development Activity: here
  • Development Blog: here


Thread Etiquette:
  • I am not your personal tech support/customer service!
  • Don't post in here just to get me to notice or help you!
  • If all you do is complain then I never help you. That's my choice.
  • If you are helpful and contribute to development by testing or helping out others, I am more likely to help you.
  • If I tell you to take your conversation out of this thread, it's because you are OFF TOPIC. So don't respond, just continue somewhere else!
  • If you try to tell me what to do or how I should be, then I HATE YOU! I can't help it. I HATE THAT!
  • If you don't read what I write then when you don't understand I laugh at you!
  • Please do not ask your n00b questions here. Use the Q & A Thread here
  • Please do not quote the OP!

Examples of what not to post here:

Great work but I can not flash your ROM until "X" is fixed.
...
NO ONE CARES
I think you should fix "X" next
...
I DECIDE WHAT I WORK ON AND IT's NOT OPEN FOR DEBATE OR DISCUSSION
Your are GOD!
...
I appreciate the sentiment but I don't need ego boosting.
Download | Screen Shots | Changelog | Known Issues | Install Instructions: meticulus.co.vu
Gapps [arm64 | 7.1 | you choose]: here

XDA:DevDB Information
LineageOS 14.1, ROM for the Huawei P9 Lite

Contributors
Meticulus, dady000
Source Code: http://github.com/Meticulus

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Meticulus Development's TWRP/ Unlocked Bootloader
Based On: CyanogenMod, LineageOS

Version Information
Status: Alpha

Created 2017-01-26
Last Updated 2017-02-12
 

Attachments

Last edited:

StefanSpiegel

Member
Dec 22, 2009
45
14
0
will it be possible to dirty flash this over your last cm13 build?

you wrote: LineageOS 14.1 is a free, community built distribution of Android 6.0 (Marshmallow)...

I think it should be 7.1 right? ?
 
  • Like
Reactions: Potato997
M

Meticulus

Guest
will it be possible to dirty flash this over your last cm13 build?

you wrote: LineageOS 14.1 is a free, community built distribution of Android 6.0 (Marshmallow)...

I think it should be 7.1 right?
Yes, you are correct, it should be 7.1. I suspect that dirty flashing over CM13 will not work but I have also not attempted it. ;)
 
M

Meticulus

Guest
Video or Screenshots ?

Wysłane z mojego HUAWEI VNS-L21 przy użyciu Tapatalka
There is a short video on my blog; 2nd post. I can not get the screenshot page above to load properly so I can post screenshots... I'll continue to try... ;)
 

NoMercyWWE

Senior Member
May 29, 2009
648
60
0
34
Edit: OK worked, now...

Had nothing to do with the Rom but with Google nearby

I will Report Bugs as soon as i find them.

Anyway good Work so far ?


FYI: Just noticed a crash in Wifi. Doesn't happen until trying to connect.... :(

Had no luck tells me to Unlock my other device to Transfer data..even when I click on cant Do this now..
 
Last edited:

mchtt

Senior Member
Jun 12, 2013
472
68
0
Working perfectly on my L31 ? thanks a lot for your time and efforts !
Everything is smooth like butter .

---------- Post added at 07:26 PM ---------- Previous post was at 07:08 PM ----------

Only issue I got so far is the camera that is not working 25_01_2017 build and screen rotation not working yet due to sensors as mentioned.
 
Last edited:

ndroid1562

Senior Member
Aug 20, 2016
196
21
0
Working perfectly on my L31 ? thanks a lot for your time and efforts !
Everything is smooth like butter .

---------- Post added at 07:26 PM ---------- Previous post was at 07:08 PM ----------

Only issue I got so far is the camera that is not working 25_01_2017 build .
Also screen rotation not working yet due to sensors as mentioned.
Are these the only bugs or did anyone recognize other bugs?
 

mchtt

Senior Member
Jun 12, 2013
472
68
0
Issues are noted here: http://www.meticulus.co.vu/

You may prefer the cm13 release for the moment as a daily driver.

Another bug i saw:
If i install another keyboard and then disable the stock one, the keyboard does not appear anymore in some apps until i re enable the stock one even if i'm not using it.
 
Last edited:
M

Meticulus

Guest
Great news, do you plan on releasing the sources?
Yes, but not at this early alpha stage. ;)

P.S. Wifi + All sensors will be fixed next build...

Edit: Can you please edit your previous post and remove the "quote of the original post or (OP)". Thanks...
 

dady000

Senior Member
May 29, 2012
155
130
0
BTW I looked into the FM Radio again. This time I decompiled the apks and frameworks and found out that they are using modified FM Framework which looks something like this. The FM JNI library then registers those functions. So we can't use the stock JNI because it can't find the framework. Then they have created some service which communicates with the FM radio. The FM app then just calls the commands from the service. I didn't find any traces of QCOM FM radio so we have some BCM probably. So after I found out they have heavily modified all the opensourced code I stopped because we would need to reverse engineer a lot of things and it is not worth it in my opinion.
 
  • Like
Reactions: woodman
M

Meticulus

Guest
BTW I looked into the FM Radio again. This time I decompiled the apks and frameworks and found out that they are using modified FM Framework which looks something like this. The FM JNI library then registers those functions. So we can't use the stock JNI because it can't find the framework. Then they have created some service which communicates with the FM radio. The FM app then just calls the commands from the service. I didn't find any traces of QCOM FM radio so we have some BCM probably. So after I found out they have heavily modified all the opensourced code I stopped because we would need to reverse engineer a lot of things and it is not worth it in my opinion.
Reverse engineering is not the only option. Provided we could find the kernel driver, a user space driver could probably be written from scratch. I have some experience with FM kernel driver with my YP-G70. It had an "Si7102" (I think) FM chip. Although I was never entirely successful, I did try several times to write a user space driver for it. I was able to control the chip pretty well but I could not figure out how to integrate the audio output. ;)

P.S. I finally wrote that sensors lib, I've been talking about since the beginning of CM13. Afaict, It works perfectly and that is how I fix the sensors.
 

dady000

Senior Member
May 29, 2012
155
130
0
Reverse engineering is not the only option. Provided we could find the kernel driver, a user space driver could probably be written from scratch. I have some experience with FM kernel driver with my YP-G70. It had an "Si7102" (I think) FM chip. Although I was never entirely successful, I did try several times to write a user space driver for it. I was able to control the chip pretty well but I could not figure out how to integrate the audio output. ;)

P.S. I finally wrote that sensors lib, I've been talking about since the beginning of CM13. Afaict, It works perfectly and that is how I fix the sensors.
Yeah the audio output.. They have some functions in the library like set_fm_volume probably used for that. I'm not sure if we could use it.
 
  • Like
Reactions: HassanMirza01
Status
Not open for further replies.