[Q] GPE to stock to unlock - One (M8) Q&A, Help & Troubleshooting

Hello guys,
I purchased a second hand HTC One M8 which has been converted to GPE, unlocked bootloader and S-OFF. The phone is currently locked to the Vodafone network, so I assume it was previously a Vodafone branded device.
Now I need to get this phone unlocked because Im with another netowork, so I purchased an unlock code online which failed (they have always worked in the past). I got a refund from the seller and was told to try a different seller. Purchased a new one but it turned out to be the same code. I told the seller my story and was told I need to make sure I am on the latest official stock ROM. Maybe the previous owner entered an incorrect code too many times and disabled this whole thing altogether? I dont know.
Im not sure how a stock ROM would make a difference, but the phone is useless to me being locked to Vodafone so I guess its worth a try. Now heres where I need your help because Im a Nexus user so Im not too familiar with all these CIDS, MIDS, etc.
I have changed my CID to superCID, do I now just flash the Vodafone RUU? Or do I need to take further steps? I dont really need to change the MID aswell do I? I will not be staying on stock, I will most likely be returing to GPE or some AOSP ROM and I'd like to keep the bootloader unlocked and S-OFF.
Also are there any other methods to get this SIM unlocked? I have read the thread about using a generated dat file, but read that no longer works.
Thanks.

Follow the 'back to sense' thread in general first, then set CID to the Vodafone one, I assume UK), then flash the RUU

Hi,
Thanks. Is this the thread you are referring to?
I thought I could flash any RUU with superCID which is why I changed to that, but no problem I'll just change it over to Vodafone to be safe, it is VODAP001 for the UK version I believe.

You can use the unbranded EU RUU if you prefer, it's up to you
And yes, that thread

No what I meant was I thought I should be able to flash the Vodafone RUU using superCID without having to change to the Vodafone one...but nevermind I changed it over anyway.
But Im having some problems with this actually. I downloaded what I thought to be the Vodafone ROM from the HTC dev site, the file name is m8ul-3.4.0-g3c7a5c1.zip, I follwed the steps laid out in the going back to sense thread but I get an error message '24 parsing android-info fail', tried a few times as mentioned in the thread but same thing happens.
I then located a Vodafone RUU exe in this thread. That failed to even run as confirmed by another member, something to do with InstallScript.
So then I tried flashing the previous zip file with the htc_fastboot that you provided in the same thread, same error as before.
Any suggestions? Or do you know if there is a working Vodafone RUU available anywhere?

The file on HTC Dev is the kernel source, which is why that hadn't worked.
As for the RUU, it looks like it could be corrupt.
You first have to flash that ZIP in the back to sense thread to get the partitions corrected and then you can flash an RUU. I'd just use the EU one as (for a start) it works and it means you don't have all the carrier rubbish

Oh ok, I didnt realise I had to flash that before flashing an RUU, I just thought flashing any RUU would sort out the partitions.
I'll go ahead and flash the zip file and the EU RUU as I am unable to find a Vodafone one. But Im really not too bothered about the carrier crap anyway because as I say the only reason for going back to stock is to try and SIM unlock the device, and if doing that will really make a difference then it would most likely do it on the stock Vodafone ROM, but I dont know I could be wrong.
I'll let you know how I get on.

You can SIM unlock it regardless of ROM. Some people say flashing the RUU will sort everything out but, in my experience, I've had to flash the first ZIP and then the RUU to get it all working properly

Thats what I thought but it didnt work. The unlock code provider then told me to make sure I am on official stock ROM which is why Im trying to get the Vodafone ROM loaded on this phone. As Ive said I dont know how much of a difference it will make if any, but it is worth a try I suppose.
Anyway Ive had some problems flashing the EU RUU, I followed the guide and flashed the firmware zip which went all fine. Then I flashed the EU RUU provided in your guide, but it kept giving me errors towards the end - 51 partition update fail. Downloaded another RUU which gave me the same error, tried an RUU exe which also failed. Tried flashing a different firmware but I cant remember if it failed at that stage or at the RUU stage. Then I thought maybe the firmware is an old version from Kit Kat. I felt as if I didnt know what I was doing and should give up!
I then came across this thread and that person was doing it through TWRP backups which I thought I should maybe try. But I dont know Ive been at this for hours and currently without a ROM or recovery! I think Im gonna flash back to GPE until I know what to do.

Related

[Q] Unable to load ROM

