yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Guides, News, & Discussion] aidrabmol:
I need help.

Just my P9 was updated by a notification. I'm on Spain. It was a OTA and now I have EVA-L09C4342B360 version.

Never I had problem to install TRWP, using adb y fastboot.

But now when I try install a TWRP (fastboot boot twrp.img for a temporal TWRP, or fastboot flash recovery twrp.img for a permanent TWRP) ever I obtain an error with both ways that says:

downloading 'boot.img'...

OKAY [ 0.932s]

booting...

FAILED (remote: Command not allowed)

finished. total time: 0.939s​

Phone is unlocked and it was rooted until this OTA. I read all post but I'm lost. And after install TWRP, that I can't, You speak to install a properfix but I can't find link. Really I only want root.

Regards
[Huawei P9 Guides, News, & Discussion] dkionline:
Unlock bootloader first.
[Huawei P9 Guides, News, & Discussion] :
The latest available full zip should work
[Huawei P9 Guides, News, & Discussion] :
On your phone :P?

Seems like it locked your bootloader check it
[Huawei P9 Guides, News, & Discussion] rikiki81:
Good morning, I saw that is out a new version of supersu. It should work with P9?
[Huawei P9 Guides, News, & Discussion] :
Not official zip no
[Huawei P9 Guides, News, & Discussion] maliniaka:
Maybe not good question :p Could you do guide how to patch boot.img for "noobs"? Step by step? Best regrads!
[Huawei P9 Guides, News, & Discussion] aidrabmol:
Thanks. I thought that unlocked was permanent but doesn't. After install an OTA or full firmware I lost unlock.

Now I only need install root, but SuperSu give me some errors with data partition when I try to install, and installation fails. On previous versions of TWRP I read that we must install a file called properdatafix but now this file dissapear so I suppouse that I haven't to install it. So, how I made root? I tryed to install version 2.75 and 2.79_Nougat, both on first post.

After read 32 pages of post I have no idea about root Nougat.
[Huawei P9 Guides, News, & Discussion] rikiki81:
Hi! I rooted my p9 with phh files, but i can't delete any system app or apply adaway for example. I read that i have to patch boot.img is that the problem? How could I do that? Anyone has a prerooted boot.img and knows how apply it?
[Huawei P9 Guides, News, & Discussion] :
Look in honor 8 section how get fix it

U can't use supersu stock zip since it uses loop which we don't have

No the reason is phh and fstab
[Huawei P9 Guides, News, & Discussion] rikiki81:
Ok, I get it. Is there any way to fix it? I searched in this post, but I'don't find anything. Any fix to apply or something?
[Huawei P9 Guides, News, & Discussion] aidrabmol:
My phone is death :(

I installed TWRP. I could start normally but not rooted.

I started on TWRP and repair data partition. After it I could install supersu that before showed and error "Can't unmount Data".

After install SuperSu I tryed to start normally but load stoped on a black screen permanently. I tryed to delete data, repair again, factory reset,.... but P9 doesn't start.

Any help?
[Huawei P9 Guides, News, & Discussion] sewkanteam:
ı brıcked my phone 4 time in 2 days :D When we re boring thıis is what we have :D

ı ınstalled latest noguat anytime ım bricked ( with twrp )

---------- Post added at 06:36 PM ---------- Previous post was at 06:33 PM ----------

that was clewer. it did work :) Thx:cool:
[Huawei P9 Guides, News, & Discussion] aidrabmol:
Where do You download last Nougat? I can't find for L09.

Just tryed to downgrade, I installed update for old version but doesn't start, black screen. When I touch data partition something happens that nothing resolve. I formatted as ext4. Perhaps I need another file system.

After downgrade again I can start. Just update to 182 and using Hicare I'm installing Nougat again.

I would like root but at the begining of this post there aren't explanation or files to do it corectly. I can install TWRP but I can't find how to root.
[Huawei P9 Guides, News, & Discussion] sewkanteam:
dude first U can find what firmware you want just type on google search : huaweiFirmwareFinder and install it. selecet what model u want start search.

thats how ı bricked my phone 4 time just coz ı want to root and back to MM .. It didnt work.

