So I'm trying to flash adb my android (mostly following this guide), and I'm getting stuck at the unlock device step. I can successfully unlock, but once I reboot my device it reverts to being locked. Apparently I'm unable to continue to the next step without having my device rebooted after it's unlocked.
(I have tried using the volume keys to reboot bootloader, and terminal to reboot it. Neither work.)
I'm using a mac, Samsung Galaxy Nexus, and my initial problem was that my phone was (and still is) stuck in a reboot cycle.
EDIT: So this is exactly what I've been doing.
- Open terminal
- cd to platform-tools, where I have an up to date adb, fastboot, and a zip file as well as the uncompiled version of image-yakju-jdq39 (Factory Image "yakju" for Galaxy Nexus "maguro" (GSM/HSPA+)).
- Volume up+Volume down+ power on (I get a screen with Fastboot mode in red at the bottom, and a picture of an android being operated on. I don't think it matters if I change the "start" thing with the volume buttons, but I'll keep it there.).
- Plug the USB cable in.
- ./fastboot devices, no response on java, but I get the following error on phone: fastboot command read error -2147483647
- ./fastboot devices again, this time I get my phones serial number on terminal, but the phone is still showing the same error. Maybe it's residual from step 5?
- ./fastboot oem unlock.
- Terminal gives me this:
... ERROR: usb_read failed with status e00002eb FAILED (status read failed (No such file or directory)) finished. total time: 0.316s - But on my phone I get the unlock confirmation screen, which I follow through with, and now my phone says it's unlocked.
- Phone is still showing this error "fastboot command read error -2147483647"
mynames-MacBook-Air:~ myname$ cd Desktop mynames-MacBook-Air:Desktop myname$ cd adt-bundle-mac-x86_64-20140702 mynames-MacBook-Air:adt-bundle-mac-x86_64-20140702 myname$ cd sdk mynames-MacBook-Air:sdk myname$ cd platform-tools mynames-MacBook-Air:platform-tools myname$ ls NOTICE.txt etc1tool hprof-conv sqlite3 adb fastboot image-yakju-jdq39 systrace api flash-all.bat image-yakju-jdq39.zip yakju-jdq39 bootloader-maguro-primelc03.img flash-all.sh radio-maguro-i9250xxlj1.img dmtracedump flash-base.sh source.properties mynames-MacBook-Air:platform-tools myname$ ./fastboot devices 014E38590B016008 fastboot mynames-MacBook-Air:platform-tools myname$ ./fastboot oem unlock ... ERROR: usb_read failed with status e00002eb FAILED (status read failed (No such file or directory)) finished. total time: 3.819s mynames-MacBook-Air:platform-tools myname$ ./fastboot-mac flash recovery radio-maguro-i9250xxlj1.img -bash: ./fastboot-mac: No such file or directory mynames-MacBook-Air:platform-tools myname$ img -bash: img: command not found mynames-MacBook-Air:platform-tools myname$ ls NOTICE.txt etc1tool hprof-conv sqlite3 adb fastboot image-yakju-jdq39 systrace api flash-all.bat image-yakju-jdq39.zip yakju-jdq39 bootloader-maguro-primelc03.img flash-all.sh radio-maguro-i9250xxlj1.img dmtracedump flash-base.sh source.properties mynames-MacBook-Air:platform-tools myname$ ./fastboot-mac flash recovery imgradio-maguro-i9250xxlj1.img -bash: ./fastboot-mac: No such file or directory mynames-MacBook-Air:platform-tools myname$ ./fastboot devices 014E38590B016008 fastboot mynames-MacBook-Air:platform-tools myname$ ./fastboot flash recovery radio-maguro-i9250xxlj1.img < waiting for device > sending 'recovery' (12288 KB)... ERROR: usb_write failed with status e00002eb FAILED (data transfer failure (Operation timed out)) finished. total time: 0.268s mynames-MacBook-Air:platform-tools myname$ ./fastboot flash recovery recovery.img < waiting for device > sending 'recovery' (4900 KB)... OKAY [ 0.621s] writing 'recovery'... ERROR: usb_read failed with status e00002eb FAILED (status read failed (Operation timed out)) finished. total time: 0.746s mynames-MacBook-Air:platform-tools myname$ ./fastboot flash recovery boot.img sending 'recovery' (4400 KB)... OKAY [ 0.558s] writing 'recovery'... ERROR: usb_read failed with status e00002eb FAILED (status read failed (No such file or directory)) finished. total time: 0.595s mynames-MacBook-Air:platform-tools myname$ ./fastboot flash recovery bootloader-maguro-primelc03.img < waiting for device > sending 'recovery' (2308 KB)... OKAY [ 0.296s] writing 'recovery'... ERROR: usb_read failed with status e00002eb FAILED (status read failed (Operation timed out)) finished. total time: 0.390s mynames-MacBook-Air:platform-tools myname$ ./fastboot devices 014E38590B016008 fastboot mynames-MacBook-Air:platform-tools myname$ I also tried this:
mynames-MacBook-Air:platform-tools myname$ /Users/myname/Desktop/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/flash-all.sh sending 'bootloader' (2308 KB)... FAILED (remote: Invalid Argument) finished. total time: 0.003s rebooting into bootloader... FAILED (unknown status code) finished. total time: 0.000s sending 'radio' (12288 KB)... FAILED (remote: Invalid Argument) finished. total time: 0.000s rebooting into bootloader... FAILED (unknown status code) finished. total time: 0.000s archive does not contain 'boot.sig' archive does not contain 'recovery.sig' archive does not contain 'system.sig' archive does not contain 'tos.img'