[DEV][WIP] CyanogenMod 13 for Huawei P9 Lite | Honor 5c | Honor 7 Lite [METICULUS]

Status
Not open for further replies.
Search This thread
M

Meticulus

Guest
CyanogenMod 13 is a free, community built distribution of Android 6.0 (Marshmallow) 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 CM13 builds for the Huawei P9 Lite. 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 BETA.
Notice: These are not "official" CyanogenMod builds.


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


  1. I am not your personal tech support/customer service!
  2. Don't post in here just to get me to notice or help you!
  3. If all you do is complain then I never help you. That's my choice.
  4. If you are helpful and contribute to development by testing or helping out others, I am more likely to help you.
  5. 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!
  6. 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!
  7. If you don't read what I write then when you don't understand I laugh at you!

Download | Changelog | Install Instructions: meticulus.co.vu
Gapps [arm64 | 6.0 | you choose]: here

XDA:DevDB Information
CyanogenMod 13, ROM for the Huawei P9 Lite

Contributors
Meticulus, dady000, surdu_petru, The Marionette, XePeleato
Source Code: https://github.com/Meticulus

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Bootloader Unlocked / TWRP
Based On: CyanogenMod

Version Information
Status: Beta

Created 2016-09-20
Last Updated 2016-12-20
 

Attachments

  • IMG_20160920_134619990.jpg
    IMG_20160920_134619990.jpg
    204.2 KB · Views: 37,146
  • IMG_20161011_062359147.jpg
    IMG_20161011_062359147.jpg
    65 KB · Views: 34,343
  • IMG_20161030_101148797.jpg
    IMG_20161030_101148797.jpg
    174.9 KB · Views: 31,280
  • IMG_20161102_104709342.jpg
    IMG_20161102_104709342.jpg
    129 KB · Views: 30,523
  • Screenshot_20161116-034557.png
    Screenshot_20161116-034557.png
    109.2 KB · Views: 27,804
  • Screenshot_20161107-062254.png
    Screenshot_20161107-062254.png
    138.6 KB · Views: 27,676
  • Screenshot_20161113-083958.png
    Screenshot_20161113-083958.png
    104.8 KB · Views: 27,040
  • Screenshot_20161112-115405.png
    Screenshot_20161112-115405.png
    106.3 KB · Views: 24,548
Last edited:
M

Meticulus

Guest
Working / Not working

Working
  • It boots
  • RIL (dual sim not tested)
  • LCD Display
  • Touch screen
  • Audio
  • Wifi
  • Bluetooth: File Transfers
  • Accelerometer sensor
  • Proximity sensor
  • Luminosity sensor
  • Magnetic Sensor
  • Deep Sleep
  • Wifi Hotspot
  • USB Tethering
  • Bluetooth Tethering
  • External SD Card: for "Portable storage" use
  • External SD Card: "Internal storage" use
  • Battery Usage Stats
  • GPS
  • Cameras
  • NFC

Not working
  • FM Radio
  • Emulated? Gyroscope sensor
  • Emulated? Air pressure sensor

Minor issues
 
Last edited:

ephumuris

Senior Member
Dec 7, 2008
3,704
637
35
Hull
Is there a basic working not working list as I haven't even rooted this phone yet.

Sent from my HUAWEI VNS-L31 using Tapatalk
 
  • Like
Reactions: RazOne

Schlengge

Senior Member
Sep 11, 2012
916
314
Berlin
Does it have TWRP built in?
So can I flash it and then just restore my current setup? Or will I have to reinstall TWRP?
 

Jeik

Senior Member
Jun 27, 2011
5,175
2,714
Dublin
Samsung Galaxy A72 4G
Xiaomi Poco F3
Does it have TWRP built in?
So can I flash it and then just restore my current setup? Or will I have to reinstall TWRP?

TWRP isn't included,and you will have a bad time trying to restore stock after doing all the things for CM.
Trust me,the build isn't anything special for now(only boots, the UI is glitchy(since we have to skip the Huawei hwcomposer like any other Hauwei phone on CM),the nav bar buttons are a bit too big and the phone won't wake up once it goes to sleep). That's all,to be honest.
 

Schlengge

Senior Member
Sep 11, 2012
916
314
Berlin
TWRP isn't included,and you will have a bad time trying to restore stock after doing all the things for CM.
Trust me,the build isn't anything special for now(only boots, the UI is glitchy(since we have to skip the Huawei hwcomposer like any other Hauwei phone on CM),the nav bar buttons are a bit too big and the phone won't wake up once it goes to sleep). That's all,to be honest.

Ah okay thats what I expected.
No problem though. A booting ROM this fast is more than I imagined. Cool to see a build already :)
 

Acoca

Senior Member
Mar 2, 2016
72
5
CyanogenMod 13 is a free, community built distribution of Android 6.0 (Marshmallow) 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 CM13 builds for the Huawei P9 Lite. It may cause all the things in the disclaimer to happen, or steal your girlfriend while you are busy flashing ROMs.

