yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The work on the new Rom is 99% finished.

I try update Thread and upload the Rom to Android Filehost. soon as possible :)

I made four Roms - two for P9 and two for P8

(Classic and Magisk Edition)

So I have to update 4 Threads, two on xda (P9 and P8) and also in the German Forum Android Hilfe de..

:)

If I don't have enough time to do it during weekend, it will be during next week...

I am sure you will "love" this Rom.

But there are some important steps to make - if you want to have the best result.

That's why I can't give the Link before everything is written down, what's necessary
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zelenko:
Someone have bad battery like me? Something drain my battery and keep phone awake during sleep. I cant figure what.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] LA81:
Aptx hd?

Thank you for the great work.

I'm not a developer (at all), just a happy user.

I wonder if it is possible to make aptx (possibly HD)

to work in your rom?

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
What is aptx, have you a Link for me?

Wait for the new Rom which comes during next days
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] LA81:
it's a Bluetooth codec https://www.google.ch/amp/www.andro...mm-aptx-bluetooth-codec-explained-787716/amp/

https://www.whathifi.com/advice/aptx-hd-bluetooth-what-it-how-can-you-get-it

For example:

https://xdaforums.com/android/software-hacking/aptx-hd-bluetooth-stack-codec-cm13-t3530079

or

https://www.google.ch/amp/s/xdaforu...-aptx-hd-bluetooth-hi-res-audio-t3501991/amp/
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
It's for qualcomm only?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] LA81:
Aptx was there way before Qualcomm bought it under it's name. So I assume it's software based and the only requirement for it to function is the presence of bluetooth 4.1 hardware.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
P9 has Bluetooth 4.2.

I cannot test, because I have no Bluetooth Audio Devices.

But if you like to test it, this would be good.

I would test this:

https://xdaforums.com/android/software/mod-aptx-hd-bluetooth-hi-res-audio-t3501991

Edit: I think it cannot work with this zip.

I have looked inside and in P9 there's no aptX lib, installing will abort....

If I have time I look for another possibility..

If you make a Nandroid Backup with previous TWRP you can make it from all Partitions and if the Bluetooth Codec conflicts or not working - you can restore your Nandroid

Previous TWRP 3.1.1-0:

https://www.androidfilehost.com/?fid=817550096634785012
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
[MENTION=6870018]Tecalote[/MENTION] are you recommending the TWRP 3.1.1-0 version as the best to install for now? I'm asking as some time ago in this thread (post #305) you recommend me to install the newest version (3.1.1.1) as it is good for backup (only the most important partitions for backup so not making me confused). Anyway I spotted that few days later you post in the main TWRP thread (post #504 something about vendor mounting etc.

I still need the TWRP to make just full backup of my system and I'm trying to do it once a month or everytime when I'll be doing any system upgrade (read flashing your new custom ROM). So in this case (flashing soon your new ROM) is it better for me to keep the newest one or downgrade to 3.1.1-0 ?? All I want is to be sure that backup which I have can be restored in minutes to have fully working phone if something will go wrong during flashing etc). Sorry that I wrote this question here, not in the TWRP thread but I think it's more related to your custom rom as I'm using only your's ROM now.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi :) For Backup and restore the 3.1.1-1 is more simple - only thing is - for flashing my next Rom which comes soon, you have set up TWRP as following:

1) Go to settings to last Tab and disable (uncheck) automatically mount of "vendor"

2) Before flashing my next Rom you must also go before to "Mount" and disable (uncheck) vendor - because it mounts vendor even it is disabled in settings!

But for Backup and restore this TWRP is good.

Because you don't need more Partitions to Backup as the shown ones for my Rom.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Thank you for explaining. Just to clarify - I understand, that once I'll install new ROM (when will be finally available) I need again to enable mounting vendor in "settings" and "mount" before I'll be doing new backup ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
For Backup you must not enable anything, because as I said, vendor (and what's needed for backup) becomes automatically enabled -

You have just disable Vendor in Mount and settings of TWRP as I said - for flashing new Rom only!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zelenko:
Any news for update?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
Chief, I want to know if jour ROM contains a custom kernel who can be modified with undercloking and undervolting, or are you able to do it????would love to have one to reduce battery drain.....

Thanks for all your work and the help you give in your threads.....
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The next Rom, which come soon final (I have just some little things to solve) should not have Battery drain!

And it has the feature to disable some cores to solve Battery :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Guys, everyone is looking forward for a new ROM, however we need to be patient to get quality software without problems. Anyway I'd like to ask people who mentioned battery draining problem how bad is it? I can't compare, as I installed this ROM just day after I got P9. I think there is no battery problem for myself. Once I disconect phone in the morning (approx 7am) I still have around 40-50% of battery when I'm back home at 7pm. In meantime I'm using around 1 hour on screen (WIFI) and sometimes short calls, text, gps... Comparing to my old Samsung Galaxy S3 it's deadly as I had to charge S3 once or twice during the day as well..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=3976035]jordi1910[/MENTION] ...and Battery in new Rom should be more better than now - as well as a lot of other things, hopefully :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
Can we come from B386 or B387 base or we need to downgrade before????
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
No downgrade, only reflash update.app.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zelenko:
I have big problem with battery drain. Will be new rom be soon or do i back to stock Nougat?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
New Rom is ready, I just want to update the Thread and do it soon as possible.

But anyway you have to go back to b386 before flashing the Rom (if you have EVA-L09 or EVA-L19)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] thecleanse:
Frp lock

Following the German forum .... but stopped on bootloader frp lock after flashing update.zip and update data.zip.

Can't flash twrp.

How to enable oem unlock again?

Thank you

Sorry ... problem solved locking and unlocking again the bootloader.

Flashing your rom ...

Thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I am sorry, I was too busy last week and weekend - the German Thread is online.

Tomorrow I am free to update this Thread here on xda :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Do not apologise Tecalote and do not promise - just do it ;) I'm just joking of course . Seriously speaking we are waiting so long now that another day won't do a difference but would be nice to finally have this.

PS. Any reviews (positive or negative) on German forum so far?no problem for people?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Everything positive - just doing the right steps from my guide
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
As I could't wait any more knowing that the ROM is online already and more over we have a bank holiday today in Ireland so I followed the German forum and with a little help of uncle Google's translator I flashed v2.

So far - so good! The only thing I forgot to backup viber before flashing :( . I restored full nandroid backup of b383 from TWRP but this method is not working (viber must be activated anyway - even if its full backup) so I have few weeks old backup now, but I can live with this. I restored b386 and it's working like a charm!

I spotted few new apps (new browser - VIA, PM Plus, ADM and something else) so must obtain them...

Anyway [MENTION=6870018]Tecalote[/MENTION] good job and big thank you!

PS. Is there any option (I believe it is) to disable sound on booting ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zelenko:
Same here i install from german forum and now i will test.

Thanks for your hard work.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi, sorry for late answer - you need Explorer with Root Permissions and go to: /product/etc/media/audio/animationsounds - just delete bootSound.ogg and reboot

You can also delete shutdownanimation.zip in: /product/etc/media - if you don't like - but don't touch bootanimation.zip.

It's not possible to change, then you would have only generic Android Logo during boot.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Please don't install Rom if you have L19 - there's an incompatibility issue for sound at the moment.

I am working to solve this yet and after I upload the corrected version
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
I ma on the v1 version b383 base for L09, do i have to go to stock b386 before updating to v2 cause i have no computer then if i flash stock 386 with twrp and if it restore stock recovery i'll not able to flash twrp again

Thx for your answer
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jordi1910:
Thank you, I don't care about animation but sound sometimes was annoying.

Last question - is it safe to remove Huawei HiGame and Health applications? If I'm using a third party email app (AquaMail) can I remove standard email app as well ? (so far I frozen it and do not see any problems however I'd like to ask expert about opinion as they might be important for something else which I don't know )
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
No problems at all... I remove about 300 Mo of apks and files, these one include...my ROM is about 1 Go before flashing.....
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes you can safely remove this apps without losing functions.

But I would not do it so extremely than some other Users if you like EMUI
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Sermpie:
Does V2 of this rom have K settings? :p
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
Chief, is it possible to have it separately or can I DL somewhere, or is it include in system apps

Thanks....

Edit I like emui but I like light much....:p
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, it's called Advanced Settings and you can find it on Homescreen
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Do you mean K-Settings (which is called in Nougat "Advanced Settings")?

This cannot be separated, its the whole framework, the KangVIP apk is just the control panel
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, you must wait until you can work on a PC, cause you must before update (go back) to b386 if you want that new Rom work properly as it should with improvements for many reason as well as battery life
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
My new Rom is available based on b386 - I just had no time until now to update this Thread. But it will be updated as soon as possible. If you cant wait, use instead the German Forum with Google Translator and ask me if something isnt clear for you.

I am very busy at the moment, thanks for your understanding! Here you go: https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p9.2808/huawei-p9-rom-android-7-0-emui-5-0-magicrainbow-v2-by-tecalote.829450.html
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
Ready to try,thx bro?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jaceleon:
Already flashed and upgraded. As expected of your work, still the most stable OS out there...

Kudos!

Now I just have to restore my apps and contacts via HiSuite....

BTW, it's worth the wait!

Edit:

Bug found. Fingerprint Association in Safe is always disabled. The safe cannot be unlocked by fingerprint detection. But Fingerprint sensor can be used for anything else (app lock, screen lock, calls, alarm, etc.)

Is there something we can do about this?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dly77:
Hi

This is my first post :)

