• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

AltairFR

Senior Member

Gtkall

New member
Dec 5, 2020
1
0
Hi! I used this reply to install the rom and everything went smoothly!
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.400). 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 - (run: fastboot flash system <drag system.img here>)
- 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

Ps. this also works for the LineageOS 18.1
I have a few things to report:

- the rom is a bit more taxing on the battery, so a charge per day will be required (keep in mind that the current device in use is heavily used though)

- there seems to be an error with formatting SD cards. Specifically, the format "for this device" option gets stuck at 40%.

Other than that, the rom runs great and hardware support is almost manufacturer-level. Great job!
 

KukhtoSlava

New member
Sep 6, 2021
1
0
Hi! Please, help me. I stopped at a step 'resize system'
Error message:

Repairing System before resizing.
Repairing System using e2fsck...
/sbin/e2fsck -fp /dev/block/mmcb1kop51 process ended with ERROR: 4
Unable to repair System

Thanks
 

speedson

Senior Member
Oct 10, 2016
214
44
my own little microcosmos
Hi! Please, help me. I stopped at a step 'resize system'
Error message:

Repairing System before resizing.
Repairing System using e2fsck...
/sbin/e2fsck -fp /dev/block/mmcb1kop51 process ended with ERROR: 4
Unable to repair System

Thanks
Hi...

why repairing before resizing???

just follow the pictures...

solong
speedson
 

Attachments

  • InkedScreenshot_2021-09-19-19-18-47_LI.jpg
    InkedScreenshot_2021-09-19-19-18-47_LI.jpg
    1.7 MB · Views: 10
  • InkedScreenshot_2021-09-19-19-18-50_LI.jpg
    InkedScreenshot_2021-09-19-19-18-50_LI.jpg
    1.8 MB · Views: 10
  • InkedScreenshot_2021-09-19-19-18-56_LI.jpg
    InkedScreenshot_2021-09-19-19-18-56_LI.jpg
    1.9 MB · Views: 11
  • InkedScreenshot_2021-09-19-19-19-00_LI.jpg
    InkedScreenshot_2021-09-19-19-19-00_LI.jpg
    1.8 MB · Views: 11

domcars0

Member
Apr 20, 2014
20
4
Hi,
May be an information for those who have bluetooth aptX sound devices. Probably, on your P8 Lite with LOS 18.1, the bluetooth Audio HQ (aptX) does not work out of the box. But I've just discovered this post (https://forum.xda-developers.com/t/...or-hi6250-devices-emui8.3936745/post-85648803 ) , I've tried it and it works on my P8 Lite with LOS18.1 (at least with SMSL AD18 digital amplifier).
Have a nice day ;-)
 
  • Like
Reactions: hardcorehenry

effendi360

Member
Feb 8, 2014
21
0
The "/Huawei/fstab.hi6250..ei/fstab.hi6250b.zip" file could not be found or is not available. Please select another file

HELP ???


OK I managed to install but I'm gettin error: THIS DEVICE ISN'T PLAY PROTECTED CERTIFIED
 
Last edited:

effendi360

Member
Feb 8, 2014
21
0
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.400). 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 - (run: fastboot flash system <drag system.img here>)
- 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

Ps. this also works for the LineageOS 18.1


THIS IS THE WAY EVERY GUIDE SHOULD BE WRITTEN
 

effendi360

Member
Feb 8, 2014
21
0
I installed this ROM and I have issue with bluetooth connection.
It's very lagy when I'm using smartphone during connention with bluetooth speaker...
Any solution ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi,
    May be an information for those who have bluetooth aptX sound devices. Probably, on your P8 Lite with LOS 18.1, the bluetooth Audio HQ (aptX) does not work out of the box. But I've just discovered this post (https://forum.xda-developers.com/t/...or-hi6250-devices-emui8.3936745/post-85648803 ) , I've tried it and it works on my P8 Lite with LOS18.1 (at least with SMSL AD18 digital amplifier).
    Have a nice day ;-)
  • 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


    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
    8
    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