92
« on: November 23, 2019, 10:15:40 pm »
I tried to use this method on new cosmo communicator. In apk editor step i completed but system notification was shown that uninstallation failed. Installation of modified version after that failed as well obviously.
Feeling very determined I tried to use adb for uninstallation:
$ adb uninstall com.gemini.keyboard
Failure [DELETE_FAILED_INTERNAL_ERROR]
OK, after some web search an alternative method was found:
$ adb shell
Cosmo_Communicator:/ $ pm uninstall -k --user 0 com.gemini.keyboard
Success
Cosmo_Communicator:/ $ ^D
A-ha, got ya!. Now try to install again:
$ adb install gen_signed.apk
adb: failed to install gen_signed.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.gemini.keyboard signatures do not match previously installed version; ignoring!]
Ugh, why is that? Maybe pm will work?
Cosmo_Communicator:/data/local/tmp $ pm install --user 0 gen_signed.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.gemini.keyboard signatures do not match previously installed version; ignoring!]
Oh, no! I guess its time to roll back to stock version of Planet keyboard. Go to app settings to reenable built-in application, and guess what - its not there any more. Uninstalled! But still remembers previous version, not letting me install my updated package!
Looks like I am screwed. Looks like the only remedy would be to reset device. Or go ask if anyone from cosmo community could extract and send me this original com.gemini.keyboard apk. Or maybe go ask Planet to send me that apk.
Oh, well, the only thing I am wondering -- why did it work on gemini, but fails on cosmo?