I have EVA-L09 C113B370 (wind it)Please tell me, can i flash this rom? Thank you.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi there - this is a good question!

You can flash it and I think it will boot (first start about 10 min) - but it's not sure if everything will work properly.

But you can try.

I have seen, there's no higher Firmware available for your device (only b371 which isn't Flashable except if it comes with OTA)

You can do following:

1) Backup your Apps with data (but only User Apps, no system apps and no Chat-Apps - for Chat Apps use inbuilt Backup Function)

2) Download the Full Firmware b370 for your device :

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1583/g104/v83895/f1/full/update.zip

This is the update.zip

And download the data.zip for this Firmware:

http://update.hicloud.com:8180/TDS/..._wind_it/update_data_full_EVA-L09_wind_it.zip

3) Store this Firmware on your external SD (as zip, not unzipped and not in dload folder)

If something goes wrong I can tell you how to restore your System as it is right now.

Copy my Rom to your external SD.

4) Use latest TWRP, which I have linked on android.hilfe.de in my Thread.

5) In settings of TWRP on last Tab disable vendor and after use Advanced Wipe in TWRP

Wipe only Dalvik - cache - data - system (not vendor)

6) Go back to main menu in TWRP and open "Mount" Tab - uncheck /disable everything in it - enable only Micro-SD Card to mount.

7) Flash Rom - after flashing don't wipe cache again

8) Wait until it boot up

9) Make short setup

10) Enable in settings /about phone with klicking 7 times on build number the developer options

11) Open developer options - if it isn't possible, the Rom doesn't work properly - if it is possible, it looks like good - enable in Developer Options: 1) ADB Debugging and after 2) USB Debugging (not 2 before 1)

12) in settings /expanded settings enable "unknown sources"

13) immediately after restart your phone (this options must be enabled!)

If you use Magisk Edition, don't enable systemless hosts, it breaks safetynet. Just install hosts from AdAway, reboot, open again AdAway, if hosts are not enabled, install hosts again from AdAway, reboot.

After it should work.

If Rom don't work properly, tell me and I guide you to restore your current system

I think - Rom will work, but Fingerprint maybe not and we will see, if developers options can be opened and configured...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, this is known - Safe cannot be used with Fingerprint in Magisk Edition, but with PIN

You can just try download in Magisk Manager "Universal Safetynet Fix" module and install it - don't know yet if it helps

In Classic Edition Safe can be used with Fingerprint..

BTW: if you restore apps, do it only with User apps - don't restore any system apps (like Phonemanager) from previous system.

And do not restore Chat apps - chat apps must be installed with Playstore and registrated again (cause your android id has been changed) and after use the built-in restore function from those apps
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Information for all:

It's absolutely necessary to enable Developer Options after first setup and enable in there :

1) ADB Debugging

2) USB Debugging (not 2 before 1)

3) enable "unknown sources" in settings /expanded settings

After a reboot is required - don't do anything before doing this.

This options should be always enabled.

In Magisk Edition don't enable systemless hosts.

Just install hosts from AdAway, reboot

Open AdAway, install hosts once again, if they are not enabled yet in AdAway and reboot.

After it will work and safetynet stays green.

In Classic Edition install hosts from AdAway, reboot. After open AdAway again, look if hosts are enabled, if not install hosts again and reboot. After it will work. It is managed by an init.d script which needs perhaps this two reboots.

If you enable "App auto-launch" in Phonemanager with PMPlus App - be sure you enable SuperSU in Classic Edition and Magisk Manager in Magisk Edition as automatically start up! Otherwise Root don't work.

And enable also Chat Apps into Auto Start

Apps like Amazon must also enabled in App Activation - this part of app auto-launch is only seen if you use apps which require this.

Those are the important information to the Rom.

Another thing is important to know:

Mixplorer Player has integrated VLC Codecs.

So you should not install VLC Player before uninstall Player from Mixplorer

Specially in Magisk Edition:

If you have with green safetynet problems with some Apps - download in Magisk Manager "Universal Safetynet Fix" and install it

One Module is preinstalled in Magisk Manager - this is Linux Permissive mode, don't uninstall this!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Important information for VIP Users of KangVs Advanced Settings :

1) VIP Users must do nothing - VIP is automatically enabled! So, if you got a patch from KangV in the past - don't install this! Because it uses older version of Advanced Settings

2) Make sure you don't have enabled in VIP settings "Root compatibility mode" Do not enable this!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Important information to Viper4Android

Its not like in previous Rom.

If you open KangVs Advanced Settings on your Homescreen and open more settings /Viper4Android - there's the installation pool.

You see

1) None

2) Older Version of Viper

3) Newer version of Viper

For example use 3) Viper 2.5 and you receive a message to confirm and reboot your phone.

After reboot this Viper is installed and you must search for the App on your Homescreen! Mostly on a new (last) page

In Advanced Settings is only the installation pool.

Here you can enable and disable Viper4Android, but not configure Viper4Android.

For configure Viper use App from Homescreen
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dly77:
Thank you so much sir. In wickend i have time to do this. I do this exactly, and then ai let you know. :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay, I wish you success
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] thecleanse:
Two little problems

I've have noticed two little problems.

Supersu asking for root is almost eternal ... waiting for minutes ... then prompt appears.

For certain apps, it's necessary to close and open the the app many times to obtain the supersu prompt.

Pm manager plus isn't working for me ...

I click on install ... a message appears "the switch is already open" ... then nothing.

Permission manager and startup manager are not available.

Have I doing something wrong?

Need to flash the rom again?

MagicRainbow v2 supersu version , Clean flash, Viper4android 2.5 installed, Xposed installed.

For the rest ... great work.

Thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you have installed PMPlus and it tells you that the switch is already open - that means you haven't read my last posts (some posts ago)

You have to close PMPlus and can deinstall this App, which is only for one times good to enable "app auto-launch" in the App called PHONEMANAGER

Open Phonemanager and switch to the 2nd window

In there you find "app auto-launch"

It is absolutely necessary to enable in Classic Edition SuperSU in App auto-launch - same as in Magisk Edition It is absolutely necessary to enable Magisk Manager in App Auto Launch - if you have activated with PMPlus!!

Only if you do that Root can work properly!

I said also that it's necessary to enable in App Auto-launch all Apps which should get Push Notifications!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Auto Launch is placed in Phonemanager after enabling with PMPlus
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
OP is updated now :)

OP has been updated, please read for further information :cowboy:

Have much fun with this Rom based on b386 European Firmware :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
I have a problem the develloper option doesnt work for me,what I must do ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Which Phone model do you have EVA-xxx?

Which official Huawei Firmware was the latest you had installed.

Were you on MagicRaibow v1 before or other Custom Rom.?

I must know before I can guide you what's to do
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
EVA-L19C185B385?Ive just instal the Magisk v2,I'am coming from the Classic v1
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You must go back to Stock Firmware b385 for your device

update.zip:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1583/g104/v80560/f2/full/update.zip

data.zip:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1583/g104/v80560/f2/full/hw/meafnaf/update_data_full_hw_meafnaf.zip

You can flash it with TWRP (its Full Firmware) - but you must do it right way

How do is written in OP (flash Firmware)

Before you do that, Backup your stuff. Also from internal storage - because it will be wiped with my method.

After do the other steps from OP.

MagicRaibow v1 is based on b383 and v2 is based on b386 - its too much difference between both.

If you go back to your b385 and do then the wipes it should work.

If not we can try with b387 - its also available as Flashable Firmware for your device.

But I think b385 should be good
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
I have flash it the update.zip:

http://update.hicloud.com:8180/TDS/d...ull/update.zip

its the same problem :( so ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I want to know if you did exactly the steps which I have written on the first site of this Thread in #1 (OP) Point 4) How do flash Firmware - click to show content?

With both Links I gave you, the update.zip first and the data.zip after, with all the other necessary steps from Point 4)

Did you do this?

And did you use my Links - this is exactly the right Firmware with data for your device.

In Nougat are always two zips necessary - update.zip alone is not enaugh!

If you have flashed only update.zip, this is not the same effect!

You must be correctly on Stock b385 with everything.

If you are booted to Stock Firmware, look if developers options are working in Stock Firmware.

After flashing TWRP you must do the wipes exactly as I have written in OP (Dalvik, Cache, data, system - and nothing else)

After you must uncheck /disable vendor in Mount (better uncheck /disable all except Micro-SD and then flash the Rom.

Then we will see.

If developer options don't work then, we can try same process with b387 for your device. I have the Links.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
I do all the steps correctly,but tired to obtain the B386.when I flash it, I have failed to munt /dev/block/.....

faild to munt /data...:crying::crying::crying::crying: