yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Have you tried wiping Dalvik Art Cache and Cache with TWRP (Reboot perhaps 5 min..)?

If this doesn't work -

You should backup your Apps, data, folders from internal storage and use my HWOTA method to update your Firmware to b397 (remember you was asking me, if this is possible) - you don't need to Unroot, but you can (before)

But after it is required to wipe internal storage from settings /advanced settings /backup reset/factory data reset with wipe internal storage and also clear cache partition with Stock Recovery.

I think it has nothing to do with SELunux Permissive Script!

There must be something else I don't know.

It looks for me as Magisk isn't working properly
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
I wiped Dalvik Art Cache and Cache. Reboot was a bit slower than usual, not five minutes. Nothing changed. Bug reproduced again.

Before I try HWOTA I would like to try to turn off AVB 2.0/dm-verity. I turned it off in Magisk Manager and reinstalled Magisk but it is still turned on!? ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] csmarino90:
Hi [MENTION=6870018]Tecalote[/MENTION],

I'm trying to clone an additonal app with this ROM but I can't do it.

I'm following this guide:

https://www.xda-developers.com/how-to-clone-any-application-with-emuis-app-twin-feature-no-root/

I was able to do it sucessfully in MRv3.

Thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Just go with Root Explorer to:

/system/emui/oversea/xml

Open hw_clone_app_list.xml with Editor and add the package name into the list.

Store it, close it. Make sure the xml file don't loose his permission 644 (I do it always with Mixplorer /Editor cause Mixplorer store it automatically with right permission)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] csmarino90:
Excelent! It works and Is better than the guide I followed. In this case I can manage the cloned app from Huawei settings.

I don't know why Huawei restrict the use of this feature to certain apps.

I'm thinking that a Magisk module (+ app) could be a good way to add all the apps that the user wants to the XML config.

Thank you very much for your support [MENTION=6870018]Tecalote[/MENTION]

Enviado desde mi EVA-L09 mediante Tapatalk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
With newest Magisk v16 on a clean Stock Rom (and even in my new Rom) only Force encryption is enabled by default.

Magisk v16 recognize on clean Rom/Firmware the encryption and can handle it.

But if your Firmware/Rom is not clean, cause you have updated from older versions of Magisk to newer versions Android Verified Boot (AVB) stay enabled.

You can try following - use latest Magisk Uninstaller (with TWRP), without reboot to system flash immediately after original boot.img from (your) current Firmware (b395) by choosing img with TWRP and flash it to boot.

Immediately after (without reboot to system) flash newest Magisk v16 (official one)

Then reboot phone without wipe of Dalvik/Cache after :)

This reboot to system is required at this point.

Only force encryption is enabled now with Magisk Manager.

Modules are deleted, you must reinstall your preferred Magisk modules.

You use Busybox from YashdSaraf I have seen.

He released an Update of 1.28.1 (because prerelease had some bug)

I use this Busybox on P8 Rom. But in P9 Rom I use the one by Osm0sis - both are very good
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4657522]ogisha[/MENTION] Use SELinux Permissive Script 1.2 from this site:

https://xdaforums.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549

Even if the development of the module is discontinued, it works as it should.

Jman420 made a new module as well (but for me not interesting, cause I need permissive as default installation during Rom script)

https://xdaforums.com/apps/magisk/module-magisk-selinux-manager-t3760042

This module can only installed with Magisk Manager (as an alternative to the other, but not both of course) and you choose which SELinux Mode you like to have...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] simionpetrus:
Hello!

I'm trying to start Google maps, but on the first start it force closes, then it only shows a black screen with the app title.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
From which Firmware /Rom did you install this ROM?

What was the last official Firmware you had installed?

Which cust (c432, c185, c636..) do you have and which EVA-xxx?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] csmarino90:
Hi [MENTION=6870018]Tecalote[/MENTION],

Can I restore the stock bootanimation? How to do it?

How to activate Google Assistant with long press of the home button using Advanced Settings?

Thanks!

Enviado desde mi EVA-L09 mediante Tapatalk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I will make a flashable zip with the original Huawei Bootanimation.

To enable Google App with long press on home button do following:

First step

If you use another language than English - you must open first Native settings /Advanced Settings /Language and Input - add English Language for your Country (Example: English for German, or English for GB, or English for USA..) Then change until next Reboot the language to the added English (this step is required because the setting in next step can only be done with English language) . If you use already English - skip first step

Second step:

