[Q] Variant System version - Unable to Update *solved* - HTC Sensation

Hey guys,
today I wanted to debrand my HTC Sensation z710a from Bell Mobility (Canada) to an unbranded version.
Some weeks ago I set my bootloader to S-OFF with revolutionary.
To perform this all, I used this tutorial:
http://www.htcinside.de/htc-sensation-branding-entfernen-so-gehts/
based on: http://forum.xda-developers.com/showthread.php?t=1193033 (Method 1)
To change the CID I did this:
Download the adb tools from here
Extract them to C:\adb
start cmd as an administrator
adb devices (to check if the phone is connected)
adb reboot-bootloader
fastboot getvar cid (I got BM___001)
fastboot oem writecid HTC__001 (for unbranded EU)
fastboot reboot-bootloader
fastboot getvar cid (I got HTC__001)
After that I pick up the desired RUU:
RUU_Pyramid_HTC_Europe_1.50.401.1_Radio_10.56.9035.00U_10.14.9035.01_M_release_223042_signed.exe
I connected the phone to my computer (charge only, no USB debugging) and ran the setup.
The first conspicuity:
During the progress (sending) it aborts with an ERROR [130] : MODEL-ID-ERROR
I cant explain why, because the set CID is available in the android_info.txt
So I changed the CID to superCID (11111111) as the following:
start cmd as an administrator
adb devices (to check if the phone is connected)
adb reboot-bootloader
fastboot getvar cid (I got HTC__001)
fastboot oem writecid 11111111 (superCID)
fastboot reboot-bootloader
fastboot getvar cid (I got 11111111)
After that the flash progress was successful and I set the CID back to HTC__001
I set up my phone with minimal settings (wifi, google account sync) and checked for new updates (ota).
It looks because I got this:
But after verifying I got this:
I try to fix this with this:
- reboot my phone -> same
- set the CID to HTC__102 (unbranded Germany) -> same
- set the CID to superCID -> I got a small update: Make more space application
- after downloading and installing this small update, there are no more updates available
This is curious too:
I downloaded the app "terminal emulator" and ran the command "getprop ro.cid" to readout the set CID.
With set superCID -> it shows BM___001 (thats the original branded cid)
If I have the CID HTC__001 or HTC__102 it shows the correct cid in the output, but with supercid, it shows the branded cid.
My question now is why the OTA update error message appear?
The output of "fastboot getvar cid) bootloader show the correct CID (HTC__001 or HTC__102) and I used an appropriate RUU where the CIDs are included in android_info.txt
And why cant I flash the RUU with HTC__001 or HTC__102 ?
All I want is to:
- debrand my HTC Sensation (with branding from Bell Mobility) -> done?
- have an unbranded cid (HTC__001 or HTC__102) -> done?
- have an unbranded RUU -> done
- get OTA updates and install them successfully -> fail
I would be very happy if someone can help me (quick)
Kind regards
@@RON
EDIT: Do I have to change the MID? -> "fastboot getvar mid" shows "PG5811000"
The android_info.txt contains this:
Code:
modelid: PG5813000
cidnum: HTC__001
cidnum: HTC__E11
cidnum: HTC__032
cidnum: HTC__102
cidnum: HTC__Y13
cidnum: HTC__203
cidnum: HTC__405
cidnum: HTC__N34
cidnum: HTC__304
cidnum: HTC__A07
cidnum: HTC__016
mainver: 1.50.401.1
hbootpreupdate:12
DelCache:1
So its different ... I think, this is the key reason.
In my optinion, it works with superCID, because a set superCID ignores the MID and CID. So die flash progress of the RUU works, but the update will fail, because the MID is different
My idea would be to edit the MID of my HTC Sensation or is this a bad idea?
Short summary for MID:
modelname=z710e -> MID=PG8513000 -> HTC Sensation (Europe)
modelname=z710a -> MID=PG8511000 -> HTC Sensation (4G) (America/Australia)
modelname=z711e -> MID=PG8511001 -> HTC Sensation XE (Europe)

