[ROM][TREBLE][07/08/2020][9.X] Haky86's LineageOS 16.0 Huawei P8 Lite 2017 PRA-LX1

Status
Not open for further replies.
Search This thread

Magendanz

Senior Member
Mar 25, 2008
764
719
Issaquah, WA
www.Vote4Chad.com
Possible fix for BLE (please test and report) thanks to @hackintosh5
Well, when attempting to pair BLE devices, it doesn't crash the Bluetooth app anymore...but it also doesn't pair. I've only tried about a dozen times at this point, but maybe I'll get lucky after about 50 or so attempts like I did before.

UPDATE: It succeeded first time after a reboot. Not sure why that did the trick.
UPDATE 2: After unpairing, was unable to repair...but then it worked again first time after reboot.
 
Last edited:
  • Like
Reactions: smartsmart

haky 86

Recognized Contributor
  • Oct 5, 2012
    3,429
    7,462
    Hama (Syria)
    Well, when attempting to pair BLE devices, it doesn't crash the Bluetooth app anymore...but it also doesn't pair. I've only tried about a dozen times at this point, but maybe I'll get lucky after about 50 or so attempts like I did before.

    UPDATE: It succeeded first time after a reboot. Not sure why that did the trick.
    UPDATE 2: After unpairing, was unable to repair...but then it worked again first time after reboot.

    I put the fix, so I don't know. gonna close the topic.

    no future builds will come.
     

    Magendanz

    Senior Member
    Mar 25, 2008
    764
    719
    Issaquah, WA
    www.Vote4Chad.com
    Just for the record, this is a friggin awesome ROM! It's everything I expected out of OpenKirin, but they failed to deliver. The only bug I'm seeing is with pairing Bluetooth LE, and this last build at least fixes the crash.

    It's a shame that @haky 86 is sunsetting development. It really should be elevated to OFFICIAL.
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,429
    7,462
    Hama (Syria)
    Just for the record, this is a friggin awesome ROM! It's everything I expected out of OpenKirin, but they failed to deliver. The only bug I'm seeing is with pairing Bluetooth LE, and this last build at least fixes the crash.

    It's a shame that @haky 86 is sunsetting development. It really should be elevated to OFFICIAL.

    Sorry bro but my Tic Watch isn't a ble device that doesn't crash for me. I add relative author commit https://github.com/hak86/android_de...mmit/2fccd71a5e56b12f00dbbf4b6aa1d10214e227f5 with the patch you send me.

    It is still crash probably I did not or forget to add a permission file into /system/etc/permissions that needed for ble, check my attached files.
     

    Attachments

    • android.hardware.bluetooth_le.xml
      830 bytes · Views: 46

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,429
    7,462
    Hama (Syria)

    Installation Guide

    • Reboot to TWRP.
    • Go to Wipe.
    • Select Dalvik/ART Cache, Cache, Data, Internal Storage and System.
    • Flash rom/gapps.
    • Run Format Data > YES.
    • Reboot.

    NOTE
    May it will bootloop on first boot for some devices, so don't be panic.
     

    Graveen

    Senior Member
    Nov 21, 2010
    321
    91
    www.dolserver.net
    I'm quiet perplex about booting lineage 16.0 on emui8 because I had to fights with bootloop to boot it even on my device.

    I see. Your previous version (but SPL is not up to date) was working fine, perhaps i should install it then upgrade ? I'll try this

    Openkirin version is working fine (except that damn BLE) but i prefer yours :D
     

    CoMiKe

    Member
    Apr 9, 2010
    39
    2
    I'm quiet perplex about booting lineage 16.0 on emui8 because I had to fights with bootloop to boot it even on my device.
    It seems it's a very common issue with Huawei phones and GSIs:
    https://forum.xda-developers.com/pr...phh-treble-t3992559/post83192429#post83192429

    I guess that developing anything for Huawei phones is a nightmare...

    Does that latest ROM you crafted include the Bluetooth LE patch you mentioned above? I see the commit you linked doesn't exist any longer.

    Thanks!
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,429
    7,462
    Hama (Syria)
    It seems it's a very common issue with Huawei phones and GSIs:
    https://forum.xda-developers.com/pr...phh-treble-t3992559/post83192429#post83192429

    I guess that developing anything for Huawei phones is a nightmare...

    Does that latest ROM you crafted include the Bluetooth LE patch you mentioned above? I see the commit you linked doesn't exist any longer.

    Thanks!
    to be honest no, I'd like to release a new build with such fix but I'll move to lineage 17.1 at once since I get a partial boot on emui8 as specific rom.

    P.S My github is Haky86 now.
     
    Last edited:
    • Like
    Reactions: Momin8454
    Status
    Not open for further replies.

    Top Liked Posts

    • There are no posts matching your filters.
    • 20
      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.

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

      Requirements:
      • Honor 9 Lite TWRP.
      • Unlocked Bootloader.

      Working:
      • Audio.
      • Bluetooth.
      • Camera.
      • Display.
      • Graphics.
      • Lights.
      • NFC.
      • RIL.
      • Sensors.
      • Storages.
      • Wifi.

      Bugs:
      • TELL ME ;)
      • I'm not responsible of your bootloop if you did not follow steps.

      Installaion Guide:
      • Download latest build.
      • Reboot to TWRP and flash it like AEX.
      • Reboot, enjoy the rom.

      Downloads:






      Gapps:

      Recommendation:
      • Once boot may got some warning messages about media, download this RECOVERY_RAMDISK.
      • Reboot to TWRP.
      • Flash it as Recovery Ramdisk and run factory reset and all those annoying errors will gone.

      Kernel GPL:
      • I'm not violating any kind of license since my ROMs used the stock kernel come with Emui 8.x called kernel.img so all credits goes to Huawei.

      Notes:
      • To fix distorting audio while playing media: open AudioFX and disable it.
      • Some features might result missed that's depend on LineageOS developments.

      XDA:DevDB Information
      LineageOS P8 Lite 2017, ROM for the Huawei P8lite/P8 Lite

      Contributors
      haky 86, flex1911
      Source Code: http://github.com/hak86

      ROM OS Version: 9.x Pie
      ROM Kernel: Linux 4.x
      ROM Firmware Required: Emui 8.x
      Based On: LineageOS

      Version Information
      Status: Stable
      Stable Release Date: 2018-12-18
      Beta Release Date: 2018-12-17

      Created 2018-12-18
      Last Updated 2018-12-17
      5

      edit: I'm not gonna to release more builds, even if ble fixed or not.
      4
      Haky sono riuscito a fare funzionare tutto alla perfezione ma questo continua a darmi problemi ti do il link: https://is.gd/AudioCompatibilityPatch, se puoi per favore riesci a integralo nel lineage 16? grazie.
      You know that this is an international forum, and so in way to let being this post useful for other users also you should always include the original post in english language if you just want to talk in your mother tongue, ain't you? Haky had already told you this before.
      4
      ** ROM **


      Check the screenshots below to see my TicWatch with fit feature working flawless on my P8 Lite 2017, so don't know about Mi Fit.
      3
      Is Pie Controls (Swipe up etc) crashing one of the issues caused by Lineage? I read something about it days ago, but maybe it could be fixed now, are them working?

      Mostly depend on their developments, isn't official even on my LePro3. we have to wait a bit.
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone