yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You should make at this point Factoryreset, delete your accounts, delete your Fingerprint and PINs. Reboot phone.

After enable Developer Options (settings /about phone 7x klick on Build Number - enable OEM Unlock.

Then do from settings /advanced settings /backuo restore /Factoryreset with wipe of internal storage.

After you make just a short setup without Google Account and with no Pin or Fingerprint.

Charge your phone, it should have more than 50% or just connect it with charging cable.

Your SIM must be inserted and you should receive OTA to higher Firmware.

b393 perhaps, b394, b395. Do all OTA Updates.

Dont root before. Tomorrow if you have done all the OTAs I give you Link for my SuperSU 2.82 SR5 for Emui (it's newer than in OP - I will post it also there tomorrow )

(Its Midnight in Germany)

And soon you have Root then I give you Link for repair and calibrate Battery.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
Thank you so much man ...im from greece i update my ota till the end i will send you for root
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Your welcome

Okay, and we talk about Root tomorrow :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
my friend all is done my firmware is b395 now what:confused:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] McSvenster:
Thanks, so far, so good, this worked fine :)

Now I can unlock bootloader and flash TWRP.

But where can I find the right files for my EVA-L19 to

Anyway it's fun - thanks for your help so far!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I will answer all your questions after work in some hours
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] crazyray:
Hi,

It doesn`t seems to work for me :(

I downloaded and installed SU from this thread en TWRP from the appstore.

I downloaded the TWRP image from this thread.

Everytime I tried to boot the image in Command Prompt, I get this message.

target reported max download size of 471859200 bytes

sending 'recovery' (25282 KB)...

OKAY [ 0.563s]

writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.579s

Entering fastboot working well, but then it stucked for me :(

I`m on Android 7.0.1 en EMUI 5.0.1.

Build C432 B395
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You must download the right TWRP - not from App Store and not from official TWRP site.

TWRP for P9 is linked in OP.

TWRP for Huawei P9 Nougat you can find here - with Decryption Support by Recognized Developer OldDroid: https://xdaforums.com/p9/development/twrp-t3565703

I have updated Thread (Post #1 OP) with SuperSU 2.82. SR 5: https://www.androidfilehost.com/?fid=673956719939815322

Look into your settings: Developer options must be enabled and inside: OEM-Unlock - ADB Debugging and USB Debugging, as well as in settings/advanced settings/security "Allow unknown sources" PC should have the driver installed for connecting Phone in Fastboot Mode.

Make a TWRP Backup of - boot.img - data - system -vendor - before flashing SuperSU for EMUI 5.0.1 - if it does not work, you can restore
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] McSvenster:
Is your device frp locked? In fastboot you should see both, bootloader and frp unlocked (red) on the screen of your phone.

Then you can allow flashing of a custom recovery with

fastboot flashing unlock_critical
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=727469]crazyray[/MENTION] Look into Post https://xdaforums.com/showpost.php?p=75350229&postcount=485

Please wait until I have time to give you further instruction. I am on work today and will write you everything tonight (yesterday I had not the time and it was to late for me, because if have to stand up early in the morning)

It would be good to update your Firmware to the latest b397 - because this has battery optimized and 3D Feature in Camera App. I make a zip tonight and upload it (2,5 GB) - with this you can update to latest Firmware and must not wait for OTA (which comes not before next weeks).

After you have installed latest Firmware, you can Root - the newest SuperSU for EMUI 5.0.1 is now in OP.

You can do the steps from here: https://xdaforums.com/showpost.php?p=72153575&postcount=2

It will work.

Anyway, I have a optimized description, but had not the time yesterday to change it. So if you want wait, just do it with this steps from this Link :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
[MENTION=6870018]Tecalote[/MENTION] ok my friend i will wait your instruction i wont do anything further
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] crazyray:
[MENTION=6870018]Tecalote[/MENTION]

Thanks for the update and help bro!

I will try it later today, now my daughter is to busy with my phone :)

---------- Post added at 05:00 PM ---------- Previous post was at 04:33 PM ----------

Phone is locked green ( I already unlocked fingerprint and pincode)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You must get Unlock Code from Huawei and flash Unlock Code with adb to get Bootloader unlocked.

For this step OEM Unlock must be enabled in Developer Options and also ADB Debugging and USB Debugging must be enabled.

After Unlock Bootloader automatic Factoryreset.

In Fastboot is on Screen then FRP unlocked and Phone unlocked in red color to see.

After you can flash TWRP from OP
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
[MENTION=6870018]Tecalote[/MENTION] ok man i will wait
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Fingerprint and Pin for your screen have nothing with unlocking bootloader

