How Shizuku works
masterShizuku provides a way to use system APIs with higher permissions by acting as a middleman between an app and the Android system server.
Instead of running slow and unreliable shell commands (like pm enable/disable) via su, Shizuku runs a server process with root or ADB privileges. When an app starts, it receives a binder to the Shizuku server. The app can then send requests to Shizuku, which forwards them to the system server via IPC (Binder), and returns the results. To the app, using these elevated system APIs is almost identical to using standard system APIs directly.