Testability updates

Make phonesim configurable without root privileges for more flexibility during testing.