Go Back   Android Forums > Android Phones > Samsung Behold 2 > Behold 2 - All Things Root
Behold 2 - All Things Root Rooting, ROMS, Overclocking, etc.

View Poll Results: Is the Thread Helpful enough to sticky it?
Yes 48 96.00%
No 2 4.00%
Voters: 50. You may not vote on this poll

test: Reply
 
LinkBack Thread Tools
Old February 13th, 2010, 06:24 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
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!
Carrier: Not Provided

Thanks: 156
Thanked 1,678 Times in 433 Posts
Question How-to Thread For ADB SHELL

Due to the Over whelming Question Regarding how-to do things in Android system regarding ADB, I've Decided to make a thread regarding this Issue..

If you Have to ask a Question, be very clear so we can Keep this thread Clean.. Wiki Located here > ADB - Android Wiki

To Fix ADB in Linux, Visit this Thread > http://androidforums.com/all-things-root-behold-2/60949-adb-linux-replacement-fix-file.html

To start us Off.....

If you would Like to Pull a File / App. First we would do this....

Quote:
adb shell
cd /system/app
ls -l
Now we should have a Huge amount of App's in front of us, now we locate the name of the App we wish to pull Once we Find it, we do the Following.. ( In this example I'll be Pulling the alarmclock.apk )

Next, If still in Command Prompt.
Quote:
exit
running exit will drop you back into Command prompt shell, From there we Running the Following Commands in Blue...
adb pull /system/app/AlarmClock.apk C:\AlarmClock.apk

Now we should have the alram clock app in our Root Directory in C:\

Now to Push the alarm clock app after we made changes to it...

adb push C:\AlarmClock.apk /system/app/AlarmClock.apk


Now we have Pull & Push a File into the system/app Directory.

Now.... Lets say we want to remove an App from the /system/app Directory ( Be careful when doing this, Can cause phone Not to Boot... )

In this example I'll be Removing the AlarmClock.apk from adb shell..
Quote:
adb shell
cd /system/app
rm -r AlarmClock.apk
Now, if the System uses .odex file, do the same regarding those file's as well.... The Command would look like this for .odex removal...
Quote:
rm -r AlarmClock.odex
More Example..

Through ADB
A2SD Commands
If using any A2SD you would run these Commands as well to locate, Remove, Pull or Push.

Pull apps off phone onto computer
Quote:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
Push apps back to phone from the computer
Quote:
adb push app /system/sd/app
adb push app-private /system/sd/app-private
Delete existing apps on SD
Quote:
adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-private
Please Post your How-to,

Thanks,
~BH_MAN



Thanks Paul
HAHA LMAO we posted the same video, I'll delete mine!

Advertisements
BH_MAN is offline  
Reply With Quote
The Following 6 Users Say Thank You to BH_MAN For This Useful Post:
bearsfan85 (July 27th, 2010), behold_guy (May 29th, 2010), crump (October 20th, 2011), ERJ (August 29th, 2013), ltlrags (May 22nd, 2010), mistere372002 (May 7th, 2010)
sponsored links
Old March 4th, 2010, 02:46 AM   #2 (permalink)
Junior Member
 
Join Date: Dec 2009
Location: Alaska
Posts: 46
 
Device(s): Nexus One Samsung Behold II
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default Adb shell and devices says device offline

I have tryed to get this going for a few days now with no luck. I have tryed different drivers all ran with signed drivers disabled. I've tryed a few cables and 3 different machines. Everytime i type in adb shell it says device is offline. I type in adb devices and it shows t939 device offline. I have usb debugging on and it set to samsung pc studio mode. i want bhmans rom badly... im not even gonna get this fabled update anyways. any help would be very much appreciated.

P.S. i use win7 64bit ultimate, My other 2 machines are running winxp pro and win 2000.
i2hi4u is offline  
Reply With Quote
Old March 4th, 2010, 03:20 AM   #3 (permalink)
 
Join Date: Feb 2010
Location: Spokane Wa
Posts: 144
 
Device(s): Samsung vibrant
Carrier: Not Provided

Thanks: 2
Thanked 15 Times in 4 Posts
Default

i found it much easier to use windows xp. so you do have the avd installed correct? i was having problems for a while too then i finally got it. also make sure ur device isnt in usb mass storage mode so when you plug in via usb dont mount. hope this helps if not let me know
dglowen23 is offline  
Reply With Quote
Old March 4th, 2010, 04:24 AM   #4 (permalink)
Junior Member
 
