yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Guides, News, & Discussion] zgfg:
Yes, I've seen for Magisk thread, XDA sends mail notifications for mentions :)

And yes, my L19 is still on AL10 c100 b528 patch01 (with TWRP but no Magisk/root).

For ramdisk and kernel, here you go:

https://mega.nz/#F!JwkVyRya!Rb7OUE0z3PEpXBRxGOM-vQ

Pls confirm can you download

Btw as you helped me about - thanks, partitions can be also ripped by ADB

adb shell
su
dd if=/dev/block/bootdevice/by-name/ramdisk of=/sdcard/ramdisk.img
dd if=/dev/block/bootdevice/by-name/kernel of=/sdcard/kernel.img

- Where it actually saves to Internal memory

- Here, phone must be rooted and Shell must be granted root permissions (not applicable in this situation since phone is not rooted - whereas your TWRP commands do not depend on root and work fine)

Cheers

PS: As you know, I also had bootloop with OTA Patch01, when I tried to apply Magisk.

Hence I had to revert from the patched ramdisk to the un-patched, using yours from OP (original b528) - therefore we don't have ramdisk from Patch01, if it differs from the b528 one.

IMO, it should not matter, one must use the patched ramdisk, and I captured you the kernel from Patch01

Hope it helps
[Huawei P9 Guides, News, & Discussion] zgfg:
To which issue with SMS/MMS are you please referring to?

Previously I mentioned the following issue but don't know if nobody else has the same or nobody is aware of:

Open an SMS with a (phone) number and shortly tap on the number:

On Nougat, a pop-up will show giving you options to Call, Edit before calling, Send message, Copy to clipboard, Create new contact, Save to existing contact - see 1st attachment.

On Oreo, a pop-up will also show but only with View on map (?), Save to clipboard, Create new contact, Save to existing contact.

Options Call, Edit before calling, Send message are missing - see 2nd attachment.

And on Oreo, I have the same issue with (1) b528, (2) Patch01 or (3) Mms app given by [MENTION=6870018]Tecalote[/MENTION] (still, I have no Magisk/root but I replaced Mms app through TWRP)
[Huawei P9 Guides, News, & Discussion] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Mms.apk should not be replaced with TWRP, but with Mixplorer.

But it's not possible for you at the moment, until you do the restore I have mentioned...

TWRP doesn't set the permissions correctly in every case. But Mixplorer does.

We tested the apk (three person's) and it's working.

Yes, it's related to your mentioned issue and it solves the problem without Huawei Patch..

I had no time to download kernel.img from your previous post, but will do today - thanks.

For all the other questions, answers, hints, suggestions - I will reply when I get time for it.

At the moment I am working intensive on the new Oreo Rom, which is nearly final.

And it looks very good :cowboy:

BTW: I am working also on the TWRP to adapt it for EVA

So please be patient. Thanks :)
[Huawei P9 Guides, News, & Discussion] Tecalote:
Yes, you can use Treble Roms by the OpenKirin Team - all P9 variants are supported now:

https://xdaforums.com/p9/development/roms-openkirin-aosp-collection-t3828806

Thanks for your tests :)
[Huawei P9 Guides, News, & Discussion] Tecalote:
[MENTION=7786725]zgfg[/MENTION] See Screenshot.. SMS issue with the new Apk fixed.
[Huawei P9 Guides, News, & Discussion] zgfg:
Apk chopped off from Nougat (no View on map)- same MMS.ZIP you posted earlier at #445?

IMO, if I didn't 'install' properly with TWRP, it would not load/work...

Btw, I previously wrote (and later edited/deleted) that I lost TWRP with OTA Patch01, and could not install it - now knowing for sure:

- TWRP installed but does not always boot into. Sometimes I have to try several times Vol+ & Pow to get it boot to TWRP

- Otherwise it boots to eRecovery, as on screenshot in post #443

- Still not sure is it about releasing buttons too early or too late or what