But how comes My phone now wıth latest Nougat ıs smoothh very fast . only problem ıs tht ı cant ınstall new themes :D all apps works perfect so

I will stay wıth nougat yet till some1 really take care of thıs. nougat ıs new so there will be solition soon. just patience. so stay at nougat if u want :=)

otherwise u will hard brick it.

cheers
[Huawei P9 Guides, News, & Discussion] mnv12345:
Hi,

I have brick. Fastboot does not work, erecovery, recovery does not work. PC does not see phone. All fastboot command got < waiting for device >. It happenedn after flash stock recovery.img through twrp for MM. Is it possible to fix? Or absolutely brick?

[IMG="brick"]http://s45.radikal.ru/i110/1701/27/87e8e7931f34.jpg[/IMG]
[Huawei P9 Guides, News, & Discussion] rikiki81:
Good evening, I have another problem:

I installed properdata, my data partition works properly. I formatted it and I installed phh su, but my system doesn't boot. I have only a black screen and nothing more. I flashed a boot.img of a user here, but it hasn't camera, keyboards etc. So I'm asking a .zip with stock apps for flashing it or some advice for booting my device. Thanks
[Huawei P9 Guides, News, & Discussion] :
U can download the one for l04 it will work anyway

True but huawei removed lots of zips regarding M

Why would u flash it? U can enter fastboot still just make sure drivers didn't get corrupt

What su did you install? U don't need proper data fix a format should fix it.
[Huawei P9 Guides, News, & Discussion] aidrabmol:
I have same problem:

I have Nougat working.fine.

Them I installed TWRP. P9 works fine

I tryed install SuperSu and receive Data errors.

I installed datafix.zip from Honor 8 threat because in this post I can't find a file to patch data problem.

P9 starts but doesn't finish to start. It's a loop without end.

If I go into TWRP I can install SuperSu without errors.

I can downgrade again and upgrade another time but I can root because I don't see wich file I have to install or how to do it. I'm gracefull with all people that modify TWRP, SuperSu,..... but I can apply it because there aren't a few instructions.
[Huawei P9 Guides, News, & Discussion] rikiki81:
I tried both phh and modded chainfire with no luck. The only way i was able to boot is with the rooted boot.img, but it hasn't a lot of stuff that I need. First of all camera.

Have u got the zip with stock apps that u mentiobed posts beyond?
[Huawei P9 Guides, News, & Discussion] colthekid:
What rooted boot image? You didn't flash the honor 8 one or a cm one did you? That may explain no camera!

Should be able to post the stock unpatched boot image from L09C432B360 (sometime tomorrow probably) if it would be useful, as I extracted it from the update.app, but patching it as per [MENTION=4435346]LastStandingDroid[/MENTION] 's guide is beyond me. I even installed Python to have a go, but the last "programming" I did was in 1986 using BASIC! (Yes I'm THAT old lol!) and it's a bit beyond me. But if someone wants to have a go....
[Huawei P9 Guides, News, & Discussion] mnv12345:
When I connect phone to pc happened nothing, no reaction on pc. How can I enter fastboot? when I try to enter fastboot or try to other actions I see this screen
[Huawei P9 Guides, News, & Discussion] aidrabmol:
Disconnect from PC

Shutdown

Press vol- and connect usb cable to pc at same time. Phone must starts on Fasboot Mode.
[Huawei P9 Guides, News, & Discussion] mnv12345:
I know this. As I wrote, any action lead to "Error! Func NO:11".

If system did not start, erecovery did not start how can I shutdown it?

Now phone is fully discharged and shutdown. When I connect charger, after some mitutes (I did not touch it) phone switch on itself and again "Func NO:11"
[Huawei P9 Guides, News, & Discussion] mihairimia:
This thread is almost imposible to follow!
[Huawei P9 Guides, News, & Discussion] :
Well what u wanna do
[Huawei P9 Guides, News, & Discussion] clsA:
Lol I said that a month ago

I made a summary of what works

Here >> https://xdaforums.com/showthread.php?p=70266853

