QA/B2G getting started

From MozillaWiki
Jump to navigation Jump to search

Overview

The Build

  • Devices
    • white ZTE: unagi
    • black ZTE: inari
  • Where to log bugs?
  • What version am I on:
    • Generally use the build SHA in Settings > About phone > advanced

Debugging

ADB

adb is how to tether and connect to your phone

  • get it here
  • get log files
    • plug in USB
    • on phone goto Settings > About Phone > Advanced turn on USB and BLAH
    • on mac run
      • ./adb devices
      • if you don't see the device, restart adb with this cmd: ./adb usb

how to get logs:

  • run ./adb logcat > log.txt
  • run ./adb logcat -c to clear

how to push a pref:

  • ./adb push pref("toolkit.identity.debug", true);