yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
SuperSU 2.82 UPDATED - NEW PATCHED Download: #231

Hello all together - I have patched the SuperSU 2.82 once again, just to be sure there is no bug in sepolicy. You can find the new Download-Link in #231 (same Post where I linked the first version, now it is the new Version linked.

If you did not have problems with the first 2.82 Version of SuperSU and it is correctly installed - just leave it! But if you had problems after installing the fist Version, you should do following steps:

1) Look into your settings: Developer options must be enabled and inside: ADB Debugging and USB Debugging, as well as in settings/advanced settings/security "Allow unknown sources"

2) flash new TWRP 3.1.1.0:https://github.com/OpenKirin/android_device_huawei_eva/releases/download/3.1.1-0/twrp-3.1.1-0-eva.img

3) Copy SuperSU 2.82 for Magic-Rainbow to your external SD: https://www.androidfilehost.com/?fid=817550096634773262

4) Open old or not properly working SuperSU and make a "complete Unroot" - when SuperSU ask you 2 times "Do you want to restore original boot.img" check: YES

5) Phone reboots - but it cannot reboot to system!!

6) Instead booting to system you come into Huawei eRecovery - just make SHUTDOWN

7) Press VOL+ with the finger of your left hand and press it all the time and with the finger of your right hand press Power Button.

8) Phone boot up and soon as Huawei Logo is shown on screen, release the Power Button but stay pressing VOL+ the whole time until you are in TWRP.

9) Flash SuperSU 2.82 for Magic-Rainbow

10) Phone boots up now two times and will finally boot to system.

11) search for SuperSU on Homescreen - its not on your usual place, its somwhere else on homescreen - open it and you should have now clean SuperSU 2.82

Do this steps just, if you had problems with 2.82
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I can not unroot with restore boot.img from supersu.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added at 01:50 AM ---------- Previous post was at 01:43 AM ----------

Tecalote. Do you have stock boot.img? Can you send me?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
you can try to flash the new 2.82 which I made one hour ago (linked in previous post) - its another, new one.

Yes, I have the boot.img, but first try this
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
2.82 still not update binary for me

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added at 01:58 AM ---------- Previous post was at 01:58 AM ----------

I try restore boot.img from backup(only boot)

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Good idea, but after you must flash 2.82 without reboot between
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
But I can not do unroot in supersu with restore boot.img.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added at 02:11 AM ---------- Previous post was at 02:02 AM ----------

New twrp i am install too recovery partition. This is good yes?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=5901491]scaniathe[/MENTION] Yes, TWRP is a Custom Recovery and the place is recovery.

If you don't get 2.82 to work, you must reinstall the Rom with the wipes described in OP.

And after doing the Unroot as described.

Then flashing 2.82.

It's little bit difficult with VIP Settings which you have installed..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Only reinstall or i must back to stock and reinstall?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Just wipe with TWRP Dalvik, Cache, data, system and flash the Rom new.

After first start make Unroot with SuperSU.

Phone restarts, but can't boot to system.

It boots to Huawei eRecovery. Shutdown Phone!

With Vol+ and Power boot to TWRP and flash SuperSU 2.82 (it must be on your external SD)

After search for SuperSU on Homescreen.

Open it and it should be 2.82

Make Upgrade from SuperSU to Pro and update it with Playstore (cause you have already bought)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
have tried to do so in this rom and the supersu have a grudge to restore stock boot.img.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added at 10:46 AM ---------- Previous post was at 10:23 AM ----------

How to supers restore boot.img without backup?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=5901491]scaniathe[/MENTION] Make the steps from #246 exactly as I said.

I did it by myself yesterday and it works.

If it doesn't work by you - you make something wrong.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I can't install 2.82. I need stock boot.img.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added at 04:18 PM ---------- Previous post was at 04:18 PM ----------

Tecalote can you send me?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You have the Rom zip - unzipp it and inside you find the unmodified, original BOOT.IMG of b383
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Now is ok. I reflash rom 3 times. Now is ok. Binary working. Tecalote do you have white text android bootanimation in magic rainbow?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=5901491]scaniathe[/MENTION] No, I don't have white text android bootanimation in magic rainbow...

Hopefully you didn't wipe more than Dalvik - cache - data - system!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
No. Am look now and I don't have camera app and update system menu :(

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Ohle76:
Did you install tw3.1.1-0? I currently have the same problem. I am looking for the problem.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I look also for the issue with the camera app and post it here next I found the answer.

