yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Guides, News, & Discussion] Tecalote:
If eRecovery works, it will download the latest AL10 Firmware, because it's converted to AL10. 100%.

TWRP will work (with the mentioned limitations, it hasn't access to the data partition, but it can be used to flash the network patch).

But there's another problem!

The network patch is only compatible with B552 and not with B558.

So, if eRecovery is working and you get a firmware later than B552, Network patch will resume a bootloop!

So just try first, if the eRecovery download would work. You can cancel this as long the procedure is in download state (but not, if download is finished and installing has started).

Just to see, if the option of installing the firmware is available.

If it's available I can write a correction of the network patch (but not current week).

If eRecovery Servers are down, there's another way to install original AL10 Firmware.

Let me know.
[Huawei P9 Guides, News, & Discussion] SideSkroll:
Thank you. I will.

So just to reiterate: Just TEST if the servers are still working. UNDER NO CIRCUNSTANCE should I fully download and install the firware before contacting you.

Correct?
[Huawei P9 Guides, News, & Discussion] Tecalote:
@SideSkroll Correct ;)
[Huawei P9 Guides, News, & Discussion] Tecalote:
@SideSkroll You must not test, Huaweis Update Server are offline for this device.

@MSe1969 mentioned here half an hour ago:

https://xdaforums.com/t/rom-treble-microg-lineageos-16-0-for-huawei-p9.4078383/post-89532274

I will check what's the best way to do it without eRecovery.

I let you know. But I am away this week on vacation.

I will reply next week.
[Huawei P9 Guides, News, & Discussion] MSe1969:
Maybe just to clarify:

My understanding is, that @SideSkroll is still on 540 firmware with an old Openkirin Omni build, which seems very buggy. So he could simply flash my system.img and do a full wipe in EMUI recovery and stay on 540 firmware. But he would like to upgrade the firmware.
[Huawei P9 Guides, News, & Discussion] Tecalote:
@MSe1969 He is on OpenKirin see here.

That's why he must first going back to stock firmware to be able to flash your Rom or any Custom Roms..
[Huawei P9 Guides, News, & Discussion] MSe1969:
Sorry, I don't understand your point - Openkirin was providing treble builds (i.e. gzip'ed system.img files), requiring the devices to be on EMUI 8 - in fact I was also originally flashing the latest Openkirin Omni build at that time after geoing to EMUI 8 (and I was not at all happy with it), so I started building my own ROM and simply flashed it over the Openkirin Omni build (of course I first booted EMUI recovery and wiped everything) - so why should that not work?
[Huawei P9 Guides, News, & Discussion] Tecalote:
@MSe1969 That's good news, good to know.

So he must not back to original Firmware. Just wiping system and flash for example your Custom Rom system.img should work.

I didn't know. Or I know and forgot. Because I am a long time away from P9 and Custom Roms.

Thanks for your clarification 👍
[Huawei P9 Guides, News, & Discussion] MSe1969:
As I'd be interested as well to upgrade to the most recent firmware, we could maybe work together (after your vacation)? Do you know already the reason for the bootloop?
[Huawei P9 Guides, News, & Discussion] SideSkroll:
Even if Huaweis servers were still online it wouldnt matter. Cause like I mentioned to @MSe1969 on my phone the data partition is "SEVERELY" corrupted and all erecovery offers me is either full format/wipe or shutdown.

Probably the buggy rom messed the partition SOMEHOW....

Anyway, I think Ill update to 552 and stay there (as if I had any other option...)

So yeah, I would really appreciate an updated network patch (if needed). And I think he would as well...

Whenever you have the time.

Also if either of you have any idea as to how we could get up to the "latest and greatest" firmware...
[Huawei P9 Guides, News, & Discussion] zgfg:
eRecovery does not read the server addresses from your Data partition.

eRecovery has those addresses hardcoded

But those old servers are disconnected and long ago (and EVA Lx9 is on End Of Support since long ago).

