Last active
September 4, 2018 20:08
-
-
Save justindarc/1d88d7d14e3264e8a666 to your computer and use it in GitHub Desktop.
enable_wifi_direct.sh
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
#!/bin/sh | |
adb shell "mount -o rw,remount /system" | |
adb shell "stop b2g" | |
adb shell "echo \"ro.moz.wifi.p2p_supported=1\" >> /system/build.prop" | |
adb shell "mount -o ro,remount /system" | |
adb reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heya, I tried to do this with a Nexus 4 and it wouldn't let me edit /system/build.prop until I remounted the /system partition in rw mode using this tip
so the right version should be