Skip to content

Instantly share code, notes, and snippets.

@justindarc
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save justindarc/0ec2e3fd7c0ded2016e2 to your computer and use it in GitHub Desktop.
Save justindarc/0ec2e3fd7c0ded2016e2 to your computer and use it in GitHub Desktop.
enable_developer_mode.sh
#!/bin/sh
adb shell "stop b2g"
adb shell "cd /data/b2g/mozilla/*.default/;echo 'user_pref(\"dom.apps.developer_mode\", true);' >> prefs.js;"
adb shell "cd /data/b2g/mozilla/*.default/;echo 'user_pref(\"network.disable.ipc.security\", true);' >> prefs.js;"
adb shell "start b2g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment