Fastboot has stopped working - One (M8) Q&A, Help & Troubleshooting

Hi all... I'm still pretty green so any help would be greatly appreciated.
When I try to fastboot it say 'no gift file' then continues to say 'loading 0P6BDIAG.zip... no image'
I'm trying to get my device back to stock and I'm pretty sure that the 0P6BIMG.zip that I was using was for a different carrier or something (in hindsight).
Any one know a fix for this?
thanks in advance

Connect your device directly to your computer, use adb to get phones to computer connectivity. Fastboot flash the files you need to get back to stock ? Do you know how to ?
Sent from my One M8 using Tapatalk

Skratchziro said:
I'm trying to get my device back to stock and I'm pretty sure that the 0P6BIMG.zip that I was using was for a different carrier or something (in hindsight).
Click to expand...
Click to collapse
The update zip needs to be the same CID and MID to install properly. You'll need to delete that file, otherwise the phone will keep trying to install it (and fail).

redpoint73 said:
The update zip needs to be the same CID and MID to install properly. You'll need to delete that file, otherwise the phone will keep trying to install it (and fail).
Click to expand...
Click to collapse
I'm really green when it comes to this, sorry. how do I find out what the CID and MID are? and where do I go to get the proper ones?
Thanks for replying... I really appreciate any help that I can get, thx.

Skratchziro said:
I'm really green when it comes to this, sorry. how do I find out what the CID and MID are? and where do I go to get the proper ones?
Thanks for replying... I really appreciate any help that I can get, thx.
Click to expand...
Click to collapse
In fastboot: fastboot getvar all
CID is listed under CID, MID is listed under modelid

Related

RUU Stock