Hi guys,
Hoping someone can help, have bricked my Australian Optus stock One X. I have tried to follow all threads related to loading stock or custom roms from fastboot and am unable to. I still have CWM recovery 5.8.2.7 touch installed.
I had previously rooted it and installed Android Revolution HD 5.1.0 and seemed to be fine but was unstable and would crash and reboot in certain apps. In trying to revert back to stock I stupidly formatted the SD card, DUMB ASS!
I have downloaded stock rom 1.29.401.7-DUO, all-in-one rootkit, and the ARHD ROM and have tried to either:
1) flash ARHD with bootloader still unlocked, doesn't work
2) follow reflashing stock process ie flash stock recovery, relock bootloader, then flash stock ROM, and am getting stuck on just reflashing the stock recovery. When I try to open stock recovery it takes me to a black screen with a red ! in a triangle, this is with the bootloader relocked.
If anyone is able to help an enthusiast noob like me I'd be very appreciative and would also be more than willing to donate for the trouble.
MAKE SURE you have exactly the right RUU for your phone, whatever the rom was on you were using, ie, 1.26, 1.28, 1.29, you need the same version of RUU, i discovered the problem trying to flash RUUs and after 2 days finally got the correct one, thats when i realised, unlike on other phones, you cant downgrade the One X and when recovering it seems to prefer the one that matches what you were using.
Also make sure youre cid is supported in that RUU, ie, HTC 001, TMOB 054, etc etc, mine can only accept 401 roms, so they must match exactly, until we can get S-Off this problem will remain, dont worry about recovery, so the guide on in case of disaster, you cant go wrong with it, relock your bootloader and get your RUU installed, from their update it to your latest ics version and then if you must reflash your cwm and root it.
Thanks for the info, graemeg. After downloading an RUU that was .exe file, I felt I was getting closer, as it was an AU Optus RUU. But it turns out that my current version is 1.28.980.10 and the RUU version was 1.26.980.3 and so yes I met with the non-downgrading issue.
It seems that there is not currently a stock 1.28.980.10 RUU at the moment, so might be using this as an ornament for much longer than I would have hoped/thought. Bummer.
agentorange82 said:
Thanks for the info, graemeg. After downloading an RUU that was .exe file, I felt I was getting closer, as it was an AU Optus RUU. But it turns out that my current version is 1.28.980.10 and the RUU version was 1.26.980.3 and so yes I met with the non-downgrading issue.
It seems that there is not currently a stock 1.28.980.10 RUU at the moment, so might be using this as an ornament for much longer than I would have hoped/thought. Bummer.
Click to expand...
Click to collapse
You can get 1.28.980.10 from htcdev downloads. I would link but I'm a new user, just filter by One X, Optus, and it's there.
Thanks again for the help. I have seen those files on htcdev website, but don't know how to use them
I don't know how to load a RUU that is not a .exe file...if anyone is able to assist, again, I would really appreciate it and will donate once up and running again.
Edit: I just wanted to add that I have tried to follow the thread that explains how to load/flash recovery and boot images via fastboot in command prompt, and have not been able to. So I don't think I'm a complete dumb ass, but do need someone with the knowledge and patience to guide me through it. Please!
First thing first, do you have the right RUU with you ?
If not, maybe this is the one for you : http://hoxroms.serveftp.com/RUU_END...Radio_1.1204.103.14_release_258004_signed.exe
second: do you have fastboot directory set up on your pc ? and htc usb driver too ?
Just starting the download now, I think that could be the RUU I've been looking for. Yes I have the drivers and fastboot directory. Will give this RUU a go and let you know, thanks for the quick reply, ckpv5!
Most important before you run the RUU, you need to:
1) have a stock recovery flashed to you your device first (I believe you already have one)
2) relock the bootloader - fastboot oem lock
3) run RUU, it should work.
THANK YOU!
ckpv5, thank you for the link to the updated RUU. Phone is functioning again, stock. Donation coming your way. Thanks for all your help. agentorange82.

[Q] Stock Recovery Question