Join Date: Dec 2009
Location: Alaska
Posts: 46
 
Device(s): Nexus One Samsung Behold II
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

what does avd have to do with it?? My phone is in samsung pc studio mode and i never mount it.
i2hi4u is offline  
Reply With Quote
Old March 4th, 2010, 04:26 AM   #5 (permalink)
 
Join Date: Feb 2010
Location: Spokane Wa
Posts: 144
 
Device(s): Samsung vibrant
Carrier: Not Provided

Thanks: 2
Thanked 15 Times in 4 Posts
Default

avd is the android virtual device and you must have it set up in the sdk before adb runs. do u need me to help wit this?
dglowen23 is offline  
Reply With Quote
Old March 4th, 2010, 04:52 AM   #6 (permalink)
Junior Member
 
Join Date: Dec 2009
Location: Alaska
Posts: 46
 
Device(s): Nexus One Samsung Behold II
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Ive setup a few avd but it didnt change anything. Now adb devices shows the emulater
i2hi4u is offline  
Reply With Quote
Old March 4th, 2010, 05:06 AM   #7 (permalink)
 
Join Date: Feb 2010
Location: Spokane Wa
Posts: 144
 
Device(s): Samsung vibrant
Carrier: Not Provided

Thanks: 2
Thanked 15 Times in 4 Posts
Default

ok. what computer are u currently using to run these commands?
dglowen23 is offline  
Reply With Quote
Old March 4th, 2010, 07:10 AM   #8 (permalink)
Junior Member
 
Join Date: Dec 2009
Location: Alaska
Posts: 46
 
Device(s): Nexus One Samsung Behold II
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

I already told u i am using all 3
i2hi4u is offline  
Reply With Quote
Old March 4th, 2010, 10:07 AM   #9 (permalink)
Senior Member
 
kam187's Avatar
 
Join Date: Aug 2009
Location: UK
Posts: 1,320
 
Device(s): Nexus One
Carrier: Not Provided

Thanks: 3
Thanked 47 Times in 29 Posts
Default

In device manager do you see a adb device? Did it ask you for a driver when you turned on USB debugging?

Try toggling usb debugging (its a known problem - not calling u dumb )
__________________
Walkabout - Try it FREE! ICS GALAXY NEXUS COMPATIBLE at full resolution!
http://androidforums.com/android-games/281306-walkabout-new-puzzle-game-demo-available-video-enclosed.html
kam187 is offline  
Reply With Quote
Old March 4th, 2010, 10:09 AM   #10 (permalink)
Senior Member
 
kam187's Avatar
 
Join Date: Aug 2009
Location: UK
Posts: 1,320
 
Device(s): Nexus One
Carrier: Not Provided

Thanks: 3
Thanked 47 Times in 29 Posts
Default

You need to download the sdk or the tools.rar. Extract it and cd to the tools directory. Then run adb.

Here's the tools directory you need including abd and the driver (windows should ask you for it when you turn on usb debugging and turn off mass storage mode)

http://www.megaupload.com/?d=48D1QMWX
kam187 is offline  
Last edited by kam187; March 4th, 2010 at 10:09 AM.
Reply With Quote
sponsored links
Old March 4th, 2010, 12:02 PM   #11 (permalink)
Junior Member
 
Join Date: Feb 2010
Location: Virginia Beach Just moved from Philly
Posts: 25
 
Device(s): Moto Droid and LG Ally
Carrier: Not Provided

Thanks: 9
Thanked 2 Times in 2 Posts
Default Need help with How to install a ROM and ADB

How do you do it and what is needed I can not get my device to show up when I type adb shell. I download the android files from google but im stuck this is a big jump from my windows mobile world.
Would love some help people thanks to all.
phillynitro is offline  
Reply With Quote
Old March 4th, 2010, 03:13 PM   #12 (permalink)
Member
 
Join Date: Dec 2009
Location: NJ
Posts: 283
 
Device(s): [s]Samsung Behold 2[/s] Motorola CliqXT
Carrier: Not Provided

Thanks: 111
Thanked 97 Times in 54 Posts
Default

Assuming you are running Windows...

You must download the Android-SDK (Android SDK | Android Developers) Extract to the C:\.

