Skip to content

[BUG] Can't create shortcuts in Xiaomi's hyperOS. #106

Open

Description

@yominra

I cannot create any shortcut of activities in HyperOS. When I try to create a shortcut, it will forcely returned to the previous activity.
I'm using Xiaomi 13.Wish developers can solve this BUG. I can provide more infomations if possible.

Activity

  1. sdex commented on Feb 23, 2025

    @sdex
    Owner

    I don't have a hyperOS device so I can't check if it works. Most likely the app silently crashes and restarts itself.
    You can collect the logs in 3 ways, choose which is best for you:

    1. Build the app from the source code, run it in the debug on the device, and collect logs.
    2. Collect logs with https://github.com/F0x1d/LogFox in ADB or Shizuku mode if you don't have root.
    3. Create a bug report: https://developer.android.com/studio/debug/bug-report
  2. drogga commented on Feb 24, 2025

    @drogga
    Contributor

    IDT it's a bug, to me it looks more like a permission thing - such brands and their firmwares/ROMs uaually require a special permission to be granted/allowed for each individual app to be able create shortcuts (we have/had multiple tickets due to this in the Activity Launcher repo, there's even a guide with screenshots in one of the tickets which was posted not so long ago by a user, but IDK if I should link it here...).

  3. aivyh123 commented on Oct 22, 2025

    @aivyh123

    Settings → Application Settings → Application Management → Activity Manager → Permission Management → Allow Adding Desktop Shortcuts
    I have solved a similar problem through this method on MIUI 14. For your reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions