#301

USB debugging not enabled while it is

OpenTiVa85opened 1mo ago

Before You Begin

  • I am reporting an issue with Shizuku itself, NOT an issue about compatibility with another app
  • I read the wiki and followed all relevant troubleshooting steps
  • I searched through all issues and confirmed that this is a new bug
  • I am using the latest version of Shizuku

Requirements

  • Shizuku is not running in a virtual environment or broken ROM (e.g., GrapheneOS)
  • Xposed is not installed/enabled for Shizuku

Mode

adb

Shizuku Version

13.7.0

Android Version

17

Device

Pixel 8 Pro

Issue Description

I have USB debugging enabled, but when I try to start Shizuku I get a message USB debugging isn't enabled. Toggling it of and on again doesn't make a difference.

Started after installing Android 17 QPR1 (released september 2026).

Steps To Reproduce

on Android 17 QPR1:

  • Stop Shizuku
  • Start Shizuku again from within the app.

Activity

20
kinsey61mo ago

I came to report the same issue

ammodytes1mo ago

Same for me

sou76111mo ago

Same here too

JimZam1mo ago

Good evening. Just updated and the same issue :-( You can start Shizuku via Tasker (intent), Termux (adb shell) or PC but the app reports USB Debug is not enabled even when it is. I hope ther is an "easy" way to solve it, Shizuku is my life saver since I don't root my phone. Thanks in advance.

RazGame1mo ago
JimZam1mo ago

@RazGame Thank you so much!

kinsey61mo ago

https://github.com/RazGame/Shizuku/releases/tag/v13.7.0.r1366-razgame-beta

I'm getting app not installed

Never mind, I figured it out, I needed to run adb uninstall moe.shizuku.privileged.api

mistpink1mo ago

adb_enabled

Whether ADB over USB is enabled. (0 = false, 1 = true). This will always return 0 for all third-party apps.

development_settings_enabled

Whether user has enabled development settings. (0 = false, 1 = true). This will always return 0 for all third-party apps.

emmanuelcassar1mo ago

Same issue for me, Pixel 9 Pro with latest updates.

emmanuelcassar1mo ago
Budskex1mo ago

Same with me, pixel 9 pro latest September update.

Play store version works, but get a warning from smartspacer about outdated version

MarkyMarkDE1mo ago

https://github.com/RazGame/Shizuku/releases/tag/v13.7.0.r1366-razgame-beta

@RazGame thanks for your Fix, it works like charme on my Pixel 10 with A17 and also on my Pixel 7 with A16 and last but not least on my AndroidTV Box with A14 - good job!

NOTE FOR ATV 14: you have to disable Play Protect, or you cannot install any kind of shizuku, Google blocks it relentlessly — no hidden text link like "install on your own risk" or anything. It simply fails. Disable Play Protect on AndroidTV: Play Store → profile icon → Play Protect → Settings → disable “Scan apps with Play Protect” and after installing you can re-enable Play Protect again, if you need them for some reasons.

smabid1mo ago

Same issue with my pixel 6a latest update. Shizuku 13.7.0-thedjchi. Build number CP3A.260905.009

MarkyMarkDE1mo ago

Same issue with my pixel 6a latest update. Shizuku 13.7.0-thedjchi. Build number CP3A.260905.009

@smabid Sure, the latest Pixel update (September 26) changed a lot of things behind the scenes around Shizuku, Developer Options and so on. The version from @RazGame works fully for me again. If you are interested in the details: Google bumped the API level from 33 to 37 (Android 17), and this broke quite a few things. I'm pretty sure d4rken (e.g. SD Maid SE) will also adapt this in his Shizuku/Porter migration as soon as possible (#22).

smabid1mo ago

@MarkyMarkDE Thanks. This version works for me as well.

rushiranpise1mo ago
kinsey61mo ago

Do try with a17

https://github.com/rushiranpise/Shizuku-Next

This is what I just installed, works great so far

MarkyMarkDE29d ago

you can also use the new Porter App from @d4rken aka SD-Maid. https://github.com/d4rken-org/porter/releases/tag/v0.8.1-rc0 It is tested on:

  • Google Pixel 10 (Android 17 / September Patches -> SDK 37) with Device Owner permission
  • Google Pixel 7 (Android 16 / September Patches -> SDK 36) & NEW: same Pixel 7 (Android 17 / October Patches -> SDK 37)
  • AndroidTV (AndroidTV 14 -> SDK 34) on a waipu.tv Box
  • emulator tested under some really harsh conditions 🫣
trevornk29d ago

For the maintainer, or anyone who wants a minimal fix on top of thedjchi 13.7.0 rather than a different fork: I tried to open a PR, but this repo only accepts PRs from collaborators. The patch is ready to merge or cherry-pick:

Commit: https://github.com/trevornk/Shizuku/commit/3c0de08c (branch fix/301-android17-adb-enabled, based on current master 15ade0e)

Cause: since the September Android 17 QPR1 update (CP3A.260905.009), Settings.Global.ADB_ENABLED reads 0 for third-party apps even when USB debugging is on (adb shell settings get global adb_enabled still returns 1). The manual Start, start-on-boot and AdbStarter paths all check that value, so they fail with "USB debugging is not enabled". Starting the server from a PC still works.

Fix: adds EnvironmentUtils.isAdbEnabled(), which trusts a non-zero value and otherwise assumes ADB is enabled on API 37+. If ADB really is off, the following connection attempt fails through the existing error path. It's used in AdbStarter, StartWirelessAdbViewHolder and SettingsHelper: 4 files, +18/−6. Same approach as @RazGame's 0b3611a, without the build/versioning changes.

Tested: built against compileSdk 37 and installed on a Pixel 10 Pro Fold, Pixel Tablet and Pixel 10a on CP3A.260905.009. Start-on-boot over wireless debugging/TCP now works again after a reboot on all three, and existing app authorizations carry over.

Migrating from any other build still means a one-time uninstall/reinstall and re-pair, because the signing key differs. If you reinstall, re-allow your apps in Shizuku's authorized-apps list before the next reboot, or they come back as unauthorized.