You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to automatically pull up the StartFlagExploit APP after the system_server restarts, so that the phone will continue to be restarted?
I tried to register the system startup broadcast, but my receiver did not receive any system startup broadcast. I think it is because my APP has not started yet, so I can't receive the broadcast. And the system did not send the android.intent.action.BOOT_COMPLETED broadcast.
public class BootCompletedReceiver extends BroadcastReceiver {
private static final String TAG = "systemcrash";
@Override
public void onReceive(Context context, Intent intent) {
Intent in = null;
switch (intent.getAction()) {
case ACTION_USER_PRESENT:
Log.e(TAG,"手机解锁");
in = new Intent();
in.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
in.setClassName("com.facat.systemcrash", "MainActivity");
context.startActivity(in);
case ...
default:
Log.e(TAG,"default: " + intent.getAction());
in = new Intent();
in.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
in.setClassName("com.facat.systemcrash", "MainActivity");
context.startActivity(in);
}
}
}
The text was updated successfully, but these errors were encountered:
Is there a way to automatically pull up the StartFlagExploit APP after the system_server restarts, so that the phone will continue to be restarted?
I tried to register the system startup broadcast, but my receiver did not receive any system startup broadcast. I think it is because my APP has not started yet, so I can't receive the broadcast. And the system did not send the
android.intent.action.BOOT_COMPLETED
broadcast.My test code:
test devices: pixel 4XL android10
The text was updated successfully, but these errors were encountered: