SuperCID not accepted by RUU; unlock token rejected by phone. Bricked? - HTC EVO 3D

Hello Evo3d forum!
I've had a GSM 3D for over a year now, and love it. Decided to try rooting/flashing a little while ago, and unfortunately have gotten myself into a fix.
Here's a TL;DR of the problem:
Bootloader "relocked", SuperCID not working for RUU's, [previously working] HTCDev unlock token rejected by phone.
I have no idea why a SuperCID wouldn't work with an RUU (I thought the point was to be able to use any RUU?), or why my unlock token/code would stop working. I did a lot of searching, and it seems that a invalidated unlock token is a common problem for people who had their motherboards replaced, but this is not the case for me. My token file worked for me just a few hours ago, and there was no hardware-fiddling since that time at all. Did the RUU's do something to the bootloader?
I'm wondering if I've soft-bricked my 3D...
Full problem description:
On HBOOT 1.53.0007; S-ON
Unlocked successfully via HTCDev, flashed ICS Sense-based ROM successfully.
Decided to downgrade to 1.49.xxxx since many other ROMs seem to require it, and getting S-OFF would be easier with a 1.49 HBOOT.
Figured using a pre-ICS RUU should do the trick (in retrospect, this was probably a mistake).
Acquired apparent pre-ICS RUU (RUU_Shooter_U_hTC_Asia_TW_1.23.709.4_Radio_10.55.9020.00_10.13.9020.29_M_release_211198_signed.exe)
Relocked bootloader via "fastboot oem lock"; started RUU .exe.
RUU fails, returns "Error 131: Customer ID error"
SuperCID phone from HTC__044 to HTC__001 (second mistake - I forgot to unlock the bootloader before doing this)
Phone accepts new CID, retry RUU; still Error 131
Decide to screw it and just use an ICS RUU to reset phone, and pursue some other method of downgrading hboot
ICS RUU (previously worked multiple times) gives error 131
Attempt to reset CID from HTC__001 to HTC__044
CID writing appears to work, but phone reverts to HTC__001 after rebooting.
Figure bootloader lock is preventing CID writing, so attempt tp unlock via HTCDev token
Unlocking failed with "remote: unlock token check failed" error. Attempt multiple times; all fail.
Attempt to boot into recovery (TWRP), fails; RUU's appear to have wiped the partition (You'd think it'd check the CID before doing anything..)
Here's the commandline input/output for resetting CID. My input is in blue, relevant output is in red:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>[COLOR="blue"]fastboot oem readcid[/COLOR]
...
(bootloader) cid: [color="red"]HTC__001[/color]
OKAY [ 0.006s]
finished. total time: 0.006s
C:\Program Files (x86)\Minimal ADB and Fastboot>[color="blue"]fastboot getvar all[/color]
(bootloader) version: 0.5
(bootloader) version-bootloader: [color="red"]1.53.0007[/color]
(bootloader) version-baseband: 11.25.3504.06_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.707.1
(bootloader) serialno: XXXXXXXXXXXX
(bootloader) imei: XXXXXXXXXXXXXXX
(bootloader) product: [color="red"]shooter_u[/color]
(bootloader) platform: HBOOT-8260
(bootloader) modelid: PG8630000
(bootloader) cidnum: [color="red"]HTC__001[/color]
(bootloader) battery-status: good
(bootloader) battery-voltage: 5770mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 10e127f0
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.492s
C:\Program Files (x86)\Minimal ADB and Fastboot>[color="blue"]fastboot oem writecid HTC__044[/color]
...
(bootloader) shooter_u_init_sd, SD card power on ok
(bootloader) sdcc_init_memory_device done
(bootloader) [FAT_ERROR] fat_open_file: can not find SMART_IO.CRD
(bootloader) [JAVACARD_ERR] SMART_IO.CRD cann't find
(bootloader) Start Verify: 3
(bootloader) erase sector 65504 ~ 65535 (32)
OKAY [ 1.409s]
finished. total time: 1.410s
C:\Program Files (x86)\Minimal ADB and Fastboot>[color="blue"]fastboot oem readcid[/color]
...
(bootloader) cid: [color="red"]HTC__044[/color]
OKAY [ 0.005s]
finished. total time: 0.007s
C:\Program Files (x86)\Minimal ADB and Fastboot>[color="blue"]fastboot reboot-bootloader[/color]
rebooting into bootloader...
OKAY [ 0.202s]
finished. total time: 0.203s
C:\Program Files (x86)\Minimal ADB and Fastboot>[color="blue"]fastboot oem readcid[/color]
...
(bootloader) cid: [color="red"]HTC__001[/color]
OKAY [ 0.006s]
finished. total time: 0.007s
For unlocking the bootloader:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>[color="blue"]fastboot flash unlocktoken Unloc
k_code.bin[/color]
sending 'unlocktoken' (0 KB)...
OKAY [ 0.144s]
writing 'unlocktoken'...
[color="red"]FAILED (remote: unlock token check failed)[/color]
finished. total time: 0.156s

