C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.002s]
finished. total time: 0.003s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery G:\recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (26708 KB)...
OKAY [ 0.813s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.813s
(yes, the recovery.img is at disk G)
Try fastboot oem device-info
Sent from my Redmi Note 3 Pro using Tapatalk
Related
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>
After Huawei logo I have a black screen and unbale to Boot/access Recovery.
Code:
C:\adb tools>fastboot devices
К fastboot
C:\adb tools>fastboot oem get-bootinfo
...
(bootloader) locked
OKAY [ 0.016s]
finished. total time: 0.016s
C:\adb tools>fastboot oem unlock UUUUUUUUUUUUUUUU
...
FAILED (remote: password wrong)
finished. total time: -0.000s
Code:
C:\adb tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.004s]
finished. total time: 0.005s
C:\adb tools>fastboot flash BOOT BOOT.img
target reported max download size of 1073741824 bytes
sending 'BOOT' (6538 KB)...
OKAY [ 0.259s]
writing 'BOOT'...
FAILED (remote: Command not allowed)
finished. total time: 0.265s
C:\adb tools>fastboot flash RECOVERY RECOVERY.img
target reported max download size of 1073741824 bytes
sending 'RECOVERY' (9490 KB)...
OKAY [ 0.376s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.383s
Code:
C:\adb tools>fastboot oem unlock
...
FAILED (remote: data parse fail)
finished. total time: 0.004s
Fastboot mode is working but i can not get into recovery.
When try to power on it : Appears Huawei Logo and indicator works like this: one time flashing red, then flashing green three times after the red again, etc. After all this - a black screen with the backlight.
At this moment i have only fastboot available, what can i do to unbrick the device ?
UPDATE
I bought a code to unlock the bootloader, but it still gives FAILED (remote: password wrong). I am sure that I enter the code correctly!!!
P.S. Sorry for bad English
please help!!!
anrekon10 said:
After Huawei logo I have a black screen and unbale to Boot/access Recovery.
Code:
C:\adb tools>fastboot devices
К fastboot
C:\adb tools>fastboot oem get-bootinfo
...
(bootloader) locked
OKAY [ 0.016s]
finished. total time: 0.016s
C:\adb tools>fastboot oem unlock UUUUUUUUUUUUUUUU
...
FAILED (remote: password wrong)
finished. total time: -0.000s
Code:
C:\adb tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.004s]
finished. total time: 0.005s
C:\adb tools>fastboot flash BOOT BOOT.img
target reported max download size of 1073741824 bytes
sending 'BOOT' (6538 KB)...
OKAY [ 0.259s]
writing 'BOOT'...
FAILED (remote: Command not allowed)
finished. total time: 0.265s
C:\adb tools>fastboot flash RECOVERY RECOVERY.img
target reported max download size of 1073741824 bytes
sending 'RECOVERY' (9490 KB)...
OKAY [ 0.376s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.383s
Code:
C:\adb tools>fastboot oem unlock
...
FAILED (remote: data parse fail)
finished. total time: 0.004s
Fastboot mode is working but i can not get into recovery.
When try to power on it : Appears Huawei Logo and indicator works like this: one time flashing red, then flashing green three times after the red again, etc. After all this - a black screen with the backlight.
At this moment i have only fastboot available, what can i do to unbrick the device ?
UPDATE
I bought a code to unlock the bootloader, but it still gives FAILED (remote: password wrong). I am sure that I enter the code correctly!!!
P.S. Sorry for bad English
Click to expand...
Click to collapse
removing the sd, and cable. and on again. if you do not take it to repair your company ..
How we break
I have a problem which through thorough google searches, I haven't been able to find an answer to. I'm trying to flash a custom recovery onto an LG G5, as probably presumed in the topic name, utilizing fastboot and it never seems to flash so I tried to go into the stock recovery and found that there wasn't a recovery at all. It simply shows the android bot with an open stomach and says no command. How would I go about getting a recovery on it, if at all possible?
Command Prompt Log:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 536870912 bytes
sending 'recovery' (19100 KB)...
OKAY [ 0.721s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.744s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.024s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.759s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.795s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot format recovery
Formatting is not supported for file system with type ''.
Somebody know how to repair dummy partition?
when i try to flash dummy.img give me an error: its a redmi note 3 pro
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dummy dummy.img
target reported max download size of 536870912 bytes
sending 'dummy' (8 KB)...
OKAY [ 0.003s]
writing 'dummy'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.008s
C:\Program Files (x86)\Minimal ADB and Fastboot>
Hello,
Im trying to flash TWRP on my LG G5.
The installation is successful but i cant boot into it.
I already unlocked my Bootloader.
It keeps telling me this:
PS C:\adb> fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (19132 KB)...
OKAY [ 0.443s]
writing 'recovery'...
OKAY [ 0.203s]
finished. total time: 0.646s
PS C:\adb> fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.418s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.449s
When i try to get into recovery with the button method i get the stock recovery.
Pls help...
That means that the bootloader is unlocked right?
PS C:\adb> fastboot getvar unlocked
unlocked: yes
finished. total time: 0.000s