This worked:
- download (pico) opengapps for your archtecture https://opengapps.org/
- extract the zip package
- in extracted folder “Optional”, extract swipelibs-lib-XXX.tar.lz (install lzip if you need)
- in extracted folder “common/lib” now you have the libjni_latinimegoogle.so for your archtecture
- reboot to recovery and, with twrp, mount system (there is an option in there)
-
adb push libjni_latinimegoogle.so /system/system/lib/
(maybe in your case is system/system/lib64) - umount system in twrp
- reboot now and it will work.
- continue (in twrp and system mounted) as in the reddit tutorial below to make changes persistent in OS updates.
(again in my case islib(not lib64), so:sed '/^etc\/hosts/a lib\/libjni_latinimegoogle.so' 50-lineage.sh > 50-lineage.sh.backup)
Credits/source: https://www.reddit.com/r/LineageOS/comments/gaf19n/gesture_typing_aosp_without_opengapps_oneplus_7/