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

Search This thread
Hi, I'm using the October build (pra-lx1) everything is working except android auto. (Mini gapps fixnfc and magisk 19.3 (20.4-21 not working at all))


What could cause android auto to crash? (It is seen by the car but when it starts crashes)

UPDATE:
I am now facing some issues with the battery it doesn't last so long. I can only have 2h of display use. (When it reaches the 80% it drops really fast)
The battery is new and has only 1 year of usage...
[See attached photos]
 

Attachments

  • IMG-20201018-WA0011.jpg
    IMG-20201018-WA0011.jpg
    76.3 KB · Views: 261
  • IMG-20201018-WA0010.jpg
    IMG-20201018-WA0010.jpg
    57.4 KB · Views: 263
Last edited:

DunoCZ

Senior Member
Feb 21, 2016
174
46
Hi, I'm using the October build (pra-lx1) everything is working except android auto. (Mini gapps fixnfc and magisk 19.3 (20.4-21 not working at all))


What could cause android auto to crash? (It is seen by the car but when it starts crashes)

UPDATE:
I am now facing some issues with the battery it doesn't last so long. I can only have 2h of display use. (When it reaches the 80% it drops really fast)
The battery is new and has only 1 year of usage...
[See attached photos]

Here you go, use any decent tool to set cpu governor. And edit it like I have it.
 

Attachments

  • Screenshot_20201019-034449.png
    Screenshot_20201019-034449.png
    143.5 KB · Views: 276
  • Screenshot_20201019-034456.png
    Screenshot_20201019-034456.png
    80.7 KB · Views: 274
  • Screenshot_20201019-034503.png
    Screenshot_20201019-034503.png
    62.9 KB · Views: 269
  • Screenshot_20201019-034514.png
    Screenshot_20201019-034514.png
    55.1 KB · Views: 246
Here you go, use any decent tool to set cpu governor. And edit it like I have it.

