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

Search This thread

brackenhill_mob

Senior Member
Aug 3, 2005
238
42
Berkhamsted
Xiaomi Poco X3 NFC
Ok, as you can see I don't know if there was other ways to remove encryption, I only do this kind of things very often, only when I need it..

Now I have another problem, I'm following this instructions to remove the encryption but the TWRP give me the "Error 1" message when I try to remove the old "fstab.hi6250" or copy the new one on the same folder. I have this error with others TWRP too if I'm not mistaken (I tried a lot of combinations), and I can't see other ways to modify the file when I'm in recovery (seems like the internal file system is on only-read, I supose for the encryption itself..). I'll appreaciate any help, thank you.
Try one of the decryption zips knocking about on this forum using twrp
 

Scorpin7

Member
Sep 26, 2020
17
0
Try one of the decryption zips knocking about on this forum using twrp

Ok, I found some different ways and this seems to be the easiest (if it works..), but I see the fstab inside of that zip differs from mine in some lines, and I don't want to flash something I don't need in my phone in case that break it.. Do you know if I can change the file inside the zip without change any other thing and without make it stop working? Thank you again.
 

brackenhill_mob

Senior Member
Aug 3, 2005
238
42
Berkhamsted
Xiaomi Poco X3 NFC
Ok, I found some different ways and this seems to be the easiest (if it works..), but I see the fstab inside of that zip differs from mine in some lines, and I don't want to flash something I don't need in my phone in case that break it.. Do you know if I can change the file inside the zip without change any other thing and without make it stop working? Thank you again.
I've not tried but I can't see it will do much harm. If it breaks something you can always return to stock and try again.
 

Scorpin7

Member
Sep 26, 2020
17
0
I've not tried but I can't see it will do much harm. If it breaks something you can always return to stock and try again.

Ok, after some problems I've got a funtional custom ROM... If someone else reach this post in the future with problems with desencryption, etc., in their PRA-LX1, I've manage to solve it in this way (at least it works today):

(First unlock your bootloader, of course, there is some tutorials in this forum and Internet)

1. Start with a stock recovery, stock rom and both working without problems.
2. If your device is encrypted, you need to desencrypt it first. For that, I've flashed this TWRP. I've used the "3.4.0.0-v1-hi6250-emui8" version (direct link), I don't know if the others can work too (I tried a lot of TWRPs, some of them can't write the "/vendor/etc/fstab.hi6250" file, which you need to desencrypt the device, and others, like this version, seems like can't read it, however, this way to do it worked for me).
3. To disable the encryption, I've used a lot of ways but only this one worked for me. Flash the zip attached to this message and, as the message says, format data. Then you have to reboot to recovery, and you can keep following the standar steps in the start of this thread (in this case, as you already have formated data, don't need to do it again after the full wipe, as I know).
4. As the steps in the start of this thread says, flash the image from the fastboot application in your pc, don't do it from the TWRP, at least I've had problems when I did it in that way.

And that's all. However, I think something extrange happened to me. Before, I thought the zip to override the "fstab.hi6250" file to disable the encryption worked fine, because I copied the new file and opened it in the pc with the Notepad, and the lines were the right ones, but... after all the process and the new ROM installed, I opened it again and... The one in the "/vendor/etc" folder have the lines of encryption enabled again... I don't know if this is because the ROM enabled it after the install in some "soft way" (I hope, so I don't have to repeat all the process if I change the ROM), or the problem never was the encryption and the ROM can work with the encryption enabled anyway (I always flashed the ROM from the TWRP instead from the fastboot... perhaps that was all the problem).

Well, I hope this help some people with problems like this in the future. Thank you to all the autors (@Hami_Do, @haki 86, @DarkJoker360 and @brackenhill_mob too for your help), greetings :)
 
Last edited:

myclarity

Senior Member
Aug 14, 2015
139
65
Porto
Ok, after some problems I've got a funtional custom ROM... If someone else reach this post in the future with problems with desencryption, etc., in their PRA-LX1, I've manage to solve it in this way (at least it works today):

(First unlock your bootloader, of course, there is some tutorials in this forum and Internet)