Hey guys,
First post and thread, unfortunately. May have been done before, so sorry if that's the case (and if it is I guess a quick link can clear this confusion up!)
I've got a tmobile HTC One M8 running Android 4.4.4 with an unlocked boot loader, clockworkmod 6.0.4.8 with s-on.
New android update is out and while I'm not necessarily keen on updating it, the icon is annoying. As well, I originally rooted the phone for some apps and sorts that I don't even use and I'm mainly interested in just bringing the phone back to a stock recovery so I can unroot it.
Tried using the RUU posted but I believe due to the s-on and unlocked boot loader, it doesn't work for me. Step one is an error on it.
What can I do here to bring the phone back to stock recovery? I'm not 100% I made a backup before I put cwm on it. May have but for arguments sake let's say I didn't.
Any and all help is appreciated. thanks so much everyone.
Metilinos said:
Tried using the RUU posted but I believe due to the s-on and unlocked boot loader, it doesn't work for me. Step one is an error on it.
Click to expand...
Click to collapse
RUUs run fine with s-on, and I don't know why folks keep posting that it doesn't.
But you do however, need to relock the bootloader (since you are s-on) to run the RUU. Its absolutely mandatory (with s-on), and almost certainly why the RUU fails. THe RUU also needs to match your CID (but if you are properly trying a T-Mob RUU on a T-Mob version M8, that is not the issue), and further you cannot "downgrade" or run an older version RUU (older hboot) than what is on the phone.
But again, unlocked bootloader alone will make the RUU fail.
I haven't really seen a whole lot of s-off since firewater hasn't worked any longer. I kind of figured the unlocked bootloader was an issue as well. Mobile right now and working so not a whole lot I can do. Basically make sure the CID matches the RUU and relock the bootloader and I should be good to go? I picked up the T-Mobile RUU and I have a tmobIle M8, I didn't really think to check the CID, I just mainly assumed the failed run was from other sources.
Metilinos said:
I haven't really seen a whole lot of s-off since firewater hasn't worked any longer. I kind of figured the unlocked bootloader was an issue as well. Mobile right now and working so not a whole lot I can do. Basically make sure the CID matches the RUU and relock the bootloader and I should be good to go? I picked up the T-Mobile RUU and I have a tmobIle M8, I didn't really think to check the CID, I just mainly assumed the failed run was from other sources.
Click to expand...
Click to collapse
As long as you have the right carrier RUU, the CID will also match. I assume T-Mobile US? As there is also T-Mobile in Europe.
As long as its right carrier (CID) and not trying to run an older version RUU, the unlocked bootloader is the only problem.
Yes T-Mobile US.
I'll have to double check the RUU, I'm pretty sure I grabbed it off here from a different thread, but like you said, the unlocked bootloader obviously was an issue.
In the case, and I'm assuming it's rare, that it could be that, is there an easy way to tell whether or not I have the most current RUU?
Thanks a bunch, really appreciating the help. I've been kind of at a standstill with this and haven't really tried much in fear of killing the phone.
Metilinos said:
In the case, and I'm assuming it's rare, that it could be that, is there an easy way to tell whether or not I have the most current RUU?
Click to expand...
Click to collapse
Do you mean its rare to run the wrong version RUU? If so, I'd say no, its not rare at all. Folks are often not aware of the version requirement (with s-on, this requirement is bypassed with s-off) and try to run an "old" RUU.
All the T-Mob US RUUs are posted here: http://forum.xda-developers.com/showthread.php?t=2714456
3.32 is Android 4.4.4
4.20 is Android 5.0
3.32 is what I have at the moment. With android 5 coming over the air a week or so ago for myself and 4.4.4 being on the phone when I got it just a couple months back, that's what I guess I was insinuating by rare. But thank you a bunch for your help. Again it's very much appreciated. Obviously got myself in a little over my head here.

[Q] Accidentally flashed a GSM RUU onto my CDMA One M8.

Now rebooting the phone only takes me in to the bootloader. I cannot load into the stock recovery or TWRP, and I error out every time I try and flash an RUU.
I have contacted HTC support and they said to run the .exe version of the RUU for my phone, which gives me error 155 unknown error (I know it has to do with the partitioning).
Is there anything I can do to fix this or is my phone basically bricked/dead.
See if you can find the firmware.zip that corresponds to the RUU for your device. If so, then flash the firmware, then try the RUU again.
I'm not sure if this will work in this specific case. But its how other folks were able to resolve the partition issue going from GPE to Sense (GSM M8).
I assume you have s-off, since otherwise the "incorrect" RUU never would have run in the first place?
redpoint73 said:
See if you can find the firmware.zip that corresponds to the RUU for your device. If so, then flash the firmware, then try the RUU again.
I'm not sure if this will work in this specific case. But its how other folks were able to resolve the partition issue going from GPE to Sense (GSM M8).
I assume you have s-off, since otherwise the "incorrect" RUU never would have run in the first place?
Click to expand...
Click to collapse
Yes, I'm s-off. It was a total accident. Never meant to run it.
I've tried every combination of flashing I can think of.
I have downloaded the firmware and RUU from this thread: http://forum.xda-developers.com/showthread.php?t=2729173 but they did not work.
I can use my old m7 for now but its got a cracked screen
I'm so mad at myself for this.
EDIT: Now I'm looking I notice a combination of stuff on that thread I haven't tried. Guess I'll keep dicking around with it. Not much worse I can do to the thing now anyway.

