diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2019-03-12 04:25:33 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2019-03-15 03:04:46 +0800 |
commit | 9b30c0a7e6e72c9a66a7d18ef2f1d41fd00a875b (patch) | |
tree | 9b1f6ac0aa21de24890ba84026048e5ba4084f8e /trusty/coverage/coverage.cpp | |
parent | 9d3310c019839ec342b5c0712f3ba59cfd5ca4a0 (diff) |
adbd: allowing adb root when the device is unlocked
As there is no security guarantee when the device is unlocked,
allowing adb root gives us more rooms to debug a USER build images.
Also, this makes it possible to run VTS on a USER build GSI, with
setting ro.debuggable=1 and unlocking the device.
This basically re-lands a reverted change:
https://android-review.googlesource.com/c/platform/system/core/+/437815
Which isn't needed after we moved /sbin/adbd to /system/bin/adbd in
USERDEBUG GSI. But it's still needed for USER build GSI.
Bug: 126493225
Test: unlock a USER build device, check 'adb root' can work
Change-Id: I93f12c8a3fe65c96c947e4602795eadfe591c521
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions