-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I tried to run all sensors on my phone, S21U, and some sensors seems to require the com.samsung.permission.SSENSOR permission
I tried to add that permission and more in the AndroidManifest but no luck, it seems like these sensors can only be accessed by Samsung and authorised third-parties, if that is the case, maybe these sensors should be hidden in the list or at least show somehow to the user that they can not be accessed. Or maybe it requires the explicit user's permission like with the GPS.
AndroidManifest additional permissions:
<uses-permission android:name="com.samsung.permission.SSENSOR" />
<uses-permission android:name="android.permission.SENSORS"/>
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
<uses-permission android:name="android.permission.BODY_SENSORS" />
<uses-permission android:name="android.permission.BODY_SENSORS_BACKGROUND" />
<uses-permission android:name="com.samsung.health.permission.SENSOR" />
<uses-permission android:name="com.samsung.android.hardware.sensor.permission.READ_ADDITIONAL_HEALTH_DATA" />
Logcat:
2025-11-19 19:23:25.210 7445-11255 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Grip Notifier Sensor) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.230 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Pocket Mode) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.233 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Light Seamless) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.233 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Tap Tracker) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.233 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Shake Tracker) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.243 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Hall IC) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.245 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Wake Up Motion) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.246 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Call Gesture) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.256 7445-10874 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (SX9360 Grip sensor) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.264 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Led Cover Event) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.264 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (SContext) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.268 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Step Detector Sensor) without holding android.permission.ACTIVITY_RECOGNITION
2025-11-19 19:23:25.273 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (TMD4912 Proximity Raw) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.274 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (TSL2510 Rear ALS) without holding com.samsung.permission.HRM_EXT
2025-11-19 19:23:25.274 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Step Counter Sensor) without holding android.permission.ACTIVITY_RECOGNITION
2025-11-19 19:23:25.274 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (Move Nomove Detector) without holding com.samsung.permission.SSENSOR
2025-11-19 19:23:25.290 7445-8013 SensorService system_server E com.github.umercodez.sensorspot Tried enabling a sensor (TMD4912 Proximity) without holding com.samsung.permission.SSENSOR
Metadata
Metadata
Assignees
Labels
No labels