• 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][UNOFFICIAL][charlotte][8.1] LineageOS 15.1

LuK1337

Recognized Developer
Jan 18, 2013
8,071
16,319
103


LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What's not working :
Instructions :
  • Download the latest build and gapps
  • Reboot to recovery
  • Flash the latest build and gapps
  • Reboot
Downloads :
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
 
Did you--
wipe:
 restore with titanium backup:
reboot after having the issue:
 
Are you using--
a task killer:
a non-stock kernel:
other modifications:
 
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
XDA:DevDB Information
[ROM][UNOFFICIAL][charlotte][8.1] LineageOS 15.1, ROM for the Huawei P20 Pro

Contributors
LuK1337
Source Code: https://github.com/berkeley-dev

ROM OS Version: 8.x Oreo

Version Information
Status: Testing

Created 2018-05-18
Last Updated 2018-08-30
 

reeved

Senior Member
Jan 9, 2014
115
15
0
I didn't know it was possible to get Lineage up and running on the Kirin chips! This is great! Was it made easier because of Treble? :)
 

DaveP2611

Senior Member
Aug 11, 2014
241
46
0
Basildon
  • Like
Reactions: aaddiikk

virtyx

Elite Member
Jan 3, 2011
2,505
648
0
This makes me moist

---------- Post added at 06:28 PM ---------- Previous post was at 06:23 PM ----------

Can we just flash magisk ontop in twrp?
I'll test soon enough
I'm hopeful that lineage will unleash this phones full potential without the bloat of emui
 

reeved

Senior Member
Jan 9, 2014
115
15
0
Likely to be broken along with Desktop mode as well, which is a bit of a kicker really. Will see how this works and maybe if WiFi calling is functional I might stick with it.
Surely it would be possible to port over the P20 Pro camera app to Lineage? Phh ported over the Mate 10 camera for use with the Treble roms so I don't see why it shouldn't be possible.
 

faremoney

Senior Member
Jan 12, 2010
190
32
0
i hope the devs manage to port the camera features then, because a stock experience on p20 pro would be dope but the camera is the killer feature for me on this phone
 

DaveP2611

Senior Member
Aug 11, 2014
241
46
0
Basildon
Surely it would be possible to port over the P20 Pro camera app to Lineage? Phh ported over the Mate 10 camera for use with the Treble roms so I don't see why it shouldn't be possible.
Oh I'm not saying it won't get ported, but I've always assumed that Lineage as it comes is stock, but there is nothing to stop ports happening, just wouldn't expect it to be included in the ROM
 

Shaolin36

Senior Member
Feb 10, 2016
117
63
0
Chelmsford, Essex
if someone can try...

(i'm still waiting for unlocking codes -_- )
I flashed Lineage for the honor view 10 a few days ago and moved camera libs and apk into priv-app. Night mode and AI definitely worked, but the UI scale for the app was totally wrong.

Edit: to clarify I have a P20 pro and flashed the honor view 10 Lineage onto it.
 
Last edited:
  • Like
Reactions: djlukas1983

mudnightoil

Senior Member
Jul 22, 2014
415
121
0
First of all @LuK1337 - big thank you!

If I might be so bold as to offer a suggestion, though:

@surdu_petru has successfully baked stock Huawei camera into AOSP based ROMs. If you're not already considering it or working on it, perhaps he could give you some tips on how to make it work.

There's also this thread, which you're probably aware of. https://forum.xda-developers.com/pr.../huawei-stock-camera-app-treble-roms-t3735169 Though obviously it'll need the latest version of stock camera - preferably from 120 firmware.

It would also probably be preferable to port the Huawei stock Gallery app, thereby eliminating the last issue with ported stock camera.

Again, thanks!

Edit: I see people are already talking about this.
 

virtyx

Elite Member
Jan 3, 2011
2,505
648
0
I flashed Lineage for the honor view 10 a few days ago and moved camera libs and apk into priv-app. Night mode and AI definitely worked, but the UI scale for the app was totally wrong.

Edit: to clarify I have a P20 pro and flashed the honor view 10 Lineage onto it.
where are the camera libs?
 

LuK1337

Recognized Developer
Jan 18, 2013
8,071
16,319
103
First of all @LuK1337 - big thank you!

If I might be so bold as to offer a suggestion, though:

@surdu_petru has successfully baked stock Huawei camera into AOSP based ROMs. If you're not already considering it or working on it, perhaps he could give you some tips on how to make it work.

There's also this thread, which you're probably aware of. https://forum.xda-developers.com/pr.../huawei-stock-camera-app-treble-roms-t3735169 Though obviously it'll need the latest version of stock camera - preferably from 120 firmware.

It would also probably be preferable to port the Huawei stock Gallery app, thereby eliminating the last issue with ported stock camera.

Again, thanks!

Edit: I see people are already talking about this.
I'm not going to work on EMUI Camera. Also Surdu wasn't really responsible for porting it, it was phh that did the actual work.
 

virtyx

Elite Member
Jan 3, 2011
2,505
648
0
I'm not going to work on EMUI Camera. Also Surdu wasn't really responsible for porting it, it was phh that did the actual work.
how is the camera on this lineage?
i flashed it but it required me to do a wipe on my /data so i had to skip it for the time being (cant setup my phone right now)
so i reverted back.
 

LuK1337

Recognized Developer
Jan 18, 2013
8,071
16,319
103
how is the camera on this lineage?
i flashed it but it required me to do a wipe on my /data so i had to skip it for the time being (cant setup my phone right now)
so i reverted back.
No idea, even if I had this device I would pretty much never use the camera. I only have View 10 right now which is my main kirin970 dev phone (I may have Honor 10 too in the future, we'll see).
 

mudnightoil

Senior Member
Jul 22, 2014
415
121
0
I'm not going to work on EMUI Camera. Also Surdu wasn't really responsible for porting it, it was phh that did the actual work.
I know. My point was that he has now taken phh's work and baked it into custom ROMs successfully.

If you have no intention of doing so, hopefully others may pick up the baton now that you've released the first LOS / AOSP ROM for the P20 Pro.
 

LuK1337

Recognized Developer
Jan 18, 2013
8,071
16,319
103
I know. My point was that he has now taken phh's work and baked it into custom ROMs successfully.

If you have no intention of doing so, hopefully others may pick up the baton now that you've released the first LOS / AOSP ROM for the P20 Pro.
There's no reason to do that. People that really want to use phh's camera app can just add it without my help.