You must register at Huawei and obtain a code to unlock bootloader. Without, you can't flash anything.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] McSvenster:
@Tecalote Thanks for help! My phone is back to stock with the correct oeminfo and just receiving updates!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] crazyray:
I thought I already use the bootlock code with adb. Probarly not the right way.

Anyhow, so far so good. I installed twrp :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The zip I have created for updating your L09c432 b395 to b397 is currently in upload and will be ready for download in about two hours.

I will post Link here after and write you the steps including root.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
Ok my friend i'll wait.keep in touch
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
Μy friend all are perfect !!!!:highfive::):D thanks a lot for your job !!!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
HI Tecalote. HWOTA.zip have only 3 zip files(from firmware finder) or did You modify these files?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
[MENTION=6870018]Tecalote[/MENTION] my friend i have to question...1st i have an issue with battery drains and 2nd i dont have all signal options ( lte only, lte/3g etc) only those https://imgur.com/a/ysNTU ...do you have any solution
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
For Battery:

A) Install first this app:

https://play.google.com/store/apps/details?id=com.bat.lifebattery&referrer=utm_source

Open it and let make repair of cell map

B) Install this app:

https://play.google.com/store/apps/details?id=com.newagetools.batcalibra&hl=de&referrer=utm_source

Wait, until your Battery is 15% or 10%. Now open this app, grant Root Permission and let do calibration of battery. Soon process is finished, your phone will shutdown.

Now connect phone with cable for charging and don't start the phone before it is 100% charged.

You can look sometimes how much it is charged (short tap on power button)

C) After you start your phone again open Phonemanager /Akku (Battery) and set up close Apps after screen lock (which you don't need all the time - except WhatsApp and Apps which should receive Push notifications (this apps don't close by screenlock and also not SuperSU.. )

Disable Bluetooth (and enable it just if needed), disable NFC and open settings /advanced settings /location service and change it to Battery saving mode (only WLan and mobile network)

About signals

In cust 432 Nougat there are not more signals available. We all have the same.

Let it as is by default or change it to 3G (saves also Battery) - in this case Volte must be disabled in settings /more /mobile network (then you have perhaps more possibilities in signals)

but phone will change automatically signal if you call someone for example or if a connection is not available
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Hello, a question, can you explain how to unroot my Huawei P9, the one with superSU? Because when I'm in twrp send an error boot.img.. Thanks

________

Hola, una duda, me pueden explicar como desrootear mi Huawei P9, el que esta con superSU? Porque cuando estoy en twrp envia un error boot.img.. Gracias
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can flash unsu.zip - but after flashing this you must immediately restore/flash your unmodified original boot.img from Firmware /Rom you are currently using! - before you reboot to system!

https://xdaforums.com/attachment.php?attachmentid=4311142&d=1508717474

The second possibility is making Unroot directly from SuperSU App - Unroot - restore Stock boot.img: yes!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Thank you very much. I have the stock ROM of Huawei P9, where, in which route I find the boot.img, I can not find it. ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Tell me your build number (settings /About phone)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Eva-l09c432b395
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I upload the boot.img tomorrow.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Thank!!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Here is L09c432b395 boot.img:

https://www.androidfilehost.com/?fid=962187416754456775

MD5: 2823243fc0117134bdf74e07e7e2dc1c

What is the next step you want to do after Unroot?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
HWOTA.zip is not the same as OTA but it has same effect than OTA

You mean OTA files, yes they are always 3 zip files - but you cannot install them with dload method, cause they are not FullOTA-MF-PV but only FullOTA. I would never recommend to install OTA with Firmware Finder. Firmware Finder is good for finding and download Firmwares, but not for installing unapproved Firmwares. It can brick your device.

My HWOTA.zip is complet different and without risk.

It contains a folder with the correct Firmware Number - in this folder are the 3 original firmware zip files

It contains the special Recovery by atarii

It contains the hwota_update.zip - inside is only a script which tell TWRP whats to do.

So you flash only the hwota_update.zip with TWRP from the unzipped HWOTA folder and nothing else. After Phone makes automatically reboot, flashes automatically EMUI Recovery and install automatically the 3 firmware zips.

This can be used for updating current Firmware same as for going back to Stock Firmware from Custom Roms.

For more information look here: https://xdaforums.com/showpost.php?p=74913874&postcount=3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Yes i know. I am install b397 via ff and atarii recovery. For me working. I am wait for mrv3. 1 on second phone :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
One last doubt .. What are the steps to follow with that file, boot.img, that you sent me? regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You asked me here - and I answered you:

