SVC command, located in the/system/bin directory, used to manage power control, wireless data, WiFi
# SVC <br/> available commands: <br/> help show information about the subcommands <br/> power control the power manager <br/> Data Control mobile data connectivity <br/> WiFi control the Wi-Fi manager </P> <p> # SVC power <br/> control the power manager <br/> usage: SVC power stayon [true | false | USB | Ac] <br/> set the 'Keep awake while plugged in 'setting. // set that the screen is always on, true is always on, false is not on, and USB is always on when the USB is inserted, AC is always on when power is inserted </P> <p> # SVC data <br/> control mobile data connectivity <br/> usage: SVC data [enable | disable] <br/> turn mobile data on or off. // set whether data on the mobile network is enabled <br/> SVC data prefer <br/> set mobile as the preferred Data Network // set the data on the mobile network to take precedence over WiFi </P> <p> # SVC WiFi <br/> control the Wi-Fi manager <br/> usage: SVC WiFi [enable | disable] <br/> turn Wi-Fi on or off. // set whether WiFi is enabled <br/> SVC WiFi prefer <br/> set Wi-Fi as the preferred Data Network // set wifi to take precedence over mobile network data, this should be set in general, unless you deliberately use mobile network data transmission
The above commands must be executed in shell and must be root.
You can use gscript and input these commands to put the shortcut on the desktop, which is as convenient as those of the switch software.