Maybe update the first post ?
[Huawei P9 Guides, News, & Discussion] OldDroid:
will publish a kernel for L09C (B361) later today here, dm-verity and forceencryption disabled .. so twrp can finally work with /data partition and (phh's) root ..
[Huawei P9 Guides, News, & Discussion] Z-Blade:
This is for ROMs running Mushmellow 6.0.

I just recently rooted my P9 and I agree that this thread is confusing. I ended up googling each individual part and following the steps, the whole process of unlocking, flashing and rooting took about 3 minutes.

Below is a summary of what needs to be done.

- Obtain a bootloader unlock code from Huawei.

- Download and install P9 USB drivers (this step may not be needed since windows was able to download and install the drivers for me).

- Download and install the minimal ADB and Fastboot program (https://www.androidfilehost.com/?fid=385035244224386526)

- Download TWRP 3.0.2.0-EVA from the official TWRP website (https://twrp.me/devices/huaweip9.html).

-Download SuperSU 2.79 (stable) directly from SuperSU website.

- Unlock bootloader (I used this guide - https://www.skyneel.com/unlock-bootloader-huawei-p9-plus)

- Flash TWRP following the fastboot installation guide on the TWRP P9 website (https://twrp.me/devices/huaweip9.html)

- Flash SuperSU 2.79.zip via TWRP recovery.

Special notes: Make sure you backup what you need because after you unlock the bootloader, your phone will get wiped! Make sure the TWRP.img file is in the same folder as ADB and Fastboot and have the SuperSU 2.79.zip file already in your SD card before you start this process.

This is pretty much what I did.

P.S. I did all of this on a Windows 7 OS.
[Huawei P9 Guides, News, & Discussion] OldDroid:
which rom are you on?

6.0 or 7.0?
[Huawei P9 Guides, News, & Discussion] Z-Blade:
I am running stock 6.0 rom, EVA-L09C34B140.
[Huawei P9 Guides, News, & Discussion] OldDroid:
yes, then you won't have problems there, but i think this thread is intended for usage on android nougat, thats where the most problems appear ..
[Huawei P9 Guides, News, & Discussion] :
And just to ask here

How would it let you read data?

It doesn't sound like it is something that's really going to work.

Data is already encrypted so it won't matter if we disable the forceencrypt since partition is already in a encrypted state.

And it has nothing to do with kernel does it? It is all in ramdisk right? And what source would you use (if possible that you build a kernel) do you use.

Removing dm-verity isn't hard neither is changing the fstab to disable forceencrypt. The best way would be to actually get the decrypt function to work.
[Huawei P9 Guides, News, & Discussion] Z-Blade:
Ahhh right. Well, that explains a lot then.

If a moderator is monitoring this thread, please delete everything I posted since its technically off topic.
[Huawei P9 Guides, News, & Discussion] OldDroid:
yes, you are right, this requires /data partition to be formatted, but as long as we have no nougat kernel source, we can't do anything else about it .. even though i will take a look into it later today. Atleast we have the ability to backup and restore /data afterwards, thats what i keep in my mind all the time
[Huawei P9 Guides, News, & Discussion] :
Well we could patch boot to make it disable forceencrypt that should fix it if you wipe
[Huawei P9 Guides, News, & Discussion] Atarii:
[MENTION=4900664]dkionline[/MENTION] 's boot image already has this, so you can just use that: https://xdaforums.com/p9/developmen...-7-0-build-t3540360/post70608912#post70608912
[Huawei P9 Guides, News, & Discussion] Atarii:
Root working with B361 (L09 only at the minute) :)

Download my modified boot.img: https://mega.nz/#!69IlASwI!FjF5rhALGGA_tusum7FdXgnO1R45ZIpdrahNa0UXT-8

Needs an unlocked bootloader.

Method 1

Reboot into bootloader mode

Extract files and "fastboot flash boot boot.img"

Reboot into system

Install phh's SuperUser app from Play Store

Method 2

Copy boot.img to external sd

Download TWRP V2016-12-15 from page 1

Reboot into bootloader mode

Extract twrp.img and run "fastboot flash recovery twrp.img"

Reboot into TWRP (note /data decrypt is still not working currently)

Select "Install" -> Click "Images" -> Go to External SD and select your boot.img

Flash and reboot into system

Install phh's SuperUser app from Play Store

Works with encrypted /data partition and remounting partitions works, so Ad Away etc work fine.

Thanks to [MENTION=4435346]LastStandingDroid[/MENTION] and [MENTION=4900664]dkionline[/MENTION] :cool:

If you want busybox, use JRummy's (I installed to /vendor/xbin)

No responsibility if this doesn't work/breaks your device/eats your cat etc. - make sure you backup your data and have a backup boot/recovery image handy
[Huawei P9 Guides, News, & Discussion] :
Updated op with pre patched boot thanks atarii ! :)

Removed supersu by chainfire link since it doesn't seem to work on p9
[Huawei P9 Guides, News, & Discussion] svtsoto:
wow！！！thx a lot

method1 works on my device!(dl-00)

would you mind if i post your work on chinese forum?

i will mark link and your id
[Huawei P9 Guides, News, & Discussion] Atarii:
Yea sure, no problem :) Although I think they have the kangvip ROM which uses very similar boot image anyway
[Huawei P9 Guides, News, & Discussion] hanniSK:
Works on EVA-L19?
[Huawei P9 Guides, News, & Discussion] Atarii:
Not at the minute - need to mod a L19 boot image
[Huawei P9 Guides, News, & Discussion] elspinat:
Thank you!

Any chance of an MD5 to be able to verify I got a good file before using?
[Huawei P9 Guides, News, & Discussion] richish:
Nice job.

Waiting for L19 modified boot.img b360
[Huawei P9 Guides, News, & Discussion] Atarii:
Yea sure:

md5sum : 8c5e76e584da55063ca93699dcffcfd2

sha1sum: 034bc442fce2e0f5839df61dc8cd64a580e669fd

sha256sum: 5e08b18d48511fd1f9f983be25a154405c8dc5fb32dfc9abbb159e1281fb4827
[Huawei P9 Guides, News, & Discussion] carlese:
Is TWRP needed for something then or can I just update to B361 and then flash the boot.img from fastboot? I'm coming from a Nexus 5 but since I don't want to flash roms and other things, just have root, can I do this without TWRP?
[Huawei P9 Guides, News, & Discussion] elspinat:
Thank you. Flashed through fastboot, no issues :)
[Huawei P9 Guides, News, & Discussion] Atarii:
No it's not needed for root - those instructions are really just for any one who already had TWRP installed (that's how I was)
[Huawei P9 Guides, News, & Discussion] carlese:
Thanks for your answer.. And is the bootloader unlocked needed?
[Huawei P9 Guides, News, & Discussion] Atarii:
Yea, need to flash via bootloader, so has to be unlocked
[Huawei P9 Guides, News, & Discussion] carlese:
Yes, sorry, I mean after flashing it can I lock the bootloader again?
[Huawei P9 Guides, News, & Discussion] Celloke:
b361

b361 will be the latest firmware on P9-L09?
[Huawei P9 Guides, News, & Discussion] Atarii:
Not sure - haven't tried this myself, although am interested to know

It's the most current one, but there is more coming - not sure when
[Huawei P9 Guides, News, & Discussion] Celloke:
i think a week ago i updated my p9 from stock b182 MM bootloader locked,no root and stock recovery to b360 by using HIcare without probs..

now,2 days ago i recived the update (also in HIcare) for b361... this time bootloader unlocked,this twrp in first post and didn't work..

had an error and it didn't reboot... so i locked bootloader again,had to rollbackc to b182 en installed again and updated to b361 in HIcare...

its a kind of struggle but worked ..

so i think (as long you have to update/upgrade in HIcare) i think its still beta??

as i gave my other phones (samsungs and p8) away this is my only phone i have for the moment,and i don't like to struggle again :(

also when bootloader unlocked there is a screen when you boot the device that says its unlocked,is there a way to hide this?
[Huawei P9 Guides, News, & Discussion] carlese:
Ok now i have superuser installed but titanium backup doesn't seem to remove anything.. I'm trying to debloat the phone, titanium says that the apps have been removed but I still see them even with a reboot :(
[Huawei P9 Guides, News, & Discussion] mihairimia:
[MENTION=4081738]Atarii[/MENTION] - can you please do some magic with boot.img from B360 for L19C432 ?
[Huawei P9 Guides, News, & Discussion] Phiver13:
[MENTION=4081738]Atarii[/MENTION] Thanks dude!

You save my live :) For me the second method work perfectly, thanks again!
[Huawei P9 Guides, News, & Discussion] itongx:
Is this TWRP work with P9+ ?
[Huawei P9 Guides, News, & Discussion] Celloke:
which firmware you have?

