yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] QuaX1:
Usually yes but in some cases clean flash is recommended. Eg. Lenovo P2 from 15.1 to 16.0
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] cristi_bv:
Hi guys,

Congrads for your work, I am keen on testing it since me and my wife bought ourselves P20 pro's and something tells me I don't want to test Huawei's proprietary OS. There is something that worries me a little so I thought asking it here, in their EMUI 9.1 update they will want to change the Filesystem to erofs. Will it be supported by Lineage OS? How about if we somehow manage to unlock our phones bootloader, if we are in a different firmware version can we load it or should we downgrade? Right now I am on 9.0.0.270.

Thanks!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Konst80:
Hello people,

I'm thinking about installing the LineageOS on my P20 Pro and try it, but I would like if possible to get following feedback before doing that:

- Is it possible to use GPay? I know from my previous device, this could be an issue with unlocked / rooted device.

- Is there a port of the P20 Pro Camera available which works well, so the same functionality as provided by EMUI can be used? As far I know, the LineageOS camea app is very basic and far behind in the quality in companioning to the original one.

-Can WIFI-Call be enabled and used with LineageOS?

Maybe someone has this experience and can summarize it here shortly. That would be very helpful. I think not only for me.

Thanks in advance.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Saison2018:
As a P20 Pro owner, I would like to have these answers too.

Hope you will have someone kind enough to reply, I already asked many times about Google Pay without any answers.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hosseinito:
Hello guys, Can I flash this lineage os on CLT AL00 which is Chinese version of p20?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LJAM96:
- Google Pay works. Need to follow this guide to get it working atm

- Camera Have to install that camera, not from the P20 Pro but very similar from Honor View 10.

- IMS is the only main thing that isnt working so VoWIFI, VoLTE and RCS broke
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] gullygossner:
I have tried this exact method a couple of times but for the life of me I cannot get gapps to show. I am using open_gapps-arm64-9.0-super-20190603.zip. Any ideas?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] GER-VooDoo:
Don't use OpenGApps, use the MindTheGapps package (https://wiki.lineageos.org/gapps.html)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] gullygossner:
That did the trick, many thanks!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
media codecs compatibility.

huawei codecs are banned you know.

For Netflix and other apps to work, we need to adjust and add the google omx codecs but thats a huge load of ****ty work...

We can only stop it from rebooting by removing the codecs that crash, but i don't like this solution because in a rare case it may break video or audio in some others codecs.

For now ignore the reboot and don't use apps that banned us.

Same thing btw happens on stock firmware but nobody noticed it. They all said it works and had me looking for 1 hour into our stock rom...... -_-
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ~clumsy~:
Sorry, I'm a little late to modding/flashing side of Huawei. So forgive me, I'm really out of the loop.

So you're saying it happens on stock firmware as well? Does it? On stock I was able use YouTube, play whatsapp videos without fault. However on Lineage it just doesn't work and forces a reboot.

So your telling me everyone with a custom ROM on a P20 can't play videos?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
no , i didn't see it was an app like facebook or youtube , etc.

Those shouldn't have any problem. It happened to previous los builds too ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ~clumsy~:
Yeah it happens on any app that can play a video, so YouTube, WhatsApp, my banking app and VLC.

I have gone back to build 06/06/2019 and it still persists there. I haven't gone back further.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Well, somehow you must have flashed something that broke the media codecs.

When I'm back I'll edit this post and share my media codecs to push it in place , reboot and test. If that doesn't work, you will need to format data using my new TWRP (not tested to format yet , you will see post 2) or you will use stock recovery to format.

Wipe system and flash rom and gapps from scratch like that. If you still have a problem then you wait for other Los users to see if others have same problem and Luk will fix it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ~clumsy~:
Thanks for the response. I'll wait for your edit. Appreciate it.

Edit:

Since yesterday I have restored stock and confirmed video playback is working with no reboots, then did the following:

1. Rebooted to stock recovery and wiped data

2. Flashed TWRP from kessaras

3. Rebooted straight into TWRP and wipes the system

4. Flashed LOS nightly 15/06/2019 and MindTheGAPPS

5. Flashed Sock Recovery

6. Wiped data in stock recovery then rebooted

