Swype from SGSII TW Android to CM7.1
Thank you guys for all your help! With your advices, I just managed to get my swype copy from Samsungs original TW bloated Android to CM7.1 on my Samsung Galaxy S2 and I want to give a brief description of the procedure for newbies like me to do it. Maybe this is not the right threat, but it's the one google gives you asking for problems like this...
So after following the first steps of the CM guide on how to get CM onto the SGSII, I created a backup of my TW Android copy. Using unyaffs, to get the TW Android and CM accessible on my PC, I extracted the two files (.so and .apk) necessary to get swpye to work and copied them into the appropriate places of my CM copy.
Next, you need to edit build.prop of your CM copy, as swype apparently checks some parameters (don't know which actually) to identify your phone and see if its supposed to run on it. If you don't adjust build.prop, swype will have limited functionality which means it works just like a regular keyboard:/
I changed the following parameters of CM's build.prop to the values given in TW Android:
Also, I added the following samsung specific properties to the CM copy of build.prop:
# Samsung Specific Properties
After that, just re-zip your modified CM copy and install it following the official CM update guide. I am not sure (in fact I highly doubt
that all these parameters are necessary for swype to work or whether some of the changes will cause problems with other apps... However, it works for me for a few days now and I am really glad for the advice of you guys here.
Hope this helps someone...