Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Phones > Samsung Behold 2 > Behold 2 - All Things Root

Behold 2 - All Things Root Rooting, ROMS, Overclocking, etc.



Reply
 
LinkBack Thread Tools
Old April 7th, 2010, 07:41 PM   #1 (permalink)
Senior Member
 
BH_MAN's Avatar
 
Join Date: Feb 2010
Posts: 1,382
 
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
Default 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
51-android.rules Download > 51-android.rules

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...

__________________
Twitter http://twitter.com/Eugene_373 Show thanks?Just send me a PM with a thanks you...
IF you want to buy me a Beer, Click on the Text.*edit* All Donations Goes to Baby Toys now
BH_MAN is offline  
Last edited by BH_MAN; April 7th, 2010 at 08:26 PM.
Reply With Quote
The Following 3 Users Say Thank You to BH_MAN For This Useful Post:
chadmd23 (April 7th, 2010), khunny7 (April 8th, 2010), megabiteg (April 7th, 2010)
Sponsors
Old April 7th, 2010, 07:53 PM   #2 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 527
 
Device(s): Galaxy Nexus
Thanks: 69
Thanked 59 Times in 35 Posts
Send a message via AIM to chadmd23 Send a message via MSN to chadmd23 Send a message via Yahoo to chadmd23 Send a message via Skype™ to chadmd23
Default

Can you post your rules.d file for us also? Just the text and file name would help out, so we can copy and paste.

Thanks!
__________________
Please take a second to search for your answer, and keep the forums clean of repeat postings. Thanks!
chadmd23 is offline  
Reply With Quote
Old April 7th, 2010, 07:58 PM   #3 (permalink)
Senior Member
 
BH_MAN's Avatar
 
Join Date: Feb 2010
Posts: 1,382
 
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
Default

Quote:
Originally Posted by chadmd23 View Post
Can you post your rules.d file for us also? Just the text and file name would help out, so we can copy and paste.

Thanks!
sure no problem.. give me a minute to boot into linux to grab it for everyone... forgot about that.

*Edit*
I'm bad about explaining stuff, so Barak is making a how-to regarding the Rules.d file right now.... I'll Post it shortly for everyone.

Please send a thank you to barak via twitter if you get time...
BH_MAN is offline  
Last edited by BH_MAN; April 7th, 2010 at 08:04 PM.
Reply With Quote
Old April 7th, 2010, 08:09 PM   #4 (permalink)
Member
 
megabiteg's Avatar
 
Join Date: Mar 2010
Location: Boston, MA
Posts: 269
 
Device(s): Samsung Epic 4G
Thanks: 98
Thanked 37 Times in 30 Posts
Default

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!
__________________
----
"Perfection is my life goal, excellence will be tolerated."
megabiteg is offline  
Reply With Quote
Old April 7th, 2010, 08:16 PM   #5 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 527
 
Device(s): Galaxy Nexus
Thanks: 69
Thanked 59 Times in 35 Posts
Send a message via AIM to chadmd23 Send a message via MSN to chadmd23 Send a message via Yahoo to chadmd23 Send a message via Skype™ to chadmd23
Default

Quote:
Originally Posted by megabiteg View Post
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.
chadmd23 is offline  
Reply With Quote
Old April 7th, 2010, 08:22 PM   #6 (permalink)
Senior Member
 
BH_MAN's Avatar
 
Join Date: Feb 2010
Posts: 1,382
 
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
Default

Okay I updated the OP & link
BH_MAN is offline  
Reply With Quote
Old April 7th, 2010, 08:36 PM   #7 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 527
 
Device(s): Galaxy Nexus
Thanks: 69
Thanked 59 Times in 35 Posts
Send a message via AIM to chadmd23 Send a message via MSN to chadmd23 Send a message via Yahoo to chadmd23 Send a message via Skype™ to chadmd23
Default

No dice for me.
chadmd23 is offline  
Reply With Quote
Old April 7th, 2010, 08:39 PM   #8 (permalink)
Senior Member
 
BH_MAN's Avatar
 
Join Date: Feb 2010
Posts: 1,382
 
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
Default

Quote:
Originally Posted by chadmd23 View Post
No dice for me.
Well that Sucks man.... I posted what works for me & Barak... is the export path setup correct?
BH_MAN is offline  
Reply With Quote
Old April 7th, 2010, 08:49 PM   #9 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 527
 
Device(s): Galaxy Nexus
Thanks: 69
Thanked 59 Times in 35 Posts
Send a message via AIM to chadmd23 Send a message via MSN to chadmd23 Send a message via Yahoo to chadmd23 Send a message via Skype™ to chadmd23
Default

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.
chadmd23 is offline  
Reply With Quote
Old April 7th, 2010, 11:15 PM   #10 (permalink)
Member
 
megabiteg's Avatar
 
Join Date: Mar 2010
Location: Boston, MA
Posts: 269
 
Device(s): Samsung Epic 4G
Thanks: 98
Thanked 37 Times in 30 Posts
Default

Quote:
Originally Posted by chadmd23 View Post
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.
megabiteg is offline  
Last edited by megabiteg; April 7th, 2010 at 11:53 PM.
Reply With Quote
Sponsors
Old April 7th, 2010, 11:39 PM   #11 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 527
 
Device(s): Galaxy Nexus
Thanks: 69
Thanked 59 Times in 35 Posts
Send a message via AIM to chadmd23 Send a message via MSN to chadmd23 Send a message via Yahoo to chadmd23 Send a message via Skype™ to chadmd23
Default

Got it!! Thanks guys. Not that familiar with su usage, thats where my problem was.

Now to try Proxoid.

UPDATE: It works, just not as easy to use as pdanet.
chadmd23 is offline  
Last edited by chadmd23; April 7th, 2010 at 11:53 PM.
Reply With Quote
Old April 8th, 2010, 02:26 AM   #12 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 44
 
Device(s):
Thanks: 36
Thanked 1 Time in 1 Post
Default

Thank you so much. Thank you thank you thank you!
khunny7 is offline  
Reply With Quote
Old April 9th, 2010, 09:10 AM   #13 (permalink)
Member
 
Join Date: Mar 2010
Location: Arizona
Posts: 179
 
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
Default

@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...
aequitas3 is offline  
Reply With Quote
Old April 9th, 2010, 09:19 AM   #14 (permalink)
Member
 
megabiteg's Avatar
 
Join Date: Mar 2010
Location: Boston, MA
Posts: 269
 
Device(s): Samsung Epic 4G
Thanks: 98
Thanked 37 Times in 30 Posts
Default

Quote:
Originally Posted by aequitas3 View Post
@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.
megabiteg is offline  
Reply With Quote
The Following User Says Thank You to megabiteg For This Useful Post:
aequitas3 (April 9th, 2010)
Reply

Samsung Behold 2
Current Rating:
Rate this Phone:

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


Bookmarks


Go Back   Android Forums > Android Phones > Samsung Behold 2 > Behold 2 - All Things Root User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rooting tip for linux and linux live booting blaksplash Incredible - All Things Root 3 July 10th, 2011 03:01 AM
can u download linux to evo or a linux emulator meandmyevo4g Android Lounge 0 January 2nd, 2011 09:44 PM
Linux+ Guide to Linux Certification? dglowen23 Developer 101 3 July 18th, 2010 05:25 PM
should I file for a refurb/replacement? xxteargodxx Motorola Droid 6 July 5th, 2010 12:08 PM
New to android. Based on linux, so it can run anything that can run on a linux box? m374llic4 Android Applications 1 April 16th, 2009 09:09 PM



All times are GMT -5. The time now is 03:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo