yashsingh1/xdaforums huggingface dataset:
[Nokia 6 Guides, News, & Discussion] Dantheman221:
Hello

After updating to Android 9, I lost dm-verity command and TWRP. Fastboot says it's an invalid command now. Help?

Edit: Okay, flashed old bootloader and got dm-verity back. Unlocked bootloader, now am stuck on recovery, won't boot to 7.1.1 OS. Help?
[Wear OS Q&A, Help & Troubleshooting] GatorsUF:
So I am in the market for a new smartwatch/fitness band and I am intrigued but not sold on the Ticwatch E/S. They seem like quality devices at an affordable price, but I'm not sure they check all the boxes for me.

What I want is to run with my strava app without my phone, meaning leave my phone at the house. I also like to listen to podcasts and music while I run meaning I need some onboard storage. I also need the sensors (gps, gyro, heartrate etc..) to be fairly accurate and decent battery life 2-3 days would be awesome!

Does anyone have a good recommendation? Also what are the odds we will see a Pixel Wear device at Google I/O? I have a google store credit, but there are no watches available on the store at the moment.
[Wear OS Q&A, Help & Troubleshooting] mward1995:
I run with my Urbane 2 all the time. There is a spreadsheet over on Reddit that lists info for all AW watches. A lot of active users as well that could answer about the Ticwatch in the AndroidWear subreddit.

https://docs.google.com/spreadsheet...3bkyp1UzT0S5Iahy3W9dAQf_sfc/edit?usp=drivesdk
[LG G Pad X 8.0 Questions & Answers] kuper0201:
Hello guys :D

Can i install V521 stock rom at v520?

If my knowledge is true, V521 and V520 are same device.

Exclude mobile carrier.

Can i root V520 like V521 do?

Or is there other way to root V520?
[LG G Pad X 8.0 Questions & Answers] aamszia:
it is risky ... did you tried it ?
[LG G Pad X 8.0 Questions & Answers] garevlad:
No.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Dees_Troy:
NOTE: fastboot flash to recovery_ramdisk and not to recovery as this device does not have a regular recovery partition.

Device Page, Download Links, Mirrors:

https://twrp.me/huawei/huaweihonorview10.html

Download:

https://dl.twrp.me/berkeley
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
If you wanna backup your old recovery, if in-case anything goes wrong, just follow these steps.

1)Root your device with Magisk

2)In a local terminal app or in adb shell, type su and get a root shell.

3)Do

dd if=/dev/block/bootdevice/by-name/recovery_ramdisk of=/sdcard/recovery_ramdisk_bak.img

4)Now you can just use

adb pull /sdcard/recovery_ramdisk_bak.img

to copy the backup image file to your desktop.

5)If in-case anything goes wrong, just do

fastboot flash recovery_ramdisk recovery_ramdisk_bak.img

Thanks for the TWRP mate ;)

EDIT - As soon as you flash the image, remove the USB cable from the device and press and hold VOL+ and Power button to get into recovery.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Santi_SAZ:
Many thanks to TWRP team, to bring us the TWRP Recovery.

[MENTION=912474]Dees_Troy[/MENTION] I can't see a link for download, not listed yet at official site. I suppose we have to wait for a while
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Rj_Param:
Thanks.... But can't see the link to download.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] DANIELWHITT:
https://eu.dl.twrp.me/berkeley/

That's to the download page
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] venreddy:
Finally twrp is here :)

Thanks
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] CertifiedBlyndGuy:
Thanks for this. Nice work
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] luckykhera2:
Finally TWRP [emoji8][emoji8][emoji8][emoji8]

---------- Post added at 02:27 PM ---------- Previous post was at 01:35 PM ----------

Finally flashed TwRp now working fine [emoji7][emoji7]
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] netxking:
Thanks to TWRP Team.

Now is there anybody installed xposed successfully using TWRP?

I tried to install it without TWRP and got bootloop. I'm too scared to do it again even using twrp. :crying:

