@echo off
goto :main
by yaotierui
---------------------------------------------------------------------
                         <the usage>
-a: specify lk_log_switch    0:forbiden the lk log; 1-3: the lk log level
-b: specify zte_dump_switch  0: switch off the kernel dump  1: switch on the kernel dump
-c: specify zte_log_switch   0: switch off the zte log      1: switch on the zte log
-d: specify zte_modu_mask    every bit represent one module, the bit setting to 1 will switch on the related module log,else switch off
-e: specify console_loglevel value from 0-7, value 0 will switch off all the log , the zte log was effected too.
---------------------------------------------------------------------
:main
adb devices
adb shell /system/bin/debugswitch -a 0 -b 1 -c 0 -d 0x0 -e 0
adb reboot
echo "the phone rebooted......"
pause