Don't know was it also the issue before Patch01 - I had root and was always using Reboot app.
[Huawei P9 Guides, News, & Discussion] dkionline:
[MENTION=7786725]zgfg[/MENTION], maybe you can get access to /vendor/lib/modules and find HP000001.ko. If theres nothing, then we have to go deeper inside.
[Huawei P9 Guides, News, & Discussion] Tecalote:
Yes, to remove Root flash original ramdisk.img and recovery_ramdis.img.

ramdisk = fastboot flash ramdisk RAMDISK.img
Recovery= fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img

He has no direct access to this directory without Root, but but he could copy with TWRP the complete folder "modules" from /vendor/lib to external SD....

Can you do that please [MENTION=7786725]zgfg[/MENTION] ? BTW: I have downloaded your zip from your share folder, thanks!

I do not understand what you mean with "Apk chopped off from Nougat (no View on map)"

The zip from post #445 includes the folder Mms. In this folder is the lib folder and the Mms.apk - it is not enaugh only to copy the apk to the Mms folder - it is required to replace the whole folder Mms - with the folder extracted from the zip - in /system/priv-app

It works, at least on b528 without this Patch01. Link to the attached file: https://xdaforums.com/showpost.php?p=77415408&postcount=445

The screenshot in your Post #443 is not eRecovery in my terminology, but EMUI Recovery. I distinguish between eRecovery and EMUI recovery because there are two different stock recoveries.

Vol+ and Power and connected USB = eRecovery (Download latest version and recovery, Wipe data/Factoryreset, Shutdown, Reboot)

Vol+ and Power only = EMUI Recovery (Restart, Wipe Cache Partition, Factoryreset) - on this place is TWRP if installed (overwrites EMUI Rec)

Patch01 - which does not allow Root and it is understandable that it makes problem to start into TWRP too.

If you want a full functional system back, please do it (if you get time) with the steps I and [MENTION=4900664]dkionline[/MENTION] had already done.

1) Backup Apps /data

2) Boot into eRecovery (not EMUI)

3) Choose: Download latest version and recovery - eRecovery connects to the Huawei server via WLan and then downloads the b528 and installs it with an automatic user reset

4) Flash (newest) patched_ramdisk.img: https://mega.nz/#!aM52VYIT!uQjl4v6f69WUdQ1GmhG2hyT0zf3WnKA5j0uJxuefloI

5) Disable OTA - rename in /system/app/HwOUC/HwOUC.apk → to HwOUC.bak

6) Install Magisk Manager and in settings use Beta channel - flash Magisk 16.7 again with "direct install" - reboot phone. After reboot change channel back to stable.

7) Flash Busybox from Magisk Manager - reboot phone

8) You dont need to change Fingerprint → safetynet is green.
[Huawei P9 Guides, News, & Discussion] DarkD3v1L:
So to completely eliminate the root i need to flash the two files, no?

I've used the search tool, so I can search for the original ramdisk.img and I see a lot of posts talking about it but I have not found it.
[Huawei P9 Guides, News, & Discussion] zgfg:
See

https://xdaforums.com/showpost.php?p=77255913&postcount=304

---------- Post added at 11:33 PM ---------- Previous post was at 11:24 PM ----------

Of course, I did copy together the apk with lib folder (while renaming the old apk and lib to bak).

Btw, the stock contained also a folder oat (not present in your zip), I renamed that folder also to bak.

Chopped off = was a question where did you take that SMS/MMS app (plus libs) - my guess was from Nougat since it has the right pop-up options there

Yes, will do it, when WiFi permits (on vacations with unreliable signal).

I see slight changes in your rooting procedure - supposedly the new patched ramdisk (4) suffices for the fingerprint (8).

Btw, if you wish, I can try in the meantime that new patched ramdisk with my OTA Patch01 (I can always flash the stock ramdisk again), if it makes sense.

---------- Post added at 11:50 PM ---------- Previous post was at 11:33 PM ----------

