Huawei Mate 10 Pro | TWRP v3.2.1-0 bricked my device - Huawei Mate 10 Questions & Answers

Hello folks!
I have a problem. I installed LineageOS onto my device, to get off of EMUI and all the bloatware. Afterwards I wanted to get root access. So I downloaded the version of TWRP, 3.2.1-0, and flashed it through fastboot-mode. I was really happy, when TWRP finally booted, but now my system seems to be bricked. I cannot boot into my system and if I try to wipe my data I always get the error message:
Code:
[COLOR="Red"]Failed to mount '/vendor' (Invalid argument)[/COLOR]
I also tried to recover through eRecovery, but when the system tried to get the info package from the server I just get an error and it cancels.
I really hope someone can help me!

Enrico1337 said:
Hello folks!
I have a problem. I installed LineageOS onto my device, to get off of EMUI and all the bloatware. Afterwards I wanted to get root access. So I downloaded the version of TWRP, 3.2.1-0, and flashed it through fastboot-mode. I was really happy, when TWRP finally booted, but now my system seems to be bricked. I cannot boot into my system and if I try to wipe my data I always get the error message:
Code:
[COLOR="Red"]Failed to mount '/vendor' (Invalid argument)[/COLOR]
I also tried to recover through eRecovery, but when the system tried to get the info package from the server I just get an error and it cancels.
I really hope someone can help me!
Click to expand...
Click to collapse
Did you flash LineageOS with fastboot and booted to it before trying to root?
If not, flash back stock recovery and do a factory reset from there.

ante0 said:
Did you flash LineageOS with fastboot and booted to it before trying to root?
If not, flash back stock recovery and do a factory reset from there.
Click to expand...
Click to collapse
Yes I did, but I think I found a solution. I'll try it out, maybe I have luck.

Related

[CM13 post-MM] Flashing in TWRP auto-reboots phone into recovery - help!

I was running the 8/3 update of Cyanogenmod 13 just fine on my L24. I downloaded the 8/13 nightly from the CM website and tried to flash it, but for some reason it returned error 7, which shouldn't happen because I already updated to EMUI4/MM firmware two weeks ago (as evidenced by me running the 8/3 version with no problems). However, when I then tried to boot back into system, the phone instead booted back into TWRP. Trying to boot into system in any way (from TWRP menu, through bootloader --> fastboot reboot, et cetera) just reboots the phone right into TWRP again. -_-
Now, I can access only TWRP and bootloader, but whenever I try to flash a .zip in TWRP it immediately reboots back into TWRP. I've tried reflashing TWRP (newest version and older versions), flashing the Cyanogenmod recovery for kiwi, factory resetting, and even reflashing the stock recovery and trying to return to stock EMUI. None of these have worked. (And yes, of course I've tried clearing cache/dalvik.)
At this point I'm just looking to actually boot into system...If anyone has any idea how I might be able to fix this, it would be great.
EDIT: to clarify, when I try to flash the ROM in TWRP, I get the following:
updating partition details
full selinux support is present
MTP enabled
and then an immediate reboot. This is very fast - I had to take a video of it and then freeze the frame to see what the message was.
Boot in fastboot and install your crap? Turn phone off connect to your PC hold Power and volume down until it boots.
Thanks for responding!
Could you explain what you mean? I can easily get into fastboot, but I'm not sure what I should be installing. Trying to install the ROM gives me the android-info.txt/android-product.txt missing error, which makes sense because it's not a fastboot ROM. What file should I be installing through fastboot?
radiobacter said:
Thanks for responding!
Could you explain what you mean? I can easily get into fastboot, but I'm not sure what I should be installing. Trying to install the ROM gives me the android-info.txt/android-product.txt missing error, which makes sense because it's not a fastboot ROM. What file should I be installing through fastboot?
Click to expand...
Click to collapse
fastboot flash recovery twrp.img
reboot with power + volume up and down
from TWRP
Install / yourRom.zip
Install / gapps.zip (if needed for cm13 based roms)
reboot / system
enjoy
clsA said:
fastboot flash recovery twrp.img
reboot with power + volume up and down
from TWRP
Install / yourRom.zip
Install / gapps.zip (if needed for cm13 based roms)
reboot / system
enjoy
Click to expand...
Click to collapse
Again, the issue is that I can't install any ROM through TWRP, because trying to instantly reboots the phone and brings me back into TWRP. I've tried reflashing TWRP, but it doesn't do anything.
Update: I fixed it! For some reason TWRP was recognizing my SD card up until I started flashing. I just put the ROM in my internal storage instead of the SD card, and then the ROM was flashed with no problems. Thanks to those who tried to help me out!
radiobacter said:
Update: I fixed it! For some reason TWRP was recognizing my SD card up until I started flashing. I just put the ROM in my internal storage instead of the SD card, and then the ROM was flashed with no problems. Thanks to those who tried to help me out!
Click to expand...
Click to collapse
The phone is known to be finicky about sd cards. Try formatting it with TWRP
Sent from my SM-N920T using Tapatalk

