yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Few comments:

1) IMO, it's subjective what 'battery drain' means, e.g. how many percent's per (idle?) hour is acceptable or not and under which conditions.

I have about 1% per night hour, with 3G (4G turned off), WiFi, GPS off (Location using 3G/WiFi), NFC turned off (be aware that it is by default switched On?!), and Smart Cover feature turned Off (it is also switched On by default), Fingerprint On (all these features do drain battery).

For me, that 1% is acceptable for a smartphone, specially on Android 6/7, but some people coming from old feature-phones expect to drain no more than 2-3% per the whole night

2) Before installing Magic Rainbow I wiped System+Data+Cache+Dalwik and upon installing (at some later point upon settling) I again wiped Cache'Dalwik, wasn't that enough (what else should Factory Reset from Project Menu do)?

3) I'm not sure if Push Notifications + "Close Apps after Screen Lock" works correctly.

If I include WhatsApp into the "Close Apps after Screen Lock", then I don't receive WA notification on closed screen - although I expect that WA is powered by Push Notifications. Similarly for GMail.

It seems that even apps that depend on Push Notifications must not be "closed after screen lock"?!

But if I remove WhatsApp from "Close Apps after Screen Lock" (to ensure to receive notifications), then I see in the over-night battery statistics that WA was active at some points (waking up the phone from deep-sleep?!), although I have not received any message or call during the night.

Of course, these things are generic for the underlying b383, not specific to Magic Rainbow. Differences with MR could only be: some 'bloatware' apps removed, few more apps/services added (SU, V4A), IMO - it should be negligible for battery consumption.

It would be nice if CPU performances (K-9 Advanced Settings) could be tuned differently for day (default) and night (power saving) :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION]

1) I totally agree

2) Wiping with TWRP is okay, I just recommend to do it also with Stock Recovery at the point of being on b383. I always did this. Once I install Firmware I boot after to Stock Recovery and wipe there Cache and make the EMUI Factory Reset. TWRP should do the same with "Factoryreset" but I feelt, from Stock Recovery it is more complete. Had always good experience with this little step between.

3) Apps that depend on Push Notifications should not by "closed after screen lock" - also not Apps like Mega, which should Autostart if called.

And yes, the things which are generic for the underlying b383, we cannot change..

Thanks for your comments!

BTW: There's a Setting in:

Settings /Advanced Settings /Security (below) - called "Apps with usage access"

I think every App can disabled here, cause it does not affect the function of the applications - but takes power from Battery..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
More on battery stats (idle):

- l09 c432 b383 Magic Rainbow

- 3G/2G (not 4G/3G/2G) and Mobile Data on, WiFi on, Location on by 3G & WiFi (GPS off), BT and NFC off, Smart Cover off, Fingerprint on

- Advanced Settings, Tune CPU/GPU, Power Save 4+1

- accounts: Google, WhatsApp, Skype

Screenshot attached below, you can see:

- 1.15% / h = 34.5 mA during 19h - 24h (idle at home, not using the phone, I was receiving some mails and WA messages waking up the phone but I didn't read them)

- 0.13% / h = 4 mA during 24h - 08h (idle, not using the phone, my home WLAN AP switches off 24h - 07h)

For me, this is like 'very good' (not 'excellent', but better than 'good') for idle time!

Display consumes a lot, but this is 5.2" FHD...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] marginean.m:
Hi all and many thanks to the developer. Nice ROM indeed.

I have a single question: does Screen Search ( the thing that Google App does when you longpress the home button) work for you?

If this is a problem that only I have, probably it will get fixed with a reflash.

But if other people have the same issue, does anyone know how to get that back? It's useful every once in a while (maybe someone knows the command needed to summon that with K-settings?).

Many thanks! Cheers!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello and welcome :)

Just open K-Settings /Navigation bar settings / Longpress home key action.

Default is at the moment "Torch" (means flashlight) but you can change it there.

Use "Custom Application" and choose "Google App" from the list.

Just in case your system language isn't English:

If Custom Application doesn't open - go to normal Settings /Advanced Settings /Language and Input and add English USA. Change just for setup Custom Application in K-Settings the language to English - and then setup Google App as mentioned.

After you can prefer again your system language
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Long press buttons are configurable in Advanced Settings (Mipop Settings).

However, instead, pull down Status Bar (top-right), there are buttons for various actions and they are configurable
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] marginean.m:
That I know. What I don't know the specific command for this part of the Google app. Because Screen Search is not a different app and (AFAIK) it can't be find in app drawer and assigned to a key (either in status bar or by K-settings/Mipop).

This is what I'm talking about: https://www.youtube.com/watch?v=baa47Qb68xE
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] swedenboy:
Hi [MENTION=6870018]Tecalote[/MENTION].

Thanks for the ROM and confirm that when I flash this ROM over (L19)C636B381, everything works well including Fingerprint, because the phone keeps saying this is L19C636B381.

Quick tested K-settings, Viper4Android FX, SU.... everything went well... until now.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Have you tried #108?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
L19C636B381, everything works well including Fingerprint

Hello :) That's a good news :cowboy:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] marginean.m:
Yes, and after selecting Google from custom apps it just opens the Google Now with the weather and news and all that information that Google thinks is relevant like how to say good morning in my own language ;) But no screen search.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay, I understand now what you want

Advanced Settings /Desktop settings /drope down desktop action = Globle Seach (means Global Search)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Try the following:

- install "QuickShortcutMaker" (Google Play)

- open, stay in 1st tab "Activities", scroll down to "Google App"

- click on, scroll down to the 2nd "Google Assistant" (I think it's 19th activity under the "Google App")

- click on, you can "Try" (it will immediately open "Hold Down the Home Button") or you can "Create" its icon on the home screen

When you click on that created icon, it will open "Hold Down the Home Button" (if you're looking for that).

You probably need to disable Mipop long-press option in the K-Settings...

But maybe the answer above from [MENTION=6870018]Tecalote[/MENTION] provides an easier way
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thinking also about reducing power but during the active time (while display is on). Under the K/Advanced Settings, there are two options Adjust Screen Resolution and Tune DPI.

No matter how we reduce screen resolution, we must still light up the whole 5,2" display hence there is no saving on that side, but we can save on GPU processing power by rendering less number of pixels.

We can adjust screen resolution from FHD 1080x1920 to HD 720x1280 (wasn't there a similar option under the stock Settings?), but IMO it makes the screen pretty coarse.

Instead, we can also fine tune the DPI. Default 480 corresponds to the default FHD resolution. If we decrease DPI by e.g. factor 2/3 to 320, it will correspondingly decrease the resolution by 2/3 from FHD 1080x1920 to HD 720x1280. That means 720x1280=921600 pixels instead of 1080x1920=2073600, and we save on GPU processing by (2073600-921600)/2073600%=55,56%.

Attached table provides DPI values decreased by 40, corresponding resolutions (by width and height) and percentage of decreased number of pixels.

Decreased resolution decreases also fonts but you can compensate by increasing Font Size under the stock Display Settings.

Of course, decreased resolution is not appropriate for gaming or working with pictures.

IMO, DPI values 400, 420 or 440 could make a reasonable compromise. Over the next days I'll try to test how much power does it really save under the 'regular' usage.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] marginean.m:
No, it's not the Globe search. Is a feature of the Google App that with the marshmallow android was activated by longpress the home button and Google calls it Screen Search. You can activate it in Google App settings (wich I did, but with no result): https://www.youtube.com/watch?v=baa47Qb68xE

---------- Post added at 09:28 AM ---------- Previous post was at 09:09 AM ----------

Thanks, I'll try that and report back

Later edit:

It's strange... The Google Assistant command does nothing...most of them have no response with the exception of the Google Now and Google voice search
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
There are three Google Assistant activities - have you tried each of them

Screenshot attached showing the invoked "Hold Down the Home Button" but I cannot help you further, I don't use Google Assistant.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hfmls:
guys i can't find camera app? maybe i did something wrong?

btw how can i go back to stock dload-huawei-p9-eval09-eva-b136?

i know how to lock bootloader again, but i can't find stock recovery for this stock firmware? any help please? i need to send phone to warranty but don't know to make it stock again :|

thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] marginean.m:
It does exactly as in your screenshot. But nothing more, just the circle around the home key but nu action.

Thanks anyway, mate!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
How do go back to Stock Firmware/ and downgrade to MM

If camera app isn't there you did something wrong.

Do go back to Stock you must do following:

1) Flash with TWRP b383 for EVA-L09 update.zip (dont unzip it and don't do it in dload folder - just place the zip for flashing on your external SD)

2) Don't reboot - flash immediately after update_data_full_hw_eu.zip with TWRP

3) Go back to the TWRP main menu and make wipe (Factoryreset)

4) Go back to the main menu and use Reboot RECOVERY

5)You are now in Stock Recovery.

6) A) Make wipe of cache partition B) make Factoryreset

7) Boot into system with short setup

You are now on b383 - can stay here or upgrade to b386...

If you want to downgrade to Marshmallow:

8) Download Transition Pack: https://xdaforums.com/p9/how-to/rollback-eva-l19-android-7-0-emui-5-0-t3496091

9) Unzip b300 on your PC and copy the update.app to dload folder on Phone (external SD)

10) flash it with 3 Button Method

11) Download b136 (why not b182? - I would prefer) and flash it also with dload Method (delete existing update.app in dload before)

I have tested and it works if you don't make something wrong.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hfmls:
wow, thank you very much! i fixed it all, got all fast and clean using this ROM, and your method! :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
Hi Tecalote i have installed your rom,it's very good but can i ask you something?

I can see on all b383 rom some problem with 3d game, after a lil moment games run very slow so do you think you have an idea to bybass this with a custom kernel or a way to keep gpu frequencies lock at 800 or 900mhz?i triyed with perfomance mod but nothing changed
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can try with Gaming Mode (but maybe similar same than Performance)

I don't know yet, which mode would really help for 3d Games (since I am not a gamer I haven't experience with it...)

I wrote on post #100 which different CPU mods are available with Advanced Settings:https://xdaforums.com/showpost.php?p=72219479&postcount=100

Perhaps other Users knowing some better tweaks for 3d gaming? If I find anything what helps I'll tell
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
Thx for your answer but do you think it's possible making a custom kernel dedicated for that?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I'm not sure how exactly DPI tuning works but I tried graphical benchmarking with various DPI tunes and results were varying in an un-systematical manner (sometimes reduced DPI resulted with even worse performances). If reduced DPI does not boost graphical performances - by reducing the number of pixels to be rendered (as expected), I don't see how it could really help to reduce SOT power consumption.

(Btw, somewhat strange/unexpected results: With reduced DPI screenshots still remain 1080x1920., and reducing DPI results with smaller fonts).

On the other side it is hard to systematically measure and compare SOT battery consumption with various set-ups. As a result, returning to the default 480 DPI (and keeping default FHD Screen Resolution)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tip-Ex:
[MENTION=2514079]teleco[/MENTION]te

I have installed your rom. However some apps were missing and Bluetooth is not working

But I noticed that I am on NRD90M test keys as a build.

Any idea how to fix? If I need to go back to M, can you advise how that is achieved? I have tried everything but cannot roll back

Hailsa!

---------- Post added at 11:37 PM ---------- Previous post was at 10:42 PM ----------

Ok. Got your Rom installed correctly. Everything is working fine

Still on Test keys build though... any ideas?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
[MENTION=359086]Tip-Ex[/MENTION] it looks like version part is missing.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I would go back to Stock with the steps I wrote in #122 from 1) to 7)

If you have then c432, everything is okay and you can reinstall TWRP and my Rom.

BTW: which EVA-XXX to you have?

If you have after Steps 1-7 same NRD90M test keys in build number

- you must roll back to MM as I said with #122 steps from 8) to 11) Use at point 11 the firmware b182 (linked in OP)

If you look then into phone info and have c432 everything is okay and you can upgrade with OTA to b378 and higher with steps mentioned in OP.

If you have NRD90M test keys again or c900 on b182 - you can try it with the steps I wrote in #2

For installing my Rom it is necessary to read OP. Did you know that you should only wipe:

Dalvik/Art Cache, Cache, data and system!

Don't wondering if you wiped more partitions - then it is like [MENTION=4900664]dkionline[/MENTION] said.

But if you did exactly what I recommended and mentioned in OP - you can't have NRD90M test keys!

In this case you come not from a clean System and had the NRD90M test keys before installing my Rom - cause of a corrupted Nougat Update.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
I have nrd90m test keys only when i take backup in twrp.why? In system settings cpuz aida 64 etc is c432b383 this is normal?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This is normal!

TWRP use this generic name.

But you can change on every Backup the name -

just click in the field backup name "automatically" then you get keyboard to write what you want
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tip-Ex:
Any idea how to fix?

Is there a manual flash possible for the version part of do I have to fall back to M and redo everything?

---------- Post added at 06:46 AM ---------- Previous post was at 06:39 AM ----------

Sorry guys browser window did not refresh properly. I did not see the answer above.

Eveything is working fine, so I'll just stick to the way it is now.

Thanks for the great work!

---------- Post added at 07:02 AM ---------- Previous post was at 06:46 AM ----------

I believe this is the case... Any real issues with being on test keys?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Just observe it. I wasn't on test keys that's why I don't know.

But if everything works fine it should not be a problem..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
Theres all saved, in real, all functions are set in version folder.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
With some tweak i get this at each time on antutu:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Simon G:
And the Battery Live after your Tweak?? is bad right?? Where is the sense ? Its not important when Benchmark points shots higher and higher. Absolutly important is a Stable system without issues and Good Battery Live.