You can flash unsu.zip - but after flashing this you must immediately restore/flash your unmodified original boot.img from Firmware /Rom you are currently using! - before you reboot to system!

https://xdaforums.com/attachment.php?attachmentid=4311142&d=1508717474

The second possibility is making Unroot directly from SuperSU App - Unroot - restore Stock boot.img: yes!

So, if you want to Unrooot, download UPDATE-unSU-signed.zip from the Link I give you and copy it to your external sd.

Download also the boot.img (rename it to boot.img) and copy it to your external SD

Boot to TWRP and flash first UPDATE-unSU-signed.zip - after dont reboot to system, go back to main menu to install:

In the right corner below choose: Install Image, navigate to the boot.img - you will be asked, to which place you want to flash - choose: boot

After reboot your phone.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
So, if you want to Unrooot, download UPDATE-unSU-signed.zip from the Link I give you and copy it to your external sd.

Download also the boot.img (rename it to boot.img) and copy it to your external SD

Boot to TWRP and flash first UPDATE-unSU-signed.zip - after dont reboot to system, go back to main menu to install:

In the right corner below choose: Install Image, navigate to the boot.img - you will be asked, to which place you want to flash - choose: boot

After reboot your phone.[/QUOTE]

Thank you very much! I needed to know to update my Huawei p9 by ota..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you want to update with official OTA - you need also original Stock Recovery installed

L09c432b395 original Recovery is here: https://www.androidfilehost.com/?fid=890129502657579239

You cannot flash this Stock Recovery with TWRP by choosing img to recovery - it does not work properly

You must flash it with adb - same as you did with flashing TWRP

official OTA is not possible with installed TWRP.

The only way to update with installed TWRP is this method: https://xdaforums.com/showpost.php?p=74913874&postcount=3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Thank you very much .. I ask you the last question, it has nothing to do with the subject, but you know a lot. I'm thinking about installing the Rom MOOnlight, it suits me or I still have stock Rom. Greetings and thanks for everything.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Sorry, but I cannot decide for you ;)

Have you ever used Custom Rom?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Why not Magic Rainbow v3 - at least (not the last), you will have the same excellent support :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It's very easy with MRv3. Bootloader must be opend, TWRP installed.

If you are not rooted just wipe with TWRP /Advanced Wipe: Dalvik/Cache and Cache and after flash Rom. (If you want to start clean, wipe also data)

Reboot, first start maybe 8 min, then setup and settings.

Done. Just read about Updates in OP in context to the installed Edition. (SuperSU or Magisk)

But if you feel more comfortable with Stock Firmware - for me no problem :o
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Just follow detailed and precise instructions

https://xdaforums.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
About signals...the other day something happen like an auto reboot and all network choises appear and work perfect ...what you think that happen?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes this is my magical energy for sure :D

Don't think about - the main thing is that it works properly now :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Can you please post a screenshot of your 'all network choices' (if you now have more than those four as in your previous post - because I also have only four options as attached). Thx
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
There aren't more choices for most regions in cust 432!

Perhaps in some other regions and other mobile networks are different frequencys available.

I didn't change anything in MRv3 to network, it's the same than on Stock Firmware.

However is it OT here as many other things :silly:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I know that you didn't alter in MR, I always had (with stock, too) only the four options.

I was just wondering what [MENTION=6324579]telis_aigina[/MENTION] have more, with which cust and maybe on which network
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
hello, I followed the steps you gave me, but when unroot and restart my phone does a bootloop and does not start, to restart it I have to reinstall the SuperSu v2.82 Emui5-selp Pemissive
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay - I have a new insight since today

Things has been changing....

A while ago it was possible to flash boot.img from update.app after Unroot.

But now it isn't anymore.

If you now flash this boot.img after Unroot you get a bootloop.

The only way is restoring Backup from boot partition with TWRP. If you have one made from the Stock Firmware - before you rooted your Phone..

You should have this, because I wrote it already in OP.

It's really important to Backup Stock Firmware before Rooting (all shown partition in TWRP by Backup function) especially BOOT.

I have tested following:

Installing Stock Firmware

Flashing TWRP

Backup boot

Converting boot from boot.emmc.win to boot.img

Boot.img from TWRP has another md5 than the one from Update.app - it's same boot.img but different in sign.

After Unroot, the TWRP backup boot.img can be restored and you can boot to the system.

With boot.img from update.app you can't...

Okay, you have L09c432b395.