1. Start with a stock recovery, stock rom and both working without problems.
2. If your device is encrypted, you need to desencrypt it first. For that, I've flashed this TWRP. I've used the "3.4.0.0-v1-hi6250-emui8" version (direct link), I don't know if the others can work too (I tried a lot of TWRPs, some of them can't write the "/vendor/etc/fstab.hi6250" file, which you need to desencrypt the device, and others, like this version, seems like can't read it, however, this way to do it worked for me).
3. To disable the encryption, I've used a lot of ways but only this one worked for me. Flash the zip attached to this message and, as the message says, format data. Then you have to reboot to recovery, and you can keep following the standar steps in the start of this thread (in this case, as you already have formated data, don't need to do it again after the full wipe, as I know).
4. As the steps in the start of this thread says, flash the image from the fastboot application in your pc, don't do it from the TWRP, at least I've had problems when I did it in that way.

And that's all. However, I think something extrange happened to me. Before, I thought the zip to override the "fstab.hi6250" file to disable the encryption worked fine, because I copied the new file and opened it in the pc with the Notepad, and the lines were the right ones, but... after all the process and the new ROM installed, I opened it again and... The one in the "/vendor/etc" folder have the lines of encryption enabled again... I don't know if this is because the ROM enabled it after the install in some "soft way" (I hope, so I don't have to repeat all the process if I change the ROM), or the problem never was the encryption and the ROM can work with the encryption enabled anyway (I always flashed the ROM from the TWRP instead from the fastboot... perhaps that was all the problem).

Well, I hope this help some people with problems like this in the future. Thank you to all the autors (@Hami_Do, @haki 86, @DarkJoker360 and @brackenhill_mob too for your help), greetings :)

Can confirm this worked, also needing to flash the latest zip to disable dm verity do be able to boot, along side with Magisk. Thank you.
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,614
3,614
18
Aradeo
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 October 2020 Security Patches
* Fixed launcher search bar misplaced
* Launcher updates
[/CENTER]

DONATIONS

Check OP for more info and downloads !
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,614
3,614
18
Aradeo
Accidentally removed fingerprint gestures by mistake, I already fixed the problem and it will be fixed in November update. Sorry for the issue.
 

Passi36

Member
Oct 11, 2020
11
1
Hello,
I have a strange bug related to this OS. If I have the device "unroot", USB debugging with ADB works without any problems. As soon as I have installed the latest Magisk, I can no longer access my smartphone via ADB. I don't see an RSA Pop out on my smartphone. I only have that with this Constum ROM.

The device is shown as "unauthorized".
Everything else works fine.


What could that be?
 
Last edited:

Scorpin7

Member
Sep 26, 2020
17
0
Hello,
I have a strange bug related to this OS. If I have the device "unroot", USB debugging with ADB works without any problems. As soon as I have installed the latest Magisk, I can no longer access my smartphone via ADB. I don't see an RSA Pop out on my smartphone. I only have that with this Constum ROM.

The device is shown as "unauthorized".
Everything else works fine.


What could that be?

Hi, sometimes seems like the ADB pc-side have some problems, you can try a little solution to see if that's the case in this link. If that doesn't work and it's really a problem with the ROM... I have no idea, I'm sorry ? Good luck ?
 

moitreker

New member
Jul 16, 2018
1
0
DarkJoker360 Hello, tell me, what files to delete from the system so that the flash and flashlight on Huawei P8 Lite 2017 RR 7.0.2 would not work at all? Because after flooding with water, the flash and flashlight will not turn off.
Thanks.
 
Last edited:

godofgame2500

New member
Mar 23, 2020
2
0
Someone that is using it can tell me if with the the October update this rom Is usable as daily driver? The last one I used was that of march and I noticed that chrome and some games lag, and also there was more battery drain compared to the stock. Thanks
 
Last edited:

lucsi

Senior Member
Oct 1, 2006
63
15
Someone that is using it can tell me if with the the October update this rom Is usable as daily driver? The last one I used was that of march and I noticed that chrome and some games lag, and also there was more battery drain compared to the stock. Thanks

i am using October version. It is stable. Battery is good.
However mine is a Honor 6x/gr5 2017, not a P8 lite
 

qweiniq

New member
Jul 16, 2019
4
0
I use the October update. Location does not work, I use microG, have everything set up and installed like on other devices - no location.

i also miss the option long press back to kill app. did anyone find a way to provide this function? i tried Gravitybox - but it does not work.

i am very grateful for help
 

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