-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-start adb with trusted keys #174
Comments
I think using an But I also believe LineageOS has slightly different semantics for userdebug than AOSP does. [citation needed]. |
Oh, we even have a I'd still kind of like to have a regular userdebug build but with adb running. |
I do this to embed my adb vendor keys:
|
Thanks a bunch @zhaofengli but unfortunately, that doesn't seem to work. My system's build.prop doesn't contain those proerties and adb isn't started. |
Wait, shouldn't that go to |
That doesn't work either. Any idea? I'm using LineageOS, maybe that's why. |
So this is a fairly specific problem I'm having but might have general usefulness.
I've got a friend's cheeseburger where the screen is almost entirely broken. Glass shattered, no image and only a portion of the screen registers touch.
Bootloader is unlocked though and I can control the device via adb, fastboot and/or twrp.
I plan to use this device as a guinea pig to test without risking breaking my daily driver.
However, I cannot trivially control android itself. I need adb to be enabled in order to use use scrcpy to do anything, including enabling adb.
This can be solved by enabling adb from the recovery: https://gist.github.com/niikoo/3f6bd13a69f2d68f3dd51cc667e79bdc (property step is unnecessary)
You basically need to set some system build.props and push your public key; akin to enabling ssh and pushing a trusted key.
Is it possible to bake these into the system image for simplicity?
The text was updated successfully, but these errors were encountered: