yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
There's no source for that, like i already said. The sources from github are working just fine on my Mate 10 Pro EMUI8.x, so i don't know why it doesn't work for you.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] cofface:
can you upload Mate 10 Pro compiled latest recovery image?Hadn't found latest image.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
That version is not released and i don't intend to release it yet, is just for testing purposes.

I uploaded the sources because some of you asked for it,but it's pointless to release it here if it doesn't bring anything new over the existing version which, once more, it's not build entirely from sources.

Sources are working so you can improve it or fix what's not working,if it doesn't work at all, it means that you are missing something in your building environment. The blanc device tree alone, it is not enough to have a working TWRP.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] :
Thank you very much, awesome work!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] nyckid58:
I apologize. It was a bit late here when I posted this so I apparently missed earlier discussion. If you can tell me what logs you're looking for and how to get them, I'd be more than happy to provide what I can.

Edit: I booted into recovery and attempted a logcat but all I get is "logcat read failure"
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WaxysDargle:
ALP-L29 here. still can't flash anything with v 0.7... /system and /vendor always mounted. about all i can do is wipe data.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] xpdragon:
Hmm, mine is also ALP-LP29 and doesn't have such problem with v0.7. I can mount/unmount system and vendor.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] KxngMillay:
Is there a way to go back to the stock E-recovery?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] vkvictor1989:
Key combination to boot into TWRP recovery

Thank you for the recovery, I was able to install it in Huawei Mate 10 Pro and boot into it by using adb reboot recovery, however, I am not able to enter into recovery using key combination during power-off. Pressing Vol+ and power lands me into Huawei erecovery. So I have two questions here:

- After installing TWRP, why do we still have Huawei erecovery?

- How to enter TWRP recovery using key combinations.

Thanks!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
Remove the USB cable then restart you device and keep pressing Volume UP!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] vkvictor1989:
I googled it but was not able to find it. Thank you for the prompt reply. What about erecovery. Is it the stock recovery? How is it possible to have two recoveries in phone i.e., erecovery and twrp?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
ERecovery and Recovery are not the same thing, the eRecovery is a secondary one, mostly used as a last resort to recover the device from failures.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Tecalote:
The phone has two Recoveries.

recovery = EMUI Recovery (for doing Wipe Cache Partition and Factoryreset or updating the Firmware) It will be overwritten with TWRP.

But you can flash EMUI Recovery over TWRP if needed.

Vol+ and Power Button without USB connection

recovery2 = eRecovery (for downloading and install Restore Firmware - but this function can only be used with changing DNS from Router and request a specified Firmware from Developer MT or Funky Huawei - only in Chinese brands the function is enabled by default for get package directly from Huawei as well as for newer Phones like P20 also for European cust)

Vol+ and Power Button during USB connection.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] funiewski:
Sorry for off topic, how to change dns from router and request firmware?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WaxysDargle:
sorry to bother you, but you would mind describing your process of rooting, unlocking bootloader and flashing recovery?

i think i'm doing something incorrectly to cause this, but i'm also considering that my rebranding could have caused it

thanks in advance!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] xpdragon:
I just simply followed the instructions from the op for each step.

1. Unlock the bootloader

2. Flash the latest version of TWRP for Mate 10 (non Pro)

3. Flash Magisk 16.4 from TWRP for systemless root

I don't need to rebrand my Mate 10 since I bought the model I wanted.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WaxysDargle:
damn. i've been through it a few times now and i have no idea why it isn't working for me.

are you flashing magisk immediately after unlocking bootloader? before first boot?

have you flashed any custom ROMs? did TWRP work then?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
Question is, are you on stock EMUI and with encrypted device?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WaxysDargle:
yup. i can access system to a degree when i'm on stock.

any custom rom's lock me out
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] xpdragon:
When I got my Mate 10, the first thing I did is to follow the instructions to unlock the bootloader. At that time, no root method was available yet. I later followed the instructions from [MENTION=1097168]mankindtw[/MENTION] for systemless root with Magisk and whenever I updated a new firmware version I reapplied the Magisk root that way.

After TWRP was available for Mate 10, I switched to TWRP to flash Magisk and I have been doing that since the last two firmware updates, 134 noxloader and 135.

From my understanding, you can flash magisk in 2 ways

1. Unlock the bootloader. Let the phone reboot and make sure it works ok.

