yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] maka1105:
As I can see elite kernel is root and revolution recovery is only custom TWRP. This OldDroid TWRP is TWRP and root in one and can act alone. First time I have flashed this TWRP, I put it over elite kernel and RR. Now I have RR and elite kernel v4 and my phone is stable no matter what I do. Any way I am happy now and I appreciate OldDroid work.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] simo255:
what do you mean by RR ?

ressurection remix?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] maka1105:
Revolution recovery.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] drisena:
I did install this TWRP and at first, I could not boot after I had installed superuser.

In fastboot I flashed boot, system and recovery since I was on revolution recovery and elite kernel.

After that it booted normal. I then flashed this TWRP again and it worked and I do have root after flashing the superuser.

The Problem I have found is, that Titanium Backup can not freeze or install apps. I just can delete or backup apps.

Did I do something wrong?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Blackwatch:
Can I just double check something please.

I have just got another new P9 Lite and I am on VNS-L31c432b131. I have obtained my bootloader key and I will be using this guide to unlockthe bootloader https://xdaforums.com/huawei-p9lite/how-to/guide-unlock-bootloader-twrp-root-t3405701.

Once I have unlocked the handset instead of following part two of that guide can I just use ADB and the following.

fastboot devices

reboot bootloader

fastboot flash recovery twrp-3.1.0-2-hi6250.img

fastboot reboot

Or Do I need to unlock the bootloader, flash B160 through Firmware finder then B370 through dload & 3 button method then install this TWRP and SU ( using the above steps )
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
no, you have to upgrade to nougat first, this won't work on marshmallow
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Blackwatch:
So would this be correct

Unlock boot loader and root as per this guide - https://xdaforums.com/huawei-p9lite/how-to/guide-unlock-bootloader-twrp-root-t3405701.

Install firmware finder and update to B160

Take optional update to B370 nougart

Then using ADB do this

fastboot devices

reboot bootloader

fastboot flash recovery twrp-3.1.0-2-hi6250.img

fastboot reboot
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] zgomot:
Well sort of.

I don't see why you would reboot once already in fastboot mode, but it can't hurt.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] maka1105:
Ok I have to correct my self. It is not TWRP to blame for screwing my phone. It is probably this moded SuperSu.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bghyt:
for some reason i keep getting Failed(remote:command not allowed)

ive looked all over the net and i cannot find anyhting to sort ir out i have a unloicked oem and bootloader

i have ADB and all its drivers installed but when i input the "fastboot flash recovery twrp-3.1.0-2-hi6250.img" i get the error the device does list when i do the adb devices command so i dont kbnow whats wrong please help me L21
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] dywerd:
..@ bghyt

Is your bootloader unlocked?

When it is boot up, is it says that your device is unlocked and can't be trusted?

I have the same problem. I run LOS 13, then install EMUI 5.0-Android 7.0, but not like so much (except the speed...), so I want to go back. I downgrade to MM and want to install TWRP, but it keep telling me that (command not allowed) and I did not see in all reboot that screen, so I try to unlock my bootloader again and voilá... after unlock (again) I can install twrp.

Hope it helps!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bghyt:
My boot loader is unlocked and i get that prompt before the phone start but I'll try than thank you.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] cronociclope:
Try the following:

- Download HiSuite and install it on your PC.

- Turn on the phone and open the program, then let the program install HiSuite on the phone.

- Enable the HDBSuite option from Settings/Advanced Settings/Security

- Disables the option from the previous step.

- Now enable USB Debugging from the Development Options.

- From ADB-Fastboot enter the command:

Adb reboot bootloader

- In Fastboot Mode you try to install TWRP.

Good luck.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] moviehunter2009:
I have the same problem here...with ulocked bootloader and oem unlocked...i made a question too but no reply..

https://xdaforums.com/huawei-p9lite/help/flash-twrp-p9-light-nougat-370-t3589374
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] witb2017:
Re lock bootloader and then unlock it again. I solved my problem with that.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] moviehunter2009:
ok.. i ll try it on sunday... :(
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Zarou:
A little late, but yes. I just updated my Honor 5C NEM-L51 (European variant) to Nougat using Huawei Firmware Finder and installed TWRP recovery and modded SuperSU from this thread. Works perfectly fine so far, I even restored my apps with Titanium Backup with no issue.

Thanks a lot, OldDroid ! :D

Also, I do have some noob questions, if someone can help me to understand one thing or two, I'd be glad.

First of all, how comes this TWRP works while the official variant doesn't ?

Then, if I understand correctly, it is meant to be used with encrypted devices, we're talking about the encryption feature of Android which is always enabled in Huawei/EMUI devices, right ?

About the modded SuperSU, please correct me if I'm wrong, but the only difference with the original app' is the "loop support", right ? But what is loop support exactly ? Can I use another superuser app' and be fine with it ? Why ?

Sorry if this is all noob stuff, I'd just like to have a better understanding of the whole thing.

Thank you for your time and your answers. :)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ZeOnEscofet:
Awesome job

This recovery replaced the revolution rc.

Really thx :laugh:
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] EinderJam:
On which build did you installed it ?

My P9 Lite is on C432B370,and i would like to know if this recovery and supersu will work on my device...
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Miss Montage:
It definitely works on C432B370. I haven't tried to install SuperSu...
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] andreasmaettig:
Both (Recovery and supersu) works on L31c432b370...

Gesendet von meinem HUAWEI VNS-L31 mit Tapatalk
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ZeOnEscofet:
I have the same.

Recovery works fine

And supersu i dont know i have the elite kernel 6.2 with root
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Zarou:
Can someone please help me ? Sound not working at all after restoring from this TWRP. I can't even hear phone calls and VLC crash. Please help !
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] zgomot:
I can confirm something is wrong with restoring backups. And yes, they were made with this recovery.

All sounds are gone completely, a lot of the apps crash.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HassanMirza01:
[MENTION=4960686]OldDroid[/MENTION] there is an error in each zip file am executing that is "child exited with status 1 error" what does that means ?? even log isn't telling anything..
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
you do not decide if the logs tell anything.

Send them over so i could have a look, i won't deal with problems where i have no logs.

Recovery log + kernel log.

Regards
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HassanMirza01:
Here are both files...
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Zarou:
Flashing stock recovery and factory reset didn't help in my case. No luck after wiping everything from TWRP either. I ended up with a soft brick instead, but one I couldn't recover from. Basically, the boot screen was green with two squares, a blue and a red one. The only other screen I could access was eRecovery which unfortunately wasn't able to restore my device (did this screen actually helped anyone at some point ?).

Anyway my phone is gone to customer services this morning. I should get another one in a couple of weeks.

Don't misunderstand me, I am not blaming the OP here. He said himself that this TWRP was experimental and I used it at my own risks. It's my fault if my phone's dead.

Regardless, I thinks everyone and especially the dev' should know about this. I don't know if this "no sound at all" issue occured because I was using a Honor 5C instead of a Honor P9 Lite, but I hope some future release can correct this.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] zgomot:
I flashed several versions of Elite Kernel and Magisk and subsequent recovery updates (.img files) with this recovery and had nothing but success, always.

Only thing that seems to always get borked is restoring backups.

In my case, when I restore a backup, on each and every boot afterwards, the colourful bubbly Huawei logo is replaced by a plain one saying just *android*.

This would not be an issue in itself but after booting, no sounds work. No ringtones, no notifications, music and video playback always give errors. Eventually I am forced to downgrade to MM, to be able to flash N again.

I would repeat the procedure in order to replicate the behaviour to provide logs, but I've had enough bricks for a while trying to get B380 to flash.

Any other way I can help, I'm happy to oblige.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
actually yes, next honor 5c you get will run the official twrp for your device - a version is still in the works. that could be due to kernel differences, because this twrp uses the one from p9l.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Zarou:
I tried your TWRP because, as you may know, EMUI 5/Nougat is now available for Honor 5C NEM-L51 devices using Huawei Firmware Finder. Unfortunately, since the update wasn't officially delivered, there is actually no TWRP for Honor 5C running under Android 7.

Since I need root, I guess I'll stick with Marshmallow for the time being once I get my new device.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bolzerrr:
I tried to flash this file on a fresh nougat device, unlocked and oem unlocked but it fails: "FAILED (remote: Command not allowed)"

What can i do? Is this not compatible to L31C432B370?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] zgomot:
[MENTION=4960686]OldDroid[/MENTION]

Any word on the restore issues?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
i noticed it, and when i'm back to my development machine, i will investigate this issue. If i have news or need anything else, i will contact those having issues.

Regards
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] EinderJam:
Hi everybody and first,i'd like to thank OldDroid for his work on this TWRP+SuperSu !

Anyway,here is my problem :

I unlocked the bootloader and flashed TWRP without any problem:

C:\adb>adb devices
List of devices attached
FUH7N16B18007446 device

C:\adb>adb reboot bootloader

C:\adb>fastboot devices
FUH7N16B18007446 fastboot

C:\adb>fastboot flash recovery twrp-3.1.0-2-hi6250.img
target reported max download size of 471859200 bytes
sending 'recovery' (24462 KB)...
OKAY [ 0.594s]
writing 'recovery'...
OKAY [ 0.598s]
finished. total time: 1.194s

