After rooting Failure bootloop continued - HTC Butterfly 3

Before the rooting process , I forgot to unlock the bootloader with the adb command "fastboot oem unlock".
After rooting HTC butterfly 3, it continued the bootloop in the bootloader menu about every 2 to 3 minutes.
And in the bootloader menu, the Reboot to Bootloader, Download Mode, Recovery Mode has the only
effect (when press) reboot to the same menu on the Reboot postion.
I cannot use the download mode or recovery mode to restore my phone
as all the stock roms need Download Mode.
I try to unlock by using the Fastboot command the result as follow.
C:\FBW>fastboot oem unlock
...
FAILED (remote: unknown command)
finished. total time: 0.011s
And "ADB shell" :
C:\FBW>adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
and the Partitions may be corrupted by obseving with the command:
fastboot getvar all and the above error as "device '(null)' not found.
C:\FBW>fastboot getvar all
(bootloader) version: 0.5
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:userdata: 0x5e0000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:system: 0x118000000
(bootloader) serialno: (not shown)
all:
finished. total time: 0.098s
I should be grateful if any Expert could help me to solve this great problem and much appreciated in advance !!

Related

[Q] Help Needed - Currently Bricked HTC One X

Hi guys,
I have had my HTC One X for over a year and love it. (This handset was a warranty replacement by Vodafone as the original failed on me!)
At the weekend the handset crashed (just froze when I had an app open), I left it for a while and then after 5 mins of waiting gave up and did a reset (Volume down and power for 10 seconds).
Since then it has been stuck in a loop with opening to just the bootloader.
It now also turns on as soon as connected to charge! Therefore to get any charge into the handset I am currently running the charging script via ADB:
@echo off
:start
fastboot getvar battery-voltage
fastboot reboot-bootloader
ping /n 6 localhost >nul
goto start​
I have read plenty of pages on here, so know what I should be doing (correct me if I'm wrong):
1. Unlock the Bootloader
2. Flash a recovery eg. Philz
3. Flash new ROM to restore handset to working operation.
I have tired both drivers suggested by people here and drivers from the HTC website both seem to allow my PC to talk to the handset via ADB and Fastboot.
My problem comes in that I cannot unlock the bootloader! I have tried at least 20 times to no avail! I have tried both getting new unlock_code.bin files from HTC to no luck. (One thing I have noted is that every time I get the handset to generate a request code its different, is this normal?)
The process I have tried is:
c:\HTC>fastboot oem get_identifier_token
< waiting for device >
...
(bootloader)
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 303DDCAB51406F1F931ED4544A00A9B7
(bootloader) 4966C26A01612391333D634D8C2CBA43
(bootloader) BD1A476B1E585D2730853858E6F6DCCE
(bootloader) 6DEEAAD33609C7E48D797EA167568BD8
(bootloader) A091C7918DE75D779D788BF3993E619F
(bootloader) 807752099599CBCB640E67D08923B96D
(bootloader) 0A6A491300E5A0FC124B96D3E64ABB8C
(bootloader) 5EA5153F508D3E1811B97009AEF8C3ED
(bootloader) C71064FB168E32A488790B8AD24564D2
(bootloader) ACC9687B30BA30A36B5159DBC6CB212A
(bootloader) 0B531CEADABEBF4037F678554BB77728
(bootloader) 7827B708939010C26F9D28ADC7A07AE0
(bootloader) D95BBDF2C6CB87974DE9591B43542742
(bootloader) 7F57C331BD5C430F6A6AB92E7A2DF33C
(bootloader) 77342BE2DCDD4BBBF991F82F94F14A0F
(bootloader) 1832845D665390C122ECE2C623C7C953
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [ 0.211s]
finished. total time: 0.211s
c:\HTC>fastboot flash unlocktoken unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.009s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
FAILED (status read failed (Too many links))
finished. total time: 6.497s​
Now before the Fastboot says failed on the screen of the device is the accept or decline options (as expected). I choose accept via the volume key and press the powerbutton to select. The phone then restarts. The problem is it remains locked and I cannot flash a new recovery!
If it try I get:
c:\HTC>fastboot flash recovery recovery.img
sending 'recovery' (8050 KB)...
OKAY [ 1.073s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.280s​
Below is the output of getvar all.
c:\HTC>fastboot getvar all
(bootloader) version: 0.5a
(bootloader) version-bootloader: 1.72.0000
(bootloader) version-baseband: 5.1204.164D3.31
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.17.161.2
(bootloader) serialno: MB336W104180
(bootloader) imei: 354461056350438
(bootloader) product: endeavoru
(bootloader) platform: HBOOT-T30S
(bootloader) modelid: PJ4610000
(bootloader) cidnum: VODAP001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3737mV
(bootloader) devpower: 20
(bootloader) partition-layout: None
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: None
(bootloader) hbootpreupdate: 2
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.820s​
Hopefully someone can help me revive it as I would love to get the handset back online!
coulton20 said:
Hi guys,
I have had my HTC One X for over a year and love it. (This handset was a warranty replacement by Vodafone as the original failed on me!)
Hopefully someone can help me revive it as I would love to get the handset back online!
Click to expand...
Click to collapse
Take new unlock tocken code from HTCDEv some time the code not work go again all step and take new unlock code. to flash recovery the phone must be with unlocked bootloader!
Thant said:
Take new unlock tocken code from HTCDEv some time the code not work go again all step and take new unlock code. to flash recovery the phone must be with unlocked bootloader!
Click to expand...
Click to collapse
Hi, yes I have tried getting a new code and it still doesn't work.
coulton20 said:
Hi, yes I have tried getting a new code and it still doesn't work.
Click to expand...
Click to collapse
Are you sere you send the right Unlocktoken to htcdev? If yes I don't have idea what is wrong.

Stuck in Boot Menu - Unable to use RUU or fastboot flash

Backstory
Phone: HTC One M9 - Sprint
About a month ago an OTA update was pushed about. When the phone rebooted, it would repeatedly reboot. Eventually it would come to some screen asking for a PIN to undo some encryption. No encryption had ever been enabled on the phone. Switched to another phone and am now attempting to try and get this phone back working.
Current State
Phone boots to a screen that has a white background and says:
Code:
*** Software status: Official ***
*** Locked ***
*** S-ON ***
REBOOT
REBOOT TO BOOTLOADER
BOOT TO DOWNLOAD MODE
BOOT TO RECOVERY MODE
POWER DOWN
DOWNLOAD MODE say it fails and RECOVERY MODE says:
Code:
Failed to boot to recovery mode
Press volume up or down to back to menu
This build is for
development purposes only
Do not distribute outside of HTC
without HTC's written permission.
Failure to comply may
lead to legal action.
I downloaded RUU_HIMA_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_3.41.651.13.exe from HTC's page. When I ran it, it said the phone was under 30% battery. I hooked the phone up to a charger for a few hours and tried again with the same result.
I was looking for a way to bypass the battery check and just saw information regarding fastboot. I pulled the rom.zip file from HTC's RUU.
When I attempt to flash the phone with fastboot, it does this and hangs:
Code:
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 3.41.651.13
found large-zip header, file count: 8
processing file 1/8...
sending 'zip' (88841 KB)...
I ran fastboot getvar all and it returns:
Code:
(bootloader) version:0.5
(bootloader) variant:MTP eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x14000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x5e0000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x118000000
(bootloader) serialno:HT566SV00080
all:
finished. total time: 1.458s
htc_fastboot finished. total time: 2.256s
Also if I check getvar for battery-voltage, cid, or mid, the result is blank.
Any help in resolving this is much appreciated.

htc m9u hard brick

hello guys:
i have a htc m9u with many problems. i cant to enter to download mode, i cant to enter recovery mode, i cant do nothing.
the phone is in this state:
***** software status: modified*******
***** locked ******
***** S-on ******
***** security warning ********
in download mode appear this:
some commands entering
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version:0.5
(bootloader) variant:MTP eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x14000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x5e0000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x118000000
(bootloader) serialno:HT57JYJ02583
all:
finished. total time: 0.145s
sorry my bad english, because i speak spanish.
thanks
The same probelm
I have the same porbelm help pleas
https://www.androidfilehost.com/?fid=24352994023707658
Download this and extarct files jn fastboot folder. Boot into bootloader. Connect phone to pc.
Type fastboot flash aboot aboot.img
fastboot flash recovery recovery.img
Then reboot phone to download mode. If this work try to flash a RUU which is avaible for your CID. In general section you can find all ruus
i downloaded file but i don't finde aboot.img recovery.img in zip
and when i try to flash any file with fastboot i got this message
C:\fastboot\fastboot>fastboot flash aboot aboot_signed.img
target reported max download size of 536870912 bytes
sending 'aboot' (786 KB)...
OKAY [ 0.040s]
writing 'aboot'...
FAILED (remote: cannot flash this partition in s-on state)
finished. total time: 0.070s
that happens to me too, the phone is in s-on, for this reason can not write to the partition system.
Exact Same problem as I Have.
I'm facing the exact same problem. Any help?
Same problem no downalod mode, no recovery mode, Only Fastboot mode but i have the bootloader unlocked and s-off, what can i do? Can you help me with a possibly fix?? Thanks
What can you do?....maybe read...
A few days ago a made a thread about exact this theme..
https://forum.xda-developers.com/one-m9/help/download-modepossible-fix-t3555678
I have done this, but nothing.
luca260786 said:
I have done this, but nothing.
Click to expand...
Click to collapse
many M9´s are dying cause of defective emmc there
is no fix for that issue except the repair center.
sorry

HTC One M9 bricked bootloop, bootloader unlocked, s-off... help!

Hello, first time poster. i flashed a rom viperone m9 6.2.0. after that, the bootloop started, when I enter recovery mode, the message appears "Keep System Read Only?", the all partitions can not be mounted, and the message shown in red is "Failed to mount '/system' (invalid argument)". When I try to format the partition: Formatting System using make_ext4fs..: Failed to mount '/system' (invalid argument), and try to repair file system: Reparing System using e2fsck...: 7sbin/e2fsck -fp /dev/block/mmcblk0p66 process ended with ERROR:8, Unable to repair System
I can enter into dowload mode, and try to install RUU.ZIP by the sdcard method and it does not work, then i try flash firmware with fastboot , but the bootloop started when rebootRUU
Code:
fastboot oem rebootRUU
.
I try to re-lock the bootloader to install RUU.EXE, but it does not
Code:
C:\Users\PC\Desktop\fast>fastboot oem locked
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.200s]
finished. total time: 0.200s
Code:
C:\Users\PC\Desktop\fast>htc_fastboot getvar all
(bootloader) version:0.5
(bootloader) variant:MTP eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x14000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x5e0000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x118000000
(bootloader) serialno:HT*******
all:
finished. total time: 0.141s
htc_fastboot finished. total time: 0.634s
Code:
C:\Users\PC\Desktop\fast>htc_fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himawhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.41.651.41
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA20000
(bootloader) cid: SPCS_001
all:
finished. total time: 0.016s
htc_fastboot finished. total time: 0.592s
Thanks and sorry for my english
The NAND is dead????
If you can't boot in "fastboot oem rebootRUU" the NAND is probably dead, I'm sorry...

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