yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] surdu_petru:
Nop, what you did is not the better way, because you missed something, and not only you ...

After TWRP was installed, the first step is to reboot device directly into TWRP, and not into system !

If you have doubts/questions ... please feel free to read the whole TWRP info from here, because I'm sure you did never read what is written here entirely ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hoangdang223:
Thank you,

So as my understanding there is no way to root P9 with Nougat right now, is it right?

My P9 was manufactured in Jan 2017, so I cannot rollback to the MM.

If you have anything​ new, please include me to the loop ^^ I'm waiting for this.

Thanks :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xtcislove:
You think this is adding to the P9? Because i think u talk about the Recovery rollback on first boot which TWRP will prevent.

E recovery is still present and TWRP too. But i used my method.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] anabolic_guy:
Is it good also for P9 Plus ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mnv12345:
[MENTION=4960686]OldDroid[/MENTION],

Could you tell if I will install your twrp to Erecovery will it work?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lapocompris:
I want to reinstall L09C432B378, is it possible to flash the EVA-L09C432B378.zip with TWRP ?

If not how to revert to stock recovery ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
You can flash to recovery or recovery2 partition but not on both at same time.

Just wipe and flash zip
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lapocompris:
Nope, didn't work.

Do you know how to revert to stock recovery ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
Flash stock recovery from update.app with fastboot flash recovery recovery.img then install firmware + hw/eu through dload. Please not spam here and check specific thread for this.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Hy guys I need a help.

I own P9 B378.

I properly unlocked bootloader with code I got from dc-unlocker and I am getting yellow warning message every time I reboot.

Now I want to install the recovery.

ADB is working fine, it detects my device, but when I type fastboot devices or fastboot reboot-recovery nothing happens. Like my windows fastboot driver has disappeared!?

When I manually enter eRecovery, by pressing vol+up, and type fastboot flash recovery twrp-3.1.0-0-eva.img then I get waiting for device message.

Fastboot devices also does not giving me any answer.

I tried rebooting both phone and computer and it did not help.

Edit:

I have found the solutions. I was typing fastboot reboot-recovery instead of adb reboot-recovery. Everything worked like a charm.

I have one more question. Where could I find [MENTION=4081738]Atarii[/MENTION]'s prerooted boot.img?

Edit2: I have found prerooted boot.img. I tried to flash supersu afterwards, because I read here somewhere that it is possible, and now my phone is in bootloop.

Please help!!

Edit3: I have solved it by flasing unSU.zip which removed both supersu and superuser. Flashed prerooted boot.img and rebooted, afterwards, system booted fixed and phh's superuser rooted.

I thought I should delete this post, because I had solved everything on my own with no help from anybody, but I thought maybe my experience would be of help to somebody else.

Pitty there is no way to install Chainfire's SuperSU.

Moderator is free to delete this post if he wants to.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
It worked for me but only by

* simultaneusly pressing both Volume Up and Power buttons (not just the Volume Up)

and the rest as you have described
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
you have to press both, power and vol+, after device vibrates you should release only the power button.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
lil teaser: unified support is incomming, means los and emui ready..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] SideSkroll:
Guys, first of all. I want to thank the devs for what they have done here. I know kirin is kinda new and not many people are interested in cracking it open it appears as previous huawei phones never got CM /lineageOS.

Thanks for that.

Anyway, now onto my issue at hand.

I have a P9 L09 cust 432. I had it with nougat (378) and I decided to try and install a custom recovery and root it if possible.

I found the appropriate threads etc.

Well, apparently I managed to install the recovery correctly as I'm now able to get into TWRP and everything seems to be working fine, EXCEPT for the factory reset it appears... Cause I did it (from within TWRP) and well, apparently it messed up my phone since now not only are icons and wallpapers "old" (ugly looking) but things like flashlight don't work. The phone itself boots no problem, I can connect to the internet (haven't tried calls etc since I have no SIM in it ATM) so I'm not sure what has happened... Did the factory reset corrupted the rom? If that's the case, is there a way to reinstall from TWRP instead of having to go the dload + 3 buttons method (and having to unlock, install recovery and root AGAIN)

Basically, a stock 378 rom in zip format?

Any help would be greatly appreciated.

And keep up the good work guys!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
thanks for your thankful question!

No you didn' mess up your rom!

You just wiped data which has rom parts in it!

so you either have to find your corresponding rom data zip which you need to flash, or do it the hard way like you mentioned already.

I suggest you ask for the link in the Q&A section,

really don't know where to find it actually.

Maybe [MENTION=4081738]Atarii[/MENTION] could help?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] SideSkroll:
Thank you for replying.

