As you correctly pointed out, adb root is no option on non-development-devices ('adbd cannot run as root in production builds'). To fix this up, take a look at chainfire's adb Insecure. This app requires root (a condition your device obviously meets), and (temporarily) patches the ADB daemon to run in root mode.
Join GitHub today
![Run Run](http://www.geek.com/wp-content/uploads/2013/11/2013-11-07-09_04_35-Geek-110413-Google-Drive.png)
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
![Adbd Adbd](/uploads/1/2/5/8/125877080/197247323.png)
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
Comments
commented Mar 18, 2019
Attempts to root the Android Q emulator are failing with adbd cannot run as root in production builds which makes killProcessesByName fail with Operation not permitted'; Code: '1' Logs: |
commented Mar 18, 2019
This is probably Google's bug. It should be possible to run adb as root on Emulators |
commented Mar 18, 2019
Yeah I thought that might be the case too. I'll leave this issue open just to keep track of it. |
modified the milestones: , Sprint 34Apr 15, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment