mobile_app_open
mobile_app_open copied to clipboard
chore: increase Android minSdkVersion from 21 to 30
- Closes #858
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
@mohitmundhragithub Can you please help fix the crash on QTI backend:
02-26 23:36:30.204: F/native(26913): cpp/backend_qti/qti_backend_helper.cc:123 runtime 0 is not available on this platform
@mohitmundhragithub Can you please help fix the crash on QTI backend:
02-26 23:36:30.204: F/native(26913): cpp/backend_qti/qti_backend_helper.cc:123 runtime 0 is not available on this platform
I seem to not have permission to view the log files. Can you please help share it?
I see this error is causing the test case to fail:
02-26 23:36:30.139: E/audit(1298): type=1400 audit(1709019390.134:12783): avc: denied { read } for pid=26913 comm="DartWorker" name="adsprpc-smd-secure" dev="tmpfs" ino=1396 scontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0 SEPF_SM-S908U1_12_0001 audit_filtered
MLPerf is considered an untrusted app without some play store key. Seems like with minSDKVersion set to 30, it doesn't allow to read few of the libraries on the devices, for untrusted app.
Can you please share the device's android version? I can check internally to find a workaround for this. Also, is the device on the latest update already?
I see this error is causing the test case to fail:
02-26 23:36:30.139: E/audit(1298): type=1400 audit(1709019390.134:12783): avc: denied { read } for pid=26913 comm="DartWorker" name="adsprpc-smd-secure" dev="tmpfs" ino=1396 scontext=u:r:untrusted_app:s0:c78,c257,c512,c768 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0 SEPF_SM-S908U1_12_0001 audit_filtered
MLPerf is considered an untrusted app without some play store key. Seems like with minSDKVersion set to 30, it doesn't allow to read few of the libraries on the devices, for untrusted app.
Can you please share the device's android version? I can check internally to find a workaround for this. Also, is the device on the latest update already?
this could be a plausible reason for it: https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission
The test device was a Galaxy S22 Ultra, API Level 33
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
packing .so file in some other ways? suggestion by @mohitmundhragithub
@RSMNYS to check if we can find any other way to pack .so file
@RSMNYS to check if we can find any other way to pack .so file
@freedomtan I checked the GeekbenchAI apk internally. The way they are packing the libs is exactly similar to how we are packing it in the mlperf app.