So you've enabled ADB on your BYD or Denza — congrats. You can now install third-party apps like DiPlus, Electro, and OverDrive. But there's one problem: ADB access can disappear.
An OTA software update, or even a random system glitch, can disable ADB without warning. When that happens, you'd normally need to go through the entire enablement process again — finding a technician, generating a new QR code, waiting for authentication.
Unless you have BYD ADB Rescue installed.
What is BYD ADB Rescue?
BYD ADB Rescue is a free, open-source Android app that checks and attempts to restore ADB settings after every infotainment restart. It was created by DottoreTozzi on GitHub and is completely free to use.
Here's how it works:
- Install the app while ADB is still active
- Grant the required permissions
- Open the app once and press one button
- That's it — the app runs in the background and checks ADB status after every reboot
If ADB settings get changed after a restart, the app attempts to restore them. It cannot guarantee recovery in every firmware or OTA situation, but it significantly reduces the chance of losing access.
What Does It Actually Protect?
BYD infotainment systems use two separate ADB modes:
- Standard Android ADB — controlled by
Settings.Global.adb_enabled=1 - BYD Wireless ADB — controlled by
persist.sys.adb.wiress.enable=trueandsys.connect.adb.wiress=1(the misspelling "wiress" is BYD's own — not a typo)
BYD ADB Rescue monitors and restores both modes. It reads back every value and reports the real result instead of assuming success.
How to Install It
Requirements:
- ADB must already be enabled on your vehicle
- A computer with ADB installed (Windows, Mac, or Linux)
- A WiFi ADB connection to the infotainment
Step 1: Check your ADB connection
Connect to your infotainment via WiFi, then run:
adb devices
You should see your device listed followed by device. If the list is blank or says unauthorized, stop and fix your ADB connection first before continuing.
✅ You should see your device listed
Step 2: Check your Android version
adb shell getprop ro.build.version.release
This tells you which APK to download:
- Android 10 → download the Android 10 APK
- Android 14 → download the Android 14 APK
Step 3: Download the correct APK
Download from GitHub Releases. Choose the APK that matches your Android version from Step 2.
Step 4: Install the APK
adb install BYD-ADB-Rescue-v1.4-android14.apk
Replace the filename with the actual APK you downloaded. You should see Success when installation completes.
✅ Installation should say Success
Step 5: Find your active Android user
adb shell am get-current-user
This returns a number — usually 0 or 10. Note this number down — you'll need it in the next step.
✅ Note your active Android user number
Step 6: Grant the required permission
Grant WRITE_SECURE_SETTINGS to user 0 (the base user):
adb shell pm grant --user 0 de.tozzi.bydadbkeeperdiag android.permission.WRITE_SECURE_SETTINGS
Then grant it to your active user (replace 10 with the number from Step 5):
adb shell pm grant --user 10 de.tozzi.bydadbkeeperdiag android.permission.WRITE_SECURE_SETTINGS
Step 7: Open ADB Rescue and enable
Open the app on the infotainment screen. Press the big button: "Enable both ADB modes".
Step 8: Verify it's working
Run these commands to check:
adb shell settings get global adb_enabled
adb shell getprop persist.sys.adb.wiress.enable
adb shell getprop sys.connect.adb.wiress
Expected values:
1
true
1
✅ Final result should show 1 / true / 1
Done — the app will now check and attempt to restore ADB settings after every reboot.
What Happens After a Factory Reset?
A factory reset will wipe the app and disable ADB — so you'll need to contact us for re-enablement. But for OTA updates and system glitches, ADB Rescue has you covered.
That's where we come in. If you're a BAOLAB customer with our 6-month re-activation guarantee, we'll re-enable ADB for you for free — and walk you through reinstalling ADB Rescue so it doesn't happen again.
Why You Should Install This Right Now
If you've already enabled ADB on your BYD or Denza, install ADB Rescue today. It takes 2 minutes and could save you hours of hassle later.
Think of it like insurance — you hope you'll never need it, but you'll be glad it's there when you do.
BAOLAB Customers
If we enabled ADB for you, make sure to install ADB Rescue immediately after your session — don't wait. Customers who have ADB Rescue installed are covered by our 6-month free re-activation guarantee. If ADB access is lost due to an OTA update or system restart, we'll re-enable it for free with priority scheduling.
Download
BYD ADB Rescue is free and open-source. Download it from GitHub:
github.com/DottoreTozzi/BYD-ADB-Unlock
BYD ADB Rescue is developed by DottoreTozzi and is not affiliated with BAOLAB, BYD, or Denza. Use at your own discretion.