Therefore, eRecovery cannot offer you anything else than Wipe or Shutdown
[Huawei P9 Guides, News, & Discussion] SideSkroll:
Hi, yeah. I was made aware before of the non exiatent servers. What threw me off was the (explicitly stated) message: "YOUR DATA PARTITION IS SEVERELY CORRUPTED". Now, if thats "normal behavior" I dont know... Shouldnt be though.

Thanks for replying.
[Huawei P9 Guides, News, & Discussion] zgfg:
It offers you Full format. I don't have my old EVA for four years but it should not affect your installed ROM and the installed patches
[Huawei P9 Guides, News, & Discussion] ironet:
I can not make playstore nor deactivating time zone automatic. Any suggestions?

Enviado desde mi EVA-AL10 mediante Tapatalk
[Huawei P9 Guides, News, & Discussion] Tecalote:
1.) Open Settings /System/Date & time/ use the first Button above "Automatic date & time" (currently enabled) - disable it. After use Button "Automatic time zone" and disable it. Then you can change time zone for exampel to GMT+2.00 Central European Summer Time - or whatever you need.

Once it is changed, look, if the time is now correctly. If yes you can enable "Automatic time zone" and Automatic date & time. (during all processing make sure you have mobile data or/and WLan active).

2.) In my Post #4 "Gboard and Playstore for Chinese Version of Oreo": https://xdaforums.com/showpost.php?p=77161300&postcount=4

you can read the text and download a zip file, which includes working Playstore for P9/Oreo together with some other useful apks

Just install Playstore as apk (enable in settings to allow installation from unknown sources, disable Trust Space and allow installing of apks from Filemanager liek Mixplorer or whatever you use).

Dont flash any GApps.
[Huawei P9 Guides, News, & Discussion] Tecalote:
For 3D images from Huawei (Magazin Update) you need to be logged in your Huawei-ID Account, and the pictures will be downloaded and updated automatically.

If your location is Europe, (if not, skip this step) you need to update HwCloud_EU. This apk is also included in the zip file, which I provide in #4: https://xdaforums.com/showpost.php?p=77161300&postcount=4

For Europe you must install this Update and reboot your Phone. After you are able to use Huawei-ID and Cloud.

On internal storage there must be a folder named "huawei" Inside this folder are following subfolders:

CloudDrive, ime, MagazineUnlock (which is used for images and 3D images for lockscreen), MagazineUpdate (for Downloads), SmartHome, Themes

(This is different to Nougat - on Nougat there were two folders in the main directory of internal storage (MagazinUpdate, HwThemes) - both folders are useless for Oreo, because Oreo use now the folder "huawei" with the mentioned subfolders.)

[MENTION=6246572]jonathanhenry81[/MENTION] Here are the current pictures I have in internal storage/huawei/MagazinUnlock:

https://mega.nz/#!eJpXUK4B!rQUrsdQ2KAnbTJPzrO971b2aQ9pILmBKnNsY8JKG93o

Just extract and copy the pictures to that folder.
[Huawei P9 Guides, News, & Discussion] zgfg:
Reinstalled c185 b402 by HWOTA and everything was perfect - missing SwiftKey and Swipe for Huaweu keyboards and usual Huawei bloatware apps were back.

Proceeded then with HWOTA7 rebranding to AL10C00B399. Script did not report any error but now I have some issues

1) While booting to the sxstem it asked again for decrypt pass. I entered something, it said it was wrong and it made Factory reset

1) Rebooting 2nd time and it complained about 'unauthorized changes' (screenshot attached) and asking for OTA upgrade to the same AL10C00B399.

Should I allow OTA (System Update is still waiting for)?

3) I tried to follow OP instructions:

> >"In Settings/Advanced settings menu

>> you can find: "Trust Space" - Disable it!

> > Disable also HiSuite HDB"

"Allow HiSuite to use HDB" is in Settings/Advanced/Security but where is that "Trust space"?

Can you share the screenshot

4) Biggest issue: With AL10C00B399 I've lost SIM 2. Both IMEIs are still displayed ok, but it doesn't recognize any SIM card I put in slot 2 (SIM only slot). It does recognize (same SIM cards) put to the slot 1 (slot shared with SD card).

I've tried with two SIM cards (and one SD card), all combinations (single of the two SIM cards in one slot or another, two SIM cards one way or another, one of the two SIM cards plus SD card).

SIM card in slot 1 (slot shared with SD card) is always recognized, SIM card in slot 2 (SIIM only slot) never - dual SIM settings show as SIM 2 is never inserted - grayed out.

With this it can't be used as dual SIM, neither as SIM + SD (because SIM works only if in the same slot where SD goes).

Should I accept OTA upgeade from (2) to solve that?
[Huawei P9 Guides, News, & Discussion] Tecalote:
A) Yes, you can do Systemupdate (OTA) to the same version AL10C00B399.

Dont worry about SIM at the moment. After OTA is finished, make Factory reset from settings (advanced settings) with wipe of internal storage.

B) Flash then the AL10C00B399 patched boot.img (from Post #2) and make the modification in local.prop. After that, both SIM should be available

C) Let me know

Edit: Trust Space is on OREO in "Security & privacy settings" - but in NOUGAT it is in the main menu of settings.

[MENTION=7786725]zgfg[/MENTION]

Some questions to your issue - when you selected rebrand to AL10-C00:

Firmware (3 zips, 2 renamed) were in the folder /HWOTA7/update ?

After flashing oeminfo by the script, the phone made reboot, closed Bootloader and used automatically your Unlock code for Unlock, made second reboot and did low-level wipe - after 100% of this wipe

(exactly in the moment the phone restart automatically) you should press Vol+ to enter TWRP (Its completely different as normal using Buttons, normally you would enter eRecovery with connected USB) - did you press Vol+ to boot to TWRP?

Now the script copy the Firmware to /data/HWOTA, flashes automatically the Nocheck Recovery and install the Firmware - was this the case?

Did you leave connected USB Cable during the whole time?

I am just asking, because it is absolutely necessary not disconnect USB and not boot to system (after oeminfo is flashed and low-level Wipe done)

The first boot to the system should be after the Firmware, that matches the new oeminfo, is already installed.

Did you check the downloaded zip archives, if they are okay?

Sometimes downloaded zip files are corrupt.

Open the zip files as archives with zip viewer (7zip or whatever) without error, means, zip is okay.
[Huawei P9 Guides, News, & Discussion] jonathanhenry81:
I am from Ecuador... thanks so much for the pictures but this pictures don't have 3D format. Only have two pictures in this format. Well I'm tray to apply de update restore.. because is the same build .
[Huawei P9 Guides, News, & Discussion] Gilgameshhhhhh:
Has someone had any success in flashing a GSI Image without getting their /data partition corrupted? I feel like the other user that had success is from China (based on his previous posts and his device is a TL-00) which probably uses another TWRP (the Chinese one). It may seem like it is a rude thing to ask but can we expect a proper TWRP for our device or will it come when the official update for Europe models comes out?
[Huawei P9 Guides, News, & Discussion] zgfg:
Did you check the downloaded zip archives, if they are okay?

I found in the mean time Trust space in Settings.

Also, updated OTA to the same AL10C00B399, did hard reset with wiping Internal memory - it locked bootlader, had to unlock again (to be able to flash patched b399 boot img), causing just another hard resetand just another new installation ;(

Upon installing Magisk (and MiX) and editing local.prop - now have again dual SIM functionality :)

Big thanks

I will proceed with final updating to Oreo AL10C00B528 tonight.

Now everything looks Ok with AL10C00B399, dual SIM, Magisk root, and Google Play (installed the app from your ZIP), flashed Nougat TWRP

---

