[ROM][11] DarkJoker360 AOSP 11 for Huawei P8 Lite 2017

Search This thread

B3rtm3n

Member
Jul 14, 2016
17
4
Released an unofficial version of TWRP with full Android 11 compatibility, this will now be the recommended TWRP to use for AOSP 11 !

Also I reworked NFC fix mount logic, thanks to @AltairFR for the help !

Download
Donations

Your download link goes to the first post


They have the following TWRP links:

TWRP 3.4.0


Knipsel2.PNG



Knipsel.PNG


I think you mean this link:

TWRP 3.5.2

Knipsel1.PNG


I really appreciate al the incredible work you are doing, but you have to understand. I am just an average user and not a linux/android god so for me it takes a lot of reading an it really gets confusing like this sometimes.
(In another P8 Lite post you placed a link to TWRP post for P10. I used it and it worked but it is like this really confusing sometimes).

Also P8 comes with no option to set decrypt which is required to install AOSP 11 so still trying to figure that out.

Again, really thx for all the hard work.
 
  • Like
Reactions: AltairFR

11spqr

New member
Jun 27, 2019
3
2
Hello,
As I was advicsed here to try this rom I would like to confirm that this rom and newest TWRP from the @DarkJoker360 are working fine on my RNE-L21 Huawei Mate p10 Lite.
Battery life is good, phone is charging as expected.
BT, WIFI, GPS, USB debug all are working fine.
Since my device doesn't have NFC I haven't installed the fix for it.
Root with supersu app works (didn't try the Magisk)

My phone got a new life.
Thank you very much, @DarkJoker360, for your hard work.
P.
 

11spqr

New member
Jun 27, 2019
3
2
Edit:
Forgot to mention,
if you follow with RNE-21L with this rom, to have offline charging working (without reboot to recovery) you should download a zip file from this thread:


extract the 1080x2160 folder and place it in /system/etc/charger.

I think it is needed since P8 Lite 2017, which for this rom was crafted, has different screen size than my RNE.
Thanks,
P.
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,623
3,655
18
Aradeo
Edit:
Forgot to mention,
if you follow with RNE-21L with this rom, to have offline charging working (without reboot to recovery) you should download a zip file from this thread:


extract the 1080x2160 folder and place it in /system/etc/charger.

I think it is needed since P8 Lite 2017, which for this rom was crafted, has different screen size than my RNE.
Thanks,
P.
I believe I forgot to backport full charge images like I did on official lineage for anne, will fix in next update !
 

B3rtm3n

Member
Jul 14, 2016
17
4
I tried for over an hour to find rom PRA LX1 8.0.0.360 in order to install this rom but I am unable to find any.
There are thousands of download links and they all give either an error message or page blocked to trojan.

Does somebody know a working download link without viruses/trojans?

I am stuck on 8.0.0.410 an need to downgrade
 

B3rtm3n

Member
Jul 14, 2016
17
4
I downgraded and did everything accordingly but no matter how many times I try this roms start and keeps hanging in boot.

I think it is to do with decrypt which seems very hard to follow how to do.

Do I assume correct that after flashing TWRP I format Data and run fstab.hi6250b.zip and reboot for running fastboot install system ... of do I need to do something else for decrypt?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    hello, first of all, I would like to say that the rom is very nice and fluent, but the camera gives an error to insert sd card and no files can be downloaded from the internet
    Hi.

    I have already signal this bug and post the workaround , in a Lineage 18 post, see :


    So after format data you must set the right permission and owner on /data/media/0 subfolder or (/data/media)

    Just open a terminal in TWRP and type

    cd /data/media
    chown media_rw:media_rw 0
    chmod 770 0
    1
    Restored Q signal strength behavior !

    It's not perfect but now 2,3,4 bars are kinda working like Q.
    Still better than nothing i believe.
    Hi Joker i see that you have build number with 400 C432 without Error. Is that because of new Kernel? If i remember you had 378 C432 on older Screens and working build number.

    if i have latest Stock 398 C432 on my p10 lite i never get it work without error. after downgrade to 378 C432 it works on custom rom without error. so how about that...can i upgrade to stock rom 398 again and get then custom rom then without error in build number.

    How about the selinux status...is permissive possible with the new kernel? But i think i know the answer right now :)

    great thanks for all the work you Hami and all the others doing..love it

    solong
    speedson 🤘 🙃 🤘
    1
    Hi can I ask why cant we set the selinux to permissive in this device
    Hi...

    the stock Kernel does not have funtionallity to set the Selinux State to permissive. Cause of this its not able to get dolby atmos or Viper4Android working. So you need a custom Kernel for that. I found after searching a while the Elemental-KernelV5.8-EMUI8.0.zip and the Version 21 indeed have Selinux permissive but after flashing this Kernel. My WAS-LX1A wasnt possible to connect with Wlan any more. But i did notice that the Developer from this Elemental-KernelV5.8-EMUI8.0.zip is back in Buissnes here on XDA. So we will see if something will coming in the future :)

    solong
    speedson
    🤘 🙃 🤘

    Hey bro i'm running it on build WAS-LX1A 8.0.0.394 (C432), But i'm using this recovery and it lets me boot the system.
    Hi...

    the Problem if i startet from Stock 8.0.0C432B398 is the Build-Number Error. It doesnt work with B398 Firmware and it doesnt matter wich TWRP i used for flashing. The A11 v2.5 AIO fix doesnt help and all other patches also doesnt help ti fix it.
    So one Day take a look at the Screenshot from Darkjoker360 and there was the B378 C432 Firmware in Build Number without Error.
    Cause of this i downgrade to the same for my Device and after that the Error was never seen in my Build Number...wayne wich Firmware i did test.
    Now i see on newer Screen that he have now B400 C432 on his Device. Cause of this i asking him. I know he have p8 lite 2017 and p10 lite but Lineagos 18.1 and AOSP firmware running on on my Device to. Now there is a new Kernel for p8 lite 2017 and same time he have now B400 C432. Is it cause of the new Kernel and did the Kernel running on p10 lite? Thats the big Question that i asking for :)

    BTW i didnt use TWRP 3.4.0.0 cause i often have Problem that i doing the flash step by step like i should and get bootloop. Then i have notice that i didnt get bootloop when i use fastboot and the rest of the step by step and i wonder....it works pretty well. So i change my TWRP to twrp_p10_lite_0.5_test.img. Since that i never have Problems like bootloop.

    solong
    speedson🤘🙃🤘
  • 11
    Hi,

    1566531179-9526.jpg


    DarkJoker360 AOSP 11 for Huawei P8 Lite 2017

    *** Stable Version ***

    About
    Android is an open source software stack for mobile devices and a corresponding open source project led by Google. This site and the Android Open Source Project (AOSP) repository offer the information and source code needed to create custom variants of the Android stack, port devices and accessories to the Android platform, and ensure devices meet the compatibility requirements that keep the Android ecosystem a healthy and stable environment for millions of users.



    Working
    * Touchscreen
    * Audio
    * Boot
    * Bluethoot
    * Internal/External storage
    * Mtp / Adb
    * Sensors
    * Wifi
    * RIL
    * Camera
    * NFC
    * FP gestures​


    Not Working
    * You tell me


    NOTE: The signal icon is buggy due to Huawei weird ril implementation, I am still looking to fix it over the new Android 10-11 telephony changes.

    Installation
    * you must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! )
    WARNING: You must be decrypted before installing it otherwise it won't boot. (Read second post.)
    * go to TWRP
    * format data
    * reboot to TWRP again
    * do a full wipe (system, data, cache, dalvik/art cache) !
    * reboot to bootloader
    * extract AOSP 11
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * resize system
    * flash gapps (optional)
    * flash NFC.zip
    NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!!​


    Update
    * reboot to TWRP and do a wipe cache, dalvik/art cache
    * reboot to bootloader
    * extract AOSP 11
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * resize system
    * flash gapps (optional)
    * flash NFC.zip
    NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!!​


    If you are getting Error 70 while flashing gapps just resize system from TWRP !
    If gapps are giving network errors or other kind of errors install them after first boot !

    Download



    Please support my work, it's very important! Thanks
    DONATIONS

    Regards !
    9
    NOTES
    * For root method read this post, for rooting with magisk read this instead.
    * If you face corrupted storage issues you need to go back on emui and re-install the rom.
    * I recommend NikGapps core with SetupWizard add-on.
    * Use 8.0.0.360 or maximum .400 firmware for booting the rom.
    * Gapps can may give "Uncertified device" error and abort the google account login, use this guide to fix it (thanks to @latviandude )
    * If you want VoLTE/Wifi Calling working flash this zip

    ** You must be decrypted for booting this rom **
    Before following the installation steps format data and flash this file via TWRP.
    9
    New AOSP 11 update

    * Synced with latest AOSP 11 source code based on r32
    * Merged March 2021 security patches
    * Fixed bootloop in some cases
    * Fixed ADB
    * Removed useless overlays
    * More build info fixes
    * Fixed AOSP ScreenRecorder
    * Performance improvements
    * Decreased system partition usage (now AOSP will just take 1,3gb)
    * Fixed a gnss service crashing since A10, resulting in costant wakelocks, logspams and gps failures
    * Added dark theme on Dialer and Messaging apps

    NOTE: Clean flash is recommended

    Check OP for more infos and download !

    Donations
    Support Group
    7
    Magisk-phh v22.0 is now working !

    Only the linked version will work.

    1- Install magisk apk
    2- Go to twrp & flash MAGISKA11-a-only
    3- Flash Magisk-v22-canary-phh
    4- Reboot and enjoy

    Download

    Thanks to @Hami_Do
    6
    New AOSP 11 update

    • Synced with latest AOSP 11 source code based on r34
    • Merged April 2021 security patches
    • Fixed animations lags and janks
    • Fixed wired headphones not being detected
    • Fixed gps
    • Fixed ril crashes for dual sim devices
    • Updated APN configs from LineageOS
    • Fixed ril crashes with some carriers
    • Fixed Netflix playback
    • Adjusted screen brightness
    • Fixed minimum brightness too high
    • Enabled Wifi Display
    • Improved Signal Strenght
    • Ignored RSSNR signal implementation, as our RIL is not using it
    • Completely disabled useless gnss_watchlssd_thirdparty service causing drains and logspams

    Check OP for more infos and download !

    Donations
    Support Group