• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][TREBLE][9.0] AOSP 9 for P20 Lite

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,520
3,318
113
18
Aradeo
Hi,




Android Open Source Project 9.0 Pie for Huawei P20 Lite

*** Beta Version ***

This rom is provided by the duo: @DarkJoker360 and @Askuccio_DROID

About
Code:
[CENTER]Android is an open source software stack created for a wide array of devices with different form factors. The primary purposes of Android are to create an open software platform available for carriers, OEMs, and developers to make their innovative ideas a reality and to introduce a successful, real-world product that improves the mobile experience for users.
[/CENTER]
Warning
Code:
[CENTER] * Your warranty is now void.
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.[/CENTER]
Working
Code:
[CENTER]* Boot
* Touchscreen
* Adb 
* Audio
* Bluetooth
* Camera
* Internal/External storage
* Sensors
* Wifi  
* RIL
* NFC
* Almost everything
[/CENTER]
Not Working
Code:
[CENTER]
* Hotspot Wifi
maybe there are some minor issues !
[/CENTER]
Note: At first boot maybe you will get a bootloop to bootanimation but after it your device will boot up.

Installation
Code:
[CENTER]* you must also have this recovery version installed : TWRP(make sure you got latest version installed!)
* go to TWRP  and do format data and then a full wipe (system, data, cache, dalvik/art cache) !
* install AOSP rom
* flash gapps and root (optional)
* reboot to system
* Enjoy !!![/CENTER]
Download
Code:
[CENTER][URL="https://sourceforge.net/projects/askucciodevelopment/files/ROM/Aosp-Pie9.0/aosp-9-20180822-hi6250-askuccio.zip/download"]aosp-9-20180822-hi6250-askuccio.zip[/URL]
[URL="https://github.com/ianmacd/MagiskBuilds"]Magisk Builds for Huawei/Honor[/URL]
[URL="https://forum.xda-developers.com/android/development/gapps-unofficial-opengapps-builds-t3828141"]Unofficial OpenGapps[/URL] 
[/CENTER]
NOTE: These gapps are unofficial and are in beta stage so you can maybe face a lot of crases. It is recommended to install it after first boot and once installed you need to unistall Setup wizard because it will crash a lot !

Credits
@Askuccio_DROID
@Flex1911
@phhusson
@haky 86

How to Enable Notch !!
Add this string in the bottom of system/bin/getprop, this is a crypted file but it works.
[ro.config.hw_notch_size]: [312,90,384,45]
Warning: It can some temporary issues on UI

Kernel GPL policy: We are not violating kernel gps policy because we are making a treble based rom, so it is just a system image. Kernel is the default one provided by Huawei in Emui 8.x

I don' t have the device for testing, if you want faster releases please contribute for buying it. Thanks
DONATIONS

Regards !​

XDA:DevDB Information
Android Open Source Project, ROM for the Huawei P20 Lite

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

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Emui 8.x unlocked bootloader
Based On: AOSP

Version Information
Status: Beta
Current Beta Version: 9.0
Beta Release Date: 2018-08-26

Created 2018-08-26
Last Updated 2018-08-27
 

TurboUrby

Member
Sep 22, 2017
37
4
0
Just asking is this the rom with fixed camera? (issue from your pixel experience)

Btw what is the differnce between this rom and pixel expirience
 
Last edited:

Ahmed_Khalifa

Senior Member
Oct 19, 2014
121
198
0
30
Khartoum
Hello @DarkJoker360

Finally I flashed AOSP 9.0 onto P20 Lite (Nova 3e) and it's awesome but, I noticed a few issues so I will list them below.

1. The initial setup gets stuck when I connect my WiFi to complete it, there is a page that says "Checking for updates" I think. The workaround is to skip the initial setup without connecting to the internet.
2. Bluetooth is not working properly, it detects Bluetooth devices but it cannot pair with them, The same issue affects WiFi connection. WiFi does get disconnected every and each time Bluetooth tries to pair.
3. Some graphical UI glitches when using like Uber when navigating the map.
4. I can't play music on my phone whether it's stock music app or google music app but, VLC player plays music perfectly.
5. The dark theme doesn't apply to the settings app, nor other places. It applies to the notifications header only.
6. The statusbar is not 100% optimized for the notch, it's hight is less than the notch by 5px or less as I believe.
7. Camera works fine.
That's it for now.
Below is a file contains logcats of bluetooth and music audio issue.
Thank you.
 

Attachments

ars_chelsea

Senior Member
Sep 5, 2015
459
235
0
Lisboa
Hallo hallo everyone,

How can anyone even get through the setup of this ROM? Cause these processes keep stopping and even if I ignore everything:

android.process.media
google play services
google play
and even the pixel.setup process which then starts all over and crashes

This is so unstable not even a BETA, more like an alpha XD, I experienced something like this on the phhusson treble experimentation of May, but at least I coulded have a bit of a fun, and this one I just can't, maybe it's my device I don't know.

It's the European version ANE-LX1 C432 and right now has the version 8.0.0.146(C432) on it.

I also tried flashing multiple times but it was still the same, also the 3 TWRP's I have tried were the pretoriano80 one, the kilroystyx one, and yours.

As for now I will give a try to a new work from phhusson treble roms without twrp's.

Cheers,

AS
 
Last edited:
  • Like
Reactions: Yeahmään

TurboUrby

Member
Sep 22, 2017
37
4
0
DarkJoker are you planning to make emui 9 rom for p20 lite when its possible, but if you have no time now take a little break because you did smo great work and can you reply me for answear
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,520
3,318
113
18
Aradeo
DarkJoker are you planning to make emui 9 rom for p20 lite when its possible, but if you have no time now take a little break because you did smo great work and can you reply me for answear
Hello, why making emui 9 when the beta will be released in Q1 of 2019? This device will get for sure official emui 9 from Huawei. Unfirtunatly p8 lite 2017, p10 lite and more hi6250 devices won' t be sure to receive it. I will port emui 9 to that devices with my possibility ;)
 

TurboUrby

Member
Sep 22, 2017
37
4
0
Hello, why making emui 9 when the beta will be released in Q1 of 2019? This device will get for sure official emui 9 from Huawei. Unfirtunatly p8 lite 2017, p10 lite and more hi6250 devices won' t be sure to receive it. I will port emui 9 to that devices with my possibility ;)


Thanks for response I didn't know about P20 lite getting Emui 9 I am really excited and thanks anyway
 

n.sim

Senior Member
Mar 24, 2017
68
7
0
If i unlocked my bootloader and then restored the stock rom and relocked bootloader will i continue to have firmware updates or not?
 

ars_chelsea

Senior Member
Sep 5, 2015
459
235
0
Lisboa
If i unlocked my bootloader and then restored the stock rom and relocked bootloader will i continue to have firmware updates or not?
Yes you will :)

Because when you "oem relock" your device won't get that security message "your device can't be trusted" which means it can be trusted again ;)

Cheers,

AS
 
  • Like
Reactions: n.sim

n.sim

Senior Member
Mar 24, 2017
68
7
0
Yes you will :)

Because when you "oem relock" your device won't get that security message "your device can't be trusted" which means it can be trusted again ;)

Cheers,

AS
Ok thanks for the information, but I'm still on 8.0.0.145(C432) while my friend has already 8.0.0.146. why this? (We have the same model ane-lx1)