I got the error while trying this on command line interface
root@sabresd_6dq:/ # hostapd_cli wps_pbc
Failed to connect to hostapd - wpa_ctrl_open: No such file or directory
How to solve this?
All you need is an unlocked bootloader and the latest TWRP recovery (I confirmed this works perfectly on the US Nexus 6 on Verizon).
Boot into recovery, go to
advanced, and click
mount and select
Connect your phone to your computer. Open
terminal/cmd and run the following:
adb pull /system/build.prop
This will pull the build.prop onto your computer in the location where your terminal is open. Edit that in your text editor on your computer and then add the following line:
Save, and then run
adb push build.prop /system/
This puts it back on your phone, but the permissions might be funky, so run
chmod 644 /system/build.prop