[HTC Sensation] @@RON:
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://xdaforums.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 :confused:

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 :confused:

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? :confused:

- have an unbranded cid (HTC__001 or HTC__102) -> done? :confused:

- 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:

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? :D

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)