Android Fastboot & ADB

Windows fastboot/adb binaries can be downloaded here.

To load images to Android partitions with fastboot:

  • On the phone:
    1. boot up and stop at u-boot.
    2. Run fastboot
  • On the host:
    1. Flash image: fastboot flash <partition> <image>
    2. Reboot device: fastboot reboot

To download a kernel module to the phone with adb:

  • On the phone:
    1. Boot up to linux prompt
    2. Re-mount /system as read-write: mount -o remount,rw /system
  • On the host:
    1. Load kernel module: adb push <ko file> <destination path>
  • Destination could be /system/modules, /system/vendor/firmware, etc.
  • If /system is not mounted as rw, adb would complain with this message:
    failed to copy '<ko file>' to '<destination path>': Read-only file system

Leave a comment