GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
344 stars 19 forks source link

Oura App won't load needed Feature while Google Play Store / Google Play Services #644

Closed Exclution closed 2 years ago

Exclution commented 2 years ago

Hi All,

i'm tryying to get "Oura" runinng on GrapheneOS. Inside the App there is a Feature, wich needs to download aditional files. This Feature brings up "something went wrong".

Searching a bit will show, that this issue is related to the Google Play Store / Google Play Services. Somehow it needs to download through those Apps some Files wich doesn't work.

Can you have a look an that issue? Probably it is not hard to get it running.

thanks in advance g

thestinger commented 2 years ago

Not able to act on these kinds of reports without a lot more information including device type and logs.

Exclution commented 2 years ago

Hey @thestinger thanks for your reply. i would like to provide you with the right logs. I've just taken a bug report. Which files of it should i send to you to get a good view into it? thanks in advance!

thestinger commented 2 years ago

There's a txt file inside which has most of the logs and you should try to cut out the relevant portion + surrounding context from there. Don't need any of the files beyond the relevant section of the logs.

Exclution commented 2 years ago

Hi, i think this snipped is exactly the log of the error: 09-06 23:02:13.160 root 29542 29542 W Zygote : Can't access app profile directory: /data_mirror/cur_profiles/0/com.ouraring.oura 09-06 23:02:13.172 10187 29542 29542 E m.ouraring.our: Not starting debugger since process cannot load the jdwp agent. 09-06 23:02:13.236 10163 29542 29542 I chatty : uid=10163(com.google.android.gms) com.ouraring.oura identical 6 lines 09-06 23:02:13.237 10187 29542 29542 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10187 <<<<<< 09-06 23:02:13.239 10187 29542 29542 E libc : Access denied finding property "persist.device_config.runtime_native_boot.profilebootclasspath" 09-06 23:02:13.239 10187 29542 29542 E libc : Access denied finding property "persist.device_config.runtime_native_boot.enable_apex_image" 09-06 23:02:13.239 10187 29542 29542 I AndroidRuntime: Using default boot image 09-06 23:02:13.239 10187 29542 29542 E libc : Access denied finding property "persist.device_config.runtime_native_boot.disable_lock_profiling" 09-06 23:02:13.239 10187 29542 29542 I AndroidRuntime: Leaving lock profiling enabled 09-06 23:02:13.239 10187 29542 29542 E libc : Access denied finding property "persist.device_config.runtime_native_boot.enable_generational_cc" 09-06 23:02:13.311 10187 29542 29542 D com.ouraring.oura: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat 09-06 23:02:13.311 10187 29542 29542 D com.ouraring.oura: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat 09-06 23:02:13.327 10187 29542 29542 W com.ouraring.oura: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes 09-06 23:02:13.332 10187 29542 29542 D AndroidRuntime: Calling main entry com.android.internal.os.ExecInit 09-06 23:02:13.333 10187 29542 29542 D Zygote : begin preload 09-06 23:02:13.333 10187 29542 29542 I Zygote : Calling ZygoteHooks.beginPreload() 09-06 23:02:13.336 10187 29542 29542 I Zygote : Preloading shared libraries... 09-06 23:02:13.410 10187 29542 29542 I Zygote : Called ZygoteHooks.endPreload() 09-06 23:02:13.421 10187 29542 29542 I Zygote : Installed AndroidKeyStoreProvider in 11ms. 09-06 23:02:13.421 10187 29542 29542 D Zygote : end preload 09-06 23:02:13.451 10187 29542 29542 I com.ouraring.oura: The ClassLoaderContext is a special shared library. 09-06 23:02:13.456 10187 29542 29542 W com.ouraring.oura: Insufficient pre-allocated space to mmap vdex. 09-06 23:02:13.487 10187 29542 29542 I PackageParser: Skipping target and overlay pair com.android.settings and /product/overlay/SettingsOverlayG025M.apk: overlay ignored due to required system property: ro.boot.hardware.sku with value: G025M 09-06 23:02:13.489 10187 29542 29542 I PackageParser: Skipping target and overlay pair com.android.settings and /product/overlay/SettingsOverlayG025J.apk: overlay ignored due to required system property: ro.boot.hardware.sku with value: G025J 09-06 23:02:13.507 10187 29542 29542 I LoadedApk: No resource references to update in package com.ouraring.oura.soundscapes 09-06 23:02:13.507 10187 29542 29542 I LoadedApk: No resource references to update in package com.ouraring.oura.meditation

also a picture of the screen screenshot-2021-09-06-23-02-25-1

thestinger commented 2 years ago

The error isn't in that log. You've cut out the relevant portions.

Exclution commented 2 years ago

Thanks for your quick.reply! I'll give it a new try.

At least, is this the right section of the logfile?

thestinger commented 2 years ago

That's the correct log file but it's not quite enough of the context and is likely missing most of what's relevant to the issue.

Exclution commented 2 years ago

Hi @thestinger ,

i've just updated the app via google play store - and yeah, it works now! So. no more Issue :-)

thanks and regards

djbattery commented 1 year ago

Exclution, did you just give up trying to get Oura working without Google Play Services? I'm wondering if you initially installed the app via the APK? I'm interested in doing the same thing or at least better understanding what data the 4 Google trackers in the Oura app are able to access. Appreciate any help.

Exclution commented 1 year ago

Hi djbattery, i didn't tried to get Oura working without google play services.

djbattery commented 1 year ago

Thanks for your reply, I see I misinterpreted your issue.