yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RandomQuezoPH:
I have this one sir.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Sorry, I missunderstood - you like to stay on Stock Firmware and you did the steps from OP for going back - now Filemanager is missing...

Have you flashed also with classic method after the alternative method? I mean with dload? Its also written there.

It is also neccesary to make a factoryreset with wipe of internal storage. Then you should receive OTA to higher Firmware. If so, go to settings of systemupdate and choose: Full Package (instead of some MB). After it is successful installed, make a Factoryreset. Then you will have all Huawei Apps again!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
MagicRainbow v3 based on European Firmware b394 now online: [url]https://xdaforums.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457[/URL]

The ROM seems pretty good - tested one week with five different Users on L09 and L19 ;)​
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Please comment if steps for debranding c432 L09 Nougat to L19 would be:

- go back to stock L09 c432 Nougat

If needed, flash from TWRP (Androud 7) appropriate L09 HWOTA.zip, see:

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

- rollback to c900 b300, see:

https://xdaforums.com/showpost.php?p=72467298&postcount=78

https://xdaforums.com/showpost.php?p=73131443&postcount=321

- install c432 b182 (by dload)

- do Factory reset (?)

- unlock Bootloader

- flash TWRP for Android 6

- restore oeminfo.emmc.win (L19) from TWRP

- install b182 by dload again, and do Factory reset again...

- allow OTA upgrades to the latest available L19 c432 b38x/b39x

- one more Factory reset (?)

- to achieve latest, not yet approved L19 c432 b39x, flash TWRP for Android 7:

https://xdaforums.com/p9/development/twrp-t3565703

and from TWRP flash the latest available HWOTA.zip (eg. L19, c432, b397)

More details for particular steps can be also found in another excellent debranding guide from the same author :)

https://xdaforums.com/showpost.php?p=75655371&postcount=453

https://xdaforums.com/showpost.php?p=75105886&postcount=280

PS: Important trick to boot into just flashed TWRP (otherwise, it gets overwritten by eRecovery) is described at:

https://xdaforums.com/showpost.php?p=74795836&postcount=581

https://xdaforums.com/showpost.php?p=74795532&postcount=579
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, that's right!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] daniel908:
[MENTION=6870018]Tecalote[/MENTION], this ROM sounds very intriguing!

Two questions:

1. Does Magic Rainbow ROM support mass storage mode (i.e when installing the USB Mass Storage Enabler app, will I be able to see the microSD card in the P9 as a storage volume on my Mac / PC if connected via USB)?

On my current configuration (stock Nougat, rooted), the app says "This app will work only if there is Mass Storage Gadget & FUSE drivers built-in in your device's kernel". With rooted stock Marshmallow, the app and mass storage mode worked well.

2. for basic understanding (I am not an expert, but would like to become one ;) ): Why is it necessary to flash a particular stock firmware before flashing Magic Rainbow? Isn't it possible to simply wipe everything and flash a firmware completely from scratch?

Thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
No, this ROM is stock kernel based, given Mass Storage Enabler app does not work.

Btw, app is rated only 3.5 and on PlayStore it says: Works only on selected Samsung and Sony devices. It also says: Does not work on KitKat and above (?!)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] daniel908:
Excuse the noob question - can't the kernel be exchanged against another one? Or does this mess up the entire system?

Do you know, by chance, which ROM I could use to get what I need?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
If that app really does not work on KitKat and above, then no chance ( it will work only on ancient devices). See on Google Play, it says that app was last time updated back in 2013 - how could it support newer Android versions
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] daniel908:
On my stock rooted Android 6.0 system that I had on the P9 before upgrading to 7.0, it worked well...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Question 1) - I can only speak for Windows (cause I dont have Mac) - when I connect my P9 with USB to PC (I have installed the drivers with Huawei HiSuite PC App) I see P9 with the internal storage and the external storage in Windows Explorer - and I dont need any 3.party app to copy files between PC and P9 - I see the storage even if I am connected in Fastboot Mode in Windows Explorer...

