Help with my Huawei Mate 9 MHA-L09. Oem Unlock - General Questions and Answers

Hey guys, i tried to install a new rom and i deleted my OS. i unlocked the bootloader but when i tried to flash TWRP said me:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 471859200 bytes
sending 'recovery' (26982 KB)...
OKAY [ 0.767s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 0.780s
C:\Program Files (x86)\Minimal ADB and Fastboot>
If i try to flash anything else Said me ''Command not allowed'' and i think it's cause i did not turn on the Oem Unlock in development options (cause i don't have OS, obviously)
Anybody can help here please? is urgent and i'm dying :crying: :crying: :crying:

Related

[HELP] - Flashing Problems - FAILED (remote: (FileWriteFailed))

Hey guys,
I have been trying to flash my Tablet for a few hours now. I would constantly get problems trying to flash. I'd reboot and go into fastboot again and then it would flash successfully. This works for everything (boot.img, recovery.img, system.img) however i can never get userdata.img to flash correctly. I am using the steps from nVidia to do this. Ill post the steps here as well as the exact error im getting.
Steps:
Code:
SHIELD TABLET RECOVERY IMAGE FLASHING INSTRUCTIONS
To follow the instructions in this guide, you will need adb and fastboot.
These tools are provided as part of the Android SDK:
http://developer.android.com/sdk/index.html
Before flashing this recovery image to your SHIELD TABLET, connect your SHIELD TABLET
via USB to the PC where you downloaded this recovery image.
Next, put your SHIELD TABLET into fastboot mode using one of the following methods:
SW method:
- Boot to android home screen
- Connect the device to linux/windows system
- Open terminal (on linux); command prompt (on windows).
- Type "adb reboot bootloader" in terminal/command prompt
HW method:
- Turn off the device
- Press "Volume Down" -> "Power", hold "Volume Down" and leave Power buttons till device boots
To flash this recovery image to your SHIELD TABLET, run the following commands from
the directory where you extracted the recovery image package. If this is the
first time you have done this procedure, you must unlock the bootloader (see
below):
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb
Unlocking the Bootloader
Your SHIELD TABLET may have shipped with a locked bootloader. To update the device,
you must unlock the bootloader using the following:
- fastboot oem unlock
- Press the "Volume Down" button to select "Unlock bootloader" option on device
- Press the "Power" button to confirm the unlock. Your device's bootloader is now unlocked.
My CMD window:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 12.593s]
finished. total time: 12.594s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
rebooting...
finished. total time: 0.022s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash userdata userdata
.img
target reported max download size of 570425344 bytes
erasing 'userdata'...
OKAY [ 12.548s]
sending sparse 'userdata' (557052 KB)...
OKAY [ 23.951s]
writing 'userdata'...
FAILED (remote: (FileWriteFailed))
finished. total time: 46.546s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 570425344 bytes
sending 'recovery' (9758 KB)...
OKAY [ 0.425s]
writing 'recovery'...
FAILED (remote: (FileWriteFailed))
finished. total time: 10.476s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
OKAY [ 5.034s]
finished. total time: 5.034s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 570425344 bytes
sending 'recovery' (9758 KB)...
OKAY [ 0.416s]
writing 'recovery'...
FAILED (remote: (FileWriteFailed))
finished. total time: 10.463s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
sending 'recovery' (9758 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.004s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 570425344 bytes
sending 'recovery' (9758 KB)...
OKAY [ 0.414s]
writing 'recovery'...
FAILED (remote: (FileWriteFailed))
finished. total time: 10.462s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.030s]
finished. total time: 0.031s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 570425344 bytes
sending 'recovery' (9758 KB)...
OKAY [ 0.428s]
writing 'recovery'...
OKAY [ 0.281s]
finished. total time: 0.711s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
target reported max download size of 570425344 bytes
sending 'boot' (7608 KB)...
OKAY [ 0.339s]
writing 'boot'...
OKAY [ 0.226s]
finished. total time: 0.567s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
target reported max download size of 570425344 bytes
erasing 'system'...
OKAY [ 0.637s]
sending sparse 'system' (556772 KB)...
OKAY [ 24.041s]
writing 'system'...
OKAY [ 20.876s]
sending sparse 'system' (555305 KB)...
OKAY [ 24.219s]
writing 'system'...
OKAY [ 19.289s]
sending sparse 'system' (56409 KB)...
OKAY [ 2.431s]
writing 'system'...
OKAY [ 1.964s]
finished. total time: 93.461s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash userdata userdata
.img
target reported max download size of 570425344 bytes
erasing 'userdata'...
OKAY [ 10.050s]
sending sparse 'userdata' (557052 KB)...
OKAY [ 23.801s]
writing 'userdata'...
FAILED (remote: (FileWriteFailed))
finished. total time: 43.929s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash userdata userdata
.img
target reported max download size of 570425344 bytes
erasing 'userdata'...
OKAY [ 5.048s]
sending sparse 'userdata' (557052 KB)...
OKAY [ 23.702s]
writing 'userdata'...
FAILED (remote: (FileWriteFailed))
finished. total time: 38.796s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot staging blob
usage: fastboot [ <option> ] <command>
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash staging blob
target reported max download size of 570425344 bytes
sending 'staging' (17491 KB)...
OKAY [ 0.742s]
writing 'staging'...
FAILED (remote: (FileWriteFailed))
finished. total time: 10.807s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
rebooting...
finished. total time: 0.003s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash staging blob
target reported max download size of 570425344 bytes
sending 'staging' (17491 KB)...
OKAY [ 0.752s]
writing 'staging'...
OKAY [ 0.495s]
finished. total time: 1.249s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dtb tegra124-tn8-
p1761-1270-a04-e-battery.dtb
target reported max download size of 570425344 bytes
sending 'dtb' (68 KB)...
OKAY [ 0.027s]
writing 'dtb'...
OKAY [ 0.011s]
finished. total time: 0.039s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash userdata userdata
.img
target reported max download size of 570425344 bytes
erasing 'userdata'...
OKAY [ 12.662s]
sending sparse 'userdata' (557052 KB)...
OKAY [ 23.825s]
writing 'userdata'...
FAILED (remote: (FileWriteFailed))
finished. total time: 46.542s
C:\Program Files (x86)\Minimal ADB and Fastboot>
If you are using "fastboot flash" with the Nvidia Shield Tablet (P1761) (and probably for other devices), and see
FAILED (remote: (FileWriteFailed))
Click to expand...
Click to collapse
then do the following:
If you haven't already, get the appropriate flash files for your device (see https://developer.nvidia.com/gameworksdownload ). Extract the zip archive.
Run
Code:
fastboot oem lock
Use the tablet's volume keys to highlight the "Lock bootloader" selection, then press the power button.
Run
Code:
fastboot oem unlock
Use the tablet's volume keys to highlight the "Unlock bootloader" selection, then press the power button.
The fastboot flash" type commands should now work. To use them, you probably want to run "./flash-all.sh" (on Linux) or "flash-all.bat" (on Windows) in the extracted zip directory.