Then you must install the drivers for the Behold 2. Drivers can be found in the following file http://shrunk.me/uvij6.zip
That file also include the ODIN files which allow you to flash back to completely stock (out of factory) for your phone. For ODIN instructions please reference this post: {PORT} Behold 2 Stock ( No Twiz w/ Root & Busybox )

Now when you plug-in the phone via the USB, it will ask to install drivers and point them to the Behold 2 drivers.

Assuming that you are running the stock Touchwiz you must put your phone into a mode that adb will work. On Touchwiz you go to Settings>>Application Settings>>Development>>USB Debugging (put a check mark). Then go to Settings>>Phone Settings>>USB Settings>>Samsung PC Studio, click SAVE. It should then install the ADB drivers. If not toggle between Mass Storage, click Save then click Samsung PC Studio and click save.

Open a command prompt windows (Start>>Run>>CMD) then
Code:
cd c:\android-sdk-windows\tools
adb shell
This will get you the adb shell onto the device, allowing you to enter the commands to install the MOD.

Make sure to extract the files from BH_Man onto the root of your SDCARD and make sure its then mounted on the phone. Good Luck.
Mastermind278 is offline  
Reply With Quote
The Following User Says Thank You to Mastermind278 For This Useful Post:
ltlrags (May 22nd, 2010)
Old March 4th, 2010, 06:34 PM   #13 (permalink)
Member
 
Join Date: Feb 2010
Posts: 111
 
Device(s): BH2
Carrier: Not Provided

Thanks: 13
Thanked 20 Times in 14 Posts
Default

One other thing I have noticed is that if you have an alternate Home - ie @Home, Home++, SweeterHome, etc you will not be able to get ADB to work until you are using the stock TW home.
kkarlin is offline  
Reply With Quote
Old March 4th, 2010, 08:44 PM   #14 (permalink)
Junior Member
 
Join Date: Dec 2009
Location: Alaska
Posts: 46
 
Device(s): Nexus One Samsung Behold II
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

I see it in device manager. I have not seen anything about usb debugging. I toggled it in the phone and nothing showed up...
i2hi4u is offline  
Last edited by i2hi4u; March 4th, 2010 at 08:45 PM.
Reply With Quote
Old March 5th, 2010, 06:16 AM   #15 (permalink)
Senior Member
Thread Author (OP)
 
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!
Carrier: Not Provided

Thanks: 156
Thanked 1,678 Times in 433 Posts
Default

Quote:
Originally Posted by i2hi4u View Post
I see it in device manager. I have not seen anything about usb debugging. I toggled it in the phone and nothing showed up...
Hit Menu on the Phone ( Not settings in the Launcher ).

Menu > Settings > Applications > Development > USB debugging

After a Phone reboot, be sure to toggle off, then back on.

If you're running a Full stock Rom....
Pull down the Menu bar ( Notification bar )... and

Notification Bar > Phone Tab > USB settings > Samsung PC Studio
( Then follow the USB Debugging how-to ).
BH_MAN is offline  
Last edited by BH_MAN; March 5th, 2010 at 06:19 AM.
Reply With Quote
Old March 5th, 2010, 06:22 AM   #16 (permalink)
Senior Member
Thread Author (OP)
 
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!
Carrier: Not Provided

Thanks: 156
Thanked 1,678 Times in 433 Posts
Default

After SDK is setup & Driver's are installed...

Quote:
Originally Posted by BH_MAN View Post
Hit Menu on the Phone ( Not settings in the Launcher ).

Menu > Settings > Applications > Development > USB debugging

After a Phone reboot, be sure to toggle off, then back on.

If you're running a Full stock Rom....
Pull down the Menu bar ( Notification bar )... and

Notification Bar > Phone Tab > USB settings > Samsung PC Studio
( Then follow the USB Debugging how-to ).
BH_MAN is offline  
Reply With Quote
Old March 7th, 2010, 01:56 AM   #17 (permalink)
Junior Member
 
Join Date: Dec 2009
Location: Alaska
Posts: 46
 
Device(s): Nexus One Samsung Behold II
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Tryed that and its still says device offline.. Such is life..... its okay guys im not made to get anything
i2hi4u is offline  
Reply With Quote
Old March 11th, 2010, 06:20 PM   #18 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Cant get recognized with adb

ok so its probably been posted many many times and i know this because i have read 2 post on here and many other post from different web sites and i have read and tried so many times im fed up and really want this to work.

I have done everything to a T to try and get this working with a no working status happing.

