yashsingh1/xdaforums huggingface dataset:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Flashable zip for Magisk 15.2 Update

Flashable Zip Magisk-v15.2-for_MagicArrow2​

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´ and install SELinux Permissive script.​

It can be used in every situation:

a) After ROM Installation to Update Magisk 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.) Boot to TWRP

2.) Flash Magisk-v15.2-for_M-Arrow-v2.zip

3.) Reboot phone without wipe of Dalvik/Cache

4.) Magisk Manager is perhaps not on Homescreen

5.) Install Magisk Manager 5.5.3 apk: https://www.androidfilehost.com/?fid=962157660013069439

6.) Open Magisk Manager and 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 without dm-verity

8.) Magisk has 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 flashable zip for TWRP: https://www.androidfilehost.com/?fid=745849072291698429

MD5: d09d943c9603c42dba1c7743cf45b6a5

Tested 2 times, everything is working :cowboy:

Note: There is no need to flash this zip if everything is working for you and you are already have 15.2 (with dm-verity enabled) - but you can do cause there is nothing wrong with it!

I wil see how it goes with future updates of Magisk. Please wait for my post before making future update(s). I will test, if it is still necessary to enable dm-verity before Direct Install method. If something is "danger" I will provide a new Update zip for Magisk. :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4651598]davideakc[/MENTION] Any news? Did you try new Update zip from previous post and have you checked, if the Filesystem of external SD is okay (cause this can also sometimes making problems)

Another thing is, you should not enable in K-Settings /More settings /block Google services
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] davideakc:
Sorry for the late answer but I was not at home...

You fixed my problem by flashing Update zip!

Now all seems working normally, thanks!

Just for curiosity... What was the problem?

Thanks again!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If the zip solved your issue, it was a broken Magisk Root.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] davideakc:
I had tried to update Magisk to the new version with the guide you linked me fore remove the locked SIM code, 2 days ago...

Why the problem is appeared today, if you know?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Because you had the issue with NCK..

And your steps to remove it with my Guide removed the SIM issue but Root was some kind of broken.

Finally the zip corrected it :good:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Aioria:
Hi Tecalote, I wanted you to ask, if possible, if you could add the caffeine quick tile in the notifications panel....

when I had the G3 with LineageOS 14.1 it was present and I found it very comfortable...

Thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] SnowOokami:
[MENTION=6870018]Tecalote[/MENTION] will you merge the new security updates (B399) with a new release of your MA rom?

B399 update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2199/g1604/v100315/f1/full/update.zip
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This is exactly the Base of the New Rom I am working on and releasing soon :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] akupac:
Hello

What about Meltdown vulnerability? Will the kernel be patched up against it?

Enviado de meu HUAWEI GRA-L09 usando Tapatalk
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
In Fact the Meltdown and Spectre are relatively new vulnerabilities.

Google gives in December Patches to the manufacturers of Android Phones.

Google Apps should fixed anyway with their Updates, you can read about here:

https://www.gizmodo.com.au/2018/01/...ure-still-vulnerable-to-meltdown-and-spectre/

I will integrate the newest Version off GApps in next Rom based on b399. (I don't use the once are integrated in the Firmware).

But the Rest is up to Huawei.

The Firmware b399 is released on 2017-10-19.

There's no newer European Firmware available at the moment.

There's only for China a newer Firmware b404 - but I don't know if there's a Fix included for this vulnerability. It's released on 2017-12-15. And if I don't know in which parts of the Firmware the Fixes are included.

I don't think its in system or cust.

I think it can be fixed only into Radio Image, which is not flashable with Custom Roms but only with original Firmware (if it has already the patch)

I haven't seen any scan Apps yet for this vulnerability.

So I can't Fix issues like that if it's not fixed in Firmware itself.

It's not an issue of the kernel, it's an hardware coded problem of how CPU is working and how does the Firmware manage it to close the hole, cause the fault is inside of the construction of the CPU...

And mostly on Intel processors and on several arm, but there's no exactly list about.

So maybe P8 isn't vulnerable? In fact it's not sure yet.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] akupac:
I thought so... Let's see if manufacturers will care about old models...

Thank you very much for the explanation and the great work with P8 ROMs!

Enviado de meu HUAWEI GRA-L09 usando Tapatalk
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nikkiscores:
I'm very interested and would be very grateful for an XInternalSD guide, to go with a new ROM! I'm always running out of space and having to move things around manually, it would be nice to have a solution.

TIA!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] akupac:
+1

Always a headache when trying to manage apps and app data space.

Enviado de meu HUAWEI GRA-L09 usando Tapatalk
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] davideakc:
Hi [MENTION=6870018]Tecalote[/MENTION]