C:\adb>fastboot reboot
rebooting...

finished. total time: 0.021s

C:\adb>

However,when i switched off my p9 lite and then rebooted with Power+Volume UP,nothing happened,and ~30sec after,the phone booted normally on android,like if i pushed only the POWER button...

I have the VNS-L31 C432B370,did the combination key changed in nougat ? Thanks for your help !
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bghyt:
Its power button + volume down button.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] EinderJam:
I found ! it's still volume up + power,but i have to press the extremity of volume up,then press power and release power when the phone boot !

I flashed SuperSU,everything went fine !
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] mchtt:
So it's UP or DOWN guys lol, i'm also stuck and cannot boot into TWRP after flashing this one !

I always end up on stock recovery, every fast boot commands are successful indeed.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
Volume up + power.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] EinderJam:
Try to press volume up before power,and release power when the phone vibers
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] osabre:
What extension for the file SuperSU. When I downloaded from Google drive I have no extension.

Thx
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] EinderJam:
Replace .0 at the end of the filename by .zip
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] mjz2cool:
looks like your bootloader is locked

---------- Post added at 08:28 AM ---------- Previous post was at 08:27 AM ----------

did you disconnect from usb?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] mchtt:
was thinking about this, anyway my problem is resolved due to a magical random auto factory reset while trying to go to recovery, i cannot explain what happened, but the phone was able to boot and i was able to boot back to twrp using adb commands....
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] delca85:
Because Titanium is not restoring any app to me, with SuperSu 2.79 modded flashed, I tried to install BusyBox, but the installation was not successful. Did you have any problem like this? Thanks!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
install it to /vendor/xbin
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] delca85:
It does not work anyway. :crying: I have p9 lite, with TWRP 3.1.0 and this 2.79 modded.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] 3RR0r:
i had the same problem - titanium restore not working !

busybox - not able to install correct

Using P9 Lite VNS-L31-C432B370 - modded SS to DS, thanks to k1ll3r8e

Using TWRP with modded SuperSu, thanks to OldDroid

My solution:

unroot with supersu app

flashed Elite Kernel for P9 Lite All Variants CxxB3xx With Phh Superuser v5.2 by HassanMirza01, thanks :)

root working, titanium restore working :)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] millo1978:
Tested /product/xbin also...

Stericson Busybox can't be installed :(

system, vendor, product FAIL
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
try BusyBox Installer from JRummy i think, or magisk (has one inbuilt ehich you can enable)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] millo1978:
Yes, JRummy Busybox, meefik Busybox and Busybox X, work good!

Only Stericson doesn't work!

Maybe there are issue with Permissions in system folder.

I don't know :(
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello

I tried to install l31c432b380

Please look, but not question comes after

https://xdaforums.com/huawei-p9lite/help/help-test-install-l31c432b380-t3601353

I can not understand.

Why twrp 3.1.0.2, installs this file for l31c432b380.

Can you tell me if it installs the whole file or only a party.

http://update.hicloud.com:8180/TDS/...1/full/VNS-L31_hw_eu/update_VNS-L31_hw_eu.zip

It is small and when I flash it changes phone version.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] simo255:
log can answer about your question :)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] zgomot:
Any news about the issue of losing sound and generally media playback errors after a twrp backup restore?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
nope, but i had the same on my normal p9 yesterday, no bootanimation, camera app was installed but no connection to camera possible - media playback worked fine!

Will be investigated!

Regards
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
Hi, so im getting the "FAILED (remote: Command not allowed)" message too... and after reading the posts... someone had it too ... but its not mentioned how to solve this !!! help please :D !
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
Is the bootloader unlocked?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
Yes it is !!! i unlocked it when i was on MM !!! i updated using Firmware finder and the proxy to use the updater !

(i just realize i forgot the details :/ !! L31C185B360 !! )
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
Check under developer options if debug USB is enabled in the settings.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
yes it is !!! "adb devices" and "fastboot devices" works normally !!!

i use "adb reboot bootloader" to access the fastboot screen !!! and there... i get that msg :/ !
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
Are you sure bootloader is unlocked? What does show the bootloader screen?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
PHONE Unlocked in red and FRP Lock in green !!!

just writing it made me think XD "could it be that red means the phone is NOT unlocked" ... but i get the msg that my phone is unlocked at every boot !!!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
You used "fastboot flash recovery TWRP.img" right?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
here is a screenshot !!!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
This usually happens when bootloader is unlocked.. You can try one thing: use "fastboot oem device-info to check the state of the bootloader.