Yesterday I edited my question a lot, so maybe its a bit confising
I have an HTC Sensation 4G (z710a) with branding and would like to put an unbranded RUU (unbranded Europe) on it.
I changed the CID from BM___001 to HTC__001, but its obviously not enough, because my model id (MID) is different to the ROM.
MID=PG8513000 -> HTC Sensation (Europe) -> listed in android_info.txt
MID=PG8511000 -> HTC Sensation (4G) (America/Australia) -> my MID, not listed in android_info.txt
My current question is, if there would be a problem, if I change the MID of my phone?
(I would use the command "fastboot oem writemid PG8513000")
I guess that if:
- I change the MID in android_info.txt in RUU, I could flash the RUU without superCID -> but cant install OTA updates, because MID is different to OTA
or:
- I change the MID on my phone, I could flash the RUU without superCID, too -> get and install OTA updates, because CID and MID are matching with the update (the way I prefer)
Am I correct?

Well guys, changing the MID requires the ENG HBOOT.
I found it here:
http://forum.xda-developers.com/showthread.php?p=32448846
After flashing ENG HBOOT, I was able to run this command:
fastboot oem writemid PG8513000
So I changed my MID and now I have an European HTC Sensation z710e instead of z710a (for America/Australia)
After that I was able to flash the RUU (without superCID, because CID and MID matches):
RUU_Pyramid_HTC_Europe_1.50.401.1_Radio_10.56.9035 .00U_10.14.9035.01_M_release_223042_signed.exe
For testing I flashed an older version of Gingerbread to verify the OTA update ability and it works fine :victory:
As a result I converted my z710a to z710e to use an unbranded HTC stock RUU including OTA updates
Looking for ENG HBOOT ??? -> look at this attachment

@@RON said:
Well guys, changing the MID requires the ENG HBOOT.
I found it here:
http://forum.xda-developers.com/showthread.php?p=32448846
After flashing ENG HBOOT, I was able to run this command:
fastboot oem writemid PG8513000
So I changed my MID and now I have an European HTC Sensation z710e instead of z710a (for America/Australia)
After that I was able to flash the RUU (without superCID, because CID and MID matches):
RUU_Pyramid_HTC_Europe_1.50.401.1_Radio_10.56.9035 .00U_10.14.9035.01_M_release_223042_signed.exe
For testing I flashed an older version of Gingerbread to verify the OTA update ability and it works fine :victory:
As a result I converted my z710a to z710e to use an unbranded HTC stock RUU including OTA updates
Click to expand...
Click to collapse
Thanks a lot @@RON.. Your splendid idea inspired me to do the same with my Asian HTC Amaze. I changed the mid to that of tmobile amaze and was able to successfully overcome the 'variant system' notification and update the firmware.

Related

[Q] Problems updating my Sensation 4G