SO IF THERE IS ANY ONE OUT THERE HAVING THIS SAME PROBLEM AND FIXED IT please please email me or post reply.

i have tried uninstalling drivers reinstalling. i have reset phone. i have done every thing possible in my right mind from reading to try and get it recognized by adb but still cannot
meinstein1987 is offline  
Reply With Quote
Old March 11th, 2010, 11:06 PM   #19 (permalink)
Member
 
Join Date: Feb 2010
Posts: 111
 
Device(s): BH2
Carrier: Not Provided

Thanks: 13
Thanked 20 Times in 14 Posts
Default

Are you using a third party home screen? I have found that if you're using @home and SweeterHome you can not initiate an ADB connection.

Can you mount the phone as a removable drive?

What OS are you using (version and 32bit or 64bit)
kkarlin is offline  
Reply With Quote
Old March 12th, 2010, 08:17 AM   #20 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do not have any of those things like I said I did a factory reset on it just to make sure. Yes I can mount as removable drive. I'm also using windows xp 32bit.

I mean I just don't freakin understand why its not working.

I sat there for 4 hours yesterday trying to get recognized by adb....

I am savy with these things computers phones blah but I just can't figure this one out
meinstein1987 is offline  
Reply With Quote
sponsored links
Old March 12th, 2010, 09:27 AM   #21 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am no tech guy thats for sure, but when you plug your phone to your cpu dont mount it set the phone settings to studio then start up cmd and make sure you got debugging on that did it for me. Since I got this thing rooted it has been great, so push on man it is really worth it
BigBalmer is offline  
Reply With Quote
Old March 12th, 2010, 09:35 AM   #22 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BigBalmer View Post
I am no tech guy thats for sure, but when you plug your phone to your cpu dont mount it set the phone settings to studio then start up cmd and make sure you got debugging on that did it for me. Since I got this thing rooted it has been great, so push on man it is really worth it
I donot mount the question asked before was does it mount as in are the usb drivers working.. I said yes. And i know its worth it just cant get the behold to be recognized which is making me mad.

I have downloaded the manual drivers still nothing. is there any information for any of the tech guys here that they need to see what the problem is.. DXdiag? phone version firmware version so on?
meinstein1987 is offline  
Reply With Quote
Old March 12th, 2010, 10:16 AM   #23 (permalink)
Member
 
Join Date: Nov 2009
Posts: 180
 
Device(s): G1(with all the tricks & hacks) , Behold2 , Vibrant(rooted stock 2.1)
Carrier: Not Provided

Thanks: 1
Thanked 22 Times in 15 Posts
Default

did you un_check mass storage , when you go to >about phone>additional settings ? that's the only other one there is , you can also press n hold the call button and say phone 'status' to get this menu . ...
dan0zone is offline  
Reply With Quote
Old March 12th, 2010, 11:24 AM   #24 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by dan0zone View Post
did you un_check mass storage , when you go to >about phone>additional settings ? that's the only other one there is , you can also press n hold the call button and say phone 'status' to get this menu . ...
found the setting but now when i usb it only charges no connection ill try uninstalling drivers then reinstalling but well see
meinstein1987 is offline  
Reply With Quote
Old March 12th, 2010, 03:15 PM   #25 (permalink)
Junior Member
 
WurrzMiKey's Avatar
 
Join Date: Feb 2010
Posts: 40
 
Device(s): Samsung Behold 2 w/ BH_MAN Behold 2 1.6 Warheads
Carrier: Not Provided

Thanks: 14
Thanked 5 Times in 5 Posts
Default

if i'm reading correctly, my phone did the same thing (just charges and doesn't connect). Then i went into the notification bar (while plugged in), went into phone and USB settings. It was already set to PC Studio so i just pressed save and it reset the usb connection and adb recognized it.
WurrzMiKey is offline  
Reply With Quote
Old March 12th, 2010, 04:02 PM   #26 (permalink)
Ex CEO-DNPSEA foundation
 
shawn1224's Avatar
 
Join Date: Dec 2009
Location: Houston, TX
Gender: Male
Posts: 2,181
 
Device(s): Samsung Galaxy Note 3 - 32GB Gold iPhone 5s - 16GB Nexus 7 (2nd gen) - Chromecast
Carrier: Verizon

Thanks: 188
Thanked 290 Times in 208 Posts
Default

Did you follow this step