if stock MM this one i think.. https://dl.twrp.me/vienna/twrp-3.0.2-0-vienna.img

android N still have mount problems !!!

just download Official TWRP app in play store from team win llc
[Huawei P9 Guides, News, & Discussion] :
Try and report back

No you can't due to modifications
[Huawei P9 Guides, News, & Discussion] :
He won't be able to boot into it. Since it's for M and not N
[Huawei P9 Guides, News, & Discussion] itongx:
p9+ with android N B320
[Huawei P9 Guides, News, & Discussion] :
Could u send me N recovery? So i can create a fast port for your device
[Huawei P9 Guides, News, & Discussion] Celloke:
N recovery from P9 is the same as for P9+ ??
[Huawei P9 Guides, News, & Discussion] :
Don't know just try grab your recovery for P9 to make sure it is official
[Huawei P9 Guides, News, & Discussion] M.KK:
STOCK ROCEVERY P9 PLUS N EMUIE 5 C185B320

https://mega.nz/#!JMsClbZY!-3lRm49qlKFtyjl_KxJn1ntHF36uzICFMPwEemqiTJU
[Huawei P9 Guides, News, & Discussion] :
Kudos
[Huawei P9 Guides, News, & Discussion] itongx:
anyway off topic can I go back to MM from N with zip file of MM ? Is rollback pkg really needed ?
[Huawei P9 Guides, News, & Discussion] thel2dab:
So after we flash the new recovery;

1. Mount system and vendor in TWRP

2. Flash the properdatafix.zip

3. Resize the data partition

4. Next mount data or system and navigate to /data and delete su.img

Sorry for all the questions and taking up your time. Please understand we really appreciate you taking the time to help with this. You are a top dev!

:highfive::cool::angel:

Regards
[Huawei P9 Guides, News, & Discussion] :
After resize flash supersu system less zip it'll patch your boot image. But it will make your device not booting if you don't remove the su.img still you can modify add or delete files in system folder which is rather funny.
[Huawei P9 Guides, News, & Discussion] kep2008:
After installing SuperSU in the data, not all the files are displayed and there was no su.img

Loading in system, bootloop ...

Once in TWRP, mount system and data, all of the files on the site, removed su.img

Begin to adjust the phone ...

:good:
[Huawei P9 Guides, News, & Discussion] thel2dab:
Sorry but can someone please link to the latest SuperSu Systemless zip?

I don't want to flash the wrong one.......... :o

Regards
[Huawei P9 Guides, News, & Discussion] :
You can't flash the wrong one sr1-sr4 all works you just need to remove su

But http://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip

It is
[Huawei P9 Guides, News, & Discussion] :
It unmounts data i assume that's why u didn't find it
[Huawei P9 Guides, News, & Discussion] kep2008:
[MENTION=4435346]LastStandingDroid[/MENTION]

It turns out that after removing su.img we will not root?
[Huawei P9 Guides, News, & Discussion] :
Correct since su.img will mount the needed path /su it will make root not working. Tried to use some rc files to help get it working without luck from phone.
[Huawei P9 Guides, News, & Discussion] thel2dab:
So I have managed to follow the instructions and have N booting now with TWRP. However when I try to flash zips they fail because they are unable to mount /system. Is it because we have removed the su.img from /data?

I have made sure system is mounted in TWRP.

Regards