And the video playback issue causing reboots is still present. I don't think I'm doing anything wrong, please feel free point out if I am but I feel there might be an issues with fresh install of LOS from stock. I came from stock firmware version 9.0.0.255
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Does this https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/249477 mean We can flash LOS16 directly on the newest base EMUI without needing of change the lines in an update script now?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] gullygossner:
For those on the newest base EMUI that require a change to the lines in an update script, what is the correct method/sequence for updating nightlies?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Is the "phone not going to deep sleep mode" issue fixed yet?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] mickotoole:
Afternoon all. Dying to get Lineage onto my P20 Pro but the bootloader is locked. Does anyone have a way to get LineageOS on there? I see that Huawei no longer provider bootloader unlocking services.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] GER-VooDoo:
I think there is no official or free way to unlock it :( According to reddit, the paid solutions of FunkyHuawei and Ministry of Solutions also shut down their services. You could try Global unlocking solutions if they found a working way to unlock
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] veimus:
According to the guy from Global Unlocking solution, when i Ask him for unlock bootloader for P20 Pro he replied:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Me I tried to create an algorithm to help you all unlock and I was kinda close but sadly I had my p20 pro bricked badly and its back to Huawei. If they change my motherboard instead of flashing firmware , I guess that's the end of me here :/
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ~clumsy~:
Hope your phone gets sorted.

Do you have that code on GitHub or local on your PC. It would be interesting to review it and see if can help/contribute.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] chinchan9:
Im getting the ERROR 7 while updating to newest los 16.0 rom

what Lines am i deleting because im now stranded with NO os because i wiped system...

Here is my Thread: https://xdaforums.com/huawei-p20-pro/help/p20-pro-unlocked-bootloader-lineage-os-t3951320

and these are the Updater-Scrip Lines

assert(getprop("ro.product.device") == "charlotte" || getprop("ro.build.product") == "charlotte" ||

getprop("ro.product.device") == "kirin970" || getprop("ro.build.product") == "kirin970" || abort("E3004: This package is for device: charlotte,kirin970; this device is " + getprop("ro.product.device") + "."););

assert(huawei.verify_vendor_build_id("P") == "1");

getprop("ro.boot.slot_suffix") == "_a" || abort("E3000: This package expects the value "_a" for "ro.boot.slot_suffix"; this has value "" + getprop("ro.boot.slot_suffix") + "".");

ui_print("Target: Huawei/lineage_charlotte/charlotte:9/PQ3A.190705.003/a8edbcaf20:userdebug/release-keys");

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("install", "/tmp/install");

set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);

set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup", "/system/system");

unmount("/system");

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

run_program("/sbin/e2fsck", "-fy", "/dev/block/bootdevice/by-name/system");

run_program("/tmp/install/bin/resize2fs_static", "/dev/block/bootdevice/by-name/system");

run_program("/sbin/e2fsck", "-fy", "/dev/block/bootdevice/by-name/system");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "restore", "/system/system");

unmount("/system");

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/bootdevice/by-name/kernel");

show_progress(0.200000, 10);

set_progress(1.000000);
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
Delete the one with the boot slot suffix and the package extract boot. img
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] GER-VooDoo:
Or you could use my update script, it will update all "lineage-16.0-*.zip" files in the current folder (if you're running windows use "bash for windows"): Download

And the code, if the link doesn't work (sorry if not perfect, i'm quite new to bash scripting):

#!/bin/bash

# Install required packages
[[ $(dpkg-query -W -f='${Status}' zip 2>/dev/null | grep -c "ok installed") -eq 0 ]] && apt install -y zip
[[ $(dpkg-query -W -f='${Status}' unzip 2>/dev/null | grep -c "ok installed") -eq 0 ]] && apt install -y unzip

# Config
_files="lineage-16.0-*.zip"
_base="META-INF"
_folder="${_base}/com/google/android"
_file="updater-script"
_tmpfile="_tmp"

for _f in ${_files}
do
[[ ! -d "${_folder}" ]] && mkdir -p "${_folder}"
[[ -f "${_tmpfile}" ]] && rm "${_tmpfile}"

echo -ne "Processing ${_f}: "
unzip -p "${_f}" "${_folder}/${_file}" > "${_tmpfile}"

if [[ -z $(cat "${_tmpfile}" | grep "boot.img") ]] && [[ -z $(cat "${_tmpfile}" | grep "slot_suffix") ]]; then
echo "already updated"
else
cat "${_tmpfile}" | grep -v "boot.img" | grep -v "slot_suffix" > "./${_folder}/${_file}"
zip -qur "./${_f}" "./${_base}"
echo "complete"
fi

[[ -d "${_base}" ]] && rm -rf "./${_base}"
[[ -f "${_tmpfile}" ]] && rm "${_tmpfile}"
done
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Bo7amada:
Mate 20 Pro

