Skip to content

shizuku support #5898

Open
Open

Description

@hisenberg1x2

If possible, please add Shizuku support to allow LAN/tethering sharing on non-root devices.

Activity

  1. ryo0255 commented on Jul 9, 2026

    @ryo0255
  2. 2dust commented on Jul 10, 2026

    @2dust
    Owner

    你好,开发者目前不会,如果有谁懂,可以帮忙

  3. eliotcougar commented on Jul 10, 2026

    @eliotcougar
    Contributor

    I've implemented it today... It works on an emulator... Testing it on my Pixel 9 with Android 16 for a while, then I'll do a PR. Okay?..

  4. eliotcougar commented on Jul 10, 2026

    @eliotcougar
    Contributor

    確實,OV等廠商對root並不友好,所以使用ov手機確實不好root,若是能通過shizuku直接使用會方便很多

    Unfortunately, the implementation we've come up with may not be useful to you. First of all, it requires Android 16 at minimum because it depends on APIs that were added in v36. We may try to look for workarounds that may work on Android 15 or earlier, but no guarantees. Second of all, I only tested on Google Pixel and AOSP versions. There are no guarantees that a specific OEM flavor of Android has the required hidden APIs even if it is based on Android 16+.

  5. ryo0255 commented on Jul 11, 2026

    @ryo0255

    確實,OV等廠商對root並不友好,所以使用ov手機確實不好root,若是能通過shizuku直接使用會方便很多

    Unfortunately, the implementation we've come up with may not be useful to you. First of all, it requires Android 16 at minimum because it depends on APIs that were added in v36. We may try to look for workarounds that may work on Android 15 or earlier, but no guarantees. Second of all, I only tested on Google Pixel and AOSP versions. There are no guarantees that a specific OEM flavor of Android has the required hidden APIs even if it is based on Android 16+.

    感謝回覆,不過實際情況可以等到PR後再看

  6. eliotcougar commented on Jul 11, 2026

    @eliotcougar
    Contributor

    感謝回覆,不過實際情況可以等到PR後再看

    Android 15 workaround Proof-of-Concept code seems to be working on an emulator. I'm implementing it now, then I'll update the PR. We'll see what's the earliest Android version we can support.

    UPD: Good news. It looks like we can extend the support all the way down to Android 11 - the lowest version v2rayng itself supports.

  7. EnovaMaker commented on Nov 4, 2026

    @EnovaMaker

    A question for people sharing the VPN over hotspot or USB: how do you check today that a tethered device's traffic really goes through the tunnel and doesn't leak? Have you seen cases where it didn't?

    (Drafted with help from Claude, an AI assistant; the question is mine.)

  8. eliotcougar commented on Nov 4, 2026

    @eliotcougar
    Contributor

    8. A question for people sharing the VPN over hotspot or USB: how do you check today that a tethered device's traffic really goes through the tunnel and doesn't leak? Have you seen cases where it didn't?
    (Drafted with help from Claude, an AI assistant; the question is mine.)

    In the case of the PR #5903 I did a bunch of autonomous tests with Codex controlling my phone over ADB and trying various failure scenarios... The objective was to ensure every failure is "fail-closed"... Everything we found has been patched.
    The implementation is a bit tricky and Android doesn't guarantee test-tun is used, but in my testing it was very reliable once it is established. It may not start every time, but when it starts it remains working.

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