Open KangV Advanced Settings /Navigation bar settings /Longpress home key action - by default KangV had set this to torch (flashlight) - but now you click on it and scroll down to: Custom Application - now a list with all installed apps will shown - use: Google (App).
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] simionpetrus:
I had mr3,c restored to factory c432b394, upgraded to b397.

After that, I installed mr4, with clean install
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Try to open native settings /apps /maps /storage (first one above) and delete in there data and cache.

Reboot phone after
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] curtricias:
After the installation i had problems with the play store. Downloading of apps was not possible. I tried every work around but it didn't work.

Then I thought I do a factory reset and start again. After that the fps was gone! No option in the menu to let it work? Then I wanted to start all over again. I restored my nandroid that I made before I installed mr4. But after reboot I'm still having mr? But now also TWRP is gone and the fps is still broken?

Any idea to clean things up again?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] simionpetrus:
I already tried that several times. I also installed alternative versions from apkmirror.

None worked.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] curtricias:
I had the same problem!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4137050]simionpetrus[/MENTION]

[MENTION=4889360]curtricias[/MENTION]

Finally do following - go with Root Explorer to /system/delapp and delete Maps folder.

Reboot phone.

Go to settings /apps and delete Maps (if it's there)

After install Maps from Playstore.

This should work
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Before you doing Factoryreset please ask. Because this doesn't solve things.

Which Phone model, which cust do you have - what was last official Firmware you had installed?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
Here you are.. Am I really bricked? All started because i forgot to remove lockscreen, then I removed lockscreen.db (followea a guide on xda) but then security settings crash, so I though clean flashing the rom would work and here we are.. last chance is to try from SD card when I get home but I don't know what's wrong..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You installed a L19 Firmware before, I think this made the brick. But we can try additional things before using DC Phoenix. The zips are inside the HWOTA folder, that means, the Nocheck Recovery has no acces to your internal storage or to /data. Does TWRP copy the zips (about 7 minutes) before reboot?

I have already tested the script on P9 (with working phone). So it is not a fault by the script.

Maybe the copy of the files to internal storage is damaged.

You can try following:

If you have OTG, copy the files on USB Stick and from there to internal storage HWOTA (it cannot executed from MTP device)

Another possibility is really to try it from external SD - and if this does not work (because of brick) you can try it with HuRUpdater. For this you need also external SD (because it cannot work from internal storage). You must use Version HuRUpdater_0.2.zip

Read the Guide (because renaming of the zips is different) but it is similar. You need the 3 firmware zip files, the HuRUpdater_02.zip - the recovery.img you dont need (it would flash TWRP if renamed to recovery.img = optional)

HuRUpdater: https://xdaforums.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279

If Nocheck Recovery method does not work from external SD and also not the HuRUpdater method (its already tested on different devices and working awesome, also for unbricking) - I write you Guide for DCPhoenix.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
I didn't install L19 before, I always chose L09 cust C432.. I have formatted everything in the phone, even wiped data (typed "yes") and tried again but no luck.. You said TWRP should take 7 minutes, here it takes about 20 seconds.. By the way I see the 3 files inside data\update\HWOTA..

I found an error in the script:

echo --update_package=/data/update/HWOTA/update_all_hw.zip >> /cache/recovery/command

Should be

echo --update_package=/data/update/HWOTA/update_full_hw.zip >> /cache/recovery/command

But i also tried renaming the zip but still no luck, always failed..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, sorry, today I am total in hurry, thats why I made some mistakes. I used the same renaming than it is usual with HWOTA methods for other phones in the script, cause I tested this also for another phone. I did not look today exactly. This should not be.

The Post is corrected: https://xdaforums.com/showpost.php?p=76445113&postcount=374

The reason is, I have not really time today. The renamings for the zip file must be for two zips:

update_data_full_public.zip to: update_data_public.zip

and update_full_EVA-L09_hw_eu.zip to: update_all_hw.zip

Then it matches with the script.

But if it does not work any way, try it with #382

Sorry for my mistakes. But I am on work and my head is burning.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
No problem man, you are already doing a lot.. WIll try when I get home and see what happens with SD card..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can also try one time more from Internal storage, but you should wipe Dalvik and Cache before (with advanced wipe, not Factoryreset) and then reboot TWRP.

The copy processing should be need some minutes, the files can not be moved during seconds to data.

If the moving to data is properly done it should work if there's no brick
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's why I thought, you flashed L19 Firmware (however missing one zip, because the Guide on the website is not correct..)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
I think that's a typo but now I'm not so sure.. Will I be able to recover it using Hurupdater or HWOTA from SD Card in your opinion? Will try in 3 hours..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
In this situation I would try it with HuRUpdater.

I heard from several people that they can restore their phone using this Tool.

HWOTA is good for Updating Firmware, but not made for restoring issues.

However it can successfully work too, but not all the time.

It's worth a try, but I recommend now to use HuRUpdater from external SD (can not be used from internal storage)

And there is an advantage: The firmware zips files are not deleted after successfully flashing.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=2290290]carlese[/MENTION] But since you have already the zip files on internal storage, you can give it one more try.

