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

Search This thread

Passi36

Member
Oct 11, 2020
11
1

DarkJoker360

Thanks for all the works in this Project . Magisk is works great. But . can you upload in April or so, a Image, that is not rooting for beginning and the we can root it with Magisk ?​

My Apps are silly, the found the root, and I have activate the magisk Hide function . Is has no effect. Banking Apps don't work. No GPay :( . and others Banking Apps :(
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,609
3,600
18
Aradeo

DarkJoker360

Thanks for all the works in this Project . Magisk is works great. But . can you upload in April or so, a Image, that is not rooting for beginning and the we can root it with Magisk ?​

My Apps are silly, the found the root, and I have activate the magisk Hide function . Is has no effect. Banking Apps don't work. No GPay :( . and others Banking Apps :(
Sure but it's not the pre root fault, you have to fix safetynet !
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
Hi there

Thank's for your work. I'm planning to install it on my phone... Right now I run the stock rom with a few customization like root and magisk modules but the mayor change I did was to disable the disk encryption to enable the memory extension with the sd card... Thant's allow me to install many many apps (obviously) and it works good so far ! But the most important thing is that I have the stock camera. I tried the LOS 15 last year but the camera was too bad for me... So, because I'm planning to switch to a newer ROM like this AOSP I want to be sure that the camera works well as the stock one... If not is there a possibility to get the stock camera on this AOSP ?

Thanks
I Use Camera GO it's good enough or stock camera they are almost the same. @DarkJoker360 even have on his sourceforge ported Huawei camera for custom roms.
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
Thank you for the information.. I never used Camera Go... The ported camera (I saw it is for android 10) works on this rom as well ? the picture quality is the same of the stock ?
Yep it works, tested today link here to version I use, but still download on your own risk. I never had my photos stolen etc. but still this website isn't known enough (at least I think).
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
Installed yesterday at night and it works, pain was passing safety net, needed to install riru core, EDXposed riru, edxposed manager, hiddencore module, magiskhide props, in magisk hide hide all google apps and same for edxposed, now it glow green but now I can't setup GPay I get error OR-TAPSH-08 but what I founded It's caused by too many attempts so after waiting 24Hour it should work.

Battery seems good enough (I installed AIO-A11-GSIs-Fixes-Emui8-v2.5.zip because A10 version last time on Android10 solved for me battery issue, maybe now it's not needed but letting everyone know if someone have issues with battery.)

Anyway Good Job @DarkJoker360
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,609
3,600
18
Aradeo
Installed yesterday at night and it works, pain was passing safety net, needed to install riru core, EDXposed riru, edxposed manager, hiddencore module, magiskhide props, in magisk hide hide all google apps and same for edxposed, now it glow green but now I can't setup GPay I get error OR-TAPSH-08 but what I founded It's caused by too many attempts so after waiting 24Hour it should work.

Battery seems good enough (I installed AIO-A11-GSIs-Fixes-Emui8-v2.5.zip because A10 version last time on Android10 solved for me battery issue, maybe now it's not needed but letting everyone know if someone have issues with battery.)

Anyway Good Job @DarkJoker360
Nice. I was wondering if GPS is working for you, does it?
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
Nice. I was wondering if GPS is working for you, does it?
Yes it does, it doesn't view all satelites as sisters phone but I guess 16 in view and 3 in use at home is good enough. Only think I founded is signal for SIM is always display as low but cellural data over LTE works and same for calls and sms.
BTW I'm happy that still this phone is usable in 2021, so I can just make money for new phone but I will still probably use this one for testing etc.
 

NullWasTaken2

Senior Member
Jun 2, 2019
182
248
Yes it does, it doesn't view all satelites as sisters phone but I guess 16 in view and 3 in use at home is good enough. Only think I founded is signal for SIM is always display as low but cellural data over LTE works and same for calls and sms.
BTW I'm happy that still this phone is usable in 2021, so I can just make money for new phone but I will still probably use this one for testing etc.
On which Emui 8 firmware build are u ?
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
As always you can't, it is modified to work with A only devices.
Anyway Adoptable storage seems to be easy to break, more easy than on A10, and when u have 16GB device this is kinda deal breaker.
My skills arent good enough but wouldn't be possible to force fsck on boot of /data and sdcard? It would make boot slower but prevent this issue
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
EDIT: After flashing magisk SW starts rotting to a point I was unable to boot even to recovery, needed to flash random hi6250 twrp to at least format data, I don't have a logs because I need my phone Mo-Fri 24/7 for my job.
 

halorx

Member
Apr 1, 2021
5
0
Hello,
where can i get the recommended Huawei Stock Rom with EMUI 8?
Seems that the official servers are down, and the onboard update App also does recognize no updates, even if it is stone age android security patch 2016... with EMUI 3.1 installed and Android 5.0.1
 
Last edited:

manosath

Member
Sep 24, 2019
8
0
After downgrading to 8.0.0.360 (C432) it finally works. Everything works fine except USB transfer.
I installed the update but it's still the same.
Charging via USB and USB transfer from TWRP are working.
And I think, Android Auto doesn't work for the same reason...

Thank you for your great work!
hey, can u maybe tell me how u downgraded?
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,609
3,600
18
Aradeo
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
 

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
    Flashing the rom I got this output:

    $ fastboot flash system aosp-11_prague_20210406.img
    target reported max download size of 471859200 bytes
    Invalid sparse file format at header magic
    sending sparse 'system' 1/4 (417881 KB)...
    OKAY [ 11.517s]
    writing 'system' 1/4...
    OKAY [ 11.228s]
    sending sparse 'system' 2/4 (460796 KB)...
    OKAY [ 12.628s]
    writing 'system' 2/4...
    OKAY [ 10.559s]
    sending sparse 'system' 3/4 (458901 KB)...
    OKAY [ 12.600s]
    writing 'system' 3/4...
    OKAY [ 11.793s]
    sending sparse 'system' 4/4 (380426 KB)...
    OKAY [ 10.485s]
    writing 'system' 4/4...
    OKAY [ 9.934s]
    finished. total time: 90.745s

    It seems to have worked but at the end it sticks in a bootloop.
    What does mean the second output line "Invalid sparse file format at header magic" ? The bootloop depends on that ?

    Used this twrp version: TWRP_3.4.0-0-warsaw_DarkJoker360_20200611.img
    "What does mean the second output line "Invalid sparse file format at header magic" ? The bootloop depends on that ?" Ignore it. No, it doesn't depend on that. You probably forgot to decrypt ur data. Use the guide below.

    The complete way to boot gsis a11 on emui8
    Coming from stock emui8

    Step 1
    1- Install twrp 0.5 test
    2- Flash fstab.hi6250b zip (you can find it in hi6260 community telegram group) to decrypt data and format data
    3- Boot to emui and check if data is decrypted in settings security , if yes
    Make twrp backup ( all available partitions )

    Step 2
    1- Wipe system data cache
    2- Flash system img in system image partition with "twrp" or you can use "fastboot flash"
    3- Go to mount menu , uncheck then check again system
    4- Resize system via advanced wipe menu
    5- Flash aio v2.4.1
    6- Flash Nikgapps gapps
    ( optional )
    7- Install magisk apk
    8- Go to twrp & flash MAGISKA11-a-only
    9- Flash Magisk-v22-canary-phh
    10- Reboot and enjoy

    PS: - search in this group using /notes all required files
    - For aosp a11 by Darkjoker360 ignore step 5 , and flash NFC fix instead

    Thanks @Hami_Do for this guide!
  • 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