Also you can try the app Flashify to flash the recovery and see if it works.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
ugh... the device info command gives me the same error msg !!! I never used flashify but it need root !!!i'm not rooted !!! when i did the update from MM to nougat i lost my twrp and my root :/ !!

idk i may try restoring later... but its really weird :/ !!

is locking then unlocking again possible/safe ???

thanks a lot for your answers !!!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Potato997:
Try to unlock again, the message on the bootloader screen may be bugged
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] simo255:
go to developer setting and enable oem unlocking, this will solve the frp lock
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
i guess that's what i will have to do... will try this later and comeback with the result !!!

its actually greyed out :/ !!!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] simo255:
owh, sh#t, you have to relock your bootloader (by flashing stock rom using dload method) and unlock it again :/
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bghyt:
How I solved it was to relock the bootloader and unlock it again and if that don't work reset your phone and try it again it worked for me (if you do reset your phone back up your data)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
mmmm.... i dont know what the "dload method" is !!! could i have a link/tutorial about it please ?

ah !!! how did you "relock" it ? and it wont erase my files/apps ??? thanks ^^ !!!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello.

I am looking for if there is a solution to install product.img and vendor.img with twrp.

thank you
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

u need an unlocked bootloader... If it shows unlocked and still get the msg, u should try to unlock ur bootloader again.

Edit:

Didn't see that the post was 3 days old... Cache bug of the Labs app...

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
hahahaha it's okay !!! i didnt try until i got this notification in fact... and now im getting new troubles !!!

i'm using the "SRK tool for huawei" (SRKToolHuawei-STABLE-V1.3-20160619 ) when i try to unlock ... i get the same msg...

and when i try to "Relock" i get this one

Failed (remote: root type is risk)

but im not rooted :/ !!! i dont even have twrp !!! im kinda lost !!!

does any of this have to do with the grayed out oem lock in the dev options ???

update : did a factory reset... still not working... and "Oem unlock" still grayed out :/ !!!

Update 02 : relocking just worked !!! yaaay !!! will try and update again ^^ !!!

Update 03 :

ugh... now i Relocked it and cant unlock it -_- !!! i even went to get the unlock code again (there is a new option in the website "before or after emui 5.0 ) the code is the same... and still ... not working :/ !!!

update 04 : accessed E recovery... wiped cache and factory reset... was able to unlock... went to fastboot ... "flash recovery twrp..." still get the error :(

FAILED (remote: Command not allowed)

i have no idea :/ !!! thought about drivers or something like this... but i dont have another computer to test with right now !
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] schizmatyk:
can I use this TWRP for Honor 5C/ 7Lite?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] dhvenus:
I had the same problem too, but it is solved now :laugh:

The trick is that, we all, who could not install the twrp recovery (Error message: remote: Command not alloved), we unlocked the bootloader already. But something is happens in the backgound and althought on the phone screen is the warning showed because of unlocked bootloader "bla, bla, bla...", somehow it is not really.

SOLUTION: You have make the bootloader unlocking procedure AGAIN!

The phone make after restart a factory reset, so all data will be deleted (except external SD card).
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] millo1978:
New base 3.1.1 released on 19.05.2017...

https://www.xda-developers.com/twrp-3-1-1-is-out-brings-minor-fixes/
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] OldDroid:
don't worry, i've noticed already, but i have to re-setup my build system cause i had to replace my motherboard (and got some new components)

regards
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] millo1978:
Take all the time you need...

I'm not in a hurry ?

It was only a news to all.

And thanks again for your hard and wonderful work! ☺

Inviato dal mio HUAWEI VNS-L21 utilizzando Tapatalk
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Radical_Musoka:
finally managed to root my phone !!! so i got the same answer as yours from others !!! i tried 4 times in fact !!! it worked on the fourth... the only new thing i did was updating HiSuite !! so it "could" be this !!! hope it will help !!!

---------- Post added at 02:49 AM ---------- Previous post was at 02:46 AM ----------

Thank you guys !!! finally managed to do it !!! idk if related but i updated HiSuite !! it worked perfectly ^^ !!!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] domperiphere:
i installed TWRP 3.1.0-2

I also had to unlock again. (could use the code of a former unlock). On my VNS-L31C432B380 I could flash TWRP and install supersu 2.79. Everything Works. Thank You.

Little problem: supersu (though it works) again and again asks for an update. But when I update is says: not successfull, reboot and again requests for update (update binary).
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] meysam007:
Hi

My mobile gt3-L31 (5c)/Android 7 emui5/hi 6250

Can I do this?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] EinderJam:
Hi,i rooted my VNS-L31 C432B370 with your twrp and supersu,it's working fine !

My phone has downloaded B380 update,is it safe to update from settings while i'm root and with twrp ?