yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You mean Google Symbol for microphone to say "okay Google" is greyed out and that's why you can't use it?

I have also EVA-L09 and KangV settings. But no problem with okay Google.

Did you change something in KangV Settings which could be in context?

Which version do you use, Magisk or SuperSU?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bubba_66:
Hi thanks for the reply, I'm using SU, I don't think I changed anything that might have caused it to stop working. And I mean when I say okay Google or hey Google there is no response I can use voice search if I tap the microphone symbol. It is greyed out in settings for Google search/voice/voice match. Maybe I did something in kang v but didn't realise!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Can you change Ringtones in native settings?

We had this issue onetime cause a User did freeze Dolby/Atmos.

Can you open Playstore?

Cause if Google Services are disabled in K-Settings, it would also not work.

It would also not work if Google App is frozen or the settings inside the App are not right.

Its difficult to find out what's the cause - but you can try to solve it:

Flash again MRv3 - dirty (just wipe Dalvik/ART Cache and Cache with TWRP and flash ROM over the existing system) you will not loose any data.

Hopefully it works again.

Tell me.

Normally Google Assistant is working in this ROM also with K-Settings.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bubba_66:
Ok I'll give it a go tomorrow and let you know what happens. Happy New Year??
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Same for you :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I wish you all a Happy New Year :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] diabolo24:
Happy New Year:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can try another way first than new installing Rom.

1) Delete Google App Search Widget on Homescreen.

2) Bring the Widget new to the Homescreen.

3) If it doesn't work, go to the settings/Apps/Google inside go to storage and delete data and Cache, then uninstall "Google" App

4)Reboot Phone

5) With Root Explorer (Mixplorer or whatever) navigate to /system/delapp/Velvet - click on Velvet.apk and install it.

6) Reboot Phone - hopefully it's working again

I think so :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bubba_66:
Well I have to take my hat off to you, that worked and nice clear instructions. Thank you very much, have a really good New Years day.

? DJH
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Nothing important, just wondering why sestatus command is not found (attached).

Attached also an older screenshot from MR v2 with sestatus output
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, of course - this is in this Rom Magisk Edition, because SELinux Permissive is hidden :silly:

You could not have easy "green" Safetynet with permissive SELinux.

In MRv2 it wasn't hidden, but Security Patch was not 6.11

But Permissive is working, KangV Settings and Viper wouldn't work without.

There's only no permission to check SELinux state in /sys/fs/selinux.

Open in this directory the file: enforce (with Mixplorer, Text Editor, and you will see, its set to 0

:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's good News for the New Year :good:

Note: I changed the official path and moved Google and other Apps to this directory - so they can easily uninstalled and reinstalled again :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] - see edited post #197
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thx, btw I know it must be Permissive here. It can be also checked by Clivin's Root Checker
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
AFAIK, Google Voice Assistant (Ok Google) will work only from widget on the unlocked screen.

However, Huawei Voice Assistant (Emy) can be invoked even from the locked screen. It must be enabled under Settings/ Smart Assistance / Voice Control.

It seems there is also a trick to change the hot-word for Huawei Assistant and by involving Tasker to force it to switch to Google Assistant - that way Google Assistant could be invoked from the locked screen

https://www.xda-developers.com/enab...detection-on-huawei-honor-phones-no-root/amp/

---------- Post added at 11:13 PM ---------- Previous post was at 10:45 PM ----------

Updated tonight the same way to Magisk Manager 5.5,3 and Magisk 15.2 - see also for clean instructions:

https://www.android-hilfe.de/forum/...-by-tecalote.859343-page-9.html#post-10838189

SafetyNet green, all Ok
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Magisk Update 15.2

Updating Magisk to 15.2

As [MENTION=7786725]zgfg[/MENTION] said - just use same steps.

On first screen in Magisk Manager must be enabled:

"keep Force encryption" and "AVB 2.0 /dm-verity"

1) Open Magisk Manager, you receive question to Update Magisk Manager.apk - confirm YES

2) Open Magisk Manager after installation, you receive question to Update Magisk - confirm YES

3) Use DIRECT INSTALL (recommended)

4) After flashing Magisk during running system, click on "save log" and "REBOOT"

5) After Reboot open native settings /Apps/ Magisk Manager and inside click on storage and delete Cache (not Data)

6) Open Magisk Manager = Magisk v15.2 installed and everything working :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] chudy_85:
No need this two option to select.

Look on my screen shot
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You do not use this Rom, right? I guess you are on Stock, rooted with Magisk.

Of course, if you restore boot.img and flash Magisk on a Stock Rom, the two options seems not enabled by default.

But we have special configuration in this Rom and Users had Bootloop without enabling the checkboxes by doing an Update with Direct Install.

Direct install is better for us, because the modules which are required staying enabled.

By restoring boot.img and new Rooting the modules get lost and must also be reflasht. That's do much work on every Magisk Update, three times a week ;)

BTW: Its more better for bypass safetynet (not only by Magisk check) to have force encryption and Drive Map Verity (dm-verity) enabled.

I just want to convey you it is an advantage not a disadvantage!

I am the Creator and developer of this ROM.

I don't say you are not right, but things are different here.

I can confirm that Magisk is working much more properly in relation to safetynet by using both options.

Android Pay, Paying with NFC by different Banking Apps and everything is working fine.

So if you like to stay with dm-verity and force encryption disabled on your Stock Rom, be happy with it :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Just to add that you will have to update and apply hosts files from AdAway again.

---------- Post added at 12:42 PM ---------- Previous post was at 12:32 PM ----------

Hello guys,

I am on stock L09C432B386 currently, Magisk rooted. I would like to update to B394 stock and I had the similar question back in October, while B391 was actual, but I did not have time to do it because this process needs at least 1 or 2 days to finish properly.

Now I have some time, and I would like to write the steps I am intending to do. If there is anything I could do wrong or differently, or have any suggestions, please correct me.

Thank you.

Steps are:

1. make nandroid backup

2. ‎make backup of internal storage

3. ‎make Huawei backup and Titanium backup

4. ‎download B386 firmware

5. ‎flash update.zip

6. ‎flash data.zip

7. ‎reboot

8. ‎wait for OTA to finish

9. ‎do not touch adb and usb debugging

10. ‎boot in fastboot

11. ‎flash twrp

12. ‎boot into twrp (disconnect USB, Volume Up + Power)

13. ‎flash magisk

14. ‎reboot

15. ‎install magisk manager

16. ‎flash magisk modules

17. ‎reboot

18. ‎restore Huawei backup and Titanium backup

19. ‎reboot
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bubba_66:
Just a little update, I found that I had to install Google assistant before things worked correctly. ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
XDA Labs added this post to previous one.

I am repeating it in case people did not see it. ?

Thank you.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] chudy_85:
If I think correctly this two options it's must be enabled if you have stock rom but if you use custom rom like us aosp you must have disable this two option. I added screen because i check all option in magisk. Before we use magisk v15.0 we have 14.5/14.6 and then we don't need enable this option. When we use magisk 15.1/15.2 in TWRP you can see it's detect if your rom it's encrypted if it's magisk added automatic enabled encryption but not dm.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Make also Backup from native Backup app, but consider what could you safely restore from one ROM to another:

https://www.android-hilfe.de/forum/...-by-tecalote.859343-page-7.html#post-10833156

Remove fingerprint/pin/password protections for lockscreen.

If you disabled sone system apps (particularly Huawei default keyboards), enable them.

When I was similarly updating from rooted b391, I did:

-unroot: see instructions in the post #1

-flash stock boot img from TWRP

-wipe Dalwik and Cache

-flash stock recovery from Fastboot

Good to do Factory reset from eRecovery here.

Do OTA updates, but for the first open System Updates and select Full update (not default Differential update)

Finally, instead of DIY Magisk, you could consider installing really excellent MagicRainbow v3, Magisk Ed :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
Hello and happy new year for all. Need a little help in the past version I have actived #ok google# and all work fine.

In this version don't work when I say ok Google don't happen nothing.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, same Happy New Year for you :)

Try this: https://xdaforums.com/showpost.php?p=75032150&postcount=194

And tell me, thx
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bubba_66:
Hi what version are you on?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] tonyaross:
Hi, Tecalote, I've been on 6.0 for so long that I'm ready to try your MagicR v.3. Since I'm still on 6.0 and your Renovatio v1, is it possible for you to give some detailed installation instructions? My original build before installing your Renovatio is Model: EVA-L19C185B220. Thank you very much! I've been using your rom ever since I bought my P9 and it's been great. I look forward to trying this new rom of yours.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, wish you a Happy New Year :)

Okay, I will write an exactly guide during this week.

I am a bit busy, cause working on Rom for P8 and Mate9 :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] tonyaross:
Thank you for the reply! No hurry, whenever you have time.

Happy New Year
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
Good work ..ok Google is working. Thank you dude
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RandomQuezoPH:
[MENTION=6870018]Tecalote[/MENTION], the root bug also happened to me and kept on confirming and rebooting until it was gone. Will something happen on my device or like will it have problema or its ok? Thanks! :laugh:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Good Morning (in Germany 9:00 am) :)

No, it will not happen anything bad to your device - but you would not have such an issue if you would have read my Posts related to the Magisk 15.1 and 15.2 Update.

I wrote in #202:

[url]https://xdaforums.com/showpost.php?p=75042300&postcount=202[/URL]

And earlier in #162

[url]https://xdaforums.com/showpost.php?p=74997195&postcount=162[/URL]

