Last active
May 7, 2025 00:34
-
-
Save Geofferey/c65b6c2e42c6e3216cae06c5fe241a18 to your computer and use it in GitHub Desktop.
inseego_rc.local.d-00adbd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## This is an example of enabling QCOM HS USB DIAG + ADB using rc.local.d/00adbd | |
| # You can get out of this mode by plugging in and select charge only then tehter | |
| # I feel like there may be better way but this is easiest way I've found | |
| # | |
| # Place me in /etc/rc.local.d/00adbd | |
| # | |
| PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/nvtl/bin:/opt/nvtl/data/branding/bin | |
| sleep 15 | |
| ## 9085 = DIAG+ADB+MBIM+GNSS | |
| usb_composition 9085 | |
| killall -9 adbd | |
| adbd & | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment