I'm trying to permanently disable hotspot on my phone. I saw this answer here How do I disable the Mobile Hotspot feature?
I've connected my phone (ulefone armor 6e) to adb but I can't find hostapd in system/bin/ does anyone know where it is in Android 9? ( I can find it easily in an android 7 phone) or another file to delete that will do job without damaging anything else? I've not yet rooted my phone and I know I will have to try to do this to delete system files. But i would like to at least find the file i need to delete first.
Or is there an easier way?:D
/vendor/bin/
. Or/odm/bin/
. Since Android 8 hardware-specific vendor code is isolated from generic AOSP code in separate partition(s). – Irfan Latif Feb 15 '20 at 00:58/vendor/bin/hw/hostapd
. You can runadb shell find /system /vendor /odm /product -name hostapd 2>/dev/null
. Oradb shell grep -I hostapd /*/etc/init/*.rc
. Oradb shell ps -A -o cmdline | grep hostapd
. And so on. If you still cannot find the binary then SELinux might not be allowingadb
to access vendor stuff. Buthostapd
is definitely there. Just root your phone and you'll have access to everything. And sorry but your query is about basic usage of shell, not Android. – Irfan Latif Feb 16 '20 at 00:24