Android Debug Bridge (adb) is a general command line tool that allows you to communicate with emulator instances or connected Android devices. It can facilitate the operation of various devices, such as installing and debugging applications, and provide access to the Unix shell (which can be used to run various commands on the simulator or connected devices). one

There are many uses of adb, but ordinary players only need to know that, Black field You can use the adb mode to open it!
Although the black domain app has a running wizard when it starts, not everyone will read the official document carefully, and the official document only describes the general steps, not details, so this article is created. (novice)

1. Download SDK platform tools

First, you need to download SDK platform tools. Please go to Official adb download page Choose the right tool for your computer.
To facilitate downloading, you can here Download the SDK tool for blogger backup. (Password: f040)

2. Enable the mobile phone developer mode

Developer Mode You can use the about Open. Generally speaking, just click Firmware version It can be opened after 6 times. Each model may be different, check by yourself.

3. Enable USB debugging

After enabling the mobile phone's developer mode, enable USB debugging , connect the phone to the computer. The first connection will prompt "Allow this PC to use USB debugging" , press agree! OK.

4. Open the black field

take platform-tools Extract to any directory (you can find it)
Then in the platform tools directory, press Left shift + Right mouse button
click Open Powershell window here
As shown in the figure

implement

 .\adb devices

To confirm that the phone can be found

Re execution

 .\adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh


OK.

5. Attention

  • Every time the machine is turned on and off, adb needs to be executed to minimize the number of times the machine is turned on and off.
  • Developer options and USB debugging cannot be closed (different Android versions have different requirements, see black field for details

6. Attachment

The same is true for enabling APPOPS. Finally, execute

 .\adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh

OK.


  1. Google official definition of Android debugging bridge: https://developer.android.com/studio/command-line/adb