No luck tonight, three times tried to reboot to TWRP (Vol+ & Pow, without USB), always ended instead to EMUI Recovery (as [MENTION=3682996]texalot[/MENTION]e insists on terminology).

Is there a way and how to copy it through ADB, with something like

adb shell HWAL:/ $ dd if=...

(or so)?

I will zip and share to you over Mega
[Huawei P9 Guides, News, & Discussion] Tecalote:
Since we tested this Mms and it works - please delete bak files and oat folder. There should be only the new folder Mms (including lib folder and Mms.apk) in /system/priv-app and nothing else.

This Mms is not from Nougat - it would not work on Oreo - it is from Mate 10 Lite c185 b311 Oreo - and the deodexed version of it. The original one, which is in EVA-AL10 is odexed, thats why it has oat folder. But there is no problem to use the deodexed version, which is working.

Note: I have edited in previous Post what I forgot to mention - Point 6) Install Magisk Manager and in settings use Beta channel - flash Magisk 16.7 again with "direct install" - reboot phone. After reboot change channel back to stable.

It makes no sence, we have already tested.

But it would be cool, if you copy with TWRP the folder from /vendor/lib/modules to your external SD and upload for me the modules folder. Thanks :)
[Huawei P9 Guides, News, & Discussion] Tecalote:
I just saw your edited post...

Try to shutdown the phone and then press first Vol+ and then Power Button, press both until phone boot to TWRP. If it does not boot to TWRP, just flash TWRP again - it is working if you flash it again.
[Huawei P9 Guides, News, & Discussion] zgfg:
I always press Vol+ little before Pow (because the opposite order would ignore Vol+)...

So tried few more times the same way as previously (maybe different timing when to release buttons), and finally caught TWRP - here you go for the zipped vendor/lib/modules:

https://mega.nz/#F!JwkVyRya!Rb7OUE0z3PEpXBRxGOM-vQ

Tried also as that, with wiping Data and Cache for Settings/Apps/Messaging.

Still the same for me, no Call/SMS options.

Maybe I should wipe Dalwik - but can't without root, nor from this TWRP that cannot access Dalwik folder on the encrypted Data partition

Interesting - I was also wondering for the green light to advance to Magisk 16.7 (beta) :)

Btw, can I also advance to Magisk 16.7 on the L09 with MR v4?
[Huawei P9 Guides, News, & Discussion] Tecalote:
Thanks for the modules folder!

The folder does not contain the patch01 (HP000001.ko), as we had suspected. This means it was (apart from the sms and game patch) actually a kernel patch.

16.7 on MRv4 I have not tested yet - but you can try (take Full Nandroid Backup before)

I can not understand at the moment, why sms does not work properly for you - but it might be, because doing the file operation with TWRP. We will see, when you have back Root again and do it with Mixplorer instead. For four users (including me) it works - unfortunately, I have no more feedback.
[Huawei P9 Guides, News, & Discussion] jaceleon:
After rebranding to AL10, I did everything to the letter, but I am having problems with Google Play Store. It just crashes. Any advise would be appreciated.

Gmail apps tells me that one or more Google services is not installed on this Oreo rom.

After I did a factory reset, it got stuck.

Now doing a eRecovery online recovery... Downloading AL-10 8.0.0.528(C00) @ 26% as of this writing...

I could also use the AL10 stock recovery img, if you have them. Thanks!
[Huawei P9 Guides, News, & Discussion] zgfg:
It was answered similarly tonight in the post #477, but anyway, #tecalote posted original ramdisk here:

https://xdaforums.com/showpost.php?p=77255913&postcount=304

Btw, if you open b528 update.zip with Huawei UpdateExtractor (PC tool, having its own XDA thread), you can extract ramdisk and recovery.ramdis
[Huawei P9 Guides, News, & Discussion] zgfg:
Frankly, I don't understand your analysis about HP000001.ko, but NVM :)

ATM I will not experiment with Magisk 16.7 on MR v4 - that is still my daily driver.

