[Feature Request] Support Auto Installing Apps via Shizuku/root in Private Space

Open
#1,304 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
android, kotlin

Research direction

Review PR 1291's changes and trace the Shizuku/root installation path where the pm command uses --user current. Then inspect how installation options are exposed in settings and define the Private Space selection flow. Done means apps can be installed into the selected profile through both Shizuku and root, with the setting reflected in the UI.

Written by the indexing model from the issue text.

Description

enhancement
Before you submit
  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I'm not requesting app support for a specific repo — that's up to repo maintainers
  • I understand this might not get built (Droid-ify is maintained by a single person)
What's the problem?

Usecase: On some Org owned devices, installing apks is only allowed via ADB (or Shizuku).

Manually installing APKs fail (Screenshot)
image

Even with Shizuku access given, Droidify only installs apps in the "main" user profile (Since Shizuku session runs on the main profile) because the command to install the apk has --user current

What would help?

This FR is to allow an option for a user in main profile install apps inside "Private Space" user profile.

Since root mode also uses pm commands, this option is applied there as well.

See https://github.com/Droid-ify/client/pull/1291/changes for an example.

UI example How it may look like in settings:

image
Alternatives?

Allow Exporting the APK/Split Apk to Downloads, to have Split APK installer install it on both profiles. That works as well (although an extra step).

Anything else?

No response

Dominant language
Kotlin
Stars
7.7k
Forks
232
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Droid-ify/client

All issues in Droid-ify/client

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.