yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Guides, News, & Discussion] daveh077:
Is there anyway to remove hivoice or to set its language to English if not?
[Huawei P9 Guides, News, & Discussion] zgfg:
Google Assistant, "Ok, Google"

There are two apps:

- HiVoice = Voice Assistant

- another app with Pinyin name = Text to speach

Both can be disabled - on the atteched screens you can see where the corresponding apps/services are installed, just go there (root, MiXplorer) and rename their apk extensions to bak, and reboot.

For Text to speach alternative, Pico TTS is already installed.

For Voice assistant you can install Google Assistant and enable its "Ok Google", see third part of an old post #331

https://xdaforums.com/showpost.php?p=77263790&postcount=331

That is, install Google app from Playstore, then open (MiXplorer, root) file

/cust/All/cn/xml/hw_defaults.xml

and edit/add the line:

<integer is_show_google="1"/>

Finally, you can enable/disable home screen page for the Goigle feed
[Huawei P9 Guides, News, & Discussion] daveh077:
Perfect thank you very much!
[Huawei P9 Guides, News, & Discussion] Tecalote:
Thats fine, I am dhirsty and waiting for ;)
[Huawei P9 Guides, News, & Discussion] daveh077:
For reinstalls in the future I don't suppose the network patch zip could be updated with all this. I know it removes other Chinese apps, so could it also include the removal of - HiVoice and Pinyin plus editing the lines in /cust/All/cn/xml/hw_defaults.xml as you detailed?
[Huawei P9 Guides, News, & Discussion] dkionline:
All better than use chinese apps.
[Huawei P9 Guides, News, & Discussion] zgfg:
HiVoice and "Okay Emy"

Although the app with Pinyin name is not uninstalled (or disabled as renamed to bak), once you select English (or other non Chinese language), Text to Speach output goes automatically to Pico TTS (Smart Assistance / Accessibility / Text to speach output) - see screenshot 1

Also, although HiVoice app is not removed, it can be disabled or enabled but set to English or other languages (Smart Assistance / Voice Control) - hence there might be users who don't want Google Assistant but want to keep HiVoice for placing calls or to find a phone "Okay Emy, where are you" / "I'm heeere", see screenshots 2,3

(Frankly, I don't use neither Google nor Huawei Voice control, and when I had HiVoice enabled to see how it works, sometimes it woke up on my voice when I didn't say "Okay Emy", or anything sounding similar to me)

Hence not should such tweaks be part of NW patch
[Huawei P9 Guides, News, & Discussion] zgfg:
PS: TWRP for Oreo does not support Huawei encryption, hence patches cannot make changes to Data partition (to disable the two apps there)

Btw, changing

/cust/All/cn/xml/hw_defaults.xml

to add

<integer is_show_google="1"/>

seems to be safe (no artefacts) even if Google not installed and using HiVoice
[Huawei P9 Guides, News, & Discussion] xxxvego:
System > About phone > Build number > EVA-AL10 8.0.0.540(C00).

So where can I find "complete Build-Number"?
[Huawei P9 Guides, News, & Discussion] Tecalote:
This is the Build-Number. (But in your post before you didn't write)

Okay, you have problems using HiSuite.

0) Disconnect P9 from PC! - and make sure HiSuite HDB is enabled in Security settings of the device.

1) Install newest available HiSuite on PC:

https://mega.nz/#!qMYzSQhQ!wSBbpUmGvzstIo1dvkqsARp0zsHVp-SXxHfmpC5MhJw

(extract zip and install exe)

2) Make sure screen timeout is during configuration enabled for 5 min (instead of 30 sec)

3) Open HiSuite and connect now the phone to PC.

4) You will receive requests in HiSuite on PC as well as on your phone. Accept every request.

After all this processing your phone should be connected with HiSuite.

