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

Search This thread

hardcorehenry

Senior Member
Dec 2, 2020
53
23
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?
If you are able to reproduce steps I described in this post, you shouldn't have any problems.
 
  • Like
Reactions: B3rtm3n

AltairFR

Member
Apr 22, 2021
20
4
Huawei P8lite/P8 Lite
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?
The correct sequence is
run fstab.hi250b.zip , reboot and format data
 
  • Like
Reactions: B3rtm3n
Mar 13, 2021
18
5
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?
Try this:
Flash the fstab.hi250b.zip while using this recovery.
Reboot to recovery again.
Wipe Cache, Cache/Dalvik, Data and Internal Storage.
Reboot to bootloader and flash the new recovery that DarkJoker360 made.
Go back to recovery and wipe those same partitions. (THIS TIME WIPE THE SYSTEM PARTITION TOO)
And flash the system.img via TWRP.
 
  • Like
Reactions: B3rtm3n

B3rtm3n

Member
Jul 14, 2016
14
3
Try this:
Flash the fstab.hi250b.zip while using this recovery.
Reboot to recovery again.
Wipe Cache, Cache/Dalvik, Data and Internal Storage.
Reboot to bootloader and flash the new recovery that DarkJoker360 made.
Go back to recovery and wipe those same partitions. (THIS TIME WIPE THE SYSTEM PARTITION TOO)
And flash the system.img via TWRP.


Thanks, I could not flash the system.img via TWRP because it asked the following

select partition to flash image

and it gave plenty of options and I did not knew what to choose.
I flashed using fastboot and it is working ... THANKS A LOT, you really helped me out! I took me soooo many hours trying and this did the trick.

So the following steps I did to get it working (for anyone else who is a noob like me)

- Boot stock rom (download correct rom version for your device for downgrade from here PRA-LX1 8.0.0.360 til 8.0.0.36). Use dload to downgrade. Afterwards reboot system.
- Log in to Google/Huawei services (else you can not enable OEM unlock)
- enable developer options
- in developer options enable USB Debugging + OEM unlock
- boot to bootloader holding volume down + start button
- in fastboot ADB console type the following : fastboot oem unlock (+ the unlocking code)
- in fastboot console type fastboot reboot
- system restarts and does a factory reset
- boot into bootloader
- install this recovery by typing in ADB fastboot console fastboot flash recovery_ramdisk twrp.img
(rename the file you downloaded to twrp.img)

- in fastboot console type fastboot reboot
-
while system is starting hold volume up + down at the same time + start button when
release buttons when boot menu from Huawei is starting warning the device is no longer safe
and hold again buttons volume up + down to enter TWRP menu
- flash this fstab.hi250b.zip
- reboot and go enter again TWRP menu
- Wipe Cache, Cache/Dalvik, Data and Internal Storage
- reboot (in TWRP MENU choose bootloader)
- in fastboot ADB console install this recovery using ADB fastboot by typing fastboot flash recovery_ramdisk twrp.img (rename the file you downloaded to twrp.img)
- in fastboot console type fastboot reboot

- Go back into TWRP recovery and wipe Cache, Cache/Dalvik, Data, Internal Storage + system
- reboot (in TWRP MENU choose bootloader)
- in fastboot console install the system
- Reboot into recovery TWRP menu and in wipe resize system partition
- install from TWRP menu NFC_fix.zip and the VoLTE-FIX
- install opengapps
reboot system

Thanks everyone, I just got a new working smartphone
 
Last edited:
Mar 13, 2021
18
5
Thanks, I could not flash the system.img via TWRP because it asked the following

select partition to flash image

and it gave plenty of options and I did not knew what to choose.
I flashed using fastboot and it is working ... THANKS A LOT, you really helped me out! I took me soooo many hours trying and this did the trick.

So the following steps I did to get it working (for anyone else who is a noob like me)

- Boot stock rom
- Log in to Google/Huawei services (else you can not enable OEM unlock)
- enable developer options
- in developer options enable USB Debugging + OEM unlock
- boot to bootloader holding volume down + start button
- in fastboot ADB console type the following : fastboot oem unlock (+ the unlocking code)
- in fastboot console type fastboot reboot
- system restarts and does a factory reset
- boot into bootloader
- install this recovery by typing in ADB fastboot console fastboot flash recovery_ramdisk twrp.img
(rename the file you downloaded to twrp.img)

- in fastboot console type fastboot reboot
-
while system is starting hold volume up + down at the same time + start button when
release buttons when boot menu from Huawei is starting warning the device is no longer safe
and hold again buttons volume up + down to enter TWRP menu
- flash this fstab.hi250b.zip
- reboot and go enter again TWRP menu
- Wipe Cache, Cache/Dalvik, Data and Internal Storage
- reboot (in TWRP MENU choose bootloader)
- in fastboot ADB console install this recovery using ADB fastboot by typing fastboot flash recovery_ramdisk twrp.img (rename the file you downloaded to twrp.img)
- in fastboot console type fastboot reboot

