M mhk1368 Member Nov 12, 2022 #1 hi I have the following 3 codes, but I don't know how to run them through the program itself. Can anyone help? Code: Copy adb shell svc data enable adb shell service call tethering 4 null s16 random adb shell settings put secure location_mode 3 Code: Copy Sub Button1_Click End Sub
hi I have the following 3 codes, but I don't know how to run them through the program itself. Can anyone help? Code: Copy adb shell svc data enable adb shell service call tethering 4 null s16 random adb shell settings put secure location_mode 3 Code: Copy Sub Button1_Click End Sub
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2022 #2 You can't. ADB is a desktop tool. Upvote 0
M mhk1368 Member Nov 13, 2022 #3 Erel said: You can't. ADB is a desktop tool. Click to expand... thanks. If I root my phone, can i use it because it is for a kiosk app? Upvote 0
Erel said: You can't. ADB is a desktop tool. Click to expand... thanks. If I root my phone, can i use it because it is for a kiosk app?
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2022 #4 No. It is a desktop program. Part of Android SDK. Upvote 0
M mhk1368 Member Nov 13, 2022 #5 Erel said: No. It is a desktop program. Part of Android SDK. Click to expand... I meant this method, is it possible? https://www.b4x.com/android/forum/threads/running-shell-commands-as-superuser.6886/page-2#posts Upvote 0
Erel said: No. It is a desktop program. Part of Android SDK. Click to expand... I meant this method, is it possible? https://www.b4x.com/android/forum/threads/running-shell-commands-as-superuser.6886/page-2#posts
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2022 #6 Sorry, my mistake. Yes, you can run shell commands with Phone.Shell and with some work you can run them as superuser. Remove the "adb shell" from the commands. Upvote 0
Sorry, my mistake. Yes, you can run shell commands with Phone.Shell and with some work you can run them as superuser. Remove the "adb shell" from the commands.
M mhk1368 Member Nov 13, 2022 #7 Erel said: Sorry, my mistake. Yes, you can run shell commands with Phone.Shell and with some work you can run them as superuser. Remove the "adb shell" from the commands. Click to expand... Can I do this without root? Upvote 0
Erel said: Sorry, my mistake. Yes, you can run shell commands with Phone.Shell and with some work you can run them as superuser. Remove the "adb shell" from the commands. Click to expand... Can I do this without root?
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2022 #8 I don't know. You will need to try it. It will most probably won't work. Upvote 0 Solution