For future Updates please use this setting!

And note, it's not a Bug of the Rom, it's an Magisk issue - many Users got such problems on different devices, you can read in Magisk Beta Thread.

But now, if your Phone is in Bootloop I can provide during the next two hours a flashable zip for you (and other Users which hasn't read) to correct the problem.

Is your phone still in Bootloop?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RandomQuezoPH:
No sir, everything is fine and good! Btw, Happy New Year from the Philippines! :D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thats fine, if everything is good :) Happy New Year from Leipzig / Germany :laugh:

Did you mean the "Bug" from Page 18 Post #174 - #178 ?

I thought, you had troubles with Magisk Update....
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RandomQuezoPH:
Yes sir, the one that is "Super SU installation completes" one. It already managed to get away and managed to flash magisk succesfully with both of safetynet green :D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Flashable Magisk-v15.2-for-MRv3.zip​

For all User, which have problems with updating Magisk to current Version 15.2, I made a zip today.

The script Unroot your device first, flash original boot.img back, install Busybox 1.27.2 by osmOsis´ , install SELinux Permissive script and Huawei Property Fix.​

It can be used in every situation:

a) After ROM Installation to Update Magisk from 14.5 to 15.2

b) Reflash Magisk if you are already on Magisk 15.2

c) If you are in Bootloop after corrupted Magisk Installation

d) Update from 15.1 to 15.2

1.) In TWRP open "Mount" and disable all Mount-Points except MICRO SD

2.) Flash Magisk-v15.2-for-MRv3.zip

3.) Reboot phone without wipe of Dalvik/Cache

4.) Magisk Manager is not on same place on Homescreen than before

5.) Wait a minute, until Magisk Manager App symbol will be shown on any place on Homescreen (it is not immediately to see after reboot)

6.) If you get a Root-Request from any Huawei App - GRANT ROOT PERMISSION

7.) Magisk is installed, everything is working - but the difference is: its working with Force Encryption only (without dm-verity)

8.) Magisk stored the information, what you have enabled in Magisk Hide

9.) But Root Permissions for apps you have to grant one times new (for each app, which requires Root)

Download: [url]https://www.androidfilehost.com/?fid=889964283620775911[/URL]

MD5: 828e4e3bb52c104fbe0028e68bf6b834

Tested 2 times, everything is working :cowboy:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
... And for future Updates of Magisk after 15.2 - wait for my instructions.

We will see, if it's then still necessary to enable dm-verity by using Direct Install Method or not..

I can provide a zip like this also for the next update :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RandomQuezoPH:
Hey sir [MENTION=6870018]Tecalote[/MENTION], is there any way to install custom boot animations on this rom or only the one that you provided?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Its very difficult, because there is some check-function inside the Firmware. I made a flashable zip with original Huawei Bootanimation (just for testing), but after flashing, only Android (black with white letters) was shown. :(

Thats why I posted in #2 the MagicRainbow Bootanimation, which is integrated in the ROM - which have the same script. This Bootanimation is accepted (from the inside-check-whatever ?) But if I get more time, I make further tests (to understand why this is so complicated) :cyclops:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Sorry for off-topic - have you maybe upgraded to OTA

b395 (just a newer security patch)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
p

The answer was here: https://xdaforums.com/showpost.php?p=75047000&postcount=208

And with flashing my new update zip, only force encryption will be enabled., see here: https://xdaforums.com/showpost.php?p=75059492&postcount=222
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
a) Nope, I was really interested whether he moved to, as of today, Approved b395.

Btw, some Spanish abd German folks already report of receiving OTA b395 over b394.

But don't worry, we will stick for some time with MR v3 :)

b) On the other side, regarding to Magisk, IMO direct update is 'better' since it keeps the apps granted for root, and modules previously added.

Except if you have other reasons that ZIP is good (or forcing DM Verify is bad) for something else.

Edit: Your answer seems to be here (but I didn't have any issues with):

https://www.android-hilfe.de/forum/...by-tecalote.859343-page-11.html#post-10841597
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay, I try to explain....

I also dont have any issues with force-encryption and dm-verity enabled, thats why I leave it as it is on my own phone.

But for people, which get any troubles with apps or something, I provided this zip for updating that way:

Unroot, flash original stock boot.img back, flash the required modules for this Rom. This is the same script, which I use in the Custom ROM. Kernel will be rooted (with current Magisk Version) and required Magisk modules will be installed.

Its interessting - in this case, Magisk set the Flag to "Force encryption" which is correct, cause data on P9 is encrypted, but it dont set the Flag to keep dm-verity. Normally this option is not needed. Thats what [MENTION=4190256]chudy_85[/MENTION] meant with his posts.

But it was needed to do the Update with Direct Install....

We will see how next Magisk Update does - I can check it then on both ways, cause on my Test-P9 I flashed the zip and on my private P9 I stay enabled with dm-verity (for the first) ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
it's everything ok with pm plus?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Normally the Phone set every App into Auto Launch - with installing PMPlus Auto Launch is set to 0 for every App.

You can click on install. It works only, if KangV Advanced Settings are flashed.

After installing, don't open anything inside this mask, close the App and uninstall the App.

Then open Phonemanager, on second screen is a new entry, called "Auto Launch"

I wrote something about in OP #1

If you enable this function by installing with PMPlus - you must set the Apps manually into "Autostart"

1) Its very important to set following Apps into Auto Launch:

A) Magisk Manager /SuperSU (if not enabled, Root Requests cannot be answered)

B) All Messenger /Chat Apps which should immediately receive Push Notifications (WhatsApp, Viber, Facebook FB Messenger, Skype.. etc)

C) Some Apps like Amazon Prime must be enabled then not only in Auto Launch - inside Auto Launch above will be shown a new entry called App Activation. - and some Apps like Prime, or TitaniumBackup Plus must be enabled also in this entry. It will be shown only if you have Apps, which requires this.

D) If you use Mega and you serve with Browser in the Internet and find a Link to Mega to download something - Mega App will only start if you click on the Link, if it is enabled in Phonemanager /Auto Launch.

I use this option on my phone and [MENTION=7786725]zgfg[/MENTION] also.

Its a small learning process to manage it right.

But when you have learned, you save battery.

Cause Apps you don't need every day are closed on boot and in the background, so they need no resources.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
My battery life is pretty good :o

I used the phone today 18 hours 20 minutes and had 32% Battery remaining - 4 hours and 40 minutes Screen on Time

After 5 hours and 12 minutes Screen on Time I had 26% Battery remaining.

This is much more better than I ever had since Android 7 :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] chudy_85:
Yes I have new update b395 by ota but first I restore stock bootimg and recovery. I do it backup all my apps and do it wipe system/data and cache.i all time update by ota only I use full rom to update. I have to now magisk v15.2 installed using TWRP

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Yes - Permission manager is pre-installed by Huawei, and you get this screen once you install Autolaunch.

Now, you don't need PMPlus anymore and you can uninstall it.

AFAIK, you cannot disable Autolaunch once you have enabled it in Phone manager by PMPlus.

Be aware that initial Autolaunch list will be empty, you must mannually add Magisk (or SuperSU), mail, messaging apps...

Without PMPlus you will not be able to manage Autolaunch list, but in that case all apps will be autolaunched. Hence this feature (together with Lockscreen cleanup - which apps to close on locked screen, help to save battery (mainly for idle time).

Attached is my tonight's battery consumption, see almost nothing during midnight till 6 AM (I was sleeping and phone was in Doze mode).

See also

https://xdaforums.com/p9/developmen...rainbow-v3-t3722457/post74992359#post74992359
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Btw, I don't enable Mixplorer and ADM for autolaunch, they will be manually started when I need them. However, they must not be listed for Lockscreen cleanup to be able to keep running download, archiving etc behind the locked screen
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, this is okay, but for such Apps there's no general rule - for me it's better to keep them in Autolaunch because I work with it very often.

For making Custom Roms (P8, P9, Mate 9) I have to download a lot of stuff and manage it with Mixplorer. :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
It's possibly manualy add some aplication in second , indirectly launch ?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You mean the Activation entry inside Autolaunch.

Apps which are configured to use this feature will be shown automatically in this entry once you start those Apps.

Example - if you have installed TitaniumBackup Pro Version, the Pro Version will be blocked first, but it will be shown in this entry and you can enable then.

But it's no possible to add Apps manually.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Ok. Without pmplus i had batery drain by google maps (20% by 3 hours). Today I got massage from autolounch (indirectly) about close maps.

Next great job Tecalote :)Thanks for superb ROM with v.good batery optimalization

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Strange. After upgrading Magisk to 15.2, there were problems with the battery. 2 times between 40 and 10 percent have discharged at the moment and do not want to charge too much up to 100 percent. I have re-installed Magisk from the zip pack from Tecalote. I will be watching. :)

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Hello guys,

Anybody have stock B386 boot.img?

Thank you very much.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
You can download update.zip corresponding to b386 (no need to be FullOTA), unzip, and extract boot.img by Huawei UpdateExtractor.

I did and used them (boot, recovery) for b391 and b393, it works fine
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] philivm:
Thx for your answer :) , but it doesn't work this way...

I think it's a hardware problem maybe?!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] _Frostplexx_:
I once made a boot animation and it worked first try. I think the Android logo shows, when there is no booanimation (or a corrupt one) in the folder.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can download also from here:

Boot.img:

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

Recovery.img:

https://www.androidfilehost.com/?fid=961840155545568280
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Can you please upload, I like to test