Bootloader err command error

target rom version: 6.20.654.3 found large-zip header, file count: 6 processing file 1/6... sending 'zip' (55251 KB)... OKAY [ 3.307s] writing 'zip'...

htc m8 whl . (bootloader) [ERR] Command error !!!

target rom version: 6.20.654.3
found large-zip header, file count: 6
processing file 1/6…
sending ‘zip’ (55251 KB)…
OKAY [ 3.307s]
writing ‘zip’…
(bootloader) rom parsing start …
(bootloader) rom parsing finish …
(bootloader) zip header checking…
(bootloader) zip info parsing…
(bootloader) checking model ID…
(bootloader) checking custom ID…
Processing [hboot], please wait…
(bootloader) total_image_number=18

Processing [sp1], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=0

Processing [tz], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=1

Processing [rpm], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=2

Processing [adsp], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=3

Processing [pg2fs_spcustom], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=4

Processing [wcnss], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=5

Processing [tp], please wait…
(bootloader) ….. Bypassed
(bootloader) current_image_number=6

Processing [tp], please wait…
(bootloader) ….. Bypassed
(bootloader) current_image_number=7

Processing [sensor_hub], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=8

Processing [sdi], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=9

Processing [sbl1], please wait…
(bootloader) signature checking…
(bootloader) verified fail
(bootloader) ….. Bypassed
(bootloader) current_image_number=10

Processing [sbl1], please wait…
(bootloader) signature checking…
(bootloader) …… Successful
(bootloader) current_image_number=11

Processing [sbl1], please wait…
(bootloader) signature checking…
(bootloader) verified fail
(bootloader) ….. Bypassed
(bootloader) current_image_number=12

Processing [hboot], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=13

Processing [recovery], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=14

Processing [boot], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=15

Processing [radio], please wait…
(bootloader) trying to rename MBA
(bootloader) …… Successful
(bootloader) current_image_number=16

Processing [rcdata], please wait…
(bootloader) …… Successful
(bootloader) current_image_number=17

OKAY [ 63.289s]
finished. total time: 66.597s
processing file 2/6…
sending ‘zip’ (532838 KB)…
OKAY [ 22.543s]
writing ‘zip’…
(bootloader) rom parsing start …
(bootloader) rom parsing finish …
(bootloader) zip header checking…
(bootloader) zip info parsing…
(bootloader) checking model ID…
(bootloader) checking custom ID…
(bootloader) total_image_number=1

Processing [system], please wait…
(bootloader) …… Failed
(bootloader) current_image_number=0

FAILED (remote: 53 image unzipping fail)
finished. total time: 25.772s
HBoot pre-update sequence
Flash process completed.
Flash not successfull, reboot will not be done


  • #1