Phew! I've managed to find a solution.
The answer to this conundrum was to obtain, and use another unlock code from HTCDev. That unlocked the bootloader, and hallelujah, everything became flashable again (well, as much as can be an S-ON 1.5+ HBOOT -_-' ).
I really thought I was a goner, for a few hours, though.
I can only deduce that this problem was caused by the RUU's screwing with the bootloader, and somehow changing its unique ID; possibly due to the interruption caused by mismatching CID's. If this really is the case, then that's some ridiculously bad exception handling by the RUU program.
So yes, if you come across this problem, the solution is to head to htcdev.com and follow the instructions to unlock the bootloader again (submit identifier code > receive unlock_code.bin > flash token to phone via fastboot). Then reflash recovery and ROM.
Hope this helps someone!

Related

[Q] HELP with [MOD][S-OFF] SuperCID Your Amaze!

so im new to the amaze and dig it but im having problems with this tutorial. I ran all commands correctly but this is what I get
c:\android>fastboot oem writecid 11111111
...
(bootloader) vreg_set: request is duplicated id 14
(bootloader) ruby_init_sd, SD card power on ok
(bootloader) sdcc_init_memory_device done
(bootloader) [FAT_ERROR] fat_open_file: can not find SMART_IO.CRD
(bootloader) [JAVACARD_ERR] SMART_IO.CRD cann't find
OKAY [ 1.075s]
finished. total time: 1.075s
c:\android>fastboot getvar cid
cid: T-MOB010
finished. total time: 0.002s
c:\android>
any ideas?
and also will it kill option to upgrade ota when tmo finally releases it?
thanks so much
Spastic909 said:
so im new to the amaze and dig it but im having problems with this tutorial. I ran all commands correctly but this is what I get
c:\android>fastboot oem writecid 11111111
...
(bootloader) vreg_set: request is duplicated id 14
(bootloader) ruby_init_sd, SD card power on ok
(bootloader) sdcc_init_memory_device done
(bootloader) [FAT_ERROR] fat_open_file: can not find SMART_IO.CRD
(bootloader) [JAVACARD_ERR] SMART_IO.CRD cann't find
OKAY [ 1.075s]
finished. total time: 1.075s
c:\android>fastboot getvar cid
cid: T-MOB010
finished. total time: 0.002s
c:\android>
any ideas?
and also will it kill option to upgrade ota when tmo finally releases it?
thanks so much
Click to expand...
Click to collapse
Why are you creating a duplicate thread? I'm trying to help you in the main one. This only serves to add clutter to the forum. Have some patience.
Sorry but I'm using mobile app now and I can't find your thread in the dev section
Sent from my HTC_Amaze_4G using xda premium

[Q] Fastboot problems

Hello all,
I am on the stock ROM and decided to update the phone with the OTA released today. I was rooted and unlocked with S-ON, reflashed stock recovery and the update kept failing. I read a post where clearing the cache and relocking the bootloader would work. Well I did that, and now the phone only boots to the bootloader/fastboot/hboot and nothing else. It wont go into the system, and if I try recovery it shows the phone with the red triangle and exclamation mark. What did I do wrong and how can I fix it short of unlocking the bootloader again. I have some very important files on my SD card that I need to somehow save before they are erased. I tried the RUU that just got released but it wont load on my computer (Windows 8 x64). I did a backup through TWRP before I flashed the stock recovery.
I've tried flashing another recovery and I've tried using the fastboot boot command as well. I get errors on pretty much anything I do, which I'm sure is because I relocked the bootloader.
Can anyone help me out here? I'd be willing to do almost anything to get these files back.
Download Minmal ADB and Fastboot (google it) and install.
Download TWRP .img file and place it in the ADB/Fasboot folder.
Open a command prompt from that folder (shift-right-click on the folder and select "open command window here")
plug the phone in and make sure it is in bootloader mode.
type "fastboot boot openrecovery-twrp-2.6.0.1-m7.img" without the quotes and it will boot the phone into TWRP.
Factory reset and try rebooting.
If the problem continues, try sideloading a ROM from the same recovery, using the steps above and the sideload instructions in (I believe they are in General).
Sent from my Nexus 10 using Tapatalk HD
PhoenixPath said:
Download Minmal ADB and Fastboot (google it) and install.
Download TWRP .img file and place it in the ADB/Fasboot folder.
Open a command prompt from that folder (shift-right-click on the folder and select "open command window here")
plug the phone in and make sure it is in bootloader mode.
type "fastboot boot openrecovery-twrp-2.6.0.1-m7.img" without the quotes and it will boot the phone into TWRP.
Factory reset and try rebooting.
If the problem continues, try sideloading a ROM from the same recovery, using the steps above and the sideload instructions in (I believe they are in General).
Sent from my Nexus 10 using Tapatalk HD
Click to expand...
Click to collapse
This is what I get anytime I try to use the boot command:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot openrecovery-twrp-
2.6.0.1-m7.img
downloading 'boot.img'...
OKAY [ 1.165s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.171s
C:\Program Files (x86)\Minimal ADB and Fastboot>
simpleagony said:
This is what I get anytime I try to use the boot command:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot openrecovery-twrp-
2.6.0.1-m7.img
downloading 'boot.img'...
OKAY [ 1.165s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.171s
C:\Program Files (x86)\Minimal ADB and Fastboot>
Click to expand...
Click to collapse
What do you get when you type
Code:
fastboot devices
It should list your device like:
Code:
HT34SW900239 fastboot
If it is not, your computer is not detecting your device in bootloader mode. Also, does your bootloader say "locked" at the top?
If you get a device list, run
Code:
fastboot getver all
and post the results...
PhoenixPath said:
What do you get when you type
Code:
fastboot devices
It should list your device like:
Code:
HT34SW900239 fastboot
If it is not, your computer is not detecting your device in bootloader mode. Also, does your bootloader say "locked" at the top?
If you get a device list, run
Code:
fastboot getver all
and post the results...
Click to expand...
Click to collapse
I relocked my bootloader so that today's update would finally work, but that's when the problem started. Here's the getvar command:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.15
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.27.531.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT35NW902997
(bootloader) imei: 355972054669271
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4330mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.052s
simpleagony said:
I relocked my bootloader so that today's update would finally work, but that's when the problem started. Here's the getvar command:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.15
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.27.531.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT35NW902997
(bootloader) imei: 355972054669271
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4330mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.052s
Click to expand...
Click to collapse
Unlock the bootloader and try the TWRP wipes again.
PhoenixPath said:
Unlock the bootloader and try the TWRP wipes again.
Click to expand...
Click to collapse
I'm willing to try that as a last resort, but I have some stuff I need to save on the SD Card. Is there anyway to save it, or rescue it (data recovery software)?
simpleagony said:
I'm willing to try that as a last resort, but I have some stuff I need to save on the SD Card. Is there anyway to save it, or rescue it?
Click to expand...
Click to collapse
Without being able to get into any alternate recovery or adb, I really don't see how...unless someone else has some other ideas.
PhoenixPath said:
Without being able to get into any alternate recovery or adb, I really don't see how...unless someone else has some other ideas.
Click to expand...
Click to collapse
I figured as much. Thanks for all your help PhoenixPath. :good:

Help with S-Off

Hello all,
I've read many forum posts and have had no luck with my current situation, so I made an account and am reaching out to the community for assistance. I had bought a phone off ebay that I used for many months that was S-ON but unlocked--I ran many ROMS that worked on S-ON just fine. However, I've recently decided I'd like to work on an S-off ROM. I went all the way back to stock RUU using the main guide here on XDA (though, my bootloader still said it was "tampered" and "relocked" FWIW). I went back to stock, and took both OTAs to get to 2.06. I tried both the revone.dna (-1 and -2 errors) and moonshine (don't drink and shine after 10 "moonshining" attempts). Does anyone have any advice as to what I need to do to get unlocked again, become S-off, and then allow me to go forward with my own recovery and ROM of choice? I appreciate any help.
Thanks,
Andy
albernhagen said:
Hello all,
I've read many forum posts and have had no luck with my current situation, so I made an account and am reaching out to the community for assistance. I had bought a phone off ebay that I used for many months that was S-ON but unlocked--I ran many ROMS that worked on S-ON just fine. However, I've recently decided I'd like to work on an S-off ROM. I went all the way back to stock RUU using the main guide here on XDA (though, my bootloader still said it was "tampered" and "relocked" FWIW). I went back to stock, and took both OTAs to get to 2.06. I tried both the revone.dna (-1 and -2 errors) and moonshine (don't drink and shine after 10 "moonshining" attempts). Does anyone have any advice as to what I need to do to get unlocked again, become S-off, and then allow me to go forward with my own recovery and ROM of choice? I appreciate any help.
Thanks,
Andy
Click to expand...
Click to collapse
I just got through doing this myself, and had the exact same problem. I successfully got S-Off even when using DigitalDream 2.2 ROM. Here's what I did.
Step 1: Go to this link (http://forum.xda-developers.com/showthread.php?t=2314771) and use the stuff at the very bottom of the first post where it says to download 2.06 firmware and to flash that first. If you can an error when flashing the firmware, don't worry about it. Just do the fastboot reboot-bootloader command then power off the phone completely and turn it back on (as the instructions say.
Step 2: I used the FacePalm method (http://forum.xda-developers.com/showthread.php?t=2155069). I only downloaded the boot.img and firmware. Follow the steps for the FacePalm method. That successfully got me S-Off.
Thanks
Thanks for your response, BoogaBooga. I tried this out, but it seems that I'm out of luck because I'm relocked as opposed to unlocked. Here's what I saw when attempting FacePalm:
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>adb reboot bootloader
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.043s]
finished. total time: 0.044s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot flash zip dna2.06firmware.zip
< waiting for device >
sending 'zip' (33119 KB)...
OKAY [ 2.411s]
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...
(bootloader) checking hboot version...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[boot] unzipping & flushing...
(bootloader) [RUU]UZ,boot,0
(bootloader) [RUU]UZ,boot,11
(bootloader) [RUU]UZ,boot,25
(bootloader) [RUU]UZ,boot,38
(bootloader) [RUU]UZ,boot,52
(bootloader) [RUU]UZ,boot,66
(bootloader) [RUU]UZ,boot,79
(bootloader) [RUU]UZ,boot,90
(bootloader) [RUU]UZ,boot,100
(bootloader) [RUU]WP,boot,0
(bootloader) [RUU]WP,boot,99
(bootloader) [RUU]WP,boot,100
(bootloader) ...... Successful
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,51
(bootloader) [RUU]UZ,hboot,100
(bootloader) signature checking...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,11
(bootloader) [RUU]UZ,recovery,22
(bootloader) [RUU]UZ,recovery,36
(bootloader) [RUU]UZ,recovery,48
(bootloader) [RUU]UZ,recovery,74
(bootloader) [RUU]UZ,recovery,86
(bootloader) [RUU]UZ,recovery,97
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,99
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,9
(bootloader) [RUU]UZ,radio,18
(bootloader) [RUU]UZ,radio,27
(bootloader) [RUU]UZ,radio,36
(bootloader) [RUU]UZ,radio,41
(bootloader) [RUU]UZ,radio,50
(bootloader) [RUU]UZ,radio,59
(bootloader) [RUU]UZ,radio,68
(bootloader) [RUU]UZ,radio,73
(bootloader) [RUU]UZ,radio,82
(bootloader) [RUU]UZ,radio,87
(bootloader) [RUU]UZ,radio,99
(bootloader) [RUU]UZ,radio,100
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,36
(bootloader) [RUU]WP,radio,73
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
OKAY [ 17.400s]
finished. total time: 19.810s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.036s]
finished. total time: 0.037s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.039s]
finished. total time: 0.040s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fasboot flash zip PL8320000-DNA.zip
'fasboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot flash zip PL8320000-DNA.zip
sending 'zip' (36905 KB)...
OKAY [ 2.680s]
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: 8.814s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot flash zip PL8320000-DNA.zip
sending 'zip' (36905 KB)...
OKAY [ 2.680s]
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: 8.815s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>fastboot boot DNA-rescue.img
downloading 'boot.img'...
OKAY [ 0.813s]
booting...
FAILED (remote: not allowed)
finished. total time: 0.815s
C:\Users\andyb_000\Downloads\adt-bundle-windows-x86_64-20130219\sdk\backup of pl
atform-tools\platform-tools>^A
BoogaBooga said:
I just got through doing this myself, and had the exact same problem. I successfully got S-Off even when using DigitalDream 2.2 ROM. Here's what I did.
Step 1: Go to this link (http://forum.xda-developers.com/showthread.php?t=2314771) and use the stuff at the very bottom of the first post where it says to download 2.06 firmware and to flash that first. If you can an error when flashing the firmware, don't worry about it. Just do the fastboot reboot-bootloader command then power off the phone completely and turn it back on (as the instructions say.
Step 2: I used the FacePalm method (http://forum.xda-developers.com/showthread.php?t=2155069). I only downloaded the boot.img and firmware. Follow the steps for the FacePalm method. That successfully got me S-Off.
Click to expand...
Click to collapse
After I updated to 2.06 (the stock way), I ended up reunlocking using the original unlock key I got from the HTCDEV site. Not exactly sure how you unlocked yours the first time, so I'm not sure if that will help you or not.
BoogaBooga said:
After I updated to 2.06 (the stock way), I ended up reunlocking using the original unlock key I got from the HTCDEV site. Not exactly sure how you unlocked yours the first time, so I'm not sure if that will help you or not.
Click to expand...
Click to collapse
Since I bought the phone already unlocked, I never had the old unlock key. I suppose I can contact the guy I bought it from and see if he still has it. Any other ideas in the meantime?
I'm really not sure. Have you tried this?
http://forum.xda-developers.com/showthread.php?t=2109862
BoogaBooga said:
I'm really not sure. Have you tried this?
http://forum.xda-developers.com/showthread.php?t=2109862
Click to expand...
Click to collapse
I received help from Beaups and got things working. It was a problem with my supercid. We did basically what happens in post #5 here:
http://forum.xda-developers.com/showthread.php?t=2407640
Thanks!

[Q] Change CID EVO 3D GSM

Hi all! First at all sorry for my bad english.
Now I have problem with my evo which can be solved only by warranty. But the phone is ruted and ect., I try to go to stock, but I have problems with changing CID. The phone is locked at the moment but I can unlock it. Here same info:
Locked
S-OFF
HBOOT- 1.49.0007
Radio-11.25.3504.06_M
I try to change CID with this command
Code:
fastboot oem writecid HTC_032
After that I check CID with this
Code:
C:\Android>fastboot oem readcid
...
(bootloader) cid: HTC__032
OKAY [ 0.005s]
finished. total time: 0.006s
It's ok, but I can't flash RUU. It says error which mean wrong CID. After that I check cid again, but this time
Code:
C:\Android>fastboot getvar cid
cid: 0202
finished. total time: 0.002s
I unlock phone and I try all again and again, but cid can't be chamged and RUU can't be instal.
Оtherwise
"fastboot oem writecid" work only if I check with "fastboot oem redcid", it does not work when check with "fastboot getvar cid" and "fastboot getvar all". I try with different CIDs which are for my region, but every time the same problem.
10x for helping me.
Hello
Im the same problem, post install CM11-KK4.4.2 in my htc evo 3d gsm, show me cid 0202, how to change to correct cid HTC__032 ?
Locked
S-OFF
HBOOT- 1.49.0007
Radio-11.25.3504.06_M
Code:
C:\ADB\adb>fastboot oem writecid HTC__032
...
(bootloader) Start Verify: 0
(bootloader) erase sector 65504 ~ 65535 (32)
OKAY [ 0.172s]
finished. total time: 0.172s
fastboot gedvar all show me this:
Code:
C:\ADB\adb>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.49.0007
(bootloader) version-baseband: 11.25.3504.06_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.20.401.2
(bootloader) serialno: HT23TV201098
(bootloader) imei: 352647050841305
(bootloader) product: shooter_u
(bootloader) platform: HBOOT-8260
(bootloader) modelid: PG8630000
(bootloader) cidnum: 0202
(bootloader) battery-status: good
(bootloader) battery-voltage: 5527mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: edba812f
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.484s
I have no ideas
I greet
[email protected]
Try the super CID: fastboot oem writecid HTC_11111111
Sent from my Evo 3D GSM using XDA Premium 4 mobile app
Anonymuszymus said:
Try the super CID: fastboot oem writecid HTC_11111111
Sent from my Evo 3D GSM using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Code:
C:\ADB>fastboot oem writecid HTC_11111111
...
(bootloader) fail: [writecid] Illegal cid size
OKAY [ 0.016s]
finished. total time: 0.016s
Code:
C:\ADB>fastboot oem writecid HTC__032
...
(bootloader) Start Verify: 0
(bootloader) erase sector 65504 ~ 65535 (32)
OKAY [ 0.016s]
finished. total time: 0.016s
C:\ADB>fastboot oem readcid
...
(bootloader) cid: HTC__032
OKAY [ 0.016s]
finished. total time: 0.016s
C:\ADB>fastboot getvar cid
cid: 0202
finished. total time: 0.000s
Hi
Why getvar show me 0202 cid and readcid show me HTC__032 ?
I greet
Same here:crying::crying:
Try "fastboot oem writecid 11111111" (8 times 1)
After that reboot on fasboot again and check. If you have unlocked bootloader you must lock it before running the ruu. "fastboot oem lock" is the command.
Sent from my Evo 3D GSM using xda app-developers app
mhnx said:
Try "fastboot oem writecid 11111111" (8 times 1)
After that reboot on fasboot again and check. If you have unlocked bootloader you must lock it before running the ruu. "fastboot oem lock" is the command.
Sent from my Evo 3D GSM using xda app-developers app
Click to expand...
Click to collapse
I tried again and again... but nothing everytimes I've cid 0202...:crying:
39854341
mhnx said:
Try "fastboot oem writecid 11111111" (8 times 1)
After that reboot on fasboot again and check. If you have unlocked bootloader you must lock it before running the ruu. "fastboot oem lock" is the command.
Sent from my Evo 3D GSM using xda app-developers app
Click to expand...
Click to collapse
thx man

[SOLVED] [Q] oops! soft bricked .....

M7 was badly misbehaving. Couldn't install apps from the drawer (to the home page) or from the home page directly. I get the vibration feedback and that's it.
There have been other issues as well.
I'd been on the OTA 4.4.3, but some app must have poisoned the phone.
In any case formatted data and wiped caches.
Have TWRP 2.8.02 installed. Unlocked and rooted.
I can get to TWRP or Fastboot with no issues.
But Sideload, push nor fastboot will take my OTArom.zip.
Tried dropping back to TWRP 2.7.11 after reading about some issues. No difference.
FAILED (remote: 24 parsing android-info fail) was the error from Fastboot flash zip rom.zip
sideload seemed to pass the rom but got "error updating executer binary" a couple secs after the sideload is done.
I'd rather install OEM instead of a TWRP back-up that is loaded with apps that might have caused the issues. But so far ......
When I try to copy a TWRP back up (via MTP), TWRP replies "can't copy - data.ext4.win000"
I'm on a Mac so I can't run .exe.
HELP!!
thanks.
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FA##########
(bootloader) imei: #############
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4305mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
metropical said:
M7 was badly misbehaving. Couldn't install apps from the drawer (to the home page) or from the home page directly. I get the vibration feedback and that's it.
There have been other issues as well.
I'd been on the OTA 4.4.3, but some app must have poisoned the phone.
In any case formatted data and wiped caches.
Have TWRP 2.8.02 installed. Unlocked and rooted.
I can get to TWRP or Fastboot with no issues.
But Sideload, push nor fastboot will take my OTArom.zip.
FAILED (remote: 24 parsing android-info fail) was the error from Fastboot flash zip rom.zip
sideload seemed to pass the rom but got "error updating executer binary" a couple secs after the sideload is done.
I'd rather install OEM instead of a TWRP back-up that is loaded with apps that might have caused the issues. But so far ......
When I try to copy a TWRP back up (via MTP), TWRP replies "can't copy - data.ext4.win000"
I'm on a Mac so I can't run .exe.
thanks.
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FA##########
(bootloader) imei: #############
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4305mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
Since you are S-OFF try this RUU_M7UL_TMOUS_5.14.531.1_With_Partial-decrypted.zip
majmoz said:
Since you are S-OFF try this RUU_M7UL_TMOUS_5.14.531.1_With_Partial-decrypted.zip
Click to expand...
Click to collapse
thanks. from adb I assume?
metropical said:
thanks. from adb I assume?
Click to expand...
Click to collapse
No, you will flash it like firmware in fastboot. Rename your file to RUU.zip or substitute RUU.zip with your file name.
Put the phone in bootloader/FASTBOOT USB
After that, type:
Code:
[B][I]fastboot oem rebootRUU [/I][/B]
NOTE: You should see a silver HTC logo come up on your phone after executing this command.
NOTE: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.
Finally:
Code:
[B][I]fastboot flash zip RUU.zip[/I][/B]
Repeat the same command: IMPORTANT
Code:
[B][I]fastboot flash zip RUU.zip[/I][/B]
NOTE: The green bar on the phone may not go to 100% of the bar ... but If you see completed on your computer command window, wait for a few seconds and move on.
Last Step:
Code:
[B][I]fastboot reboot[/I][/B]
Click to expand...
Click to collapse
majmoz said:
No, you will flash it like firmware in fastboot. Rename your file to RUU.zip or substitute RUU.zip with your file name.
Click to expand...
Click to collapse
Martin:android fritz$ fastboot flash zip RUU.zip
sending 'zip' (1567273 KB)...
FAILED (remote: 02 data length is too large)
metropical said:
Martin:android fritz$ fastboot flash zip RUU.zip
sending 'zip' (1567273 KB)...
FAILED (remote: 02 data length is too large)
Click to expand...
Click to collapse
Have you tried the method nkk71 discussed in FAQ #3?
I don't use a Mac so I can not help you there.
majmoz said:
Have you tried the method nkk71 discussed in FAQ #3?
I don't use a Mac so I can not help you there.
Click to expand...
Click to collapse
yup. no difference
metropical said:
yup. no difference
Click to expand...
Click to collapse
Here is another zip 6.10.531.9 you can try. It might be closer to your system setup since it is for the version just prior to the latest from TMOUS. I looked for a firmware only package but I could not find one.
Make sure you check the MD5 of the files!!!
majmoz said:
Here is another zip 6.10.531.9 you can try. It might be closer to your system setup since it is for the version just prior to the latest from TMOUS. I looked for a firmware only package but I could not find one.
Make sure you check the MD5 of the files!!!
Click to expand...
Click to collapse
same issue - FAILED (remote: 02 data length is too large)
did check the md5.
Darn the Luck ! ! !
There must be another issue, coz that is pretty much the ROM I had. And I can't copy recent TWRP backups.
Something odd.
metropical said:
same issue - FAILED (remote: 02 data length is too large)
did check the md5.
Darn the Luck ! ! !
There must be another issue, coz that is pretty much the ROM I had. And I can't copy recent TWRP backups.
Something odd.
Click to expand...
Click to collapse
Try each of the following steps until successful:
If possible, copy your personal files and data off of the phone.
You can pull the recovery.img from the zip and flash it. It is the stock image.
In bootloader, select factory reset
You might be able to build your own firmware by removing the system.img from the zip. You can rename it firmware and flash like the RUU.
metropical said:
same issue - FAILED (remote: 02 data length is too large)
did check the md5.
Darn the Luck ! ! !
There must be another issue, coz that is pretty much the ROM I had. And I can't copy recent TWRP backups.
Something odd.
Click to expand...
Click to collapse
Use this and update your fastboot / adb
http://forum.xda-developers.com/showthread.php?t=2588979
clsA said:
Use this and update your fastboot / adb
http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
appreciate the input, but that's windows. I'm on a Mac. My adb is 1.0.31
metropical said:
appreciate the input, but that's windows. I'm on a Mac. My adb is 1.0.31
Click to expand...
Click to collapse
their old, find new download the SDK
majmoz said:
Try each of the following steps until successful:
If possible, copy your personal files and data off of the phone.
You can pull the recovery.img from the zip and flash it. It is the stock image.
In bootloader, select factory reset
You might be able to build your own firmware by removing the system.img from the zip. You can rename it firmware and flash like the RUU.
Click to expand...
Click to collapse
I have all my files.
when I unzip, I don't see recovery.img or system.zip.
might be the Mac vs Windows.
The phone has no OS right now.
metropical said:
I have all my files.
when I unzip, I don't see recovery.img or system.zip.
might be the Mac vs Windows.
The phone has no OS right now.
Click to expand...
Click to collapse
https://github.com/corbindavenport/nexus-tools
bin updated adb binary to 1.0.32, Dec 16, 2014
README.md Dec 16, 2014
install.sh Dec 16, 2014
license.txt Dec 10, 2013
Click to expand...
Click to collapse
clsA said:
https://github.com/corbindavenport/nexus-tools
Click to expand...
Click to collapse
cool.! nice tool. thanks. hope this fixes my issues.
metropical said:
cool.! nice tool. thanks. hope this fixes my issues.
Click to expand...
Click to collapse
Yeah I have only seen the FAILED (remote: 02 data length is too large) when fastboot was too old
good luck
clsA said:
Yeah I have only seen the FAILED (remote: 02 data length is too large) when fastboot was too old
good luck
Click to expand...
Click to collapse
Darn the Luck ! ! !
No green progress bar.
I tried the RUU linked on the previous page as well as this OTA of the same vintage.
after the following failure, I formatted data and attempted to wipe Dalvik and cache. I get "unable to mount cache".
Martin:~ fritz$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.052s]
finished. total time: 0.052s
Martin:~ fritz$ fastboot flash zip OTA_M7.zip
error: cannot load 'OTA_M7.zip'
Martin:~ fritz$ cd downloads/android
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1514139648 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.195s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.222s
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1515827200 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.187s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.219s
Martin:android fritz$ fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.559s]
finished. total time: 0.559s
Martin:android fritz$ fastboot reboot
rebooting...
finished. total time: 0.037s
Martin:android fritz$ adb devices
List of devices attached
FA35########### device
Martin:android fritz$ adb reboot recovery
Martin:android fritz$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.052s]
finished. total time: 0.052s
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1514139648 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.216s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.226s
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1515827200 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.212s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.244s
Martin:android fritz$ fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.522s]
finished. total time: 0.522s
Martin:android fritz$ fastboot reboot
rebooting...
finished. total time: 0.037s
metropical said:
Darn the Luck ! ! !
No green progress bar.
I tried the RUU linked on the previous page as well as this OTA of the same vintage.
after the following failure, I formatted data and attempted to wipe Dalvik and cache. I get "unable to mount cache".
Martin:~ fritz$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.052s]
finished. total time: 0.052s
Martin:~ fritz$ fastboot flash zip OTA_M7.zip
error: cannot load 'OTA_M7.zip'
Martin:~ fritz$ cd downloads/android
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1514139648 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.195s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.222s
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1515827200 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.187s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.219s
Martin:android fritz$ fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.559s]
finished. total time: 0.559s
Martin:android fritz$ fastboot reboot
rebooting...
finished. total time: 0.037s
Martin:android fritz$ adb devices
List of devices attached
FA35########### device
Martin:android fritz$ adb reboot recovery
Martin:android fritz$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.052s]
finished. total time: 0.052s
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1514139648 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.216s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.226s
Martin:android fritz$ fastboot flash zip OTA_M7.zip
target reported max download size of 1515827200 bytes
sending 'zip' (564982 KB)...
OKAY [ 21.212s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 24 parsing android-info fail)
finished. total time: 24.244s
Martin:android fritz$ fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.522s]
finished. total time: 0.522s
Martin:android fritz$ fastboot reboot
rebooting...
finished. total time: 0.037s
Click to expand...
Click to collapse
That OTA.zip can only be flashed with stock recovery .. it's not a RUU or Rom.zip
you get unable to mount cache because you formatted it
fastboot erase cache causes this error
clsA said:
That OTA.zip can only be flashed with stock recovery .. it's not a RUU or Rom.zip
you get unable to mount cache because you formatted it
fastboot erase cache causes this error
Click to expand...
Click to collapse
how can I get back to stock recovery? I assume with the soft brick and other tries that haven't worked that is the only choice at this point?
do I need to OEM lock or ..........?
and getvar seems to indicate that there is no firmware version now.
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FA##YW######
(bootloader) imei: ############
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4326mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!

Categories

Resources