.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] LastStandingDroid:
Xposed is incompatible for now. Wait until rovo pushes a update and see if it's fixed then

Read more https://github.com/rovo89/Xposed/issues/310

He states also that it is same issues for mate 9 as well as honor view 10. Something in art of Huawei seems to cause issues
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] jsanket95:
Is this working for Honor 9 Lite?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Rj_Param:
Hey, I managed to "not to take backup" of my stock recovery ...where can I download it? :confused:
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Einwod:
You can't. Your stock recovery is gone if you didn't back it up to your device/cloud.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] iTAZUETA:
have flashed the recovery but cant see any zip files and i have nothing on my sdcard somehow. pls let me know how to fix this
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] cstar patrick:
i have a question, if i flash twrp, huawei erecovery could be disappear？
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Santi_SAZ:
Yes

Enviado desde mi ONE A2003 mediante Tapatalk

---------- Post added at 07:58 AM ---------- Previous post was at 07:56 AM ----------

Yes, data partition is not accessible because decryption issue

Enviado desde mi ONE A2003 mediante Tapatalk
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Nope it won't. eRecovery is in a seperate partition, so even if you flash ramdisk, it won't get replaced. But the ordinary recovery would.

---------- Post added at 09:47 AM ---------- Previous post was at 09:30 AM ----------

https://xdaforums.com/honor-view-10/development/stock-recovery-getting-to-stock-t3754797
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] caiz0723:
when i used this recovery, it seems my phone couldn't mount the partitions.

When i flash the zip , it said

unable to mount partitions

-unmounting partitions

updater process ended with ERROR:1

ERROR installing zip file...

updating partitions details...

failed to mount /cache' (invalid argument)

failed to mount /cust' (invalid argument)

failed to mount /data' (invalid argument)

failed to mount /modem_secure' (invalid argument)

failed to mount /product' (invalid argument)

failed to mount /splash2' (invalid argument)

failed to mount /system' (invalid argument)

failed to mount /vendor' (invalid argument)

failed to mount /version' (invalid argument)​

...done

My phone is Huawei p10p, system is rr.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Blackball:
This twrp is only for Honor view 10.

Take a look into P10plus forum.
[One (M7) Q&A, Help & Troubleshooting] kraaszy:
Okay, so i were rooting my m7 and i think i dont get it, or did it wrong, but now i cant turn on my m7, here is a video about the problem.

i unlocked the bootloader, but i think it have a S :/

https:// youtu.be /PxKbET-T_xI

thx!!

(pls dont ban my post, is not spam but the forum dont let me put the video link)
[One (M7) Q&A, Help & Troubleshooting] lucyr03:
Try a factory reset, if isn't working you need to flash ruu.
[One (M7) Q&A, Help & Troubleshooting] kraaszy:
Hi, i already did the factory reset and it doesn't work, whats ruu?
[One (M7) Q&A, Help & Troubleshooting] lucyr03:
The stock firmware, you need to read some threads to understand how to flash your phone...
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Dees_Troy:
NOTE: fastboot flash to recovery_ramdisk and not to recovery as this device does not have a regular recovery partition.

Device Page, Download Links, Mirrors:

https://twrp.me/huawei/huaweimate10pro.html

Download:

https://dl.twrp.me/blanc
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Ail-Hussain:
Omg thank you so much for this its feels like a hope of life for a cancer patient ?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Kane1706:
where is the download?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Evolutios:
[MENTION=2798144]Kane1706[/MENTION] https://twrp.me/huawei/huaweimate10pro.html and the direct link https://eu.dl.twrp.me/blanc/twrp-3.2.1-0-blanc.img.html
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Ail-Hussain:
Booted into recovery but touch is not working

Mate 10 alp-l29.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] aDarkBox:
Has anyone tested this on the Mate 10 (non-pro) yet?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Sergiocubano1:
Tested on ALP-l09 Huawei mate 10 but does not work although installed and everything but pressing swipe does not work the touch

Enviado desde mi ALP-L09 mediante Tapatalk

