Created
November 4, 2018 09:18
-
-
Save beginor/3dfc1a76d5f0fb08e20c8b96ff4ba8b0 to your computer and use it in GitHub Desktop.
Trun on wifi spot by adb.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# open setting | |
adb shell am start -n com.android.settings/.TetherSettings | |
# down | |
adb shell input keyevent 20 | |
# enter | |
adb shell input keyevent 66 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Searched up the whole internet couldn't find out anything BUT then I remembered about that one POWERFUL app(posting this solution everywhere haha)
Using this app, you could create a complex set of instructions to be executed in your phone by something called flows The app has some really beautiful UI ngl
(Here's a video demonstrating some really simple things you could do)
https://www.youtube.com/watch?v=i53Yd30TFrU
Simply speaking, you could access ALL sorts of Android APIs that would be extremely complicated to access otherwise through ADB alone. It's a universal solution for all phones to this hotspot problem and countless others.
It also has a vibrant community tab through which you could access the millions of flows created by other people
The app is freemium, doesn't contain ads whatsoever. The only limitation is that you could run 30 blocks simultaneously at a time
How to start/stop an Automate flow through ADB
https://groups.google.com/g/automate-user/c/IPmrJ4HjXwk?pli=1 https://www.reddit.com/r/AutomateUser/comments/qqmpms/how_can_i_start_a_flow_via_adb/
App link https://play.google.com/store/apps/details?id=com.llamalab.automate
App Documentation https://llamalab.com/automate/