timschneeb / RootlessJamesDSP

An implementation of the system-wide JamesDSP audio processing engine for non-rooted Android devices
GNU General Public License v3.0
841 stars 26 forks source link

Skip onboarding for secondary users #204

Open Nephiel opened 6 months ago

Nephiel commented 6 months ago

Android has a Multiple Users feature allowing additional user profiles for the same device. However, Developer Options are always disabled for secondary user profiles, only the main (owner) profile can enable and use them.

For the owner profile, setting up RootlessJamesDSP using ADB and USB debugging works as expected. Once the permissions are granted through ADB commands and the onboarding is complete, Developer Options can be disabled, and RootlessJamesDSP still seems to be working fine after reboots.

For secondary users, though, there is currently no way to get past the onboarding activity. While USB debugging is enabled for the owner profile, ADB shell also works for the secondary profiles. But the in-app onboarding only sees that Developer Options is not enabled for the current user, and refuses to proceed.

So, could the onboarding be skipped for those cases (like it already is for root setups)? As long as the required permissions are granted, even if Developer Options is disabled?