I really have tested it from Internal storage, some weeks ago. I tested it first on P9 and after on Honor View 10. I forgot today that I used the official names in the script (which are used for other devices with HWOTA method) different to my script for external SD. And I was in hurry, that's why I forgot to mention that two zips must be renamed to match with the script.

But if you do it again with the script file and corrected Guide from this post:

https://xdaforums.com/showpost.php?p=76445113&postcount=374

It should work, if the zip files are not corrupted.

First I would rename the two zips, then using the script from linked post.

Then I would open Wipe /Advanced Wipe and wipe only Dalvik/Art Cache and Cache.

After I would use in TWRP - Reboot Recovery to restart TWRP.

Then flashing the script. If the copy process to data takes some minutes you did win.

It can not doing bad, if it wouldn't work.

Then you can use HuRUpdater from external SD.

It has been already tested on Honor 10 View too and was working successfully.

https://xdaforums.com/showpost.php?p=76341184&postcount=75

(of course with the recovery for BKL and another partition to flash)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
try format data before install b501 and wipe everything partitions in twrp when not luck try install b386 full ota mf pv
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
I MADE IT! I used the Hurupdater and although it gave me an error about hwbeta or something, it managed to boot fine! The only strange thing is that the version is not B502 but "magic rainbow v4".. How can I fix this? Should I reflash and factory reset after?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The important thing is that you can boot to the system again.

Normally you should go back with HWOTA to b394 and then doing Factoryreset and Wipe Cache as I mentioned in Post #3

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

And in my old Thread you can also read about and download complete b394 package (its a bit different to new self made method, nothing to rename)

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

If you do this you will receive an official OTA to b399.

On this point Bootloader getting closed. And then you can update to b502.

It doesn't matter if you do it then with HuRUpdater or HWOTA.

Both is working well.

Many Users has used both methods.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
So the only way to fix the wrong number is this? Damn, I'll download B394 now.. :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It is dependent which official Firmware you had before flashing dkionline Rom and MRv4.

If it was less than b399 then it is the best way, because you get OTA directly to b399.

B399 includes 2-4 Patches from different older Firmwares. And it's necessary that Bootloader getting closed.

This is the requirement for b502.

From b399 it's possible to update, if you like. But I would not.

I would stay on b399 and wait for official OTA.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
Damn, hwota b394 is not working, always install failed..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
With HuRUpdater or HWOTA?

If HuRUpdater, have you used Version 2 ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you use HuRUpdater, then you must use Version 0.2 because 0.1 has Bugs!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The problem could also be that you were not on Stock Firmware before flashing MRv4.

Normally the Users had no problem to go back to b394 or b399.

It's really dependent on which official Firmware you was before (not which Custom Rom)

What was the last Firmware you had installed before dkionline Rom?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
I used Hurupdater also for B394 and it's booting now.. Let's see if it has the right serial number.. About B399, if I have TWRP installed will it work the same? I still have unlocked bootloader..

Edit: still magic rainbow v4 showing..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If TWRP is flashed together with HuRUpdater (renamed:recovery.img) Bootloader will not be closed.

This should not be a problem with this method
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
Ok but still I see the wrong serial, magic rainbow v4.. I wiped everything, flashed B394 with hurupdater and still same results.. Hwota fails everytime so I can't use it..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Maybe you should roll-back by DLOAD to c900b300, then DLOAD to c432b182 and let it upgrade back to b399 by OTA
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
Ok but what happens if I keep the wrong number? My girlfriend needs the phone tomorrow and I can't download those firmwares now since my network is really slow..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
If it works, who cares - I just don't understand why you didn't want to stay on MR v4 - you could IMO flash again MR v4 and you will have proper version showing :)

MR v4 is based on b398 (rooted, debloated, etc) while b399 and b501/b502 just bring newer security patches
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you want to go back to Stock, open Settings, Apps /Advanced /data Factoryreset with wipe of internal storage.

