yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Normally to almost users safetynet is bypassed, but in some configuration I don't know why it doesn't.

Have you ADB Debugging in charge mode and USB Debugging enabled (in this order) _if not enable and reboot phone.

If it doesn't help flash Universal Safetynet Fix:

https://xdaforums.com/showpost.php?p=73432221&postcount=1075

(normally it works without)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You are currently on MRv3 and want going back to Stock, then use:

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

related to your model.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Information for all other Users - MagicRainbow will get an Update from v3 to v3.1

Some changes:

Newest Magisk

New camera features

Some Fixes

And the other things I will post after releasing...

But don't bother me with questions when it will come.

I am working currently on Rom for P8 and after I release one for Mate9.

And between there will be the update for MRv3.1

Thanks for using my Rom :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
For EVA-L09c432:

b386-->MRv.2--> MRv.3-->HWOTAb394 will work?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes it do, but read the install instruction.

HWOTA folder must be in the main directory of your external SD without any subfolder between.

/Name-of-your-SD/HWOTA

Bootloader will maybe closing after.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] PetoNHL:
both debugging options were already set to the values you wrote, but it didn't worked as it should... finaly it works now, i had to flash the safetynet fix :) thank you Tecalote, this ROM is great! :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Arnys:
dpi change breake safetynet

sometimes changing themes/icons breake safety net, dont even try to use substratum, will breake safetynet.

sometimes some zip from magisk breake safetynet

sometime if usb debuging is off safetynet fails.

almost every "hard" change to phone can breake safetynet.

how i fixed safetynet pass

uninstaled magisk, restored stock boot img.

connected phone with pc to enable usb debug.

chek if safetynet works without magisk (request ok, response ok, basic ok, CST ok, sometimes CST fail, but thats ok, need others to success)

instaled latest magisk.zip from twrp

if safetynet pass, all ok, if failed, check usb debug!!

can work, can fail, depends how hard fuked system :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7782490]Arnys[/MENTION] It's interesting the different User Experience...

In my own case I must say - I never have any issue with safetynet, it's always green even if I make all those changes you told.

Huawei Property Fix must be installed as Magisk module (comes preinstalled, but get lost after unroot...

I use KangV Settings. It brings a modified framework.jar, services.jar, hwServices.jar and some other modification.

This allows Magisk to take full control over all processing with the bridge to one Huawei App which is connected with all the others.

I allow this App Root Permission with Magisk Superuser and that's it.

Some Apps I enable in Magisk Hide to hide Root and ADB Debugging with USB Debugging I have always enabled.

Cause in the worse case I have the possibility to repair my Phone...

Since I have installed new Rom I am happy about Safetynet and can use everything what I want and change whatever I like..

Only thing - Xposed Framework would break safetynet and perhaps some of Magisk modules like init.d enabler (but this can be enabled with Kernel Audiutor without breaking safetynet)

:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
Hello everyone

One more time ok google disabled and I don't know why..

I did that past solution..But now don't fix nothing.

Thanks u for all
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This will be fixed with MRv 3.1 but if I get time next week I make a zip for fixing this.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
Thank you so much Tecalote...I have mrv3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I have a problem with AdAway not auto-updating system/etc/hosts file.

Whenever I restart the phone, I watch for but never see a notification that AdAway is searching for / updating the hosts file.

1) Screenshot-1: If I open system/etc/hosts file, it shows it was updated couple of days ago. - exactly when I manually updated it last time from AdAway.

2) Screenshot-2: I open AdAway, it shows that hosts file update is available but it does not auto-update (I keep AdAway screen opened, WiFi is attached, etc)

3) Screenshot-3: I manually press Download and Apply, and then it updates successfully.

Screenshot-4: system/etc/hosts file shows also it was just updated.

4) Screenshots-5,6: AdAway Preferences show that Checking for update on AdAway start and Auto update are enabled.

Updating only on WiFi is enabled too but I have experimented also without, no avail.

Screenshot-7: AdAway is enabled for auto-launch on starting the phone.

I've observed this issue earlier (and experimented with the settings as above), but since I can manually open AdAway and update hosts file every few days (and hence blocking of the ads works fine), it's not so important.

Nevertheless, I wonder why AdAway does not update hosts file automatically:

a) when phone is restarted

b) when I manually open AdAway

(but it always successfully updates when I press Download and Update)?

PS: Screenshot-8: Captured the notification how AdAway is updating - but again it was initiated manually, I never see it upon restarting the phone and/or if I open AdAway (and wait to update the hosts file automatically)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Maybe this could help.

