Skip to content

Instantly share code, notes, and snippets.

  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?

ADB Commands for USB Sound Card/DAC Installations.

If you do not have ADB downloaded and installed:

After downloading, hold down Shift and Right Click inside the folder (any blank spot) and click Open PowerShell window here.

Please note: After typing adb on each command, press Tab if your PowerShell is erroring out to complete the execution step, and then type the rest of the command.

You will have to connect your screen to a Wifi source, and a computer to the same Wifi source. Obtain the IP from Settings -> Wifi -> YOUR WIFI NAME -> Advanced -> IP Address

adb connect IP:5555
adb root
adb disable-verity
adb reboot

adb connect IP:5555
adb root
adb remount
adb pull /system/build.prop

Edit your build.prop using Notepad++, then paste this at the very bottom.

# Safe Media Bypass for External USB Sound Cards

This allows the Safe Media Bypass warning adjustment to disable resetting your volume from 100% to 30% when your screen reboots.

Save your changes.

Push your modified build.prop back into the device

adb push build.prop /storage/emulated/0/
adb shell
mv /storage/emulated/0/build.prop /system/build.prop
chmod 644 /system/build.prop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment