Changes

Jump to: navigation, search

B2G/QA/Tips And Tricks

237 bytes removed, 01:56, 19 January 2014
Changing preferences
** For email debugging, setting this pref to set true : "browser.dom.window.dump.enabled"
User.jsExamples* The below example turns RIL debugging enabled 
adb pull /system/b2g/defaults/pref/user.js .
< edit user.js and set "ril.debugging.enabled" to true >
adb shell sync && adb reboot
* this turns ril debugging onThe below example overrides the User Agent string to Fennec (Firefox for Android) as per https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference
adb root
adb pull /system/b2g/defaults/pref/user.js .
echo 'pref("network.dns.disablePrefetch", true);' >> user.js
adb remount
adb push user.js /system/b2g/defaults/pref
adb shell sync && adb reboot
 
* this overrides the User Agent string to Fennec (Firefox for Android) as per https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference
adb root
adb pull /system/b2g/defaults/pref/user.js .
* Add 'pref("mms.debugging.enabled", true);' to turn MMS debugging on
* This adds the pref to disable dns prefetching : {{bug|856530}}
* Use the patterns above to change either the pref.js in the user profile or the user.js for the system: http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries
 
* Real time turning wifi debug on ( you will need netcat ( http://netcat.sourceforge.net/download.php ; http://www.catonmat.net/blog/unix-utilities-netcat/ ) ). You will also need to work with a version that has the simple remote js console. Patch listed here: ( {{bug|723391}} )
Confirm
2,959
edits

Navigation menu