So I take it that factory resetting from TWRP when on a stock ROM is a big no-no?

Damn... I was hoping that I'd be able to somehow restore/re-flash from TWRP... :crying:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
you can, but that requires the hw data update zip i mentioned. It's emui fault as they are storing system related stuff on userdata / data partition

Edit: https://www.hidrive.strato.com/lnk/aAFDlgDX

Here you go ;)

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Why this TWRP names its back-ups as TEST KEYS, like 2017-03-29--08-29-19_NRD90M_test-keys
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Cause you have in your Phone Info this build.

That means you didn't use the official way to receive Nougat.

Your steps of installations of different Firmwares makes something corrupted.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
thats the standard backup description on twrp, whats wrong with it?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Sorry, I didn't know this :) Previous TWRPs are using always the Name which is given in Phone Info App in relation to the info in buid prop...

As I heard the name with "test keys" I thought the Nougat Installation of [MENTION=7786725]zgfg[/MENTION] must be corrupted, because a friend of mine has a corrupted Nougat Installation and in his Phone Info is a simular name..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
---------- Post added at 11:20 AM ---------- Previous post was at 11:20 AM ----------

[/COLOR]

It's not an important feature but I've seen TWRP ports to other phones that replace the string template "test-keys" by TWRP version, phone model and/or firmware version.

Firmware version is particularly useful for later keeping back-ups of different versions and restoring them (experimenting with) back and forth.

Of course, one can always rename it manually...

---------- Post added at 11:30 AM ---------- Previous post was at 11:20 AM ----------

Maybe also related to something like this. IMO, TWRP port to the given phone (and/or EMUI version in this case) could adjust to the peculiarities on the given platform (like specific paths and so)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
well, i won't touch twrp code directly unless strictly necessary! And since this isn't considered as a bug/error for me, i won't change it.

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Hmm, screwed-up Factory Reset through TWRP due to diff path (if so) - it would be 'nice to have' it fixed in some future TWRP port (version) :)

(Please don't take it personally, I know how testers/reporters are pain in the ass for developers)

BR

Ivo
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
To a little correct this. MM had some apps in cust partition and on N they changed more to data, because system partition is too small for all that stuff.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
well, as dkioline already said, its emui fault as they store its system stuff directly onto data partition.

the post you've quoted refers to the backup naming of twrp!

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] :
To tell the truth they did it on purpose. Reason I can't tell. Because they F with us
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] SideSkroll:
Thank you very much [MENTION=4960686]OldDroid[/MENTION] it seems to have done the trick. (Though I had to clear the launchers data because even after installing the homescreen was kinda messed up)

I can't even begin to tell you how much I'm waiting for CM/LINEAGE for the P9.

AOSP>>>custom any day of the week. I just hope the stock camera makes the transition though... Cause it's a very nice camera app...

Thanks again. And keep up the good work and willingness to help, its really appreciated.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
Hello anyone can help me i flash twrp 3.1 on nougat b378 but when i boot into recovery screen freeze and twrp not appear.

Sorry for my bad english
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
I got the same problem, i ve unlocked my bootloader and now I wanted to flash this but since 1 hour it is telling me "Your device is booting now..." guess it is not... it just freezed at this point any answers would be really great or a detailled guide how to install or a video would be the best.

I found some videos on YT but these are for an older version of emui or in a language that I don't understand. :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
you are on nougat B378?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
It looks like a faulty firmware or boot, what do u use now?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
Yes I am.

Now I ve got an even bigger problem, I resetted my phone, everything is normal, boot, erecovery, aso....

But if I want to log me into my google account I just simply can't, because the only way that I am able to log in is per Voice but I can't speak my password out loud because google just simply doesn't allow that even if I try the "Speak now" button is greyd out. So i can't get into my phone.. I just simply want a normal keyboard but I have no idea how to change that. x.x
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] chris5s:
You should be able to get back to normal by flashing the data zip from this post :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
Great thanks, that is that what I was looking for hours. o.O

I will give it a try. :)

---------- Post added at 09:37 AM ---------- Previous post was at 09:15 AM ----------

So far I ve tried this, my problem is only that i can't login to my wifi because I have to use the voice keyboard and I see no way to change that.. What I've done:

