you should have already edited your /etc/udev/rules.d/51-andorid.rules file to include this line:
But in fastboot mode, the device shows up as "Google" so you also need to add an additional line to the above file so it looks like this:
Then issue an:
Unplug and re-plug the device (while in fastboot mode) and try the command again:
Worked for me!
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
But in fastboot mode, the device shows up as "Google" so you also need to add an additional line to the above file so it looks like this:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
Then issue an:
Code:
sudo service udev restart
Unplug and re-plug the device (while in fastboot mode) and try the command again:
Code:
fastboot oem unlock
Worked for me!