>> After flashing oeminfo by the script, the phone made reboot, closed Bootloader and used automatically your Unlock code for Unlock, made second reboot and did low-level wipe - after 100% of this wipe (exactly in the moment the phone restart automatically) you should press Vol+ to enter TWRP (Its completely different as normal using Buttons, normally you would enter eRecovery with connected USB) - did you press Vol+ to boot to TWRP?

-- Yes (I'm familiar with Vol+ & Pow, TWRP and stuff)

>> Now the script copy the Firmware to /data/HWOTA, flashes automatically the Nocheck Recovery and install the Firmware - was this the case?

Did you leave connected USB Cable during the whole time?

--- Yes

>> Did you check the downloaded zip archives, if they are okay?

--- Yes, I extracted them (aside) successfully on the PC, I quickly went through folders, all looked ok

Btw, when script completes flashing it says "System will now reboot/install" or something like that. And it prompts "Press Enter..."

Maybe it's not clear what should user do (I left it connected by USB but it could be IMO also disconnected at that time - rebooting takes ages and once rebooted, user can use the phone).

And then (I waited to reboot to the system), when you press Enter, it opts would you like to unlock Bootloader again or leave it locked.

If you choose (2 = Leave locked), script bails out complaining that GoTo point is missing or something like that (don't remember now but I've seen both when flashing L19c185b401 and AL10c00b399)
[Huawei P9 Guides, News, & Discussion] vampirian:
I had success and im not chinese. I do not own a chinese model. I have eva L09, ex c432. Single sim. Successfully installed LineageOs, AOSP and RROS but i am a developer my self and i had to modify them to match my device. And thats the main reason why i will not provide support for GSI. Huawei is way more complicated than any other device when it comes to custom roms. Device runs better on stock emui 8 and its much more optimised than nougat. About TWRP seems like a dead end because even on nougat it was not fully factional. So i wouldnt expect it to work as it should even if eu rom arrives
[Huawei P9 Guides, News, & Discussion] zgfg:
Command prompt in Windows 10:

https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/

You must have Minimal ADB installed - usually it is installed to C: \ADB

Hence you copy al-10-b399-patched_boot.img (drag and drop, whatever) to C: \ADB, open Command prompt, navigate to C: \ADB (cd.., etc)

It is good that you first test if ADB/fastboot works properly, hence you can execute this script (rename it like flash.bat):

ECHO ON

PAUSE

adb devices

PAUSE

adb reboot-bootloader

PAUSE

fastboot devices

PAUSE

fastboot oem get-bootinfo

PAUSE

fastboot flash boot AL10-b399-patched_boot.img

PAUSE

fastboot reboot
[Huawei P9 Guides, News, & Discussion] ironet:
In windows 10 no problem

Enviado desde mi EVA-AL10 mediante Tapatalk
[Huawei P9 Guides, News, & Discussion] Tecalote:
And what's about your question some posts ago (Playstore, Time Zone) did you solve it?

In General:

If anybody asks questions and got answers, please make feedback. :o
[Huawei P9 Guides, News, & Discussion] ironet:
At the end I did a low reboot and I was able to install it, it gave me an installer error apk

Enviado desde mi EVA-AL10 mediante Tapatalk
[Huawei P9 Guides, News, & Discussion] ironet:
One question, can we uninstall Chinese applications or would there be a problem?

Enviado desde mi EVA-AL10 mediante Tapatalk
[Huawei P9 Guides, News, & Discussion] Necrodaemon:
ADB method and no access Root to uninstall apps

ADB Shell

pm list packages | grep ‘Huawei or Google’

pm uninstall -k –user 0 ‘Name of Package’

Reboot
[Huawei P9 Guides, News, & Discussion] zgfg:
Ok, got the P9 EVA-L19C432B399 rebranded to EVA-AL10C00B528, with Oreo, Magisk, dual-SIM properly working.

Thank you [MENTION=6870018]Tecalote[/MENTION] for an excellent work, guide and support (as usual), incl. the others who have contributed
[Huawei P9 Guides, News, & Discussion] Tecalote:
Exactly explained here:

https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/amp/

It can be done with Root and without Root - however I would do it careful (especially with system apps) - if.

You can even brick your system if you delete something which is required for properly working.

I prefer another "soft" way:

First I check with an App like Link2SD the path and package names of the Apps I don't want.

Then I open Root Explorer and navigate to the directory, example: HiBoard = /system/priv-app/HwIntelligent/HwIntelligent.apk

and I just rename the HwIntelligent.apk to HwIntelligent.bak

After reboot phone. If everything is working properly, I add the path to the package list for deletion.

- or I leave it renamed as bak.

If system wouldn't boot I have the possibility to rename "app".bak back to "app".apk with TWRP/Advanced/Filemanager

Deletion can also be done with Root Explorer - example: HiBoard - just delete folder HwIntelligent and Reboot.
[Huawei P9 Guides, News, & Discussion] Tecalote:
Your welcome :)

Good news :good:
[Huawei P9 Guides, News, & Discussion] Necrodaemon:
[MENTION=6870018]Tecalote[/MENTION] , is possible lock bootloader after installing Oreo, i dont need Root (Wipe System is imminent)
[Huawei P9 Guides, News, & Discussion] Tecalote:
I would not recommend.

If you relock the Bootloader, Phone will do Factory reset with low-level wipe (of internal storage) and the modification you did (for having mobile network and NFC) would be deleted = rebranded Phone can't work (Phone calls, sms..)

I think, official Oreo will probably come to European devices (not sure, but we guess) - then you can rebrand back to your original cust and stay with closed Bootloader - if that's your wish.
[Huawei P9 Guides, News, & Discussion] mongs:
cant unlock bootloader now how we can rebrand :(
[Huawei P9 Guides, News, & Discussion] Tecalote:
For Unlock Bootloader use this method:

https://xdaforums.com/showpost.php?p=77203125&postcount=131

Posted by [MENTION=7786725]zgfg[/MENTION] in this Thread
[Huawei P9 Guides, News, & Discussion] Tecalote:
I had this week P9 Plus (VIE) for repair.

I used the time to make HWOTA7 also for this phone.

During next week I will make a Thread for the P9 Plus Rebrand Tool...
[Huawei P9 Guides, News, & Discussion] zgfg:
Couple of questions/observations:

- When opening TWRP for Oreo (first time), it asks for decrypt password - AFAIK it does not support it (for Huawei), hence Cancel

- In this thread you are using stable Magisk v16., for MR v4 you have advised vbeta v16.1 - probably both are good both here for Oreo and MR v4

- For MR v4, you recommended to check-mark Preserve Force Decryption in Magiks, here for Oreo not?

- Why was it necessary to Pick certified fingerprint as for Huawei P20 Pro?

Because of Magisk or because they use different fingers in China that will not suite for us :)

Btw, observe that Oreo (b528) makes screenshots as JPG, not PNG like Nougat builds - causing now problems to open when Oreo screenshots are uloaded to XDA
[Huawei P9 Guides, News, & Discussion] Tecalote:
Hi,

I only made a brief description of this TWRP in post # 2.

We have no fully working TWRP for Oreo/P9 at the moment, but from all TWRP I tried (incl Chinese TWRP) is this the Best for now.

On Oreo TWRP must decrypt normally encrypted /data on start. For this you must enter the password you have set for your Screen lock.

But this doesn't work yet. As you said = cancel

Then confirm to "Allow system modification"

If you would (in wipe menu) FORMAT data, TWRP would have access to data.

I tried it out, but this delete necessary System Apps which are stored in /data (hw_init)

Since TWRP is not fully working you can't flash any zip, which would need access to data. For example: It is not possible to flash any Magisk version - because it needs access to data.

Same with the Magisk Uninstaller and many other zip files (mods etc) which need access to data during install.

If TWRP would have access to /data (=support for encryption/decryption on start) you could flash for example:

1) any Magisk version

