[ROM][10.0][ LineageOS 17.1 - For Huawei P9 Lite & Honor 5c ][ Update 15/05/2022 ]

Search This thread

denduro

Member
Dec 16, 2011
19
1
Hello !

Finally I came back with a new update of Lineage OS 17.1 based to Android 10 for our devices !

As usual, access the OP to download the new ROM

Changelog:
  • update security patch : December 5, 2021

This ROM has been tested by me before with a dirty flash without any issues.

Thank you very much to all of you for your patience !

Screenshot-20220103-194733-Settings.png
Will camera be alive? Because I still like the camera
 

unrealdtc

New member
May 23, 2010
3
1
Hey! Great job with this ROM!

I've noticed a couple of bugs!

Apps crashing with "java.lang.OutOfMemoryError", for example:

Code:
01-22 21:34:31.646  1648  2709 E AndroidRuntime: Process: org.fdroid.fdroid, PID: 1648
01-22 21:34:31.646  1648  2709 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at android.os.AsyncTask$4.done(AsyncTask.java:399)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.util.concurrent.FutureTask.run(FutureTask.java:271)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:919)
01-22 21:34:31.646  1648  2709 E AndroidRuntime: Caused by: java.lang.OutOfMemoryError: Failed to allocate a 350480 byte allocation with 181008 free bytes and 176KB until OOM, target footprint 16777216, growth limit 16777216
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.rehash(ByteQuadsCanonicalizer.java:1113)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer._resizeAndFindOffsetForAdd(ByteQuadsCanonicalizer.java:929)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer._findOffsetForAdd(ByteQuadsCanonicalizer.java:883)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.addName(ByteQuadsCanonicalizer.java:844)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.addName(UTF8StreamJsonParser.java:2384)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.findName(UTF8StreamJsonParser.java:2268)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.parseLongName(UTF8StreamJsonParser.java:1875)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.parseMediumName2(UTF8StreamJsonParser.java:1839)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.parseMediumName(UTF8StreamJsonParser.java:1796)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._parseName(UTF8StreamJsonParser.java:1731)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextFieldName(UTF8StreamJsonParser.java:1038)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:525)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:377)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:4453)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2721)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at org.fdroid.fdroid.IndexV1Updater.parsePackages(IndexV1Updater.java:431)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at org.fdroid.fdroid.IndexV1Updater.processIndexV1(IndexV1Updater.java:266)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at org.fdroid.fdroid.IndexV1Updater.processDownloadedIndex(IndexV1Updater.java:201)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at org.fdroid.fdroid.IndexV1Updater.update(IndexV1Updater.java:138)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at org.fdroid.fdroid.UpdateService.onHandleWork(UpdateService.java:483)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:391)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:382)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at android.os.AsyncTask$3.call(AsyncTask.java:378)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-22 21:34:31.646  1648  2709 E AndroidRuntime:        ... 3 more

And Bluetooth audio not working with some devices (message on screen saying "Bluetooth keeps stopping"):

Code:
01-23 12:01:41.030 16484 16484 D a2dp_codec: init
01-23 12:01:41.030 16484 16484 D a2dp_codec: createCodec: codec SBC
01-23 12:01:41.030 16484 16484 I a2dp_codec: init: updated SBC codec priority to 1001
01-23 12:01:41.030 16484 16484 D a2dp_codec: createCodec: codec AAC
01-23 12:01:41.030 16484 16484 I a2dp_codec: init: updated AAC codec priority to 2001
01-23 12:01:41.030 16484 16484 D a2dp_codec: createCodec: codec aptX
01-23 12:01:41.031 16484 16484 I a2dp_codec: init: updated aptX codec priority to 3001
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec aptX-HD
01-23 12:01:41.031 16484 16484 I a2dp_codec: init: updated aptX-HD codec priority to 4001
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec UNKNOWN CODEC INDEX
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec LDAC
01-23 12:01:41.031 16484 16484 I a2dp_codec: init: updated LDAC codec priority to 5001
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec UNKNOWN CODEC INDEX
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec SBC SINK
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec AAC SINK
01-23 12:01:41.031 16484 16484 D a2dp_codec: createCodec: codec LDAC SINK
01-23 12:01:41.032 16484 16484 E a2dp_vendor_ldac_decoder: A2DP_VendorLoadDecoderLdac: cannot open LDAC decoder library libldacBT_dec.so: dlopen failed: library "libldacBT_dec.so" not found
01-23 12:01:41.032 16484 16484 E a2dp_vendor_ldac: init: cannot load the decoder
01-23 12:01:41.032 16484 16484 I a2dp_codec: init: initialized Source codec LDAC
01-23 12:01:41.032 16484 16484 I a2dp_codec: init: initialized Source codec aptX-HD
01-23 12:01:41.032 16484 16484 I a2dp_codec: init: initialized Source codec aptX
01-23 12:01:41.032 16484 16484 I a2dp_codec: init: initialized Source codec AAC
01-23 12:01:41.032 16484 16484 I a2dp_codec: init: initialized Source codec SBC
01-23 12:01:41.033 16484 16484 I a2dp_codec: init: initialized Sink codec AAC SINK
01-23 12:01:41.033 16484 16484 I a2dp_codec: init: initialized Sink codec SBC SINK