Ни как не выходит разблокировать загрузчик( До этого телефон просто перезагрузился,и теперь в постояном фастбуте. Даже лого HTC нет(
Посоветывали прошить,НА разблокировки загрузчика застрял…
1. установить и после обновить HTC sync HTC Sync
2.Создаёте новую папку в корне диска С, называете Android
3.Идёте сюда

купить чтобы получить доступ к скрытому контенту.

и выбираете «All Other Supported Models» и «then begin unlock bootloader» регистрация(быстрее и лучше с почтового ящика …@gmail.com) и аккаунт надо сделать
4.Yes, Tick both Boxes, Proceed ставите обе галочки,ссоглашаясь. Далее все понятно из инструкции сайта.
5. Перейдите в режим fastboot(выключите телефон нажав на кнопку питания и удерживая пока он не отключиться, затем отпускаем питание и сразу жмем громкость вниз(-) (удерживаем пока не попадете в бутлоадер, теперь подсоедините телефон к компьютеру
6.выбираете fastboot кнопками громкости +/- и нажмите питание
7.Откройте командную строку .
(windows XP — ПУСК > Run > type CMD in box then press OK
(Windows 7 — ПУСК > введите CMD в найти и нажмите Enter)
8.в командной строке вводим CD C:Android
9.затем вводим fastboot oem get_identifier_token
10.выбирете и скопируйте текст как показано в шаге 9 на сайте HTCDev(кнопкой мыши пометить-выделить нужной-энтэр-вставить)
11.вставьте полученный идентификатор в предложенное поле и подтвердите нажав submit
12. очень быстро на ваш почтовый ящик указанный при регистрации будет выслан файл «Unlock_code.bin»
13.скачайте его и сохраните в нашей папке Android
14. введите это fastboot flash unlocktoken Unlock_code.bin в командную строку
15.дисплей на телефоне изменится, нажмите Vol + и подтвердите кнопкой питания.
Делаю все по инструкции…Но телефон ни как не реагирует .пункт 15.
говорят чип emmc накрылся((
fastboot oem rebootRUU после вода этой команды выскакивает:
(bootloader) [ERR] Cmd18 polling status timed out, MCI_STATUS: 0x4C2000
(bootloader) [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [SD_HW_ERR] read data fail in CMD18
(bootloader) CMD18: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(876): error 2
(bootloader) Start Verify: 3
(bootloader) [ERR] Cmd25 polling status timed out, MCI_STATUS: 0x4C0000
(bootloader) [ERR] sdcc_command: sdcc_poll_status error, rc: 2
OKAY [ 0.066s]

Последнее редактирование: 5/1/15

Some tools require you to enable Diag connection mode in order to fix null / invalid IMEI or flash QCN / EFS. This guide will explain how to enable Diagnostic Mode (Diag Mode) on an Android phone.

Requirements

  • Enable USB Debugging on the phone
  • Setup ADB on the PC
  • Root the phone (you could use Magisk )
  • Install Qualcomm USB drivers
  • Install Qualcomm Diag QD Loader driver @ [ Login / Register to download free]

Steps to enable Diag Mode

Follow the steps below to enable Diagnostic mode (Diag) on an android device

See the video below or @ https://youtu.be/_bEWuzfO2Aw

Connect the phone to the PC (via a USB cable) while powered on. Launch and run the following commands in adb:

Code:

adb devices
adb shell
su
setprop sys.usb.config diag,adb

[Image: How-to-enable-and-disable-Diag-Mode.jpg]

ADB command to boot into Qualcomm Android Diag Mode

Steps to disable Diag Mode

Follow the steps below to disable Diagnostic (diag) mode on an android device

Launch and run the following commands in adb:

Code:

adb devices
adb shell
su
setprop sys.usb.config mtp,adb

on some devices like Sony Xperia, try

Code:

setprop sys.usb.configfs 1
setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb
setprop sys.usb.config diag,serial_cdev,rmnet,adb
setprop sys.usb.ffs.ready 1

Important Notice

  • Enabling Diag mode means you might be looking to make a modification to your device. Its recommended you backup your firmware before making any modification in case it gets bricked
  • Upon your first attempt at gaining root shell access, your phone might prompt you whether or not to grant ADB root access so ensure to keep an eye on your phone (remove lock screen)
  • Some phone might use USSD code to enable Diag mode without root access. e.g Infinix X623 uses ####8789# . You can search online for any such USSD code for your device model
  • Some boxes / dongles have the boot into Diag Mode feature

Video Transcript

Quote:In this video tutorial, I’ll be explaining how to enable and disable Diag mode or diagnostic mode on a Qualcomm Android device using ADB. Diag mode enables you perform advanced functions like writing or restoring qcn, it can also allow you to backup qcn. Writing IMEI etc. For you to enable diag mode, your phone needs to be rooted. We have a guide on how to root using magisk. You also need to have installed your Qualcomm USB drivers. We have a guide on how to do that also. You need to have setup ADB on the PC, we have a guide for that. You need to have the Qualcomm Android device and USB cord.

Now, once you have these in place, you launch device manager and then you leave the phone powered on once in device manager you connect the phone to the PC don’t forget the phone should be powered on and take note of what it gets detected as. I have a detection under Portable Devices (Pi Pro). Now, to enable diag mode, you launch command prompt. This is how I’m going to launch command prompt and then you jump to the adb directory although for some devices / laptops you just hold down shift and then right-click and then select open command prompt but I have power shell here so I’m not going to go through that approach. I don’t have command prompt here so I’m going to go through this method.

Now, I’m going to copy my adb address folder by right-clicking, selecting copy address then come here (to type) cd *space* right-click to paste the address I’m going to run that again… and then I press ENTER so now I’m in ADB directory so I’m going to run this command adb devices to be sure I have a connection so I’ve list of device detected. Now I run adb shell and then su . Now at this point, if you are doing it for the first time, you might get a prompt on your device to either allow ADB or to allow shell root access. Either ways, you grant okay. Now, you’re going to run this command to boot into diag mode. I’ll just copy it here; setprop sys.usb.config diag,adb alright then you tap enter so that is going to enable diag mode.

To confirm, you go back to device manager. Its going to refresh and then you should have an entry like this Qualcomm HS USB Android DIAG 901D so this is your device in diagnostic mode. Now to revert, that is to take the device out of diagnostic mode, you run the same commands if you’re starting afresh but if you are where I am currently, you just paste the same command but instead of diag, you change to mtp. it’s the same command / procedure. The only difference is mtp or diag. Since I’m in diag mode, I want to revert back to the previous setting which was mtp (just change diag to mtp) and tap Enter oh sorry, I have to run the commands afresh so adb devices adb shell su and then I paste the command but change to mtp and then enter so I check device manager again.

I’m good, I have my device detected under portable devices once again so that’s how to enable or disable diag mode or diagnostic mode on a Qualcomm Android device using adb


Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can’t wait.

(This post was last modified: 26-05-2022, 09:06 AM by hovatek.)

https://www.hovatek.com/forum/images/default_avatar.png

Posts: 15
Threads: 1
Joined: Aug 2018

Reputation:
0

Hello!
I’m using HTC Sensation (Android revolution hd custom rum, stock kernel, rooted, s-off, bootloader unlocked). I’ve been trying to open/enable diag ports but when I use those adb commands, nothing happens…
Could you pleae help me out?

Also, not sure if it’s related somehow but: although in bootloader the first top line doesn’t say «locked», but just «-firmware 3.33-» (so bootloader should be unlocked) when I go into fastboot to check bootloader status by using command:
fastboot oem devices-info

I get this error message:
(bootloader) [ERR] Command error !!!
OKAY [ 0.007s]
finished. total time: 0.007s

Not sure if it’s related with the issue of going into diag mode or edl mode though…

https://www.hovatek.com/forum/uploads/avatars/avatar_1116.jpg?dateline=1444328259

X3non



Recognized Contributor
*****

Posts: 22,062
Threads: 571
Joined: Jul 2014

Reputation:
332

(18-08-2018, 04:04 PM)murch Wrote:  Hello!
I’m using HTC Sensation (Android revolution hd custom rum, stock kernel, rooted, s-off, bootloader unlocked). I’ve been trying to

finished. total time: 0.007s

Not sure if it’s related with the issue of going into diag mode or edl mode though…

when you send the command «adb devices» , does your device get displayed on the list in adb window?
attach a screenshot of any error message you receive

https://www.hovatek.com/forum/images/default_avatar.png

Posts: 15
Threads: 1
Joined: Aug 2018

Reputation:
0

(18-08-2018, 11:44 PM)X3non Wrote:  

(18-08-2018, 04:04 PM)murch Wrote:  Hello!
I’m using HTC Sensation (Android revolution hd custom rum, stock kernel, rooted, s-off, bootloader unlocked). I’ve been trying to

finished. total time: 0.007s

Not sure if it’s related with the issue of going into diag mode or edl mode though…

when you send the command «adb devices» , does your device get displayed on the list in adb window?
attach a screenshot of any error message you receive

Hi X3non, first of all thanks for your feedback!
Yeah I’ve already tried the command adb devices and my phone does get listed in the adb window. Also in fastboot the getvar command works and does return the viarable I’m asking for (or all of them, depending on what I’m inputting as a command)

(This post was last modified: 19-08-2018, 11:17 AM by murch.)

https://www.hovatek.com/forum/uploads/avatars/avatar_1116.jpg?dateline=1444328259

X3non



Recognized Contributor
*****

Posts: 22,062
Threads: 571
Joined: Jul 2014

Reputation:
332

(19-08-2018, 05:18 AM)murch Wrote:  Hi X3non, first of all thanks for your feedback!
Yeah I’ve already tried the command adb devices and my phone does get listed in the adb window. Also in fastboot the getvar command works and does return the viarable I’m asking for (or all of them, depending on what I’m inputting as a command)

now i’m confused
can you properly explain what you meant by «…but when I use those adb commands, nothing happens…»
and attach screenshot where necessary
also i hope you know the phone needs to be rooted before trying this

(This post was last modified: 19-08-2018, 10:24 PM by X3non.)

https://www.hovatek.com/forum/images/default_avatar.png

Posts: 1
Threads: 0
Joined: Mar 2019

Reputation:
0

He meant is edl not diag mode having a little deffirent in edl you can use a spe ialized USB cable to boot into edl mode you can Google it. U can make it manually by your own.

https://www.hovatek.com/forum/images/default_avatar.png

Posts: 2,949
Threads: 3
Joined: May 2014

Reputation:
42

(24-03-2019, 08:33 AM)Yoli Macachor Wrote:  He meant is edl not diag mode having a little deffirent in edl you can use a spe ialized USB cable to boot into edl mode you can Google it. U can make it manually by your own.

edl mode wont do him much good as he’s probably trying to fix imei

https://www.hovatek.com/forum/images/default_avatar.png

Posts: 8
Threads: 1
Joined: Mar 2021

Reputation:
0

Photo 

22-03-2021, 04:25 AM

tried this using ADB and doesnt work for me
phone Xperia Z
bootloader unlocked
rooted
phone recognized by ADB
qualcomm drivers installed
EDL cable doesnt work also

the only way I can get it into EDL mode is via the testpoints and it doesnt stay for long maybe 1 or 2 minutes and then it resets

accidentally damaged boot partition with TWRP trying to flash a recovery.
doesnt really have a separate boot partition.

when fixing this I used the wrong firmware I thought it was c6602 and it was c6603 it downloaded.
phone unbricked but Imei damaged and needs to be fixed just need to get into edl mode and nothing works but testpoint but doesnt stay long enough to work
no errors in ADB

(This post was last modified: 22-03-2021, 04:28 AM by c.wallace129.)

https://www.hovatek.com/forum/uploads/avatars/avatar_1116.jpg?dateline=1444328259

X3non



Recognized Contributor
*****

Posts: 22,062
Threads: 571
Joined: Jul 2014

Reputation:
332

(22-03-2021, 04:25 AM)c.wallace129 Wrote:  
when fixing this I used the wrong firmware I thought it was c6602 and it was c6603 it downloaded.
phone unbricked but Imei damaged and needs to be fixed just need to get into edl mode and nothing works but testpoint but doesnt stay long enough to work
no errors in ADB

is the baseband of the device unknown?
after running the setprop command, is the device detected in device manager?

https://www.hovatek.com/forum/images/default_avatar.png

Posts: 8
Threads: 1
Joined: Mar 2021

Reputation:
0

(22-03-2021, 01:36 PM)X3non Wrote:  

(22-03-2021, 04:25 AM)c.wallace129 Wrote:  
when fixing this I used the wrong firmware I thought it was c6602 and it was c6603 it downloaded.
phone unbricked but Imei damaged and needs to be fixed just need to get into edl mode and nothing works but testpoint but doesnt stay long enough to work
no errors in ADB

is the baseband of the device unknown?
after running the setprop command, is the device detected in device manager?

yes as sonysa107 like before it never changes the only time it changes is when I connect and hold volume down it shows as a somc flash device. the baseband is known
tried edl cable, doesnt work.
I gave up for a while but then firefox deleted my tokens and now I need the number back to access sites with 2 factor id. I only kept the number because so many things are tied to it

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Boostra ошибка при подписании договора
  • Battlefield hardline directx error
  • Battle net ошибка при обработке запроса
  • Battle net код ошибки blzbntbgs80000011
  • Bash last error code

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии