Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]: java.lang.IllegalArgumentException: Unknown permission: android.permission.WRITE_SECURE_SETTING #2741

Open
HoffiConfusion opened this issue Jan 6, 2025 · 0 comments
Labels

Comments

@HoffiConfusion
Copy link

What version of Keepass2Android are you using? V 1.11-r0

I want to install the KeyboardSwap-Plugin on Samsung Tab S9. There comes this error.
At the same time I install the Plugin on Samsung XCover 7: no problem, it works

Is there any way to install ist on Tab S9 ?


gts9:/ $ pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTING

Exception occurred while executing 'grant':
java.lang.IllegalArgumentException: Unknown permission: android.permission.WRITE_SECURE_SETTING
at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermissionInternal(PermissionManagerServiceImpl.java:1441)
at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermission(PermissionManagerServiceImpl.java:1398)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:571)
at android.permission.PermissionManager.grantRuntimePermission(PermissionManager.java:612)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2732)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:309)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onShellCommand(PackageManagerService.java:7259)
at android.os.Binder.shellCommand(Binder.java:1104)
at android.os.Binder.onTransact(Binder.java:914)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4905)
at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:7243)
at android.os.Binder.execTransactInternal(Binder.java:1380)
at android.os.Binder.execTransact(Binder.java:1311)


gts9:/ $ pm list permissions -d -g

Dangerous Permissions:

group:com.sec.enterprise.permission-group.mdm

group:com.google.android.gms.permission.CAR_INFORMATION
permission:com.google.android.gms.permission.CAR_VENDOR_EXTENSION
permission:com.google.android.gms.permission.CAR_MILEAGE
permission:com.google.android.gms.permission.CAR_FUEL

group:android.permission-group.CONTACTS

group:android.permission-group.PHONE

group:android.permission-group.CALENDAR

group:android.permission-group.CALL_LOG

group:android.permission-group.CAMERA

group:android.permission-group.HEALTH
permission:android.permission.health.READ_RESTING_HEART_RATE
permission:android.permission.health.WRITE_BASAL_METABOLIC_RATE
permission:android.permission.health.WRITE_HEART_RATE
permission:android.permission.health.READ_ELEVATION_GAINED
permission:android.permission.health.WRITE_POWER
permission:android.permission.health.WRITE_SLEEP
permission:android.permission.health.WRITE_SPEED
permission:android.permission.health.WRITE_STEPS
permission:android.permission.health.READ_ACTIVE_CALORIES_BURNED
permission:android.permission.health.READ_BASAL_BODY_TEMPERATURE
permission:android.permission.health.READ_HEART_RATE_VARIABILITY
permission:android.permission.health.READ_LEAN_BODY_MASS
permission:android.permission.health.WRITE_INTERMENSTRUAL_BLEEDING
permission:android.permission.health.WRITE_OXYGEN_SATURATION
permission:android.permission.health.READ_OXYGEN_SATURATION
permission:android.permission.health.READ_EXERCISE_ROUTES
permission:android.permission.health.WRITE_SKIN_TEMPERATURE
permission:android.permission.health.READ_HYDRATION
permission:android.permission.health.READ_HEALTH_DATA_HISTORY
permission:android.permission.health.WRITE_WHEELCHAIR_PUSHES
permission:android.permission.health.READ_WHEELCHAIR_PUSHES
permission:android.permission.health.WRITE_CERVICAL_MUCUS
permission:android.permission.health.WRITE_DISTANCE
permission:android.permission.health.READ_SEXUAL_ACTIVITY
permission:android.permission.health.READ_DISTANCE
permission:android.permission.health.WRITE_BLOOD_GLUCOSE
permission:android.permission.health.WRITE_FLOORS_CLIMBED
permission:android.permission.health.WRITE_HEIGHT
permission:android.permission.health.READ_TOTAL_CALORIES_BURNED
permission:android.permission.health.READ_BODY_WATER_MASS
permission:android.permission.health.WRITE_MENSTRUATION
permission:android.permission.health.READ_NUTRITION
permission:android.permission.health.WRITE_BLOOD_PRESSURE
permission:android.permission.health.WRITE_BODY_TEMPERATURE
permission:android.permission.health.WRITE_PLANNED_EXERCISE
permission:android.permission.health.WRITE_WEIGHT
permission:android.permission.health.READ_VO2_MAX
permission:android.permission.health.WRITE_LEAN_BODY_MASS
permission:android.permission.health.WRITE_SEXUAL_ACTIVITY
permission:android.permission.health.WRITE_HYDRATION
permission:android.permission.health.WRITE_BODY_WATER_MASS
permission:android.permission.health.READ_SKIN_TEMPERATURE
permission:android.permission.health.READ_OVULATION_TEST
permission:android.permission.health.WRITE_TOTAL_CALORIES_BURNED
permission:android.permission.health.WRITE_RESPIRATORY_RATE
permission:android.permission.health.READ_BASAL_METABOLIC_RATE
permission:android.permission.health.WRITE_BODY_FAT
permission:android.permission.health.READ_HEALTH_DATA_IN_BACKGROUND
permission:android.permission.health.WRITE_EXERCISE_ROUTE
permission:android.permission.health.WRITE_ELEVATION_GAINED
permission:android.permission.health.WRITE_NUTRITION
permission:android.permission.health.READ_BONE_MASS
permission:android.permission.health.WRITE_ACTIVE_CALORIES_BURNED
permission:android.permission.health.WRITE_BASAL_BODY_TEMPERATURE
permission:android.permission.health.READ_BODY_FAT
permission:android.permission.health.WRITE_HEART_RATE_VARIABILITY
permission:android.permission.health.WRITE_RESTING_HEART_RATE
permission:android.permission.health.WRITE_EXERCISE
permission:android.permission.health.READ_EXERCISE
permission:android.permission.health.READ_INTERMENSTRUAL_BLEEDING
permission:android.permission.health.READ_POWER
permission:android.permission.health.READ_SLEEP
permission:android.permission.health.READ_SPEED
permission:android.permission.health.READ_STEPS
permission:android.permission.health.READ_BODY_TEMPERATURE
permission:android.permission.health.READ_PLANNED_EXERCISE
permission:android.permission.health.READ_HEIGHT
permission:android.permission.health.WRITE_VO2_MAX
permission:android.permission.health.READ_CERVICAL_MUCUS
permission:android.permission.health.READ_BLOOD_GLUCOSE
permission:android.permission.health.READ_MENSTRUATION
permission:android.permission.health.READ_FLOORS_CLIMBED
permission:android.permission.health.READ_WEIGHT
permission:android.permission.health.READ_BLOOD_PRESSURE
permission:android.permission.health.READ_HEART_RATE
permission:android.permission.health.WRITE_BONE_MASS
permission:android.permission.health.READ_RESPIRATORY_RATE
permission:android.permission.health.WRITE_OVULATION_TEST

