public static bool SlConnectNotXM()
        {
            string text = QDCOM.AdbCommand("getversion");

            if (text.Contains("."))
            {
                return(false);
            }
            return(true);
        }
        public static bool RootAccess()
        {
            string text = QDCOM.AdbCommand("shell su -v");

            if (text.Contains("not found"))
            {
                return(false);
            }
            return(true);
        }
        public static bool AdbSLConnect()
        {
            string text = QDCOM.AdbCommand("get-state");

            if (text.Contains("sideload"))
            {
                return(true);
            }
            return(false);
        }
 public static void Ver567Font()
 {
     QDCOM.AdbCommand("push SmartZawgyiPro.ttf data/local/tmp/");
     QDCOM.AdbCommand("shell su -c \"dd if=/data/local/tmp/SmartZawgyiPro.ttf of=/system/fonts/NotoSansMyanmar-Bold.ttf\"");
     QDCOM.AdbCommand("shell su -c \"dd if=/data/local/tmp/SmartZawgyiPro.ttf of=/system/fonts/NotoSansMyanmar-Regular.ttf\"");
     QDCOM.AdbCommand("shell su -c \"dd if=/data/local/tmp/SmartZawgyiPro.ttf of=/system/fonts/NotoSansMyanmarUI-Bold.ttf\"");
     QDCOM.AdbCommand("shell su -c \"dd if=/data/local/tmp/SmartZawgyiPro.ttf of=/system/fonts/NotoSansMyanmarRegular-Bold.ttf\"");
     QDCOM.AdbCommand("shell su -c \"dd if=/data/local/tmp/SmartZawgyiPro.ttf of=/system/fonts/NotoSansMyanmarZawgyiUI-Regular.ttf\"");
     QDCOM.AdbCommand("adb shell su -c \"chmod 644 / system / fonts/*.ttf\"");
 }
        public static bool adbConnect()
        {
            string text = QDCOM.AdbCommand("get-state");

            if (text.Contains("device"))
            {
                return(true);
            }
            return(false);
        }
 public static void DisableMiAccount()
 {
     QDCOM.AdbCommand("pm hide com.miui.cloudservice");
     QDCOM.AdbCommand("pm hide com.xiaomi.finddevice");
     QDCOM.AdbCommand("reboot");
 }
 public static string RunCommand(string arg)
 {
     return(QDCOM.AdbCommand(arg));
 }
 public static string MiSLReset()
 {
     return(QDCOM.AdbCommand("format-data"));
 }