[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Huawei P9 Marshmallow Custom Rom​

* NewWorld Version 7 *​

for EVA L09-AL00-AL10-CL00-DL00-L19-L29-TL00 - but not P9 Plus and not P9 Lite​

Continuation and further development of the popular Custom Rom of Senior Member [MENTION=477335]Blackball[/MENTION] from the Thread: https://xdaforums.com/p9/development/rom-huawei-p9-fromfuture-newworld-t3390820​

NewWorld 7 Thread for German Users is here: http://www.android-hilfe.de/thema/huawei-p9-rom-6-0-newworld-7-by-tecalote.799824/

So far, I develope Custom Roms for Huawei P8: https://xdaforums.com/huawei-p8/development/rom-huawei-p8-gratitude-tecalote-t3468118 and newest creation: https://xdaforums.com/huawei-p8/development/rom-huawei-p8-arrow-custom-rom-based-t3561615/

I am happy to present you now a Custom Rom for Huawei P9! Have much fun with it :cowboy:

Note:

If you don't come from NewWorld 5 or 6.6 - you must be (or go back to) on the latest Official Marshmallow Stock Firmware for your Device - Fingerprint would not work whitout this step!

See Requirements and Instal Instructions...

Features:

- based on Firmware b198 with the KangV Framework (Kang Tools / K-Settings) - which allows you a maximum customation!

- pre rooted with SuperSU 2.79 in System-Mode

- BusyBox 1.26.2 YDS by YashdSaraf

- deodexed and debloaded

- Callrecorder in Dialer-app for manual recording

- Recording of Calls automatically

- NFC ported from latest Marshmallow-Build

- Google Apps are up-to-date (2017-01-19) - (Google Login, Gmail, Exchange, Playstore, Google App, Chrome

- Special Restart Menu: Normal reboot, Hot reboot, Recovery mode, Bootloader mode

- included in K-Settings: Xposed Framework 87.1 from Wanam (install it from there: K-Settings, More settings, Xposed Framework - install Xposed) Reboot about 10 min.

- Management of Xposed Framework and Modules with Material Installer in K-Settings

- Special Phone Manager (Permission Manager, Autostart Manager, Notification Manager, Spamfilter, Virus-scaner, Dropezone Manager...)

- Maximum battery life

- some Apps preinstalled: TitaniumBackup, BlackPlayer and MiXplorer (very good Root-Explorer)

- Dolby/Atmos™ with Viper4AndroidFX™ (Atmos on Homescreen - but Viper4Android in K-Settings, More settings)

- Dual-Window-Mode can be started from 583 Apps - but added in the second window to the started App in the first window can only 28 Apps - experimental feature...

- some nice Themes (Porsche Design from Mate 9, BlackPyramid Theme from blackbell....) by the way, Online-Themes are working, but you have to register a Huawei ID

- a lot of more

Themes:

Some Useres had problems to activate Themes after installing the Rom. This problem occurs normally not and it is not an issue of the Rom.

Thats why I recommend following:

Before flashing the new Rom make a Backup of your Themes.hwt(s) from the folder HWThemes on internal memory and store this in another folder on your external SD. After delete the HWThemes folder on internal memory (it will created automatically again)

If you make a Nandroid Backup before wiping previous system and flashing the new Rom, reboot your TWRP within the main menu of TWRP "Restart" ...restart TWRP. After you can make a wipe and flashing the Rom.

TWRP (everyone for Marshmallow p9, my linked same as the one from paulobrien) has sometimes problems with mount and unmount Partitions.

The result is (not copied) missing files, like Themes. Themes will be installed in NewWorld 7 not in /system/themes (there are just the icons - for saving place in system Rom) but in /data/hw_init/system/themes. If you have already such a problem with Themes, just flash the ThemesFIX.zip with TWRP (without making anything before and no Wipe of Dalvik and Cache after) - this solve the issue. As I said, it occurs just sometimes.

General Requirements:

1) Marshmallow-Bootloader - if you are on Lollipop or Nougat the Rom cannot be flashed!

2) Bootloader unlocked http://emui.huawei.com/en/plugin/hwdownload/download

3) TWRP P9 for Android 6: https://www.androidfilehost.com/?fid=457095661767122229

Note: TWRP has sometimes after an Nandroid Backup problems to unmount data or system. If you do Nandroid Backkup - please restart after TWRP from the main menu (Reboot Recovery) before wiping and flashing new Rom!

4) If you come from NewWorld 4.1 - or from nanoROM MallowPOP - be sure making the steps from the Installation instructions, otherwise Fingerprint-Scanner would not work!

Download Rom:

NewWorld 7: https://www.androidfilehost.com/?fid=529152257862696521

MD5: 749b1ec0ef072274221c7e77ea6bfc40

Themes-Fix: Only for Users which have problems after flashing the Rom with Themes: https://www.androidfilehost.com/?fid=817550096634742413

MD5: 749b1ec0ef072274221c7e77ea6bfc40

Installation instructions:

If you are currently on the latest official Huawei Marshmallow Stock-Firmware it is easy to install this Custom Rom. Your Stock System must not be rooted, because flashing this Custom Rom will Root it during installation.

1) First of all make Backups of your current system with Apps and data...

2) Activate Developer Options and in there USB-Debugging and OEM Unlock. In Advanced Settings activate "Unknown Sources"

3) Connect your Phone with USB to PC (drivers should be installed, how to do see below) and open Minimal ADB and Fastboot as Administrator.

4) With adb command boot your Phone into Fastboot Mode and unlock your Bootloader (everything explained below)

5) Unlocking your Bootloader makes automatic factory reset

6) Make a short setup (without Google Login or Fingerprint...) and activate Developer Options with USB-Debugging and OEM-Unlock again, also activate "Unknown Sources" in Advanced Settings.

7) Download the Rom an place it on your external SD.

8) Flash TWRP, disconnect P9 and PC from USB and boot with the Hardware-Key into TWRP (Vol+ and Power Button)

9) With TWRP make a Nandroid Backup of your Stock-Rom to your external SD (all shown partitions)

10) After go in TWRP to Wipe, but Advanced Wipe and wipe Dalvik, Cache, data and system (Fullwipe, no need to wipe SD Card)

11) Now you go to the main menu "Install" and navigate to the place (change directory), where the Rom.zip is located and swype to install. Wait until the Install-Script is finished, after reboot your Phone.

12) Restart needs between 5 and 10 minutes. Wipe of Dalvik and Cache after flashing the Rom is not necessary, because you have done it before.

If you came from NewWorld 4.1 you must go back to the last official Huawei Firmware for your model. Without these steps your Fingerprint-Scanner would not work! Please check by yourself the Download of the last Full Marshmallow-Firmware for your model. Only for EVA-L09 Cust 432 (official - not Leak) you can Download it here: http://www.carbontesla.com/2016/11/download-huawei-p9-b182-marshmallow-update-europe/

Steps:

1) Unzip the downloaded Firmware - create a folder on your external SD named dload and copy the UPDATE.APP in there.

2) Make a Backup of your Apps with data and everything you want to backup. Maybe also a Nandroid Backup with TWRP

3) Go to K-Settings, More Settings, Flash Recovery - flash official Recovery (grant Root Permissions)

4) Boot with the Restart Menu to the Stock Recovery. Wipe Cache with it. Restart the Phone with the 3 Buttons-Method (press in the middle of Vol+ and Vol- and press the Power Button until P9 restarts and begin with the EMUI Huawei Software Installing.

5) Bootloader will do closing during this operation.

6) Make a short Setup (without Google Login, Fingerprint or anything)

7) Go to Settings and activate Developer Options (7 times tap on build in "About the Phone"). In Developer Options activate USB Debugging and OEM Unlock.

8) In Advanced Settings activate "Unknown Sources"

9) With latest HiSuite: http://consumer.huawei.com/minisite/HiSuite_en/index.html install the Driver for your P9 - connect it with USB to your PC and close HiSuite.

10) Install Minimal ADB and Fastboot and open it as Administrator: https://xdaforums.com/showthread.php?t=2317790

11) With: adb devices you will see if the connection is ready (Phone must be listed with Serialnumber - device)

12) With: adb reboot bootloader you start the Phone into Fastboot Mode

13) With: fastboot devices you check the connection (Phone must be listed with Serialnumber - fastboot)

14) With: fastboot oem unlock xxxxxxxxxxxxxxxx (instead of xxx.... you must write your Unlock-Code from Huawei and enter) your Bootloader will be opened

15) Phone makes automatically Factory Reset!

16) Go to settings, activate Developer Options and in there USB Debugging and OEM Unlock and in Advanced Settings "Unknown Sources"

17) Connect your P9 with USB to your PC

18) With Minimal ADB and Fastboot (opened as Administrator) restart the Phone to Fastboot Mode

19) flash TWRP (Rename the downloaded one to TWRP - its called then TWRP.img) fastboot flash recovery TWRP.img

20) Cut the USB connection between P9 and PC before restart to Recovery

21) With pressing Vol+ and Power Button restart your Phone until Huawei Logo appears, dont press Power then but keep holding Vol+ until TWRP is booting.

22) Setup language, screen timeout, time zone..... and allow Systemmodification

23) Go to Wipe - Advanced Wipe and wipe Dalvik, Cache, data and system

24) Restart Recovery with Restart Recovery in TWRP and flash the Rom! After flashing no wipe of Dalvik and Cache, because you have done it before.

If you came from Nano Rom: https://xdaforums.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269 - you must do following steps:

1) Download Blackballs NewWorld 4.1: https://www.androidfilehost.com/?fid=24591000424954817

2) Backup your Apps with data

3) With TWRP make Advanced Wipe of Dalvik, Cache, data and system - after flash NewWorld 4.1

4) Do all 24 Steps written above!

Push-Notifications

The Push-Notifications are working for sms, mms, email....

But for WhatsApp, Viber, Skype and other Chat/Net-Call Apps the push-notifications work only perfectly if you convert them into a system app.

After flashing the Rom and the Setup you install your Apps and may restore some Apps with data from a previous backup.

Example: WhatsApp. Install it from the Playstore. Dont open it. Install Link2SD from the Playstore. Link2SD give you a list of all Apps - for example "WhatsApp" - just press long on it and you get a menue - use: convert to system-app. Then reboot your Phone. This time open WhatsApp and you have to authentication WhatsApp again. WhatsApp is searching for a Backup and offer you to restore it. You do this and now Push-Notification will work (dont forget to make a Google-Drive Backup of the Chat-History in Settings of WhatsApp before flashing the Rom)

Additional information: https://xdaforums.com/showpost.php?p=70726169&postcount=30

Switch of chinese Letters:

Go to K-Settings, in there to Notification Settings/Show statusbar lunar - disable it.

After go to Lockscreen und desktop settings/Lunar calender + Desktop wheather lunar - disable it.

HAVE MUCH FUN WITH THIS ROM :cowboy:

​

At this Point I wanna thank KangV for his great K-Settings Framework

If you like NewWorld- fell free to donate KangV: https://www.paypal.me/KangVIP

And if you like my Work too, feel free to donate to me: https://www.paypal.me/Tecalote

Many thanks and credits to other great Developers:

[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=4900664]dkionline[/MENTION] - Custom Roms for P9

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

:cool:​