Google Translate(com.google.android.apps.translate): not working since June 2022
- /e/ version:
e_FP3-userdebug 10 QQ3A.200805.001 eng.root.20220527.183702 dev-keys,dev-release
- Device model(s):
FP3+
- Device rooted: yes
Summary
Since somewhen in June 2022 (probably in the second half of the month) Google Translate stopped working. Before the problems happens Google Translate asks which Google account it should use to store the history in cloud. Google Translate didn't use to ask that before (not asking in the last known working version 6.37.27.452667103.6, see below). But neither if I choose an account nor if I select Use without an account
, in both cases Google Translate isn't working.
For online translations, but also for offline translations it's displaying Can't translate
and Check your connection and try again
. Data connection is fine and downgrading to an older version workarounds the issue.
I suspect this to be (maybe) an issue with microG or the underlying /e/OS.
Issue moved here from: e/os/android_system_core#6 (closed)
The problem
Steps to reproduce
Upgrade Google Translate to at least 6.39.5.455645382.3. Then simply start Google Translate and type in some word.
Technical informations
Relevant logs (adb logcat
)
logcat
06-26 10:54:55.826 3491 8666 D AuthProxyService: getSpatulaHeader(com.google.android.apps.translate)
06-26 10:54:55.834 3491 8666 D AuthProxyService: getSpatulaHeader(com.google.android.apps.translate)
06-26 10:54:55.837 3491 4256 D AppCertManager: Using fallback spatula header based on Android ID
06-26 10:54:55.838 3491 4256 D AppCertManager: Spatula Header: SpatulaHeaderProto{packageInfo=PackageInfo{packageName=com.google.android.apps.translate, packageCertificateHash=JLskwF5H4K76aKWKdmF52bYTpgA=}, deviceId=3909486161983543371}
06-26 10:54:55.839 3491 3491 D AuthProxyService: Result: CkEKIWNvbS5nb29nbGUuYW5kcm9pZC5hcHBzLnRyYW5zbGF0ZRocSkxza3dGNUg0Szc2YUtXS2RtRjUyYllUcGdBPRjLsNaat57SoDY=
06-26 10:54:55.840 12081 12284 D OkHttp : --> GET https://translate-pa.googleapis.com/v1/translateMultiple?query_set.queries=testament&query_set.queries=testen&query_set.queries=tests&query_set.queries=testergebnis&query_set.source_language=de&query_set.target_language=en&query_set.display_language=en-US¶ms.client=at&data_types=16
06-26 10:54:55.841 3491 8666 D GmsAuthProvider: Call from com.google.android.apps.translate
06-26 10:54:55.846 3491 4257 D AppCertManager: Using fallback spatula header based on Android ID
06-26 10:54:55.847 3491 4257 D AppCertManager: Spatula Header: SpatulaHeaderProto{packageInfo=PackageInfo{packageName=com.google.android.apps.translate, packageCertificateHash=JLskwF5H4K76aKWKdmF52bYTpgA=}, deviceId=3909486161983543371}
06-26 10:54:55.847 3491 3491 D AuthProxyService: Result: CkEKIWNvbS5nb29nbGUuYW5kcm9pZC5hcHBzLnRyYW5zbGF0ZRocSkxza3dGNUg0Szc2YUtXS2RtRjUyYllUcGdBPRjLsNaat57SoDY=
06-26 10:54:55.848 12081 12133 D OkHttp : --> GET https://translate-pa.googleapis.com/v1/translate?query.text=Test&query.source_language=de&query.target_language=en&query.display_language=en-US¶ms.client=at&data_types=16&data_types=1&data_types=10&data_types=21&data_types=6&data_types=7&data_types=5&data_types=17&data_types=12&data_types=8&data_types=22¶ms.request_token=954488.2446103596
06-26 10:54:55.853 3491 8666 D GmsAuthProvider: Call from com.google.android.apps.translate
06-26 10:54:55.854 3491 3509 D SafeParcel: Unknown field id 12 in com.google.android.gms.clearcut.LogEventParcelable, skipping.
06-26 10:54:55.872 12081 12284 D OkHttp : <-- 400 https://translate-pa.googleapis.com/v1/translateMultiple?query_set.queries=testament&query_set.queries=testen&query_set.queries=tests&query_set.queries=testergebnis&query_set.source_language=de&query_set.target_language=en&query_set.display_language=en-US¶ms.client=at&data_types=16 (31ms, unknown-length body)
06-26 10:54:55.875 12081 12284 E GTR_ixa : Translation response error
06-26 10:54:55.875 12081 12284 E GTR_ixa : retrofit2.HttpException: HTTP 400
06-26 10:54:55.875 12081 12284 E GTR_ixa : at retrofit2.KotlinExtensions$await$2$2.onResponse(PG:11)
06-26 10:54:55.875 12081 12284 E GTR_ixa : at retrofit2.OkHttpCall$1.onResponse(PG:4)
06-26 10:54:55.875 12081 12284 E GTR_ixa : at qko.b(PG:4)
06-26 10:54:55.875 12081 12284 E GTR_ixa : at qld.run(PG:3)
06-26 10:54:55.875 12081 12284 E GTR_ixa : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
06-26 10:54:55.875 12081 12284 E GTR_ixa : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
06-26 10:54:55.875 12081 12284 E GTR_ixa : at java.lang.Thread.run(Thread.java:919)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: runSuggestionsQuery - error
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: java.io.IOException: Autocomplete API fetch failed
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at ddi.b(PG:9)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at ddh.invokeSuspend(Unknown Source:12)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at myt.resumeWith(PG:5)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pyk.run(PG:11)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qew.run(PG:2)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qgi.run(PG:1)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qgb.f(PG:2)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qga.run(PG:6)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: Caused by: hwk: HTTP 400
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at iwv.a(PG:7)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at iwz.invoke(PG:3)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at hsq.b(PG:2)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at hti.invoke(PG:4)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at hro.invokeSuspend(PG:8)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at myt.resumeWith(PG:5)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qaz.d(PG:8)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pvz.resumeWith(PG:3)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at myt.resumeWith(PG:10)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pyk.run(PG:11)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pyt.o(PG:5)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pwp.B(PG:12)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pwp.D(PG:5)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pwp.w(PG:1)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at pwp.resumeWith(PG:5)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at retrofit2.KotlinExtensions$await$2$2.onResponse(PG:11)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at retrofit2.OkHttpCall$1.onResponse(PG:4)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qko.b(PG:4)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at qld.run(PG:3)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: at java.lang.Thread.run(Thread.java:919)
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: Caused by: retrofit2.HttpException: HTTP 400
06-26 10:54:55.879 12081 12081 E GTR_TextInputViewModel: ... 7 more
06-26 10:54:55.879 12081 12133 D OkHttp : <-- 400 https://translate-pa.googleapis.com/v1/translate?query.text=Test&query.source_language=de&query.target_language=en&query.display_language=en-US¶ms.client=at&data_types=16&data_types=1&data_types=10&data_types=21&data_types=6&data_types=7&data_types=5&data_types=17&data_types=12&data_types=8&data_types=22¶ms.request_token=954488.2446103596 (29ms, unknown-length body)
06-26 10:54:55.883 12081 12133 E GTR_ixa : Translation response error
06-26 10:54:55.883 12081 12133 E GTR_ixa : retrofit2.HttpException: HTTP 400
06-26 10:54:55.883 12081 12133 E GTR_ixa : at retrofit2.KotlinExtensions$await$2$2.onResponse(PG:11)
06-26 10:54:55.883 12081 12133 E GTR_ixa : at retrofit2.OkHttpCall$1.onResponse(PG:4)
06-26 10:54:55.883 12081 12133 E GTR_ixa : at qko.b(PG:4)
06-26 10:54:55.883 12081 12133 E GTR_ixa : at qld.run(PG:3)
06-26 10:54:55.883 12081 12133 E GTR_ixa : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
06-26 10:54:55.883 12081 12133 E GTR_ixa : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
06-26 10:54:55.883 12081 12133 E GTR_ixa : at java.lang.Thread.run(Thread.java:919)
06-26 10:54:55.887 3491 8666 D GmsAuthProvider: Call from com.google.android.apps.translate
Other devices and Android versions
Google Nexus 5X with microG LineageOS:
Same problem on a Nexus 5X running LineageOS 15.1-20190204-microG-bullhead. microG version 0.2.6.13280.
Samsung Galaxy S5 (SM-G900F) with microG LineageOS:
Same problem on a Galaxy S5 (SM-G900F) running LineageOS 18.1-20220120-microG-klte. microG version 0.2.22.212658.
Samsung Galaxy S2 (i9100) with LineageOS plus GoogleApps:
Google Translate 6.39.5.455645382.3 is working on a Galaxy S2 (i1900) running LineageOS 17.1-20201127-UNOFFICIAL-i9100. GoogleApps are installed, but no Google account is being set up. Instead I'm using F-Droid and Aurora.
Nokia 1 with unmodified stock ROM:
Google Translate 6.39.5.455645382.3 is working on a Nokia 1. It's running an unmodified Android 10 stock ROM, build number 00WW_3_110_SP03 with kernel date 2021-04-07. Google Play is installed (unmodified stock ROM), but no Google account is being set up. Instead I'm using F-Droid and Aurora.
Google Pixel 4a with unmodified stock ROM:
Google Translate 6.39.5.455645382.3 is working on a Pixel 4a. It's running an unmodified Android 12 stock ROM, build number SQ3A.220605.009.A1 with kernel date 2022-04-01. Google Play is installed (unmodified stock ROM) and a Google account is logged in.
Solutions
Workaround
I've successfully workarounded by downgrading to Google Translate 6.37.27.452667103.6 / 2022-06-03 (using arm64-v8a for my FP3+). According to apkmirror.com this is the version directly precessing the problematic version 6.39.5.455645382.3.