Skip to content

2. Commands

Bop V2 edited this page Nov 4, 2024 · 1 revision

AndroidDebugBridge.Initialize(string directory);

  • Returns: String (ResponseOK) or (ResponseERR)
  • Checks if directory specified contains all required assets, and uses said directory for command executions.
  • Example: AndroidDebugBridge.Initialize(@"C:\adb"); -> OK

AndroidDebugBridge.Adb(string command);

  • Returns: String (ResponseCUS) or (ResponseERR)
  • Executes adb.exe commands.
  • Example: AndroidDebugBridge.Adb("devices"); -> PL2GXXXXXXXXXXXX device

AndroidDebugBridge.Fastboot(string command);

  • Returns: String (ResponseCUS) or (ResponseERR)
  • Executes fastboot.exe commands.
  • Example: AndroidDebugBridge.Fastboot("devices"); -> PL2GXXXXXXXXXXXX fastboot

Clone this wiki locally