Would this work on Mate 20 Pro? The phone is not getting any custom development support in comparison :(, I wonder y is that
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] VladV1V:
No
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] marcushesketh1991:
Because of the locked bootloaders
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] makc31423:
Emui 9.1 , L29, 9.1.0311

Lineage will work?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Manuele83:
On latest lineage versions videos are working good? I read that after Trump issues with huawei codec were not updated anymore and videos were not playing on lineage os.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] durianw:
Will this work with Huawei P20?? Not the Pro, not the lite. The P20 model.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
who has lineageos on the newest firmware installed? I have the firmware .328 and was able to install twrp, but twrp can not mount various partitions. Despite a wipe with the stock recovery

The Partition "Cust" "System" and "Vendor" can´t mount.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] b00dymoon:
How can I get Los I'm locked bootloader??
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] sPEADy:
No chance of this on locked bootloader
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Hey. I would like to revert to the stock EMUI whats ste easiest and safest way to do so?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] XTutorials:
What is the procedure into installing this from a GSI?(flashed on EMUI 9.1)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
I cannot get this to install, whatever I try. It seems installation instructions are really limited and maybe my knowledge is just bad. What I tried:

First perform a clean install of the latest official Huawei rom (9.1.0.328), to make sure everything is nice and clean

Update updater-script to remove those 2 bad lines, that keeps LineageOS from installing

Enable USB debugging

perform an `adb reboot bootloader`

It reboots nicely in the bootloader and I can use fastboot

I download the latest version of TWRP from https://twrp.me/huawei/huaweip20pro.html : version 3.3.1-0

`fastboot recovery_ramdisk twrp-3.3.1-0-charlotte.img`

`fastboot reboot`

Hold the volume up key while booting to get into TWRP.

Press Wipe and then format

Here is where the first problems appear. It hangs while formatting, with red messages about not being able to mount system, vendor and cust. It says it will format, and says Done, but then TWRP hangs and I am unable to back out of the formatting process and my phone needs a reboot.

What I also tried is:

using a different version of TWRP (from the P20 Pro section over here), which gave the same results.

advanced wipe, changing the filesystem of the system partition to something other than f2fs. Doing this came a bit closer, but then the updater-script bombed out with `E1001: Failed to update system image.`

Usually after the format and messing around with file systems, the only solution to get my phone back working, is to flash an official RECOVERY_RAMDIS.img and go through the official recovery, which downloads the latest official ROM from the Huawei servers.

What am I missing? TWRP not mounting certain partitions seems like a problem, because that is where I want to install, right?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] titi66200:
It seems that it crashes because of the EROFS partition (Reading only) with EMUI 9.1.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] XTutorials:
I finally flashed the ROM and it works flawlessly, but I have one problem: the USB-C headphones what came in the box don't output any sound, even if they get recognized, and the volume buttons work.

Is this fixable?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
And how do you install the ROM with FW .328?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] XTutorials:
NOTE:

The custom kernel(with faster performance, and working USB-C Headphones) is working from flashing this ROM on EMUI 9.0.0.163 and below. All the newer versions will require a edited updater_script and will not have the custom LOS kernel, therefore the ROM will just run off the EMUI kernel, which is worse and has a bug in addition.

So best way is to just downgrade your phone to .163,through different methods of downgrading, and have a better off running ROM.

Regards,
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] mgateno:
Same problem

Did you get it to format? I'm having the exact same problem
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
I am sorry, no. I tried so many combinations but none of them worked. And LineageOS and AOSiP both use the same install method, so they both didn't work.

Maybe that [MENTION=5075128]LuK1337[/MENTION] knows a solution?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
Format data in twrp doesn't work. Use stock recovery.

I downgraded first to emui 9 (286) using hisuite.

Install Lineage os (you may have to edit updater script - all the answers are in this thread) a and gapps in twrp, flash stock recovery, wipe data and reboot.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
Thanks, that actually got it to work. So, because more people actually got troubles doing this, I wrote up the steps to install LineageOS on an EMUI 9.1 installed P20 Pro. Maybe anyone who knows what they are doing (so, not me) want to read through it and see if I missed anything?

https://depl0y.com/posts/P20-Pro-LineageOS-Guide/
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
Hi,

thanks for your work!

In the part "Flash LineageOS (and gapps)" you wrote "5. fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG" . But you didn't mentioned this file before. Where can I get it? Is it only needed to get into erecovery to wipe?

BR
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
Thats a good one, I will add it. It is the RECOVERY_RAMDIS.IMG file from the original Huawei ROM. It is used to flash back the original recovery, so you can perform a wipe of your data.

