mlcommons / mobile_app_open

Mobile App Open
https://mlcommons.org/en/groups/inference-mobile/
Apache License 2.0
41 stars 20 forks source link

Test Android Play Store version #893

Open anhappdev opened 2 weeks ago

anhappdev commented 2 weeks ago

The latest build (154) is released to the Play Store for internal testing: https://play.google.com/apps/internaltest/4700449654979131232

I tried to run the app on my galaxy s23... but it crashes. Do we know of any known issues? https://github.com/mlcommons/mobile_app_open/pull/745#issuecomment-2152006625

@mohitmundhragithub Can you please test the Play Store version and share a crash log if it crashes?

mohitmundhragithub commented 2 weeks ago

Sorry, unable to upload the logs from my Qualcomm PC. Need to take it up with IT team here... will get back on this.

But from the logs, it seems that the app has been marked as untrusted, and makes fastRPC inaccessible from the application. Sharing a snippet below:

06-19 15:46:13.911 1745 1745 E audit : type=1400 audit(1718792173.908:4128500): avc: denied { getattr } for pid=5702 comm="DartWorker" path="/vendor/dsp" dev="sda17" ino=2 scontext=u:r:untrusted_app_32:s0:c126,c258,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 SEPF_SM-S918B_13_0001 audit_filtered 06-19 15:46:13.911 1745 1745 E audit : type=1400 audit(1718792173.908:4128501): avc: denied { search } for pid=5702 comm="DartWorker" name="/" dev="sda17" ino=2 scontext=u:r:untrusted_app_32:s0:c126,c258,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 SEPF_SM-S918B_13_0001 audit_filtered 06-19 15:46:13.911 1745 1745 E audit : type=1400 audit(1718792173.908:4128502): avc: denied { getattr } for pid=5702 comm="DartWorker" path="/vendor/dsp" dev="sda17" ino=2 scontext=u:r:untrusted_app_32:s0:c126,c258,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 SEPF_SM-S918B_13_0001 audit_filtered

We need to find why this restriction would come after uploading to playstore? What changes in the apk when we upload the app?

anhappdev commented 2 weeks ago

The only different I can think of now is that the CI version is an APK and the Play Store version is an Android App Bundle (AAB).

anhappdev commented 1 week ago

@mohitmundhragithub Is the crash occurred on any Android devices with the QTI backend or only on the Galaxy S23?