• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root CDMA Desire OTA Help

Can someone please alter this OTA (83.5MB) so that it can be applied to a rooted phone. You may also need this (233MB) which I pulled from non root desire on same network as mine using adb.

I cannot get it to apply as my CID was changed when I rooted phone and I cannot flash it in any way. Every method I have tried is met with permition denied; or remote not allowed.

DO NOT redirect me to the US Cellular mods that are out there. I cannot stand that rediculously limited functionality rom. For a 2.2 rom it has to be one of the worst. I site for example that in us cellular you can only select from alarm sounds to set alarm; in my stock rom I can pick any of those, any of the ringtones, or any music I have... LIMITED functionality. I do not like any of the roms that are out there for cdma either. I only like my stock rom.

I'd also like to ask that you do not put any of the busybox functions or other mods like aps2sd in the update. I have/had all those and don't use them. Make a seperate version for that stuff if you wish. I just want the update and plan on removing root when I can get it updated to 2.2.
Thanks in advance to who ever can get this to work.
 
sorry most of us do not own cdma desires or know how to modify an ota for you to flash without causing you problems to a current rom.

i have to say i think you have expectations for things that cannot really be done.
due to your other forum post about making backups on a non rooted rom to apply etc
you need someone to actually cook that into a cdma bravo rom and certainly there are not many chefs here

you are best posting on xda developers desire general and asking if someone there can do it
 
Upvote 0
sorry most of us do not own cdma desires or know how to modify an ota for you to flash without causing you problems to a current rom.

i have to say i think you have expectations for things that cannot really be done.
due to your other forum post about making backups on a non rooted rom to apply etc
you need someone to actually cook that into a cdma bravo rom and certainly there are not many chefs here

you are best posting on xda developers desire general and asking if someone there can do it


Already did. just covering more ground posting in multiple forums. As for my other post. I figure it is a wash and this might be a better alternative.

I've already been met with do it yourself replies but as I responded if I could find the information on how to I would do just that. but all searches lead to forums and responces like that.

getting this to work doesn't help only me. I'm a member of about 12+ forums and I've encountered hundreds of people on the same network with the same problem.


SU:
no .. gold card doesn't work.

Rasta:
I got it from my network. Downloaded to my phone then moved it off. the system image I got from my cousins non root phone using adb to pull system folder.
 
Upvote 0
btw just checked the updater-scipt on there and its a good job it didnt flash

write_firmware_image("PACKAGE:firmware.zip", "zip");

in there is a new radio hboot and all the things that will turn your device to pure stock

basically i think you would be able to flash this is you removed the firmware.zip
modified the updater-script not to reference that file
modified the script not to check the ro_cid and builds
re-signed it
applied via clockwork mod recovery


its a long shot but as i dont know cdma im not sure what you would be allowed to remove
 
Upvote 0
I have tried sooo many ways to get this update. I've unrooted my phone but that was futile as the root process changed my CID and I cannot change it back now.

It won't let me flash misc partition with any method that I have tried. If I could get the correct cid information back into phone I could get the update to apply.
 
Upvote 0
btw just checked the updater-scipt on there and its a good job it didnt flash

write_firmware_image("PACKAGE:firmware.zip", "zip");

in there is a new radio hboot and all the things that will turn your device to pure stock

basically i think you would be able to flash this is you removed the firmware.zip
modified the updater-script not to reference that file
modified the script not to check the ro_cid and builds
re-signed it
applied via clockwork mod recovery


Edit:

I've actually applied the firmware to my phone. the only thing that I can't change back is the rcdata.



its a long shot but as i dont know cdma im not sure what you would be allowed to remove

whoah.. none of that showed up in post before I quoted it.

What are you using to view the script? and where do I get it?
 
Upvote 0
oh so you are no longer rooted?

thats bad news, i wasnt aware the root changed cdma CID

if you look in the updater-script there are these references

Code:
ssert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "utstarcom_wwe-generic/bravoc/bravoc/bravoc:2.1-update1/ERE27/263104:user/release-keys" ||
       file_getprop("/system/build.prop", "ro.build.fingerprint") == "utstarcom_wwe-generic/bravoc/bravoc/bravoc:2.2/FRF91/342208:user/release-keys");
assert(getprop("ro.cid") == "00000000" ||
       getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" ||
       getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" ||
       getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" ||
       getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" ||
       getprop("ro.cid") == "99999999" ||
       getprop("ro.cid") == "UTSI_021");
assert(getprop("ro.product.device") == "bravoc" ||
       getprop("ro.build.product") == "bravoc");
you might need to modify those to look like the print you have
 
Upvote 0
whoah.. none of that showed up in post before I quoted it.