SMS options issue on AL10 is not critical since I'm still not using this device as a phone now - but In curious why, and hope it will be ok when I revert from Patch01.

Thanks
[Huawei P9 Guides, News, & Discussion] jaceleon:
Funny enough, I realized this before I got the comment, so the eRecovery did its job afterwards and now rocking a Rooted Oreo. Thanks!
[Huawei P9 Guides, News, & Discussion] and-roid007:
Huawei released a new patch for sms problem but it can't be installed.
[Huawei P9 Guides, News, & Discussion] zgfg:
It CAN be installed but DON'T install - see previous posts
[Huawei P9 Guides, News, & Discussion] jaceleon:
BTW, the updates won't go in unless I unroot, according to the system updates. Is that normal?
[Huawei P9 Guides, News, & Discussion] zgfg:
If you read posts from the last few days you will see that upon the patch you can't root anymore (you will have bootloop).

So don't update the OTA Patch01
[Huawei P9 Guides, News, & Discussion] and-roid007:
thanks.

BTW every time I change interactive parameters or io scheduler through kernel adiutor app it always back to stock value. is this because we have no init.d support on emui?
[Huawei P9 Guides, News, & Discussion] Tecalote:
No, it's because of the automatic Launch.

1) Open Phone Manager /Launch

2) Go to Kernel Audiutor and disable "Manage automatically"

3) In the options menu "Manage manually"

- enable:

A) Auto-launch

B) Secondary launch

C) Run in background

Now you can change what you want and on restart it will be enabled again.
[Huawei P9 Guides, News, & Discussion] and-roid007:
thank you very much my friend.it now works correctly.
[Huawei P9 Guides, News, & Discussion] alexanrsousa:
Hello everyone!

I have rebranded my L19C185 to AL10 and sucessfully installed Oreo, but I messed up afterwards:

I tried doing the following (but only 2, as it appeared it would be sufficient): https://xdaforums.com/showpost.php?p=77296996&postcount=373

But ever since my phone doesn't boot. It just freezes after the unlocked bootloader warning screen. Factory reset in EMUI Recovery changed nothing, and then I tried going to eRecovery and restoring it, but it gives me the message "Getting package info failed". Is there anything I can do to restore my phone to working condition?
[Huawei P9 Guides, News, & Discussion] zgfg:
Why do you think that only (2) in post #373 is enough - and/or that (2) only was not the cause for soft-brick

Did you save the original /cust/all/cn/prop/local.prop

before applying changes - if you did you can boot to TWRP, mount cust and revert the local.prop (and other prop files if needed) back to the state when phone last time booted

If you don't have TWRP, you can flash it again from fastboot.

To boot to fastboot: Power off, connect by USB to PC, press Vol- & Pow.

Assuming that your attempts through EMUI Recovery and Recovery did not further mess up the formware...
[Huawei P9 Guides, News, & Discussion] alexanrsousa:
I went by the "Maybe only (2) is enough, but with (1) and (2) you are going towards L19c432" comment, though I should've not done something the OP has clearly not tested. Can't believe I just messes up a fine Oreo installation by trying to get rid of something so minor, and my only backup phone is a goddam Windows Phone :(

That being said, I just reverted the changes to local.prop, but the phone still doesn't boot. Fastboot and Recovery are fine, though. Should I try the downgrading procedure?
[Huawei P9 Guides, News, & Discussion] zgfg:
Did you try restoring b528 through eRecovery as descrived at the end of post #475

But before that, flash the stock, non-patched ramdisk (and the stock recovery-ramdis) -

you can flash them from fastboot or from TWRP
[Huawei P9 Guides, News, & Discussion] kwonleader:
[QUOTE ]If you want a full functional system back, please do it (if you get time) with the steps I and [MENTION=4900664]dkionline[/MENTION] had already done.

1) Backup Apps /data

2) Boot into eRecovery (not EMUI)