[Q] Back to full stock with s-on

Hi guys,
need your help.
I have Europe M9, with S-ON.
Rooted it, and installed TWRP, installed custom rom.
How to revert it to full stock? I have sold the phone, and now buyer wants it back to way it were.
Thanks.
Thankfully it's pretty easy; just download your carrier specific RUU to restore to full stock. It's a Windows executable that completely wipes & return your phone to factory state.
I have bought it in Telenor Serbia it was on 1.32.401.15. Should I use any Europe RUU, or do I need to find one exact to match my carrier, and-or my firmware version?
sorry if being noob, but cannot understand this HTC's nonsense (s-on/s-off, cid, hboot...) thats the exact reason why I have sold it. to complicated for me...
I just want it up and running, and trust me, I will never EVER buy another HTC again.
acasmc said:
I have bought it in Telenor Serbia it was on 1.32.401.15. Should I use any Europe RUU, or do I need to find one exact to match my carrier, and-or my firmware version?
sorry if being noob, but cannot understand this HTC's nonsense (s-on/s-off, cid, hboot...) thats the exact reason why I have sold it. to complicated for me...
I just want it up and running, and trust me, I will never EVER buy another HTC again.
Click to expand...
Click to collapse
Since there are two different versions of your firmware and I don't know which one is the correct one for you I would suggest you to use this firmware and downgrade to 1.32.401.8. This works because the aboot has not been updated until now. The process itself is very easy:
Download the RUU
Rename it to 0PJAIMG.zip (that's a zero at the beginning not an O)
Copy the file on an external SD card that is formatted to fat32 and not bigger than 32 gb
Boot into download mode
Follow the instructions that are shown on your M9's screen
Congratulation you are now back on stock rom and firmware
You have to use either this way or the fastboot flashing method since there are no RUU executables for the european version.
Btw: No one here forced you to buy the M9. Since it's simply a matter of taste it's up to you which device you choose. I personally prefer HTC's user friendliness in regard to bootloader unlock and rooting (compare it for example with Samsung's Knox system). But this is not the right place for that debate.
Edit: Since my phone is S-OFF I'm not completely sure but you might have to relock your bootloader or step 5 might no work properly.
I have the same problem, i wanna know how to restore it to full stock, i need it just in case something happens to phone and i need to use my waranty. I'm also on telenor serbia. Any detailed instructions would be much appreciated. And one more thing, will i be able to recevie OTA updates even though its rooted ?
Djomla87 said:
And one more thing, will i be able to recevie OTA updates even though its rooted ?
Click to expand...
Click to collapse
Root by itself doesn't prevent OTAs, but changes to the recovery do. As far as I know, acquiring root (for this device) always involves flashing a custom recovery. So OTA aren't possible until the stock recovery is restored.
Do I need to have sd card, or can I flash it from pc using adb?
I have already tried this method, and fastboot gave me an error 22? Maybe I got wrong firmware. Will try again, thanks.
computerslayer said:
Root by itself doesn't prevent OTAs, but changes to the recovery do. As far as I know, acquiring root (for this device) always involves flashing a custom recovery. So OTA aren't possible until the stock recovery is restored.
Click to expand...
Click to collapse
Ok so how do i restore stock recovery?
You flash stock recovery zip that can be found on xda.
acasmc said:
You flash stock recovery zip that can be found on xda.
Click to expand...
Click to collapse
What version ?
As far as I know, there is only one. Search in forums.
This is what I get when try to flash from adb.
used the file from post on first page,
try this RUU: http://androidruu.com/getdownload.p...6.02.50306G_2_F_release_429340_signed_2_4.exe
I'm also interested if it's possible to go back to stock from a S-ON with RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe
Good to know basis
dondavis007 said:
I'm also interested if it's possible to go back to stock from a S-ON with RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe
Click to expand...
Click to collapse
If you are S-ON you can only flash a RUU for your carrier and device. If that's the correct RUU for your phone, it will do it.
iElvis said:
If you are S-ON you can only flash a RUU for your carrier and device. If that's the correct RUU for your phone, it will do it.
Click to expand...
Click to collapse
The question is where can you find correct RUU from specific carrier
So if you're an European open you can't really flash without s off?
Skickat från min HTC One M9 via Tapatalk
Djomla87 said:
The question is where can you find correct RUU from specific carrier
Click to expand...
Click to collapse
There is a RUU list in the General forum. Not all configurations have RUUs, unfortunately, as it has always been with HTC.
http://forum.xda-developers.com/one-m9/general/htc-one-m9-dump-t3060545
By far the easiest way for the inexperienced is to use the windows exe version linked to a few posts ago .
If you're on 1.32.401.15 then simply flash 1.32.401.17 using the exe version. Simply run windows program and follow on screen prompts .
Main limitation if you're S on is it will only allow upgrade that is to go to higher number as described .
I think there is also a 1.32.401.8 exe but that's an earlier version so if you tried to use that and you were on higher version such as 1.32.401.15 then it wouldn't allow unless you had obtained S off.
Sent from my HTC One M9 using XDA Free mobile app
One more thing, i received lates OTA update, but it wont instal because recovery isnt stock. I found stock signed, when i flash it will the phone factory reset or not ?

