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

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old August 17th, 2010, 04:34 PM   #1 (permalink)
ROM Developer
Thread Author (OP)
 
bearsfan85's Avatar
 
Join Date: Feb 2010
Location: Urbana
Posts: 462
 
Device(s): Vibrant: Something from Eugene G2: Stock, for now Backup: iphone 3g with iDroid Retired: G1 and B
Carrier: Not Provided

Thanks: 29
Thanked 95 Times in 65 Posts
Send a message via AIM to bearsfan85
Default All Things ODIN and ADB

I just compiled this to clean up stickies and do not take credit for these.

Flashing Using Odin
Thank you BH_Man

1. Open up Odin Multi Download
2. Under Select OPS, choose Behold2_partition.ops
3. Click PDA, choose the PDA File you are Trying to Flash Rather it Be BH_MAN Rom / or Stock
4. Power Off Phone
5. Make sure you have it connected via USB
6. Hold and Press Volume Down, OK, Power (the red end button)
7. Phone will say Download Mode
8. Click Start on Odin Multi Downloader.
9. Wait a couple of minutes
10. Stock Touchwiz phone working again!

1.6 Odin and Stuff

Windows XP / Vista / Windows 7
- Samsung Behold 2 USB Drivers for ODIN & ADB.


How to Thread for ADB Shell

Thanks Again BH_Man
Quote:
Originally Posted by BH_MAN View Post
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....

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.
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..
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...
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
Push apps back to phone from the computer
Delete existing apps on SD
Please Post your How-to,

Thanks,
~BH_MAN
Understanding Android file permissions
Again Thanks to BH_Man

Quote:
Originally Posted by BH_MAN View Post
Overview Of Permissions via ADB SHELL
Example = drwxrwxrwx

To Check Permission at anytime in ADB just Type:
ls -l

The First character defines the Directory, Link, Binary.
Below are some examples

Example = d---------
d = Directory
l = Link
b = Binary



The next 9 characters define the file permissions. These permissions are
given in groups of 3 each.

The first 3 characters are the permissions for the owner of the file or directory.
Example = -rwx------

The next 3 are permissions for the group that the file is owned by.
Example = ----rwx---

The final 3 characters define the access permissions for everyone not part of the group.
Example = -------rwx

There are 3 possible attributes that make up file access permissions.

r - Read permission. Whether the file may be read. In the case of a
directory, this would mean the ability to list the contents of the
directory.

w - Write permission. Whether the file may be written to or modified. For
a directory, this defines whether you can make any changes to the contents
of the directory. If write permission is not set then you will not be able
to delete, rename or create a file.

x - Execute permission. Whether the file may be executed. In the case of a
directory, this attribute decides whether you have permission to enter,
run a search through that directory or execute some program from that
directory

In addition to the file permission, you can also modify the owner and
group of the file. The chown program is used here and its syntax is very
simple. You need to be the owner of a file or root to do this.

Understanding Owner Permissions:
The first command is for
owner ID, the Second Command is for Group ID.
exp.
root.root ( First Root is owner, Second Root is Group ).

Chmod 644 some file, Like
Build.prop For testing & then Veiw the Resulted Changes!
Refer to the table below as a quick reference.

Command Line for Both would look like this


chmod 644 build.prop = -rw-r--r--
\/
Chmod Guide
0 - ---
1 - --x
2 - -w-
3 - -wx
4 - r--
5 - r-x
6 - rw-
7 - rwx

Behold 2 SH Chown Guide
\/

chown root.root build.prop
root.root = Root
root.shell = Shell

Busybox SH Chown Guide
\/
chown 0.0 build.prop
0.0 = Root
0.2000 = Shell

I'll update the chmod with more with More Complex Commands Later

Side Note:Always set owner ( chown ) before Setting Permissions ( Chmod )!

Hope this Clears up things & is Helpful to everyone
~BH_MAN



__________________
Like my work? Said something you liked? Helped you out, Press Thanks or Donate
Twitter?
bearsfan85 is offline  
Last edited by bearsfan85; October 15th, 2010 at 10:33 AM.
Reply With Quote
sponsored links
Old August 18th, 2010, 04:42 PM   #2 (permalink)
Member
 
Join Date: Apr 2010
Posts: 138
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 3 Posts
Default

Nice!

For a noob like me, this is exactly what I needed.
__________________
http://www.sustainstpete.com
Streetman is offline  
Reply With Quote
Old October 14th, 2010, 10:13 PM   #3 (permalink)
zey
New Member
 
Join Date: Sep 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Footmouth

Quote:
Originally Posted by bearsfan85 View Post
I just compiled this to clean up stickies and do not take credit for these.

Flashing Using Odin
Thank you BH_Man

1. Open up Odin Multi Download
2. Under Select OPS, choose Behold2_partition.ops
3. Click PDA, choose the PDA File you are Trying to Flash Rather it Be BH_MAN Rom / or Stock
4. Power Off Phone
5. Make sure you have it connected via USB
6. Hold and Press Volume Down, OK, Power (the red end button)
7. Phone will say Download Mode
8. Click Start on Odin Multi Downloader.
9. Wait a couple of minutes
10. Stock Touchwiz phone working again!

The ODIN Files and orignal Android 1.5 firmware can be downloaded from the following link: http://shrunk.me/uvij6.zip
I have a friend that has a Behold 2 and I'm attempting to mod it for her. With that said I'm a noob to the whole Behold 2 process of flashing ROMs. To my understanding I will need to use ODIN to get the ROM flashed. Now my problem is that I am having a hard time finding ODIN. The link "http://shrunk.me/uvij6.zip" appears to be broken

Any help would be much appreciated!

Just found this Updated Odin Images Available - Latest T-Mobile Stock I think it is what I'm looking for.
zey is offline  
Last edited by zey; October 14th, 2010 at 10:18 PM. Reason: Found info I was searching for.
Reply With Quote
Old October 15th, 2010, 10:30 AM   #4 (permalink)
ROM Developer
Thread Author (OP)
 
bearsfan85's Avatar
 
Join Date: Feb 2010
Location: Urbana
Posts: 462
 
Device(s): Vibrant: Something from Eugene G2: Stock, for now Backup: iphone 3g with iDroid Retired: G1 and B
Carrier: Not Provided

Thanks: 29
Thanked 95 Times in 65 Posts
Send a message via AIM to bearsfan85
Default

Thats what your looking for, what version of windows are you running?
bearsfan85 is offline  
Last edited by bearsfan85; October 15th, 2010 at 10:34 AM.
Reply With Quote
Old October 19th, 2010, 01:53 PM   #5 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 6
 
Device(s): bh2
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

wut version of odin do i need? 4.03?
staceyluv113 is offline  
Reply With Quote
Old October 19th, 2010, 01:57 PM   #6 (permalink)
ROM Developer
Thread Author (OP)
 
bearsfan85's Avatar
 
Join Date: Feb 2010
Location: Urbana
Posts: 462
 
Device(s): Vibrant: Something from Eugene G2: Stock, for now Backup: iphone 3g with iDroid Retired: G1 and B
Carrier: Not Provided

Thanks: 29
Thanked 95 Times in 65 Posts
Send a message via AIM to bearsfan85
Default

Sounds right it's included in one of the links
bearsfan85 is offline  
Reply With Quote
Old November 18th, 2010, 04:08 PM   #7 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

where is the Odin Multi Download?
djplur16 is offline  
Reply With Quote
Old November 18th, 2010, 04:28 PM   #8 (permalink)
Member
 
Join Date: May 2010
Posts: 320
 
Device(s): Samsung T939, Samsung T919
Carrier: Not Provided

Thanks: 30
Thanked 36 Times in 25 Posts
Default

Really? Read the first post..... or google it.
j0hnh0lmes is offline  
Reply With Quote
The Following User Says Thank You to j0hnh0lmes For This Useful Post:
behold_this (November 18th, 2010)
Old November 25th, 2010, 03:06 PM   #9 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 0 Times in 0 Posts
Exclamation

OK guys,i`m freakin out.......now I dont get it so please help me, sometimes it work sometimes it dont,sometimes i get the yellow exclamation on ADB interface,sometimes on the SAMSUNG COMPOSITE DEVICE, Sometimes ADB sais DEVICE, Sometimes OFFLINE..... Of course,when i need it it sais OFFLINE, And btw,when i connect/disconnect the phone everytime the status of the phone in DEVMGR changes, And sometimes it doesnt sais like ADB interface,So please help me i`m totally freaking out of that Shit!!!
baramov is offline  
Reply With Quote
Old November 26th, 2010, 10:01 PM   #10 (permalink)
ROM Developer
Thread Author (OP)
 
bearsfan85's Avatar
 
Join Date: Feb 2010
Location: Urbana
Posts: 462
 
Device(s): Vibrant: Something from Eugene G2: Stock, for now Backup: iphone 3g with iDroid Retired: G1 and B
Carrier: Not Provided

Thanks: 29
Thanked 95 Times in 65 Posts
Send a message via AIM to bearsfan85
Default

have you tried googling it? all it means is that your computer is having an issue communicating with your phone, could be the cable, port, or phone itself.

As a side note, good grammar also makes it easier to read
bearsfan85 is offline  
Reply With Quote
sponsored links
Old November 27th, 2010, 03:28 PM   #11 (permalink)
Member
 
Join Date: May 2010
Posts: 320
 
Device(s): Samsung T939, Samsung T919
Carrier: Not Provided

Thanks: 30
Thanked 36 Times in 25 Posts
Default

make sure driver enforcement is off also.
j0hnh0lmes is offline  
Reply With Quote
Old December 8th, 2010, 06:05 PM   #12 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 0 Times in 0 Posts
Default

Sorry about the grammar,well i`m not american and sometimes i`m lazy writing (like now)Drive enforcement is off,and i dont know what to do,and i`m leaving the fact that i cant get more then 7 hours batt life please help me
baramov is offline  
Reply With Quote
Old December 8th, 2010, 07:03 PM   #13 (permalink)
Member
 
Join Date: May 2010
Posts: 320
 
Device(s): Samsung T939, Samsung T919
Carrier: Not Provided

Thanks: 30
Thanked 36 Times in 25 Posts
Default

make sure to download the drivers. windows update will not find the right ones.
j0hnh0lmes is offline  
Reply With Quote
Old December 12th, 2010, 05:26 PM   #14 (permalink)
ROM Developer
Thread Author (OP)
 
bearsfan85's Avatar
 
Join Date: Feb 2010
Location: Urbana
Posts: 462
 
Device(s): Vibrant: Something from Eugene G2: Stock, for now Backup: iphone 3g with iDroid Retired: G1 and B
Carrier: Not Provided

Thanks: 29
Thanked 95 Times in 65 Posts
Send a message via AIM to bearsfan85
Default

try using odin and go back to stock, also make sure that adb is enabled on your phone, it should be otherwise the device wouldnt show up
bearsfan85 is offline  
Reply With Quote
Old November 16th, 2011, 07:52 PM   #15 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default deleting crap

i'm an idiot so please help me if you can I need step by step instructions on how to delete diner dash and wheres waldo i dont want it
thenightstocker is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Behold 2 > Behold 2 - All Things Root
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



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