During setup skip everything except Network and look if it still has the same Build Number.

If yes try once again with HuRUpdater, but you must have HuRUpdater v 0.3 zip because 0.2 had the Bug with not correcting Build Number.

http://www.mediafire.com/file/ze5z78dq7zu3sxb/HuRUpdater_0.3.zip/

So I said in previous posts v 0.2, because I thought its counted with 0.1 and 0.2, but it starts with 0.2 and latest is 0.3. I meant always the latest one 0.3

Sorry, but I am a bit confused today..

Too much projects at the same time and I am not multi-tasking able.. :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
Daaamn man, it's been a long day for both :D I used hurupdater 0.3 and it worked without errors and the number is now correct.. VICTORY!!!

Aaand i spoke too soon, settings and security crfash again like in the beginning.. I think I'll throw the phone against the wall and ask my company for a replacement..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's good news :good::)

I am sorry for my mistakes today, it was really not my day. And yes, it was a long day for both :laugh:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] carlese:
Man you won't believe me but I flashed supersu permissive and everything works now, including right number and settings..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hopefully it stays on this result :o
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Eventually, I added five additional hosts sources (to the three provided by default in AdAway), now every other day some gets updated

http://1hosts.cf

http://sbc.io/hosts/hosts

http://someonewhocares.org/hosts/hosts

http://www.hostsfile.org/Downloads/hosts.txt

http://www.malwaredomainlist.com/hostslist/hosts.txt
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thanks for providing the host sources!

I had added current only the sbc and receive updates, but not every day. So I will add yours too.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] methapodx:
Updating error

Hello! After using this guide to get OTA Firmware back to my P9, I successfully installed L09C432B394 but I can't update it to B395 via Software Update or Firmware Finder. Even Full OTA doesn't work! Any ideas to update?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can use this method (Thread post #3) :

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

Alternatively you can use HuRUpdater:

https://xdaforums.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279

Both works only with FullOTA-MF firmware and the firmware must match your device /cust.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
For those who may recently observed WiFi issues, problems with Google apps, non-responsivness and battery draining, it's not about the MR ROM (or stock ROM), but due to the recent Google Play Services update.

You can find more details (incl. Google's beta fix) in the post and corresponding thread

https://xdaforums.com/showpost.php?p=76549662&postcount=33
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] LOLonPC:
I'm currently on MRv3 and I forgot what was my last official firmware. Is there a way to find out since now it only says EVA-L09.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
There's no way to find out, but you should be able to use b394 with HWOTA method (Post #3 of this Thread)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Oreo is on the way.

Chinese Brands did already receive.

https://www.xda-developers.com/huawei-mate-8-huawei-p9-honor-8-honor-note-8-honor-6x-android-oreo-beta/
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] karoliuxas121:
Hey,

I have issue with notifications. For example when playing music with soundcloud app, notifications show 3 buttons: previuos song, play/pause and next song. I cant press any of them, I need to go directly in app to pause song. Is there something I could try to repair it?

P.S. its related to all apps with notification controls not only with this one
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] erayrafet:
It needs Permission to Auto start. Open Phone manager, Auto-starting apps and enable SoundCloud.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] karoliuxas121:
Maybe i dont understand something but I cant find such section as autostarting apps in Phone manager or in whole phone settings.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] erayrafet:
You don't have PM Plus installed. Then this means that something else is causing the issue.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Instructions for PM Plus are in the post #1 - with PM Plus you can enable Auto Launch in Phone Manager

But if your original question was about Lock screen music controls not working, you can take a look to

https://xdaforums.com/p9/help/lockscreen-music-controls-t3688402
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] reynard1:
is there any way to change our device oem to EVA-AL10 to install oreo?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, it's possible and I would know how to do it.

But it makes no sense!

Better to wait for official update for your cust, which comes soon.

On chin cust Google Apps will not work.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] reynard1:
i hate gapps and gcm

can you share that cust backup?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It's not only because of GApps, Push Notifications from Apps like WhatsApp wouldn't work properly.

Why you can't wait the short time until Oreo official will come for your device?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
For the next 60 days Huawei's portal for Bootloader codes (open from PC or request Deskrop site) is alive again

https://emui.huawei.com/en/

but then will be shut down (forever)

https://www.xda-developers.com/huawei-stop-providing-bootloader-unlock-codes/

Hurry up if you need
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] tonyaross:
[MENTION=6870018]Tecalote[/MENTION], hi, any news on this patch? :)

BTW, I have B394, never updated to B398.