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

Search This thread

yzena

Member
Mar 30, 2018
48
12
Indeed, debuging does not ask for autorization (and pushing adb_key makes files transfert crash)


NFC is not working (tried DarkJoker's patch and magisk one), adb is buggy (PC sometimes say it itsn't paired, before it was ok, im using Chocolatey adb package, something like apt for windows, i know it's wierd), busybox must be installed via magisk else it isn't permanent (idk why), Labyrinth kernel is not working too (on home screen you only can see getting ready so DO NOT TRY IT ON YOUR DAILY DRIVER!!!) governor should be more agressive to reduce power usage (i had to do it via root booster and HEBF 1,3Ghz on main cores, conservative, 1.4Ghz on big cores powersave), I also wanna see preinstalled google apps like sms, calling, calendar, contacts, clocks etc. to make it more like Pixel Experience/Android ONE.

Anyway after 1 day I can say it is usable as daily driver, big thumb up to DarkJoker360.

BTW if someone have problem with installation gpapps I recommend flashing system, let it 1 time only boot (it will reboot immediately so be fast) boot into recovery, flash gapps, patch, magisk, reboot and enjoy.

EDIT: when you connect phone to pc and restart sometimes it hung on 1st boot screen until you pull out cable
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
I don't understand... Is debugging works on your phone... Mine does not want..

Go to "%userprofile%\.android" on your PC.
Next COPY (dont move) "adbkey.pub" to you phone SD Card or Internal storage.
Rename it to "adb_keys" and copy it (with terminal, twrp or file manager) to /data/misc/adb
Reconnect your cable and you are good to go ;)
 
  • Like
Reactions: hardcorehenry

yzena

Member
Mar 30, 2018
48
12
Go to "%userprofile%\.android" on your PC.
Next COPY (dont move) "adbkey.pub" to you phone SD Card or Internal storage.
Rename it to "adb_keys" and copy it (with terminal, twrp or file manager) to /data/misc/adb
Reconnect your cable and you are good to go ;)

That's what i tried in the first place...
The problem is that now when i connect my phone and press file transfert it crashs and it's looping : disconnect reconnect ...
I will give a log as soon as i can.
Thanks anyhow.
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
That's what i tried in the first place...
The problem is that now when i connect my phone and press file transfert it crashs and it's looping : disconnect reconnect ...
I will give a log as soon as i can.
Thanks anyhow.

And what about wireless adb? Does it work? (Download some app on play store).
 
Jan 16, 2018
12
1
Use Labyrinth kernel 1.2 and set cpu governor to blu_active, it will get cooler and get rid off any risk of damaging battery.
It is no use it heats up even worse, at a minimum it is already boiling which is not normal, I am thinking of going back to the stock ROM, it will be android 8 but it works at 1000% well, my recommendation is not to flash this ROM.
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
It is no use it heats up even worse, at a minimum it is already boiling which is not normal, I am thinking of going back to the stock ROM, it will be android 8 but it works at 1000% well, my recommendation is not to flash this ROM.

If you have PRA-LX1 and no HW issues I don't think it's problem of ROM, try this guide ;)
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,609
3,598
18
Aradeo
It is no use it heats up even worse, at a minimum it is already boiling which is not normal, I am thinking of going back to the stock ROM, it will be android 8 but it works at 1000% well, my recommendation is not to flash this ROM.

Here on my 2 devices everything is fine, which I see it is also for other users.
 
  • Like
Reactions: yzena
Jan 16, 2018
12
1
Here on my 2 devices everything is fine, which I see it is also for other users.
The ROM to work works the only drawback I have had is that of overheating and with the stock ROM that did not happen by the way thanks for your effort, But could you tell me how to solve that, I already changed the kernel and nothing.
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
The ROM to work works the only drawback I have had is that of overheating and with the stock ROM that did not happen by the way thanks for your effort, But could you tell me how to solve that, I already changed the kernel and nothing.

To which kernel? And did you changed the cpu governor? If not do it, on previous page I described which one (it is blu_active or interactive with tweaked values)

---------- Post added at 22:47 ---------- Previous post was at 22:41 ----------

@DarkJoker360 which kernel do you use? I want to have permissive selinux but labyrinth 1.2 doesn't support it and higher version cause on main screen endless "phone is starting".

BTW Good luck with your current situation in Italy from the Czech Republic, I hope the EU will help you more (mean seriously non sarcastic or offenzive).
 
Jan 16, 2018
12
1
To which kernel? And did you changed the cpu governor? If not do it, on previous page I described which one (it is blu_active or interactive with tweaked values)

---------- Post added at 22:47 ---------- Previous post was at 22:41 ----------

@DarkJoker360 which kernel do you use? I want to have permissive selinux but labyrinth 1.2 doesn't support it and higher version cause on main screen endless "phone is starting".

BTW Good luck with your current situation in Italy from the Czech Republic, I hope the EU will help you more (mean seriously non sarcastic or offenzive).

I use Labyrinth kernel 2.2 with a magisk module so I can receive calls
Kernel: https://drive.google.com/file/d/1FzPzqiXOwv4ou9VZFCfoOMx6tP5uG8JV/view
Module:
https://mega.nz/#!pjoRxAyD!wzY-jx5VJErSUO8rz-0hsL-xOHLMj5Ch9wEx75dIZyo
 
Last edited:
  • Like
Reactions: DunoCZ

DarkJoker360

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

ronnie92

Member
Mar 5, 2020
13
1
adb devices unauthorized

hi in adb when tape adb devices have unauthorized try reboot pc and phone delete adbkey and adbkey.pub all time same probleme anyone have solution?
and I have a search bar on the desktop (widget) that doesn't work and that I can't remove.
It is normal that when I install the rom I have no message and alarm application?
otherwise the rom works well nice job :)
 

DunoCZ

Senior Member
Feb 21, 2016
174
46
hi in adb when tape adb devices have unauthorized try reboot pc and phone delete adbkey and adbkey.pub all time same probleme anyone have solution?
and I have a search bar on the desktop (widget) that doesn't work and that I can't remove.
It is normal that when I install the rom I have no message and alarm application?
otherwise the rom works well nice job :)

1.In post #124 I described how to fix this.
2.Yes it is, use Gapps AROMA to install them to root if you don't want to waste time on every factory settings (and AROMA save settings so on updating this rom it is way easier), Gapps AROMA but remember use it on your own risk!
 

gvenezia

Member
Mar 8, 2008
14
5
I use SumUp that is not compatible with p8 stock rom. With this rom, it work, but only 1 times after installation, then it do not work. Have you an idea to resolve my problem ?
 

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