Last active
June 26, 2025 07:35
-
-
Save kurtbahartr/b45c5674e73c3bb7d0dbca083964900f to your computer and use it in GitHub Desktop.
Basic ADB commands for a technician / Bir teknisyen için temel ADB komutları
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pulls the folder called "directory" in the internal storage to the current directory: adb pull /sdcard/directory . | |
Pushes the file called "text.txt" to the internal storage: adb push text.txt /sdcard/ | |
It's possible to provide an absolute path for the requested path too. For example: adb pull /sdcard/Download/test.jpg C:\Users\Linda\Desktop\data\ | |
Use quotation marks (") if there's space in the path: adb pull "/sdcard/Download/Quick Share" "C:\Users\Linda\Documents\backup 20250626" | |
Reboots the device: adb reboot | |
Reboots the device into recovery mode: adb reboot recovery | |
Reboots the Samsung device into download mode: adb reboot download | |
Reboots the supported phone into bootloader/fastboot mode: adb reboot bootloader | |
Reboots the supported phone into FastbootD mode: adb reboot fastboot | |
The difference between bootloader and FastbootD: There's support for direct flashing into the partitions inside super (E.g. system, vendor, product). There's no such support in bootloader. | |
Flashes the boot partition using fastboot: fastboot flash boot boot.img | |
Installs a specified APK file on the computer to the connected device: adb install app.apk | |
Runs the command "ls /sdcard" on the device (shell=command prompt): adb shell ls /sdcard | |
Android is an operating system that runs on the Linux kernel. So, the command "adb shell" would be pretty useful for someone with basic Linux knowledge. | |
Pairs a device while doing wireless debugging: adb pair 192.168.1.100:12345 678987 | |
Performs a connection after successful pairing: adb connect 192.168.1.100:98765 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dahili depodaki "klasör" klasörünü mevcut dizine çeker (pull): adb pull /sdcard/klasör . | |
Mevcut dizindeki "metin.txt" dosyasını dahili depoya atar (push/itmek): adb push metin.txt /sdcard/ | |
İstenen yol için tam dizin vermek de mümkün. Mesela: adb pull /sdcard/Download/test.jpg C:\Users\Recep\Desktop\data\ | |
Yolda boşluk varsa tırnak işareti (") kullan: adb pull "/sdcard/WhatsApp Business" "C:\Users\Recep\Desktop\dilayda veriler" | |
Telefonu yeniden başlatır: adb reboot | |
Telefonu kurtarma (recovery) moduna açar: adb reboot recovery | |
Samsung telefonu Download moduna açar: adb reboot download | |
Destekleyen telefonu Bootloader/Fastboot moduna açar: adb reboot bootloader | |
Destekleyen telefonu FastbootD moduna açar: adb reboot fastboot | |
Bootloader ile FastbootD arasındaki fark: FastbootD modunda super bölümünde yer alan bölümlere (mesela system, vendor, product) direkt yazma erişimi var. Bootloader'da böyle bir erişim yok. | |
Fastboot ile boot bölümünü yazar: fastboot flash boot boot.img | |
Bilgisayarda bulunan bir APK dosyasını bağlı cihaza yükler: adb install uygulama.apk | |
Cihazda "ls /sdcard" komutunu çalıştırır (shell=kabuk=komut istemi): adb shell ls /sdcard | |
Android, Linux çekirdekli bir işletim sistemidir. Dolayısıyla temel Linux bilgisi olan biri için "adb shell" komutu aşırı yararlı olacaktır. | |
Kablosuz hata ayıklama kullanırken cihaz eşlemesi yapar: adb pair 192.168.1.100:12345 678987 | |
Başarılı bir eşleme sonrası bağlantı sağlar: adb connect 192.168.1.100:98765 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment