This thread is for those, like me, who didn't know how to properly port Swype over from another ROM
Files
Swype.apk & libSwypeCore.so (3.26.92Q.39177.11799.Targa_ICS_V4), kindly taken from the LiquidSmooth Blur Rom
Procedure
- Unzip the contents of the .zip and move the two files onto your SD card
- Open your favourite mobile file manager (I used ES File Explorer for this),
make sure that the file manager has root permissions and allows you to go up to the root directory '/' and/or '/system' - Copy libSwypeCore.so to '/vendor/lib/' (alternatively '/system/vendor/lib/', they're the same location though this may vary by ROM)
- Run the Swype.apk and install as usual, Swype should now be selectable under the Language & Input options under Settings
Problems I ran into
- Attempting to install Swype.apk without libSwypeCore.so
- While this may work in cases where libSwypeCore.so already exists in the '/lib/' directory, in most cases it will result in a force close (or multiple FCs if made the default input option)
- Copying libSwypeCore.so has failed
- It took me a few hours of tinkering to realize the solution to this problem, at first I thought the problem was improper file permissions or a faulty install, however the problem was that the system partition I was trying to move the file to did not have enough free space for libSwypeCore.so to move to. This would result in a partial copy (libSwypeCore.so copy failed but the file was present with a reduced filesize in the '/lib' directory) or the copy failed message.
- My solution was to browse to the '/system/media' directory and delete the 9MB of video files I did not need. You can also remove ringtones or other files you feel safe removing, but please be careful -- though I doubt you'd seriously mess your phone up removing files from the '/system/media/audio' or 'video' folders.