Question 2) Huawei is different - a Custom Rom cannot include every part of the original Huawei Firmware (example: modem, fingerprint-scanner) - thats why it is necessary to flash particualar Stock Firmware in the right order. Custom Rom require this on Huawei Devices.

BTW: There is a newer Version of this ROM available: https://xdaforums.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] daniel908:
Thanks Tecalote,

On #1: What you see uses the MTP protocol. That's the new standard since, I believe, Android 4 or 5, but that doesn't help me, because I need to synchronize about 2 million tiny JPEG files between my Mac and the P9 on a regular basis. Using MTP this process takes days or weeks, while over normal USB mass storage protocol this only takes hours. Also, Mac doesn't support MTP directly. I tested several sync tools that can use MTP connections, but they all failed on my use case. Hence I badly need mass storage mode back. :-/

On #2: thanks, now I believe I understand. So flashing a custom ROM only replaces parts of the ROM, and in order to make sure that the result is a consistent thing and works as expected, you need to flash a specific stock ROM with fitting components that are kept when flashing the custom ROM. Did I get this right?

New #3: So why can't you just include everything into the custom ROM, so that flashing a fitting base is not necessary anymore?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
BTW, it's possible to roll-back to MM / EMUI 4.1

Or just pull out SD card, update the files and return SD card back to the phone.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
#1) Yes, thats right, it uses MTP protocol - it can be changed to some other protocols in Developer Options - but not the USB mass storage protocol. But in Project menu it is possible to change the protocol between default (HiSuite Mode) to manufactur mode (I have not tested) and Google Mode (whatever this means...) - see screenshot

#2) You understand right

#3) To make a Custom Rom based on EMUI - I must extract the Images from original Huawei Firmware Update.app and then extract the Images (system.img, vendor.img, version.img, product.img, cust.img, and data) - to modify and make a ROM with it. But there are other imortatnt parts in the update.app which can be extracted (for modem, fingerprint etc) - but those Images cannot opened, because they are encrypted.

So - to make a ROM which would include all those parts - I would must make a modified update.app - but nobody has managed this until yet. And it would be also a massive license problem
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes - thats easy :cowboy:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] AmonM:
Is it possible to do the same steps described in post #2 with b136c900 or do I need to install b182c900 first?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Install first b182 with dload method and do exactly the steps.

Oeminfo is from phone with b182 and that's why I would not recommend to use it on b136
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] AmonM:
Hi Tecalote, thanks for your quick answer. Luckily I made an oeminfo backup in TWRP but I didn't need it. Your great guide worked anyway with B136. I made a friend very happy by updating her P9 and keeping everything original. Tank you!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's good news and good to know ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] tahadluffy:
THANK YOU
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] focussss:
Thanks heaps for this but I didn't get an OTA update to Nougat.

Issue & solution for others if phone gets stuck:

I ran into a where my phone was stuck on "Type the password to decrypt storage" and when I entered my Google password it says it's correct but data on my phone is corrupted. The way I managed to finally boot up was to...

1. Hold the vol+ button and wipe data and cache

2. I tried boot up but got that white screen message again.

3. Restarted the phone and held vol+ and vol- and power key down and the update started to process again although it failed.

4. It managed to boot up.

Hopefully this helps anyone else that ran into this issue.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xtcislove:
Thanks my friend. Feel free too add my tool to your unlocking description.

Your ROM is working fine but i have a few things to mention.

Why you delete SwiftKey?

Great work my sdcard is now writeable from Titanium etc. but its still mounted as before and i have an empty sdcard2 folder... is this as expected?

And please see the Screenshot below, why i have chinese next to my date?

<Ignore this.

Thnaks for your work, battery seems better on your rom too.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
about chineese letters post nr6:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=2293776]xtcislove[/MENTION] Hello my friend :)

Thanks for your feedback!

About chinesische Letters (the only ones in this Rom) is like [MENTION=8136951]darrr1[/MENTION] mentioned the explaining in #6. KanngV just implemented to Magic-Rainbow his Advanced Settings as in original China Roms.

You can easily uncheck it in Advanced Settings /Notification settigs "show statusbar lunar"

TitaniumBackup store his settings from previous System on internal and external storage - if you don't delete this folders before flashing new Rom, it uses this settings as default.

But in my case, I have deleted the settings before and then TB used automatically the Filesystem and not Storage Provider.

But you can easily change in Preferences of TB to Filessytem.

I haven't an empty sdcard2 folder.

I enabled in /data in the file SDPath (ext_SD=1) - Reboot required. After I have in Root / only the symlink to sdcard and in storage: emulated, self, SDID-XXXX (Name of external SD) and two symlinks: sdcard0 (internal storage) and sdcard1 (external SD)

Well, the keyboards... Since Huawei must store them in data and not in system (cause to much other things in system Rom) its little bit difficult to handle.

There are original 3 keyboards (Huawei Swype -

should not deleted in case of going back to Stock, SwiftKey - can be deleted, but must not if Users like it, but can also installed with Playstore, and Gboard - can be deleted. I installed Gboard as second keyboard in system just for safety only...

Its difficult with different wishes of Users :)

And yes, battery should be better in this Rom. [MENTION=4656504]Ohle76[/MENTION] has tested and for the first it looks like good :)

Have fun with the Rom, wish you a nice day

Btw: To activate AdAway one reboot is required before activation of systemless hosts.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I hope too :) But I am sure [MENTION=4419114]rovo89[/MENTION] will release it...

I would be also interested in your feedback, thanks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xtcislove:
Yeah i read Post6 after i posted my message.

I think it was a root browser problem and i made a spelling error its sdcard0 and sdcard1 but both symlinks are fine now and i still have my normal sdcard mount point.

So everything is good

yeah i get your point about swiftkey but dont we have a special skin thats not aviable from playstore?

But this is not a problem i pushed Swiftkey from B383 to system/app in twrp and after this my mount "problems" with root browser has been fixed too.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thanks #Tecalote

Excellent ROM, things work (BusyBox, V4A, etc).

I have to master now K-Settings :)

I switched from (another mod of l09 c432 b383) Moonlight v2 (rooted):

- In TWRP 3.1.0-2, I wiped Cache and Dalwik and restored my full Nandroid backup of the clean b383 (from the time of upgrading to)

- I rebooted to clean b383 (not sure was it necessary)

- Again from TWRP I wiped Cache, Dalwik, Data and System and installed Magic Rainbow

By help of HiSuite, Backup (in Moonlight) and Restore (in Magic Rainbow), I have restored all Contacts, Messages, Call History, and apps like WhatsApp with all its chats.

Similarly, by Titanium Backup from Moonlight, I restored to Magic Rainbow certain Settings/configuration data like WiFi credentials, etc.

Also, Chrome bookmarks are backed-up and restored by Google sync itself.

All together, it took me shorter to switch than to write this post :)

PS: Some observations/questions:

1) TWRP complained that it cannot verify Magic Rainbow ZIP, I had to switch verification off

2) When I opened AdAway and granted it root rights, it failed to patch hosts file. I tried one more time but it failed again. Upon rebooting, it did successfully

3) Mixplorer comes only with Deutsch, I uninstalled and installed English language instead

4) SwiftKey is debloated (fine with me), but SwiftKey Factory Settings (system service) is still present (?)

5) I have problems with Mega app (don't remember such problems in Moonlight), it often fails to open, endlessly rotating the wheel. Also, Mixplorer fails to share files to my Mega account (every time). I've uninstalled and reinstalled Mega app, and wiped Cache and Dalwik, no avail?!

6) I've uninstalled sone more 'bloatware (for me)', EyEm, Health and HiGane, and disabled GMail, Swype for Huawei, SwiftKey Factory Settings - all simply from Settings/Apps at the moment

7) Does Avast Virus Scan in Phone Mngr (original from Huawei) provides real-time protection?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's good news, I'm happy about your feedback.

Thanks :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
But I just edited/expanded my previous post, adding some observations, questions and issues, please take a look -thx :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
1) correctly - my zip is not signed and contains no MD5 file for TWRP verification - but it you can check MD5 after downloading. Can make it in future also for TWRP.

2) AdAway need after flashing the Rom a reboot of the Phone before you can enable the systemless hosts. It needs the init.d script, which isn't active on first start. I mentioned this in OP in section Features and Infos.

3) MiXplorers native language is English, you don't need install English, just uninstall German. I added German language file for the German Users. There are language files for almost each language available (download from settings) and I can't install all of them (to much files)...

4) SwiftKeys System settings I simply forgot to debload.. Next I will leave it as is, cause some like SwiftKey like myself.

5) Mega App - I haven't tried it yet, but I will tomorrow night check what's happened. You can try following :

Goto Phonemanager, Battery and in the middle open: Close apps after screen is locked - disable Mega (it should be present in background) More I can say when tested by myself.

Haven't time to do it before tomorrow night.

6) more Debloading is okay, but be careful with it.. I think you are. But Huawei Swype should normally not deleted, cause if you have not a TWRP Backup from Stock (you have, then its okay) it would not be integrated anymore if you flash firmware and data from dload. Cause deleted Apps from data would not be restored (Tested) and so Users without TWRP Backup from Stock has no keyboard then.

7) Avast has real-time protection
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thanks for detsiled answers. Maybe issues with Mega are related to the recent Mega app update, I'll try with an older Mega version from my HiSuite backups.

And yeah, I've experienced that if you remove or even disable SwiftKey and Swype for Huawei, that upon an e.g. upgrade you end up with only Voice Keybiard (it just ignores Google Keyboard which is also presebt in the ROM) when you boot into the fresh upgrade and you need to enter WiFi and GMail credentials ;( That's why proper and timely TWRP backups are a must (and 50 GB free Mega acc to manage various backups, ROMs, etc);
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You are absolutely right! But since I know this I made a special zip, which can be flashed with TWRP for the worst case and brings all those stuff back :) I don't upload it yet, cause its different for each EVA-xxc

Well, hopefully it's an issue of updated Mega App - some Apps (like Netflix too) has still problems with Android 7
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I pay kangv for vip function in ksettings. What now? How to unlock? Reinstall this app or download new or what? This is my first time(pay to china).

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I am on work now, I will answer your PM in the evening!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Thanks Buddy

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Your welcome! But you can do following first:

Send me with PM your Name, your Mail address and the Serial Number of your P9.

I send it in the night KangV. He send me the necessary files and I send you the zip to flash with TWRP.

Note: There's 6 hours time difference to China.

So you will get everything tomorrow!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Btw, do you know which CPU/GPU combination in Advanced Settings correspond to the default Normal mode - i.e., if I want to slightly save battery, which combination should I select?

For those who want to play with IRS Convolver in Viper4Android:

- Play some music

- Open V4A, select e.g. Phone Speaker, enable Master Power

- Check if Driver Status shows Enabled, Status Normal, Audio Supported, Processing Yes

- Go back to Phone Speaker and open Convolver, enable it

- Try to select an Impulse Response filter

- It's empty, you can't select but V4A will create folder Viper4Android/Kernel on the internal memory

- Download V4A_Kernel_Convolvers.zip from my Mega: https://mega.nz/#F!w41RmZKB!IG53JadhjUKgFK8anbctIw in subfolder Apps

- Unzip (Mixplorer will do) and copy IRS files to Viper4Android/Kernel

- Go back to V4A, now you can select any of those IRS filters

- E.g., Dirac 48k is for relaxed listening, Amphitheater or Live Stage mimic the concerts

Of course, results are the best for Headphones. You can find more IRS filters for V4A by googling
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Thanks for the very good advice how to use Viper4Android :cowboy:

What's with your Mega App now?

I tell you later exactly how CPU Combinations are working and what's the difference.

I am long at work today
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
Very very nice room:good::good::good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Frankly, uploading from Mega app itself to Mega cloud works, and uploading from ES Explorer to Mega works smooth.

Only, uploading from MiXPlorer to Mega (intermittently?) fails.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
CPU Tweaks with Advanced Settings

Hi there :)

I can't say, which is the best mode to have balance and slightly save battery - it would be necessary to test it in a period...

But I can say what exactly the different modes do:

Advanced Settings (CPU Tunings) 8 Cores:

Hardware-Default-Setting (Normal):

Core 1-4 changing frequency 480 MHz -1.3 GHz - 1.8 GHz

Core 5-8 constantly 807 MHz, but if needed, shortly up to 2.3 GHz

Game Mode:

Core 1-4 constantly 1.8 GHz

Core 5-8 constantly 2.3 - 2.52 GHz

Performance:

Core 1-4 constantly 1.8 GHz

Core 5-8 constantly 2.52 GHz

Power Save 1+ 4 big code:

Core 1 changing frequency 480 MHz - 1.8 GHz

Core 2+3+4 = 0 KHz (not active)

Core 5-8 constantly 807 MHz

Power Save 4 + 1 big code:

Core 1-4 changing frequency 480 MHz - 1.8 GHz

Core 5 constantly 807 MHz

Core 6+7+8 = 0 KHz (not active)

Power Save 1 + 3 big code:

Core 1 changing frequency 408 MHz - 1.8 GHz

Core 2+3+4 = 0 KHz (not active)

Core 5+6+7 constantly 807 MHz

Core 8 = 0 KHz (not active)

Power Save 2 + 2 big code:

Core 1+2 changing frequency 480 MHz - 1.8 GHz

Core 3+4 = 0 KHz (not active)

Core 5+6 constantly 807 MHz

Core 7+8 = 0 KHz (not active)

Power Save 3 + 1 big code:

Core 1-3 changing frequency 480 MHz - 1.8 GHz

Core 4 = 0 KHz (not active)

Core 5 constantly 807 MHz

Core 6+7+8 = 0 KHz (not active)

Power Save 4 Code:

Core 1-4 changing frequency 480 MHz - 1.8 GHz

Core 5-8 = 0 KHz (not active)

Power Save 1+1 big code

Core 1 changing frequency 480 MHz - 1.8 GHz

Core 5 constantly 807 MHz

Core 2+3+4+6+7+8 = 0 KHz (not active)

Power Save 1 code (not recommended)

Core 1 changing frequency 480 MHz - 1.8 GHz

Core 2+3+4+5+6+7+8 = 0 KHz (not active)

Just do have an idea...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I tested it now and it works also with Mixplorer, but with additional settings.

With "Bookmarks" I added Storage: Mega

and in the first window I set up following (cause its empty):

trust=1

encoding=1

keep_alive=1

I can copy files, delete files, everything...

May it helps :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lorvix:
damn... i was use this rom about 4 days....and must say, it's awesome and stabile, but.....battery drain is too much for me. :( chrarced 6 times and only using opera beta for facebook and instagram app...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Battery

The behavior of the battery is different by each User.

Akku drain comes mostly from not reseted battery.stats from previous systems.

That's why it is a good tip - before flashing this Rom - to make a Wipe Cache Partition and Factory reset with Stock Recovery (not TWRP) during Stock b383 and after boot into system again. Then flashing TWRP and make the necessary Wipes with TWRP and flashing the Rom.

I have no Akku issues at all. Using Chrome, Viber, Telegram, Skype, WeChat, WhatsApp, Mail, sms, Phone, Music and so on.

In Phonemanager /Akku I enabled some Apps in "Close Apps after Screen Lock" (not the ones which should receive Push-Notifications, and not the ones which should automatically start like Mega - but those I use just sometimes)