About SuperSU 2.82 I would say, it's not stable. This is not my fault, but I think it is better to wait for the next official release and stay on 2.81

Except User who have it already and have no problem with it.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4656504]Ohle76[/MENTION] and [MENTION=5901491]scaniathe[/MENTION] The camera is not a part of the Rom.

It is in a part of the Firmware

/data/hw_init/product/app/HwCamera2/

So maybe the new TWRP is buggy - normally (the older version) it does not wipe this path: hw_init

But now it seems!

So maybe downgrade TWRP until it is fixed.

And for hw_init I send you later a zip to reflash things are there - but I need from both phones the build number
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I downgrade all.b136,b182, now may i flash b383 over twrp 3.1.0.3?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It was not necessary to downgrade - I said some posts before that I find a solution.

I make a zip which bring the list apps back.

The developer of new TWRP has forgot to exclude necessary path from data wipe

You can read here:https://xdaforums.com/showpost.php?p=72499826&postcount=462

New TWRP will be updated soon.

But now it is too late - you already did the Downgrade...

You cannot install 3.1.0-3 TWRP on b182 - cause it works only with Android 7.0 not with 6.0

In my first post (OP) you can find the way up to b383!

Its a long way :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Super SU 2.82 for Magic-Rainbow will be updated soon, I have got the necessary tip from Mate 9 Development - you can read here:https://xdaforums.com/showpost.php?p=72499798&postcount=135

So, don't use actual version, wait for the update!

Edit: Update is ready, but will tested during today - after it will be linked in OP

TWRP use please the previous one (not the newest from TWRP Thread) - use this:

https://www.androidfilehost.com/?fid=817550096634773521
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Hi. Temporary i am install renovatio b182. Im tested it. :)

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I must return to home. Because i am in roaming. In laptop i have linuxmint and huawei updater not work.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I see now in roaming 4g data not work. In b182 working good

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I have big problem Tecalote. My recovery install automatic 7.0 nrd90 test keys I don't now whay(install from b182 renowatio) and phone brick. What now. Please help:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This TWRP uses always this Backup Name as default, because it don't look to build Number. So you click just in TWRP on Backup Name and instead of "Automatic" you type another name.

Important is the build number in settings "about the phone"

and not which default Backup Name TWRP use
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Final SuperSU 2.82 for Magic-Rainbow

Now SuperSU 2.82 is final complete new updated 07.06.2017

Dont flash it over existing Root - you must do following steps:

1) Download and copy SuperSU 2.82.zip to your external SD: https://www.androidfilehost.com/?fid=673368273298962637

2) Open SuperSU and make inside the App "Complete Unroot"

Restore Stock boot.img: 2x YES

3) Phone restarts - AND IN THAT MOMENT - press VOL+ Button the whole time, until TWRP is booted up

4) flash SuperSU

5) Reboot - without wiping Dalvik and Cache

6) Search for the SuperSU App on screen - open it and your done!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] swedenboy:
Hi

can I make unroot completely then flash magisk (for safetynet using) using this method?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Sorry, Magisk will not work in this Rom for safetynet green..

And some parts of K-Settings also not.

Maybe we implement Magisk in the future into this Rom!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] thecleanse:
2.82 root question

Sorry but I cannot restore the stock img from supersu app.

It fails ..

Anyone can help me please?

Thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If restore of Stock boot.img fails with Unroot from SuperSU

Hi :)

Do following steps:

1) keep SuperSU for Magic-Rainbow on external SD

2) Unzipp Magic-Rainbow Rom.zip - you find inside boot.img

3) flash with ADB in Fastboot Mode the boot.img

(fastboot flash boot BOOT.img)

4) Disconnect USB from device - don't restart to system

5) Press Power Button and same time VOL+

Phone restarts, soon you see Huawei Logo release Power Button, but hold pressing VOL+ all the time until you boot into TWRP.

If you find not the right moment Phone reboot instead to Huawei eRecovery. Don't worry, just Shutdown. After boot again with Vol+ holding pressing and Power Button into TWRP!

6) With TWRP flash SuperSU 2.82 for Magic-Rainbow

7) Reboot system without wipe Dalvik/Cache

Phone boots up two times, second start your P9 into system

8) search for SuperSU App on Homescreen, open it

