[OnePlus X Themes and Apps] equi_design:
Hey all,

I'm a HUGE fan of the true stock AOSP keyboard with the long-press alternates on every key. However, it is always difficult to get it installed (or find the proper files on the web, for that matter). This tutorial is NOT for the newish Google Keyboard on the Play Store - I consider that one an inferior frakking piece of shtako. But everyone is entitled to their own opinions. :)

Anyhow, here are two tutorials to install the AOSP Keyboard on the OnePlus X. First tutorial is for those people running OOS 2.2.0-X (i.e. the latest OTA). Second tutorial is for those people running OOS 2.2.0 (i.e. without the latest OTA - y'all have it easier than those of us who updated!)

Before you begin... I'd recommend performing a Nandroid backup through your recovery (TWRP/CWM/etc).

FIRST TUTORIAL - IF YOU'VE UPDATED TO OOS 2.2.0-X:

1. Download the attached AOSP Keyboard.zip file & extract to your SD card.

2. Go into your file manager & browse to Root/system/app. Look for the folder LatinImeGoogle.

3. Rename the LatinImeGoogle folder to something else. I used LatinImeGoogle-backup for safety reasons. Always leave yourself an out!

4. Change the LatinImeGoogle-backup folder permissions to r-r-r (really this is flexible - just use something other than what is currently assigned to the folder.)

5. Go back to where you extracted the AOSP Keyboard folder contents.

6. Copy libjni_latinime.so to system/lib/

7. Set libjni permissions to rw-r--r-- (aka 644)

8. Copy LatinIME folder to system/app/

9. Set LatinIME folder permissions to drwxr-xr-x (aka 755)

10. Open "LatinIME" folder.

11. Set LatinIME.apk permissions to rw-r--r--(aka 644)

12. Set "lib" folder permissions to drwxr-xr-x (aka 755)

13. Open "lib" folder.

14. Set "arm" folder permissions to drwxr-xr-x (aka 755)

15. Open "arm" folder. IF there is anything in the "arm" folder, delete it. (Sometimes Android will auto add libjni_latinime.so in there. Just delete it).

16. Go back to your root /system/lib/ and scroll down to libjni_latinime.so.

17. Long press on the libjni_latinime.so file. Choose "Create symlink".

18. In the Symlink location field, choose Browse. Navigate to /system/app/LatinIME/lib/arm/ and Create the symlink there.

19. Go back to your root /system/app/LatinIME/lib/arm/. You should now see a symlink "shortcut" to libjni_latinime.so. Set the shortcuts permissions to rw-r--r-- (aka 644).

20. Reboot your device.

21. Celebrate with a cookie!

SECOND TUTORIAL - IF YOU'RE RUNNING OOS 2.2.0 WITHOUT THE LATEST OTA:

1. Download the attached AOSP Keyboard.zip file & extract to your SD card.

2. Copy libjni_latinime.so to system/lib/

3. Set libjni permissions to rw-r--r-- (aka 644)

4. Copy LatinIME folder to system/app/

5. Set LatinIME folder permissions to drwxr-xr-x (aka 755)

6. Open "LatinIME" folder.

7. Set LatinIME.apk permissions to rw-r--r--(aka 644)

8. Set "lib" folder permissions to drwxr-xr-x (aka 755)

9. Open "lib" folder.

10. Set "arm" folder permissions to drwxr-xr-x (aka 755)

11. Open "arm" folder. IF there is anything in the "arm" folder, delete it. (Sometimes Android will auto add libjni_latinime.so in there. Just delete it).

12. Go back to your root /system/lib/ and scroll down to libjni_latinime.so.

13. Long press on the libjni_latinime.so file. Choose "Create symlink".

14. In the Symlink location field, choose Browse. Navigate to /system/app/LatinIME/lib/arm/ and Create the symlink there.

15. Go back to your root /system/app/LatinIME/lib/arm/. You should now see a symlink "shortcut" to libjni_latinime.so. Set the shortcuts permissions to rw-r--r-- (aka 644).

16. Reboot your device.

17. Celebrate with a brownie!

I've also tucked a txt copy of the barebones instructions into the zip file.

Feel free to ask any questions below.

Cheers,

equi