Downloaded the file, made a folder called "dload" on my SD card, put all the files into it. Shuted down my phone restarted it, made a factory reset & chache wipe, switched it off again, pressed vol up and down and tried to flash it, it was succsessfull but nothing changed. :(

Do you have any idea? :/
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] chris5s:
Sideload a keyboard apk using adb?

Or skip Google login at startup and use voice to navigate the browser to a site where you can download an apk for the keyboard onto the phone?

Or download a keyboard apk from your laptop to your phone and install thru file manager?

One of these should work :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
Guess I can't skip it because it is telling me that i need an internet connection.

I can't access to the file manager because I can't skip the.

May you can tell me how to sideload a keyboard apk? :o
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
flash data file a few posts ago, i've dealt with a user already who had the same problem, just search for it, i included a link!

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
Guess I looked all the 12 pages trough but I haven't found an answer. :/

Can you tell me what you mean especially?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
I encountered the same problem you have to downgrade
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
oh ok, can you tell me or link me a post how to do this? :o
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
here you go [MENTION=5563841]pheuzy[/MENTION] [MENTION=7149837]Lecani[/MENTION]
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
Great thanks, but how should i flash the rom? i can t enable usb-debugging, i just can t even get into the OS cause of the missing keyboard..

I already tried to flash this with vol + &- , it takes about 10 sec. it tells me that it was succesfull but at least the problem consists :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
maybe you should try flashing the zip via twrp?!

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
Well, here is the problem, i can't flash it with twrp cause it doesn t seem to start, i tried it several times and i guess i can t reinstall it cause i can t enable usb debugging cause i can t get into my phone? :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Did you unzip before flash by download mode?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
yes i did.. it takes about 2 sek for installing then the phone reboots like normal, but without a keyboard .. omg .. i hate it :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Maybe you should flash full rom b378 now .

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mnv12345:
Hi, I have l09c432b378, got root, removed some sysapp and now I lost some minor functional. Unfortunately, I cant recognize sysapps that related with this lost functional. Could you explain, is it possible to flash via twrp update.zip (b378) to restore removed sysapps? I don't want factory reset from stock recovery due to root and tune system again.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This issue is related to... - what [MENTION=4960686]OldDroid[/MENTION] said some posts before: https://xdaforums.com/showpost.php?p=71642823&postcount=105

You must flash the linked zip - but you cannot flash it with TWRP.

You must flash back the Stock Recovery of b378. After you must create a folder on your internal memory or external SD called dload Unzip the B378_update_data_full_hw_eu.zip and copy only the unzipped files to your device into dload folder.

In the situation you cannot enter Project menu through Dialer App you can just try to flash it with 3 Button method (Vol+ Vol- and Power)

If the flashing is successful, you have Gboard and the other Apps back. After you can setup your phone and flash back TWRP.

If it doesn't work you can just contact Huawei Service Center.

I appreciate the work for this TWRP with Decryption Support. Many thanks to [MENTION=4960686]OldDroid[/MENTION] at this point.

I am happy to have working TWRP once I update my P9 to Nougat during next week's.

Of course, I would also wish, if there's a way to exclude hw_eu (or the path, where are the Apps stored in Emui 5) from Factory Reset, simular than internal memory is excluded from data wipe :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
well, since so many are asking for it, i will try to find a way excluding them.. - maybe with a backup option for especially this "content".

Btw, unified support takes more time than i thought, as we try to not just scan for lineage so we could use it with every rom.

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thank you very much for all your work :cool:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I know it's expensive, but as a last resort you could consider:

https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
you have to download rollback package from emui 5 to emui 4.1 EVA-L09

link:http://consumer.huawei.com/be-fr/support/products/downloads/detail/p9-befr.htm?id=92745

after you flash emui 4.1 and upgrade again
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
So well i ve fixed the problem, i ve downgraded my version to 6.x and reinstalled 7.x now i ve installed twrp with the instructions BUT i m stuck on the "your device is booting" when i want to boot into the recovery, i ve tried to flash serveral time.. any ideas? :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
I'm still stuck at this level but now i'm going to downgrade to B136 upgrade again
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
When you flash TWRP, you must boot to TWRP, otherwise you loose TWRP.

Press and keep pressing Volume Up and Power, execute fastboot reboot, immediately disconnect USB cable, when phone shows booting release Power
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
not work for me. another solution?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] pheuzy:
So well i ve fixed the twrp problem

first install twrp 3.0.3 when you disconnect phone keep pressing volum up and power botton until you see "your devices is booting now"

