Related
Hi guys
I got the Asian pacific version of the Htc one x and I unlocked its bootloader, rooted and flashed clockwork mod recovery. I copied the Miui rom to the root of the device but I unblugged the cable while it was copying and I didn't notice that. so I went to mount settings formated the system without backing the system up and when I tried to install miui off course it says installation aborted. anywho I tried to download RUU for the Asian version and when I install it after 6% it gives me this error:
[155] unkown error
soo I decided to lock it again and to restore it's recovery, I found a guy from Meddile east posting a recovery so I took it and flash it (I don't know wheither it's recovery for ME devcices, Asian or both).
any who after 6% I get a new error
which is this one:
[131] customer ID error.
I thought the problem because I chosed the rong RUU so I tried to get the cid by typing
fastboot getvar cid
and it says: CID: NONE
tried to type :
adb shell getprop ro.cid
it says device wasn't found
please help me , I've been trying to solve this problem for three days now.
sorry for my bad english
thanks
There are two ways here:
1) do you still want to flash a MIUI ROM ?
You need to re-unlock the bootloader and flash this recovery http://xda.richardtrip.org/HTC/reco...kwork-touch-5.8.3.1-endeavoru_fixedadbusb.img
It will mount your sdcard once you are in recovery, so you can put your MIUI ROM in it and flash the ROM.
2) do you want to flash back to stock ?
Check your software version, in fastboot mode : fastboot getvar version-main
then only can confirm the right RUU for you
ckpv5 said:
.
2) do you want to flash back to stock ?
Check your software version, in fastboot mode : fastboot getvar version-main
then only can confirm the right RUU for you
Click to expand...
Click to collapse
Hello
I'm having the same problem, can't fin the right RUU to get back to stock rom. I did the command " fastboot getvar version-main", and i get this info:
version-main: 2.17.65.2
But google does'nt seem to find a RUU with this number.
What RUU should i search for? I tried so many version, but none is right I'm so tired of trying, please help!
anyone? :crying:
Hi,
Does anyone have stock jelly bean one X rom backed up with CWM? I really need it
What's your cid and main version
Fastboot oem readcid
Fastboot getvar version-main
HTC__032
version-main: 3.14.401.27
http://forum.xda-developers.com/showthread.php?t=1975140
You an check there for a nandroid backup. it does not have to match your CID. any 3.14.401 should work.
Or else here is your RUU
http://androidfiles.org/ruu/securek...Radio_5.1204.162.29_release_298897_signed.exe
Oh! There is RUU!! Had no ide, this is something new?
No its not new... Do you know how to install it ?
You put the phone in the bootloader and lock the bootloader
Fastboot oem lock
Then you keep the phone in the bootloader and execute the ruu with admin rights (click the ruu.exe with the right mousebutton)
Hi,
I still haven't got an OTA JB upgrade for my HTC One X, so I decided to update it myself based on the information on this forum.
I downloaded and ran the right RUU for my CID. After an initial error (and some research which suggested I needed to be on a higher hboot version), I upgraded the firmware to 1.39 and ran it again. The RUU failed with an error 159 which indicates that the version on the device is higher than the one I was trying to install. Then it asked me to run through some recovery steps, tried to update and failed again with the same error. It also indicated that the recovery was successful.
Now the phone is stuck on the splash screen and simply doesn't boot. I rebooted into fastboot mode and did a factory reset but doesn't seem to help.
Any help or pointers to information is appreciated. I'm probably completely wrong, but my guess is that the firmware version is too high for the ROM it is currently running - is this right?
Thanks,
Scanner
post the result of the following:
Code:
fastboot getvar version-main
fastboot getvar cid
this is what I get -
Code:
C:\AndroidSDK\sdk\platform-tools>fastboot getvar version-main
version-main: 3.14.401.31
finished. total time: 0.010s
C:\AndroidSDK\sdk\platform-tools>fastboot getvar cid
cid: HTC__001
finished. total time: 0.011s
Fixed.
I used the 3.14.401.27 RUU originally - I think this was incompatible with hboot 1.39.
3.14.401.31 seems to work.
Cheers,
Scanner
i just bought HTC M8 Days ago but it was pre rooted and on the 5.0.1 i cant update it to marshamllow
it S-Off and when i try to update it says you have the latest update
Software number
4.18.708.12
i tried to install OTA Flash via stock recovery but i got error
how i updaate manually or enable OTA's
dont wanna root now
please help me here
You can't install OTA on rooted ROM ... it needs pure non-rooted stock ROM.
You can try to restore only the system partition from non-rooted backup.
You can get the backup and stock recovery for 4.18.708.12 here : http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
i deleted root before doing any thing
can i do it without rooting or unlocking bootloader because i dont know how to do it on HTC Phone and those CID and stuff really bug me out
itried flashing ota with stock recovery got this error
http://prntscr.com/bivh4o
whats wrong here ?
Why on post #1 you said you have HKG 4.18.708.12
But in your screenshot you tried to install EU 6.12.401.4 OTA
and it failed because your stock recovery is TMOB US.
Post here fastboot getvar all result without serial & imei no.
We need to make sure the correct version that you have.
ckpv5 said:
Why on post #1 you said you have HKG 4.18.708.12
But in your screenshot you tried to install EU 6.12.401.4 OTA
and it failed because your stock recovery is TMOB US.
Post here fastboot getvar all result without serial & imei no.
We need to make sure the correct version that you have.
Click to expand...
Click to collapse
which one shoud i download
look at this photo
https://scontent-cai1-1.xx.fbcdn.ne...=ff0997ed8a4598b2c6cfe73d1dc0fc42&oe=576EED9B
iDuc said:
which one shoud i download
look at this photo
https://scontent-cai1-1.xx.fbcdn.ne...=ff0997ed8a4598b2c6cfe73d1dc0fc42&oe=576EED9B
Click to expand...
Click to collapse
The photo is not helpful enough.
One more time I request for fastboot getvar all result.
You may need this : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
Htc one m8 not getting the OTA marshmallow
Hey i have htc one m8 running 4.4.4 and i am not getting the OTA update so i searched ur site and first of all i run a command fastboot getvar it says that my phone version is 0P6B130 and carrier is T-mobile so i downloaded the ruu from htc.com for t mobile and try to install but nothing happens and then i searched more and more about mid and cid i installed a app from playstore it shows main cid is T-MOB010 but i red it in detail its shows two mids and two cids.my bootloader version is 3.19.0.0000 and s-off and its locked and status is official.
maincid:Htc_001
Modelid:0P6B10000
Bootloader:3.19.0.0000
Ro.cid:T-MOB010
Ro.mid:0P6B13000
I just wana update my phone to official marshmallow update dont wana root it.plz guide me or give me link for OTA update for my phone so i can install through its stock recovery. Thanks in advance
Demigodlovesu said:
Hey i have htc one m8 running 4.4.4 and i am not getting the OTA update so i searched ur site and first of all i run a command fastboot getvar it says that my phone version is 0P6B130 and carrier is T-mobile so i downloaded the ruu from htc.com for t mobile and try to install but nothing happens and then i searched more and more about mid and cid i installed a app from playstore it shows main cid is T-MOB010 but i red it in detail its shows two mids and two cids.my bootloader version is 3.19.0.0000 and s-off and its locked and status is official.
maincid:Htc_001
Modelid:0P6B10000
Bootloader:3.19.0.0000
Ro.cid:T-MOB010
Ro.mid:0P6B13000
I just wana update my phone to official marshmallow update dont wana root it.plz guide me or give me link for OTA update for my phone so i can install through its stock recovery. Thanks in advance
Click to expand...
Click to collapse
if the first cid and mid is the current now you can't flash Tmobile RUU
( there is a simple fix for this issue as you said your device is s-off but i'm afraid to say it,then you screw up )
so post the result of fastboot getvar all ( after removing serial and imei numbers ) to be certain what you need to do
and don't use an app to read cid and mid
Ok.i dont know how to add a image there so i am writing it
Version Bootloader 3.19.0.0000
VersionBaseband:1.21.21331147A1.19_2g
version Cpld:none
Version main: 3.28.401.6
Version misc pvt ship s-off
Meid 00000000000000
Product m8_ul
Platform htcBmsm8974
Modelid 0P6B13000
Cidnum 11111111
Partion layout generic
Security off
Buildmode SHIP
boot mode fastboot
Commitno-bootloader df77f8b7
Hbootpreupdate 11
Gencheckpt 0
Demigodlovesu said:
Ok.i dont know how to add a image there so i am writing it
Version Bootloader 3.19.0.0000
VersionBaseband:1.21.21331147A1.19_2g
version Cpld:none
Version main: 3.28.401.6
Version misc pvt ship s-off
Meid 00000000000000
Product m8_ul
Platform htcBmsm8974
Modelid 0P6B13000
Cidnum 11111111
Partion layout generic
Security off
Buildmode SHIP
boot mode fastboot
Commitno-bootloader df77f8b7
Hbootpreupdate 11
Gencheckpt 0
Click to expand...
Click to collapse
Are you located in US and on T-Mobile network ?
If no, I suggest you to change the MID to EU MID 0P6B10000 then install EU Marshmallow RUU.
Some say once you have SuperCID, there is no need to change MID as SuperCID will override MID but in my experience that will never happen (flashing a modded firmware.zip is different as it has almost all MID in its android-info.txt). Unless you MID is SuperMID, you need to change MID to EU if you want to install EU RUU.
You can follow this guide to change MID - https://forum.xda-developers.com/showthread.php?t=2708581
then install RUU - https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
If yes, in US and on T-Mobile network, you need different approach.
I am in pakistan
Demigodlovesu said:
I am in pakistan
Click to expand...
Click to collapse
Then go for the option that I mentioned earlier.
First - change MID
Second - install RUU
Change MID
What you need to do .. boot to bootloader and install TWRP - maybe version 2.8.7.0 will do
https://dl.twrp.me/m8/
after you install TWRP - boot to recovery
Mount - system
then open command prompt from your adb/fastboot folder
then type
adb shell
follow by
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
don't write yourself the code, copy and paste
then type exit
select reboot menu, select bootloader
then install RUU
Edit : your bootloader is locked, relocked or unlocked ? If locked and relocked, you can't fastboot flash the TWRP in normal way.
Download this : https://forum.xda-developers.com/showpost.php?p=70439093&postcount=412
No worry about the OS no. that will be changed later once you install RUU
fastboot oem rebootRUU
fastboot flash zip 0P6BIMG.zip
fastboot reboot-bootloader
then follow with the above to change MID
Install RUU
Follow this - https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
There is something i didnt mention earlier i have ruu.exe for Tmobile htc one m8 which i downloaded from htc.com and when i try to install it nothing happens why is that?
Demigodlovesu said:
i have ruu.exe for Tmobile htc one m8 which i downloaded from htc.com and when i try to install it nothing happens why is that?
Click to expand...
Click to collapse
Not enough info to say, for sure.
Which RUU number?
Exactly where does it get stuck? Any error messages?
After double clicking the ruu the installaion wizard pops up and after selecting the next option the installion bar goes to full and after that installion wizard vanishes and nothing happens.
Demigodlovesu said:
After double clicking the ruu the installaion wizard pops up and after selecting the next option the installion bar goes to full and after that installion wizard vanishes and nothing happens.
Click to expand...
Click to collapse
You didn't answer all the questions, what RUU number?
6.20.531.5
Demigodlovesu said:
6.20.531.5
Click to expand...
Click to collapse
RUU problems are usually on the PC end. Try a different USB port, or different cable. Try to re-install HTC Sync and HTC drivers.
Thanks man.you are a great help ?
I managed to run a ruu.now it is giving a error 155 unkown error and its says please find a correct ruu?
Guys, my htc one m8 tmobile op6b130 ( bootloader looked, s-off) current software 4.16.1540.8. ... It does not install the update and says that i must revert back to original system software because it is modified version.
so please guide me how to get it done.. how do i install the update. Thanks
What do you mean by software number (where are you reading the nubmer)? Best thing to go by, is the OS number listed on the bootloader screen.
Also, an OTA will fail if the phone is rooted, custom ROM, or even unrooted (needs to be a never rooted stock ROM).
If you know how, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
Otherwise, did you change the CID or MID (and know what they currently are)?
Bootloader screen is like
Software status official
***locked*** S -off
cid -11111111
OS 4.16.1540.8
The model written at rear bottom of my htc is Op6b130 .
i get update with a number 4.17.1540.9 which does not install.
Thats the real confusion with me .. so please tell me the way how do i install the next updates.
mfaizi16 said:
Bootloader screen is like
Software status official
***locked*** S -off
cid -11111111
OS 4.16.1540.8
The model written at rear bottom of my htc is Op6b130 .
i get update with a number 4.17.1540.9 which does not install.
Thats the real confusion with me .. so please tell me the way how do i install the next updates.
Click to expand...
Click to collapse
The phone is heavily modified. It has some point been rooted, SuperCID (11111111) and had the US Developers Edition (4.16.1540.8) firmware and/or RUU applied.
Do you know the history of these mods; did you do them, or did someone else mod the phone?
Can't say for certain, unless I know more details. But the easiest way to update to the latest (MM) version may be to flash 6.12.1540.4 firmware, then flash the 6.12.1540.4 RUU.
I did not do anything like that. I got my htc in this form.
so if MM update is better. Can you please tell me the procedure of installing firmware and ruu file as you said. I would be very grateful to you for this.
Would this procedure be right for me?
https://forum.xda-developers.com/ht...uide-htc-one-m8-to-developer-edition-t3331854
mfaizi16 said:
Would this procedure be right for me?
https://forum.xda-developers.com/ht...uide-htc-one-m8-to-developer-edition-t3331854
Click to expand...
Click to collapse
Yes, that would actually work, and describes what I was talking about. Nice work finding it yourself!
I'm not sure whether you need to change the MID or not. CID is fine to run the 6.12.1540.4 firmware and RUU. And SuperCID will actually bypass the MID in some situations (but not all). Plus, with the info given so far, I can't tell what the current MID is (it may already have been changed).
If you do need to change the MID, you will also need root. So that would be more steps.
So my advice is to first skip the steps of changing CID and MID. Just go to the steps of flashing the 6.12.1540.4 firmware and RUU. If the firmware fails due to wrong MID, it will tell you that via an error message; and we can tackle that issue if it comes up. But if it works on the current MID, then we've saved some steps.
Best (most accurate) way to determine the current MID, is to do command: fastboot getvar all
Then post the output (delete IMEI and serial number before posting).
This will also give us a lot more useful info on the device.
You'll need to use fastboot anyway (for the guide you linked), if you don't already know how. So you may as well figure it out now. The command should also work with the htc fastboot given in the thread you linked, but would be: htc_fastboot getvar all
in fastboot getvar all ... i got
version bootloader: 3.19.0.0000
version baseband: 1.24.21331147A1.09G
version cpld: none
version microp: noone
version mics: pvt ship s-off
meid: 00000000000000
Os : 4.16.1540.8
product: m8_ul
platform: hTCBmsm8974
modelid: OP6B13000
cidnum: 11111111
partition layout: generic
security: off
buld mode: ship
boot mode: fastboot
mfaizi16 said:
in fastboot getvar all ... i got
version bootloader: 3.19.0.0000
version baseband: 1.24.21331147A1.09G
version cpld: none
version microp: noone
version mics: pvt ship s-off
meid: 00000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: OP6B13000
cidnum: 11111111
partition layout: generic
security: off
buld mode: ship
boot mode: fastboot
Click to expand...
Click to collapse
Good to go with 6.12.1540.4 flashing from the guide you linked
Flash the firmware.zip in RUU mode then reboot to bootloader make sure the new os number is 6.12.1540.4 then proceed to flash the RUU.exe
Good luck
Sent from my HTC M8 using XDA Labs
do I need to change Cid & Mid?
when i typed adb.exe shell .. it gave me error that no device is there .
although it showed me my serial number when typed adb devices. it ran fine.
but what's the problem with adb.exe shell?
secondly, is it ok to jump from 4.16.1540.8 to directly 6.12.1540.4?
mfaizi16 said:
do I need to change Cid & Mid?
when i typed adb.exe shell .. it gave me error that no device is there .
although it showed me my serial number when typed adb devices. it ran fine.
but what's the problem with adb.exe shell?
Click to expand...
Click to collapse
no need to change anything you have supercid and the right mid,it will pass the check
it's "adb shell" not "adb.exe shell"
---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------
mfaizi16 said:
secondly, is it ok to jump from 4.16.1540.8 to directly 6.12.1540.4?
Click to expand...
Click to collapse
yes but use the steps in the guide flash firmware.zip then flash the RUU.exe
While flashing ruu file, when I typed fastboot flash zip rom.zip
It said that targeted maximum download reported 1825********* bytes.
And my pc stucks there and htc stuck there with htc logo..
So what do i do now?
mfaizi16 said:
While flashing ruu file, when I typed fastboot flash zip rom.zip
It said that targeted maximum download reported 1825********* bytes.
And my pc stucks there and htc stuck there with htc logo..
So what do i do now?
Click to expand...
Click to collapse
try another usb port ( use usb 2 not 3 ) and make sure the drivers are installed properly
mfaizi16 said:
While flashing ruu file, when I typed fastboot flash zip rom.zip
It said that targeted maximum download reported 1825********* bytes.
Click to expand...
Click to collapse
You need to use the htc_fastboot to flash the RUU, as indicated in the guide you linked (and required files downloaded from there as well). The "generic" Android fastboot can't handle files that big.
Although, you should drop the ".exe" (indicated in the guide) from all the fastboot commands. I've never seen ".exe" included on fastboot and adb commands, and it will probably cause you an error like it did when flashing firmware. So the command should be:
htc_fastboot oem rebootRUU
htc_fastboot flash zip rom.zip
---------- Post added at 09:51 AM ---------- Previous post was at 09:47 AM ----------
mfaizi16 said:
secondly, is it ok to jump from 4.16.1540.8 to directly 6.12.1540.4?
Click to expand...
Click to collapse
Yes, that is fine. Which is why I told you to do it. If anything else needed to be done, I would have indicated that.
RUU doesn't need to be installed in sequence, meaning you can skip a version(s). RUU is different from OTA, as OTA typically does need to be installed in sequence.
With s-off, you can even go backwards with RUU. Which is also something you can't do with OTA.
while flashing firmware , it first said 'failed' and then automatically came with 'finished and time' .
When i went to ruu .. i first used htc_command .. but it said that ' this command is not in internal and external blaa blaa'. So i went without htc_ and got stuck and waited about half hour for that. Then , knowing nothing i did factory reset with wipe cache to restore my phone back to 4.16.1540.8.
Are there any pre-requisites that phone shold be unlocked and rooted (as i saw some videos on youtube)?
My phone is s-off, bootloader locked and no root access.
mfaizi16 said:
while flashing firmware , it first said 'failed' and then automatically came with 'finished and time' .
Click to expand...
Click to collapse
If it gave a message about "flush image immediately" this just means you need to flash the firmware again (needing to flash 2 times is normal and expected).
If the firmware installed correctly, you will see OS 6.12.1540.4 on the bootloader screen, and also see 6.12.1540.4 for "version-main" if you do fastboot getvar all.
You must have 6.12.1540.4 firmware properly installed, in order to flash the RUU.
mfaizi16 said:
When i went to ruu .. i first used htc_command .. but it said that ' this command is not in internal and external blaa blaa'.
Click to expand...
Click to collapse
You are getting that message, since you are not executing the command from the folder where htc_fastboot.exe is located. After you download htc_fastboot from the thread you linked, open Command Prompt in the folder (Left Shift + Right Mouse Click) and run the commands.
Leaving off the "htc" means you are trying to use the "generic" fastboot tool (fastboot.exe). Which would also confirm the fact you are probably running the command from the wrong folder. Again, using the regular fastboot will never work, since it can't handle the file size of the RUU.
mfaizi16 said:
Are there any pre-requisites that phone shold be unlocked and rooted (as i saw some videos on youtube)?
My phone is s-off, bootloader locked and no root access.
Click to expand...
Click to collapse
You mean prerequisites for the RUU? If so, saying bootloader unlocked and rooted are prerequisites is false and incorrect. If you saw it on a YouTube, you are confusing RUU with something else.
Bootloader locked is normally (s-on) a requirement for RUU. But since you are s-off, it will run with the bootloader unlocked, locked or relocked.
Root has no effect on RUU. RUU will run, whether the phone is rooted or not.
---------- Post added at 11:43 AM ---------- Previous post was at 11:41 AM ----------
mfaizi16 said:
Then , knowing nothing i did factory reset with wipe cache to restore my phone back to 4.16.1540.8.
Click to expand...
Click to collapse
What exactly are you trying to "restore" or accomplish with this? It's not clear you have even installed anything past 4.16.1540.8, to begin with.
Finally did it successfully!
Thank you everyone for guiding me.
redpoint73 said:
What do you mean by software number (where are you reading the nubmer)? Best thing to go by, is the OS number listed on the bootloader screen.
Also, an OTA will fail if the phone is rooted, custom ROM, or even unrooted (needs to be a never rooted stock ROM).
If you know how, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
Otherwise, did you change the CID or MID (and know what they currently are)?
Click to expand...
Click to collapse
Hi I can see you are kind on HTC M8. Can you help me? My phone don't see updates. It sprint version.
The was changed to super cid. HTC sync manager don't recognise it Nobody from HTC can help me. They don't know what to do.
pablo_com said:
Hi I can see you are kind on HTC M8. Can you help me? My phone don't see updates. It sprint version.
The was changed to super cid. HTC sync manager don't recognise it Nobody from HTC can help me. They don't know what to do.
Click to expand...
Click to collapse
If you know how, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
Basically, Sprint (and most US carrier versions of the M8) won't update if not connected to that actual US carrier (Sprint, in your case). Also, you can NOT "modify" the Sprint version to make it another version (such as Euro), and the reason for that is that the Sprint version you will radio brick the device doing this! So don't try it!
You can update using the RUU meant for the Sprint M8 (and only the RUU meant for the Sprint M8, for the reason mentioned above). Whether you need to update or not (by RUU) depends on what it says in the getvar info I asked for above.