Quote:
Originally Posted by BH_MAN View Post
- USB Debugging needs turned off, then back on after each re-boot for adb to work..
shawn1224 is offline  
Reply With Quote
Old March 15th, 2010, 05:46 PM   #27 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 27
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 8 Times in 5 Posts
Default

I'm having the same issue. Can someone help out or go into a little more detail.

I installed the SDK and everything. All the drivers were installed fine (3 Drivers)
BigBadBeta is offline  
Reply With Quote
Old March 15th, 2010, 06:00 PM   #28 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 27
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 8 Times in 5 Posts
Default

Now all of a sudden i have like 20 devices plugged in?
BigBadBeta is offline  
Reply With Quote
Old March 27th, 2010, 04:29 PM   #29 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 44
 
Device(s):
Carrier: Not Provided

Thanks: 36
Thanked 1 Time in 1 Post
Default adb doesn't recognize my behold2

I was trying to use proxoid, so I simply followed following instructions.

First, plug in your Android phone via usb. Then, create a file
/etc/udev/rules.d/09-android.rules containing the two lines
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

Then, restart udev by issuing the command
sudo /etc/init.d/udev restart

./adb forward tcp:8080 tcp:8080

------------------
the last part tells me that device is not found
also, when I run ./adb devices,
it doesn't show me anything.

Can anyone give me a clue?
khunny7 is offline  
Reply With Quote
Old March 27th, 2010, 04:42 PM   #30 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 44
 
Device(s):
Carrier: Not Provided

Thanks: 36
Thanked 1 Time in 1 Post
Default

By the way, I use ubuntu 9.10
khunny7 is offline  
Reply With Quote
sponsored links
Old March 27th, 2010, 05:28 PM   #31 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 530
 
Device(s): Nexus 4
Carrier: TMO

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

I'm having trouble getting Proxoid to work on my Ubuntu netbook also. Very curious if anyone can chime in here.
__________________
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 5th, 2010, 11:32 PM   #32 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 44
 
Device(s):
Carrier: Not Provided

Thanks: 36
Thanked 1 Time in 1 Post
Default adb doesn't recognize my behold2

khunny7@khunny7-x60s:~$ adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached

khunny7@khunny7-x60s:~$ lsusb
Bus 001 Device 013: ID 04e8:6603 Samsung Electronics Co., Ltd
Bus 001 Device 012: ID 0c45:62f0 Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
khunny7@khunny7-x60s:~$

I think I did pretty much everything that some of the references told me to do.
I wonder what my problem is.
Can anybody help me?
khunny7 is offline  
Reply With Quote
Old April 6th, 2010, 12:00 AM   #33 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 44
 
Device(s):
Carrier: Not Provided

Thanks: 36
Thanked 1 Time in 1 Post
Default

I use Ubuntu 9.10, BH_Man's 1.5 (no touchwiz).
khunny7 is offline  
Reply With Quote
Old April 6th, 2010, 04:15 PM   #34 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 530
 
Device(s): Nexus 4
Carrier: TMO

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 fix yet, but I did try a live boot version of 10.04, it looks so cool! But going to wait until general release at the end of the month.
chadmd23 is offline  
Reply With Quote
Old April 7th, 2010, 07:01 PM   #35 (permalink)
Member
 
megabiteg's Avatar
 
Join Date: Mar 2010
Gender: Male
Posts: 273
 
Device(s): HTC One
Carrier: T-Mobile

Thanks: 100
Thanked 40 Times in 33 Posts
Default

I've been working on this problem the past few nights... I'm running out of Ideas on the rules files...
__________________
----
"Perfection is my life goal, excellence will be tolerated."
megabiteg is offline  
Reply With Quote
Old April 16th, 2010, 04:36 AM   #36 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 13
 
Device(s): Samsung Behold 2
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default adb Help

I just installed BH_Man's (Port) Behold 2 1.6 Factory w/ Busybox & Rooted Kernel and am trying to get the Camera fix to work. However when I type in
Quote:
adb push C:\Documents and Settings\Compaq_Owner\Desktop\Camer_16_Fix /system/app
I get
Quote:
Android Debug Bridge version 1.0.25

-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.
-s <serial number> - directs command to the USB device or emulator with
the given serial number. Overrides ANDROID_SERIAL
envivornment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP
disconnect <host>:<port> - disconnect from a TCP/IP device

device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories)
adb bugreport - return all information from the device
that should be included in a bug report.

