I'm a little confused by some of your statments. Whether you flash the base image as the root user or as a regular user will have NO impact on how adbd runs on the phone.
Running commands using sudo on the build machine only affects access to the devices on the build machine. "adb root" relaunches the adbd on the phone under the root user (if the phone is configured to allow it). Dave Hylands ----- Original Message ----- > From: "Josh Aas" <[email protected]> > To: [email protected] > Sent: Wednesday, August 6, 2014 9:15:36 AM > Subject: [b2g] Flame phone documentation, running adb as root > I got a Flame phone and wanted to update it to 2.0 nightly so I could > test/dogfood. Last week I couldn't figure out how to do that via the Flame > home page, but someone has since added instructions. Thanks to whoever did > that! > https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame > One issue with the instructions, though, at least on OS X - they only really > work if both flash steps are run as root (sudo). Flashing the base doesn't > require root, but the flash to 2.0 nightly requires the adb daemon to be > running as root, and if you didn't flash the base as root adb will not be > running as root. You'll need to do "adb kill-server", which most people > won't know how to do. If you didn't run the base flash as root, and you > figured out how to kill the adb server, you then need to run the second > flash as root to get adb to start as root. We should either recommend that > people run the flash commands as root (prefix "sudo"), or explain how to get > adb running as root first. > Other than this, the page's information is much better than before. Still > could be better organized, though. > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
