Skip to content

Instantly share code, notes, and snippets.

@tauzen
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tauzen/a28e6699e0d1f8c72f93 to your computer and use it in GitHub Desktop.
Save tauzen/a28e6699e0d1f8c72f93 to your computer and use it in GitHub Desktop.
Setting NFC debug_all = true without gecko rebuild
$ adb remount
$ adb pull /system/b2g/omni.ja
$ unzip omni.ja -d Omni
$ sed -i 's/this.DEBUG_ALL = false;/this.DEBUG_ALL = true;/g' Omni/modules/nfc_consts.js
$ cd Omni
$ zip -r omni.ja *
$ adb push omni.ja /system/b2g
$ adb reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment