NOTE: This app only supports HyperOS & MIUI system.
1. Add the toggle to notification center
In the notification center editing mode, you can find "5G Switcher" at "Available toggles". After adding, long-press the toggle to open settings.
2. Support ADB Shell commands
It is convenient for ROOT devices to run automated scripts by this adb cmd:
# Turn on 5G with "true" or turn off with "false"
am start -n com.ysy.switcherfiveg/.MainActivity --ez enable_5g true