Hi
I have accidentaly wiped system and sd card in CWM and cant mount via usb. I cannot find a stock HTC One X RUU and I had downloaded o2 RUU (would prefer carrier branded as want to return!!! although doesn't matter) but that was corrupted and downloaded off a chiness site that has stopped hosting it!
Please help me!
Doesnt matter if all you can find is a recovery that you can mount USB!! That would be great!!
Thank you very much guys!!!!!!!!!!!!!!!!!!!!!!!!!!!
-----------------------------------------------------------------------------------------------------------------------------------------------------
Thank you very much for all of your help! I have solved my issue.
I needed to download the stock o2 uk RUU and relock the bootloader and run the program in fast boot. I have just made my nandroid backup and planning to upload it so anyone else can use it! (it wont have my details on, just as if the os has been installed from scratch)
Steven
Please read before posting/flashing/wiping.
What is the CID of your device. You can only flash a stock RUU with matching CID.
So you need to download the correct RUU for your device.
All stock RUUs available are here
.
Keep thread on topic please
How do I find my CID?
stevepork said:
Hi
I have accidentaly wiped system and sd card in CWM and cant mount via usb. I cannot find a stock HTC One X RUU and I had downloaded o2 RUU (would prefer carrier branded as want to return!!! although doesn't matter) but that was corrupted and downloaded off a chiness site that has stopped hosting it!
Please help me!
Doesnt matter if all you can find is a recovery that you can mount USB!! That would be great!!
Thank you very much guys!!!!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
If you would have spent 10 seconds looking in the Dev thread you would have found a list of all the available RUU's to download.
(http://forum.xda-developers.com/showthread.php?t=1543604)
Download your required RUU, boot into Fastboot-USB and run.
Next time be more careful and fully understand what you are doing before doing it otherwise you will end up with a £600 paperweight.
dr9722 said:
If you would have spent 10 seconds looking in the Dev thread you would have found a list of all the available RUU's to download.
(http://forum.xda-developers.com/showthread.php?t=1543604)
Download your required RUU, boot into Fastboot-USB and run.
Next time be more careful and fully understand what you are doing before doing it otherwise you will end up with a £600 paperweight.
Click to expand...
Click to collapse
That is why I started this thread!!! I don't know which is the correct one!!! I started on o2 uk rom and then flashed android revolution!!!
You've just answered your own question - look for the RUU with o2 UK in the name...
stevepork said:
That is why I started this thread!!! I don't know which is the correct one!!! I started on o2 uk rom and then flashed android revolution!!!
Click to expand...
Click to collapse
Flash the one that says o2 UK then?
Though I also wonder. How do you match CID to the firmware package? When I try to get my CID in fastboot or w/e, it says no CID like i've read around here. Any thoughts?
EddyOS said:
You've just answered your own question - look for the RUU with o2 UK in the name...
Click to expand...
Click to collapse
i unlocked the bootloader so if the op did the same their CID will be "none" and therefore the RUU wont flash.
treebill said:
i unlocked the bootloader so if the op did the same their CID will be "none" and therefore the RUU wont flash.
Click to expand...
Click to collapse
Ahh, that is what I did. Does anyone know how to get around this or relock it. I understood that when you relock it, the CID doesnt change
stevepork said:
Ahh, that is what I did. Does anyone know how to get around this or relock it. I understood that when you relock it, the CID doesnt change
Click to expand...
Click to collapse
You can't get around it nor you can change the CID unless we get S-OFF.
shadowboy23 said:
You can't get around it nor you can change the CID unless we get S-OFF.
Click to expand...
Click to collapse
Okay, I guess i will have to wait until the clockwork recovery gets USB mount!
Sorry but if you just want to return to stock you can do
1. Restore you nandroid backup, flash stock recovery and then relock the bootloader.
OR
2. You can flash stock recovery, relock bootloader and then run the RUU that corresponds to your CID/region.
I am probably answering my own question my CID is H3G_001. There doesnt appear to a 3 mobile ruu at all. Any help here? Fortunately its not urgent but may be handy if/when they release the upgrade
oisindubh said:
I am probably answering my own question my CID is H3G_001. There doesnt appear to a 3 mobile ruu at all. Any help here? Fortunately its not urgent but may be handy if/when they release the upgrade
Click to expand...
Click to collapse
Is your ROM the O2 UK?
Ooops sorry about that.
shadowboy23 said:
Sorry but if you just want to return to stock you can do
1. Restore you nandroid backup, flash stock recovery and then relock the bootloader.
OR
2. You can flash stock recovery, relock bootloader and then run the RUU that corresponds to your CID/region.
Click to expand...
Click to collapse
Thank you, very much. That was all I needed. Why does everyone have to bee rude? Be kine to a newbie!! I have only had an iPhone and a Dell Streak before this device!
You have to relock the bootloader to flash the RUU
Sent from my HTC Sensation Z710e using xda premium
how are you guys checking CID?
Using terminal emulator? do you need root?
I tried ADB shell command since the fastboot command doesn't work, and I get error:device not detected
pewpewbangbang said:
how are you guys checking CID?
Using terminal emulator? do you need root?
I tried ADB shell command since the fastboot command doesn't work, and I get error:device not detected
Click to expand...
Click to collapse
CID getter from the market.
I dont know, sorry. I do know though that mine came originally with 02 uk rom and that CID will only work with the one rom that came originally with your phone. It may be different for unlocked devices.
Thank you very much for everyone's help
Steven

semi-noob asking specific questions

Im kind of new to all this and my delema is this,
My Phone:
HTC M8 ATT version
sim unlocked
s-off
rooted
super CID 11111111
skydragon rom
--
Im now using a T-Mo-us sim and no matter what radio version for t-mo i flash im getting poor reception. Does it pay for me to totally transform this phone in to a t-mo m8? Will i lose s-off? Do i have to re lock my boot loader? Will this help my reception issues? If i do load a t-mo rom on the phone what are the exact steps? Can i keep root and s-off?
I know the radio flash is taking because i can see the changes in fast boot. Please advise. Thanks.
Sorry everyone, i realize i may have posted this in the wrong area. Could it be moved? Thanks again.
m a r k said:
Im kind of new to all this and my delema is this,
My Phone:
HTC M8 ATT version
sim unlocked
s-off
rooted
super CID 11111111
skydragon rom
--
Im now using a T-Mo-us sim and no matter what radio version for t-mo i flash im getting poor reception. Does it pay for me to totally transform this phone in to a t-mo m8? Will i lose s-off? Do i have to re lock my boot loader? Will this help my reception issues? If i do load a t-mo rom on the phone what are the exact steps? Can i keep root and s-off?
I know the radio flash is taking because i can see the changes in fast boot. Please advise. Thanks.
Click to expand...
Click to collapse
Wrong section, but I can help. My m8 is an AT&T branded m8, but after converting it to T-Mobile software (changing mid and cid then flashing tmo ruu) I got better reception and all the bands for T-Mobile enabled. It also enables Wi-Fi calling and texting doing the conversion as well.
Uzephi said:
Wrong section, but I can help. My m8 is an AT&T branded m8, but after converting it to T-Mobile software (changing mid and cid then flashing tmo ruu) I got better reception and all the bands for T-Mobile enabled. It also enables Wi-Fi calling and texting doing the conversion as well.
Click to expand...
Click to collapse
Ok, thanks so much, again im sorry for posting in the wrong area, could you point me down the specific path and steps ill have to take to flash to the tmo ruu?
m a r k said:
Ok, thanks so much, again im sorry for posting in the wrong area, could you point me down the specific path and steps ill have to take to flash to the tmo ruu?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2708581 to change mid to T-mobile. Then just run an ruu.exe. I used the one from the link below. Be sure you have nothing else that talks to the phone or it will hang (HTC sync, etc)
http://www.androidpolice.com/2015/02/11/htc-posts-full-1-5gb-ruu-t-mobile-one-m8-lollipop-upgrade/
so i also have to change the cid, do i need to relock the boot loader or anything?
m a r k said:
so i also have to change the cid, do i need to relock the boot loader or anything?
Click to expand...
Click to collapse
No need to re-lock if you are s-off like you said. You are supercid, so you are okay to just keep it 111111
i keep getting the error "dd" is not a command
m a r k said:
i keep getting the error "dd" is not a command
Click to expand...
Click to collapse
What adb tools do you have, and are you getting # prompt before pasting the echo command? You are copy and pasting the command exactly as Scotty showed for the t-mobile mid, right?
Alright im now up to the part of the RRU install but the all the installer does is get to the point where i have to accept the user agreement and then i hit ok, and next then it just crashes and its gone.
m a r k said:
Alright im now up to the part of the RRU install but the all the installer does is get to the point where i have to accept the user agreement and then i hit ok, and next then it just crashes and its gone.
Click to expand...
Click to collapse
Are you right clicking and running as admin? Be sure nothing but ruu utility can talk to the phone, HTC sync, eclipse, etc have to be uninstalled completely.
Yes, and i even tried it on 3 other win7 computers. I think its beat me. I read some stuff online about c+++ some sh__ and none of that helped me. Its a bust at this point.
m a r k said:
Yes, and i even tried it on 3 other win7 computers. I think its beat me. I read some stuff online about c+++ some sh__ and none of that helped me. Its a bust at this point.
Click to expand...
Click to collapse
You did change the mid successfully? In fastboot mode, you fastboot getvar mid and see if it changed to the T-Mobile mid
Uzephi said:
You did change the mid successfully? In fastboot mode, you fastboot getvar mid and see if it changed to the T-Mobile mid
Click to expand...
Click to collapse
Yes, the issue is i cant even start the RUU installer, but im doing some more research right now trying to see what else i can try
is there any other way to do this? Can i just flash the rom in recovery?
m a r k said:
Yes, the issue is i cant even start the RUU installer, but im doing some more research right now trying to see what else i can try
Click to expand...
Click to collapse
You can try the zip version. Put it on the root of your external SD card and reboot to your bootloader.
https://www.dropbox.com/s/1xmkf1jgd06jqdp/RUU-4.20.531.4-rom.zip?dl=0
Rename: 0P6BIMG.zip for bootloader to recognize it.
---------- Post added at 10:49 PM ---------- Previous post was at 10:44 PM ----------
If the bootloader doesn't recognize it, just do the below commands:
Fastboot oem rebootRUU
Once phone goes into ruu mode, issue the below command:
Fastboot flash zip 0P6BIMG.zip
Some ruu files will error, just issue the command again. If you get an error 155, then you need to relock the bootloader.
ill try it, that has the t-mo radios and everything?
m a r k said:
ill try it, that has the t-mo radios and everything?
Click to expand...
Click to collapse
Yes, all ruu files are factory images. Be sure to backup anything on the internal SD card. Most ruu zips will wipe the phone completely. Even the files on the internal SD
Ok, rad, ill dl this, load it up and see whats what, thanks so much dude.
WOW! It seems to be working via the boot loader!

Rumrunner won't pass test 1

Hi there
I am trying to gain s-off via rumrunner. I followed the instructions closely but when it attempts to check the bootloader and fastboot, it fails. My phone (Sprint m8), boots to boot loader but then it just sits there and rumrunner fails.
What is going wrong and how do I fix it? My phone is rooted and unlocked. I've got insertcoin and twrp flashed. Is there something wrong with fastboot? Please help as I am eager to gain s-off. I am thinking about just using Sunshine, but I don't want to pay the fee if it's not even going to work.
Thanks
G
garyg199 said:
Hi there
I am trying to gain s-off via rumrunner. I followed the instructions closely but when it attempts to check the bootloader and fastboot, it fails. My phone (Sprint m8), boots to boot loader but then it just sits there and rumrunner fails.
What is going wrong and how do I fix it? My phone is rooted and unlocked. I've got insertcoin and twrp flashed. Is there something wrong with fastboot? Please help as I am eager to gain s-off. I am thinking about just using Sunshine, but I don't want to pay the fee if it's not even going to work.
Thanks
G
Click to expand...
Click to collapse
Rumrunner hasn't worked for over a year and a half, and Firewater hasn't either.
Sunshine is the way to do it now if you want/need S-Off. You could buy a Java Card, but it would be more expensive.
Oh, wow , okay thanks. Yeah I thought it was weird but I was watching a video that was uploaded one week ago and the user was using rumrunner. I'm still a bit of a noob with this but the reason I am trying to gain s-off is because when I flash a new rom I either get stuck at the bootloader or the boot image. I'm guessing it's because I'm a-on and I would have to flash using abd commands on my pc? If I am wrong can someone please let me know? It's a bit confusing. Thanks
garyg199 said:
Oh, wow , okay thanks. Yeah I thought it was weird but I was watching a video that was uploaded one week ago and the user was using rumrunner. I'm still a bit of a noob with this but the reason I am trying to gain s-off is because when I flash a new rom I either get stuck at the bootloader or the boot image. I'm guessing it's because I'm a-on and I would have to flash using abd commands on my pc? If I am wrong can someone please let me know? It's a bit confusing. Thanks
Click to expand...
Click to collapse
Is your firmware up to date?
Tell me what it says next to "OS" in your bootloader. If you are using an old version of TWRP, it may be blank. If it is, post the results of fastboot getvar all to determine the firmware version from that, but remove your IMEI and serial# first as that is private info.
Well it is blank. It just says "OS-".
How do I execute the fastboot getvar etc. ? In a command window on my computer or? Sorry. Noob is shining here
I just updated twrp like last week though?
Yeah my twrp version is 2.8.5.0
garyg199 said:
Well it is blank. It just says "OS-".
How do I execute the fastboot getvar etc. ? In a command window on my computer or? Sorry. Noob is shining here
Click to expand...
Click to collapse
Did you buy the phone rooted, or did you use ADB and fastboot to root yourself? Yes, you do it in CMD with the SDK/ADB software. Hook your phone up to your PC, open CMD in ADB (shift+right click and choose "open command window here")
enter adb reboot bootloader
then fastboot getvar all
I rooted it myself. I just tried it and got nothing after it says <waiting for device>. I could also be doing this wrong too though. SDK...Is this android audio whatever? Because I've been trying to find that and that's where it brought me, from every link. I downloaded the actual package with the program tools so I think I have it right but I'm not sure. Thanks for all the help by the way
I think I've got the right sdk tools and all. I just found another thread where someone had the same issue. He said it fixed magically overnight, but another said to uninstall the HTC drivers and reinstall on my pc. Guess I'll try that, unless you know another solution?
garyg199 said:
I think I've got the right sdk tools and all. I just found another thread where someone had the same issue. He said it fixed magically overnight, but another said to uninstall the HTC drivers and reinstall on my pc. Guess I'll try that, unless you know another solution?
Click to expand...
Click to collapse
Okay. You "think" you have SDK? I'll tell you right now, your firmware is out of date. Run the software update/RUU from HTC's US website. I would tell you if you should run Sprint's standard RUU, or the Sprint H/K RUU, but since you have failed to provide me with the information to direct you to the proper firmware update that I asked for, I guess you can figure it out on your own by searching your CID and MID from your getvar output.
Here's a link to the HTC US Software Download page.
Good luck!
garyg199 said:
I think I've got the right sdk tools and all. I just found another thread where someone had the same issue. He said it fixed magically overnight, but another said to uninstall the HTC drivers and reinstall on my pc. Guess I'll try that, unless you know another solution?
Click to expand...
Click to collapse
If you unlocked the bootloader yourself, you have a working adb/fastboot environment.
Be sure you are booted into OS, and have "USB Debugging" enabled in settings, to issue the adb command suggested by xunholyx.
Thanks @redpoint. Sorry for my ignorance and lack of knowledge guys, just trying to get things straight. Im guessing my next step as of now is to get my boot loader locked again and get my stock recovery back so I can update my firmware. It seems like I can't do much until I do so. I downloaded sunshine and it gave me an error about flashing a "non debuggable ram disk". Thanks again for your help. Any other advice is much appreciated
garyg199 said:
Thanks @redpoint. Im guessing my next step as of now is to get my boot loader locked again and get my stock recovery back so I can update my firmware.
Click to expand...
Click to collapse
You shouldn't be "guessing" anything.
You have failed to provide the proper information (output from fastboot getvar all) which has been requested 3 times now. Can't provide the proper guidance without more info.
garyg199 said:
Thanks @redpoint. I downloaded sunshine and it gave me an error about flashing a "non debuggable ram disk".
Click to expand...
Click to collapse
s-off isn't going to automatically (all by itself) fix your problem (flashing a ROM), if that is what you think.
You have 2 potential (probable) issues:
1) The ROM won't boot if your firmware is outdated (s-off makes it a bit easier to update firmware, but its not strictly required to do so)
2) ROM also won't boot if its does not specifically support the Sprint version M8
I'm failing to provide the info because it's not giving me the info! I'm guessing because I'm doing this on my own more or less
garyg199 said:
I'm failing to provide the info because it's not giving me the info! I'm guessing because I'm doing this on my own more or less
Click to expand...
Click to collapse
I have no idea what that means. Your computer is sensing you are doing this "on your own" and deciding it doesn't like that?
If you are having issues executing the advice given to you, you need to state that, along with the specific results, error messages, etc. A screenshot may also be helpful.
If you don't post that you tried, and it failed; all we can do is assume that you ignored or missed the advice.
If the computer is hanging "waiting for device" when you try "fastboot getvar all" then you should try another USB cable, another port, re-install HTC Sync, or even try another computer (if possible).
But I have no idea of knowing what the issue is, if you don't tell us.
Cid- SPCS_001
MID-0P6B70000
I hope those are the correct numbers that were needed
garyg199 said:
I hope those are the correct numbers that were needed
Click to expand...
Click to collapse
I want the full getvar output (minus IMEI and serial number, which are personal info) not just 2 pieces of it.
Here's what I got
Had to use the all in one toolkit to get it. Wasn't giving it to me with just the commands.

Is anyone able to assist me with returning to stock recovery from TWRP?

Hi all
Sorry if this is a stupid question - I'm still a rookie to this stuff but I'm getting my head around it now.
I picked up a HTC 10 and I didn't like it very much coming from a HTC One M8 Google Play Edition, I just miss stock android so much. I tried out some other ROMs to see if that would help but it doesn't and I don't want to wait months for an AOSP ROM (if one will ever come) so I am going to get rid of the phone and buy a Nexus device.
It would be ideal if I can return to locked bootloader and go back to stock recovery from TWRP which it currently has. I see HTC has the RUU on their site but its branded USA, is it safe to use on a European phone? Or is there another way I can return to stock recovery and locked bootloader? It's not essential, I'm sure I'll be able to pass it onto a techy friend either way but would be nice to have it as close to how I got it as possible if anyone is able to offer some advice.
Thanks in advance
Take a look in guide section at least two threads that provide the files you need
Sent from my HTC 10 using XDA-Developers mobile app
kfasheldon said:
Take a look in guide section at least two threads that provide the files you need
Sent from my HTC 10 using XDA-Developers mobile app
Click to expand...
Click to collapse
Hi there. It's not locating the files that I'm struggling with, as I said I'm still a bit of a rookie and was wondering if someone would be willing to help me out with how to use the files. I realize it's a big ask but I figured there's no harm in asking.
marshedpotato said:
Hi all
Sorry if this is a stupid question - I'm still a rookie to this stuff but I'm getting my head around it now.
I picked up a HTC 10 and I didn't like it very much coming from a HTC One M8 Google Play Edition, I just miss stock android so much. I tried out some other ROMs to see if that would help but it doesn't and I don't want to wait months for an AOSP ROM (if one will ever come) so I am going to get rid of the phone and buy a Nexus device.
It would be ideal if I can return to locked bootloader and go back to stock recovery from TWRP which it currently has. I see HTC has the RUU on their site but its branded USA, is it safe to use on a European phone? Or is there another way I can return to stock recovery and locked bootloader? It's not essential, I'm sure I'll be able to pass it onto a techy friend either way but would be nice to have it as close to how I got it as possible if anyone is able to offer some advice.
Thanks in advance
Click to expand...
Click to collapse
You can't use the US Unlocked RUU on the European phone, but there is an RUU for the WWE model (401) here:
http://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
You will never get back to 100% stock unless you spent $25 to S-Off your phone with sunshine, because when you lock your bootloader back, your device will show as RElocked in download and bootloader mode instead of just locked. So...IMO, unless you want to spend the $25 so you can return it, I would just leave it as unlocked and save the next person the hassle of unlocking it.
As for stock recovery, many are available in the thread I linked to above as well.
jollywhitefoot said:
You can't use the US Unlocked RUU on the European phone, but there is an RUU for the WWE model (401) here:
http://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
You will never get back to 100% stock unless you spent $25 to S-Off your phone with sunshine, because when you lock your bootloader back, your device will show as RElocked in download and bootloader mode instead of just locked. So...IMO, unless you want to spend the $25 so you can return it, I would just leave it as unlocked and save the next person the hassle of unlocking it.
As for stock recovery, many are available in the thread I linked to above as well.
Click to expand...
Click to collapse
hi there
thank you so much for reply!
i am so sorry if this is super noob question but the only one for europe i can find is a zip not a ROM. i did these commands:
fastboot oem rebootRUU
fastboot flash zip _____.zip
but its not working. is this the correct way or am i doing it wrong?
marshedpotato said:
hi there
thank you so much for reply!
i am so sorry if this is super noob question but the only one for europe i can find is a zip not a ROM. i did these commands:
fastboot oem rebootRUU
fastboot flash zip _____.zip
but its not working. is this the correct way or am i doing it wrong?
Click to expand...
Click to collapse
you need the htc_fastboot.exe file. fastboot.exe can't handle files this large.
Here is the link to download
https://drive.google.com/open?id=0B8OH6sFjVE1lVG9JUE1yR0lTckk
copy this to fastboot folder.
command is the same, just add htc_ in front of fastboot
jollywhitefoot said:
you need the htc_fastboot.exe file. fastboot.exe can't handle files this large.
Here is the link to download
https://drive.google.com/open?id=0B8OH6sFjVE1lVG9JUE1yR0lTckk
copy this to fastboot folder.
command is the same, just add htc_ in front of fastboot
Click to expand...
Click to collapse
thanks for this. it seemed to be going a lot better this time but unfortunately it still failed.
i'm sorry to bother you again (i really appreciate all your help so far)
i dont know if you would have a second to look at my error messages and see if you can make any sense of them? http://i.imgur.com/44wyLYp.png
marshedpotato said:
thanks for this. it seemed to be going a lot better this time but unfortunately it still failed.
i'm sorry to bother you again (i really appreciate all your help so far)
i dont know if you would have a second to look at my error messages and see if you can make any sense of them? http://i.imgur.com/44wyLYp.png
Click to expand...
Click to collapse
Sorry. No idea. Maybe you have a bad download for ruu.zip. I would try re-downloading it.
jollywhitefoot said:
Sorry. No idea. Maybe you have a bad download for ruu.zip. I would try re-downloading it.
Click to expand...
Click to collapse
it worked!!! the htc fastboot file was definitely the missing piece of the puzzle. you're a legend thank you so much!!!!

Help! possibly bricked my phone, RUU bypass cid check/reset modified flag

Hello, so I derped really bad here and believe I bricked my phone. I am really stressing out here as I was in the process of reverting my phone to stock due to an advanced replacement HTC sent me. If I dont get my device back to them I will be charged for the replacement phone.
I had an ATT phone that was been flashed to the developers version. I HAD s-off and an unlocked bootloader.
I was in the process of modifying the CID and MID to match the ATT version of the phone so I could RUU the phone back to ATT. I accidentally set the wrong CID of DWS_0001 as I typed a D instead of a C. My MID is OPJA11000 which I luckily got correct.
Thinking I had the correct CID I relocked the bootloader and turned S back on. I then when to run the RUU for ATT and of course it failed.
My big problem is the RUU wiped out my recovery partition and now get Recovery Partition not found.
To correct the issue I went to re-flash my unlock code that I had saved when I origionally unlocked the bootloader but received an oem unlock turn off error when doing so.
I now have a phone that is on a stock developer rom, has no recovery, has a bad CID, and will not boot as it has a Software status: Modified flag. I can access the download, RUU, and bootloader menus.
I tried an RUU.zip with the following file and had no success: RUU_HIMA_UL_L51_SENSE70_ATT_MR_NA_Gen_Unlock_2.11.617.15_Radio_01.01_U11440601_76.03.50611G_F_release_445910_signed_2_Rom
Down to the 500$ question, is there a way to reset the modified flag to boot into the os so I can check OEM unlock, is there a way to OEM unlock from the download, bootloader menues, or is there a way to force an RUU to run no matter the CID? The only other option I can think of is there a way to reflash/unflast the unlock_code.bin?
Any help would be greatly appreciated!!!!!
Is an XTC2Clip or Java Card my only solution?
You should try getting a new unlock token, I'm not sure it'd work but what else is there to lose? I also am not sure it'd be different than the original.
Just saw that you were unable to even try unlocking it, sorry sir
Sent from my HTC One M9 using Tapatalk
grim489 said:
You should try getting a new unlock token, I'm not sure it'd work but what else is there to lose? I also am not sure it'd be different than the original.
Just saw that you were unable to even try unlocking it, sorry sir
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
I would but I am unable to do so thanks to the OEM unlock option that is in the developer menu that I cant boot to to check.
Maybe you could just send it back like that? I myself can't think of anything to get you out of the situation you're in. I'm sorry :/
Sent from my HTC One M9 using Tapatalk
grim489 said:
Maybe you could just send it back like that? I myself can't think of anything to get you out of the situation you're in. I'm sorry :/
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
I'm guessing they will charge me full price (500$) for the advanced replacement due to the software issue now present. :/
To be honest if this was not fixable I'd rather see if I can return the advanced replacement itself and see if they will only charge me for shipping. Ill then just work on my cracked nexus till the new ones come out.
Im currently trying to get an RUU.zip file for 3.35.617.16 but cant seem to save the rom.zip file from the .exe with out it being corrupt. I've reading that you can modify the android-info.txt file and put in your own CID and MID numbers. In not 100% sure this will work even if I can successfully modify the android-info.txt.
I was able to repair one of the rom.zip files but the android-info.txt is completely blank.
Can anyone provide me with a template of a good android-info.txt file so I can recreate mine or even modify a 3.35.617.16 .zip file for me to see if its flash able with locked bootloader and S-on?
I don't think it'll work because it's modified, but I could be wrong. What were you exchanging it for , if you don't mind me asking?
Sent from my HTC One M9 using Tapatalk
I need to put in the CID of DWS_0001 and MID of OPJA11000 as it keeps failing the device check.
I figured it would need signing but Im trying for anything right now.
http://cloud.tapatalk.com/s/57ef3fb82a3ea/android-info.txt
Also it's 0PJA, the digit not letter. I wish you luck and I wish I could help
Sent from my HTC One M9 using Tapatalk
BrownEye02 said:
Im currently trying to get an RUU.zip file for 3.35.617.16 but cant seem to save the rom.zip file from the .exe with out it being corrupt. I've reading that you can modify the android-info.txt file and put in your own CID and MID numbers. In not 100% sure this will work even if I can successfully modify the android-info.txt.
I was able to repair one of the rom.zip files but the android-info.txt is completely blank.
Can anyone provide me with a template of a good android-info.txt file so I can recreate mine or even modify a 3.35.617.16 .zip file for me to see if its flash able with locked bootloader and S-on?
Click to expand...
Click to collapse
What you're trying to do is impossible with S-ON. RUUs are encrypted and therefore can only get unzipped by special methods*. That's why so many programs state they were corrupt although they're not. Therefore chances are high that the zip files you extracted are totally fine.
If you unzip them and re-zip them you break the encryption and the signature and a S-ON phone will never accept such a modified RUU which lacks the correct signature.
Try to find someone with a java card or an xtc clip. That way you might be able to re-S-OFF the phone and from there on you can correct the CID using fastboot.
* Latest 7-zip is capable of unzipping them with right click > 7-zip > open (the second one from above not the first) > #.
grim489 said:
http://cloud.tapatalk.com/s/57ef3fb82a3ea/android-info.txt
Also it's 0PJA, the digit not letter. I wish you luck and I wish I could help
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Thanks grim for the example!
My phone will not see the zip unless it is OPJA. If it has a zero it boots to normal downloader stating no file found.
Flippy498 said:
What you're trying to do is impossible with S-ON. RUUs are encrypted and therefore can only get unzipped by special methods*. That's why so many programs state they were corrupt although they're not. Therefore chances are high that the zip files you extracted are totally fine.
If you unzip them and re-zip them you break the encryption and the signature and a S-ON phone will never accept such a modified RUU which lacks the correct signature.
Try to find someone with a java card or an xtc clip. That way you might be able to re-S-OFF the phone and from there on you can correct the CID using fastboot.
* Latest 7-zip is capable of unzipping them with right click > 7-zip > open (the second one from above not the first) > #.
Click to expand...
Click to collapse
Yeah sadly that's what I figured with the zip. I only continued to try because I was only getting Android-info errors and not zip errors.
I did message one of the members that is listed on the Verizon form but I have not received a response yet. It was just yesterday so I just need to wait. But do you have any members you would recommend?
BrownEye02 said:
Thanks grim for the example!
My phone will not see the zip unless it is OPJA. If it has a zero it boots to normal downloader stating no file found.
Click to expand...
Click to collapse
In that case you didn't only mess up the CID. Normally it has to be 0PJAIMG not OPJAIMG.
BrownEye02 said:
I did message one of the members that is listed on the Verizon form but I have not received a response yet. It was just yesterday so I just need to wait. But do you have any members you would recommend?
Click to expand...
Click to collapse
@efrant owns a java card if I'm not mistaken. However he's not living in the US so I'm not sure whether he's able to help you.
BrownEye02 said:
I did message one of the members that is listed on the Verizon form but I have not received a response yet. It was just yesterday so I just need to wait. But do you have any members you would recommend?
Click to expand...
Click to collapse
Flippy498 said:
@efrant owns a java card if I'm not mistaken. However he's not living in the US so I'm not sure whether he's able to help you.
Click to expand...
Click to collapse
Unfortunately one cannot remote S-OFF with a clip or java card, as it needs to be plugged into the phone. You either need to find someone locally or send to someone with a card.
Sent from my HTC One M9 using Tapatalk
Flippy498 said:
In that case you didn't only mess up the CID. Normally it has to be 0PJAIMG not OPJAIMG.
@efrant owns a java card if I'm not mistaken. However he's not living in the US so I'm not sure whether he's able to help you.
Click to expand...
Click to collapse
I didn't change anything else besides the MID and CID. The only other thing that was done was attempting to flash the unlock code. I was running debloated stock developer prior to all of this. After changing the above I attempted to flash the RUU and that's it. Not sure how that would of been changed.
efrant said:
Unfortunately one cannot remote S-OFF with a clip or java card, as it needs to be plugged into the phone. You either need to find someone locally or send to someone with a card.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Yeah I would rather not ship my phone overseas to get fixed. The problem is no one was listed in Colorado on the thread so I still will probably have to ship it to someone in the states.
Would it be worth me trying to just buy one for myself? My biggest hesitation for doing this is there appears to be a lot of fakes on the web.
Sent from my SHIELD Tablet using XDA-Developers mobile app
BrownEye02 said:
Yeah I would rather not ship my phone overseas to get fixed. The problem is no one was listed in Colorado on the thread so I still will probably have to ship it to someone in the states.
Would it be worth me trying to just buy one for myself? My biggest hesitation for doing this is there appears to be a lot of fakes on the web.
Click to expand...
Click to collapse
Not sure what "worth it" would be for you, but I can tell you the $179 clip from CellCorner here is genuine: https://www.amazon.com/gp/aw/d/B012T05MPG?ref=olp_product_details. They are an official distributor.
Sent from my HTC One M9 using Tapatalk
Worth it is no response from anyone and my last resort. 175 is a lot better then 500$. Thanks for pointing me to a good one!!!!!
Sent from my SHIELD Tablet using XDA-Developers mobile app
BrownEye02 said:
I didn't change anything else besides the MID and CID.
Click to expand...
Click to collapse
If you misspelled the MID while you changed it you might have found the culprit.
Flippy498 said:
If you misspelled the MID while you changed it you might have found the culprit.
Click to expand...
Click to collapse
Ahhhhhhh!!!! That makes since. Didn't realise that's where it pulled it from.
Well, looks like my MID is wrong too. [emoji21]
Sent from my SHIELD Tablet using XDA-Developers mobile app
Well the phone is off to Ohap. He/she stated they could fix the CID and MID. Will update when I get it back.
SHE LIVES!!!!!! Ohap was able to unlock and s-off to get the phone booting again. I have correctly modified the CID and MID back to AT&T standards and successfully run the RUU. Now just cant figure out why the software status modified flag is still present. Starting a new thread for that. Thanks everyone for the help!!!!

Categories

Resources