5) Then you can switch back screen timeout as you like.
[Huawei P9 Guides, News, & Discussion] xxxvego:
When i try "Allow connection in HDB mode" the following message appears : "An app is obscuring a permission request. Settings can`t verify your response."
[Huawei P9 Guides, News, & Discussion] Tecalote:
Try to disable ADB Debugging and USB Debugging in developer options.

I dont know for which reason you want to use HiSuite?

(during rebranding and for installing root I recommend not to use HiSuite HDB - but of course, it can be used, if you have already installed Oreo and want to use it for some reason - example Downgrade to Android 7 for rebranding back...)

HiSuite HDB on phone can be used to have access in Windows Explorer to internal storage and external SD → instead of using USB Debugging (but I use always ADB/USB Debugging, so I dont need HiSuite HDB)

But I have no further idea whats going on on your device - I could use HiSuite all the time, if I like. It is working fine on my phone (but I do not need it).
[Huawei P9 Guides, News, & Discussion] zgfg:
Coming OTA b40

(This post is by fault, duplicated by the subsequent and updated post #11401)

have b535 Patch02 and today System Update shows OTA availability for b540

Checked in Firmware Finder AL10c00, it also shows that b539 OTA-MF #200340 is Approved

Finally, checked in FF under AL10c01 for b540, OTA-MF and FullOTA-MF, #208317 and #208318, they are also Approved

Edit:

Update notes and guide

https://xdaforums.com/sho...postcount=1405
[Huawei P9 Guides, News, & Discussion] zgfg:
OTA b540 available

I have b535 Patch02 and today System Update shows OTA availability for b540

Checked in Firmware Finder AL10c00, it also shows that b539 OTA-MF #200340 is Approved

Finally, checked in FF under AL10c01 for b540, OTA-MF and FullOTA-MF, #208317 and #208318, they are also Approved

Edit:

Update notes and guide

https://xdaforums.com/showpost.php?p=78763850&postcount=1405
[Huawei P9 Guides, News, & Discussion] Tecalote:
Reserved
[Huawei P9 Guides, News, & Discussion] kristiansja:
[MENTION=6870018]Tecalote[/MENTION] found this ROM

https://fex.net/226281679415/296421303

it works fine, has k-settings, but uninstalls google play, magisk and installs some chinese apps. Just use root to unistall and reflash magisk boot

google play had problems, simply downlaod the latest apk and it should work just fine, mine is certified.

here is a video showing the settings

https://www.youtube.com/watch?v=pDupUD2q__0
[Huawei P9 Guides, News, & Discussion] Tecalote:
Yes, I know this Rom, based on b535 by KangV.

I had tested after release, about two months ago.

Feel free to use it.

But I don't use it for a Rom of mine.

It was another situation as I made Roms based on European Firmwares. I made it by myself and KangV integrated his Settings Framework into my Rom.

I am in friendship with him. We talk with Messenger App.

I had no time the last months because I had to learn for a new job.

If I find time I will make a Rom and ask him to integrate his settings.

That's a kind of teamwork, same as for MagicRainbow.

I would NOT take his Rom (as some others did here on xda) and saying it would be my work ;)
[Huawei P9 Guides, News, & Discussion] gero802:
gero

I installed this and started with Chinese applications. Then I decided to do it wipe through TWRP and everything is over now the phone gets to the logo and does not turn on :( please help!!!!!!
[Huawei P9 Guides, News, & Discussion] zgfg:
I doubt anybody will give you support here for that 3rd party ROM

You can try:

- Flash this ROM again and do not (or do it carefully, one by one) remove system apps.

Or just rename them from apk to bak that you can restore from TWRP if it won't boot again

- Reinstall latest stock Oreo from Huawei eRecovery (if you can boot to), followed by Factory reset and Wiping cache

- If nothing else would work, use stock Oreo b528 Service Restoration package from:

https://xdaforums.com/p9/developmen...ta7-p9-eva-t3820849/post78721851#post78721851
[Huawei P9 Guides, News, & Discussion] gero802:
gero

Thanks but I made it through TWRP with the program HuRUpdater :) And it came about :victory:
[Huawei P9 Guides, News, & Discussion] kegelban:
I have updated to b540 and now want to flash the stock EMUI recovery