You have 2.82 and successful rooted!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] thecleanse:
2.82 root question

Problem solved following your advice.

Thank you very much for your support :svetius:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Huawei give me update to b378 (from b182) from hi care (not ota). This is Nougat or top secret b220?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi - if you get an Update to b378 do this, if you want to go to Nougat.

b220 is not Nougat, it's updated Marshmallow (but from there I think isn't an update to Nougat)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I back to magic rainbow. However b182 renovatio is good.

Although I can not decide because in 7.0 there is no xposed :)

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Don't install OTA b387 over this Rom

There's the new Update b387 available with OTA.

You cannot install this over this Rom!

I have disabled Automatic Systemupdates in Developer Options and also in the settings of Systemupdates.

I will update soon this Rom to b387.

After the new Rom is finally available - everybody must go back to Stock b383 and then update to Stock b387.

After it is possible to flash the new Rom.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Iam update from b182 over b220 to b386 with locked bootloader. This is one way oficiall.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Ok. I am unlock bootloader, flash twrp and rooted with 2.81. I am wait to b387 magic rom :)

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Will come soon :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] maiki1:
good news :good::good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
hey chief thank's for the work..

got a problem to install your rom...I'm on stock B378 rooted and try to update manually to B383 firmware with dload method, like explained in the thread...after flashing the 2 files (1st only updateapp, and 2nd all files) I'm still on B378 firmware but without root...how can I solve this

thank's
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello Sir, I think it's cause since short time is a third zip necessary to install:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v81548/f1/full/public/update_data_full_public.zip

Same as hw_eu zip to install.

And update, after you flashed my Rom and first boot up, setup you must root with SuperSU 2.82

as described in this Thread (Unroot...)

https://xdaforums.com/p9/development/root-supersu-2-81-emui-5-t3612258

Take the one for KangV Roms

But note: In perhaps two weeks I update my Rom to b387 and its necessary to go back to Stock b387 before flashing the new Rom then.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
thank's for your prompt answer, but after the flash, I'm still on B378

but during the 2nd and 3rd flash the update still stick on 5% during long moment and after 2 or 3 mns the phone reboot....

maybe the problem come because I forget to re-lock the bootloader????

Or do i have to factory reset before the flash????
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I think it is not necessary to relock Bootloader, cause if it is EMUI Installing would do this.

Yes, Factoryreset is necessary.

dload:

1) Then first the update.app from update.zip

2) The files from unzipped public zip

3) the files from hw_eu zip

I haven't tested the steps, because I was going yesterday first time to b386.

But there was a User here coming from b386
[MENTION=7786725]zgfg[/MENTION] - may you can ask him for further information.

If it doesn't work there's an unofficial way:

You can flash all three zips with TWRP (ignore some error messages)

One after the other (not all together) but without restart the device between. (1,2,3)

After the last you can reboot -it should work.

I don't know if b387 has some blocking for downgrade

From b386 it was possible
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
no more emotional for today.....will stay on B386 and maybe try to root, but if it's as always, get passed on fastboot but without TWRP.......

no downgrade and will wait for B387 for now

thank's
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
[MENTION=6870018]Tecalote[/MENTION] thanks for a very good ROM. Not that long ago I got a P9 as my Galaxy S3 is slowly dying. I tested few different ROM's but this one is my favour as it has most of the functions I need, has everything working and more over is stable. So far I'm using both phones, but soon I'd like to finally switch to P9 only. In this case I'd like to ask if it will be possible to upgrade it to newer version (once it will be released) without loosing all settings and apps already installed or will be required a fresh, clean install ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, it is not faraway I'll update my Rom.

But it is important to go back to Stock b383 for all using this Rom and update to official Firmware.

I will update OP then and write down the necessary steps.

Because it's not possible with Custom Rom to change some firmware specific areas like Fingerprint Scanner.

But you can Backup your Apps and data with Huawei Backup on external SD and with Titanium Backup too.

You can restore after going back to Stock, update Stock, flashing new Rom all User Apps - but no system apps and system settings and no Chat Apps (because Notifications from it will only work if fresh installed and registered)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Thank you for quick response. In this case I'll wait until new firmware will be available for download and then back to stock + new version. More job but I hope it will be worth to do this.