---------- Post added at 10:31 AM ---------- Previous post was at 10:31 AM ----------

Tested on ALP-l09 Huawei mate 10 but does not work although installed and everything but pressing swipe does not work the touch

Enviado desde mi ALP-L09 mediante Tapatalk
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Kane1706:
This is for BLA-L09 / BLA-L29

Not for ALP
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Benny100:
Backup ans Restore Working?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ngoralph:
touch is working fine for bla-l29 but storage is not the internal storage that i placed my files on its full of garbled folders
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Benny100:
BLA-L29 Working?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] DANIELWHITT:
Look at the post above yours, you may get the answer.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
This is because the internal storage is encrypted, and for now, this version of TWRP doesn't support decryption.

I guess that only solution for now would be to format (not Wipe) internal storage. Maybe dees_troy will soon find a solution, and decrypting will be fully supported.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ngoralph:
at least that's a partial fix, thank you
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
I didn't tested personally, so i can't guarantee if it works or if the /data is re-encrypted upon reboot.

Let us know if you succeed!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
You need to remove fileencryptioninline from /vendor/etc/fstab.kirin970, else it will re-encrypt

And formatting wipes /data (Like a factory reset, meaning files will be missing :P)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
Thanks, i knew there's a way to remove encryption from fstab, but i wasn't sure how it works on Mate 10. [emoji6]

Obviously, the best way would be to have encryption support in TWRP, but at least we have a workaround.

Btw, this encryption issue also affects backup operations, i guess!?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
For /data yes, all other partitions will backup fine.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Pretoriano80:
Yes, i mean for /data! [emoji6]The best part is that now, with TWRP available, we have more options to recover from possible soft-bricks, bootloops, etc.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] culiacanazo:
What will it take for ppl to stop quoting the whole 35 kms of OP along with the days needed to scroll through it?! DAING!
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] youngtjjones:
Delete this please, I post on wrong thread.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] taddzio:
I've installed official TWRP linked in first post. I copied custom rom to internal storage but now TWRP cannot read folders (due to encryption, if I understand correctly...).

How can I go back to the state where I can use fastboot procedure to install TWRP that supports the encryption?

(I still have official ROM installed - but factory reset due to bootloader unlock)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ghostofcain:
You can flash a different TWRP from within the official one.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] taddzio:
Yeah, but problem was that I could not manage to upload anything on the phone - messed up install procedure somehow.

I performed "fastboot erase userdata" and encryption was gone.

Now Im on LOS 15.1 and original TWRP.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ghostofcain:
Whilst decryption was in place , you needed to sideload whatever you wished to flash! But hey looks like your sorted now.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] taddzio:
Anyone knows why I cannot wipe /cache partition.

Formatting Cache using make_ext4fs
Unable to wipe Cache.
Unable to wipe /cache.

TWRP shows ext4 file-system for /cache

When I mount /cache under TWRP, I can see content in File Manager.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] itsdan313:
Anyone try to see if this works with open kirin roms?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ikolbyi:
Need help.

I was wondering if someone could help identify what I am doing wrong?

https://xdaforums.com/mate-10/help/twrp-fastboot-huewai-mate-10-pro-t3812648#post76993703
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] sartan:
Can someone post the stock recovery for C432?

Thanks
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] steeserious:
I wasn't successful installing twrp 3.2.1-0 on my Mate 10 pro (BL / FRP unlocked).

After flashing the img, the phone would reboot into standard recovery. For some reason I thought it would be a grand idea to do a factory reset and got FRP lock now.

At this point, when rebooting to recovery via adb reboot I see the TWRP screen for half a second, then the phone goes to fastboot mode.

Thoughts anyone?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] reV17:
Enable OEM unlocking, and turn on USB debugging. Now reboot to recovery using adb reboot recovery_ramdisk. Then see if TWRP boots
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] steeserious:
Thanks! Unfortunately, OEM unlocking is greyed out.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ghostofcain:
If only there was some help, maybe in message form, that could sort you out.

Please if you are unable to follow instructions on a screen don't attempt to install a custom recovery.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
Insert sim and connect WiFi, like it says.

"Connect to the Internet"

After this reboot and check if it can be enabled. If not, let it stay connected for a bit and check again.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] steeserious:
It was conncted for a good half hour before I considered it would be a problem. Hadn't tried with the sim before so I just gave that a go, didn't change anything.

BL is unlocked and the OS is Pie.

Thanks for the advice. Didn't work. Shall I contact my carrier now? That's the second instruction on the screen :eek:
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
Carrier won't/can't do anything with this. But one requirement to enable it (Or getting the toggle toggle-able) is an Internet connection. I guess it says this in case your internet connection doesn't work for some reason.

I would try rebooting a few times with wifi and sim inserted, then check again. Or do another factory reset.

If all else fails you could always downgrade back to Oreo using service firmware from androidhost.ru, this requires an OTG cable and a memory stick/msd adapter.

A suggestion is to use JDownloader to download firmware as it's super-slow otherwise.

Basically you search for your firmware, for example BLA-L29C432. Since you're on Pie now you have new bootloader, so you would have to download B146 or higher (New bootloader can't downgrade to old bootloader). Then extract the zip and drag/drop the 'dload' folder from inside the one named 'Software' to the root of your sdcard.

After this plug OTG cable into phone, and reboot while holding VOL UP + DOWN, this will put you in download mode and installation should start in a couple of minutes. (Took about 10 minutes for me to verify before it actually started installing).

Since you are on Pie you have new bootloader, so DC is not an option to get temp unlock to flash back a working TWRP.

And Pie is the reason why TWRP doesn't work for you.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] steeserious:
I wasn't exactly serious about the carrier in my response to the other, semi-friendly post.

Internet does work fine for everything else I did so far.

I'm afraid factory reset doesn't really do much. Phone reboots into TWRP, which quits straight away and then goes into fastboot&rescue mode.

Thanks. I'll guess I'll have to give that a shot.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] allanjohnkemp:
Any hope of getting pie support?

Just wanting to install magisk but can't do via patched boot image because the image has no ram disk.Img
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] MicrosoftBug:
+1
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
Even with TWRP you still can't flash Magisk.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] rowdyruffbrick:
would i able to use this to flash open gapps on a pie treble rom?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] klaudek12525:
Dziekuje
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] yunusdemir:
Emui 9 C85 Pie Twrp is it possible

I made the region code of Huawei Mate10 pro device c185 and installed it with Emui 9 u Hwota. I used the device opened 1 day. This time I would switch to C432 Hwota with the device supposedly c432 was going to spend on the device did not know how the device does not open. Erecovery is entering. it doesn't go into normal recorey. and it won't turn on. How can I solve the problem
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] CptClubs:
Pay funkyhuawei and update using their erecovery method to your original firmware
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] SiCKNiS:
A574bl custom recovery

---------- Post added at 09:54 AM ---------- Previous post was at 09:27 AM ----------

Please reread your message and your spelling, come on people....
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ilmar72:
I cant seem to flash TWRP properly anymore.. I used to have it on this phone with no problems. I have had my phone unrooted for a while.

I now need root. so I go to flash twrp through fastboot and all goes well. When I reboot the phone.. I briefly see the TWRP splash logo, and then the phone goes right to fastboot again. I cannot get into the recovery.

Any ideas?

edit: I solved the problem... the img on the official TWRP is no good. or corrupt or something.

instead use one of these recoveries

https://xdaforums.com/mate-10/development/huawei-mate-10-pro-twrp-3-2-1-0-t3769904
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] euhkah:
Hello,

I flash TWRP on my BLA-L29 C432 but when I start TWRP recovery on this phone, TWRP opens and stops immediately, replaced by the bootloader.

I think I did everything right ... I forgot something?

EMUI 9.0.0.246 (C432E6R1P12) - TWRP 3.2.1-0 blanc