2) Magisk would automatically set the flag "keep force encryption"

There's no other possibility for Root at the moment as the method I have posted.

A) patched ramdisk.img (=incl Root binary)

B) Magisk direct install from Manager (not possible if you wouldn't have patched ramdisk.img with root)

C) Magisk direct install uses v16 if channel is set to stable in Manager. You could change channel to Beta, but then Magisk would use v16.7 - and you couldn't choose 16.1 ;)

I have no problem with stable Magisk v16 on Oreo.

Many modules don't work with Beta 16.7, because they need to be updated to the new template by the Devs.

I could make a detailed description how this current TWRP works. What's possible with this TWRP and what is not. With Screenshots.

Don't know if this would be necessary for the Users.

One thing everyone should know - it is possible to backup and restore everything with TWRP, except data.

But on Oreo are new Android "rules"

Example: If you make a complete TWRP Backup and you flash any mod (example Viper /Dolby) in the moment you get a Bootloop - Android collect the reason and if you have luck, Android starts in safe mode first time (after you have restored your TWRP Backup)

But next time you have a Bootloop for the same or similar reason, Android will only start to eRecovery, even if you have restored TWRP Backup...

Don't try any Viper /Dolby mods at the moment. I tested every one and no one works on 8.0

Some mods has no effect, most other mods end up in Bootloop and eRecovery.

It's better on 8.1

On 8.0 Android load only lib64 libraries for sound mode.
[Huawei P9 Guides, News, & Discussion] zgfg:
The following are User apps and they can be safely dragged to Uninstall:

Amap, Video Yudoku, Vmall, Quik, Smart Home, Huawei Wear, Tips, Hi Lives, Sky Tone, Huawei Club, Huawei Read, Health

I don't use Email, it can be also uninstalled.

By use of AppQuarantine, I have frozen (System apps):

App Gallery, HiBoard, HiCare, Huawei Video, Huawei Wallet, Browser, Huawei IME (Chinese keyboard)

Also, HwSpeechService app (package com.iflytek.speechsuite, at /data/hw_init/system/app), showing among Apps with Chinese/Pinyin name

I didn't find it in AppQuarantine but apk can be safely renamed to bak for system/app/HwYellowPage - use App Inspector (from Google Play), it will show app names and full path to the package for all apps and services.

With the above, you can consider b528 as debloated

Rebooted several times - everything works fine

PS: For rolling back, upgrading or something - I always de-freeze all the frozen System apps
[Huawei P9 Guides, News, & Discussion] zgfg:
I have the same problem - I install the module, reboot but icon does not show but Vanced is not in the Apps list - no way to use it.

I tried with and without YouTube (sometimes in the past it was required first to have running YouTube), but the same - if YouTube installed then YT works for itself (and cannot be put to play in background), if YT not installed then no YT nor Vanced.

I did not install Viper or anything (only BusyBox and MagiskHide as in OP - with ADB debugging and everything as proposed)
[Huawei P9 Guides, News, & Discussion] RandomQuezoPH:
No, it's really "Locked" I'm on L19 and once you do step #4 BEFORE you do "fastboot flash boot AL10-b399-patched_boot.img"

( Already turned HDB HISUITE and TRUSTSPACE [OFF] and USB DEBUG and ADB ON ) when you boot your phone to FASTBOOT, it says locked so what I did is I unlocked it using "fastboot oem unlock [unlock code]" which leads to another Low Level reset then SETUP then turn off HBD and Hisuite and turn on USB DEBUG and ADB

then boot into Fastboot mode now it's unlocked so I can type "fastboot flash boot AL10-b399-patched_boot.img" now.

Ps. I came from Oreo and used the Downgrade tool using HRUupdater to go to Nougat and went to Oreo and that's where the things happend :D

---------- Post added at 04:13 PM ---------- Previous post was at 03:13 PM ----------

Is there any way to reinstall Oreo without going through all of that? If yes, how? Thank you :D