I am trying to load a customized kernel on my NVIDIA test git.
I typed fastboot boot myImage
after which which I get:
<Waiting for device>
I think this is a problem with a driver on fastboot
mode on my device.
But I don't know how to install the driver on linux.
Do you guys know how to install the driver?
try to use compiler generated
fastboot
when this happes. the file path isout/host/linux(or other)/bin/fastboot
andsudo
is also needed. it works in most of the time.To use the fastboot command you first need to put your device in fastboot mode:
Once the device is in fastboot mode, you can boot it with your own kernel, for example:
The above will only boot your kernel once and the old kernel will be used again when you reboot the device. To replace the kernel on the device, you will need to flash it to the device:
Hope that helps.
The shortest answer is first run the fastboot command (in my ubuntu case i.e. ./fastboot-linux oem unlock) (here i'm using ubuntu 12.04 and rooting nexus4) then power on your device in fastboot mode (in nexus 4 by pressing vol-down-key and power button)
In my case (on windows 10), it would connect fine to adb and I could type any
adb
commands. But as soon as it got to the bootloader usingadb reboot bootloader
I wasn't able to perform anyfastboot
commands.What I did notice that in the device manager that it refreshed when I connected to device. Next thing to do was to check what changed when connecting. Apparently the fastboot device was inside the
Kedacom USB Device
. Not really sure what that was, but I updated the device to use a different driver, in my case theFastboot interface (Google USB ID)
, and that fixed mywaiting for device
issueThe short version of the page linked by D Shu (and without the horrible popover ads) is that this "waiting for device" problem happens when the USB device node is not accessible to your current user. The USB id is different in fastboot mode, so you can easily have permission to it in adb but not in fastboot.
To fix it (on Ubuntu; other systems may be slightly different):
Run
lsusb -v | less
and find the relevant section which will look something like this:Now do
it's ok if that file does not yet exist; create it with a line like this, inserting your own username and vendor id:
then
then verify the device node permissions have changed:
The even shorter cheesy version is to just run
fastboot
as root. But then you need to run every command that talks to the device as root, which tends to cause other complications. Simpler just to fix the permissions in the long run.On your device Go To Settings -> Dev Settings, And Select "Allow OEM Unlock" As shown on Unlock Your Bootloader
At least this worked for me on my MotoE 4G.