Unfotunately, I don't know much about running ADB commands or any of that. I haven't rooted or unlocked a device since the Rezound, so I asked Google and got this reply with this video.
Yes, a Chromebook can run ADB (Android Debug Bridge) commands, but it requires setting up the Linux development environment on the Chromebook. Once Linux is enabled, you can install the Android SDK Platform Tools, including ADB, and then connect your Android device via USB and authorize the connection.
Here's a more detailed explanation:
1. Enable Linux (Beta) on your Chromebook:
- Go to Settings > Advanced > Developers > Linux (Beta) and enable it.
2. Install Android SDK Platform Tools:
- Open the Linux terminal (it's in your app drawer).
- Install the ADB platform tools using the command: sudo apt-get install android-sdk-platform-tools-common.
3. Enable USB Debugging on your Android device:
- Go to Settings > About phone > Build number (tap it repeatedly until developer options are enabled).
- Go to Settings > System > Advanced > Developer options and enable USB debugging.
4. Connect your Android device to the Chromebook:
- Connect your phone via USB.
- A notification should appear on your Chromebook asking you to connect the phone to Linux.
- Tap or click to allow the connection.
5. Run ADB commands:
- Open the Linux terminal.
- Run adb devices to see if your device is recognized.
- If it's unauthorized, you'll need to authorize it on your phone.
- Once authorized, you can run other ADB commands like adb shell, adb install <apk>, etc.
Important Considerations:
- Some Chromebooks, especially those launched before 2020, might require developer mode to use ADB.
- If ADB is not working as expected, you might need to powerwash your Chromebook or try ADB over Wi-Fi.
- Ensure you have the latest platform tools installed on your Chromebook.
This video demonstrates how to enable Linux and ADB debugging on a Chromebook:
@mustang7757 is the one I always see referenced when it comes to ADB, firmware and other topics like that, so perhaps he will have some input?
There are probably more videos on YouTube. Good luck. Let us know if it works out.