Gesendet von meinem EVA-L09 mit Tapatalk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
System is stable and Battery life is good if you don't restore Apps and data

I think the system is stable. Isn't it??

And on my phone battery live is even good.

I have checked that battery life is only good if the system is made from ground on clean - without restoring Apps or data from Backups. - except restoring data from calendar, sms, contacts
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jimz6:
Hello. Will there be an update to B386?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
There will be an update, but I wait for a higher version than b386. Cause if I make b386 today and tomorrow would come

the next version - you would ask me, if I update..

I have not the capacity to make every new firmware update a new Rom - since it's more than a lot of work.

But soon Huawei release a firmware, which is more better than b386, I will update :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jimz6:
Ok. Thanks for answer. :svetius:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jaceleon:
Could some upload C432's TWRP backup of cust, oeminfo, vendor, product and version so that we could convert phone's version on a much easier way?

Also, if my idea isn't doable, is this ROM fine to be installed on a EVA-L19C185B***? I am already on Nougat BTW.

Thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] swedenboy:
Since I cannot use my TV streaming app with rooted device, I have to go back official ROM.

However, for better update, I successfully debranded to C432 as your instruction in post#2.

Thank you very much.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] aceclift:
you can just install the latest twrp 3.1.0.3 on your phone since you already have the right kernel which is B380 and above to use install Magisk and successfully hide root. you don't have to go back to de-branded official ROM
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jbgooner:
Eva-l09c900b145

[/COLOR]
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Swifttech:
Hi, I got l09c900b170 will this rom work for me?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi :) Sorry for late answer - too much stress in my job this time....

A) If you would restore TWRP Backup as you mentioned - Phone do same processing as I posted in #2. In that moment you restore oeminfo and reboot your phone, EMUI begin to low-level wipe your Phone

B) If you are on EVA-L19C185B - I need to know which Bxxx ? - I described in OP: Phone works on every EVA-xxx but Fingerprint Scanner works just with the right firmware-base dependent to your phone.

I cannot test the C185 variant, cause I dont have it - but I make research.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This is Marshmallow-Firmware, right?

You must update to b182 - download full version b182 linked in OP and flash it with 3 button method (Firmware must be unzipped on PC and update.app copied to folder dload on your external SD of your device)

If you are then on b182 - you can do the steps from #2 (if you are on c900b182 - but if you are then on c432b182 you dont need steps from #2)

If dload method to b182 dont work, you must flash b136 first and after b182 (must be always full firmware!)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Same thing:

You must update your Marshmallow-Firmware to b182 and it dont work then, if you have c900. You must change it to c432 like I described in #2
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Information for all USERS:

I will update OP soon

- in the moment it has changed following:

If you are on b182 Marshmallow - you receive the Update to Nougat now directly to b383 with OTA
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
It's not for all

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jaceleon:
My firmware is EVA-L19C185B385. And this is already nougat.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hiepxhop:
To hide root, would I have to unroot SuperSU and re-root with MagiskSU?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] aceclift:
yes you would have to, otherwise safetynet check will not pass
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
C185 has previous version b361 and current b385 - nothing between.

I can't test, but I think the Fingerprint Scanner and Developer options would not work if you install this ROM. Because its based on b383.

You can try it with your own risk, but I think it's better to wait until I update the Rom.

If the Rom would be based on b386 I think it would work everything.

Example: The Rom works with L19C636 b381.

But I don't update the Rom yet because I am waiting for the Firmware which brings a general Battery Patch - and EMUI 5.1 should also come.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I think Magisk is not a good option for this Rom yet, because Advanced Settings from KangV (K-Settings) wouldn't work and maybe also not other elements of this ROM.

If you want or need Magisk for hide root it's better to take a Stock Firmware and root it with Magisk...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jaceleon:
It works, but I lost the system apps such as camera and file manager as well as the huawei updater.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This can only be if you did the wrong wipe.

I said in OP - Wipe only:

Dalvik/Art

Cache

Data

System

and nothing else.

And I hope, you used the linked TWRP 3.1.0-3

In this case I can make a zip in the evening for you to get back whats lost.

But in the later evening, cause I am on work in my job - but first I wait for your Reply

And fingerprint scanner and developer options are working?

I important is also not format data with ext4 - it must be original f2fs
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hiepxhop:
To go back to stock Nougat firmware I would need to download update.zip and then update_data_full_hw_eu.zip. Put update.app in dload and flash. And then everything in update_data_full_hw_eu.zip in dload and flash again. Is this correct?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I would go back to Stock with the steps I wrote in #122 from 1) to 7)

https://xdaforums.com/showpost.php?p=72251560&postcount=122