(just as for b535 we had EMUI Stock Recovery = VIE-EVA_b535-RECOVERY_RAMDIS.img)

Do I understand correctly that the image to flash for the new version is

AL10c00b540-Stock-RECOVERY_RAMDIS.img (found in your MEGA folder)?

Many thanks
[Huawei P9 Guides, News, & Discussion] zgfg:
Yes

Btw, have you OTA updated to the b540 Patch02
[Huawei P9 Guides, News, & Discussion] Newkeebrown:
Thanks for your reply, appreciated.

I'm not trying to flash the zip. All three files are in an extracted folder. I'm typing "fastboot flash boot" then dragging and dropping the .img file into the command window. You can see this in my earlier post with the error. I definitely didn't have any ADB issues as i queried in CMD with "adb devices" command and could see my device BEFORE i sent the fastboot command to put device in fastboot.

I followed all the instructions to a tee (ADB, fastboot, rooting and flashing are not new to me), so my only thought is that maybe the bootloader has been relocked after step 3, and it needs to be unlocked to flash the boot.img?
[Huawei P9 Guides, News, & Discussion] Tecalote:
Just for your information:

Only sometimes, after rebranding to AL10 and flashing the Firmware (Nougat/Oreo) it's possible that you have after Reboot a screen with a password request. (See Screenshot)

In this case (don't worry) :

1) Enter any password, press blue Button down left

2) Then press blue Button (in the middle)

3) Phone reboots and make a low-level Wipe

4) After rebooting to system just flash the same Firmware once again with HWOTA7 (Don't forget to enable Developer Options /ADB+USB Debugging + accept RSA Request on Display of P9 after every Factoryreset)
[Huawei P9 Guides, News, & Discussion] Tecalote:
Yes, this could be. If you start update_eng.bat the script check if Unlock is needed. If yes, use the script to unlock (on Nougat everything can be done with the script, except flashing boot.img) :)
[Huawei P9 Guides, News, & Discussion] Newkeebrown:
I reckon that is it mate. Thank you. It did ask for the password as you mentioned, and it did a low level reset, so all I was missing was reflashing the firmware. SO close, but had to rollback to L09C432 as was expecting a phone call and had no reception.

Will try again tomorrow.

Cheers
[Huawei P9 Guides, News, & Discussion] Tecalote:
Playstore + Keyboard and other useful apps (apks)

[MENTION=7873066]Gilgameshhhhhh[/MENTION] [MENTION=7464589]albelushi7[/MENTION] and all :)

Here are the main applications like Playstore, Gboard and some more:

https://xdaforums.com/showpost.php?p=77161300&postcount=4