Sorry, but what tool are you using (it's pretty cool)?
Have you changed the kernel?

Thanks

EDIT:
found the app ex kernel....

I just saw your masterpiece...
went twrp
flashed Morfuz kernel 2.1 and its fixes...
booted and saw that safety passed in magisk (?)
flashed module in magisk (Morfuz)
installed morfuz apk...


how can i check if everything worked?
i've set balanced option by the way
 
Last edited:
SOLUTION: USE PRETORIANO80 TWRP.... and nothing else....
successfully installed Morfuz and used ex kernel manager to set governors ... do i have to do it at every boot?

UPDATE:
I swear i'm not doing it on purpose.... but the wifi it's not working anymore i can see that there are some wifi networks listed but it wont connect
idk why
 
Last edited:

haky 86

Recognized Contributor
  • Oct 5, 2012
    3,429
    7,462
    Hama (Syria)
    SOLUTION: USE PRETORIANO80 TWRP.... and nothing else....
    successfully installed Morfuz and used ex kernel manager to set governors ... do i have to do it at every boot?

    UPDATE:
    I swear i'm not doing it on purpose.... but the wifi it's not working anymore i can see that there are some wifi networks listed but it wont connect
    idk why
    Use stock kernel, most of custom kernels are broken.
     
    Use stock kernel, most of custom kernels are broken.
    Tried but nothing changed ...
    WiFi is still "locked" on "authentication...." And later fails...

    i'm just angry....
    I'VE JUST ****ING LOST HOURS BECAUSE I FLASHED P8 LITE KERNEL INSTEAD P8 LITE 2017.....
    now i'm gonna reinstall apps back :)


    any suggestion for battery saving?
     
    Last edited:

    DunoCZ

    Senior Member
    Feb 21, 2016
    174
    46
    So, recapping
    All is working BUT:
    -Battery Drain (I'm not going to change the stock kernel because as haky86 said custom ones are buggy)
    -no android auto (due to usb connection problems)

    -no autologin with pin
    -strange signal icon

    Thanks for your efforts

    If you can't simply search, debug and try to fix it by your own or via help from others (for example patching patch date, or decrypting storage + turning dm verity off) then yes, it's buggy, useless and whole custom firmware / kernel for this phone is trash, then please don't make many times posted summary how bad it is etc. I think @DarkJoker360 knows it and is doing what he could and can do for us.
     
    If you can't simply search, debug and try to fix it by your own or via help from others (for example patching patch date, or decrypting storage + turning dm verity off) then yes, it's buggy, useless and whole custom firmware / kernel for this phone is trash, then please don't make many times posted summary how bad it is etc. I think @DarkJoker360 knows it and is doing what he could and can do for us.
    Yes, Indeed i am sorry for multi posting and I've decided to make a recap post just to be clear, I've done all the steps you described but I have no idea on what you mean by "patching patch date".
     

    DunoCZ

    Senior Member
    Feb 21, 2016
    174
    46
    SOLUTION: USE PRETORIANO80 TWRP.... and nothing else....
    successfully installed Morfuz and used ex kernel manager to set governors ... do i have to do it at every boot?

    UPDATE:
    I swear i'm not doing it on purpose.... but the wifi it's not working anymore i can see that there are some wifi networks listed but it wont connect
    idk why

    Also before changing kernels you need to format data, it's core of the phone so if you change it there is high chance of something being f#*! up. Use Official TWRP for this phone (if you use adoptable storage then use SHRP (modded and reskinned TWRP, just don't use pre-packed mods etc. they are for stock rom), keep your mind clear, and the most important BACKUP YOUR DATA!
     
    Also before changing kernels you need to format data, it's core of the phone so if you change it there is high chance of something being f#*! up. Use Official TWRP for this phone (if you use adoptable storage then use SHRP (modded and reskinned TWRP, just don't use pre-packed mods etc. they are for stock rom), keep your mind clear, and the most important BACKUP YOUR DATA!
    Thanks mate, I will flash your kernel, then install this room and check if something changes
     

    DunoCZ

    Senior Member
    Feb 21, 2016
    174
    46
    Thanks mate, I will flash your kernel, then install this room and check if something changes

    It's not my kernel, I just did Spectrum module but due to buggines of the spectrum itself it's useless and I don't have a time to fix it.
    Here is how I made my phone almost daily driver,
    1. Installed AOSP 10 img file.
    2. Resized partition in TWRP and formated cache and dalvik cache and did 'format data' procedure (which formats whole /data partition with internal storage).
    3. Flashed Kernel, los_patches_prague.zip, magisk-phh-v19.3.zip, Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip and GApps (in my case AROMA because you can choose which apps will be preinstalled)
    4. Reboot (1 time it maybe will reboot itself, but that ok, if it will happen 2nd or 3rd time flash SELINUX-FIX-A.zip)
    5. Setup your phone, open Magisk and flash Morfuz call patch (it should be in Magisk repository if you type in search bar: 'PRA-LX1'). If Magisk manager crashes flash Magisk again in TWRP.
    6. Play with EX Kernel Manager (If you wanna I can upload my profile).
    7. Flash ARCore from Magisk repo (if you get error about magisk version open that zip, go to META-INF > com > google > android and in update-binary should be "require_new_magisk()" delete whole section from { to }) now try runing Safetynet test (should pass if not go to Magisk hide and filter by phrase "google" and tick them all, if won't pass again see if you have 19.3 version of magisk and arcore module installed).
    8. Enjoy

    Hope it will help you, also do peridically before and after you did some big change, for example you wanna try some module, backup everything at best to USB Flash drive, or you installed banking app, installed ton of apps that don't sync with cloud etc. backup. Don't be lazy, I was too in the begining and it's not good to save time on important stuff, because one day can TWRP backup help you a lot, it's better to go back in time with your device for example week ago than searching PC with fastboot & adb installed.
    BTW sorry if I sounded somehow unfriendly, I had bad day (and COVID + autumn doesn't make it better).
     
    It's not my kernel, I just did Spectrum module but due to buggines of the spectrum itself it's useless and I don't have a time to fix it.
    Here is how I made my phone almost daily driver,
    1. Installed AOSP 10 img file.
    2. Resized partition in TWRP and formated cache and dalvik cache and did 'format data' procedure (which formats whole /data partition with internal storage).
    3. Flashed Kernel, los_patches_prague.zip, magisk-phh-v19.3.zip, Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip and GApps (in my case AROMA because you can choose which apps will be preinstalled)
    4. Reboot (1 time it maybe will reboot itself, but that ok, if it will happen 2nd or 3rd time flash SELINUX-FIX-A.zip)
    5. Setup your phone, open Magisk and flash Morfuz call patch (it should be in Magisk repository if you type in search bar: 'PRA-LX1'). If Magisk manager crashes flash Magisk again in TWRP.
    6. Play with EX Kernel Manager (If you wanna I can upload my profile).
    7. Flash ARCore from Magisk repo (if you get error about magisk version open that zip, go to META-INF > com > google > android and in update-binary should be "require_new_magisk()" delete whole section from { to }) now try runing Safetynet test (should pass if not go to Magisk hide and filter by phrase "google" and tick them all, if won't pass again see if you have 19.3 version of magisk and arcore module installed).
    8. Enjoy

    Hope it will help you, also do peridically before and after you did some big change, for example you wanna try some module, backup everything at best to USB Flash drive, or you installed banking app, installed ton of apps that don't sync with cloud etc. backup. Don't be lazy, I was too in the begining and it's not good to save time on important stuff, because one day can TWRP backup help you a lot, it's better to go back in time with your device for example week ago than searching PC with fastboot & adb installed.
    BTW sorry if I sounded somehow unfriendly, I had bad day (and COVID + autumn doesn't make it better).

    Thanks for your kindness ;).
    Unfortunately, i had to give the phone back to the owner... (it was an impatient person...)
    So i went back to emui 8, if he will give me another chance i will try as you suggested.


    PS. why not to make a "Suggestion thread"?

    I'm seeing many people (Even myself....) confused on what to do.


    PPS.
    I usually don't care for data :D:D:D:D,
    i'm like "f*ck everything, i'm starting using a new phone"
     
    May 7, 2020
    24
    4
    It's not my kernel, I just did Spectrum module but due to buggines of the spectrum itself it's useless and I don't have a time to fix it.
    Here is how I made my phone almost daily driver,
    1. Installed AOSP 10 img file.
    2. Resized partition in TWRP and formated cache and dalvik cache and did 'format data' procedure (which formats whole /data partition with internal storage).
    3. Flashed Kernel, los_patches_prague.zip, magisk-phh-v19.3.zip, Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip and GApps (in my case AROMA because you can choose which apps will be preinstalled)
    4. Reboot (1 time it maybe will reboot itself, but that ok, if it will happen 2nd or 3rd time flash SELINUX-FIX-A.zip)
    5. Setup your phone, open Magisk and flash Morfuz call patch (it should be in Magisk repository if you type in search bar: 'PRA-LX1'). If Magisk manager crashes flash Magisk again in TWRP.
    6. Play with EX Kernel Manager (If you wanna I can upload my profile).
    7. Flash ARCore from Magisk repo (if you get error about magisk version open that zip, go to META-INF > com > google > android and in update-binary should be "require_new_magisk()" delete whole section from { to }) now try runing Safetynet test (should pass if not go to Magisk hide and filter by phrase "google" and tick them all, if won't pass again see if you have 19.3 version of magisk and arcore module installed).
    8. Enjoy

    Hope it will help you, also do peridically before and after you did some big change, for example you wanna try some module, backup everything at best to USB Flash drive, or you installed banking app, installed ton of apps that don't sync with cloud etc. backup. Don't be lazy, I was too in the begining and it's not good to save time on important stuff, because one day can TWRP backup help you a lot, it's better to go back in time with your device for example week ago than searching PC with fastboot & adb installed.
    BTW sorry if I sounded somehow unfriendly, I had bad day (and COVID + autumn doesn't make it better).

    Quick question.
    I'm using this ROM as a daily driver, I have installed it many times. I have several issues, maybe you can help me:

    1. GPS is not working (it works with original rom)
    2. When I try to encrypt phone, it stays for hours on the encryption stage but doesn't do anything. (I haven't try to encrypt with latest update)
    3. After many attempts of installing this rom with original Kernel, I was just getting bootloop, had to install Labirinth kernel and flash ('Disable_Dm-Verity_ForceEncrypt_08.18.2019') with magisk to be able to boot android. I also install all the modules as you outline in your post
    4. I usually get about a little more than 1/2 a day of battery (3 year old phone). If I use hotspot, something happens to the rom that starts to use more battery even after is off. Restarting and deleting cache and dalvik cache takes care of this.
    5. I was having no luck backing up from TWRP, doe this work now? do you have another way to back up programs?

    Well, besides this little issues, phone runs great. I'm using Microg at the moment with no problems. Also, what does ARCore do? should I install it? I have very little apps that are downloaded from the playstore, no google apps at all. Most of my apps are open source from f-droid. Basically running a degoogle phone.

    thanks for your time and hope you can help me. :)

    Take care.
     

    flgmnft

    Member
    Oct 3, 2011
    19
    2
    Hi
    I have one big problem. I cannot install the application from the play store. not all, but e.g. chrome, outlook. I get a message that I need to insert a sd card. but I have it all the time, I even formatted it on my phone. I tried to make a wipe date with twrp but it did nothing to solve problem.
     
    Oct 9, 2018
    21
    1
    Hi
    I have one big problem. I cannot install the application from the play store. not all, but e.g. chrome, outlook. I get a message that I need to insert a sd card. but I have it all the time, I even formatted it on my phone. I tried to make a wipe date with twrp but it did nothing to solve problem.

    You probably need to go back to stock rom, and remove encryption from there. (Remove an encryption line in the fstab file) Once this encryption is removed, you can install this rom and everything should work fine.
     

    flgmnft

    Member
    Oct 3, 2011
    19
    2
    Thanks, yesterday I came back to stock. I tried again and got a continuous bootloop.

    Could you give me a link how to do it? I found the AIO topic but I don't understand anything about it, some lines are closed. something is mentioned about the treble project. I don't know how to do it in an easy way.
     

    Scorpin7

    Member
    Sep 26, 2020
    17
    0
    Thanks, yesterday I came back to stock. I tried again and got a continuous bootloop.

    Could you give me a link how to do it? I found the AIO topic but I don't understand anything about it, some lines are closed. something is mentioned about the treble project. I don't know how to do it in an easy way.

    I recommend you to use this zip to disable the encryption, just after a fresh stock rom install from the eRecovery (and after flash a TWRP, of course, so you can flash the zip), it's the better way to do it, as I know. After that you could keep following the normal steps to install this rom. Good luck, greetings :)
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 22
      Hi,

      1566531179-9526.jpg


      DarkJoker360 AOSP 10 for Huawei P8 Lite 2017

      *** Stable Version ***

      About
      Code:
      [CENTER]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.
      [/CENTER]

      Working
      Code:
      [CENTER]* Touchscreen
      * Adb / Mtp
      * Audio
      * Boot
      * Bluethoot
      * Internal/External storage
      * Sensors
      * Wifi  
      * RIL
      * Camera
      * Android 10 gestures
      * NFC
      * FP gestures
      * VoLTE
      [/CENTER]

      Not Working
      Code:
      [CENTER]You tell me
      [/CENTER]

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

      Installation
      Code:
      [CENTER]* you must have TWRP installed (The pretoriano80 one is more compatible with Q, so I recommend it.)
      * go to TWRP  and do a full wipe (system, data, cache, dalvik/art cache) !
      * format data
      * reboot to bootloader
      * extract AOSP 10 zip
      * run: fastboot flash system <drag system.img here>
      * reboot to TWRP
      * flash gapps (optional)
      * flash NFC.zip
      NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
      * flash root(optional)
      NOTE: Flash only the Magisk zip linked in this post !
      * reboot to System
      * Enjoy !!![/CENTER]

      Update
      Code:
      [CENTER]* extract the new update of AOSP
      * reboot device to recovery
      * wipe cache, dalvik cache
      * reboot to bootloader
      * run: fastboot flash system <drag system.img here>
      * reboot to TWRP
      * install gapps(optional)
      * install NFC.zip
      * NOTE: this zip is needed for having a working NFC. DO NOT IGNORE IT !
      * NOTE: If you can' t see Nfc in Settings anymore re-do the steps and wipe System too.
      * reboot to System
      * Enjoy !!![/CENTER]

      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
      Code:
      [CENTER][URL="https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/P8%20Lite%202017/Android-10/"]DarkJoker360 AOSP 10 and NFC fix[/URL]
      [URL="https://opengapps.org/"]Gapps[/URL]
      [URL="https://github.com/Magisk-Phh/Releases"]Magisk Phh[/URL]
      [URL="https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/Generic/magisk-phh-v19.3-for%2Bv218.zip/download"]Older Magisk Phh v19.3[/URL][/CENTER]

      Credits:
      @phhusson
      @Flex1911
      @haky 86
      @DIl3mm4
      @Hami_Do

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

      Regards !​

      XDA:DevDB Information
      Android Open Source Project, ROM for the Huawei P8lite/P8 Lite

      Contributors
      DarkJoker360
      Source Code: http://github.com/DarkJoker360

      ROM OS Version: Android 10
      ROM Kernel: Linux 4.x
      ROM Firmware Required: Emui 8.x,bootloader unlocked and TWRP
      Based On: AOSP

      Version Information
      Status: Stable
      Current Stable Version: 10
      Stable Release Date: 2019-11-24

      Created 2019-11-24
      Last Updated 2020-10-09
      7
      New DarkJoker360 AOSP 10 update !

      https%3A%2F%2Fbsmedia.business-standard.com%2F_media%2Fbs%2Fimg%2Farticle%2F2019-08%2F23%2Ffull%2F1566531179-9526.jpg


      Changelog

      Code:
      [CENTER]* Updated to August 2020 Security Patches
      * Fixed the incorrect battery capacity detected
      * Fixed build id and fingerprint not being read from system
      * Fixed VoLTE (read 2nd post.)
      *Addressed kernel selinux denials
      * Addressed adbd selinux denials
      [/CENTER]

      DONATIONS

      Check OP for more info and downloads !

      Have fun with this release, I am going to play with Android 11 beta :)
      6
      New DarkJoker360 update !

      https%3A%2F%2Fbsmedia.business-standard.com%2F_media%2Fbs%2Fimg%2Farticle%2F2019-08%2F23%2Ffull%2F1566531179-9526.jpg


      Changelog
      Code:
      [CENTER]
      * Merged December 2019 patches
      * Fixed GPS
      * Rebased the code platform
      * Forced build numbers showing
      * Fixed camera from source
      * Fixed autobrightness
      * Fixed night light
      * Fixed media files not showing in 3rd apps
      * Removed patch.zip
      * Fixed overview lags
      * Improved battery life
      * Decommonized device names for BT and Hotspot
      * Included Treble app for some Huawei features such as fast charge
      * Fixed Fingerprint gestures
      * Included Pixel Themes 
      * Added Pixel UI
      * Added Fruity pebbles v2.0 accents and adapted for 10
      * Fixed Hotspot
      * Removed AOSP Search app
      * Added google bootanimation
      * Used AospExtended material icons
      * Fixed NFC using a flashable zip(will be included soon via sources)
      
      NOTE: In the Treble app you don't need to set blurry workaround since it is fixed.
      Some persolizations are missing due to my error, will fix in the next update.[/CENTER]

      Check OP for more info and downloads !

      With this new developement platform I am working on I can garantee fastest updates and more Hi6250 devices support, the next will be supported will be Honor 6X (berlin) !

      DONATIONS

      5
      FAQ.
      Q. I can't flash gapps, why?
      A. While installing gapps you can maybe face error 70,the insufficient space error. Just resize system via TWRP !

      Q. My device can't pass splash screen, why?
      A. Try to install magisk, it resolve this.

      Q. My device can't pass bootanimation, why?
      A. Android 10 requires data to be decrypted, this is the most cause of bootloops, look how to decrypt it in this thread , credits to its OP.

      Q. How can I get VoLTE working?
      A. The VoLTE fix is just a magisk module, flash it via twrp or from magisk manager.
      HWIms-Hi6250-1.0.zip
      Thanks to all the guys from Hi6250 Community who worked on updating it to Q !

      Q. I can't receive SMS notifications and alarms aren't working, why?
      A. The problem is not with our device but with messy AOSP apps (Messages and DeskClock), fix it by using Google Messages and Google Clock.

      * I really recommend you to use Magisk-phh v19.3 instead of newer versions for better cpu usage and battery life.
      4
      For all who s having issues on booting it, there may be some prague (this device) issues on booting Android 10 that i am debugging, for some it boots and for some no. I am just searching the root cause of this problem.

      EDIT: Did some tests and Android 10 here is booting too...
    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