Get the latest tech news
Shizuku: App that lets you use system APIs with higher privileges without root
Let your app use system APIs directly
Forget about root shell, you can use APIs with higher privileges "directly". If your "root required app" only needs adb permission, you can easily expand the audience by using Shizuku. Shizuku has detailed documentation to guide users.
Or read this on Hacker News