[Q] Help Masters ..please - Desire Q&A, Help & Troubleshooting

Hello all Masters
I own HTC desire C i first did everything correct
with this thread http://forum.xda-developers.com/showthread.php?t=2275761
but there was no google apps and all
so i retried the same procedure with GAAP (Please forgive me i dnt remember)
and got my phone all DEAD
I have given HTC centre they says motherboard is dead u have to spent 5700 rs for the same.
as i can not bare that much money.. hard working guy..
Now
with details of error
****UNLOCKED*****
GOLFU PVT SHIP S-ON RL
HBOOT-1.31.0000
RADIO-1.10.98.15
eMMC-boot
Jul 12 2012,15:44:30
C:\Android>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.31.0000
(bootloader) version-baseband: 1.10.98.15
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.00.720.2
(bootloader) serialno: removed
(bootloader) imei: Removed
(bootloader) product: golfu
(bootloader) platform: HBOOT-7225A
(bootloader) modelid: PL0110000
(bootloader) cidnum: HTC__038
(bootloader) battery-status: good
(bootloader) battery-voltage: 4204mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e118df77
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.020s
I have tried everything as its S-ON so can not got recovery mode
C:\android-sdk\sdk\platform-tools>adb push NaMeLeSsR0m_v7.o.0_HtCDeSiReC.zip /sd
card/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
C:\android-sdk\sdk\platform-tools>adb devices
List of devices attached
C:\android-sdk\sdk\platform-tools>fastboot flash recovery recovery.img
sending 'recovery' (4888 KB)...
OKAY [ 0.855s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 0.932s
C:\Android>fastboot flash recovery recovery.img
sending 'recovery' (4888 KB)...
OKAY [ 0.855s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 0.932s
Nothing works for me please help

C:\android-sdk\sdk\platform-tools>fastboot oem gencheckpt
...
(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(735): error 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(735): error 2
(bootloader) [DISPLAY_ERR] read sp1 partition fail!!!
(bootloader) [SD_HW_ERR] read data fail in CMD17
(bootloader) CMD17: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(735): error 2
(bootloader) [SD_HW_ERR] read data fail in CMD17
(bootloader) CMD17: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(735): error 2
(bootloader) [ERR] Boot/Recovery image does not exist!!!
OKAY [ 0.403s]
finished. total time: 0.403s
C:\Android>fastboot oem gencheckpt
...
(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(735): error 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(735): error 2
(bootloader) [DISPLAY_ERR] read sp1 partition fail!!!
(bootloader) [SD_HW_ERR] read data fail in CMD17
(bootloader) CMD17: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(735): error 2
(bootloader) [SD_HW_ERR] read data fail in CMD17
(bootloader) CMD17: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(735): error 2
(bootloader) [ERR] Boot/Recovery image does not exist!!!
OKAY [ 0.403s]
finished. total time: 0.403s
During this time my Phone goes white with 3 androind cartooons...(

Hello
Can anyone please help...
no reply please help guys

XDA guys
My thread is from tomorrow no reply yet ..
aren't developers and masters care for us..you guys are masters..
thats why i came here
Please help me
reply atleast please

Better to search and then ask here, or in the thread you linked.
Looks like you needed to:
- full wipe
- flash rom
- flash gapps
- flash boot.img manually
If you can't get it to boot, looks like you may need to the correct RUU for your device.

i did everything
As i have posted the details
can you suggest rom and kernel
and steps please

1. Look in the right place...
2. Find a rom which you like, read the features and last few pages of each thread to get an idea potential bugs.
3. Each Rom thread should have the install instructions written on first page. If they don't, search then ask in the thread itself. There are guides everywhere too...

Related

[Q] Unknown command "unlocktoken" and "43 main version check fail"

[Q] Unknown command "unlocktoken" and "43 main version check fail"
Hello,
I try to apply a CustomROM to a Wildfire S. Two years ago I did it with another Wildfire S but the current device doesn't work...
At first some details of the device:
Code:
$ fastboot getvar all
< waiting for device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.09.0099
(bootloader) version-baseband: 7.60.39.12M
(bootloader) version-cpld: None
(bootloader) version-microp: 0451
(bootloader) version-main: 20.26.401.4
(bootloader) serialno: SH26LTR04002
(bootloader) imei: 359144046869429
(bootloader) product: marvel
(bootloader) platform: HBOOT-7227
(bootloader) modelid: PG7610000
(bootloader) cidnum: HTC__E11
(bootloader) battery-status: good
(bootloader) battery-voltage: 3940mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 510e562c
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.005s
I received the unlock token by HTCdev but on flashing a error message appears that the command is unknown.
Code:
$ fastboot flash unlocktoken Unlock_code.bin
< waiting for device >
sending 'unlocktoken' (0 KB)...
FAILED (remote: unknown command)
finished. total time: 0.000s
HBOOT is in version 1.09.0099 - the same as mentioned in RUU "HTC EU". Unfortunally I can't figure out what version of Fastboot I have. So I've tried to flash the newest one.
I downloaded the "HTC EU"-RUU, extracted the rom.zip by executing with wine and tried to flash.
Code:
$ fastboot oem rebootRUU
...
OKAY [ 0.098s]
finished. total time: 0.098s
$ fastboot flash zip rom.zip
sending 'zip' (212 KB)...
OKAY [ 0.513s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
FAILED (remote: 43 main version check fail)
finished. total time: 7.146s
It doesn't will be sucessfull even if I repeat the flash command.
Does anybody know what's going wrong? Am I right that I need to flash the new RUU. Why that doesn't work?
Bye Markus
The execution of the RUU.exe on a fresh installed WinXP showed that there was already a newer version than necessary. The problem was simply the old version of Linux' fastboot binary of Ubuntu's repository. Another old one by my own or the binary of htcdev.com worked fine.

[Kind of Bricked?] Can't flash/recover (Unlocked, S-ON)

Hey.
I'm not exactly an advanced user, much less a pro, but i've done a bit of researching the past 10 hours...
7 months ago, a few weeks after unlocking bootloader and flashing a modified stock rom, phone crashed, stuck forever at htc logo and no OS. Tried to find a fix then, to no avail. And because i hate giving up, i've come to you guys.
fastboot getvar all
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.18.0002
(bootloader) version-baseband: 14.11.36Q4.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: removed, don't really know if it matters if anybody sees this but it's a crazy world out there
(bootloader) imei: same...
(bootloader) meid: 000000000 <---- this was empty and a fastboot oem readmeid displayed the 0s
(bootloader) product: g3u
(bootloader) platform: HBOOT-8225
(bootloader) modelid: 0P6A10000
(bootloader) cidnum: HTC__N34
(bootloader) battery-status: good
(bootloader) battery-voltage: 4200mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e1c32097
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.081s
So, at the moment the phone has an Unlocked bootloader with S-ON still.
Which poses quite a problem since attempting to flash gives me this:
zip:
Code:
C:\Users\Raymond\Desktop>fastboot flash zip 0P6AIMG.ZIP
target reported max download size of 421527552 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
sending sparse 'zip' (411644 KB)...
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
OKAY [ 32.875s]
writing 'zip'...
FAILED (remote: not allowed)
finished. total time: 32.885s
recovery:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot flash recovery recovery.img
target reported max download size of 421527552 bytes
sending 'recovery' (7304 KB)...
OKAY [ 1.295s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 9.563s
Formatting or attempting to erase any of the partitions i should normally be able with an unlocked bootloader give the same FAILED (remote: not allowed) error.
rebootRUU just gives me this:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot oem rebootRUU
...
(bootloader) [SD/EMMC]Error status=0x400008
(bootloader) DATA_TIMEOUT
(bootloader) SD: write failed in CMD25.
OKAY [ 8.299s]
finished. total time: 8.299s
And a fastboot oem lock gives me a nice little WEIRD fail:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot oem lock
...
(bootloader) Lock failed!
FAILED (status read failed (No such file or directory))
finished. total time: 0.459s
Ironically, the following gives ok, but does nothing on the phone, which only freezes and makes fastboot unusable until the battery and cable are removed. If i've understood correctly this was supposed to boot the recovery image without flashing it?
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.293s]
booting...
OKAY [ 0.003s]
finished. total time: 1.301s
The same with some random "fix" i've found around the net (with 77 chrome tabs open at one point):
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot -c "lge.kcal=0|0|0|x" boot recovery.img
downloading 'boot.img'...
OKAY [ 1.253s]
booting...
OKAY [ 0.008s]
finished. total time: 1.282s
Also called HTC in a desperate action about an hour ago, but they're still looking for the frecks they never gave, and want me to pay for it to be serviced. It was a good phone, hence why i want it fixed, but not so good to give another 20€ for them to look at it PLUS who knows how much they will charge me for the mobo. It's just not worth it. Not to mention they're "outsourcing" the technical support to a different company.
Alas, i am being led to believing this might be a fired/not working eMMC? Below is a dump of oem dmesg right after a reboot into hboot and i see some weird errors there as well:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot oem dmesg
...
(bootloader) [0] register_debug_console: new entry ptr=0x5EA00800
(bootloader) [0] -------------------hboot start
(bootloader) [10875] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [10898] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [10921] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [10945] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [10970] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [10995] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [11020] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [11045] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [61228] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [61251] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [61273] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [61295] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [61320] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [61345] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [61368] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [61393] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [72328] [ERR] Cmd5 polling status timed out, MCI_STATUS: 0x0
(bootloader) [72351] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [87043] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x0
(bootloader) [87066] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [141865] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x
(bootloader) 0
(bootloader) [141888] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [196690] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x
(bootloader) 0
(bootloader) [196713] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [251511] [ERR] Cmd55 polling status timed out, MCI_STATUS: 0
(bootloader) x0
(bootloader) [251536] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [356235] sdcc_init_memory_device done
(bootloader) [426948] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [426971] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [426993] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [427015] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [427040] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [427065] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [427090] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [427115] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [427141] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [427163] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [427185] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [427208] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [427231] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [427256] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [427281] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [427306] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [463558] g3u_init PID: 252
(bootloader) [463670] Update EBR
(bootloader) [479501] g3u_gpio_init: PCBID is 128
(bootloader) [483350] config gpio#9 to 0x4 failed!!
(bootloader) [486048] config gpio#14 to 0x0 failed!!
(bootloader) [488816] config gpio#24 to 0x3 failed!!
(bootloader) [506251] config gpio#57 to 0x4 failed!!
(bootloader) [507276] config gpio#58 to 0x4 failed!!
(bootloader) [508301] config gpio#59 to 0x4 failed!!
(bootloader) [516390] config gpio#72 to 0x4 failed!!
(bootloader) [517416] config gpio#73 to 0x4 failed!!
(bootloader) [518440] config gpio#74 to 0x4 failed!!
(bootloader) [519466] config gpio#75 to 0x4 failed!!
(bootloader) [520495] config gpio#77 to 0x4 failed!!
(bootloader) [521521] config gpio#81 to 0x0 failed!!
(bootloader) [526083] config gpio#106 to 0x4 failed!!
(bootloader) [752380] pm_check_power_on_status
(bootloader) [755938] Device CID is not powerkey debounce CID
(bootloader) [761666] register_emmc_cmd for read_mmc command test under
(bootloader) hboot mode.
(bootloader) [765388] Turn ON P/L Sensor and G-Sensor power!
(bootloader) [946558] g3u_init_display
(bootloader) [948183] g3u_panel_detect:, id0=0, id1=1
(bootloader) [950700] Check panel_id = 0x10940083
(bootloader) [1005345] g3u_init_display: Panel ID=0x10940083, type=NAIAD_
(bootloader) AUO_NT
(bootloader) [1288360] mipi_read_back:0 0x21410022
(bootloader) [1290583] mipi_read_back:0 0x2184001D
(bootloader) [1293100] mipi_read_back:0 0x210A002B
(bootloader) [1299956] [DISP] read_smd_display_id: id1= 0x50220041, id2=
(bootloader) 0x501D0084, id3= 0x502B000A
(bootloader) [1302388] [DISP] id3=0xA, eng ID=0x0
(bootloader) [1306468] PANEL_ID_NAIAD_AUO_NT_C2, panel ID=0x12940083
(bootloader) [1308378] mipi_dsi_cmds_tx_ext
(bootloader) [1440201] mipi_dsi_video_config:panel_id=0x10940083
(bootloader) [1442110] width=480 height=800
(bootloader) [1468678] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [1470240] WirelessType = 5
(bootloader) [1471716] Board_PID : 252
(bootloader) [1574610] g3u_nfc_init
(bootloader) [1576243] [BATT] g3u_off_mode_charging_check
(bootloader) [1797648] usb_init_hw: pull up d+
(bootloader) [1827796] [BATT] charigng_type=1
(bootloader) [1828725] [BATT] mbat_in=28
(bootloader) [1831936] Battery voltage = 4200mv, adc=0xD2.
(bootloader) [1834886] [offmode_charge] batt_vol=4200mV
(bootloader) [2020418] g3u_init_backlight
(bootloader) [2021263] mipi_dsi_cmds_tx_ext
(bootloader) [2058463] Read RTC time fail
(bootloader) [2059481] hboot built year: 2013
(bootloader) [2070788] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [2072611] ARM11 Boot Mode: 22
(bootloader) [2074521] Platform: HBOOT-8225
(bootloader) [2078428] [ERR] Boot/Recovery image does not exist!!!
(bootloader) [2419221] g3u_init_backlight
(bootloader) [2420066] mipi_dsi_cmds_tx_ext
(bootloader) [2447193] usb_Vbus 0
(bootloader) [2667841] usb_init_hw: pull low d+
(bootloader) [2697988] usb_check_vbus: pull up d+
(bootloader) [2699953]
(bootloader) ###[ Fastboot Mode ]###
(bootloader) [2703945] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [2705595]
(bootloader) USB_STS_SUSPEND
(bootloader) [2807086]
(bootloader) USB_STS_RESET
(bootloader) [2809386] USB_SPEED_HIGH
(bootloader) [2970158]
(bootloader) USB_STS_RESET
(bootloader) [2972450] USB_SPEED_HIGH
(bootloader) [3209108] usb_setup:DEVICE_WRITE:SET_CONFIGURATION:1
(bootloader) [3210583] Set usb_ats = 0
(bootloader) [10735551] fastboot_command:[oem dmesg]
(bootloader) [10736905] fb_cmd_oem:dmesg
(bootloader) [10741245] register_debug_console: new entry ptr=0x45400000
OKAY [ 0.609s]
finished. total time: 0.611s
I really don't want to toss this jewel to the trashbin or dismantle it for parts.
Thanks a lot in advance,
Raymond.
P.S.: After looking at the errors a bit more i noticed that it's not setting the config:
C:\Users\Raymond\Desktop\Official rom>fastboot oem readconfig
...
(bootloader) Read config
(bootloader) index:0x0, value:0x0
(bootloader) index:0x1, value:0x0
(bootloader) index:0x2, value:0x0
(bootloader) index:0x3, value:0x0
(bootloader) index:0x4, value:0x0
(bootloader) index:0x5, value:0x0
(bootloader) index:0x6, value:0x0
(bootloader) index:0x7, value:0x0
(bootloader) index:0x8, value:0x0
(bootloader) index:0x9, value:0x0
(bootloader) index:0xA, value:0x0
(bootloader) index:0xB, value:0x0
OKAY [ 0.057s]
finished. total time: 0.059s
Click to expand...
Click to collapse
Don't know if it helps...

S-Off on unlocked HTC One M8 without ROM installed

Hi, I have already unlocked my HTC and tested a few ROMs on it, GPE was the last one I had installed and during that install I also set S-ON somehow. Don't ask me how. Maybe I never had S-OFF, but I did install a GPE ROM from this forum on it somehow.
I honestly don't remember the details from then but now I need to restore it back to stock so I can give the phone away to someone who shouldn't have to worry about OTA upgrades not working.
I have TWRP 3.0.0-1 installed, Unlocked bootloader, S-On and no idea of how to proceed. I found links online talking about connecting wires to set S-OFF, is this really necessary? Can it not be done using fastboot and adb?
I tried the correct HTC__Y13 Nandroid backup from this thread here (http://forum.xda-developers.com/showthread.php?t=2701376) but I don't know how to restore it. fastboot flash zip file.zip does not work, in TWRP Install it says the file is corrupt even though md5sum is correct. TWRP Restore doesn't find the zip so I assume it's not for that system.
All these english terms, and guides from 5 years ago are confusing to me, can someone please help me restore my HTC One M8 to factory defaults?
4e03845aeab375746b4553e610047680 /run/media/stemid/EC06-256C/RUU-4.16.401.10-0P6BIMG.zip
https://paste.fedoraproject.org/367177/14634149/ fastboot getvars all output
You need to relock bootloader to install RUU - command fastboot oem lock
What you need : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
and here is the latest Marshmallow stock ROM if you want it, or you can use that 4.16.401.10 RUU you already have ... same procedure :
http://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
swehack said:
I found links online talking about connecting wires to set S-OFF, is this really necessary? Can it not be done using fastboot and adb?
Click to expand...
Click to collapse
S-off isn't needed to return to stock, if that is what you are getting at.
But for the record, NO, s-off can not be done by fastboot/adb. You need a working OS to use the sunshine app ($25) which is the only way to s-off.
swehack said:
I tried the correct HTC__Y13 Nandroid backup from this thread here (http://forum.xda-developers.com/showthread.php?t=2701376) but I don't know how to restore it. fastboot flash zip file.zip does not work, in TWRP Install it says the file is corrupt even though md5sum is correct. TWRP Restore doesn't find the zip so I assume it's not for that system.
Click to expand...
Click to collapse
Its not a flashable zip, you have to unzip the contents, then place the extracted folder in the proper location.
It describes in Post #2 of the collection thread (in the Q&A, second Question), how to restore a backup. Although its a bit brief, and ckpv5's thread gives better step-by-step instructions: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
But the RUU method given by ckpv5 in the last reply, is probably the easier path in your case.
ckpv5 said:
You need to relock bootloader to install RUU - command fastboot oem lock
What you need : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
and here is the latest Marshmallow stock ROM if you want it, or you can use that 4.16.401.10 RUU you already have ... same procedure :
http://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
Click to expand...
Click to collapse
Ok so now I start with an HTC that is RELOCKED, with TWRP installed. I use TWRP to wipe dalvik, cache, data just in case. Software status is modified.
This is the output of fastboot oem lock.
Code:
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [ERR] Cannot halt SPMI arbiter!!
(bootloader) [INFO] Rebooting device
Disable hiding known file extensions in Explorer.exe.
Verify checksum of RUU.zip (469c3b8504ce2a2c8aae0fde17bfe028) and htc_fastboot.exe (7343c5bcec64373f83d69bd074954759) with fciv -md5.
Boot into fastboot.
Check fastboot devices.
Run fastboot oem rebootRUU so it reboots into the silver HTC logo screen
Run htc_fastboot.exe flash zip RUU.zip
Output from htc_fastboot.exe is at first.
Code:
sending 'zip'... (53965 KB) OKAY
sending time = 2.627 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) start image[hboot] flushing...
(bootloader) [RUU]WP,hboot,99
(bootloader) ...... Successful
(bootloader) current_image_number=2
(bootloader) current_image_number=5
(bootloader) current_image_number=7
FAILED (status malformed (0 bytes))
Execution time is 14(s)
I try again and get a longer run.
Code:
sending 'zip'... (53965 KB) OKAY
sending time = 2.625 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) [RUU]UZ,rpm,0
(bootloader) signature checking...
(bootloader) current_image_number=2
(bootloader) [RUU]UZ,adsp,10
(bootloader) [RUU]UZ,adsp,33
(bootloader) [RUU]UZ,adsp,54
(bootloader) [RUU]UZ,adsp,76
(bootloader) [RUU]UZ,adsp,98
(bootloader) [RUU]WP,adsp,0
(bootloader) ...... Successful
(bootloader) start image[pg2fs_spcustom] unzipping & flushing...
(bootloader) [RUU]UZ,pg2fs_spcustom,38
(bootloader) [RUU]UZ,pg2fs_spcustom,100
(bootloader) current_image_number=4
(bootloader) [RUU]UZ,wcnss,22
(bootloader) [RUU]UZ,wcnss,68
(bootloader) [RUU]UZ,wcnss,100
(bootloader) [RUU]WP,wcnss,100
(bootloader) current_image_number=5
(bootloader) [RUU]UZ,tp,100
(bootloader) current_image_number=6
(bootloader) [RUU]UZ,tp,100
(bootloader) current_image_number=7
(bootloader) [RUU]UZ,sensor_hub,100
(bootloader) [RUU]WP,sensor_hub,12
(bootloader) [RUU]WP,sensor_hub,68
(bootloader) [RUU]WP,sensor_hub,92
(bootloader) verified fail
(bootloader) current_image_number=10
(bootloader) ...... Successful
(bootloader) start image[sbl1] unzipping & flushing...
(bootloader) verified fail
(bootloader) current_image_number=12
(bootloader) current_image_number=13
(bootloader) current_image_number=14
(bootloader) ...... Successful
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) current_image_number=16
OKAY
sending 'zip'... (549729 KB) OKAY
sending time = 17.657 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
(bootloader) checking hboot version...
(bootloader) total_image_number=1
(bootloader) start image[system] unzipping & flushing...
(bootloader) [RUU]UZ,system,0
(bootloader) [RUU]UZ,system,8
(bootloader) [RUU]UZ,system,16
(bootloader) [RUU]UZ,system,24
(bootloader) [RUU]UZ,system,32
(bootloader) [RUU]UZ,system,40
(bootloader) [RUU]UZ,system,48
(bootloader) [RUU]UZ,system,56
(bootloader) [RUU]UZ,system,64
(bootloader) [RUU]UZ,system,72
(bootloader) [RUU]UZ,system,80
(bootloader) [RUU]UZ,system,88
(bootloader) [RUU]UZ,system,96
(bootloader) [RUU]UZ,system,100
(bootloader) [RUU]WP,system,0
(bootloader) [RUU]WP,system,8
(bootloader) [RUU]WP,system,16
(bootloader) [RUU]WP,system,24
(bootloader) [RUU]WP,system,32
(bootloader) [RUU]WP,system,40
(bootloader) [RUU]WP,system,48
(bootloader) [RUU]WP,system,56
(bootloader) [RUU]WP,system,64
(bootloader) [RUU]WP,system,72
(bootloader) [RUU]WP,system,80
(bootloader) [RUU]WP,system,88
(bootloader) [RUU]WP,system,96
(bootloader) [RUU]WP,system,100
(bootloader) ...... Successful
(bootloader) current_image_number=0
After that it just hangs and nothing happens, on the HTC screen I see the silver logo with a full green progress bar under it.
The first time I came here I tried to issue fastboot reboot in another terminal but that gave me the following text from htc_fastboot.
Code:
FAILED (status malformed (0 bytes))
Execution time is 261(s)
So this time I'm just waiting to see if anything else happens, only a few minutes so far.
It looks weird the size of RUU you flashed is 53965 KB
Are you sure you tried to install the correct one in your folder ?
Make sure you have one zip only. I've seen people trying to flash RUU but instead flashing unsigned firmware.
You also can try flashing with microSD method.
ckpv5 said:
It looks weird the size of RUU you flashed is 53965 KB
Are you sure you tried to install the correct one in your folder ?
Make sure you have one zip only. I've seen people trying to flash RUU but instead flashing unsigned firmware.
You also can try flashing with microSD method.
Click to expand...
Click to collapse
It eventually worked, the sizes were correct but htc_flashboot.exe went through several iterations of "sending 'zip'... (some size KB) OKAY" before it finally exited with this.
Code:
Flash Zip Complete
Execution time is 358(s)
I had a Fedora laptop with Windows in a VM before but I tried it at home with my desktop Windows system, natively, and then it worked much better. I think the USB connection between the VM and the host is unreliable.
Yeah.. I notice that too because today I did fastboot flash rom.zip
Great that you solved your problem

HTC Desire 300 Bootloader loop or Freeze on logo with 7 vibrations

Hello as in topic.
I cant fix this. When i turn the phone on there's logo and 7 vibrations and phone hangs out.
If I use VOL DOWN + POWER and run Fastboot phone is recognized by windows and cmd fastboot but when I go to Bootloader phone is not recognized (USB enumeration failed).
I have tried to upload a recovery with fastboot and to unblock bootloader by HTC Dev website (other devices) when I try to use .bin file there's Question If I want to unlock bootloader I can choose yes but when I use POWER nothing happens. Same with commands fastboot oem unlock / fastboot oem lock (there's only 3 dots . . . and nothing happens).
There's no code for this but I get signature verification failed response when I am trying to flash recovery.img. Without this I can't probably use TRWM or Clockwork recovery.
Code:
D:\HTC>fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.014s]
finished. total time: 0.016s
D:\HTC>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 421527552 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.136s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.014s]
finished. total time: 0.151s
D:\HTC>fastboot oem unlock
...
^C
D:\HTC>fastboot oem lock
...
^C
D:\HTC>fastboot reboot-bootloader
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 5.004s
D:\HTC>fastboot reboot
rebooting...
finished. total time: 5.002s
D:\HTC>fastboot oem get_identifier_token
...
(bootloader)
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 95B4C9068DC4D238C16CFFEB651A3899
(bootloader) 0B4F6B59C898234A372EF4432BE26F22
(bootloader) EE6A90CFDDF2C11F0EB32E26F112D1FA
(bootloader) F697601F1BC1A3D2781354C95CD2A39D
(bootloader) 4CD430F9251AC39650F38490738A1285
(bootloader) D75226FDFFC8D58A811F0EBB4C8FA00E
(bootloader) 225C951BFB1C5E06E86410BBAECA8EC5
(bootloader) 001071667674F9A8CB2D1DB3542FD922
(bootloader) 7DBAA091B3C105AE4DCD4A9EB3F37205
(bootloader) 1E52BF88AA1C62314DECCD1912B8D129
(bootloader) EE0445CAAE290F127E0B52768904A1AA
(bootloader) 79249B2311ADEB07AF838F504AC9E698
(bootloader) 36261A6E05E3E5E37068C6A2932BCDF1
(bootloader) 17B38436DE331A780F5CAF18F841805D
(bootloader) 55A18A2733ED627B2F61532D48E51E14
(bootloader) A59C3C02EEB4A79949B787AE059AB070
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [ 0.098s]
finished. total time: 0.099s
D:\HTC>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.18.0002
(bootloader) version-baseband: 14.11.36Q4.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.10.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT43HWL01784
(bootloader) imei: 35828xxxxxxxxx
(bootloader) meid:
(bootloader) product: g3u
(bootloader) platform: HBOOT-8225
(bootloader) modelid: 0P6A10000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4060mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e1c32097
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.077s

Is this eMMC bricked?

I have been given a 32gb us model which is stuck in bootloader i have tried everything and all fails.
Code:
fastboot getvar all
Code:
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT43SWM00546
(bootloader) imei: 35
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: -0.000s
htc_fastboot finished. total time: 0.047s
Unable to lock the boot loader to try flash RUU
Code:
fastboot oem lock
Code:
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Reading block @ 2082
(bootloader) [SD_ERR] sd_read_sector: read sector failed (2082 2)
(bootloader) [PG_ERROR] htc_pg_hdr_get(118):
(bootloader) sd_read_sector error
(bootloader) [PG_ERROR] htc_pg_part_hdr_get(170):
(bootloader) htc_pg_hdr_get failed
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Reading block @ 262656
(bootloader) [SD_ERR] sd_read_sector: read sector failed (262656 2)
(bootloader) [PG_ERROR] htc_pg_hdr_get(118):
(bootloader) sd_read_sector error
(bootloader) [PG_ERROR] htc_pg_part_hdr_get(170):
(bootloader) htc_pg_hdr_get failed
(bootloader) Update pg2fs_sec_recovery fail (-1)
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure: cmd_id =
0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure: cmd_id =
0, error
(bootloader) = 4
(bootloader) [ERR] Cannot halt SPMI arbiter!!
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 11.170s
htc_fastboot finished. total time: 11.232s
Is it worth trying anything else?
Try to flash this ruu with unlocked bootloader, I'm not sure It'll work but I think you have the developer edition which comes with an unlocked bootloader.
https://androidfilehost.com/?fid=24269982087015187
lucyr03 said:
Try to flash this ruu with unlocked bootloader, I'm not sure It'll work but I think you have the developer edition which comes with an unlocked bootloader.
https://androidfilehost.com/?fid=24269982087015187
Click to expand...
Click to collapse
The RUU exe file runs for a second i then accept the eula, After that nothing happens. The phone is connected to my pc also via fastboot usb.
David_UK said:
The RUU exe file runs for a second i then accept the eula, After that nothing happens. The phone is connected to my pc also via fastboot usb.
Click to expand...
Click to collapse
Get the ROM.zip from the exe and flash it by htc_fastboot.exe
lucyr03 said:
Get the ROM.zip from the exe and flash it by htc_fastboot.exe
Click to expand...
Click to collapse
Unable to flash
Code:
fastboot oem rebootRUU
Code:
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot oem rebootRUU
...
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Reading block @ 786432
(bootloader) [SD_ERR] sd_read_sector: read sector failed (786432 256)
(bootloader) [ERR] partition_read_emmc(589): error -1
(bootloader) Start Verify: 3
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Writing block @ 786432
(bootloader) [SD_ERR] sd_write_sector: write sector failed (786432 256)
OKAY [ 10.041s]
finished. total time: 10.041s
htc_fastboot finished. total time: 10.096s
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>
Also unable to flash twrp
Code:
fastboot flash recovery twrp-3.2.1-0-m8.img
Code:
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot flash recovery twr
p-3.2.1-0-m8.img
htc_fastboot v3.0.9.2 (2015-05-29)
sending 'recovery' (20298 KB)...
OKAY [ 2.437s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 12.539s
htc_fastboot finished. total time: 12.609s
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>
I think its F***ed
Yeah, it seems like a dead nand.
David_UK said:
i have tried everything and all fails.
Click to expand...
Click to collapse
This statement doesn't tell us anything. It's worth listing the things you tried to flash, and the specific results for each. Otherwise, we waste your time and ours, as we guess or assume what you tried and didn't try.
Did you try to flash custom recovery TWRP? If so, which version number? Did you get an error message, or what was the failure mode or other results?
redpoint73 said:
This statement doesn't tell us anything. It's worth listing the things you tried to flash, and the specific results for each. Otherwise, we waste your time and ours, as we guess or assume what you tried and didn't try.
Did you try to flash custom recovery TWRP? If so, which version number? Did you get an error message, or what was the failure mode or other results?
Click to expand...
Click to collapse
I flashed twrp 3.2.1-0 this was the output
Code:
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot flash recovery twr
p-3.2.1-0-m8.img
htc_fastboot v3.0.9.2 (2015-05-29)
sending 'recovery' (20298 KB)...
OKAY [ 2.437s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 12.539s
htc_fastboot finished. total time: 12.609s
I haven't tried an ruu zip from sd card yet as i don't know which one to flash
I just tried ruu from sdcard and this is the result
David_UK said:
I haven't tried an ruu zip from sd card yet as i don't know which one to flash
Click to expand...
Click to collapse
The RUU which corresponds with your current firmware number (main version in getvar: 6.12.401.4) is here:
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
You can try to flash using htc_fastboot per the instructions, or SD card method.
If you can't get the RUU to work, relock the bootloader, or flash TWRP, I agree that it's probably emmc failure.
Help me please.
Help me please. Is this also a brick?
Code:
fastboot getvar all
Code:
C:\Users\Алекс>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH***
(bootloader) imei: 35***
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Finished. Total time: 0.031s
Unable to lock the boot loader to try flash RUU
Code:
fastboot oem lock
Code:
C:\Users\Алекс>fastboot oem lock
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure:
cmd_id = 0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure:
cmd_id = 0, error
(bootloader) = 4
(bootloader) [ERR] Cannot halt SPMI arbiter!!
(bootloader) [INFO] Rebooting device
FAILED (Status read failed (Unknown error))
Finished. Total time: 1.252s
Is it worth trying anything else?
Alex IvanoVVV said:
Help me please. Is this also a brick?
Click to expand...
Click to collapse
Please don't post same question to multiple threads. It is against forum rules to do so, as it clutters up the forum, and makes it very confusing for those trying to help you.
I've tried to help you in one of the 3 threads you posted in. So go look for it (now you see one of the reasons why cross posting is not a good idea?).

Categories

Resources