How can I brick the Android emulator?
I'm working on a master's thesis and want to demonstrate how bad a malicious application can be. I'm looking for a pre-installed application on the application on the android emulator or an application that has "brick" permission on the device. Rather than bricking my device, I would much prefer bricking the emulator instead!
PS:开发者_如何转开发 My device is a samsung galaxy i7500 just in case.
EDIT: Please do care to leave a comment as to why this question might annoy you (I promise not to serial downvote you)! I understand the topic may seem "very suspicious", but then I would not be linking myself publically to something that may be malicious in nature and I intend to pull off! Thanks for your consideration.
You won't find any apps on the Android Market that do this. Just try the code for yourself:
Not granting permission android.permission.BRICK to package com.example.app (protectionLevel=2 flags=0x4444)
Only applications with the same signature as the system can use the BRICK
permission (protectionLevel=2).
You'd need to build the Android platform yourself in order to attempt this.
See also BrickReceiver for an example of how it supposedly should work.
精彩评论