[ROM][UNOFFICIAL][5.1.1] Cyanogen Mod 12.1 for Huawei P8 Lite HI6210SFT

Status
Not open for further replies.
Search This thread

haky 86

Recognized Contributor
Oct 5, 2012
3,482
7,486
Hama (Syria)
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0 (Lollipop), which is designed to increase performance and reliability over stock Android for your device..

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.
 */
Do not use Social Media to ask me about the progress, use the topic instead.
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github Repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review.

Compatibility:
  • ALE-L21.

Device-specific source code:


Downloads:

What works:
  • Charger Led.
  • Display .
  • GPS.
  • NFC (Partially)
  • Sensors.
  • Wifi.
  • Need a lot of work to solve bugs.

Know Issues
  • Audio.
  • Bluetooth (enabled and deactivated simultaneity, need reboot to stop)
  • NFC
  • Wifi
  • Data and calls
  • Audio and video playback and recording.
  • Tell me more.

Installation Guide Via Recovery:
  • Do backup of your original system to sdcard.
  • Wipe Cache, Dalvik, Data and System partitions.
  • Make sure to have the latest TWRP..
  • Click on Install.
  • Choose the flashable version of zip
  • Slide to start installer.
  • Same thing for GAPPS package.
  • Once install everything just reboot the device, enjoy the rom.

Special Thanks

Changelogs:
Code:
[B][I]17/11/2016
[/I][/B]
-Required recovery: 2.8.7 or newer.
-flashable via TWRP (read the op for installation steps).
-rebased tree from zero mean
-Android 5.1.1 R37.
What is works:
-Android as system.
-gralloc, libion and libGLES_mali without hwcomposer for the moment.
-show install location of applications.
-add hardware key function for kirin 620 devices that have Home button.
-switch kernel to permissive mode.
What is not work:
-everything.
-the system gone in idle, I will investigate about this problem.
-will start fixes once back to home.
-I not recommend for daily drivers because it's buggy and need a lot of fixes and patches.
For logcat:
-adb logcat > log.txt
For kernel log:
-adb pull /proc/kmsg

[B][I]24/09/2016[/I][/B]
-Android 5.1.1 R38
-Security Patch: latest month.
-Wifi.
-NFC fixed partially.
-Bluetooth the driver is work but for some reason is not work properly
[B][I]05/08/2016[/I][/B]
- Alpha.
- Initial build.
-Android 5.0.2
[B][I]22/08/2016[/I][/B]
- Beta.
- Downloads: click [URL="https://basketbuild.com/filedl/devs?dev=haky86&dl=haky86/HuaweiP8Lite/Roms/CM/cm-12.1-20160822-UNOFFICIAL-hi6210sft.zip"]here[/URL]. 
- Android 5.1.1.
- Ambient Display: fixed .
- Brightness Level: fixed .
- Charger Led: : fixed .
- Display: now is gone into stand by when is idle.
- Flashable: now can be installed from recovery as well.
- GPS: fixed .
- GNSS: fixed .
- Keystore: fixed .
- Sensors: : fixed .
- Thermal: fixed .
XDA:DevDB Information
CyanogenMod 12, ROM for the Huawei P8 Lite Kirin Variants

Contributors
@haky 86
Source Code: https://github.com/cyanogenmod

ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: 5.0 or up

Version Information
Status: Beta

Created 2016-04-08
Last Updated 2016-05-08
 

Attachments

  • 13939608_10157299873565650_5159062562390562193_n.jpg
    13939608_10157299873565650_5159062562390562193_n.jpg
    50.2 KB · Views: 19,197
Last edited:

PCSE

Senior Member
Nov 30, 2015
87
30
Very Interesting. I think this has potential. I am going to try this tomorrow. Expect my feedback.
 

twinangel00

New member
Apr 11, 2013
3
0
Thx man, i share the link to this post in htcmania theres a lot of P8 Lite users in latín América and spain and maybe they miss your awsome work.

Hope you dont get mad.

Thx again and keep the good work!!
 

haky 86

Recognized Contributor
Oct 5, 2012
3,482
7,486
Hama (Syria)
Thx man, i share the link to this post in htcmania theres a lot of P8 Lite users in latín América and spain and maybe they miss your awsome work.

Hope you dont get mad.

Thx again and keep the good work!!

no problem bro, i am doing the best to make it stable, I hear about that forum will be a good start.

So I take it the RIL issue is almost solved. This is great for the P8 Lite community.
Yes ril is almost, will test it tomorrow :)
 

dominj97

Senior Member
Jul 24, 2013
521
297
Warsaw
Great job :)
Are you planning to work on cm13?
Android 5.0 i a bit... old.
But anyway I will live with 5.0 if it become stable.
 

pickandrew

Senior Member
Jan 8, 2016
908
68
Trieste
Hello, It does not show the version compatible with this ROM and found the following P8 Lite models:
P8 Lite ALE-L04
P8 Lite ALE-L21
P8 Lite ALE-L02-L23
P8 Lite ALE-TL00
P8 Lite ALE-CL00
P8 Lite ALE-UL00

By what Compatible? Thanks so much!
 

haky 86

Recognized Contributor
Oct 5, 2012
3,482
7,486
Hama (Syria)
Hello, It does not show the version compatible with this ROM and found the following P8 Lite models:
P8 Lite ALE-L04
P8 Lite ALE-L21
P8 Lite ALE-L02-L23
P8 Lite ALE-TL00
P8 Lite ALE-CL00
P8 Lite ALE-UL00

By what Compatible? Thanks so much!
I am wondering why qcom variant don't have any rom yet.
 

