# check if device is connected in usb debugging mode adb devices # list files from phone adb shell ls -R /sdcard/ # file transfer: adb push $myfile /sdcard/ adb pull /sdcard/path/to/file . # reboot to bootloader adb reboot bootloader # check if fastboot works fastboot devices # in case it returns "no permissions fastboot" fastboot oem unlock # flash an image file to the mobile fastboot flash recovery your_recovery_image.img # problems connecting a device? restart adb server adb kill-server adb start-server # sony install images: EMMA