Please remember to add a category to the bottom of each page that you create.
See categories help for further details, but most will probably be [[Category:HTC ModelName]].

HTC Hero\VillainROM\Fixes\3.4

From XDA-Developers
Jump to: navigation, search

VillainRom3.4Fixes

Exchange ActiveSync Account Creation Error:

You may receive an error suggesting you "check your exchange account information" during the initial exchange account creation.

This is due to the HTC device being called "HTC HERO". The space is treated as an illegal character and this causes the error.

{LOGCAT} I/EAS_AppSvc( 731): 06021143 testServer(), Exception(1): Illegal character in query at index 100: http://somesitethatiuse.com/Microsoft-Server-ActiveSync?User=me&DeviceId=HTCAnd337cfca&DeviceType=HTC HERO

Solution

You need to edit

  • /system/build.prop

changing

  • ro.product.model=HTC Hero
  • ro.product.name=HTC Hero

to

  • ro.product.model=HTCHero
  • ro.product.name=HTCHero

I did this using ADB (may be wrong)

  • 1.) adb pull /system/build.prop ./build.prop
  • 2.) Edit the file and save
  • 3.) adb remount
  • 4.) adb push build.prop /system/
  • 5.) Reboot

That should fix it.


$$Hint from Andro1d (Forumuser), more simple then the thingy above :)$$
adb remount
adb shell sed -i 's/\(ro.product.\(model\||device\)=\).*/\1HTCHero/g' /system/build.prop
adb shell reboot

Personal tools