haky 86

Recognized Contributor
Oct 5, 2012
3,482
7,486
Hama (Syria)
Because no one developed one for it. Huawei phones have very less development.
However, your ROM works good even though there are many bugs to squash. However why did you chose 12.0 instead of 12.1?
Strange, qcom has better support than kirin, should have bugs less than our cpu, will updated soon until fix some of bugs ;)
 
Last edited:
  • Like
Reactions: keikari

Vika__

Senior Member
Oct 19, 2015
350
170
Kangasala
Nice.. These are things that can cheer up my day, When i notice that somebody actually develops this phone..
Keep it up man! :)
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0 (Lollipop), which is designed to increase performance and reliability over stock Android for your device..

    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.
     */
    Do not use Social Media to ask me about the progress, use the topic instead.
    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for CyanogenMod is available in the CyanogenMod Github Repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review.

    Compatibility:
    • ALE-L21.

    Device-specific source code:


    Downloads:

    What works:
    • Charger Led.
    • Display .
    • GPS.
    • NFC (Partially)
    • Sensors.
    • Wifi.
    • Need a lot of work to solve bugs.

    Know Issues
    • Audio.
    • Bluetooth (enabled and deactivated simultaneity, need reboot to stop)
    • NFC
    • Wifi
    • Data and calls
    • Audio and video playback and recording.
    • Tell me more.

    Installation Guide Via Recovery:
    • Do backup of your original system to sdcard.
    • Wipe Cache, Dalvik, Data and System partitions.
    • Make sure to have the latest TWRP..
    • Click on Install.
    • Choose the flashable version of zip
    • Slide to start installer.
    • Same thing for GAPPS package.
    • Once install everything just reboot the device, enjoy the rom.

    Special Thanks

    Changelogs:
    Code:
    [B][I]17/11/2016
    [/I][/B]
    -Required recovery: 2.8.7 or newer.
    -flashable via TWRP (read the op for installation steps).
    -rebased tree from zero mean
    -Android 5.1.1 R37.
    What is works:
    -Android as system.
    -gralloc, libion and libGLES_mali without hwcomposer for the moment.
    -show install location of applications.
    -add hardware key function for kirin 620 devices that have Home button.
    -switch kernel to permissive mode.
    What is not work:
    -everything.
    -the system gone in idle, I will investigate about this problem.
    -will start fixes once back to home.
    -I not recommend for daily drivers because it's buggy and need a lot of fixes and patches.
    For logcat:
    -adb logcat > log.txt
    For kernel log:
    -adb pull /proc/kmsg
    
    [B][I]24/09/2016[/I][/B]
    -Android 5.1.1 R38
    -Security Patch: latest month.
    -Wifi.
    -NFC fixed partially.
    -Bluetooth the driver is work but for some reason is not work properly
    [B][I]05/08/2016[/I][/B]
    - Alpha.
    - Initial build.
    -Android 5.0.2
    [B][I]22/08/2016[/I][/B]
    - Beta.
    - Downloads: click [URL="https://basketbuild.com/filedl/devs?dev=haky86&dl=haky86/HuaweiP8Lite/Roms/CM/cm-12.1-20160822-UNOFFICIAL-hi6210sft.zip"]here[/URL]. 
    - Android 5.1.1.
    - Ambient Display: fixed .
    - Brightness Level: fixed .
    - Charger Led: : fixed .
    - Display: now is gone into stand by when is idle.
    - Flashable: now can be installed from recovery as well.
    - GPS: fixed .
    - GNSS: fixed .
    - Keystore: fixed .
    - Sensors: : fixed .
    - Thermal: fixed .
    XDA:DevDB Information
    CyanogenMod 12, ROM for the Huawei P8 Lite Kirin Variants

    Contributors
    @haky 86
    Source Code: https://github.com/cyanogenmod

    ROM OS Version: 5.0.x Lollipop
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: 5.0 or up

    Version Information
    Status: Beta

    Created 2016-04-08
    Last Updated 2016-05-08
    19
    Reserved

    Wifi: fixed.
    P.S. : will upload a new build once got more stable.
    19
    22/08/2016

    - Beta.
    - Downloads: click here.
    - Android 5.1.1.
    - Ambient Display: fixed .
    - Brightness Level: fixed .
    - Charger Led: : fixed .
    - Display: now is gone into stand by when is idle.
    - Flashable: now can be installed from recovery as well.
    - GPS: fixed .
    - GNSS: fixed .
    - Keystore: fixed .
    - Sensors: : fixed .
    - Thermal: fixed .

    Reserved
    17
    In no custom rom for the P8 lite functions RIL or?


    New BOOTABLE build could up tomorrow with the following update:
    -rebase a new tree.
    -Add the most configurations of system/etc from EMUI 3.1 C432B190 firmware.
    -fully permissive kernel.
    -update overlays: check below
    https://github.com/hak86/android_device_huawei_hi6210sft/commits/cm-12.1/overlay (new features will be added later)
    -new custom ramdisk to boot up all kind of roms like Resurrection Remix, CandyROMS, Pac and similar one, based on Android 5.0.
    -for RIL I'm getting some errors in HuaweiRIL.java, it's required some fixes and with the correct blobs will work.
    -will be available for testing/debugging (not for daily driver) once compilation done.

    NOTE:

    -helps are welcomed.
    -pull requests are welcomed (push your commits/fixes under the proper section to be clear under the proper comment, mean fixes for wifi put them under # Wifi comment ;) )
    17
    I done the developments of OmniROM 6.0 MM, now I'm correct the blobs to get booted as well, then will be available once merge ril patches