Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Unfortunately, I wasn't able to get past this conventionally and no answers here either. I installed a LineageOS based rom via TWRP commandline and managed to get it to boot. It has ADB enabled by default and I was able to inject the adb key via the TWRP shell too. Now I am stuck at a different problem of adding and connecting to a WiFi SSID via the commandline. Commented Aug 6, 2018 at 11:25
  • You can just supply a /data/misc/wifi/wpa_supplicant.conf file with the right credentials and enable wifi using svc wifi enable. Commented Aug 7, 2018 at 8:52
  • @Zulakis I have already tried that, but unfortunately it doesn't work on my setup. I've raised a new question at android.stackexchange.com/questions/200285/… Waiting patiently for new things to try. Commented Aug 13, 2018 at 6:31
  • You could probably edit the /vendor/etc/init/hw/init.qcom.usb.rc file to achieve what you want. (That's what I did for a similar issue). Commented Aug 13, 2018 at 19:45