You can do Unroot from SuperSU App on Homescreen - SuperSU App will ask you twice if you want to restore your Stock boot.img - say YES.

Phone makes automatically reboot and should restart to system without any issues.

Because SuperSU restore the same boot.img which TWRP would make if you would Backup boot.img before Root (same md5)

That's interesting for me and brings me to a lot of ideas.. :cool:

If you are successful unrooted - what will you do then?

Staying on b395?

Flashing Custom Rom?

Or update original Huawei Firmware?

If last one - you must flash EMUI Recovery over TWRP and do a Factoryreset from settings /advanced settings /backup restore (last point in menu) with wipe of internal storage.

Only with this step you have certified OTA Permission back.

Or you use my method for upgrading Firmware instead:

https://xdaforums.com/showpost.php?p=74913874&postcount=3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
? no, I forgot to make a backup, then, the only way to update my firmware is to install a custom rom?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you want to update your Rom, make a Backup with Huawei Backup (except Chat-Apps and Phonemanager) and copy necessary files from internal memory (like WhatsApp folder, DCIM, Downloads etc) to a folder on PC or external SD.

Then use the Link for updating your Firmware with my method - Unroot is not needed.

https://xdaforums.com/showpost.php?p=74913870&postcount=2

Use HWOTA.b397 for L09 update zip and flash exactly how written in the post

After restore your backup if necessary and copy your folders back to the main directory of internal Storage (if they should be deleted after upgrading)

But skip this steps, if everything is same as before updating.

I am thinking you read not all, what I have written..

I wrote every possibility you can do..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Sin, sorry, but this hwota method does not work for me, when I write the commands it throws me an error and I do not have as much knowledge to better explain the type of error ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
My method needs no write any commands to anywhere!

Read the instruction from the Link I already give you 3 times, even in my last post.

Open the Link with your browser, read the instruction and download the file from my Post

EVA-L09-c432(b397)HWOTA.zip

Make Backup before
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
One User wrote here about my method:

"Really sorry to be quoting the whole post, but I decided it's worth it. I updated L19C432 to B398 in under 5 minutes, no data loss, no errors, no boot loops. Just pure success.

This guide is really invaluable. Definitely the easiest, least risky and straight forward way to unbrick and probably most importantly update to ANY firmware version ANY TIME.

https://xdaforums.com/showpost.php?p=75464615&postcount=419
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Great, I did it, upgrade to b397. Thank you very much and sorry is that my English is bad. One last question, is there a way to update according to that method and that the data is not lost?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you now on Stock b397 you will receive OTA Updates (if you don't install twrp and don't Root)

The Updates don't delete your data
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Hello, a question, how can I use this same method with the b398 update, but without losing the data?

I have twrp and root

Thank
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
b398 is not yet approved, hence cannot be upgraded to by Over the Air.

[MENTION=6870018]Tecalote[/MENTION]'s method does not provide HWOTA for b398 (yet):

https://xdaforums.com/showpost.php?p=74913874&postcount=3

but it was based on no-check recovery, you can use that method directly to update to b398:

https://xdaforums.com/p9/development/eva-nocheck-recovery-flash-unapproved-t3705125
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Thanks for answering.

I will provide b398 zip during the next days - to complete it :)

Difference in my method is - you need no Root and must not enter commands in Terminal

[MENTION=6732871]polosmoke[/MENTION] Normally you loose no data with this method.

Only if you are coming from earlier Firmware like b386, which was based on EMUI 5.0 and you updated to b397 which is based on EMUI 5.0.1 for example - Bootloader get closed and that's why Factoryreset..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] juniorvgf:
Thank you so much!!!! @Tecalote :good:

The phone works again after the "format data" command. However, I can not do the root. Magisk displays the installation error and reports the following:

- Insufficient boot partition size detected

- Boot Image patched by other programs

- Please restore stock boot image

What can I do? I need root just to install "core gms" because my device did not come with Google applications and does not accept the installation without the core.

I have the bootloader enabled and I use the TWRP you mentioned (Honor_6A_XN_Logos). The Build Number is Delhi-AL10C00B160.

---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------

Thank you so much!!!! @Tecalote :good:

The phone works again after the "format data" command. However, I can not do the root. Magisk displays the installation error and reports the following:

- Insufficient boot partition size detected

- Boot Image patched by other programs

- Please restore stock boot image

What can I do? I need root just to install "core gms" because my device did not come with Google applications and does not accept the installation without the core.

I have the bootloader enabled and I use the TWRP you mentioned (Honor_6A_XN_Logos). The Build Number is Delhi-AL10C00B160.