android command line

Beberapa fungsi yang biasanya saya gunakan untuk manage android dari linux command line.

reboot recovery dari adb

sudo adb reboot recovery

Copy file ke android

adb push namaFile /sdcard/

Masuk ke Fastboot (atau Vol bawah + Power)

adb reboot bootloader

Flash recovery

fastboot flash recovery twrp-x.x.x-x-mido.img

Check bootloader locked atau tidak

sudo fastboot oem device-info

Enable adb debugging
Anda harus enable USB debugging dari developer option, jika diperlukan aktifkan juga debugging (security)

Adb dari network tanpa kabel
Setelah setting koneksi berhasil ketikkan command berikut

adb tcpip [port_number] 
adb tcpip 5555
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s