These docs are just my attempt of making sense of and filling in the gaps (i.e. for first timers) in these articles:
- https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager
- https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Connecting_a_Firefox_OS_device_to_the_desktop
Turn off the lock screen
- Settings
- Screen lock (or Phone lock)
- Lock screen
Turn remote debugging on
- Settings
- Device information
- More Information
- Developer
- Remote debugging
NOTE: For some debugging your phone must not be on the lock screen. It must be unlocked on the homescreen to begin.
Enable Remote Debugging
- In the URL bar in firefox go to
about:config
- Ignore the warning
- Search for
remote-enabled
- Double click to turn
false
totrue
Install ADB Helper
Restart Firefox & Enjoy
- Go to
about:app-manager
brew install android-platform-tools
Plug the ZTE Open C into your USB port and check to see if it shows up
adb devices
NOTE: The phone must not be on the lock screen. Unlock to the home screen first!
The first time it may not work because the daemon hasn't started:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Unplug, replug, and try again:
adb devices
This is what success looks like:
List of devices attached
ZTE_OPENC device
And then you can login to the phone as root over USB
adb shell