[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Huawei P8 Custom ROM

*MagicArrow*

3.Version

based on Huawei EMUI European Firmware b399

Magisk-Edition and SuperSU-Edition

Teamwork by Tecalote and KangV

​

Release-Date: 15.02.2018

Status: stable

Tested and developed on: GRA-L09 c432

should work also on: GRA-UL10 und GRA-UL00

flashed over Firmware: b399 und b398 - clean und dirty

cust in this ROM: only for c432

(if somebody need, I can make cust-patches for other regions)

German-Thread: https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p8.2257/huawei-p8-gra-b399-rom-6-0-emui-4-0-3-magicarrow-v3-bytecalote.866753.html

Known issues/not really a Bug:

A) AdAway is working as preinstalled apk for blocking ads (just enable it after first start) - but if you want to use TCPDUMP or Webserver, please install this apk over the existing one in the ROM as Update: https://androidfilehost.com/?fid=313042859668275788

B) If you flash clean and setup-assistant ask you for WLan Network Connection and you cancle it for the moment - it occurs sometimes on the Magisk Edition an error message like: "No SIM Card found - shoutdown or confirm..." - You just go to confirm and in the next second your SIM Network will be recogniced :)

C) If you install a new App or change something in settings you may receive from time to time a message: "Dropezone for K-Settings blocked... you can add K-Settings in Phonemanager to Dropezone Apps..." But it is not possible to add K-Settings into Dropezone in European Cust (because Phonemanager does not allow...) So, just ignore this message

Requirements:

- Huawei P8 GRA Phone without branding and with Unlocked Bootloader

- not flashable over Android 5 Lollipop

- for best results: Latest possible Android 6 Firmware for your device

- ore if you come from MagicArrow v2 or v1

- read Install-Instructions

- latest TWRP (see Download-Section)

Features/Infos:

- K-Settings by KangV for b399

- Viper4Android and DolbyAtmos with preinstalled Driver, working with Huawei Musicplayer (and with other Players)

- all the other Apps I have included are uninstallable with native settings /Apps (you dont need systemapp-remover!)

- PMPlus and Kernel Audiutor Mod (reborn) for Advanced Users (just uninstall with settings /Apps, if you dont know what to do with this apps)

- Kernel Audiutor can emulate init.d (without loose green safetynet)

- PMPlus can enable App-Auto-Launch in Phonemanager (but its not easy to configure!!)

Phone Manager and the app PMPlus:

Phone Manager does not include the Autostart Manager in European Firmware. The advantage is: you do not have to worry about anything, everything is controlled automatically - and also works. But the battery consumption is slightly more, since all apps wait in the background to be called.

With the app PMPlus, you can activate the Autostart Manager in the Phone Manager. To do this, start the app, go to Installation and as soon as the succesful message comes, close the app (can be uninstalled thereafter). Now, on screen two of the Phone Manager, the entry "App auto-launch" appears!

But NOTICE - through this upgrade will initially set ALL Autostarts to 0 ! You must manually enable the most important apps in App auto-launch - all apps that should receive push notifications - and, most importantly, SuperSU in the Classic Edition and Magisk Manager in the Magisk edition. Otherwise Root permissions do not work!

Advantage: You have control over which apps should not start at system start or in the background (if you need it rarely)

But you must always remember to activate a newly installed app there if necessary. Example: Amazon, E-Bay, PayPal - some of these apps are coupled and not only need the autostart to work , but also the so-called " app activation " (which appears in Autostart Manager when such apps are installed)

Disadvantage: If the apps are not configured correctly in the mask, you have more trouble than good. So, if you're not control freaks, then let's keep your fingers out of it.

But if you want to activate this function, it is recommended to do it at the end, if you have already installed all the apps you are using and not before!

- Facebook lite (original): I recommend to use this App instead of the BigBrother App Facebook - because it saves a lot of battery on Huawei P8!

- most of Google Apps from system are deleted, only the required Core-Apps not - so if you need more Google Apps - dont flash any GApps, just install it with Playstore (like Maps, Google Play Music.... )

- some nice Designs/Themes onboard (Themes will be copied to your internal storage/HWThemes - you can delete what you dont need)

- App-Clone is supported (in Huawei Launcher)

- VoLTE can be enabled in mobile network settings (if your Provider / SIM support it)

- Magisk-Edition: Magisk 15.3 with Magisk Manager 5.6.0 (please enable Magisk Manager as protected App in Phonemanager)

- Magisk Manager comes with pre-enabled settings for safetynet, dont change them. For example: AdAway works now without systemless host setting in Magisk Manager!

- Enabling systemless host in Magisk Manager Settings would break safetynet!

- Magisk v16 Update available - do it with this steps: https://xdaforums.com/showpost.php?p=75656403&postcount=22

Do not update yet to Magisk v16.1 - it would cause big problems - I will provide a patch zip for the update

- You dont need Universal Safetynet Fix anymore - it break safetynet

- If you install Apps which requires safetynet, enable them first in Magisk Hide before you start them first time.

- Busybox 1.27.2 stable by YashdSaraf and SELinux Permissive Script installed as Magisk Module (required)

- In Superuser Section of Magisk Manager is one component pre-allowed for Root-Rights: com.android.inputdevices (its for communication between Magisk and KangV settings)

- If you receive Root-Request from Kernel Audiutor or another Huawei App if you have uninstalled Kernel Audiutor App - then allow this Root Request too