EDIT: I added it to the guide: https://depl0y.com/posts/P20-Pro-LineageOS-Guide/#Getting-RECOVERY-RAMDIS-IMG
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
I think there is no need to do this, because you flashed twrp only to ramdisk. So the original recovery is untouched and still on the phone.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
Are you sure about this? Because every time I flashed TWRP I lost the official recovery. You flash TWRP to the recovery ramdisk and after restarting you need to go into TWRP so it installs itself. If you reboot without going in TWRP you lose it again and need to reflash.

... I think...
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
No it's not. Recovery_ramdisk = recovery partition on hw devices
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
I tried it today several times, because I had to reflash my phone. The solution is:

If your phone is not connected to your computer, you boot to twrp, if you flashed it to ramdisk.

If your phone is connected to your computer, you boot into erecovery.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
Yes, but erecovery is incapable to wipe your data. It uses regular one unfortunately.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
All I noticed was that this was the way it worked for me and as an Android and custom ROM flashing newbie I rather perform an extra step then restart the process all over again. Flashing back to stock and trying again takes ages and this is what worked :). I do agree with [MENTION=5179086]forever_lol[/MENTION] though, when you flash TWRP and boot into it, it is there to stay.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
Hm, ok. It wasn't clear for me, that recovery and erecovery are not the same. Now it is. :)

Do you know what the difference between wiping in recovery and erecovery? :confused:

Yes, you are right. :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
Well, whenever you press wipe data on erecovery your phone will enter regular recovery (so my guess is this button only works as a link to recovery mode)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
Ooops, and I thought that the wiping was very fast. :laugh:

To wipe / format using twrp you can change the filesystem from f2fs to ext4.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
I am not talking about file system.

Btw. Huawei p20 pro doesn't have fully working twrp. Format data doesn't work afaik.

You can do the test: flash twrp, boot into erecovery and try to wipe, you'll be redirected to twrp.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
That did not work for me, that's why my guide has an extra step after sideloading LineageOS. I reflashed the stock recovery, booted into it and wiped. That seems to be the way to do it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
Guys, installation guide can be found in this thread. It's provided by dev Luk himself.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
If you meant the one in the OP, not sure that is gonna help anyone:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
That is the point. If you change the filesystem, you can format/wipe data. The problem in twrp seems only the f2fs filesystem. I never flashed any other recovery.

Get me right: My goal is, that we can maybe have a simple as possible guide how to flash lineage on this device. And thats why I think it is not really necessary to extract the recovery image from the original. I mean, that this is the complicated part.

At least it is not enough information.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
My friends I admit that information in OP is incomplete and I do not understand why developer has never updated the instruction.

However if you dug little deeper you could easily find these:

https://xdaforums.com/showpost.php?p=78417112&postcount=14

https://xdaforums.com/showpost.php?p=78435104&postcount=54

and info about edit script

https://xdaforums.com/showpost.php?p=79401091&postcount=357
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
Have you ever managed to install lineage os specifically on p20 pro using your method?

No offence but I really don't think it's that easy. As far as i know three developers failed to fix "format data" on twrp for charlotte.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Ede_K:
Yes, I am writing this post with it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
And how do I downgrade if I do not get any firmware offered in Husuite? I have never used Husuite before.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Joker2a1:
Link dead :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JJ2017:
That's a shame - however, it was just a write-up of info. that is generally available in these p20 pro / V10 lineage threads.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] depl0y:
It shouldn't be dead. It's hosted on Github.

https://depl0y.com/posts/P20-Pro-LineageOS-Guide/

Works for me?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JJ2017:
Yay, it's back :good: (defo was down for a few days tho')

Just what's required to navigate the minefield that is installing a custom ROM on this device (or View 10 in my case)!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Is the deep sleep problem fixed yet?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] intel_outside:
Is there any way to unlock bootloader now?:crying:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hfmls:
Is it possible to use original cam app?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Shabo09:
Hi Depl0y, I did exactly everything you descibed but now I'm in a bootloop... Any idea how to fix that? It keeps showing the Lineage OS logo and after a few minutes reboots to the recovery where I can wipe data / factory reset again. Already tried that a few times, no success.

Can I remove the current lineage OS and "mind the gapps" and reinstall seperate? To find out if the problem lies within one or another?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JJ2017:
Made any progress? I am wondering if maybe it's a problem with installing the camera app (as described on the [MENTION=286917]depl0y[/MENTION] guide)? If you don't fix the permissions (i.e. move the privapp-permissions-com.huawei.camera.xml from /tmp to /system/system/etc/permissions) the result is a bootloop on loading LOS as you describe. Just a thought - maybe helpful?!