Relocked, OS won't boot

Hey so here's my situation:
Installed the CM Nightly on my AT&T One M9, didn't like it, so I tried to revert to stock. I didn't want to pay $25 to S-OFF so I just tried installing various RUUs, but none would work. I read somewhere that I needed to relock my bootloader in order for the RUUs to work, so I did that, and now my phone just boots to Recovery Mode. I've tried installing AT&T RUU 2.6.502.16 (which didn't work because my phone is on a more recent firmware) and reinstalling 2.11.502.18/flashing its 0PJAIMG.zip (which didn't work because it's apparently broken). I've even tried installing T-Mobile's 2.11.531.19 RUU, which of course didn't work because my CID doesn't match and I can't change it because I'm S-ON.
I realize I went about this very badly almost from the start--no stock backup in TWRP, etc. This is my first Android phone so I've been learning this as I go and I was a bit sloppy.
I'm pretty sure I'm screwed, at least until a new update comes out or the current AT&T RUU is fixed, but I'm wondering if there's something else I can try. Any ideas? Thanks.
StageProps said:
Hey so here's my situation:
Installed the CM Nightly on my AT&T One M9, didn't like it, so I tried to revert to stock. I didn't want to pay $25 to S-OFF so I just tried installing various RUUs, but none would work. I read somewhere that I needed to relock my bootloader in order for the RUUs to work, so I did that, and now my phone just boots to Recovery Mode. I've tried installing AT&T RUU 2.6.502.16 (which didn't work because my phone is on a more recent firmware) and reinstalling 2.11.502.18/flashing its 0PJAIMG.zip (which didn't work because it's apparently broken). I've even tried installing T-Mobile's 2.11.531.19 RUU, which of course didn't work because my CID doesn't match and I can't change it because I'm S-ON.
I realize I went about this very badly almost from the start--no stock backup in TWRP, etc. This is my first Android phone so I've been learning this as I go and I was a bit sloppy.
I'm pretty sure I'm screwed, at least until a new update comes out or the current AT&T RUU is fixed, but I'm wondering if there's something else I can try. Any ideas? Thanks.
Click to expand...
Click to collapse
I downloaded and flashed the 2.11.502.18 ruu from the HTC website with no problem. Ate you getting an error?
Edit: in my experience, if an ruu.exe starts to run and then never does (like you get the spinning wheel for a minute and then nothing) it's either a bad download or antivirus is blocking the file. But just to repeat...the exe on the HTC website works fine. I used it about three weeks ago.
Hm. Out of the myriad RUU.exes I've tried the most recent AT&T one was the only one I couldn't get to start, and when I tried installing it via .zip it would just restart the phone and nothing else. That in combination with other posts I've seen on this forum saying it's borked (although I might have misread the numbers/misinterpreted the jargon) just lead me to think it was broken. I'll redownload and try again. Thanks!
Edit: Well, it worked! I don't know what I was doing wrong. Thanks a lot!

Categories

Resources