Android Debug Bridge (ADB) is a command-line tool that allows you to communicate with Android Open Source Project (AOSP) devices such as the Magic Leap 2. ADB can be used to send a variety of commands to your device, including to install and debug applications on your device. It also provides access to a Unix shell that can be used to run device specific commands.
root commands only work on userdebug builds of the OS. If you have a user build, reach out to your Magic Leap contact for support.
Read the following pages for more information:
📄️ ADB Setup
How to install Android Debug Bridge (ADB)
📄️ ADB Commands
Here are some of the most frequently used ADB commands.
📄️ Android Capture Commands
The following list of adb commands provides you with options of screen capture modes available on the Magic Leap 2 headset.
📄️ ADB Bugreport
Bug reports can also be gathered using the ML Hub.