2. Flash Magisk using either [MENTION=1097168]mankindtw[/MENTION]'s method or use TWRP. There could be other methods, but didn't try them so can't tell how they work.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Shady282:
Hi, If may I ask if the process really that easy as described? and it is brick proof? I mean I have rooted all my other phones before, LG, Samsung, but i m a bit cautious with Huawei as a lot of people are bricking their phone.

So is it really that simple ? and once i receive and update does the recovery goes away? or just the root and i can flash it back easily?

Also one more question, as i have noticed that some people brick their phone mostly because of using some root apps... is it easy to just restore through recovery and thus decreasing the risk of bricking forever?

I have Hauwei mate 10 ALP - L29

Thank you very much
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
There's a Questions and Answers forum for this kind of queries. However, instructions on how to install TWRP are pretty clear, so once installed, go to Magisk thread and download latest version. Flash it with TWRP and that's all.

You can't install OTAs if you have TWRP installed and you have to install stock recovery manually, before installing the OTA update.

Having a nandroid backup doesn't mean you are completely safe, so it's better if you doesn't brick your device at all.

Current hard-brick situation can't be fixed with any available tool, free or paid.

P. S. If after reading this you are still confused, then i recommend you to avoid modding this device.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] xpdragon:
Sorry, I didn't mean to ignore your questions. As the op pointed out, this may not be the good place for these types of queries. My info is nothing new and it is just the collection of what I read and gathered from other forums and applied them to do what I want with my phone. I haven't run into any issue yet, but it may be just luck.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] fatalynx:
hi...iam new on huawei devices...huawei seem have 2 different recovery...can i restore back stock firmware using e-recovery even i've flash twrp and custom rom? ia there any other way beside funkyhuawei? thanks
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] jonasb_dk:
What do you mean by "non pro" twrp?

Where do I find it - and does it work? Because I got TWRP for pro and it doesn't seem to work well.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
Read the OP, there's a download section for Mate 10 (ALP).
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] jonasb_dk:
My bad - thanks buddy.

I get a "TWRP Failed to unmount '/system'(Device or resource busy)" error - and also an error when trying to root with Magisk. Any idea why?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] bihariel:
Just mount it manually from the mount menu before flashing.

BTW: don´t flash system.img files nor restore system backups with twrp on the Mate 10, it will corrupt your system partition and it will brick your phone, you will need to format system partion from fastboot to unbrick combined with HWOTA....

Hope the devs fix the problems with the mate 10.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] bihariel:
It would be great if the OP could fix those issue and make the recovery compatible with custom roms
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
I have no idea what you are talking about, please post logs and then we will see.

Most of you guys are "bricking" because you are flashing custom roms but you have no idea how to go back to stock and a simple fastboot operation became an overkill.

How some devs used to say: Logs or it didn't happened! ?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] bihariel:
Oh sorry I didn't explain myself well, I should have said soft bricked ?. I know custom roms aren't supported and I know how to go back to stock ROM and also I know how to go back to stock recovery to make custom rom boot again.

The issue I was talking about is one that happened to me when I just restored a backup I didn't with this recovery, it restored data(excl. Internal storage) perfectly but when it finished restorying system partition it just didn't let me mount it anymore from the twrp nor format it nor repair, so it was corrupted the same with data. I am not sure how toget a log from that because I hadn't access to. Anything else but fastboot.

I don't know if I did some wrong.... But thus also happened when I flashed a GSI from twrp, result was a corrupted system partition.

Another issue is that whever I try to flash a zip I have to manually mount /system and /vendor because the update script just can't mount them.

And yes I know how to unbrick from all these problems (thanks to fastboot).

I just wanted to report them in case it's helpful for you, I don't know how to get the logs you want with the partition corrupted any tip?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] cy2u5:
Will it be possible for me to access the file system via TWRP, if I don't know the OS passcode anymore?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] EvilHowl:
Nope. It's still encrypted.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] cy2u5:
Thx mate
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] sonice21:
What version of twrp work on ALP-L09C432B136?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] jantdroid:
Does flashing this require an unlocked bootloader?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Tecalote:
Everything you want to flash on Huawei Phones needs an unlocked Bootloader and some Know-how for Huawei specific things (example: combinations of Hardware Buttons)

Please search xda for related information.

At the moment it is difficult to get Unlock code
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ghostofcain:
Time consuming ,yes .

Difficult, not particularly,

A simple email to the contact details on the website was all that was required to initiate the process
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] jantdroid:
Thanks for answering my question, flashing Huawei ROM seems more complicated than other brands. Like easy flashing stock ROMS when you get bricked, I just wanted to be sure. Thanks.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] lilprince:
mate 10 - not work too
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] lilprince:
Is it planned to finalize this recovery, what would it work with the project treble?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
It's intended for EMUI8.x roms and it is perfectly working. I can't use my phone to test every custom rom out there, mine is not a development device, i'm using it as daily driver (and for now i don't consider custom roms ready for daily driving, at least not for my needs.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] lilprince:
in my opinion, PT-formwares can not be used only due to lack of working recovery for backup / restore and installation of something (for example magisk).

But I understand your point of view and very much hope that you will continue to work on the recovery and is ready to test builds and send out logs.:cowboy:
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
Well,my philosophy is a bit different and for now, using a custom firmware is like buying a car because it comes in "full option" and then disable all the options that made that car premium (basically why paying for a flagship device if after installing custom rom is becoming a pricy mid range device).

As for test builds, for now i'm still testing myself some things, but it's only for private use. If/when i will have a public test build, i will post it here.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] lilprince:
please tell me the file twrp_kirin970_test.img - will come to our device? and it is more completed than, version 0.7?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
It is working on Mate 10 Pro just as 0.7,give it a try if you want.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] giovanni_97:
recovery not work on AOSP rom.... mate 10 pro
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WaxysDargle:
this has been well established many times on this thread. it only works on stock ROM.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] salland:
it cost more time than usual when bootup
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Boolable:
deleted
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] commonhub:
cannot unmount /system

salute to developers for your work!

My problem is that twrp cannot unmount /system, showing that device/resource is busy.

I used the bla-alp-0.7 version and the alp 0.6 version as well but the problem remains. Is there any suggestion?

I am on stock emui 8 with passwords/fingerprints encryption. My phone version is alp-al00.8.00.129v6. Recently unlocked, with no system wide modification.

Thanks in advance~
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ZeOnEscofet:
Same for me
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] zaraza23:
and me...:|

any solutions?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] serveurperso:
Hi,

I just unlocked and rooted (magisk) my new Mate 10 Pro.

Please explain : I see ramdisk everywhere. because there is no recovery partition...

There is no way at this time to get TWRP on the go (without PC / ADB) ?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
You should see the "recovery_ramdisk" too, that's the recovery.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] serveurperso:
Sorry I don't understand. English is not my mother tongue I may have missed information but I can't find any answer on the web for my two basic questions about TWRP on my new and rooted Mate 10 (6Go 128Go single sim version).

I get confused with the ramdisk because it's volatile : It would be a recovery image file loaded in a ramdisk, at each boot when we call the recovery ? (Instead of a standard recovery partition like any other smartphone).

TWRP work on the Mate 10 Pro like any other Samsung smartphone (on the go, without any computer or anything attached to the USB port) ?

- Yes / No ?

There is a way to install TWRP without any user data loss (I'm already rooted with Magisk) ?

- Yes / No ?

Thanks
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] whymista:
I've got the same issue with the mate 10. I've tried version .5 and .7 and neither can unmount and say device is busy after putting in my pin
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Tecalote:
I use v 0.7 on Stock Rom and have no issues. Everything is working.

The message "system busy (in red) after entering PIN doesn't matter. Internal storage is after successful decrypted and I can access.

Tested everything and found no issues on Stock Rom.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] whymista:
Oh ok. I'll give it a shot trying to flash something.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] vkvictor1989:
Not able to enter into TWRP recovery

I have installed a custom kernel, however device is not booting now. I tried pressing Volume UP after restart, however, 'Your device is booting now..' message is displayed(snapshot attached) and I am not able to enter into TWRP recovery. Is there any way to enter recovery to recover phone.

Thanks!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] bihariel:
Just falsh the stock kernel through fastboot. You can extract the kernel from stock rom downloaded from firmware finder web site.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] lilprince:
Hello!

I was prompted on the forum that we need to port the TWRP to our device from the source code of Android 8.1.

even twrp works from honor view 10, but the sensor does not work on it.

can we make a new release?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
What do you mean with sensors not working?TWRP has nothing to do with sensors?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] lilprince:
I'm talking about working with Project Treble: people say that what would work with the recovery firmware PT need to compile the recovery from the sources for 8.1.

but it works with the PT on our device, it works on the recovery from the Honor View 10, but the sensor does not work on it.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] vkvictor1989:
Thank you for the reply. However, device is not entering the fastboot mode by pressing volume up during restart. Do I have any other option
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] bihariel:
To enter fastboot: with phone shut own, hold Vol- and connect the usb cable to your PC.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] inthedark22:
So I'm about to flash twrp and resurrection remix on my mate 10 pro. Does backup work like other twrp versions? And when i whipe or factory reset?

Don't know what works or not in this version od twrp? Had a nexus 6p and flashed a new rom every month or so but it all worked when i screwed up and had to restore a nandroid backup. Thanks in advance.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
Hey guys! Hope everyone is well. I have the ALP-L29 version of mate 10, everytime I flash TWRP, it would get stuck, just freeze on the opening of TWRP! Wanted to know if anybody know why is that?

Can't live without root guys so please help a brother out! :D SU keeps stopping, so I'm trying to get on the magisk train!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] geraldgg:
Hi,

I have the exact same issue.

I have a Mate 10, ALP-AL00.

I installed twrp first time, it worked, I tried to install Lineage OS 15.1, but it failed and not it won't boot. I can boot in recovery mode, but I just have the teamwin logo, and nothing happens. I tried other versions of twrp, they start, but touchscreen isn't working, as expected.

I just have access to fastboot.

What can I do?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
Think I found the solution to our problem, check pg 11-16, everything is explained.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] CosTuMe:
Installed latest version on the mate 10 pro (twrp_bla_alp_0.7.img), booted into recovery the first time and twrp lunched, but after a few reboots my phone restored the stock recovery.

any ideas?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] geraldgg:
Thanks, I had read the beginning and end of this thread, not the entire discussion.

It seems that using "fastboot erase userdata" did the trick.

Now I'm still stuck, because wipping /system doesn't work ("cannot unmount /system"), I'm trying to find more info on this, any clue?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
I do remember someone mentioning something about go in as read only when twrp ask, then once inside twrp, go into settings and unmount. I think It was on pg 19, xpdragon is his name.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] geraldgg:
I saw that, it says that mount as read only must be *unchecked*. Which make sense. But I cannot unmount, neither wipe, format or change partition.

There is worse now, the remaining size of the system partition is totally huge, non coherent with real size.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] vkvictor1989:
Thank you, it worked. Do we have any thumb rule for key combinations for different modes for different devices?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WaxysDargle:
this TWRP does not work with anything but stock EMUI. any stock ROMs will cause it to misbehave (ie can't unmount, can't install image etc)

if TWRP is hanging up at start, flash stock recovery and then flash TWRP again
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] geraldgg:
I see tutoriels here and there to install Lineage OS with TWRP, isn't it supposed to work?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] taddzio:
I have installed TWRP from first post but now TWRP stays on loading screen...

Mate 10 Pro.

It doesn make any difference if I restart with power Up of Down or just Power - it always restarts to TWRP and hangs on loading screen...

I cant even turn off the phone - it always restarts to TWRP loading screen and stays there... any ideas how to proceed from here?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
Pg 11-16
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] taddzio:
Im unable to access mode that enables fastboot so Im not sure what is your advice?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
Hold volume down and keep holding it and plug in the USB fast, you have to do it as soon as you restart it.

Keep trying it till you get fastboot. You'll get it eventually. I had similar issue before.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] geraldgg:
A little update on the system partition that had wrong size. I fixed it using "fastboot erase system", then booted in TWRP, went into wipe/format, the system has size 0. I tried format, it didn't work. Then I saw it has no type. I set it to EXT4, then it has been formated, and from there, I installed lineageos from the zip, and like a little miracle, it worked :)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] taddzio:
Thank you, managed to do it finally :)

In fastboot I entered

fastboot erase userdata

and TWRP is working fine now.

BUT, I do not know what to do next. I have unbootable (bootloop) LineageOS and that is it.

I would like to get LOS running. Should I go:

full wipe in TWRP (but which partitions should I wipe?)

install LOS with fastboot flash system openkirin_los_beta4.img

-------------------------------------------------------------------------

Edit:

I managed to install LOS with the steps above. What a great feeling to be back on stock android :)

Thanks again [MENTION=1952387]youngtjjones[/MENTION], for the tip
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
You're welcome!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] framey75:
Can this be done without fastboot?

Hi

I have an effectively bricked mate 10 pro that I can get into twrp but cannot find any partitions and cannot get it to bootloader to use fastboot. I am able to use adb and all the fun stuff that comes with it but just not fastboot.

Any help would be amazing.

Thanks