- The system-partition in Magisk Edition must be untouched after Rom Installation, or you loose cts and basicintegrity=true

- means: dont delete or change anything in system partition (with Root Explorer or system-app remover)

- Xposed Framework systemless by topjohnwu (SDK 23) can work with this Rom (not installed) - but it breaks safetynet!

- SuperSU-Edition: SuperSU 2.82 SR5 with modified launch_daemonsu.sh (for SELinux permissive and init.d support - note: you dont need to enable init.d with Kernel Audiutor in SuperSU-Edition)

- SuperSU-Root systemless with boot.img patching (Phone cancle first reboot after ROM Installation and boot up twice)

- Please enable SuperSU App in Phonemanager /Akkumanager as protected App!

- Known issues: In MagicArrow v1 was SuperSU-Root in system - this can make problems if you update directly to MagicArrow v3, because of the CR-Backup Script in v1. MagicArrow v1 must be 100% unrooted before installing v3

- Busybox 1.27.2 stable by YashdSaraf installed to su/xbin

- Xposed Framework v89 by rovo89 integrated in K-Settings /Xposed Settings: If you like to enable just use button "Install xposed" and confirm (same, if you want to uninstall Xposed Framework...)

- First reboot after Xposed Installing needs about 20 min

- PCB (Perfect Color Bar) module comes together with Xposed Framework (but its not enabled - enable it in Xposed Installer, if you like or uninstall it in settings/ apps...)

Download ROM:

P8-b399_MAv3-magisk.zip: https://www.androidfilehost.com/?fid=890129502657583539

MD5: 0394de70a5c3765914371ba4f5f0164b

FIX for the Network-Information-Query (for both Editions): https://xdaforums.com/showpost.php?p=76416139&postcount=167

P8-b399_MAv3-supersu.zip: https://www.androidfilehost.com/?fid=818070582850493154

MD5: 27074686bfff020977ec09e68f80b0fe

You need this Version of TWRP: twrp-3.1.1-0-grace.img

- if you dont have it already... : https://eu.dl.twrp.me/grace/twrp-3.1.1-0-grace.img

Installation-Guide:

1) Make a TWRP Backup from your current system just for to be sure - use latest TWRP!

2) If you decide to flash clean or dirty, in both cases - Backup your stuff

3) IF YOUR CURRENT SYSTEM IS ROOTED - you must flash Unroot Script with TWRP

- For Magisk use Magisk Uninstaller: http://tiny.cc/latestuninstaller

- for SuperSU use UPDATE-unSU-signed.zip: https://xdaforums.com/showpost.php?p=63615067

4) Soon you flashed Unroot Script, go back to main menu to WIPE /ADVANCED WIPE

- if you want to flash dirty, then wipe: Dalvik/ARTCache - Cache - Cust - System

- if you want to flash clean, then wipe: Dalvik/ARTCache - Cache - Cust - Data - System

5) After wipes flash MagicArrow-ROM and soon its finished, reboot your Phone without wipe Dalvik/Cache (Wipes must be done before flashing!)

6) Note - first Reboot can take up to 20 min, so stay tuned and trink some coffee, tea or beer :)

Disable Chinese Letters:

The Rom is European, but the K-Settings are from KangV. Thats why the Lunar component is installed in K-Settings (these are the only Chinese letters in this Rom).

To disable Lunar, go to K-Settings:

1) Lockscreen and desktop settings and disable: "Lunar Calendar" and at "Desktop weather lunar"

2) Notification settings - disable: "Show statusbar lunar"

Save Battery:

- NFC (with Google Pay) ist enabled by default - disable it and enable it only for the time you need it

- Location Settings (menu: scan settings) disable WLan and Bluetooth Search while Wlan and Bluetooth is disabled, Navi Apps are working also without this setting.

- You can change Location Service to WLan and mobile Network and enable GPS only if you need it

- Performance is enabled by default - change this in Akku-Manager (part of Phone Manager) to SMART

- Bluetooth enable it - if you use it and disable it - if you dont need it at the moment

- Close Apps in the background you dont use at the moment

Have much fun with this ROM​

​

​

:cowboy:

Many thanks to KangV for his K-Settings Framework

If you like K-Settings - please support KangV: https://www.paypal.me/KangVIP

If you like MagicArrow, you can support this project here: https://www.paypal.me/Tecalote

Many thanks and credits:

[MENTION=4737693]guitared[/MENTION]edhero (Viper/Atmos) https://xdaforums.com/nexus-6/themes-apps/viper4android-t2952137

[MENTION=3562083]wanam[/MENTION] and [MENTION=4419114]rovo89[/MENTION] and [MENTION=5345056]DVDandroid[/MENTION] for the Xposed Framework Development

[MENTION=4070451]HootanParsa[/MENTION] (MiXplorer) and [MENTION=5423715]YashdSaraf[/MENTION] (BusyBox arm64)

[MENTION=4470081]topjohnwu[/MENTION] (systemless Xposed Framework and Magisk)

[MENTION=631273]Chainfire[/MENTION] - SuperSU

[MENTION=6233909]AD2076[/MENTION] for TWRP-Recovery twrp-3.1.1-0-grace.img for Huawei p8 marshmallow

[MENTION=477335]Blackball[/MENTION] - BlackPyramid Theme and Custom Roms for P8 - P9 - P10 - P10 Plus - Mate 9

:cool:​