Hi! This is my first post.
I have a HTC Sensation 4G and I cannot update the firmware.
My CID PG5811000
and MID BM___001
I read the post http://forum.xda-developers.com/showthread.php?p=21481563 And I got the same problem like the user AlphaX
But when I reboot my HTC to try to install I got a wrong MID message.
Any ideas?
Send HTC a mail with your problem to get a update any time.
Mit freundlichen Grüßen
would HTC help people who unlock the phone by themself?
I have S-Off and installed Insert Coin 4.06 Android 4.0.1
I tried to get SuperCID and it doesn't change.
Any ideas?
BTW. I wrote to HTC giving my serial number, CID and MID.
When I turn on my phone into Fastboot mode I got the next information
*** LOCKED ***
PYRAMID PVT SHIP S-OO RL
HBOOT-1.23.0000
RADIO-10.12.9007.21_2M
eMMC-boot
So, the "LOCKED" at the beginning loks weird.
Each time I enter to fastboot, try to look for a PG58 file
I'm still looking at google (and falling on xda forums )
But any help will be welcomed
Hi,
You can add your CID to the Firmware.
Try this:
1. Check your CID using fastboot getvar cid and MID using fastboot getvar mid or fastboot getvar cid
2a. If your CID and MID are supported by default, navigate to point 3.
2b. If your CID or MID is not supported by default, do this: (you do it at your own risk)
2c. Open PG58IMG.zip (don't extract it)
2d. Open android-info.txt in text editor
2e. Add your cidnum: <your CID> or modelid: <your MID> to the list, save file and close archive
3. Place PG58IMG.zip on your SD card
4. Boot your device holding power button + vol down button
5. Follow instructions on the screen
I hope it works
"LOCKED" means:
You're locked out of some of the most advanced fastboot commands. But that's it.
You still have S-Off. ADB will still work. You can flash ROM's.
Dav375
I got SuperCID!!!!
using fastboot I did it
./fastboot-mac oem writecid 11111111
Then I download the firmware from http://db.tt/EjYujYj7 (http://forum.xda-developers.com/showthread.php?t=1412618&page=96) and rebooting my HTC Sensation the update was successful!!!!
Now I hope to install new ROMs with ICS.

Cid issues , for ota update ics for xe

HI ALL
I HAVE SUPER CID 11111111
AND MY OTA UPDATE FOR ICS IS FOR HTC__622
SO I AM NOT ABLE TO UPDATE IT FROM BOOTLOADER
I HAVE BULID 1.77.708.104
S-OFF
CAN ANY ONE TELL HOW TO CHANGE ME DEVICE CID NO. TO HTC__622
SO I CAN GO ON WITH THE UPDATE
THANKS IS ADVANCE
Code:
fastboot oem writecid HTC__622

How to restore to stock CID HTC_N34 (S-OFFed by XTC CLIP) to receive OTA

As i saw there is no thread for the Desire-S to say how to restore the stock CID.
My CID was HTC__N34 and after been S-OFFed by XTC CLIP my CID became from stock HTC__N34 to SuperCID 11111111
The bad thing on that is that i can not receive any OTA since then
Reading from other theads i did the command:
fastboot oem writecid HTC__N34
And i get the following error
c:\SAGA\SAGA>fastboot oem writecid HTC__N34
... INFO[ERR] Command error !!!
OKAY
Is there a different command??
Using fastboot getvar all i get:
c:\SAGA\SAGA>fastboot getvar all
INFOversion: 0.5
INFOversion-bootloader: 2.00.2002
INFOversion-baseband: 3822.10.08.04_M
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main: 2.10.401.8
INFOproduct: saga
INFOplatform: HBOOT-7230
INFOmodelid: PG88*****
INFOcidnum: 11111111
INFObattery-status: good
INFObattery-voltage: 4199mV
INFOpartition-layout: Generic
INFOsecurity: off
INFObuild-mode: ENG
INFOboot-mode: FASTBOOT
INFOcommitno-bootloader: 3f8ef8d3
INFOhbootpreupdate: 12
INFOgencheckpt: 0
all: Done!
Is there anyone that can help??
Thanks everyone in advance.
Reserved 1
Reserved 2
How bout RUU. Have you tried it?
I believe if your XTC-S-OFF, your hboot is unrewritable/unchangeable, right? I'm thinking your hboot might be the one whose preventing CID modification. But then again, i haven't proven if your CID will change based from the build.prop of a ROM. I maybe at lost here.
Sent from my HTC Desire S using xda app-developers app
I flashed many desire s RUUs but just flashes the rom and the according hboot without changing anything on the CID.I tried also using the fastboot commands on both ENG (0.98.2002 & 2.00.2002) hboots but with no luck.
Is there any option using adb to try.?
Sent from my HTC Desire S
No idea.
All gates should be open regarding your situation. S-OFF with ENG hboot. Now this must be somewhat of a security that XTC-Clip have placed on the phone. Im gonna try changing mine, htc-dev unlocked with 2.0 hboot. Im gonna try using a terminal emulator. Dont have a pc yet. Will it work? Let me see.
---------
Hhmm. Just noticed that its fastboot. Couldn't help you there buddy.
Sent from my HTC Desire S using xda app-developers app
If something comes to your mind please let me know.
Sent from my HTC Desire S
I've found out that cid is stored in a number off different partitions (/dev/block/mmcblk0p*). I accidentally erased 23, which then led me on a hunt to try and fix things up.
Cid is stored, at least, in partitions 7, 17, and 23.
Install Hex Editor from Play and search those (and others) partitions for your current cid and replace it with your old cid.
Warning: you are doing some pretty low level changes here, which if done incorrectly can cause serious problems. I would suggest you back up a partition before you start changing it. I take no responsibility for what happens.
Here are two shell scripts that will take a copy of a partition and write a partition.
Dump partitions: http://db.tt/GuFscLrT
Write partition: http://db.tt/9Z2cn2Tm
Sent from my Desire S
I want to try this out.
I hope it will work.
Sent from my HTC One X
More stuff. Hboots don't all have the same set of oem functions. To find out which one yours support, enter "fastboot oem h" (edit: not "help"). I have yet to come across an hboot that will allow you effectively overwrite the cid.
When you say you don't get OTA updates, do you mean you get nothing when you go into /settings/about phone/system updates or you get the OTA but it doesn't install?
For me, the OTA that installed hboot 2.00.002 was the latest OTA, so there have been no other ones release.
Sent from my Desire S
It doesn't even find the OTA.
I'll try tomorrow and see what happens.
Thanks a lot again!!
Sent from my HTC One X
How do you know that there's an OTA update available?
Sent from my Desire S
If you flash the stock shipped Rom in my case 1.28.401.1 it had to find as before OTA 1.47.401.4 .and then the 2.10.401.8 but now after supercid it doesn't.
Sent from my HTC One X
Ta. That makes sense. By the way, you haven't installed a custom recovery like CWM or 4EXT, right? Otherwise the OTA won't install.
Sent from my Desire S
Using the command:
fastboot oem changeCid HTC__N34
The cid changed from 11111111 to HTC__N34
Why still i can not find OTA.??
Sent from my HTC Desire S
Type *#*#2432546#*#* in dialer and check again
Still no OTA.!!!
Flashed stock 1.47.401.4 RUU then *#*#checkin#*#* went to settings ,checked for updates couple of times and still nothing..
Did HTC stopped the OTAs for DESIRE-S cause of the upcoming ics OTA.?
Is that possible.?
Sent from my HTC One X
avensakias said:
Still no OTA.!!!
Flashed stock 1.47.401.4 RUU then *#*#checkin#*#* went to settings ,checked for updates couple of times and still nothing..
Did HTC stopped the OTAs for DESIRE-S cause of the upcoming ics OTA.?
Is that possible.?
Sent from my HTC One X
Click to expand...
Click to collapse
No worries you can always flash 2.10.401.8 RUU and will get the update straight away when it comes
command not working
I tried this command but I got Command error as wit writeCID
w_hy said:
I tried this command but I got Command error as wit writeCID [/QUOTE Using the command:
fastboot oem changeCid HTC__N34
The cid changed from 11111111 to HTC__N34
You must have s-off & ENG hboot.
Click to expand...
Click to collapse

[S-ON after XTC Clip] + Super CID ( GSM+AMOLED ONLY )

This Guide will help you revert back to S-ON if you S-OFF with XTC Clip.
Confirmed working with and without SuperCID, With and without sim unlocked and i can confirm this method will work on ALL HTC devices supported with the old MTD.
This Guide runs the risk of bricking your device, Therefor i take no responsibility for your actions
Change CID on second post. im just ironing out some things then ill update the guide. Thanks.
S-ON :
1. Download RUU from here = DOWNLOAD
2. Run the RUU and get back to stock Rom ( make sure to enable usb debugging ( settings/applications/development )
3. Download SuperOneClick from here = SuperOneClick
4. Run it and select ZergRush then click root
5. Once rooted open up a CMD and CD into your adb folder
6. Once you are in your adb folder type adb devices and press enter
7. Now type adb shell and press enter ( you should now get a # sign in the terminal continue to step 8 )
8. Now type echo -e '[email protected]=7,1\r' > /dev/smd0 Your CMD window should now be back at the #
9. Your device is now S-ON with root to confirm reboot into bootloader and see it states S-ON
10. ENJOY !!!
If you don't currently have any ADB folder there is 1 attached below.
ADB FOLDER ( WITH HTC DRIVERS )
If this Guide helped you please dont forget to hit the thanks button. This was tested on GSM HTC Desire ONLY. i had stock CID HTC__001. I will try with super cid 2morrow and post a video. Thanks​
Change CID From super CID back to a CID of your Choice
Welcome to my CID Guide.
This is NOT for SLCD DEVICES !!!!!
This guide will help you change your Super CID ( 11111111 ) back to its original eg: HTC__001.
Please use this guide ONLY if you understand what your doing. I take no responsibility for broken devices.
ENG Hboot can be flashed over by ANY Hboot Nexus One or Bravo. All Hboots have been repartitioned and are exact same sizes as Alpharev Hboots. This is because everyone is already used to these sizes but if you wish for a custom size please PM me and ill re partition for you and email you the Hboot. These Hboots have extended fastboot commands for changing CID and Backup CID
Now lets get to is shall we
1. Download The ENG Hboot located at the attachments section ( bottom of this post )
2. Flash the ENG Hboot with fastboot flash hboot ENG_Hboot_7.01.1111_Desire.img
3. Reboot your HTC Desire into Bootloader mode fastboot reboot-bootloader
4. now whilst still in Fastboot open up a CMD ( windows only ) and CD to your fastboot folder and type fastboot devices.
5. If your device was located now type fastboot oem changeCid xxxxxx ( replace xxxxxx with whatever your CID is find a list below )
5a. Please make sure when running the fastboot oem changeCid command you let it Finish DO NOT UNPLUG UNTILL IT HAS FINISHED.
6. Now on your device reboot back into bootloader and type fastboot getvar all and look for your new CID number
7. Now that you have changed your CID you can either stay on this Hboot or flash back to Desire Hboot.
If you wish to change your backup CID ( Somtimes this can be empty ( if backup was not created )
Run this in fastboot fastboot oem writebcid HTC__001 ( or whatever you want it to be ) [ Replace HTC__001 with your CID ]
Stock CID Numbers below:
cidnum: HTC__001
cidnum: HTC__E11
cidnum: HTC__203
cidnum: HTC__102
cidnum: HTC__405
cidnum: HTC__Y13
cidnum: HTC__A07
cidnum: HTC__304
cidnum: HTC__M27
cidnum: HTC__032
cidnum: HTC__016
cidnum: 11111111
These are the CID numbers i know. I know there is hundreds more and as i find out more and more ill add to the pile. Thanks
or you can use this XTC Clip firmware to gain super CID PB99diag.nbh can be downloaded below. Please get a EMPTY sdcard ( format it 1st ) place the PB99diag.nbh file on the root of the sdcard and reboot into bootloader and follow instructions to clean s58 data
Thanks for using my guide, All stuff used can be downloaded from the attachments below. including stock alpharev hboot.​
Re: [S-ON after XTC Clip] ( Tutorial ) Only GSM
So this ia basically getting s-on with the 2.3 RUU.
DigginGraves said:
So this ia basically getting s-on with the 2.3 RUU.
Click to expand...
Click to collapse
yes. but you can use ANY RUU you want. but MAKE SURE you run the RUU before you do this guide.
I posted this S-On long time ago. So it still working for everyone then?
But you've made a nice guide out of it.
How ever it only works for Wildfire, the other HTC's use a totally different MTD.
Super CID guide is now up on 2nd Post thanks
Guide is now up on 2nd Post thanks for all your support in the other thread
No problem.

[Q] HTC Stock ROM CID

So... I do have a HTC J (valente_wx / ISW13HT) which has no operational ROM (CWM is installed though). Due to this faulty ROM flash the internal SD card isn't functioning properly, thus I have to flash the stock RUU. However, the phone is HTCdev bootloader unlocked, which in turn required a CID change (KDDI_801 -> 11111111) which causes a RUU CID mismatch error.
In the RUU zip there is a android-info.txt file that contains the text
modelid: PK0710000
cidnum: KDDI_801
mainver: 2.05.970.3
hbootpreupdate:3
DelCache:1
My question: can I alter the CID in this file bypass the check? Or is it hardcoded / checked during other stages?

Categories

Resources