1.掛載可讀
public static final String MOUNT_SYSTEM_RO = "mount -o ro,remount /system";
複製程式碼
2.開啟飛航模式
public static final String COMMAND_AIRPLANE_ON = "settings put global airplane_mode_on 1 \n " + "am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true \n ";
複製程式碼
3.關閉飛航模式
public static final String COMMAND_AIRPLANE_OFF = "settings put global airplane_mode_on 0 \n" + "am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false \n ";
複製程式碼
4.修改系統時間
public static final String DATE_SET = "date ";//設定時間格式MMddHHmmyyyy.ss
public static final String UPDATE_TIME = "am broadcast -a android.intent.action.TIME_SET";
複製程式碼
5.開啟通知欄
public static final String EXPAND_STATUS_BAR = "service call statusbar 1";
複製程式碼
6.收起通知欄
public static final String COLLAPSE_STATUS_BAR = "service call statusbar 2";
複製程式碼
7.清除通知欄資訊
public static final String CLEAR_NOTIFICATION = "service call notification 1";
複製程式碼