group:android.permission-group.READ_MEDIA_VISUAL

group:android.permission-group.READ_MEDIA_AURAL

group:android.permission-group.UNDEFINED
permission:android.permission.READ_SMS
permission:android.permission.READ_CALENDAR
permission:android.permission.POST_NOTIFICATIONS
permission:android.permission.READ_CALL_LOG
permission:android.permission.ACCESS_FINE_LOCATION
permission:android.permission.ANSWER_PHONE_CALLS
permission:android.permission.RECEIVE_WAP_PUSH
permission:android.permission.BODY_SENSORS
permission:android.permission.READ_PHONE_NUMBERS
permission:android.permission.READ_MEDIA_VISUAL_USER_SELECTED
permission:android.permission.NEARBY_WIFI_DEVICES
permission:android.permission.RECEIVE_MMS
permission:android.permission.RECEIVE_SMS
permission:android.permission.BLUETOOTH_CONNECT
permission:android.permission.READ_EXTERNAL_STORAGE
permission:android.permission.ACCESS_COARSE_LOCATION
permission:android.permission.READ_PHONE_STATE
permission:android.permission.SEND_SMS
permission:android.permission.CALL_PHONE
permission:android.permission.READ_MEDIA_IMAGES
permission:android.permission.WRITE_CONTACTS
permission:android.permission.BODY_SENSORS_BACKGROUND
permission:android.permission.ACCEPT_HANDOVER
permission:android.permission.CAMERA
permission:android.permission.WRITE_CALENDAR
permission:android.permission.WRITE_CALL_LOG
permission:android.permission.READ_MEDIA_AUDIO
permission:android.permission.READ_MEDIA_VIDEO
permission:android.permission.USE_SIP
permission:android.permission.PROCESS_OUTGOING_CALLS
permission:android.permission.READ_CELL_BROADCASTS
permission:android.permission.BLUETOOTH_ADVERTISE
permission:android.permission.GET_ACCOUNTS
permission:android.permission.WRITE_EXTERNAL_STORAGE
permission:android.permission.UWB_RANGING
permission:android.permission.ACTIVITY_RECOGNITION
permission:android.permission.RECORD_AUDIO
permission:android.permission.READ_CONTACTS
permission:android.permission.ACCESS_BACKGROUND_LOCATION
permission:android.permission.BLUETOOTH_SCAN
permission:android.permission.ACCESS_MEDIA_LOCATION
permission:com.android.voicemail.permission.ADD_VOICEMAIL

group:android.permission-group.ACTIVITY_RECOGNITION

group:android.permission-group.SENSORS

group:android.permission-group.LOCATION
permission:com.google.android.gms.permission.CAR_SPEED

group:android.permission-group.STORAGE

group:android.permission-group.NOTIFICATIONS

group:android.permission-group.MICROPHONE

group:android.permission-group.NEARBY_DEVICES

group:android.permission-group.SMS
permission:com.google.android.apps.messaging.EXTERNAL_MESSAGING_API

ungrouped:
permission:com.samsung.android.weather.permission.READ_DANGEROUS_PROVIDER
permission:com.google.android.providers.talk.permission.WRITE_ONLY
permission:com.wireguard.android.permission.CONTROL_TUNNELS
permission:com.samsung.android.knox.permission.KNOX_NDA_AI_RT
permission:com.google.android.gm.permission.READ_CONTENT_PROVIDER
permission:com.samsung.android.knox.permission.KNOX_NDA_PERIPHERAL_RT
permission:com.sec.android.app.secsetupwizard.APP_PERMISSIONS_FOR_CHINA
permission:com.samsung.android.knox.permission.KNOX_NDA_DEVICE_SETTINGS_RT
permission:com.google.android.providers.talk.permission.READ_ONLY
permission:com.samsung.android.knox.permission.KNOX_NDA_DATA_ANALYTICS_RT

@HoffiConfusion HoffiConfusion changed the title [QUESTION] [QUESTION]: java.lang.IllegalArgumentException: Unknown permission: android.permission.WRITE_SECURE_SETTING Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant