openstf / STFService.apk

Monitor and perform various actions on your Android device. Not meant for actual user devices.
Other
242 stars 207 forks source link

Some phone properties are no more returned! #48

Open denis99999 opened 4 years ago

denis99999 commented 4 years ago

Using mobiles as a s9+ for instance (or older ones), some phone properties are no more returned, in particular imei, phone number, iccid and imsi.

# adb logcat | grep GetProperties
02-19 16:19:24.790  2751  2792 D GetPropertiesResponder: Security exception trying to retrieve imei
02-19 16:19:24.795  2751  2792 D GetPropertiesResponder: unknown property request
02-19 16:19:24.805  2751  2792 D GetPropertiesResponder: Security exception trying to retrieve iccid
02-19 16:19:24.814  2751  2792 D GetPropertiesResponder: Security exception trying to retrieve imsi

Note the unknown property request message is related to phoneNumberproperty and is fixed by #46 PR, otherwise a Security exception is raised in place.