adb help - show this help message
adb version - show version num

DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition

scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specified device
adb remount - remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port

networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:

- If <directory> is not specified, both /system and /data partitions will be updated.

- If it is "system" or "data", only the corresponding partition is updated.
Which I'm assuming is the 'user manual'. What am I typing wrong?
CrisKenyon is offline  
Reply With Quote
Old April 16th, 2010, 04:55 AM   #37 (permalink)
Member
 
Join Date: Mar 2010
Location: New Jersey
Gender: Male
Posts: 184
 
Device(s): T-Mobile LG Optimus L9 - Stock V10G w/ root
Carrier: T-Mobile

Thanks: 31
Thanked 44 Times in 27 Posts
Default

did you do adb devices to makes sure your device is "online"

if you want to get onto the irc chat, i can hop on to help you out really quick.
aequitas3 is offline  
Reply With Quote
Old April 16th, 2010, 04:58 AM   #38 (permalink)
Junior Member
 
WurrzMiKey's Avatar
 
Join Date: Feb 2010
Posts: 40
 
Device(s): Samsung Behold 2 w/ BH_MAN Behold 2 1.6 Warheads
Carrier: Not Provided

Thanks: 14
Thanked 5 Times in 5 Posts
Default

Why don't you try installing his noTwiz version?
WurrzMiKey is offline  
Reply With Quote
Old April 16th, 2010, 08:42 AM   #39 (permalink)
Member
 
megabiteg's Avatar
 
Join Date: Mar 2010
Gender: Male
Posts: 273
 
Device(s): HTC One
Carrier: T-Mobile

Thanks: 100
Thanked 40 Times in 33 Posts
Default

Because of the way your are placing the command in the box you have 2 choices:

a) adb push "C:\Documents and Settings\Compaq_Owner\Desktop\Camer_16_Fix" /system/app

OR

b) copy the Camer_16_Fix to the same folder where ADB is and then run the command this way:
adb push Camer_16_Fix /system/app

The problem:

Because of the C:\Documents and Settings\Compaq_Owner\Desktop path, DOS will interpret that each word is a command, that's why you have to include the "" at the star and end because its the only way you cant tell the OS that you are dealing with one full string.

Choose what works for you best, and let us know.
megabiteg is offline  
Reply With Quote
The Following User Says Thank You to megabiteg For This Useful Post:
CrisKenyon (April 16th, 2010)
Old April 16th, 2010, 09:12 AM   #40 (permalink)
Senior Member
 
chadmd23's Avatar
 
Join Date: Dec 2009
Location: NYC
Posts: 530
 
Device(s): Nexus 4
Carrier: TMO

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

Heh! Welcome to Windows 95!

Quote:
Originally Posted by megabiteg View Post
Because of the way your are placing the command in the box you have 2 choices:

a) adb push "C:\Documents and Settings\Compaq_Owner\Desktop\Camer_16_Fix" /system/app

OR

b) copy the Camer_16_Fix to the same folder where ADB is and then run the command this way:
adb push Camer_16_Fix /system/app

The problem:

Because of the C:\Documents and Settings\Compaq_Owner\Desktop path, DOS will interpret that each word is a command, that's why you have to include the "" at the star and end because its the only way you cant tell the OS that you are dealing with one full string.

Choose what works for you best, and let us know.
chadmd23 is offline  
Reply With Quote
sponsored links
Old April 16th, 2010, 12:11 PM   #41 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 13
 
Device(s): Samsung Behold 2
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by megabiteg View Post
Because of the way your are placing the command in the box you have 2 choices:

a) adb push "C:\Documents and Settings\Compaq_Owner\Desktop\Camer_16_Fix" /system/app

OR

b) copy the Camer_16_Fix to the same folder where ADB is and then run the command this way:
adb push Camer_16_Fix /system/app

The problem:

Because of the C:\Documents and Settings\Compaq_Owner\Desktop path, DOS will interpret that each word is a command, that's why you have to include the "" at the star and end because its the only way you cant tell the OS that you are dealing with one full string.

Choose what works for you best, and let us know.
The quotes worked perfectly. thank you.
CrisKenyon is offline  
Reply With Quote
Old April 16th, 2010, 12:18 PM   #42 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 13
 