Anyway - will I understand you properly that it won't be possible to use apps like Viber or WhatsApp from a TB copy? If I'll install them as a new apps (from Play store) will be possible to restore the data only from TB or not ? Last question - is it always like this, that the new version of your ROM will need back to original stock and then upgrade + new install or new version or it's just only this time ?

I thing some other ROMs for P9 can just flash in TWRP over old version (of same ROM of course) or I'm wrong ? Please don't get me wrong - I'm not complaining - just gently asking ;) Thanks.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Hi. Before trying this rom I want to know how can I go back to stock rom .
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Don't try it yet - wait for the next update.

I will post in new updated OP also the steps going back to Stock Firmware.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The best combination is - if your Firmware is b386 and the Custom Rom is based on same Firmware.

Means best quality.

Sometimes its also necessary to get Fingerprint Scanner to work. Because this Firmware Area cannot be touched by Custom Rom.

Chat Apps like Viber and WhatsApp have an inbuilt Chat History Backup function. You can backup it on Google Drive (Settings Chat Backup)

Install it from Playstore, open it, registration your phone number again and Backup will be found and you can restore.

Only thing - keep folder from WhatsApp and Viber from internal Storage.

If you wipe internal storage, backup these folders and copy it back to the same place.

This way Push Notifications will work properly.

Not so, if you restore data from a local Backup like TitaniumBackup.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] J3zz:
Hi tecalote, is there anyway to disable Audio warning in nougat ? I'm using macrodroid to change music, warning comes time to time and disable volume up automation.

Thx for answers.

Jezz
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Which audio warning to you mean?

In settings you can change a lot, even which tones and how loud - I haven't tested macrodroid
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] J3zz:
hi,

this warning:

https://www.xda-developers.com/how-to-automatically-disable-the-high-volume-warning-without-root/

we don't need to use tasker or anything else, in Marshmallow option is in Build.prop. not anymore in nougat :crying:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lascuarenta79:
Thanks in advance... I ve a question, if I'm in EVA-L09C432B386 is't a obligation for me to do a downgrade to B383?

Is't hard to do? Sorry because maybe I'm asking something stupid but i'm a rookie in this thing... Thank you again...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
One User tried it with b386, but Fingerprint Scanner and Developer Options don't work.

Wait for the Update of the Rom - and stay first on b386
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lascuarenta79:
This is a fast answer!!!! Great! Thank you!!!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mihairimia:
[MENTION=6870018]Tecalote[/MENTION] - any ideea when update is coming and what will be the base ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Base will be b386 and comes in some weeks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hfmls:
Will you update?

Enviado do meu EVA-L09 através de Tapatalk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
Do you read 1 post up????
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Hello again, finally I got rid of my old galaxy S3 and started my adventure with P9. I installed this ROM using guide provided in this thread and everything is working flawlessly so far.

Anyway I've few questions.

1) backup - I'd like to do a full nandroid backup of my Rom with all settings and apps installed. In TWRP there is much more to select now than I had in old Samsung so can anybody tell me what should I pick to get best copy? (everything excluding cache?) Simple saying I need a copy which can I flash if something will go terribly wrong and will save me time to installing everything again.

2) today I spotted there is an OTA update to B386 available in settings. Is it safe to install it? Will it not affect this ROM? Or what can happen if I install it?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
1) Install new build of TWRP and you see then just the necessary Partitions for Backup:

boot - cache - data - system - vendor:

https://xdaforums.com/p9/development/twrp-t3565703

2) Don't install Systemupdate in the Custom Rom.

My new Rom comes in one or two weeks based on b386.

Disable in Developer Options auto system update and also in the menu of Systemupdate - disable automatic download for WLan and disable Notification for Systemupdate in Phonemanager.

Soon my new Rom is ready I'll update the OP with further instructions :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
[MENTION=6870018]Tecalote[/MENTION] - thanks again for a quick and helpful as usual answer. Can't wait until new version will be released. Anyway if you can give me more info where exactly to spot this:

I think I checked for this everywhere in phonemanager but can't locate...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Phonemanager, right above, Settings symbol - shortcut to Notifications (and more)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Looks like it (shortcut) not exist in my phone. However I found it and disabled through settings and later on in notification and status bar etc. Thanks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zelenko:
In a new world in call history we have access to saved call record. In new wersion can you enable this again. Please.

Newermind, i setup.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
[MENTION=6870018]Tecalote[/MENTION] how's the work going with new update? I can imagine you are busy so just gently asking ;) Regards