What are you using to view the script? and where do I get it?


sorry i posted early and forgot to add the info so i edited.

if you open the ota zip file
go to META-INF\com\google\android\
you will see updater-script. this is what android uses to apply any updates or changes. its also known as an edify script.

you MUST use notepad++ to edit this as if you use notepad or wordpad it messes up the lines

EDIT: you may also need to use android signer or something to resign the zip file
 
  • Like
Reactions: waynestir
Upvote 0
That is the exact thing I get errors on. the fingerprint I don't get error on but the ro.cid check and it lists the full set just like you posted with assert failed.
is your current CID listed there?

if you still had clockworkmod toy would have been able to apply this i think after deleting firmware.zip and the lines
because you have a stock recovery now things be the "htc" way as the recovery will be looking for special signatures.

again its a long shot but i dont know if this is at all possible.
if it was people would use it to bypass the security and flash rooted roms to the device by replacing some of the files etc
 
  • Like
Reactions: waynestir
Upvote 0
is your current CID listed there?

when I use adb getprop ro.cid I get UTSI_005

so no it doesn't have it listed.

Edit:

I actually have root again.. talking to nTelos tech support kind of pissed me off haha. That and this has kind of been the bane of my existence for the past month


as for the firmware.zip: I am not worried as I have perm s-off currently. I can put cust recovery on any time.
 
Upvote 0
so you might want to put

getprop("ro.cid") == "UTSI_005" ||

after getprop("ro.cid") == "99999999" ||

so it looks like this
Code:
ssert(file_getprop("/system/build.prop", "ro.build.fingerprint")  ==  "utstarcom_wwe-generic/bravoc/bravoc/bravoc:2.1-update1/ERE27/263104:user/release-keys"  ||
       file_getprop("/system/build.prop", "ro.build.fingerprint") ==  "utstarcom_wwe-generic/bravoc/bravoc/bravoc:2.2/FRF91/342208:user/release-keys");
assert(getprop("ro.cid") == "00000000" ||
       getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" ||
       getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" ||
       getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" ||
       getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" ||
       getprop("ro.cid") == "99999999" || [FONT=monospace]getprop("ro.cid") == "UTSI_005" ||[/FONT]
       getprop("ro.cid") == "UTSI_021");
assert(getprop("ro.product.device") == "bravoc" ||
       getprop("ro.build.product") == "bravoc");
if you want to allow it to flash the firmware.zip as well then you might need to modify the txt file in there as well to reference your CID
it looks like a pb99img tbh


how did you change your CID? did you manually edit your misc partition when you were rooted?


PS. this is all complete guesswork, again i have no idea how/if it will work but thats the area you need to be looking for sure
 
Upvote 0
so you might want to put

getprop("ro.cid") == "UTSI_005" ||

after getprop("ro.cid") == "99999999" ||

so it looks like this
Code:
ssert(file_getprop("/system/build.prop", "ro.build.fingerprint")  ==  "utstarcom_wwe-generic/bravoc/bravoc/bravoc:2.1-update1/ERE27/263104:user/release-keys"  ||
       file_getprop("/system/build.prop", "ro.build.fingerprint") ==  "utstarcom_wwe-generic/bravoc/bravoc/bravoc:2.2/FRF91/342208:user/release-keys");
assert(getprop("ro.cid") == "00000000" ||
       getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" ||
       getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" ||
       getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" ||
       getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" ||
       getprop("ro.cid") == "99999999" || [FONT=monospace]getprop("ro.cid") == "UTSI_005" ||[/FONT]
       getprop("ro.cid") == "UTSI_021");
assert(getprop("ro.product.device") == "bravoc" ||
       getprop("ro.build.product") == "bravoc");
if you want to allow it to flash the firmware.zip as well then you might need to modify the txt file in there as well to reference your CID
it looks like a pb99img tbh


how did you change your CID? did you manually edit your misc partition when you were rooted?


PS. this is all complete guesswork, again i have no idea how/if it will work but thats the area you need to be looking for sure

my guess is that unrevoked changed my misc partition to accomplish root. I didn't change it and cannot change it now. Every attempt was met with failure.

I just removed the whole cid assert section and attempted to flash the rom. it rebooted and told me there wasn't enough free space.. to remove apps and try again.
 
Upvote 0
no to which, sorry im digging for info as weve been through quite a lot

so from what im reading

you opened up zip in winrar, modified and deleted the assert section in updater-script but left the section for firmware.zip
flashed update.zip from stock recovery?

if this is the case then we now know that the edify script htc uses bypasses the cid and signature check for the radio/hboot/recovery image as the firmware.zip is supposed to act like the pb99img.zip but it obviously doesnt

we might be onto something here
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones