[Huawei P9 Lite Questions & Answers] Alc@h0l1k81n05avr:
Hello. a little while ago I restored my Huawei p9 lite nougat L31C440B380 rom from a bootloop thanks to tw1st3d83's P9 Lite Toolkit but since then i haven't been able root it again properly using magisk and other supersu apps because when i boot up music and sound don't play on my apps and videos on apps don't work at all, yet when i unroot my phone works normally, which is strange as i've rooted many times before with no problems. I'd been having some issues with magisk then due to installing and then deleting the viper4arise mod as apps didn't show in my drawer and magisk modules as well as the manager started to malfunction frequently. I looked around for anything that might help me fix this and came across HassanMirza01's P9 Lite elite kernel (All Variants CxxB3xx Phh Superuser v9 version and MagiskSU v10 version based on the b380 Rom) and decided to try it out. I used a special modded version of oldroid's twrp (TeamElite) https://www.androidfilehost.com/?fid=889764386195914200 to flash the kernels, the phh Superuser 9 version, https://www.androidfilehost.com/?fid=529152257862726224 , and the magiskSU 10 version, https://www.androidfilehost.com/?fid...0096634768996. Because they were pre-rooted, I assumed at the time i'd be able to solve my root problem.

When i was using the kernel I noticed everything ran more smoothly than usual but sound and video still weren't working. Because the kernels were pre-rooted before i installed, i think they may have modified the boot image in such a way that even when i completely format data with twrp and do an advanced wipe, then restore the factory images including the stock boot image i extracted from the B380 rom it starts up normally but gets stuck on the loading screen. At first I thought it needed time to load so I left it to charge overnight as the battery was pretty low but i when i woke up the next morning it was still on the Huawei logo. i don't think the kernel has an uninstaller or if there's one i can flash that doesn't have root. If i flash the boot image that I patched earlier with magisk, everything loads fine but i'm still faced with the same problems with no video or sound. I've been thinking of just reflashing the stock images and then relock the bootloader so i can do three button "dload" method for a clean install of my B380 rom as i've tried to use it before and failed as i get this error message before it finishes:

write radio image...

32K crc checked failure

E:unknown command [errno]

update_huawei_pkg_from_ota_zip: update from zip failed

Updater process ended with ERROR: 7

But seeing as how the kernel has altered the boot image I can only use the boot image that I patched with magisk or supersu.

I'm definitely sure that the method won't be able to work on a phone that's rooted but what i'm more worried about is that something goes wrong and i end up in a bootloop with no way to use adb to unlock the bootloader or use recovery, pretty much bricking the device. I've looked around for other kernels i might be able to flash and restore my device like Smoky Kernel and Rusty Kernel but they didn't work at all as opposed to the Elite Kernel. Can I lock the bootloader with a rooted phone and my reinstall my stock rom with the three button method or is there another way i could go about this? I'm asking this way because every time i unroot with either magisksu elite kernel or my magisk boot image the phone will always bootloop. The TWRP version I'm on, 3.1.1-0 isn't very useful at the moment compared to when I was on MM because when I had a problem I just flash and forget, but as the stock rom has two files it's a bit harder for me to get the hang of it so i would be very grateful for where to go from here.