Skip to main content

Adding Nextbit Robin to udev rules

If you ever had to use adb or fastboot for your android devices on linux, you may have noticed that devices show up only when you add 'sudo' to these tools. This isn't good. Here's a way to remedy it. Instructions tested on openSUSE tumbleweed.

* Update your adb and fastboot from Android Studio SDK manager (platform-tools) or wherever you got it from.
* Make sure your user is added to the "plugdev".  Create a plugdev group if it doesn't exist "sudo groupadd plugdev"
* Add your user to plugdev "sudo usermod -a -G plugdev $(whoami)"
* Edit /etc/udev/rules.d/51-android.rules (create file if it doesn't exist) and add the following line for nextbit robin:
SUBSYSTEM=="usb", ATTR{idVendor}=="2c3f", MODE="0666", GROUP="plugdev"
Replace the ATTR{idVendor}'s value with your device's value. For all nextbit robin devices, these are the same "2c3f". You can find them by typing "lsusb". If you can't make out which one it is, simply remove your usb, run the command and connect your usb and re run the command and find the entry that didn't appear before. And finally, do the following:

* sudo udevadm control --reload-rules
* sudo udevadm trigger

Now you should get your devices listed and it should come up fine for adb/fastboot without sudo. If this still doesn't work, try reconnecting your cable or restarting. Obviously you should have USB debugging turned on and should've clicked on "allow" on your phone when that signature dialog box pops up. If you don't get this, try with a different cable or try re-enabling USB debugging from Developer options. Revoke authorizations and try again. You could also try switching your USB Configuration mode to "Charging" or "MTP" to get it to work. All of these options are within Developer options on the phone.


Popular posts from this blog

Out of sync audio video on linux?

Couple of days back, I played around with pulseaudio modules, sources and sinks and all that stuff (Obviously not knowing what I was doing). Few days later, I noticed that video playback from youtube (or any audio visual content) started to become choppy and slow often to the point of audio getting out of sync very quickly. I wasn't sure what the cause of this problem was. I initially thought my CPU was stepping down due to the heat. But it turns out that it was my screwed up pulseaudio config.

Doing `rm -rf ~/.config/pulse` followed by `pulseaudio -k` (kill the pulseaudio daemon) instantly fixed this issue.


Finally, here it is! (to those people who kept insisting on me to write a blog)

Honestly, I haven't a clue as to why I'm putting my time aside to write a blog. I've always wanted to have one, but never really fancied writing diary style entries.

Maybe I'll have another go at it. The first time I started writing for this blog, it was over half a decade ago. The posts I had were exactly the kind of personal diary like boring stuff that most people might not want to read. So I had to take it down.

Along with those personal tidbits, I had tons of crossposted content that I left in, thinking it would spice up things a bit. (Courtesy: Digg social spam tools; I still miss the old Digg). That turned out to be a breeding ground for spam comments.

verbose = 0;

I'm using this blog as a place to put in some amount of brain dump. Since this sub-domain is the primarily shared URL connected to "me", I'll also be using this a place to consolidate all my other l…