https://xdaforums.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457/post75111084
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, but I mean next Rom Update 3.1 - I wrote about some posts ago.. :)

But I make a separate zip before Rom Update for fixing "Hello Google" during this week
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Thanks for reporting AdAway issue:

(not able to auto update host file)

I didn't see, because I haven't used the auto update feature. But you are right.

I have to check whether it is because of the path (at the moment /system/delapp - can try it alternative with system/priv-app or system/app or /data/app) or if it is may because I used a newer, but developer version of AdAway than last official build.

I used DEV Build: https://www.androidfilehost.com/?fid=817550096634744719

But official Build is: https://www.androidfilehost.com/?fid=313042859668275788

I have to test and try to fix it in MRv 3.1

There was even another issue:

https://xdaforums.com/showpost.php?p=75007852&postcount=179

(cannot write log file)

[MENTION=4657522]ogisha[/MENTION] I haven't tried yet this unofficial release, but I will test it too:

https://xdaforums.com/showpost.php?p=75097249&postcount=10324

Unofficial release:

https://github.com/pec0ra/AdAway/releases

But only this two issues are with AdAway - manual update is working and AdAway do his job... :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
ALL USERS OF MAGISK EDITION OF ROM

Please update Magisk Module SELinux Permissive Script to 1.2

1) Download: https://xdaforums.com/attachment.php?attachmentid=4381857

2) Open Magisk Manager /Module - klick on recycle bin symbol at the Magisk SELinux Permissive Script 1.1

3) Reboot phone

4) Boot to TWRP and flash new, updated v1.2
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thx, done, all fine
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Downloaded this AdAway 3.3 (as declared with the fx that it does not freeze at startup), tried to install bit it failed, saying it had a conflict with the existing package.

I've uninstalled then AdAway 3.2 (coming with MR v3), wiped Dalwik and Cache in TWRP, and successfully installed that AdAway 3.3.

On first start it asked for root access, granted...

Result: I have now AdAway 3.3, it works just like the original AdAway 3.2 - everything else works fine but still it does not auto-update system/etc/hosts file at startup.

And again, when I open AdAway manually, it finds that there was update available but it does not apply - however, when I manually choose Download and Apply, it does it successfully.

Not sure is it maybe a bug in AdAway itself
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mihairimia:
[MENTION=6870018]Tecalote[/MENTION] there is an interesting camera update with January update in FF for L19. How we can benefit from it without leaving MR3?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Camera Update comes with MR v3.1

https://xdaforums.com/showpost.php?p=75182713&postcount=348

:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
I thought it could help because it solves some problems with AdAway if you have Magisk v15. I am using it although I do not have any problems.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Does it, for you, automatically update hosts file?

Update is available every day at around 21 PM CET.

You can check by using MixPlorer, Root option, navigate to system/etc and open by text editor hosts file.

There is a comment at the top of the file when it was last tine updated by AdAway.

Also, when you open AdAway it must not show that hosts update is available (it would mean it missed to auto-update).

If auto-update works for you, can you please share your AdAway Preferences screenshot.

---------- Post added at 07:32 PM ---------- Previous post was at 07:19 PM ----------

Is this as from Jan 16 (today) c432 b397, Rel Notes:

This update adds 3D panorama mode in Camera and a recycle bin in Gallery.

...

Adds the VoLTE feature.

Adds the VoWiFi feature.

...

Optimizes power consumption for longer usage.

...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, this will be included in the next Update of this Rom.

I was aware about this feature before FF.

So - next Update is perhaps 3.1 but if necessary it will be MR v4
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION]

[MENTION=4657522]ogisha[/MENTION]

About current AdAway summarized:

1) Preinstalled AdAway (block ad on websites and in most apps), same as newer version, is working in MRv3 with manual updating hosts file - also with 15.3 Magisk

There are only two issues:

2) Log DNS Requests TCPDUMP is not running and cannot write Log

This can be solved by installing the package over the existing. AdAway is installed in MRv3 in /system/delapp/AdAway/AdAway.apk. If you klick on the apk and install it over existing AdAway (means not delete it before) you have AdAway also in /data/app. On this place AdAway has his odex file. Reboot phone. After TCPDUMP can be enabled and stays enabled and Log File can be written and opened.

3) Auto Update and Notifications of hosts file not working yet.

In the next Update I try AdAway with higher permission than 0644 - because AdAway dont get permission to storage by default and you will not be asked if you allow this permission during first start.

A) Go to settings/Apps/AdAway/Permission - allow "storage" - and in notifications allow all except "Hide notification content"

b) Search in settings for: "Ignore Battery optimization" - open it, klick on small blue triangle from "Allow" to "All Apps" - enable AdAway to be excluded from Battery optimization

c) Of course, AdAway should be protected after screenlock and enabled in Autolaunch (if you are using this feature) (I know [MENTION=7786725]zgfg[/MENTION] you have enabled both )

d) Reboot phone after changing settings for AdAway and in AdAway itself

I have got Update Notification not immediately but after two days :)

I enabled in AdAway settings only "check for updates - and check for updates daily" - but not "hide reboot dialog" and not "Automatic update" - I was just interested if the notification will come...

The last consideration for me is how much it makes sense to use "Automatic update and hide reboot dialog" (if it would working) - because the phone needs a reboot that changes in hosts fle can work properly.

You can find in AdAway FAQ:

"Why do I have to restart Android for changes to take effect?":

Java on Android maintains its own internal DNS cache. The operating system will reflect the new hosts file immediately - but you´ll need to restart Android to rebuild the DNS cache of Java.....

For me at least the notification should work and then I do update manually and reboot the phone after to take the effect.

And Push Notification from AdAway is working now on my Phone. Every morning I get the notification on Lockscreen and Notification bar - New hosts file available...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Devil Trigger:
Something strange happens. I was on stock + root. I followed the instructions, removed Fingerprint and PIN. Flashed, every was ok. I setup PIN and fingerprints. I restarded and now it asks for a PIN, but mine is wrong. How is it possible? I checked, the pin is correct, i used it before restart.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Which Phone model to you have EVA-xxx ?

Which Firmware you had installed before bxxx ?

Did you flash in TWRP Unroot (Magisk Uninstaller or Unsu.zip - described and linked in OP)?

Did you clean flash or dirty (without wipe of data)?

Which Edition of MRv3 did you flash?

BTW: Welcome to MRv3 :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Devil Trigger:
Hi,

I have EVA L09 with B386, twrp and root with magisk. Yes, before clean flash I flashed Magisk Uninstaller.

I flashed MR3, boot, installed some apps and then i restarted to flash the upgrade to Magisk 15.3, the one in the OP.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thanks for details!

I can not quite understand why the set PIN after the restart was no longer valid..

I haven't heard such an issue.

Maybe something with the keyboard while setting the Pin.

Or a problem with Magisk 15.3.

How could you entering system now without the "right" PIN?

If you must flash the Rom again please setup your PIN and Fingerprint after Magisk Update.

I had onetime a problem with PIN on Stock Firmware b394.

I deleted my PIN, but after reboot it asked me again for the PIN..

I am not available in the next 7 hours, but will answer or help after.

So if there are any troubles please reply
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4570549]Devil Trigger[/MENTION]

Is your problem solved?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Since I made the settings, described here:

https://xdaforums.com/showpost.php?p=75223794&postcount=369

I get every morning from AdAway the Push notification on Lockscreen and in the Navigation bar that new hosts file is available :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The new Rom Update will have the new Features of b397.

Changelog:

This update adds 3D panorama mode in Camera and a recycle bin in Gallery.

[What's new]

Adds 3D panorama in Camera, which enables you to take 3D dynamic images to show your life in more perspectives.

Gallery now features a recycle bin that retains deleted photos for up to 30 days. Accidentally deleted photos can be restored with a single touch.

Adds a security procedure that requires you to enter your lock screen password every three days, helping you to remember your password.

Adds the VoLTE feature. Please consult your local carrier to find out if it is supported.

Adds the VoWiFi feature. Please consult your local carrier to find out if it is supported.

[Optimizations]

Optimizes power consumption for longer usage.

Integrates Google security patches for improved system security.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Devil Trigger:
I clean flashed MR3 again.

I knew that the pin i tried to enter was correct because I used it before restart. After restart my pin was not correct.

BTW I will try to do some test to see if I can replicate the problem.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Devil Trigger:
From clean MR3 WITHOUT pin and fingerprints i flashed the zip for Magisk 15.3 and it worked. But then i tried to add a fingerprint and the Setting's page crashed. I added a PIN, but then when i try to chose the unlock method, that activity crashes. So, now i can't have a pin or a fingerprint.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay in this case:

1) Check MD5 of downloded MRv3 on PC and on SD Card too.

2) Check md5 of downloaded Magisk Update zip.

If md5 is correct, then I would recommend to do the steps from post #3:

3) download L09c432b394 HWOTA.zip:

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

And do the described steps - after you are on clean Stock b394.

Then flash MRv3. So

I'm sorry about the circumstances, but you're the first case where this happens.

I have no idea at the moment why this happens.

