Windows fastboot/adb binaries can be downloaded here.
To load images to Android partitions with fastboot:
- On the phone:
- boot up and stop at u-boot.
- Run
fastboot
- On the host:
- Flash image:
fastboot flash <partition> <image>
- Reboot device:
fastboot reboot
- Flash image:
To download a kernel module to the phone with adb:
- On the phone:
- Boot up to linux prompt
- Re-mount /system as read-write:
mount -o remount,rw /system
- On the host:
- Load kernel module:
adb push <ko file> <destination path>
- Load kernel module:
- 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