Tomorrow evening you will get instructions on how to set basicIntegrity and ctsProfile to true :)
[Huawei P9 Guides, News, & Discussion] urbanmec:
For the OP [MENTION=6870018]Tecalote[/MENTION] to test and maybe include in the guide , for the L09 , to enable NFC on Oreo : (I never used NFC before , so I don't know if it works completely , but it must be an easy fix beyond this point)

1. Using a text editor open /hw_oem/xml/unstall_apk.xml

2. delete the last two lines containing NfcNci_45.apk and Tag.apk.(the whole lines not just the names)

3. Save and Reboot, NFC should be available in Settings and functional.
[Huawei P9 Guides, News, & Discussion] Tecalote:
Just awesome :good:

It's 100% working.

EVA-L09 rebranded to EVA-AL10 with NFC..

OP (Post #1) and Guide (Post #2) updated. Some more details I will add tomorrow afternoon after my work.

That's great news.

You are my Huawei Tweak Professor :cool:
[Huawei P9 Guides, News, & Discussion] fpippo1999:
Waiting for some advice from [MENTION=4376225]vampirian[/MENTION] to treble ROMs
[Huawei P9 Guides, News, & Discussion] albelushi7:
Does not work - Google Play closes automatically !!!!
[Huawei P9 Guides, News, & Discussion] Tecalote:
On my Phone it's working without issues.

Try to clean data and cache in settings/apps/Google Play Store/Storage

Do the same with Google Play Services.

Reboot phone.

Edit: Disable "Trust Space" if you haven't done

Also important is to correct the Time Zone on your device from China Time to your Zone
[Huawei P9 Guides, News, & Discussion] zgfg:
Huawei portal for Bootloader codes is locked down but one can get the code for mere 4 EUR

https://xdaforums.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
[Huawei P9 Guides, News, & Discussion] albelushi7:
I think the reason I installed anothr Google Play Packs before it proved package you uploaded,،Worked After factory reset and set the correct package ,works now, thank you.
[MENTION=6870018]Tecalote[/MENTION]
[Huawei P9 Guides, News, & Discussion] Tecalote:
Your welcome :)
[Huawei P9 Guides, News, & Discussion] Tecalote:
For your information:

The patched ramdisk.img for Oreo is just a temporary Root solution primarily for editing the local.prop to get mobile network and NFC to work.

But with this temporary Root you can't install Magisk Modules.

When I am back at home I present you the Full Root Solution with Magisk, including the safetynet fix.
[Huawei P9 Guides, News, & Discussion] vampirian:
Im afraid i can not advise you because as i said in my previous statement i can not support with P9 device since there is no official support and firmware but you could try out some GSI from

https://xdaforums.com/project-treble/trebleenabled-device-development

They will be more capable of supporting your needs

Expect some bootloops if it fails and many other minor bugs that hopefully with a little support from the devs will solve them.

Im gonna release a treble rom once i come back from my holidays which is end of August.

The reason i can not support you atm is because my method of having Oreo on my device is different from Tecalotes i had to make a firmware from scratch by combining and compiling released parts from 3 different devices.
[Huawei P9 Guides, News, & Discussion] Twisted Prime:
I did all the steps but my IMEI is still unknown, and dual sim isn't in the settings, what can I do to fix it? Should I try flashing a gsi?
[Huawei P9 Guides, News, & Discussion] Tecalote:
GSI don't help.

If you have unknown IMEI and no Dual SIM, then you didn't something wrong or incomplete.

I don't remember yet, do you have L09 or L19 (original)

I am thinking about to provide the prop /xml file with the right settings for replacing the original ones.
[Huawei P9 Guides, News, & Discussion] vampirian:
GSI will not work if you dont sort it out. Once you make emui 8 work, then you can switch to GSI. If reception wont work on emui then it wont work on GSI. Start the procedure all over and go again step by step. Give me your device model as well
[Huawei P9 Guides, News, & Discussion] Twisted Prime:
I rebranded from l09, flashed all the patched ramdisks, added all the lines to local prop and dual sim settings don't appear

---------- Post added at 01:53 PM ---------- Previous post was at 01:45 PM ----------

eva-l09c432
[Huawei P9 Guides, News, & Discussion] Tecalote:
Okay, no problem. I had the same issue with my first try.

I did copy and paste and this didn't work.

If you can wait for half an hour, I upload local.prop and the xml file and you can just replace them and it will work ;)

(Reboot required)
[Huawei P9 Guides, News, & Discussion] kegelban:
It popped up before I could even go through some introductory screens after reboot. So yes, I did install it. Now patching recovery to reinstate EMUI..
[Huawei P9 Guides, News, & Discussion] Tecalote:
[MENTION=7786725]zgfg[/MENTION] There are a lot of parts (img) when you look into the update.app with Huawei Extractor.

Most of them can not be flashed, neither with TWRP nor with Fastboot Mode or adb shell and su.