HELP Bootloader unlocked without code!!!!!

Hello,
i have a big problem yesterday i made the update to 560.
After this i want to root it i tried it with Kingroot *windows*.
After 50% the phone rebootet and show Fastboot screen and *Phone Unlocked*
So i thinked why not, so i tried to root with this
http://forum.xda-developers.com/mat...overy-twrp-2-8-7-0-mate7-android-5-1-t3156779
but CMD shows me only
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp_3.0
.2_mate7_6.0.img
target reported max download size of 471859200 bytes
sending 'recovery' (11924 KB)...
OKAY [ 1.219s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.234s
Then i tried to relock bootloader but i have no Key. And i had not unlocked my Phone with a key....... whats wrong
you should take unlock code
Sent from my HUAWEI MT7-L09 using Tapatalk
If you need an unlock code this solved it for me,
Use king root, followed by Honor Tuner app
This is how I did it, couldn't figure out how to use Huawei site either
Follow this guide
http://forum.xda-developers.com/mate-7/general/unlock-code-via-honortuner-t3217651
All credits to that thread
Good Luck
KingRoot doesn't work for me on marshmallow. Oh well.
Have you tried using the android apk, not the windows application
funboomer2005 said:
Hello,
i have a big problem yesterday i made the update to 560.
After this i want to root it i tried it with Kingroot *windows*.
After 50% the phone rebootet and show Fastboot screen and *Phone Unlocked*
So i thinked why not, so i tried to root with this
http://forum.xda-developers.com/mat...overy-twrp-2-8-7-0-mate7-android-5-1-t3156779
but CMD shows me only
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp_3.0
.2_mate7_6.0.img
target reported max download size of 471859200 bytes
sending 'recovery' (11924 KB)...
OKAY [ 1.219s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.234s
Then i tried to relock bootloader but i have no Key. And i had not unlocked my Phone with a key....... whats wrong
Click to expand...
Click to collapse
your system partition is corrupted,
Extract system.img from B560 firmware,
Flash system.img
hopefully it will be ok
Sorry for that late Post it helped. THX

Flash TWRP into eRecovery with Oreo

My phone is a MHA-L29 C432 B368. Is there a way to flash TWRP into the eRecovery partition (recovery2)?
When I try it, I either get "partition length get error" or "Command not allowed"
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash erecovery_ramdisk TWRP_3.2.1-0_OREO_V3.img
target reported max download size of 471859200 bytes
sending 'erecovery_ramdisk' (16506 KB)...
OKAY [ 0.362s]
writing 'erecovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.375s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery2_ramdisk TWRP_3.2.1-0_OREO_V3.img
target reported max download size of 471859200 bytes
sending 'recovery2_ramdisk' (16506 KB)...
OKAY [ 0.361s]
writing 'recovery2_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 0.374s

Can't boot anymore on TWRP

Hello everyone !
I was trying to put a LineageOS on my OP7P with this rom.
I unlocked the bootloader, boot onto the TWRP image (this one), flashed the ROM and then I got into troubles.
When I flashed the ROM, I didn't see any "go back" button, so I just pressed the "reboot system" one.
I came back to recovery, only of course to see that I have the "basic" recovery menu. So I got into the bootloader mode and tried to fix this, nothing I did fixed it...
I tried and got :
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrpop7pro.img
downloading 'boot.img'...
OKAY [ 0.692s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.692s
I have no idea why is it not working. I tried the fastboot oem unlock, but it tells me it's already unlocked.
Then, by seaching, I tried but got this :
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.3.1-74-guacamole-unified-installer-mauronofrio.zip
target reported max download size of 805306368 bytes
sending 'recovery' (17872 KB)...
OKAY [ 0.389s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 0.405s
Which seemed logical to me as the OP7P has 2 slots, but when I searched alternative to this answer it only brought me back to the first answer.
So now I don't know what to do to boot again on a TWRP and fix all this. Thankfully, I can boot on my main system and my LineageOS is working. But I still want to root it with Magisk and use the NanoDroid installer.
Anyway, if anyone here has any idea to help me, I would be very grateful

Help in TWRP Install

Hi,
I was trying to install TWRP but I keep getting the same error all the time.
Someone please help me.
Any suggestions?
My Tablet is not rooted yet also do I need to do a bootloader unlock or not?
If yes any useful links? Im so stuck I wanna install 7.1 to my Tablet.
Im still using JB android official by Asus.
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -i 0x0B05 flash recovery "C:\twrp.img"
target didn't report max-download-size
sending 'recovery' (7126 KB)...
OKAY [ 1.285s]
writing 'recovery'...
FAILED (remote: (InvalidState))
finished. total time: 4.382s
Hi, you could try flashing with the executables from my pack: https://forum.xda-developers.com/t/...0t-any-version-to-android-7-1-nougat.3554744/

Categories

Resources