shortx命令
1 subscriber
1 photo
1 file
5 links
Download Telegram
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("batterystats").resetBattery(true);
// 一键恢复伪装

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("batterystats").isCharging();
// 判断是否充电

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("statusbar").onClearAllNotifications(0);
// 清除指定用户的所有通知

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("location").isLocationEnabledForUser(0);
// 判断指定用户定位是否开启

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("bluetooth_manager").getState() == 12;
// 判断蓝牙是否开启

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("device_policy").setScreenCaptureDisabled(null, "android", true, false);
// 禁用屏幕截图

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("device_policy").setScreenCaptureDisabled(null, "android", false, false);
// 启用屏幕截图

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("device_policy").getScreenCaptureDisabled(null, 0, false);
// 判断屏幕截图是否禁用

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
Service = android.os.ServiceManager.getService("device_policy");

if (android.os.Build.VERSION.SDK_INT > 33) {
Service.getCurrentFailedPasswordAttempts("android", 0, true);
} else {
Service.getCurrentFailedPasswordAttempts(0, true);
}
// 获取锁屏密码错误次数

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("statusbar").getLastSystemKey();
// 获取最近按键事件的按键码

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("package").setBlockUninstallForUser("tornaco.apps.shortx", true, 0)
// 阻止指定用户指定包名的卸载

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("package").deleteApplicationCacheFilesAsUser("包名", 0, null)
// 清除指定用户的指定包名的缓存数据

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("package").clearApplicationUserData("包名", null, 0)
// 清除指定用户的指定包名的全部数据

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("lock_settings").getBoolean("lockscreen.disabled", true, 0)
// 获取指定用户是否为无锁屏

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("lock_settings").setBoolean("lockscreen.disabled", true, 0)
// 设置指定用户为无锁屏
// 无锁屏!=滑动

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("wifi").getWifiApEnabledState() == 13;
// 获取热点是否开启

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("statusbar").shutdown();
// 关机

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
m=android.os.ServiceManager.getService("statusbar").getNavBarMode();
m==0?"手势导航":m==1?"三段式导航":"未知:"+m;
// 获取导航栏模式

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("statusbar").setNavBarMode(1);
// 1代表三段式导航栏
// 0代表手势导航

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("input_method").showInputMethodPickerFromSystem(0 ,0);
// 调用输入法选择器

#MVEL表达式 #Javascript
Forwarded from 𝓗𝓮
android.os.ServiceManager.getService("package").setApplicationHiddenSettingAsUser("包名", true, 0);
// (伪装卸载,尽量让别的软件扫不到,额外会冻结应用)!
// 设置隐藏指定用户的指定包名应用

#MVEL表达式 #Javascript