Many thanks.
 
  • Like
Reactions: hasam7

SilverSilicon

New member
Feb 1, 2022
1
0
Hi there! This ROM is insane, it's so fluid and reactive!
Thank you for the hard work, and for keeping this ROM alive with those updates!
I haven't found any bug yet, everything works fine and I love it.
Now I read all the posts and I don't want to be that "fix camera please!" guy, but i'd be really happy if that worked! So i'm asking you if users like me can do something to help, i.e. contacting Huawei or something similar.. i'm so attached to my p9 lite! Let me know and thanks again :)
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,073
23,039
Paris
Hi !

New Update Of LineageOS 17.1 !

A new update of LOS 17.1 for our devices has been published in the OP

Changelog:
  • update of security patch level : January 5, 2022

Screenshot-20220206-165603-Settings.png



Like always you can update via dirty flash if you come from previously update or on clean in all other situations !
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,073
23,039
Paris
Hi !

The next update will bring the new security patch for February 5, 2022 along with the ultimate kernel linux 4.4.302 update, unfortunately the Linux Kernel 4.4 arrived at the EOL point !
 
  • Like
Reactions: Phantom Thief

Bilal Islam12

Member
Dec 23, 2017
5
0
Hi !

New Update Of LineageOS 17.1 !

A new update of LOS 17.1 for our devices has been published in the OP

Changelog:
  • update of security patch level : January 5, 2022

Screenshot-20220206-165603-Settings.png



Like always you can update via dirty flash if you come from previously update or on clean in all other situations !
Did this update make camera or sim issue work?? I really want to use this rom as daily drive.
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,073
23,039
Paris
Hi !

New Update Of LOS 17.1 For Huawei P9 Lite !

There is a new update of LOS 17.1 for our device in OP .

Changelog :
  • new security patch : February 5, 2022
  • new kernel update to 4.4.302 ( EOL )
 

Attachments

  • Screenshot_20220227-105740_Settings.png
    Screenshot_20220227-105740_Settings.png
    113.4 KB · Views: 37
  • Like
Reactions: Phantom Thief

franzman72

New member
Mar 5, 2022
3
1
Very good job! Thanks.

In my VNS-L31 the rom works fine, but sometime with the new update the SD card is miss.
 

Pian0Play0r

