ROM Android: Penggunaan adb
Instalasi
sudo apt-get install android-tools-adb
devices
adb devices -l
List of devices attached 5H9TFYCYSGQ8Y9MZ device usb:2-5 product:a80a model:A80A device:a80a
shell
adb shell
Ini akan masuk ke shell
shell@a80a:/ $
Untuk menjadi superuser ketik
su
Perlu di allow oleh kingroot yang sudah di instalasi sebelumnya
shell@a80a:/ #
mount -o remount, rw /system
install dan uninstall
The most commonly used "adb" command is the "adb install" command that allows you to install an application stored in the specified APK file to the connect Android emulator or device:
adb install <path_to_apk>
You can also uninstall a package from the connected emulator or device by using the "adb uninstall" command:
adb uninstall <apk_name>
Push dan Pull
he "adb" tool also offers you commands to copy files into and from the connected Android emulator or devices.
The "adb push <local> <remote>" copies a file or folder from the local system to the remote emulator or device.
The "adb pull <remote> <local>" copies a file or folder from the remote emulator or device to the local system.
Instalasi fastboot
apt-get install android-tools-fastboot