diff options
author | breadcat | 2021-02-01 20:07:26 +0000 |
---|---|---|
committer | breadcat | 2021-02-01 20:07:26 +0000 |
commit | 1ce1b6948b2ab11e49255874bf56b1b710b40132 (patch) | |
tree | 6b75b06ccadf42740891f72a051a406f5abe3c5d | |
parent | c37059c7b78c615d1b75ded58a985cef19a23330 (diff) | |
download | blog.minskio.co.uk-1ce1b6948b2ab11e49255874bf56b1b710b40132.tar.gz blog.minskio.co.uk-1ce1b6948b2ab11e49255874bf56b1b710b40132.tar.bz2 blog.minskio.co.uk-1ce1b6948b2ab11e49255874bf56b1b710b40132.zip |
New post
-rw-r--r-- | content/posts/enable-swype-aosp-keyboard.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/content/posts/enable-swype-aosp-keyboard.md b/content/posts/enable-swype-aosp-keyboard.md new file mode 100644 index 0000000..788278a --- /dev/null +++ b/content/posts/enable-swype-aosp-keyboard.md @@ -0,0 +1,40 @@ +--- +title: "Enabling Swype on the AOSP keyboard" +date: 2021-01-31T14:42:00 +tags: ["Android", "Linux", "Snippets", "Software"] +--- + +I've recently changed my phone to a Pixel 4, one of the reasons for this was to have as much of an open source device as possible. Naturally my operating system of choice was [LineageOS 17](https://lineageos.org/). + +With this however, the included AOSP keyboard will not support gesture inputs without a proprietary Google library. To get this working, you'll first want to download the [Pico package of Open GApps](https://opengapps.org/) for your phone, I'm using ARM64 architecture for my Pixel 4 device however yours may be different. + +Once downloaded, extract your archive: +``` +unzip open_gapps-arm64-9.0-pico-20210127.zip +``` + +Now move to the directory containing the library and extract that: +``` +cd Optional +tar --lzip -xf swypelibs-lib-arm64.tar.lz +cd swypelibs-lib-arm64/common/lib64 +ls +``` + +Here, you should now have `libjni-latinimegoogle.so`. With this, you want to push this library to your phone. +Once connected via ADB (and with root access enabled in the debugging menu), do the following: +``` +adb devices +adb root +adb remount +adb push libjni_latinimegoogle.so /system/lib64/ +adb unroot +adb reboot +``` + +Once rebooted, browse to: +``` +Settings > System > Languages & input > Virtual Keyboard > Android Keyboard (AOSP) > Gesture Typing > Enable gesture typing +``` + +And you should be done.
\ No newline at end of file |