Lee
[Huawei P9 Guides, News, & Discussion] :
Try remount them again. What zip are you using?
[Huawei P9 Guides, News, & Discussion] thel2dab:
It fails to mount system even when I mount again.

The zip is here. https://www.androidfilehost.com/?fid=457095661767118426

Thanks

Lee
[Huawei P9 Guides, News, & Discussion] chm1989627:
sorry to ask same question,

1- flash twrp recovery

2- boot into twrp

then here is my question :

my phone cann't connect pc ,also i cann't use adb sideload to flash properdatafix.zip

and twrp cann't read internal card,so how can i flash properdatafix ?(i have mount system data vendor,did i do samething wrong?)

forgive my poor english
[Huawei P9 Guides, News, & Discussion] kep2008:
You removed apps from the system?

The size of your archive 103 MB, i think the system is not enough space that would install these apps.
[Huawei P9 Guides, News, & Discussion] thel2dab:
I didn't make the zip I found it on XDA. But it seems to remove the system apps like dialer but fails to install the replacement apps. I will try a smaller zip in a little bit and report back.

Regards

Lee
[Huawei P9 Guides, News, & Discussion] and-roid007:
i have successfully installed twrp and everything is ok.but when system boot there was no keyboard or camera...i think it is because when we resize /data it formated.am i right?and when i want to flash hw_data_full_meanfaf to get vendor apps back twrp shows error 127.
[Huawei P9 Guides, News, & Discussion] kep2008:
Try, after being loaded into TWRP, mount /system and /data, and then install the archive.

To me helped ...
[Huawei P9 Guides, News, & Discussion] :
That's normal I forgot to write a not working list I'm on it.

Yes he needs to resize it.

Yeah check your device system space. Can be too small.

Hmm afaik it can be the reason just boot into system and put zip on your storage and reboot recovery and flash

The data is not formated. It'll stick

Great
[Huawei P9 Guides, News, & Discussion] and-roid007:
i puted zip file on external storage rebooted into twrp and flashed but shows error 127(mount -o ....)

anyway, thanks,you are a great man
[Huawei P9 Guides, News, & Discussion] richish:
cant repair and resize DATA error 4!!!

Phone is not booting

Now will try to flash N with TWRP
[Huawei P9 Guides, News, & Discussion] :
Did u flash data fix?

The error is related to sdcard mount bind dir sdcard nothing to do with system
[Huawei P9 Guides, News, & Discussion] :
Nope u need to flash updater.app
[Huawei P9 Guides, News, & Discussion] maliniaka:
I tried to install arise leviticus, but i have error 1 in twrp :( Anyone installed this sucessfully?
[Huawei P9 Guides, News, & Discussion] :
Try

https://xdaforums.com/showthread.php?p=70671945
[Huawei P9 Guides, News, & Discussion] M.KK:
This recovery is not mout the partition.

I am try a long time ago;)
[Huawei P9 Guides, News, & Discussion] itongx:
I'hv flash EVA-L19C636B361 without any issue but after reboot , no camera , keyboard etc., then install twrp to flash zip both files but result still same. So what should I do to get back those apps ?
[Huawei P9 Guides, News, & Discussion] clouds5:
Big thx! Root and TWRP working on B361 <3

But now I'm trying to move this app to system/app to make it a system app, yet it always fails. Tried in twrp and different root explorers. Is it not possible atm?
[Huawei P9 Guides, News, & Discussion] itongx:
on p9+ right ?
[Huawei P9 Guides, News, & Discussion] clouds5:
No I'm on P9 L09 single sim. I found an app that let's me convert apps into system apps! But I want to create one from apk, at least that's how I always did it before.
[Huawei P9 Guides, News, & Discussion] itongx:
'

just update quick finding , just try to flash B150 over B361 with twrp after long booting seem I get B150 back online.
[Huawei P9 Guides, News, & Discussion] :
Isn't mounting what partition?
[Huawei P9 Guides, News, & Discussion] Celloke:
yes..

i had to rollback with pakkage
[Huawei P9 Guides, News, & Discussion] M.KK:
Hay sorry about that I think you told to me link guide.

I am not try this I try and told you.ok:highfive: