Flash TWRP into eRecovery with Oreo - Huawei Mate 9 Questions & Answers

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

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.

Locking Moto G LTE 4G XT1039 Bootloader

I Have try to unlock my phone bootloader...
But i decide to Relock it...
(Firmware XT1039_RETAIL-BR-EU-SS_4.4.4_KXB21.14-L1.56-1_cid12_CFC_1FF)
I got a comand like this:
"fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem lock"
(Using The Minimal ADB and Fastboot)
(My Device firmware have 4 System IMG Spacechunks.)
Log:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash motoboot motoboot
.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.164s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.297s]
finished. total time: 1.461s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.141s]
writing 'logo'...
OKAY [ 0.141s]
finished. total time: 0.281s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.422s]
writing 'boot'...
OKAY [ 1.022s]
finished. total time: 1.443s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.422s]
writing 'recovery'...
OKAY [ 1.022s]
finished. total time: 1.444s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (248267 KB)...
OKAY [ 7.931s]
writing 'system'...
OKAY [ 17.454s]
finished. total time: 25.384s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (248994 KB)...
OKAY [ 7.935s]
writing 'system'...
OKAY [ 15.417s]
finished. total time: 23.353s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (257391 KB)...
OKAY [ 8.205s]
writing 'system'...
OKAY [ 16.311s]
finished. total time: 24.518s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (20588 KB)...
OKAY [ 0.742s]
writing 'system'...
OKAY [ 13.748s]
finished. total time: 14.492s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bi
n
target reported max download size of 536870912 bytes
sending 'modem' (59132 KB)...
OKAY [ 1.949s]
writing 'modem'...
OKAY [ 2.892s]
finished. total time: 4.842s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.071s]
finished. total time: 0.073s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.067s]
finished. total time: 0.068s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (710 KB)...
OKAY [ 0.123s]
writing 'fsg'...
OKAY [ 5.347s]
finished. total time: 5.471s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
erasing 'cache'...
OKAY [ 0.113s]
finished. total time: 0.114s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.288s]
finished. total time: 0.289s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
...
FAILED (status read failed (Too many links))
finished. total time: 17.622s
But OEM Lock says "Too many Links"
(The device Says "Locked", and restarted, and boot propely)
I Checked in Fastboot
Says "Device is LOCKED. Status Code: 2
Is really Locked?
Didn't see something abnormal here. The "too many links" errors are normal, I've relocked a 2 gen moto g with this tool and everything worked fine.

Moto G xt1032 CM12.1 Downgrade

Hello!
Because I was not sure what is right procedure first I've downgraded moto G from CM12.1 to stock 4.4.4 rom using mfastboot, and then installed 5.0.2. stock rom via mfastboot, and now I'm stuck at warning bootloader unlocked. So if some one can help what to do to get rid of that logo and install stock rom on my moto G.
Thnx.
njofra13 said:
Hello!
Because I was not sure what is right procedure first I've downgraded moto G from CM12.1 to stock 4.4.4 rom using mfastboot, and then installed 5.0.2. stock rom via mfastboot, and now I'm stuck at warning bootloader unlocked. So if some one can help what to do to get rid of that logo and install stock rom on my moto G.
Thnx.
Click to expand...
Click to collapse
Did you flash all the system.img_sparsechunk? From 0 to 3
Yes I did but having no more idea what to do.
njofra13 said:
Yes I did but having no more idea what to do.
Click to expand...
Click to collapse
Check the names, because sometimes they are named system.img_sparsechunk.0, for example, and sometimes system.img_sparsechunk0. You must check that the name that you flash is the exact name of the four files.
The names are ok.
Here are commands for fastboot:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Maybe in here I'm doing something wrong. Also I've managed to install twrp recovery , can this help me?
njofra13 said:
The names are ok.
Here are commands for fastboot:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Maybe in here I'm doing something wrong. Also I've managed to install twrp recovery , can this help me?
Click to expand...
Click to collapse
You should flash system.img_sparsechunk.3 too
Here is paste of my screen after running all commands:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.030s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.338s]
finished. total time: 0.373s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.107s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.125s]
finished. total time: 1.239s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (295 KB)...
OKAY [ 0.073s]
writing 'logo'...
OKAY [ 0.115s]
finished. total time: 0.195s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.392s]
writing 'boot'...
OKAY [ 0.945s]
finished. total time: 1.342s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.408s]
writing 'recovery'...
OKAY [ 0.963s]
finished. total time: 1.378s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.213s]
sending 'system' (257879 KB)...
OKAY [ 8.120s]
writing 'system'...
OKAY [ 16.004s]
finished. total time: 24.358s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.324s]
sending 'system' (256770 KB)...
OKAY [ 8.080s]
writing 'system'...
OKAY [ 16.418s]
finished. total time: 24.828s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.300s]
sending 'system' (260106 KB)...
OKAY [ 8.187s]
writing 'system'...
OKAY [ 16.698s]
finished. total time: 25.191s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.334s]
sending 'system' (159536 KB)...
OKAY [ 5.047s]
writing 'system'...
OKAY [ 11.366s]
finished. total time: 16.755s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (49356 KB)...
OKAY [ 1.595s]
writing 'modem'...
OKAY [ 2.412s]
finished. total time: 4.014s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.070s]
finished. total time: 0.073s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.085s]
finished. total time: 0.089s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.093s]
writing 'fsg'...
OKAY [ 5.312s]
finished. total time: 5.410s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.132s]
finished. total time: 0.132s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.290s]
finished. total time: 0.293s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
rebooting...
finished. total time: 0.002s
Still stuck on warning bootloader unlocked ....
njofra13 said:
Here is paste of my screen after running all commands:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.030s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.338s]
finished. total time: 0.373s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.107s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.125s]
finished. total time: 1.239s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (295 KB)...
OKAY [ 0.073s]
writing 'logo'...
OKAY [ 0.115s]
finished. total time: 0.195s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.392s]
writing 'boot'...
OKAY [ 0.945s]
finished. total time: 1.342s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.408s]
writing 'recovery'...
OKAY [ 0.963s]
finished. total time: 1.378s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.213s]
sending 'system' (257879 KB)...
OKAY [ 8.120s]
writing 'system'...
OKAY [ 16.004s]
finished. total time: 24.358s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.324s]
sending 'system' (256770 KB)...
OKAY [ 8.080s]
writing 'system'...
OKAY [ 16.418s]
finished. total time: 24.828s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.300s]
sending 'system' (260106 KB)...
OKAY [ 8.187s]
writing 'system'...
OKAY [ 16.698s]
finished. total time: 25.191s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.334s]
sending 'system' (159536 KB)...
OKAY [ 5.047s]
writing 'system'...
OKAY [ 11.366s]
finished. total time: 16.755s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (49356 KB)...
OKAY [ 1.595s]
writing 'modem'...
OKAY [ 2.412s]
finished. total time: 4.014s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.070s]
finished. total time: 0.073s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.085s]
finished. total time: 0.089s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.093s]
writing 'fsg'...
OKAY [ 5.312s]
finished. total time: 5.410s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.132s]
finished. total time: 0.132s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.290s]
finished. total time: 0.293s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
rebooting...
finished. total time: 0.002s
Still stuck on warning bootloader unlocked ....
Click to expand...
Click to collapse
Try to download mfastboot and use it instead of fastboot
That was the problem .... Thank you for all help ....

