Device(s): Behold 2 w/ BH_MAN Galaxy 1.6 / R7
Do Not PM me With Problem's
Post in Thread!
Thanks: 156
Thanked 1,673 Times in 433 Posts
ADB For Linux Replacement Fix File..
For those Having Trouble with adb in Linux, Replace the current adb file in your sdk/tools folder ( or where every the file location might be ) with the File I have Linked... This will still work with all other phone's that you may have...
Working ADB replacement File For the Behold 2 here > adb.gz
Once Downloaded, Extract the File and do the Following Directions above, then Repair Permission on the adb file with command below \/
Chmod a+x ( adb file location )
Next we Need to add the 51-android.rules for adb to work correctly.
Quote:
copy as root in as root ... and chmod this file:
sudo cp 51-android.rules /etc/udev/rules.d
sudo chmod a+x /etc/udev/rules.d/51-android.rules
this is for ubuntu 9.10 + 10.04 (tested) should work on some others
Special thanks to barakinflorida for passing me this File's for everyone to use, I didn't have this issue with adb to begin with, but Barak did & knew how to fix it for you guys...
Thanks a lot BH_MAN, I've been looking all over for this, and reading everything and anything I can find...
Once this is fixed and done, can someone explain why is that ADB wasn't recognizing the phone? I would like to know for background knowledge.
THANKS!
Here is a shot at what I think is happening. The UDEV (device manager) is not looking in the right place for your phone. It looks at the rules.d file so it has guidance as to where to look for the device, but its not telling it the correct location.
Not sure what you mean by export path. I'm going to change the rules file name to a few other things and try again.
Chadmd, this worked for me too, let me go over what I did.
After downloading the files, I moved the adb to the (in my pc is like this) ~/android/tools/ folder and ran the chmod a+rwx adb command.
After this, I took the rules file and I moved it to the /etc/udev/rules.d/ folder (logged as root). After doing this, I ran the following commands:
su [then placed the password] chmod a+x 51-android.rules
chown root:root 51-android.rules
Once done, I restarted the PC and its working 100%, I ran the lsusb command to confirm the connection of the device and then a ./adb devices an I got positive return!
Thanks Barak and BH_MAN for the extra hand. I think that the only place I was failing was the permissions on the rules file, I had the rules file just like barak after my last research.
Last edited by megabiteg; April 7th, 2010 at 11:53 PM.
Device(s): Samsung Behold 2 - TouchWiz Lite w/ EB-ClockworkMod Behold2 recovery
T-mobile/HTC MyTouch 3g 1.2 - S
Thanks: 30
Thanked 43 Times in 26 Posts
@megabiteg....im geting stuck on the su... keep getting su: authentication faiure... could you help explain what this is and/or how to fix? sorry, n00b to ubuntu world. runnin 9.04 if that helps any...
@megabiteg....im geting stuck on the su... keep getting su: authentication faiure... could you help explain what this is and/or how to fix? sorry, n00b to ubuntu world. runnin 9.04 if that helps any...
If you have never used the "su" command before chances you have a generated root password that comes with the installation. This is the same thing that happens with a new Windows install that you don't get access to the Administrator user.
To fix this do the following:
sudo passwd
(authenticate sudo; this is the password you put all the time when you run the sudo command)
(enter and confirm the new password for root)
After this you should be all set to elevate yourself to root without issues using the new password you assigned after the sudo authentication.
let me know if you need additional help.
The Following User Says Thank You to megabiteg For This Useful Post:
The Samsung Behold 2 for T-Mobile greatly improves on the first version of the phone by adding Android to the mix, providing for a powerful combination of hardware and sowftware. With Android, Samsung's custom TouchWiz UI, a 3.2-inch AMOLED Tou... Read More