New member
Jul 6, 2013
3
0
Great job with the ROM, it's awesome to see people still supporting these older phones :) unfortunately I have also been having problems with apps like F-Droid and Osmand running out of memory, like @unrealdtc. I flashed F-Droid privileged ota after flashing the ROM. Osmand locks up after a few seconds and F-Droid crashes when it tries to update the repositories. Didn't install Gapps though.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    New Update of LOS 17.1 !

    There is a new update of LOS 17.1 into OP for our device !

    Changelog :
    • updated system security patch level : May 5, 2022
    • system image partition increased to about 4GB to fix installation of any GApps

    Before installing this new update please manually modify the system partition size using this tutorial !


    Screenshot-20220515-202442-Settings.png
  • 11
    Hello !



    lineage-os-custom-rom.jpg



    Android 10 is coming on your Huawei P9 Lite & Honor 5c, Kirin 650 SoC with the LineageOS 17.1 !


    Devices Supported: All Huawei P9 Lite (VENUS) & Honor 5c (NEMO)


    LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS 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. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


    Warning !
    Installing a custom ROM on your device can sometimes be difficult and also with unwanted consequences! Therefore, make sure that you understand exactly what risks this operation entails - you are the only one responsible for all actions taken on your device.


    Android Q is based on a new updated Kernel Linux version 4.4.252



    What's Working :

    • Touchscreen
    • Sensors
    • Lights
    • Notification Lights
    • Audio
    • Video
    • Bluetooth
    • WiFi
    • NFC
    • GPS
    • 4G/data connectivity
    • Fingerprint sensor
    • Internal/External Storage
    • USB/ADB/MTP
    • Offline Charging
    • DRM enabled ( only Level L3 )
    • High touch sensitivity
    • Hardware Video Decoder including YouTube 1080p60fps
    • Hardware Composer
    • Support the both /data format as ext4 or f2fs !
    • Magisk supported !



    What's Not Working :
    • Camera
    • USB tethering
    • USB-OTG
    • Encryption
    • SELinux disabled !
    • there could be also others minor issues !
    • If you have SIM issues, please check the second post !




    Known Bugs :
    • Bluetooth sometimes disconnects
    • Some applications need to set permissions manually
    • Some applications cannot save data/content to external storage, to fix this - the application must be moved to external storage
    • the radio signal indicator it's not scaling at all
    • I hope to fix these bugs in future updates




    Instructions :
    • Install the new TWRP 3.2.3-1 ( needed for Android Q )
    • Reboot to TWRP 3.2.3-1
    • Format data in order to decrypt your device
    • Reboot device to Recovery in order to be able to use data
    • Optionally you can format data as f2fs ( you need to reboot again the device into recovery in order to be able to use data as f2fs )
    • Perform a clean wipe ( Wipe all from Advanced Wipe apart Micro SD card & Internal Storage )
    • Starting with 15/05/2022 you need to resize system partition to 4GB in order to use this ROM , please check this HOWTO !
    • Copy LOS ROM on your device
    • Flash the LOS ROM
    • Optionally flash GAPPS ( always the last available packages ) - ( to avoid any issues it's recommended to flash nano or micro )
    • Wipe cache & dalvik
    • Reboot
    • Enjoy



    Downloads :



    Credits :
    • dianlujitao - helped me to boot on Android 10 !
    • Luk1337 - helped me to fix TWRP for Q !
    • XePeleato - for his fix/hack of Fingerprint sensor !



    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.


    Screenshots:

    Screenshot-20210504-184238-Trebuchet.png
    Screenshot-20210504-184227-Trebuchet.png



    Screenshot-20210504-184247-Trebuchet.png
    Screenshot-20210504-184339-Settings.png



    Screenshot-20210504-184420-Settings.png









    DEV: Information

    Contributors :

    surdu_petru
    Paypal Donation : paypal.me/petrusurdu1
    Kernel Source Code: android_kernel_huawei_vns

    ROM OS Version: LineageOS 17.1 - Android 10
    ROM Kernel: Linux 4.4.x
    ROM Firmware Required: Stock Android 7 (Nougat) - EMUI 5.x
    Based On: AOSP Android 10

    Version Information :
    Status:
    Beta

    Project Status :
    Working In Progress

    Created : 2021-06-21
    6
    I'm aware. Just suggesting if it is possible, since you own the sources for your LOS 14.1.
    The sources code for LOS 14.1 have nothing to do with source code of LOS 17.1 and also they not running in the same kernel. For moment there's no way to fix 📷 on LOS 17.1, so for all wich need camera 📷, they can use stock EMUI or LOS 14.1 . Thanks for understanding ❤️
    6
    New Update Of LOS 17.1 For Venus & Nemo Devices !



    Hello !

    I just released a new update of LOS 17.1 for our device, please check OP for downloads, thanks !


    Changelog:
    • new security patch : June 5, 2021
    • new kernel updated to 4.4.268
    • fixed FPS for Honor 5c ( Nemo ) devices
    • fixed SIM issues from some Venus & Nemo devices

    Screenshot-20210621-211539-Settings.png


    Please, make a clean install of this update to avoid any issues with older version .... and starting with the next update you'll be ok to perform a dirty flash over this update !
    6
    Hi !

    Unfortunately the modernization works of the internet line in the property where I live have not been completed, as such the internet provider cannot connect me to the fiber yet ... a few good months have already passed since the works started, I have no idea what's going so hard, so I'm impatient too! Anyway, I'll keep you updated as soon as I switch to fiber, because this custom ROM deserves to be updated.
    6
    New Update LOS 17.1 For Venus & Nemo devices !


    Right now I've added a new update of LOS 17.1 into OP .

    Changelog:
    • new security patch : May 5, 2021
    • fixed SIM issues on Honor 5c devices ( not tested - need confirmations )
    • fixed Fingerprint sensor on Honor 5c ( not tested - need confirmations )
    • fixed some graphics issues and now we can play Games !
    • screen recorder fixed ( must be enabled into Developer options )
    • ussd code should be fixed now, thanks to DarkJoker360
    • added some properties for 2GB RAM devices to make it more smoothly
    • fixed some audio codecs not been loaded
    You can darty flash from previously update of LOS 17.1 !

    Screenshot-20210523-215251-Settings.png