- Go back into TWRP recovery and wipe Cache, Cache/Dalvik, Data, Internal Storage + system
- reboot (in TWRP MENU choose bootloader)
- in fastboot console install the system
- Reboot into recovery TWRP menu and in wipe resize system partition
- install from TWRP menu NFC_fix.zip and the fstab.hi6250b.zip
- install opengapps
reboot system

Thanks everyone, I just got a new working smartphone
I'm glad it worked out for you ☺
 

damiendroid

New member
  • May 16, 2021
    1
    0
    Huawei P8 Lite 2017 kernel released
    Check OP for more info and downloads.
    NOTE: It will probably works for other Android versions too !
    Catuva21 magisk module is needed for having calls working on all vendor builds.
    Hi,

    AOSP11 installed without major problem and it's now working like a charm on my P8 Lite 2017 : impressive work, thank you DarkJoker360.

    The only problem I have is I tried the new kernel and everything's fine except for calls : audio is working but the dialer isn't displayed as expected and explained by DarkJoker360.

    I found the Catuva21 thread (https://forum.xda-developers.com/t/kernel-morfuz-5-6-eas-oreo-for-p20-lite-by-catuva21.3840969/) but all the MEGA dl links are dead.

    I would be very grateful if someone could provide it or a working link.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 5
      Huawei P8 Lite 2017 kernel released

      This is a stock-ish huawei kernel with huawei useless services disabled and some security updates. It will be updated with eventual fixes and stuff needed for Android 11.

      Changelog
      * Initial build
      * Disabled huawei selinux additions
      * Added usb security patch
      * Enabled selinux security develop
      * Removed Huawei DUBAI and other Huawei log services
      * Disabled Huawei root checks

      Check OP for more info and downloads.

      NOTE: It will probably works for other Android versions too !

      Catuva21 magisk module is needed for having calls working on all vendor builds.

      Kernel
      Donations
      Sources
      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
      3
      New AOSP 11 update

      • Synced with latest AOSP 11 source code based on r36
      • Merged May 2021 security patches
      • Restored Android 10 signal indicator behavior

      Check OP for more infos and download !

      Donations
      Support Group
      3
      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.
      2
      Try this:
      Flash the fstab.hi250b.zip while using this recovery.
      Reboot to recovery again.
      Wipe Cache, Cache/Dalvik, Data and Internal Storage.
      Reboot to bootloader and flash the new recovery that DarkJoker360 made.
      Go back to recovery and wipe those same partitions. (THIS TIME WIPE THE SYSTEM PARTITION TOO)
      And flash the system.img via TWRP.


      Thanks, I could not flash the system.img via TWRP because it asked the following

      select partition to flash image

      and it gave plenty of options and I did not knew what to choose.
      I flashed using fastboot and it is working ... THANKS A LOT, you really helped me out! I took me soooo many hours trying and this did the trick.

      So the following steps I did to get it working (for anyone else who is a noob like me)

      - Boot stock rom (download correct rom version for your device for downgrade from here PRA-LX1 8.0.0.360 til 8.0.0.36). Use dload to downgrade. Afterwards reboot system.
      - Log in to Google/Huawei services (else you can not enable OEM unlock)
      - enable developer options
      - in developer options enable USB Debugging + OEM unlock
      - boot to bootloader holding volume down + start button
      - in fastboot ADB console type the following : fastboot oem unlock (+ the unlocking code)
      - in fastboot console type fastboot reboot
      - system restarts and does a factory reset
      - boot into bootloader
      - install this recovery by typing in ADB fastboot console fastboot flash recovery_ramdisk twrp.img
      (rename the file you downloaded to twrp.img)

      - in fastboot console type fastboot reboot
      -
      while system is starting hold volume up + down at the same time + start button when
      release buttons when boot menu from Huawei is starting warning the device is no longer safe
      and hold again buttons volume up + down to enter TWRP menu
      - flash this fstab.hi250b.zip
      - reboot and go enter again TWRP menu
      - Wipe Cache, Cache/Dalvik, Data and Internal Storage
      - reboot (in TWRP MENU choose bootloader)
      - in fastboot ADB console install this recovery using ADB fastboot by typing fastboot flash recovery_ramdisk twrp.img (rename the file you downloaded to twrp.img)
      - in fastboot console type fastboot reboot

      - Go back into TWRP recovery and wipe Cache, Cache/Dalvik, Data, Internal Storage + system
      - reboot (in TWRP MENU choose bootloader)
      - in fastboot console install the system
      - Reboot into recovery TWRP menu and in wipe resize system partition
      - install from TWRP menu NFC_fix.zip and the VoLTE-FIX
      - install opengapps
      reboot system

      Thanks everyone, I just got a new working smartphone
    • 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
      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
      8
      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.
      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
      6
      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
    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