It's out a new version of Magisk... Can we install it or do we need to wait your tests and your ok?

Thanks :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I will test tonight (its 1:00 pm in Germany , I am on work, it will be ready arround 11: pm)

Better to wait, cause it's perhaps different if you updated to 15.2 with my Update zip or if you followed the instruction with Direct Install...
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Aioria:
Hallo Tecalote, maybe you have not read my question :)

Thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I have read and thanked. I will see if it works!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Please install zip from following Post!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Magisk 15.3 update

FLASHABLE MAGISK-UPDATE ZIP TO UPDATE MAGISK TO CURRENT VERSION 15.3

Please use only this zip for Update Magisk to 15.3 - if you would use Direct Install you may get the problem with NCK (see screenshot)

Magisk 15.3 Update for MagicArrow v2: https://www.androidfilehost.com/?fid=673791459329072603

MD5: daa3c3e4555e357383ad6e321cb13d49

Just flash this zip with TWRP and everything works fine :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] davideakc:
I've just flashed your zip for updating Magisk to the new version and it worked!

Thanks as always!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] beardedwonder:
I have finally resolved this problem, I turned on airplane mode then connected my phone and ever since then I have been able to connect the phone to my PC without issues. I have just updated to the latest version.

Thanks for the ROM, only thing I miss is the ability to select 2G only from the mobile network screen.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Aioria:
Hi Tecalote, I wanted to know about the new Rom, it's been a while since the last time you wrote here.... did you abandoned the project? it would be a shame.

Let us know, see you soon bye
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Anytime I write about a new Rom you can be sure it will come - otherwise I would say to all Users Good by. I do what I say but it need the time as it takes !!

I am working, I have family and do this development in my small private time where you may sitting in front of the TV :o

B399 is very critical especially for safetynet and several other things. Its like a war.

Magisk isn't stable yet.

Google and Huawei services check Root on deodexed Custom Roms.

I have to fix a lot of things that they work properly.

You have no idea how much work that is..

Do you want a good Rom or shall I bring out a buggy one?

I am working on it. And if you are busy, there are many other Roms available ;)

I said to all Users 'don't stress me with questions like yours"

I am not only here active but in several Threads and Forums with Support all the day too.

So, if you want to do my work instead of me - then do it :silly:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Aioria:
I just asked what happens, you had said for January you would have released her.

I'm sorry for have you disturbing.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It doesn't matter :)

More information about my situation at the moment here:

https://xdaforums.com/showpost.php?p=75327675&postcount=5

All together have a nice weekend :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Aioria:
I'm really sorry for your problem, I do not read other posts and I was not aware of them.

you will see that everything is settled, you will find a better job than the previous one...

I send you a great wish for the future.

ich drück dich die Daumen ;)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] beardedwonder:
Does changing preferred network type work for everyone? No matter what I select there's no change.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Try first to disable volte, then change
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] beardedwonder:
I have tried this but no luck. It seems when I select 4G/3G/2G the network icon displays 4G LTE. Then with both the other options selected it shows 4G.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes this is a small Bug, it shows always 4G, even if it is not enabled.

But all those things are fixed in the new Version of the Rom, which is on the way to be released.

I just have to Fix some things with Magisk (for the Magisk Edition) and some other small things.

But the build I have is nearly final.

I will post Link here to the new Rom soon as ready.

Its also possible to flash dirty over the current Version.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] chros69:
I just played around with Aimp and ViperAudio (MagicArrow v1) and I noticed that it operates on 48000Hz. Can we somehow set it to 41000Hz?

Also: what driver is installed by default?

Thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi,

You cannot set the frequency less in this Rom, because of Viper4Android Audio Driver.

P8 has Tensilica HIFI3 Soundchip.

I can't say you in the moment how it's processing on Stock Rom and which driver Huawei use.

I implement always Viper4Android and Dolby Atmos, because most User like it very much.

And why should we not use the best quality for Audio?

But you can disable Master Power in Viper4Android and in Atmos.

Then it's similar to Stock Rom.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] chros69:
I thought the HiSilicon Hi6402 audio IC: https://xdaforums.com/p9/help/p9-audio-quality-vs-p8-p9-lite-t3407119

I was asking 'cause music is 44.1 kHZ and I'm listening music most of the time, and it would be better not to do an unnecessary conversion.

But if it can't be done (by changing/installing something) that's fine. :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 1ted55:
hi tecalote? , Why did it come in this form? :(
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Just reboot phone and it's away.

It doesn't come back :)

It comes, if you enable Multiwindow and you don't know how to handle.

First one App must be open, then long press on the Task button enables Multiwindow.

Then you can add another window /app and have both open in Dualwindow.

In the middle are three symbols - the close button is to cancle Multiwindow
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] chros69:
Can I put a shortcut on the Desktop for ViperAudio settings? (I only find a shortcut for K settings.)

Thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] heszkewmeszke:
Hi, I'm on Stock firmware b200 and after 2 years I have a lot of bugs so I would like to install your Rom. I would like to ask about update. Is it planning any update for nearly future? Because if update Will be on next few days I Just wait for this.

Thanks for response.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] chros69:
I just realised that I can create a shortcut for "More settings" (ViperAudio is under this):

and the next time I click on it it remembers the last menu-entry that was used before (probably until the next reboot). So it's good for me this way.

Probably it will take a bit more, but just wait for it :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The Rom Update comes very soon - I guess during next two days.

But you can't flash this Rom (MagicArrow v1, v2, v3) over b200!

You are on Android 5 and it's required to be on Android 6 for flashing this Rom.

Because of Bootloader. Bootloader cannot be flashed with Custom Rom, only with original Firmware.

So you must first manually update to latest Marshmallow Firmware for your device with dload method.

For updating your Firmware you must Unroot your device and flash back original Stock Recovery from b200 and original boot.img, after doing Factoryreset with wipe of internal memory - then you receive OTAs - or do manually update with Full Firmware and dload method.

However Backup your important folders from internal memory (WhatsApp, DCIM, Downloads...)

And do Huawei Backup of Apps with data (except systemapps like Phonemanager and except Chat Apps)

And note: Once you are on Android 6, you cannot restore a TWRP Backup from Android 5!

Bootloader get closed after update to Android 6 and you must reopen
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] EnvYuiko:
Hi telecate i have a problem i'm on B399 with bootloader unlocked but when i try to flash TWRP in fastboot mode it give me this error: Failed(remote:command not allowed)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Have you USB Debugging in Developer Options enabled?

Do you run Minimal ADB and Fastboot Programm on PC in administrative Mode.

Have you accepted the RSA request on the Display of your phone during USB connection with ADB?

If you type:

adb devices

Is your Phone listed with SN?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
NEW ROM - MagicArrow v3 - ONLINE

The new ROM is online - have much fun with the new ROM :cowboy:

Here you go: https://xdaforums.com/huawei-p8/development/rom-huawei-p8-gra-magicarrow-v3-t3751885

[MENTION=564103]Aioria[/MENTION]
[MENTION=3041737]beardedwonder[/MENTION]
[MENTION=3872117]ChavezD[/MENTION]
[MENTION=4173335]chros69[/MENTION]

- and @ all :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] DrunphO:
thanks mate, great job again :good::good::good:

running smooth and with some nice improvements like apps clone

thanks again to keep our phones alive :victory:

just a side note, themes app isnt working properly, its only possible to change the theme by downloading a new one from stock... the "mine" tab keeps black and customization dont show any theme neither - would be great if you have the time to look at it

first i did dirty flash above v2 and i thought that was the problem, so i went back to stock and did a clean flash but the issue its still there

anyway... its still the best rom for our P8 :good::good::good:

MANY THANKS

---edit---

ah forgot to mention... about the NCK blocked issue after updating Magisk (even on V2) we just need to reflash magisk again and the problem gone ;)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I have written in the new Thread

https://xdaforums.com/huawei-p8/development/rom-huawei-p8-gra-magicarrow-v3-t3751885

how Magisk Updates can be handled in the future

https://xdaforums.com/showpost.php?p=75656403&postcount=22

The Theme Manager should work.

I have flashed this Rom about 60 times and never had an issue with Themes.

You should delete the (hidden) .cache folder in HWThemes folder on internal Storage and restart Phone.

And hopefully you have checked the md5 of downloaded Rom.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] DrunphO:
Heya mate, thanks for the fast reply - themes are working again here :))

just FYI, i didnt had the (hidden) .cache folder in HWThemes but i renamed the HWThemes forder to anything else and restart the Themes app, and voilá, its working good now :good::good:

moved all themes to the folder again (now the .cache folder is there) and all appear on the app ;)

thanks again mate for your precious work, cheers
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nomadcrysis:
Hi...have a GRA-L09 with B398 a Arrow 2...doing a wipe with Twpr may i install Arrow 3 ?...thank's...Apologize me for english.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] byjgio:
hi, i have a GRA - L09 C150 B390, EMUI 4.0.3 ANDROID 6.0 all official.

the smartphone works well, lately I have space problems and excessive battery consumption. which rom do you recommend or which firmware can I install?

thanks for everything

byjgio
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, this should work :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I will think about it and answer your question later
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Sparkrite:
LOVE IT, just LOVE IT, very good [MENTION=6870018]Tecalote[/MENTION]. :D:D:good::good:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can update your Firmware to c150b391.

To do this, Stock Recovery (no TWRP) must be installed from current b390. This is required.

And your phone should not be rooted.

If you have Root installed, you must Unroot, if you have Xposed Framework installed, you must uninstall (first Xposed, then Root)

But if you have only Stock Firmware without TWRP or anything, you can start right away.

Download the Firmware, Unzipp it on PC. You will get the UPDATE.APP and perhaps a META-INF folder.

You must create a folder on your external SD and name it exactly: dload

Into this folder you copy the UPDATE.APP and META-INF (if it's included)

Then press Vol+ and Vol- (in the middle) down, hold this position and press at the same time the power button - don't release the 3 Buttons until Phone is rebooted and EMUI Update starting..

b391 for cust c150:

This update adds new features to apps, including Email, Calendar, and Notepad, and optimizes the Themes icon.

Adds a feature to prioritize emails.

Adds more years to the perpetual calendar.

Adds Local calendar and Global holidays in Calendar.

Adds a feature to add and share contacts using QR code.

Adds a feature to share notes as text, image, or email in Notepad.

Optimizes email login by configuring parameters automatically.

Optimizes the Themes icon to be more consistent with the system.

Download: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G985/g104/v82458/f1/full/update.zip

To save Battery - enable Bluetooth only if needed, change Power Mode in Phonemanager to smart (instead of high performance)

Disable Apps (which should not receive push notifications and such Apps you use not often) in protected Apps (also in Phonemanager/Battery)

Use instead of Facebook - Facebook Lite snd instead of Skype - Skype Lite..

Most space on internal Storage took videos (from WhatsApp for example) They are stored in WhatsApp Media folder on internal Storage.

May you move only the videos to external SD and delete it on internal storage?

There's a method to use WhatsApp folder on external SD instead of internal storage.

With Xposed Framework and XInternalSD - I will make a guide for it, soon I have time (even other's like to know how to do)

I am not sure if my Rom would work on your cust c150

I cannot test.

All I could do is to try to make a Patch, if you would like. But this would need some time
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] byjgio:
thanks for everything, you are great.

thanks for the patch, but I think I do not need it.

bluetooth already turned off

useless apps already blocked

from about 15 days the phone has cut the battery life in half, replaced with a new one (original) but the problem remains.

whatsapp already moved to the SD

gallery already moved to the SD

all the allowed programs already moved to the SD card

I think it has come to the end of his life

p.s. Tomorrow I'll try the firmware, I'll let you know how it goes

Thanks for your help

Marco
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Sparkrite:
Why not at least try [MENTION=6870018]Tecalote[/MENTION] s Excellent Rom :-

https://xdaforums.com/huawei-p8/development/rom-huawei-p8-gra-magicarrow-v3-t3751885

I know its a different Cust. number but I have often flashed different Cust. Roms without problem.

My battery life has been extended by at least 20% with his Rom.

Just make sure you have a backup first and follow ALL instructions EXACTLY.

Let us know how you get on,please.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] henxan:
Wow, massive work done by dedicated crew!

My GF's GRA-L09 is all stock, gone through only official upgrades. She's got B398, android 6, on the device. Lately battery has been *draining* and she is unable to utilize her SD card in any meaningful way. Will this rom help in using SD card? Be able to put apps on the SDcard?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Apps to SD Card on Android 6 can only be moved by using native method (same with Link2SD), but it makes not much sense.

The apps itself don't need a lot of place and some apps would not work on external SD.

Most place take the media folder on internal storage (example WhatsApp folder with video's)

But there's a possibility with Xposed Framework and the module XInternalSD to store media folder from apps on external SD (and the apps are thinking they would be placed on internal storage..)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Curvedcrew:
Hi,

Since a week or two, my bank app detects that my phone is rooted.... Has been working correctly for several months. Any idea/tips?

App: com.kbc.mobile.android.oob (KBC Sign)

Magisk v16.0

Universal SafetyNet Fix v2 Beta 5: enabled (disabling it didn't fix it, it mentions Magisk v14 hotfix...)

Magisk Hide: app is marked

Thanks!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Things will be more complicated in the future - Google block GApps on uncertified devices:

https://www.xda-developers.com/google-blocks-gapps-uncertified-devices-custom-rom-whitelist/

I would not use Universal Safetynet Fix anymore, cause it is blacklisted and breaks safetynet.

All the module does is to change the ro.build.fingerprint from the Huawei Device to a Xiaomi Device.

I will post a description here during next days how you can have green safetynet and certified Playstore and hopefully your banking app working
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Curvedcrew:
Thanks!

For the record: my Magisk safetynet checks are green as is the Play Store "Play Protect" scan.