Tuesday, September 27, 2011

How to brick your android device?

Today, While I was digging into android source code, I found this. Never tried it. Drop me a message here if you do.

package com.android.server;

import android.content.Context;
import android.content.Intent;
import android.content.BroadcastReceiver;
import android.os.SystemService;
import android.util.Log;

public class BrickReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Log.w("BrickReceiver", "!!! BRICKING DEVICE !!!");
SystemService.start("brick");
}
}



1 comment:

  1. It is probably used for the remote bricking of lost or stolen devices.

    ReplyDelete