Device(s): Samsung Behold 2
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by WurrzMiKey View Post
Why don't you try installing his noTwiz version?
Using stock for months I got used to it...not sure what it is better or worse about not having it.
CrisKenyon is offline  
Reply With Quote
Old April 16th, 2010, 12:27 PM   #43 (permalink)
Member
 
megabiteg's Avatar
 
Join Date: Mar 2010
Gender: Male
Posts: 273
 
Device(s): HTC One
Carrier: T-Mobile

Thanks: 100
Thanked 40 Times in 33 Posts
Default

Trust me, no twiz is priceless! lol
megabiteg is offline  
Reply With Quote
Old April 16th, 2010, 01:28 PM   #44 (permalink)
Junior Member
 
rudoFF's Avatar
 
Join Date: Mar 2010
Location: O'town MO.
Posts: 62
 
Device(s): EVO 4G (stock Froyo);Mytouch 3g Slide (stock); Behold II (1.6 take5)
Carrier: Not Provided

Thanks: 51
Thanked 13 Times in 10 Posts
Send a message via AIM to rudoFF
Default

Quote:
Originally Posted by CrisKenyon View Post
Using stock for months I got used to it...not sure what it is better or worse about not having it.
If you had 1.6 NoTwiz, you would know. lol. Anything is better than stock...
rudoFF is offline  
Reply With Quote
Old April 16th, 2010, 02:53 PM   #45 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 13
 
Device(s): Samsung Behold 2
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

I guess I'll do that rom then....lol. Is the difference obvious?
CrisKenyon is offline  
Reply With Quote
Old April 19th, 2010, 12:02 PM   #46 (permalink)
Senior Member
 
behold_this's Avatar
 
Join Date: Nov 2009
Posts: 1,419
 
Device(s): HTC Sensation 4G, MyTouch 3G Slide
Carrier: Not Provided

Thanks: 168
Thanked 246 Times in 169 Posts
Default

no adb shell!

just do this

cd c:\androidSDK\tools (only if you didn't set this up by editing PATH in environment variables)
adb push c:\Mms.apk /system/app

thats it you're done
behold_this is offline  
Last edited by behold_this; April 19th, 2010 at 12:08 PM.
Reply With Quote
Old April 19th, 2010, 12:46 PM   #47 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

You're amazing, thanks
quikclik2 is offline  
Reply With Quote
The Following User Says Thank You to quikclik2 For This Useful Post:
behold_this (April 19th, 2010)
Old April 19th, 2010, 12:48 PM   #48 (permalink)
Senior Member
 
behold_this's Avatar
 
Join Date: Nov 2009
Posts: 1,419
 
Device(s): HTC Sensation 4G, MyTouch 3G Slide
Carrier: Not Provided

Thanks: 168
Thanked 246 Times in 169 Posts
Default

no prob at all!

just an fyi if you want to thank someone when folks help ya out just click the "thanks" button in the post you found helpful .
behold_this is offline  
Last edited by behold_this; April 19th, 2010 at 12:50 PM.
Reply With Quote
Old April 20th, 2010, 12:53 AM   #49 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 18
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default Same problem, but different results!d

I removed TwMms.apk fine from the bh_mans behold 2 1.6 no touchtiz. But I could not get the Mms.apk to install until I followed behold_this's rules. It seemed to install just fine, but now everytime I open it, it immediately closes. I don't even get a force close screen. It just shuts down before the page even comes together. I'm not sure what the problem is. On a side note I seem to have been having texting problems all weekend. (I just removed TWMms.apk today), but apparantly people say they have been sending messages to me, and I got a total of ZERO all weekend.
Any suggestions?
deecampp is offline  
Reply With Quote
Old April 20th, 2010, 11:14 AM   #50 (permalink)
Member
 
yatimameiji's Avatar
 
Join Date: Dec 2009
Location: Texas
Posts: 471
 
Device(s): Samsung Vibrant + Nero v4 + Voodoo
Carrier: Not Provided

Thanks: 10
Thanked 43 Times in 38 Posts
Default

For ODIN to work properly, make sure the adb process is killed before plugging in the phone.
__________________
"Physics is like sex: sure, it may give some practical results, but that's not why we do it."
-- Richard P. Feynman
yatimameiji is offline  
Reply With Quote
The Following User Says Thank You to yatimameiji For This Useful Post:
Exaqtion (April 20th, 2010)
Reply
Tags
adb problem, behold 2, root, root problem, sdk problem


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

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



All times are GMT -5. The time now is 01:52 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.