GPL:
Code:
https://github.com/Meticulus


Warning: Currently, this ROM is EXTREMELY ALPHA.

Download meticulus.co.vu
Gapps: here

XDA:DevDB Information
CyanogenMod 13, ROM for the Huawei P9 Lite

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

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Bootloader Unlocked / TWRP
Based On: CyanogenMod

Version Information
Status: Testing

Created 2016-09-20
Last Updated 2016-09-20
Lol that was fast af... Just wondering, how much would it take to get to a semi-stable rom? Thanks for working on this device! Cheers
 

Jeik

Senior Member
Jun 27, 2011
5,175
2,714
Dublin
Samsung Galaxy A72 4G
Xiaomi Poco F3
Lol that was fast af... Just wondering, how much would it take to get to a semi-stable rom? Thanks for working on this device! Cheers

That depends. Huawei pretty much,politely put,urinated over the dev community by making heavy changes to Android and then refusing to give all the info to devs,making CM/AOSP impossible or extremely hard to port.
It is really hard to speculate,we have no idea what Huawei messed up on the software level. I mean,we do,but I am sure even more unpleasant surprises are on the way.
 

ephumuris

Senior Member
Dec 7, 2008
3,704
637
35
Hull
Either way great work just to get as far as a booting build. Lucky as this phone has zero dev appeal really.

Sent from my HUAWEI VNS-L31 using Tapatalk
 
M

Meticulus

Guest
Source trees are up
kernel: https://github.com/Meticulus/android_kernel_huawei_hi6250
device: https://github.com/Meticulus/android_device_huawei_hi6250
vendor: https://github.com/Meticulus/android_vendor_huawei_hi6250

For you builders out there. there is a patch.sh file which must be run from the patches dir before building.
Also there are a few projects out side of CM that I build into my ROMs:
https://github.com/omnirom/android_packages_apps_PerformanceControl/tree/android-4.4
https://github.com/Meticulus/android_packages_apps_CodinalteParts

EDIT: I think I will have the hwcomposer fixed soon...
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    I'm going to do one more build, at which point, this ROM becomes beta. I managed to fix the stock camera after being lost in camera hell for hours. I also re-arrange the video avc encoding codecs. This should fix all other cameras. I tested "Google Camera", "Stock CM Camera" and "Open Camera" and they all work fine now. I suspect that this might break third party screen recorders but, the stock screen record will work and there is a build.prop switch that can be use to restore the codec behavior as it is on the current build.

    I tested @dady000 's NFC changes and NFC is online. You guys should find a post of his and hit the thanks button because, I don't think that it's likely that I would have figured that out anytime soon. It will be in the next build.

    I will most likely run the build tomorrow and post it on Thursday... ;)

    I don't have any post on right now, but I plan on releasing the AOSPA through the holidays, I still have school now and some things I am not satisfied with the ROM. I thank you very much in our cooperation and wish you the best.
    20
    Fix for HwComposer !

    Hello !

    Right now I pushed into my github the source code for enable & fix HwComposer :D

    With this hack, Mali-GPU should be run like in stock EMUI !

    It should run also for P9 & P9 Lite, but first let your developer to test ...


    Best regards !
    15
    Good news! @Meticulus, I have question. I know that is early, but support for fingerprint sensor will be added?
    Once again thanks for awesome work!


    Sent from my Huawei G620S using XDA Labs

    Yes, fps will be fixed ... just already enabled on my P9 Plus , but I have some issue regarding enrollment not working.

    Soon I will push on my github also a fix for HW acceleration, in my device working like it should .

    P9 Plus are almost identical with Lite, just have extra features and also a good CPU.


    Best regards !
    13
    A light reminder to new users please follow the instructions here posted by @Meticulus

    To everyone else please just report people who are moaning for tech support/demanding updates/complaining, let us mods deal with it while everyone else can participate like proper adults.

    I hope you're all having a good day!

    Forum moderator,

    Matt
    12
    New Update: http://www.meticulus.co.vu/2016/10/new-update-cyanogenmod-13-for-huawei-p9.html
    • New Installation instructions
    • RIL Stable for single sim | dual sim not tested...
    • Some sensors fixed! Thanks @surdu_petru

    I was able to install it today. But with a small trick.
    I delete the assets from rom and both update package because they give me status 7 error (VNS L-31 user).
    Anyway, Great progress!
    RIL seems a bit unstable, sometimes I loose signal.
    * deleting persist.radio.multisim.config=single doesn't works at all for me
    *I've edit ro.multi.rild=false to true and signal seems to be stable. I had 1 hour without signal drops!
    Wi-Fi don't store passwords, every time I need to enter the password to connect
    SD Card is not mounted property. Keep saying to format it
    Still testing for now but this is amazing. Device is really snappy!
    I will update this post when I will find other things to report.