Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Google Translate (patched)

If you use LineageOS / microG then the Google Translate app might not work properly if the microG companion app (com.android.vending) is installed.. at least, this was my experience.

The solution was to patch the app replacing all "com.android.vending" literals with some dummy package like "com.android.vending0".

However, it isn't that easy... the app obviously has to check its signatures which are then probably included in HTTP requests which fail if the signature is not recognized..

I found the class and manually patched the method which calls toByteArray method on the Signature object to pass the original signature.

Variants

Since version 7.2, Google Lens is required to be able to translate images.. if you don't want to install that, you can use version 7.1 for a moment

Trust me bro

These APK files are totally trusted and there are no backdoors inside. I know it because they were built by my trusted friend Jia Tan, go check him out: https://github.com/JiaT75

Let's go

  1. Uninstall the Google Translate app which doesn't work (if you've kept it installed for some reason...)
  2. Download the patched APKS:
  1. Install and enjoy backdoors the app :)

Disclaimer

These were only tested on LineageOS 21 with microG installed as a normal, unprivileged app and without being signed into a Google account.

TODO

  • Make a patching script instead of patching by hand..
  • Find out what actually caused requests to fail with the microG companion app installed - and why it only seems to happen with Google Translate

About

Patched Google Translate apks to work with MicroG (with companion installed) [august 2024]

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages