In Android, there used to be a permission with the name BRICK that could be used to potentially disable the device. Other than hearing it as an urban myth, I do not really know if this permission can really be used to brick a device.
All I can think of are the following reasons:
Is there any other sane reason why a third-party app would require to use it? And why was it removed (not sure) from GingerBread?
Also, what does it really do anyways? Reset the phone to its factory settings?
Third-party apps cannot get this permission, or various other permissions defined in the SDK, unless perhaps they are signed by the system firmware signing key.
I do not see where the BRICK
permission is used anywhere in the OS at present.
It's still there in the android documentation and there is no indication that it is deprecated. http://developer.android.com/reference/android/Manifest.permission.html#BRICK It is a system level permission and so has to be signed with the same signature as the android version build. So an app developer cannot use it. It may be usable on an emulator but I'm not sure.
As to WHY someone would want it? I can only think of the same reasons you mentioned: enterprise remote wipe or similar.
Edit: Great link discussing the matter:
http://androidcommunity.com/execute-android-brick-20110204/
According to that, it's no longer available and when it was, it was only for system builders possibly to prevent people from hacking their phones. Didn't motorola get into controversy with the Droid 2 or something over this?
If the BRICK
permission were declared in an app, Android would describe it to the user as follows (source, at or near line 1626, or here):
permanently disable phone/tablet
Allows the app to disable the entire phone/tablet permanently. This is very dangerous.
While this is documented, only system apps signed by the platform key can use this permission, and I am not aware of an app within stock Android that uses this permission. As such, I do not know the actual behavior this permission controls.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With