After work I make some check with Magisk. Maybe it has something to do with it, but I don't believe
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Devil Trigger:
I think that I will try to clean flash like yesterday and stay with old magisk.if it doesn't work I will try with your guide.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
After update safetynet red false

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Read #1 Changelog Safetynet Workaround

If you have then enabled the necessary Apps in Magisk Hide, reboot phone and try again
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Rezei:
I can't flash this when coming from an AOSP ROM, right?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Working uff.

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

---------- Post added at 10:29 AM ---------- Previous post was at 10:22 AM ----------

I am testing versions with a super su after installation xposed as if it is ok but gravitybox must be set up again after each reboot. I miss the color kangv bar in the kangv settings. I've updated xposed to 89 but on 88.2 it's the same.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can download this module with Xposed Installer - the name is: Perfect Color Bar
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
Tecalote good job bro..feel very good. MR v3 magisk version. Thanks for best P9 custom Rom and thanks to all team. Dolby digital sound amazing.

Thank you all again. :fingers-crossed::victory:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
Hey bro are you testing this module

Flat style bar an xstana
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Edited

Okay, thanks for reporting me - that means translated:

"This module requires a newer version xposed bridge and therefore can not be activated"

During releasing the Rom last Xposed Framework was 88.2, but now the newest version is v89..

Maybe you have this issue because you have updated to newest version, but in Rom is included the older version of Xposed Bridge.

1) Open KangV-Advanced Settings /More settings /Xposed

2) disable Xposed Framework

3) Confirm - phone makes reboot

4) Enable the Xposed Version, which is included in the Rom and try module again!

I will make an Flashable Update for Xposed Framework from v88.2 to v89 in KangV Settings during next week :)

Than I give you further instruction. But try this step first

Edit: I have tested on my device - I updated Xposed Framework v88.2 (which I have enabled with KangV Settings) with Xposed Installer (direct install) to 89.

After reboot everything worked fine.

Even the modules.

Then I just disabled Xposed with KangV Settings.

Anyway, I will make an Update :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Siletina:
Thnx for amazing rom...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Liminglonca:
Cam I install rom from interal storage, because I don't have microsd card?

Sorry on bad English.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] netaccs:
I flash the rom, quick setup, seems very ok. I forget these step -> “Mount” – uncheck everything except “Micro SD”

and now will try again, but something make me impressed. Es File Explorer App offers me only to install the apps without there data/cache.

Es has full rights, approved in SuperSu. I try to create/modify file in /system partition and it is ok, so ES has su access.

I will try the procedure again, but can anyone see if this is an issue ?

Also I saw that all my photos and files are appears, should it that be ?

Should I make factory default via android installed rom ?

I repeat the all procedure, nothing restored from huawei backup. After few minutes of setting up the phone titanium and other new apps cannot ask for root.

How can I flash with new stock firmware my phone?

If I use huawei stock recovery and Iocked and recovery with it, does it will provide new fresh clean firmware?

When I flashed magick rainbow rom I saw that apps that I remove long time ago with system app remover still missing.

So I wanna fresh clean huawei firmware, making my devices brand new and unlock, twrp, rom again.

Thanks in advance!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I never had tested, but I will test it tonight for you and tell you the result
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Nope, sorry, you must going first back to official Huawei Firmware for your device.

After you can install the Rom.

Do you know which was the last Huawei Firmware you had, before you were going to AOSP and which phone model do you have?

Give me also a Link to the AOSP Rom you have currently
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You have EVA-L09, right?

I can give you a guide how to do it.

Write me with PM
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Liminglonca:
Thank you very much :D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Addymore:
[MENTION=6870018]Tecalote[/MENTION] Magisk 14.6 cause a bootloop.... M:confused:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, you should not enable Beta Channel in Magisk Manager.

I will add this information to OP.

You must stay on stable Channel and wait for an official release.

Why updating Magisk?

Safetynet is working fine!

If you have Nandroid Backup (TWRP) restore it or reinstall the Rom dirty.

But before make Unroot in TWRP (like I have written in OP)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Addymore:
I had the 14.5.... I flashed it and everything is fine... :laugh:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Do you mean - you reflash the Rom or you flashed Magisk 14.6 now with TWRP?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can also try after flashing the Rom to update Magisk with the Direct install method. For more information look here: https://xdaforums.com/showpost.php?p=74913870&postcount=2

@ Devil Trigger

Edit:

And if you try clean install with flashing Magisk Uninstaller before - don't boot to the system after flashing Uninstaller.

If you boot to system, Fingerprint and Pin not working.

Just go back in TWRP to the main menu and do the steps from OP!