and install twrp 3.1.0 and repeat the operation
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Lecani:
So well what i ve done:

1: downgraded from 7.0 to 6.x (B182 to get an update for android n OTA)

2: reinstalled 7.0

3: reopened the bootloader

4: downloaded a rom for 7.0 to my sd card

5: installed the twrp from this thread

6: instantly booted into it but failed, so i reinstalled it until i was able to boot into it (vol+ & power button)

7: installed the new rom + root

Now everything is quiet fine for me, i'm just waiting for xposed but i guess it will take some time untill it get released. :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
so i looked up the issue of factory resetting, and it seems that the paths are constantly changing when a ota comes in for example! so i can't exclude it sadly, but boot delay will be gone in next twrp version.

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
So it is maybe a solution for the Apps which are stored in data like Gboard and so on - to move/convert them by the user to a system app...

Then they won't be deleted with a factory reset with TWRP...

What do you you think about it?

Or alternatively we must flash Stock Recovery before doing Factoryreset - Stock Recovery seems to exclude deleting those Apps.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
This option doesnt work unless its a custom rom + system is limited.

A simple option, exclude hw_init in twrp.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4960686]OldDroid[/MENTION] To you think it's possible to exclude hw_init ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] :
He don't need to think. U can exclude data/media/0

So data/hw_init is possible but must be done correctly

---------- Post added at 12:34 PM ---------- Previous post was at 12:33 PM ----------

Exactly what can't exclude?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4960686]OldDroid[/MENTION] I don't t want to nerve you, but just for understanding I have a few last questions to the topic of "excluding paths"

You said, you would try to exclude the path of the Huawei Apps from Factoryreset.

Then you said it's difficult cause Huawei may changes the path with OTA Updates. [MENTION=4900664]dkionline[/MENTION] said - the path is primarily /data/hw_init

You said, I can exclude it by myself.

I think I have to use Terminal for this, or is in your TWRP a menu to exclude paths from wipe?

Sorry about my may stupid questions - but I am not yet on Nougat and not knowing your TWRP.

Next time I will update.

I just Ike to know beforehand what I have consider.

I am just wondering because on Android 6 b182 were also stored some Apps in /data/hw_init and also whole themes.

In /system/themes were only stored the icons.

I can't remember that TWRP Factoryreset wiped the hw_init folder.

Mostly I am on Custom Rom.

But for sure /data/media/0 didn't be wiped with Factoryreset.

That's why I am thinking there should be a way to exclude those two paths in generally from TWRP data wipe.

If there's any chance you could manage this with your development on this awesome TWRP with Decryption Support - I would appreciate for myself and all those users which wouldn't know how do xclude this paths by themselves from a data wipe.

I would make donation. :)

I can realize how much work you have done for this TWRP.

Thanks again! :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
i found a way, next update, probably today, will include it, also the boot delay is ~10 secs shorter.

Even if its excluded from wipe and factory reset it can be still backed up - just for those who wanna know.

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
new version up, see op for changelog, download!

All releases including changelogs can be found on github:

https://github.com/OpenKirin/android_device_huawei_eva/releases
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I suppose - is it safe to install​ new twrp-3.1.0-1-eva.img from the previous TWRP 3.1.0-0 ( without the need to flash again through fastboot)?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
yes it is safe
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thanks.

Is it also safe to restore backups from 3.1.0-0 iin 3.1.0-1?

In that case, would it be ok/enough to restore data, system and boot
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
i would have mentioned that if there would be restoring issues with previous backups ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
OMG, I just had a similar near death experience.

Reinstalling something, cleared cache and dalwik (everything by the book, don't know why the **** happened).

It rebooted like brand new, asking for wifi, google account, everything​. But without keyboard, providing me only voice control.

TG, I had 5 days old Nandroid backup, and everything restored correctly from TWRP.

Just in case, I will enable swiftkey. I use gboard and I had disabled swiftkey app, but I t seens that stupid emui initially uses the swiftkey only. If **** happens and swiftkey is disabled (and you can't restore from twrp), you are in trouble.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Should img be flashed to boot partition?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
TWRP Image is Recovery and must be flashed logically to recovery.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
I'm asking you a question now:

What do you think "Team Win Recovery Project" is?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Why i have 3.1.0.0 after download 3.1.0.1 ???
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Must be some issue with your Browser or Downloadmanager, Downloadlink is 3.1.0.1 (23,99 MB)