Thanks !
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] sdspieg:
I did a factory reset through Huawei recovery and was able to get this recovery on a Huawei Mate 10 Pro that I had almost give up on, but that I still kind of like (BLA-A09, but with a BLA-LGRP2 build number, EMUI 8, Android 9. Android Security Patch October 6, 2019) . The plan was to root it again (the phone is still unlocked) with Magisk, but I can't find a recognizable folder in the File Manager that I can put the zip file in. Does anybody have any ideas what I might still be able to do? Thanks!

UPD - so I was able to push magisk-v20.4.zip to the sideload folder. It seemed to be installing fine, until the end, when I get two red lines Failed to mount '/system' (Device or resource busy) and Failed to mount '/vendor' (Device or resource busy). I saw others had that too...
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WayneSeng:
Im having an issue on my Huawei Mate 10 Pro BLA-AL00 running android 8.1. I can use twrp for a couple of seconds before it kicks me out into fastboot mode. In fastboot mode, the cause was bootloader 1. I have tried solving this issue by factory resetting the device, but the issue persists. Any suggestions?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] WuYilingwei:
I flash twrp.img to ramdisk_recovery and reboot to recovery, but it show twrp and reboot to fastboot.

My device is chinese mainland mate 10 pro, and basic pack is 9.1.0.339(the most early pack I can find)

Huawei Mate 10 Pro

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] The3File:
Do you mind expanding a bit on that? As I do not see that argument specifically.

I attached my fstab as a txt, just in case someone wants to take a peak.

I am already grateful. :)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
Sorry, this one fileencryption=aes-256-xts:aes-256-cts

remove or change to encryptable.

It will keep /data unencrypted after you Format Data.

Format Data will delete everything in Data (App settings, apps, everything!)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] abrahamjones:
Thanks for the support. Do you have a donatation link?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] The3File:
Alright, I thought so, but didn't dare to touch it (still new to Huawei, and the scare stories got to me)

:)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] ante0:
If you remove it without formatting data you will boot loop :P

check his profile :)
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] The3File:
Hm, I'm bootlooping, haha, I formatted data though. Even replaced a backup of fstab. Maybe it's ROM related (I'm running an honor 8 treble rom), will report back.

[Edit] Nope, just doesn't work with "encryptable". Just delete "fileencryption=aes-256-xts:aes-256-cts", and it's fine.

Thanks for input.

[Edit2] Typo
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] salland:
good job
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] cheeze.keyk:
Please refrain from quoting the whole OP. :good:
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] d.cortez:
@The3File - it looks like you copied the statement to be deleted twice in your post. can you confirm that the yellow highlighted text in the attached picture - including the comma - is what we need to delete from the fstab file? thanks.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Melyn1983:
I delete this and the Phone stuck in bootloop. New Software via Funky Huawei, then an "low level" factory reset from the Phone and now i am Stock again. :-/
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Rayson-z:
I use ADB fastboot install method to flash the TWRP img. but I meet fail message

writing 'recovery'...

FAILED (remote: Command not allowed)

Anyone can help and tell me how to solve it? Thanks in advance

My device model is : BLA-AL00
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] fxstone:
You should flash to recovery_ramdisk as there is no regular recovery partition.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] salland:
back up will stuck
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] Rayson-z:
I used the command mentioned in the website. but fail. Would you please tell me which command should be used?
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] fxstone:
If you used " fastboot flash recovery_ramdisk twrp.img" where twrp.img should be the exact name of the image, then the problem lies elsewhere.

It looks like the connection to your phone failed. This problem could have a multitude of reasons.

Maybe your bootloader isnt unlocked yet?

Usb-debugging turned off?

Are you on a windows, or a linux machine?

If windows, maybe you are missing some drivers.

If linux, then running the command with elevated priviliges could do the trick.
[Huawei Mate 10  ROMs, Kernels, Recoveries, & Other] pasil.pt:
If i flash twrp (and SU) then i cannot upgrade through OTA or Funkyhuawei, right?