Bricked Nvida Sheild...Need Help

When I turn on my device it just shwos the nvida sheild logo on the screen.
EDIT: Can someone link me to a stock ROM? I'm able to boot into CWM recovery, and now just need a ROM to flash.
Thanks to anyone that can help!
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Owner>cd \
C:\>fastboot flash recovery recovery.img
sending 'recovery' (6092 KB)...
FAILED (command write failed (No such device or address))
finished. total time: 0.002s
C:\>adb devices
List of devices attached
C:\>fastboot flash boot boot.img
target reported max download size of 643825664 bytes
sending 'boot' (5594 KB)...
OKAY [ 0.183s]
writing 'boot'...
OKAY [ 0.196s]
finished. total time: 0.379s
C:\>fastboot flash system system.img
target reported max download size of 643825664 bytes
erasing 'system'...
OKAY [ 0.036s]
sending sparse 'system' (627471 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 2.612s
C:\>fastboot flash userdata userdata.img
sending 'userdata' (769875 KB)...
FAILED (remote: (Timeout))
finished. total time: 1.678s
C:\>fastboot flash staging blob
sending 'staging' (4443 KB)...
FAILED (remote: (Timeout))
finished. total time: 2.029s
C:\>fastboot flash dtb tegra114-roth.dtb
(bootloader) Received Data of Bad Length.
target reported max download size of 643825664 bytes
sending 'dtb' (0 KB)...
OKAY [ 0.017s]
writing 'dtb'...
OKAY [ 0.020s]
finished. total time: 0.038s
C:\>a. fastboot reboot
'a.' is not recognized as an internal or external command,
operable program or batch file.
C:\>fastboot reboot
rebooting...
finished. total time: 0.020s
C:\>
EDIT 2
When I try to flash a stock rom from Nvida's site, I always get a failed error message.

Question failed to flash anything

hello,
i'm trying to flash dtbo image and that vendor image and even the recovery but it hits me woth this error!
if someone could hjelp me would be appericiated.
yes i have unlocked everything.
Thanks in advance!!!
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dtbo "C:\Users\Rollin'\Downloads\Compressed\dtbo.img"
target reported max download size of 805306368 bytes
sending 'dtboa' (24576 KB)...
OKAY [ 0.658s]
writing 'dtboa'...
(bootloader) Invalid partition name dtboa
FAILED (remote failure)
finished. total time: 0.735s
Walther6 said:
hello,
i'm trying to flash dtbo image and that vendor image and even the recovery but it hits me woth this error!
if someone could hjelp me would be appericiated.
yes i have unlocked everything.
Thanks in advance!!!
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dtbo "C:\Users\Rollin'\Downloads\Compressed\dtbo.img"
target reported max download size of 805306368 bytes
sending 'dtboa' (24576 KB)...
OKAY [ 0.658s]
writing 'dtboa'...
(bootloader) Invalid partition name dtboa
FAILED (remote failure)
finished. total time: 0.735s
Click to expand...
Click to collapse
Look at this post and the answer below it. Let me know if you have any questions!

Categories

Resources