3) Choose: Download latest version and recovery - eRecovery connects to the Huawei server via WLan and then downloads the b528 and installs it with an automatic user reset

4) Flash (newest) patched_ramdisk.img: https://mega.nz/#!aM52VYIT!uQjl4v6f69WUdQ1GmhG2hyT0zf3WnKA5j0uJxuefloI

5) Disable OTA - rename in /system/app/HwOUC/HwOUC.apk → to HwOUC.bak

6) Install Magisk Manager and in settings use Beta channel - flash Magisk 16.7 again with "direct install" - reboot phone. After reboot change channel back to stable.

7) Flash Busybox from Magisk Manager - reboot phone

8) You dont need to change Fingerprint → safetynet is green.[/QUOTE]

This update right?
[Huawei P9 Guides, News, & Discussion] alexanrsousa:
IT LIVES!

As soon as I flashed the stock ramdisk and recovery_ramdisk it started working again! No idea what happened then.... Anyway it is working, though I do not have root. Thanks!

Btw, if I keep it this way (no root, stock recovery) do I need to take any precautions? Can I apply OTA updates or do I risk losing mobile networking doing so?
[Huawei P9 Guides, News, & Discussion] zgfg:
If you don't need Magisk/root, ypu can keep it.

You have previously applied prop changes for Mobile connection (L09, L19) and NFC (L09), and OTA Patch 01 will not affect them

---------- Post added at 05:18 AM ---------- Previous post was at 05:06 AM ----------

If you didn't read previous posts and you allowed OTA Patch01 (as on your screenshot), then you can not root now (you will get bootloop)

Then , what you quoted is the procedure to revert OTA Patch01, to go back to b528 00, with Magisk/root
[Huawei P9 Guides, News, & Discussion] zgfg:
Still uneasy about your terminology.

Screenshot-1 (attached) shows the same Recovery as in my post #477 - Recovery that I was getting with Vol+ & Pov, without USB cable, when it failed to boot to TWRP.

Screenshot-2 shows 'real' EMUI Recovery that I get with

Vol+ & Pov, also without USB cable, but now upon I flashed recovery_ramdis.img to recovery_ramdisk.

With Vol+ & Pov, and with USB cable connected to charger, it boots for me again to Screenshot-1, different from your screenshot in the post #445 (?!)

EDIT: Moved the phone with charger to another outlet (better WiFi signal), it didn't ask me for WiFi pass but it did show eRecovery as in your post #445 and started to download...

I hope it will restore b528 (to the state before Patch01) but IMO Screenshot-1, the same as in my older post #477, really belonged to eRecovery, not to EMUI Recovery

PS: eRecovery for b528 with User reset finished, About no more showing Patch01, and phone does not recognize two SIM cards - tonight will have to repeat setting the things
[Huawei P9 Guides, News, & Discussion] zgfg:
To

Please do the following test:

- Have two numbers

<Num1> SAVED to your Contacts book

<Num2> NOT SAVED to your Contacts book

(Eg, for <Num1> take the number from your Contacts, for <Num2> change one of its digits)

- Send or receive SMS

"<Num1> test <Num2>"

-On Oreo, tap on

<Num1> DOES OPEN the popup with Call, Edit before Calling, Send SMS...

<Num2> DOES NOT OPEN popup with the above options

-On Nougat (eg MR v4), tap on either <Num1> or <Num2> DOES OPEN that right popup.

(Even if <Num1> is number +43... from your Contacts and for <Num2> you replace +43 with 0, it will again fail on Oreo but not on Nougat)

So this is the reason why it was probably 'passing' for you but not for me (testing with numbers from Contacts or not)
[Huawei P9 Guides, News, & Discussion] Tecalote:
Difference between EMUI-Recovery and Huawei eRecovery

I've never seen your screenshot on eRecovery, but in the end, you managed to boot into eRecovery instead of EMUI Recovery and restored your phone to b528 without Patch001

To clarify it a bit more clearly (for other users and some details for you):

Start EMUI-Recovery

USB cable disconnected from phone

VOL+ and Power Button (The power button can be omitted as soon as the Huawei logo was visible - but VOL+ must be pressed until Recovery screen appear)

EMUI-Recovery has 3 options:

Reboot system now - Wipe data/factory reset - Wipe cache partition

The Start screen looks like screenshot 1

Start Huawei eRecovery

Connect phone with USB data cable to charger

Shutdown phone (It can also be done with the phone switched on, but starting from the switched off device makes it easier)

VOL+ and Power Button (same as for EMUI-Recovery power button can be omitted as soon as the Huawei logo was visible - but VOL+ must be pressed until Recovery screen appear)

Huawei eRecovery has 2 different options:

Reboot - Download latest version and recovery - Shutdown

The Start screen looks like screenshot 2

→ with eRecovery you can restore latest official Firmware for this device (even, if you want come back from AOSP Rom) - see Screenshot 3

Note: Restore with eRecovery is working, but it will wipe your data and settings
[Huawei P9 Guides, News, & Discussion] zgfg:
Have a WiFi connection saved in AL10, but move to the very end of its WiFi range (still visible in Settings WLAN but not good enough to connect)

Switch off, connect to charger, Vol+ & Pow

It will boot to 'mine' eRecovery screen ("Software install failed"... and only one option Reboot, and without Recovery name on the left top), not 'yours' eRecovery screen (all three options and eRecovery title on top-left)

(At that place I don't have another WiFi connection. Maybe if there was another, it would ask for pass...)

Same test but moving closer to WiFi AP, then 'yours' eRecovery screen shows (not asking for WiFi password)

Tested few times back and forth, since I have reproducible environment
[Huawei P9 Guides, News, & Discussion] Tecalote:
I believe you - but that's not the normal case!

Normally it's like I described. I tested and used eRecovery several times, and for some repairs for other phones together with FunkyHuawei.

It's always like I described.

Even other Users and Testers used eRecovery on rebranded EVA-AL10 like I have described.

Of course WLAN shouldn't be far away, because eRecovery must download some GB from the server.

Perhaps you get this screen because you have tried once to use dload for FullOTA-MF Firmware?

If you still have this folder on external SD - rename dload to Update (you can use the Firmware with two zip files renamed together with HuRUpdater, if needed) or delete the folder.
[Huawei P9 Guides, News, & Discussion] Tecalote:
I am sorry, but every test I do is working... This might be, because I am on Custom Rom and not on Stock - I dont know. Maybe I do something wrong, but I cannnot find any missing options...
[Huawei P9 Guides, News, & Discussion] curtricias:
Everytime i wan't to run te script i'm facing this problem. Anyone an idea?

Edit:

Hisuite was running in the background..... Stupid me. But so far so good. After changing oeminfo.... the same thing happend :roll:
[Huawei P9 Guides, News, & Discussion] Tecalote:
To you have perhaps another adb terminal open in the background?

If HiSuite is enabled on your phone you must close it too (in settings)
[Huawei P9 Guides, News, & Discussion] curtricias:
No. Uninstalled hisuite just tot make sure. Rebooted and they the changelog of OEM worked. But right afterparty that, as you van der, the sale error came.
[Huawei P9 Guides, News, & Discussion] Tecalote:
Even if you have uninstalled HiSuite, you have the setting in your phone:

Settings /Advanced settings/security / disable HiSuite HDB.

Reboot phone and reboot PC.

Have you the hwota folder on c (C:\HWOTA7) and not changed anything in the folder structure of the subfolders?

Did you rename two of the FullOTA-MF zip files?

Have you checked the downloaded HWOTA 7 zip file with md5 check?

The error is not from the Tool. You must find out what is conflicting with the Tool.

It can also be Anti-virus program on PC, with sandbox or anything else
[Huawei P9 Guides, News, & Discussion] Surge1223:
You can have more than one device/emulator present and connect

just run

adb devices

adb - s device : port shell