Unable to mount / 'data' (invalid argument) xiaomi redmi note 2 Please help

about the phone:
Xiaomi redmi note 2
bootloader unlocked
cm 12.1 rom (before)
So this morning i had looked up an (under heavy development) android 6.0 rom for the xiaomi redmi note 2 and tried to flash it, when i rebooted it with this new rom after 5 minutes i got an screen saying it was encrypting the phone so i took out the battery real quick. when i got back to twrp i tried to restore to my back up but got an message saying: unable to mount/ 'data' (invalid argument) so please help me i tried everything and i have no money to buy a new one
I'd try flashing an official fastboot rom, I think that it should fix your partitions.
Then, if it works again, just flash TWRP and install whatever you want.
gnazio said:
I'd try flashing an official fastboot rom, I think that it should fix your partitions.
Then, if it works again, just flash TWRP and install whatever you want.
Click to expand...
Click to collapse
That's it. Android 6.0 has other partitioning than 5.x.x. If you want flash Android MM you need flash specially edited TWRP, which is adapted to MM partitons (You can find this TWRP on xda). Btw. Fastboot is the one way to wake up your RN2
Norciu said:
That's it. Android 6.0 has other partitioning than 5.x.x. If you want flash Android MM you need flash specially edited TWRP, which is adapted to MM partitons (You can find this TWRP on xda). Btw. Fastboot is the one way to wake up your RN2
Click to expand...
Click to collapse
Hi, I had MM in my phone but something ****ed up my recovery so I flashed the MIUI 8 dev fastboot rom through SP Flash Tools, now everything's okay but I can't get TWRP to work, I tried a lot of versions, the 2.8.7, the 3.0.2.0 and etc, but every time I boot to recovery the phone just hangs at the TWRP logo. Do you know how I can fix this? I've tried everything.
Ignore this.
I missed you have MM.

Rooitng LG G5

Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
robburne said:
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
Click to expand...
Click to collapse
The best way to root the lg g5 is to use lg up to restore it back to stock 7.0 20a. Then use adb and fastboot to flash twrp. Then magisk for root (optional). The best roms are currently lineage 16.0 and 17.0.
Thanks - but before I flash any images (stock or custom) I want to do a nandroid backup. I am not sure how to install TWRP without root access, and root access requires flashing!
You have to first find which model you have (for example h850) and see if its possible to unlock the bootloader.
This is necessary if you want to install custom roms/recovery.
On the h850 you can find a tutorial on xda called Official LG G5 H850 Bootloader Unlock.
After you unlock the bootloader you need to flash twrp recovery, after that you need to boot into the recovery and flash magisk for root.
Good luck
Thanks, I do have a European model H850. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet because it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
robburne said:
Thanks, I do have a European model H350. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet becasue it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
Click to expand...
Click to collapse
You would have to use a third party back up app either on your phone or PC.
I did try the Titanium app but it required root access I wasn't aware of any PC tools but will take a look now, thanks.
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
Did you root with magisk? Try flashing either a rom or boot into download mode and restore your phone.
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
robburne said:
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
Click to expand...
Click to collapse
So you first must find a rom for your variant of the g5 since it's a European version it's most likely an h850 then, boot into twrp wipe system, art chache, chache, data. Installing magisk is the same as super su
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
robburne said:
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
Click to expand...
Click to collapse
Whatever you prefer should work the best way to get back to stock is threw download mode
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
robburne said:
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
Click to expand...
Click to collapse
I don't know if you can restore an xml file.

Can't install TWRP without rooting; need... better drivers...?

Followed the instructions on several websites such as this one here at XDA:
https://www.xda-developers.com/how-to-install-twrp/
All goes well until I get to this line:
fastboot flash recovery recovery.img (latest TWRP image, renamed)
The command prompt window just sits there and says "(waiting for any device)"...
Most websites and forum threads seem to indicate that this is a problem with the drivers. Can anyone confirm?
FWIW, I did a total reflash of the latest stock ROM from this thread:
https://forum.xda-developers.com/ga...icial-stock-fw-update-odin-thread-xx-t3825204
so I currently have only the "stock" recovery.
I'd rather not root it quite yet. Help please?
P.S. The phone shows up in Device Manager and for "adb devices"; the phone's bootloader has been unlocked... can't see what I'm missing... I'm using a Windows 10 computer... I removed any screen locking mechanisms (PIN, fingerprint, etc.)...
Follow this instructions https://forum.xda-developers.com/galaxy-note-9/development/recovery-twrp-galaxy-note9-exynos-t4097441
Most samsung device use odin to install twrp
ACC18 said:
Follow this instructions https://forum.xda-developers.com/galaxy-note-9/development/recovery-twrp-galaxy-note9-exynos-t4097441
Most samsung device use odin to install twrp
Click to expand...
Click to collapse
Thanks. I'm trying it with 3.4.0-0
Do I flash this file while I'm still in TWRP? Or do I reboot the phone and go back *into* TWRP to flash it?
>After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
Edit: I tried flashing no-verity-opt while still in TWRP. Got the dreaded:
"Verification failed.
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."​
I *really* tried to follow the instructions exactly, and think I did.
Was it because I tried to flash 3.4.0-0...?
I am currently re-flashing the stock firmware again.
Dougmeister said:
Thanks. I'm trying it with 3.4.0-0
Do I flash this file while I'm still in TWRP? Or do I reboot the phone and go back *into* TWRP to flash it?
>After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
Edit: I tried flashing no-verity-opt while still in TWRP. Got the dreaded:
"Verification failed.
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."​
I *really* tried to follow the instructions exactly, and think I did.
Was it because I tried to flash 3.4.0-0...?
I am currently re-flashing the stock firmware again.
Click to expand...
Click to collapse
You need to format data after install twrp. This is avoiding internal data encrypted.
After twrp installed, do format data from twrp. Of course all of ur data on internal erased. And then take custom rom. I suggest devbase rom, this have "no verity encrypt" when u install this rom. Devbase is stock firmware for easy upgrade for rooted phone. And this is easy to install for beginner
Sorry for bad English
ACC18 said:
You need to format data after install twrp. This is avoiding internal data encrypted.
After twrp installed, do format data from twrp. Of course all of ur data on internal erased. And then take custom rom. I suggest devbase rom, this have "no verity encrypt" when u install this rom. Devbase is stock firmware for easy upgrade for rooted phone. And this is easy to install for beginner
Sorry for bad English
Click to expand...
Click to collapse
No worries. Thank you for your help.
I use Odin to install the Devbase ROM, right? Or can I use TWRP?
Edit: apparently it works just fine to install it with TWRP.
Thank you so much. This time TWRP works just fine for me and the new ROM is great.

Always booting into TWRP

Hello,
I installed TWRP and rooted my Phone with Magisk afterwards.
Now my phone always boots into TWRP instead of starting my Android.
I already removed Magisk and tried flashing the xiaomi.eu ROM but that doenst help.
I also tried formatting my /data partition but that fails with the Message "Unable to decrypt FBE". When i try to format data i get the error "unable to wipe '/data' -- unknown file system 'auto' unable to format to remove encryption.
I hope I haven't bricked my phone completely and someone can help me
raphi59 said:
Hello,
I installed TWRP and rooted my Phone with Magisk afterwards.
Now my phone always boots into TWRP instead of starting my Android.
I already removed Magisk and tried flashing the xiaomi.eu ROM but that doenst help.
I also tried formatting my /data partition but that fails with the Message "Unable to decrypt FBE". When i try to format data i get the error "unable to wipe '/data' -- unknown file system 'auto' unable to format to remove encryption.
I hope I haven't bricked my phone completely and someone can help me
Click to expand...
Click to collapse
Tray xiaomi MI Tool V2
[email protected] said:
Tray xiaomi MI Tool V2
Click to expand...
Click to collapse
The Program fails with exit code 1: Mismatching Image and Device, do you know how i can solve this?
Enter in fastboot mode
Select the phone is bricked
Got it working!
If anyone else has this Problem on his MI 10T, this is what i did:
1. Download the TWRP from here --> https://forum.xda-developers.com/t/...r-mi-10t-mi-10t-pro-redmi-k30s-ultra.4187427/
2. Boot TWRP from Fastboot --> fastboot boot <twrp.img>
3. Use OTG pendrive to install xiaomi.eu ROM (I used Version 12.0.7) - without any wipe.
4. After the installation completed successfully, wipe your cache, data and do a full wipe in stock recovery
5. Reboot your System (optionally install twrp) and happy with your working System :^)

Categories

Resources