I am writing this because I had trouble installing Swype from my 2.3.4 OTA version of the stock ROM and could not find anything to help rectify the situation. I first attempt to just install the .apk from the stock ROM, but that resulted in a continual crash loop of the Swype application. I next tried to install it by only mounting the /system filesystem in read-write mode, but that did not solve the issue either. After dumping the entire file list from my stock ROM and grepping swype, I noticed that I was missing the shared library on the new ROM. Copying it there solved the issue and now Swype works just as it always has. Here is a list of steps to ensure that you don't run into the same aggravation that I did if you want to have Swype as a choice for your input method.
1. Copy the following files from the stock image into your platform-tools directory:
/system/app/Swype.apk
/system/lib/libSwypeCore.3.7.85.27287.so
2. Boot into the ROM that you want to install Swype on.
3. Plug your phone into the computer with USB cable and USB debugging on. Make sure you are not in USB Storage Mode (charge-only works fine).
4. Enter the "adb shell" and make sure you have a "#" (root) prompt. Now type:
mount -o remount,rw /system
exit
5. Push the 2 files you copied from the stock ROM onto the new ROM:
adb push Swype.apk /system/app/
adb push libSwypeCore.3.7.85.27287.so /system/lib/
(This next step may not be necessary. Android will install any APK in the /system/app directory upon boot)
6. Unplug your phone from USB and using a root enabled file-manager with apk-installing capability, navigate to /system/app and install Swype.apk
7. Plug your phone back into the computer (without USB Storage Mode) and run "adb shell" again.
8. From the root prompt, type the following:
mount -o remount,ro /system
exit
9. Unplug your phone from USB and reboot.
You *may* have to run "Fix Permissions" from ClockWork Mod. I did this before I copied the shared library over hoping that it would solve the crash-loop but no luck.
Happy Swyping!
-Tigr
1. Copy the following files from the stock image into your platform-tools directory:
/system/app/Swype.apk
/system/lib/libSwypeCore.3.7.85.27287.so
2. Boot into the ROM that you want to install Swype on.
3. Plug your phone into the computer with USB cable and USB debugging on. Make sure you are not in USB Storage Mode (charge-only works fine).
4. Enter the "adb shell" and make sure you have a "#" (root) prompt. Now type:
mount -o remount,rw /system
exit
5. Push the 2 files you copied from the stock ROM onto the new ROM:
adb push Swype.apk /system/app/
adb push libSwypeCore.3.7.85.27287.so /system/lib/
(This next step may not be necessary. Android will install any APK in the /system/app directory upon boot)
6. Unplug your phone from USB and using a root enabled file-manager with apk-installing capability, navigate to /system/app and install Swype.apk
7. Plug your phone back into the computer (without USB Storage Mode) and run "adb shell" again.
8. From the root prompt, type the following:
mount -o remount,ro /system
exit
9. Unplug your phone from USB and reboot.
You *may* have to run "Fix Permissions" from ClockWork Mod. I did this before I copied the shared library over hoping that it would solve the crash-loop but no luck.
Happy Swyping!
-Tigr