[HTC Sensation] inks:
Fix your FCs

How to install properly and fix your general FCs:

1. Backup your stuff, or consider reverting to an older backup.

1a. Backup your contacts via google sync, backup your SMS with some program but NOT with Titanium Backup.

2. Put update-cm-7.1.0-SelfKANG1-Sensation-signed.zip in /sdcard

3. Download gapps-gb-20110828-signed.zip gapps-gb-20110828-signed.zip and gapps-gb-20110828-newtalk-signed.zip from http://goo-inside.me/gapps/ and place in /sdcard

4. Install latest clockworkmod recovery (5.0.2.0)

5. Reboot into recovery

6. Data wipe / factory reset (don't forget that you just came from a sense-framework ROM! Wipe should be mandatory)

7. Install zip from sdcard -> Toggle signature verification (this will in effect checksum your downloaded zips)

8. Install the update-cm-7.1.0-SelfKANG1-Sensation-signed.zip

9. Install gapps-gb-20110828-signed.zip

10. Install gapps-gb-20110828-newtalk-signed.zip

(If signature verification fails, then redownload that zip)

11. Do NOT install anything else, like Ti Backup update.zips. Reboot

12. Login to your google account

13. Check that market and othet programs do not FC (t-mo wifi calling is a separate issue)

Now if you succeed up to this stage with no fc's, then great.

14. Restore your apps with Titanium Backups. IMPORTANT: This is where most FCs start. Don't restore market. Don't restore SMS Settings. Don't restore ANY system settings. Email might be ok if you came from a Sense-stripped ROM with aosp/cm7 mail apk. Restore your user apps.

15. Reboot. Check that your market doesn't FC.

If you're FCing at this stage (and not after step 13), then YOU screwed up during step 14, and it's not the ROM.

Now, if you really want some pain, you can try and restore system settings one by one with Titanium Backup, and testing after each time.

You will notice that I haven't mentioned "clear dalvik cache" and "fix permissions". Those two are only required if you don't wipe your data partition. If you don't wipe data, then you risk FCs unless you know what you're doing.

T-Mo wifi-calling fixes:

These are likely specific problems with alpha1.

If you're not with T-Mo and having problems:

make sure that you have this line in build.prop:

rild.libpath=/system/lib/libhtc_ril.so

(if you have to change this, then reboot)

Check for these files:

/system/lib/libkineto.so

/system/lib/libswitch.so

/system/lib/libganril.so

/system/app/MS-HTCDP-KNT20-02-A0-GB.apk

If you don't have any of the libraries, you can safely delete the app via root explorer. Otherwise, reboot into recovery and use adb shell to kill the 4 files.

If you're with T-Mo and have problems with wifi-calling FCs:

([Disclaimer - I'm not on T-Mo and can't test this, but this was the setup in the other roms I've used)

In build.prop, you need these lines:

rild.libpath=/system/lib/librilswitch.so
rild.libpath.ganlite=/system/lib/librilswitch.so (- I think this line is not required)
rilswitch.vendorlibpath=/system/lib/libhtc_ril.so
rilswitch.ganlibpath=/system/lib/libganril.so

Edit as necessary.

Also check for the existence of these files:

/system/lib/libhtc_ril.so

/system/lib/libganril.so

/system/lib/libkineto.so

/system/lib/librilswitch.so

/system/app/MS-HTCDP-KNT20-02-A0-GB.apk

If you have all of the above, then T-Mo wifi calling should work. If not, copy them from the original update-cm-7.1.0-SelfKANG1-Sensation-signed.zip package to the appropriate spots. Make sure you set the permissions with 'chmod 644'.