NOTE: I'm using Ubuntu 10.04 as my development PC
First, make sure your phone's "USB Debugging" is enabled.
To enable "USB Debugging": go to Settings->Developer Options
After enabling it, connect your phone to your PC.
When your phone is already connected to your PC:
- Press Ctrl+Alt+t to run the Terminal.
- Type lsusb to list the connected devices. Then find your phone and copy its ID.
- In my case, I will only note/copy 24e3
- Then type su to be a root user. You'll know that you are a root because $ sign will be replaced by a # sign. In my case, it's: rickimaru@RickiMaru:~$ to rickimaru@RickiMaru:~#
- After this, type cat > /etc/udev/rules.d/51-android.rules
- Then type: SUBSYSTEM=="usb", ATTR{idVendor}=="<id>", MODE="0600", GROUP=="plugdev"
- In my case, <id> = 24e3. So, this sould look like: ATTR{idVendor}=="24e3"
- Then press Enter
- After that, type: chmod a+r /etc/udev/rules.d/51-android.rules
Then you're done!
No comments:
Post a Comment