For example you can't flash Huawei eRecovery.img with Fastboot Mode. You can try without result.

There's only one way to push the EMUI Recovery from Huawei eRecovery (which includes EMUI Recovery) directly with adb shell and su to recovery_ramdisk.

But Huawei eRecovery itself can't be flashed. Its untouchable.

Flashing dumped userdata.img is not possible without bricking the phone.

Flashing userdata.img from update.app is also not possible.

Only DC Phoenix is able to do this job by using very secret technology (of codes)

DC Phoenix can also flash every img of the update.app (for supported Android versions and phones)

For example Xloader.img. If you would try to do this with TWRP or Fastboot Mode you can recycle your device after in the garbage.

Because there's a limited time of micro/milli or whatever seconds to flash Xloader and if it is not the exact time, the phone will make no more noise or light if you press the power button.

Flashing vendor.img is not possible with Fastboot on Oreo but with TWRP (from Nandroid Backup)

So keep in mind, much is possible, but much isn't ;)
[Huawei P9 Guides, News, & Discussion] zgfg:
Of course I know for all other partitions but I considered

- Recovery-ramdisk, Ramdisk (and Kernel):

because we (must) change them and hence how to back-up and restore their stock versions (people always ask where from to take them for a particular Oreo build number/OTA patch version when they e.g. prepare for OTA or eRecovery)

- System and Data:

If being possible to back-up and restore both (problem is in Data), it will make it easy for short journeys to Open Kirin (Treble) ROMs and back
[Huawei P9 Guides, News, & Discussion] mickybar:
Hi,

this is my first message here. First of all, thanks for your efforts to allow people to use Oreo on P9. Just wanted to point out that I managed to update my P9 to Oreo following [MENTION=6870018]Tecalote[/MENTION] guide, but unfortunately I had to rollback. I am in the UK and my network uses band 20 (800MHz) for the 4G, so basically my mobile connection would have been affected. It's a shame, because the guide was great and I managed to complete the upgrade without any issue, and I was so happy to get FaceLock :D

Would it be possible to unlock band 20 and bundle the change with the others in the network patch? Not sure if it's doable, just an idea.

Further question: now my bootloader is unlocked and I'd like to get it back to its original status, so to have Netflix & c. working again and, most of all, I don't have that annoying warning anymore when turning on the phone :) is it sufficient to use the below?

fastboot oem lock bootloader

Any possible impact in doing this?

Thanks!
[Huawei P9 Guides, News, & Discussion] Tecalote:
The code for closing the Bootloader is:

fastboot oem relock YOUR-KEY

However, this does close the Bootloader with Low-level Wipe of the internal storage (EMUI Stock Recovery required - don't working with TWRP)

- but it does not close it like Firmware can do:

You will see in Fastboot mode: relocked - but when closing by Firmware you will see instead: locked.

To close Bootloader originally, you need to flash Service Firmware, which can't be found on FF.

You can tell me your Build-Number from Settings /About phone, then I can look for it.

Unlocking LTE-Band 20 is very difficult and nearly impossible.

It's an old known problem. Mostly on imported phones from China, which are able to support this but denied it with modem firmware to save license costs.

And Oreo on P9 is chinese firmware. Band 20 is not needed in China and therefore disabled in modem.

For the moment I don't know if it would be possible with modification of prop files.

There are solutions for Snapdragon based devices, but not really for Kirin.

Similar difficult problem is VoLTE.
[Huawei P9 Guides, News, & Discussion] zgfg:
Per specifications, EVA-AL10 should support LTE-800 band 20 (at least for Android 6, 7):

https://www.phonemore.com/huawei-p9-dual-64gb-al10/specs/3359

Same for the 'originals' EVA-L09/L19

https://www.phonemore.com/huawei-p9-32gb-l09/specs/3355

https://www.phonemore.com/huawei-p9-dual-32gb-l19/specs/3356

Hence where the support for LTE-800 got lost (with update to Android 8 or with the process of rebranding)?
[Huawei P9 Guides, News, & Discussion] Tecalote:
It is not the question of whether it is technically supported. LTE Volume 20 is supported by all P9 models.

But in China LTE Band 20 is not needed, so it is simply disabled by Huawei via firmware. Huawei would have to pay royalties in China for a frequency that is not needed there. Therefore, this band is disabled on the Chinese P9 models - although it is supported by the modem.

For this reason, Huawei's 4G Band 20 frequency is only activated in Oversea P9 models and for regions, where it is needed.

By rebranding to a Chinese oeminfo in conjunction with the modem configuration in the Chinese firmware, you simply can not use that frequency, because it is locked.

It is known even from other Huawei Phones since 2015.
[Huawei P9 Guides, News, & Discussion] mickybar:
I think I can leave with relocked mode for the bootloader, but thanks anyway! I run the relock and now Netflix and a couple of other apps are working as expected. That was all I needed.

Regarding band 20, I completely understand and it's what I was assuming. It's a shame, because otherwise Oreo was working really well. Unfortunately we have no way to influence Huawei's policies so... we need to deal with it. On the other hand, the rollback has been easy and smooth. Now I am back to EVA-L09C432B399.

Thanks again for your efforts, I'll keep an eye on this topic to check if something can potentially change in the future.
[Huawei P9 Guides, News, & Discussion] lo_ol:
What happens if we just flash all the modem files from L09 N firmware, will that brick the phone?
[Huawei P9 Guides, News, & Discussion] Tecalote:
Yes, you can recycle your phone into the garbage after.

I don't know for what reason you create such ideas?

You can believe me - at the beginning we tried such things and one of my P9 is dead.
[Huawei P9 Guides, News, & Discussion] xxxvego:
How long you have SoT on B540? And do you have any ideas or tricks to extend the battery life?

Btw. Someone is using maybe BetterBatteryStats? After installing and run I have always white on this app. ;/
[Huawei P9 Guides, News, & Discussion] daveh077:
I got my P9 battery replaced recently, between that and the upgrade to B540 I now get about a day and a half of use on the phone vs the half day I was getting.

Best i've ever had. That would be a mix of active and standby though
[Huawei P9 Guides, News, & Discussion] xxxvego:
I bought a "new original" battery. After replacing, I only have about 2-2.5 H on SOT ;/ Do you have any ideas on how to extend time on SoT?
[Huawei P9 Guides, News, & Discussion] daveh077:
Unfortunately no sorry, a lot of power enhancements I'm doing are designed for when the screen is off not on.
[Huawei P9 Guides, News, & Discussion] sdmkx:
came new update (about 3mb), how to install it on unlocked bootloader ?
[Huawei P9 Guides, News, & Discussion] zgfg:
It has been mentioned many times, unlocked Bootloader causes no problems for OTA and shall remain unlocked upon OTA

However, you must uninstall Magisk (if rooted/ Magisk was installed) and/or flash stock Ramdisk corresponding to your current firmware, flash stock Kernel (if you experimented with other kernels like ECO) and flash stock Ramdisk (if you have TWRP)

If you are eg on b540 and now receiving OTA Patch02, it was explained in one of the posts last week

Nevertheless, [MENTION=6870018]Tecalote[/MENTION] is just preparing a new version of his (NW) patch that will make some things easier
[Huawei P9 Guides, News, & Discussion] sdmkx:
i have just TWRP and unlocked bootloader. I try to flash in TWRP ramdisk https://www.androidfilehost.com/?fid=11410932744536987107 and look like did not flash I dont know why :crying:
[Huawei P9 Guides, News, & Discussion] zgfg:
Why are you flashing Ramdisk if you say that you only need to replace TWRP

To replace TWRP you have to flash Recovery-ramdisk