Go Back   Android Forums > Android Phones > Samsung Fascinate > Fascinate - All Things Root

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 December 12th, 2010, 10:16 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default How to Root using Ubuntu

Rooting is no longer necessary if going directly to CM7 or newer custom ROM via Odin/Heimdall, athough you will need ADB (steps 1-4). AFTER STEP 4, skip to Post 3.

Backup your data before starting, just in case.

1. Get ADB set up on your computer.
-Download the Android-SDK for linux. [This is the development package for Android]
-Extract the /tools directory to your desktop. [You may have to install 7zip onto your computer first. It's in the Ubuntu repositories.]
-Make directory "bin" and move the ADB executable to there:
mkdir -p ~/bin
mv ~/Desktop/tools/adb ~/bin/

2. Gather some Information
-On your phone, go to Settings-Applications-Development and check USB debugging.
-Plug your phone into the computer. [*Regular mode, not download mode]
-On computer, in Terminal, type "lsusb" without the quotes
One of the output lines should be similar to this:
"Bus 001 Device 002: ID 04e8:681c Samsung Electronics Co., Ltd"
-Write down the first 4 characters after ID. These are the Vendor ID (in this example, 04e8). The Bus & Device will be different each time you plug/unplug the phone or restart the computer.
-In Terminal, type "ID" without the quotes to get your user name and group name if you are unsure what these are

3. Set a Udev rule so you can use ADB
-Open a text editor as root. In Terminal with Kubuntu, this is "kdesudo kate".
-Paste the following line into the text editor and then modify:
SUBSYSTEM=="usb", SYSFS{idVendor}=="<your phone's vendor ID>", OWNER="<your username>" GROUP="<your group name>"
For the Fascinate in the example above, "<your phone's vendor ID>" is replaced with "04e8". You keep the quotes but get rid of the <> when you put in your information.
-Save this file as "etc/udev/rules.d/51-android.rules"
-Also save file as "lib/udev/rules.d/51-android.rules"
[Note: you actually only need 1 of these, but which one varies from system to system]
-In Terminal, cd to etc/udev/rules.d and type "ls" to verify your new file is there. Also check lib/udev/rules.d.
-Restart udev or entire computer to get this to take effect
[Note- some instructions suggest setting a udev.rule that gives permissions 0666 which grants permissions to the entire world. My way only gives permissions to the one user who needs them, which is safer. The rule priority number 51 is somewhat arbitrary and other numbers will work.]

4. Check your work
-In Terminal, type "lsusb" like you did earlier
One of the output lines should be similar to this:
"Bus 001 Device 002: ID 04e8:681c Samsung Electronics Co., Ltd"
-This time, you are interested in the numbers after Bus & Device, which have probably changed from earlier if you restarted your computer.
-In Terminal, type "ls -l /dev/bus/usb/001/002" EXCEPT 001/002 is Bus/Device from the example above, substitute Bus/Device numbers from your "lsusb" output line.
-If the output line you get includes your username and groupname rather than "root root" you may continue. Otherwise reread and repeat Steps 2 & 3.
-*Make sure your phone is still in USB debugging mode. There should be a red triangle with an exclamation point in the status bar of the phone.
-In Terminal, type "sudo adb devices" [*sudo is only needed the first time you run adb.]
You should see your phone listed.


THE REMAINING STEPS ARE OUTDATED and still here for historic reference only.
PLEASE SKIP TO POST 3



5. Download the Root Package (No Longer Available)
Driver downloads are not needed for Linux.

6. Extract the 4 files to
/bin
This is the folder you created in Step 1 and should have ADB in it already.You can extract to the desktop and then move as you did in step 1.

7. Move into the /bin directory and verify.

In Terminal, type "cd bin" and then "ls" to make sure all 5 files are there.

8. Push these files to the phone and run the root:
In Terminal, copy and paste each following line one at a time (press enter after each line):

adb push su /sdcard/su
adb push rage.bin /data/local/tmp/rage.bin
adb push busybox /sdcard/busybox
adb shell
[Note: this should change your prompt to just a $ because now you are remotely on your phone]
cd /data/local/tmp
chmod 0755 rage.bin
./rage.bin

[Note: This will check the process limit, find the ADB process number, and then spawn processes to reach this limit. It will return you quickly to a $ prompt, but IS NOT DONE. WAIT for a line similar to "[+] Forked 3705 childs." and it to kick you back to your home directory prompt. The first time I ran it my phone got an email while it was running and locked up. After 20 minutes I closed the Terminal and restarted Step 8. This time it completed in less than a minute.]

9. Make the Root permanent
-In Terminal and back in your /bin directory, type "adb shell"
This time you should get a # prompt instead of a $ prompt. This means you are remotely on your phone as root.
-Copy and paste each following line one at a time (press enter after each line):

mount -t rfs -o remount,rw /dev/block/stl9 /system
cd /system/xbin
cat /sdcard/su > su
cat /sdcard/busybox > busybox
chmod 4755 su
chmod 4755 busybox
exit
adb install Superuser.apk

10. Verify you have root.
-Restart phone.
-In terminal, type "adb shell"
You should get a $ prompt
-In terminal, type "su"
A popup should appear on the phone asking for superuser permissions.
When granted, the shell prompt should change to #

When you install and run a program which requires root, the same pop-up should appear to request root access. Then when you open SuperUser, it should list the programs that have been granted root access.

SupraLance is offline  
Last edited by SupraLance; January 19th, 2014 at 01:50 PM. Reason: remove bad link installing spam...
Reply With Quote
The Following 5 Users Say Thank You to SupraLance For This Useful Post:
dan409 (December 13th, 2010), Foxcow (April 4th, 2011), Frisco (December 13th, 2010), OMJ (December 14th, 2010), saps (December 13th, 2010)
sponsored links
Old December 12th, 2010, 10:18 PM   #2 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

Next step, Install CWM.

THIS STEP IS OUTDATED and still here for historic reference only. Newer CWM is required and it is best to install through Heimdall.
PLEASE SKIP TO POST 3


"This information is extracted from this thread at xda.

Download
ClockworkMod image for the Fascinate
Unzip this file into 3 files
-Copy zImage from .zip file to your sdcard.
-Unmount your phone from the computer.
-Copy redbend_ua to your /bin folder from Root instructions above
-In Terminal, type "cd bin" and then "ls"
You should see redbend_ua listed.

-From the /bin directory, Copy & Paste each of the following lines:


adb push redbend_ua /data/local

adb shell
su
chmod 755 /data/local/redbend_ua
/data/local/redbend_ua restore /sdcard/zImage /dev/block/bml7
[Note: phone will reboot after this commmand and kick you out of shell]
adb shell
/data/local/redbend_ua restore /sdcard/zImage /dev/block/bml8
[Note: again phone will reboot and kick you out.]

-Download ROM Manager from market. [NOTE: OUTDATED INFO, ROM MANAGER IS NOT CURRENTLY RECOMMENDED FOR USE WITH THE FASCINATE]

-Select "Flash ClockworkMod Recovery"
-Select "Fascinate"
-Grant SuperUser when it asks"
SupraLance is offline  
Last edited by SupraLance; July 23rd, 2011 at 07:12 PM.
Reply With Quote
The Following 5 Users Say Thank You to SupraLance For This Useful Post:
dan409 (December 13th, 2010), Foxcow (April 4th, 2011), Frisco (December 13th, 2010), OMJ (December 14th, 2010), saps (December 13th, 2010)
Old December 13th, 2010, 01:15 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

Next up, Installing Heimdall (Open Source Odin)

You need Odin, or an equivalent, to install the DJ05 modem or any rom not packaged as a .zip for CWM. You also need this as insurance in case you soft brick.

Odin is a leaked Samsung program never meant for public consumption and runs only in Windows. It won't run in Linux under Wine, but will run through VirtualBox with some modifications to see the USB.... Odin on GNU/Linux If your not familiar with VirtualBox, it does not emulate Windows. It runs an actual copy of Windows inside Linux. You have to have a licensed copy of Windows available for this.

There is an open source alternative that works on Linux and Mac's as well. It's called Heimdall, and has been in testing at XDA (see this thread for Beta versions) for several months now. Read about it more and download the latest stable version here: Heimdall – Glass Echidna.

For Ubuntu, you will need the .deb packages in the above links. Opening .deb packaged in Kubuntu (and I assume Ubuntu) automatically installs the program. If you are also installing the front-end, be sure to install the base Heimdall first. After installation, the front-end can be opened by running command "heimdall-front-end". Readme files can be found in /usr/share/doc/heimdall-fronted.

THIS IS A POWERFUL PROGRAM, PROCEED WITH CAUTION

I prefer the Command line version, and actually only needed 1 quick command to get a new fascinate to MIUI. I simply downloaded JT's version of CWM 4.0 for Odin, pulled the recovery.bin from there to my /bin directory from step 1 of post 1, and used the command "heimdall flash --recovery recovery.bin --no-reboot" to get the new CWM onto the phone. Then I used the 3-button reboot to CWM, and flashed the MIUI .zip.
SupraLance is offline  
Last edited by SupraLance; July 23rd, 2011 at 07:31 PM.
Reply With Quote
The Following 6 Users Say Thank You to SupraLance For This Useful Post:
androidman78 (December 15th, 2010), dan409 (December 13th, 2010), Foxcow (April 4th, 2011), Frisco (December 13th, 2010), OMJ (December 14th, 2010), saps (December 13th, 2010)
Old December 13th, 2010, 03:58 AM   #4 (permalink)
=Luceat Lux Vestra=
 
Frisco's Avatar
 
Join Date: Jan 2010
Gender: Male
Posts: 22,492
 
Device(s): HTC One, Galaxy Tab 7" 2 Rooted
Carrier: Verizon

Thanks: 7,156
Thanked 9,262 Times in 5,117 Posts
Thumbs up

Very nicely done, SupraLance.

Added to the Root Guide sticky.
__________________



Frisco is offline  
Last edited by Frisco; December 13th, 2010 at 04:31 AM.
Reply With Quote
Old December 13th, 2010, 11:26 AM   #5 (permalink)
Senior Member
 
saps's Avatar
 
Join Date: Sep 2010
Location: WA
Posts: 5,092
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 337
Thanked 504 Times in 407 Posts
Default

Excellent SupraLance one stop shopping
__________________
I luv OTB
saps is offline  
Reply With Quote
Old December 14th, 2010, 03:56 PM   #6 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 0 Times in 0 Posts
Exclamation Please help

I am no stranger to ADB for windows. But setting ADB up in LINUX based laptop is a problem....I followed these instructions to a "T"....and nodda. What am I missing?
I have read tons of posts on UDEV rules from ANDROIDFORUMS to XDA and nothing "SEEMS" to work?? I know a bit about LINUX and am running KUBUNTU 10.10 {fresh install}haven taken updates but after this is next step. Did everything you said SupraLance and get all the outputs you stated and still ADB will not see device..?? ADB is in /bin and i created rules as stated in "/etc/udev/rules.d and "/lib/udev/rules.d have rebooted and lsusb sees----THIS---

Bus 001 Device 002: ID 04e8:681d Samsung Electronics Co., Ltd Galaxy Portal/Spica Android Phone

So then I do this and should see my ID and GROUP info.....I do

dan@dan:~/Desktop/android-sdk-linux_86/tools$ ls -l /dev/bus/usb/001/002
crw-rw-r-- 1 dan dan 189, 1 2010-12-14 14:20 /dev/bus/usb/001/002

Next is to start ADB and see my device as I should by what the post says...

dan@dan:~/Desktop/android-sdk-linux_86/tools$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached


NOTHING?????So try running ADB as SUDO like some posts say....


dan@dan-:~/Desktop/android-sdk-linux_86/tools$ adb kill-server
dan@dan-:~/Desktop/android-sdk-linux_86/tools$ sudo adb devices
[sudo] password for dan:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached


Still nothing??? What piece of the puzzle am I missing?? I have tried all variations of different rules to no avail. I set rules and reboot each time to be sure they take effect. The phone is an SCH-I500 Mesmerize Rooted not a Fascinate but for all purposes hardware is Identacle just different software and all the IDs are the same and I have doublechecked this....Can someone please HELP me and let me know what is wrong? As stated above am on fresh nonUDed Kubuntu 10.10 and everything up to seeing an ADB device is working and installed correct....PLEASE HELP>>>THANKS in advance....
androidman78 is offline  
Reply With Quote
Old December 14th, 2010, 04:14 PM   #7 (permalink)
OMJ
Bazinga
 
OMJ's Avatar
 
Join Date: Nov 2009
Location: Pennsylvania
Posts: 3,288
 
Device(s): Thunderbolt, Fascinate, Nook
Carrier: Not Provided

Thanks: 37
Thanked 831 Times in 456 Posts
OMJ.Droid@gmail.com
Default

great post thanks supra
__________________
I take no responsibility for what you do to your phone. I only offer advice.
OMJ is offline  
Reply With Quote
Old December 14th, 2010, 07:28 PM   #8 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

Are you getting "????????? no permissions" or just no devices listed?

If nothing is listed after "List of devices attached", This would mean that linux can see your phone plugged into the usb but adb can either not see or is not recognizing it. This will happen if you missed the first step of #2 and your phone is not in USB debugging mode. It will also happen if your phone is in Download mode. It should be in regular phone mode but with USB debugging checked under apps/development. There should be a red triangle with an exclamation point in it on your phone's status bar. First post edited to make this clearer.

If you are getting the error "??????? no permissions", Adb probably is not running as root on your computer. We know you have phone permissions from the "ls -l /dev/bus/usb/001/002" output.

You are correct that "adb devices" should be ran as "sudo adb devices" the first time you run adb. Adb should automatically run as root after the first time, but getting it to run as root that first time can be tricky. First post edited to include this.

The only thing I see different on your "lsusb" output is the "Galaxy Portal/Spica Android Phone" listed at the end after "Ltd". With the Fascinate in regular mode, there is nothing listed after "Ltd". If I put the Fascinate in download mode, I get "Z100 Mobile Phone" after the "Ltd". First post edited to show my full "lsusb" output.
SupraLance is offline  
Last edited by SupraLance; December 15th, 2010 at 12:53 AM.
Reply With Quote
The Following User Says Thank You to SupraLance For This Useful Post:
androidman78 (December 15th, 2010)
Old December 15th, 2010, 02:00 AM   #9 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 0 Times in 0 Posts
Default

well new twist in red recovery reset adbd and now had to recheck usb debug but now permissions are ROOT ROOT what now and my lsusb changed to nothing after the samsung....going to keep at this and retry steps 2&3 to se what my be needed see what you think I should do now...when adb starts i get "??????????? no permissions" what to do?
androidman78 is offline  
Reply With Quote
Old December 15th, 2010, 03:19 AM   #10 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

If permissions are ROOT ROOT then the udev/rules.d you set is not being applied to the phone. Is your rule still there in /udev/rules.d ? Are you still logged in as the same user? Is the phone's vendor ID displayed after lsusb still matching the one in the udev/rules.d?
SupraLance is offline  
Reply With Quote
The Following User Says Thank You to SupraLance For This Useful Post:
androidman78 (December 15th, 2010)
sponsored links
Old December 15th, 2010, 10:05 AM   #11 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 0 Times in 0 Posts
Default

OK got it....2 LONG DAYS.... was missing the part about doing an adbd reset in red recovery because im running a voodoo kernel...may want to add this as it was a point that "tripped" me up following your post to a T..... Also changed platform to 10.4 out of frustration and didnt need to Linux is Linux....only syntax can change in my case it did and in 10.4 you use ATTRS and not SYSFS but if, Im running 10.10 need SYSFS...so not sure on what platforms you need SYSFS or ATTR or ATTRS...can you clarify if you know and what are all 3 -- last 4 alfanumeric code of the device id...ie...04e8:681d was for one mode and 04e8:681c was for another and not sure of third ? My device is an USCC i500 mesmerize and not a VZW i500 fascinate but it does not matter same HW just different SW device ids are the same.....99.9%sure at least...Thank you SupraLance for supporting you post. I want to change to platform that runs best on somewhat outdated laptop I have for Linux only Dev computer and that was Linux mint 9 not sure if that uses SYSFS or ATTRS for udev rule will get it now that i got RED RECOVERY ISSUE with adbd reset because without that your post works ot a T, and does not show device...of course I was using this post to set udev rules only and not root so... my bad that would have never been an issue otherwise....can you please help with the 2 last questions if you can......3 IDS as I may want a custom udev rule set and SYSFS OR ATTRS what platforms/syntax question? as many post vary on what syntax to use...if that is too broad a Q can you keep it as to LINUX Mint 9 LDXE -(isadora).... THANKS SUPRALANCE
androidman78 is offline  
Last edited by androidman78; December 15th, 2010 at 10:30 AM.
Reply With Quote
Old December 15th, 2010, 08:06 PM   #12 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

@Androidman78,
SCH I-500 Fascinate "lsusb" output lines: (Mesmerize probably the same)
In USB debugging mode:
"Bus 001 Device 021: ID 04e8:681c Samsung Electronics Co., Ltd"
In regular, non-debug mode:
"Bus 001 Device 025: ID 04e8:681d Samsung Electronics Co., Ltd"
In download mode:
"Bus 001 Device 022: ID 04e8:6601 Samsung Electronics Co., Ltd Z100 Mobile Phone"
Not seen in recovery mode.

I'm afraid I am less familiar with other Distro's than you are. I'm actually a Noob to most of this, just well researched in this narrow area. I wrote this as I rooted my first Android device. [Which is now on Stupidfast DJ05 with Heimdall as a safety net, having never been violated by a Windows device :-) ]. I've read quite a bit about Voodoo, but have never used it, so not familiar with the requirement to reset adbd.
SupraLance is offline  
Reply With Quote
The Following User Says Thank You to SupraLance For This Useful Post:
androidman78 (December 15th, 2010)
Old December 15th, 2010, 11:35 PM   #13 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 0 Times in 0 Posts
Default

Thankyou for your input may want to review and use whats been gone over in this post as another use for it may help others just trying to setup adb in linux distro's as was my case...Thank You again hope some of this may help another in the future...
androidman78 is offline  
Reply With Quote
Old April 4th, 2011, 12:33 PM   #14 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

Excellent! Thank you very much.
__________________
I hate Samsung and Verizon...
Foxcow is offline  
Reply With Quote
Old April 4th, 2011, 12:42 PM   #15 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

I do have one question though. In the Clockwork recovery file, redbend_ua is not present. I check the XDA thread and got the file from there but it wasn't listed in there either.

Is the file necessary?
Foxcow is offline  
Reply With Quote
Old April 10th, 2011, 02:10 PM   #16 (permalink)
New Member
 
Join Date: Apr 2011
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Hey, just used this thread to root (but not flash anything...). Works great! Thanks Supra!

Fox,

I actually didn't get clockwork from this thread (so I didn't outright get redbend_ua). I mixed and matched the threads a little. I got the "all in one" tar file from xda-forums, untarred it, then flashed the modem and clockwork through heimdall. This is done with something like "heimdall --recovery recovery.bin". Put the update.zip (from some CWM version, you can find one online) on your SD card before you flash clockwork, then after flashing both of those, boot into recovery and install it.

Hope this answers your question...
robob686 is offline  
Reply With Quote
The Following User Says Thank You to robob686 For This Useful Post:
Foxcow (April 10th, 2011)
Old April 10th, 2011, 07:40 PM   #17 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

Quote:
Originally Posted by robob686 View Post
Hey, just used this thread to root (but not flash anything...). Works great! Thanks Supra!

Fox,

I actually didn't get clockwork from this thread (so I didn't outright get redbend_ua). I mixed and matched the threads a little. I got the "all in one" tar file from xda-forums, untarred it, then flashed the modem and clockwork through heimdall. This is done with something like "heimdall --recovery recovery.bin". Put the update.zip (from some CWM version, you can find one online) on your SD card before you flash clockwork, then after flashing both of those, boot into recovery and install it.

Hope this answers your question...

Thanks for the response. I will give this a shot tonight.
Foxcow is offline  
Reply With Quote
Old April 13th, 2011, 12:21 PM   #18 (permalink)
New Member
 
Join Date: Apr 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

hello guys. i am new the the android sceen.(actually dont have my phone yet) doing so preliminary reading. i am in canada with telus. if i remember right from my winmo modding days these things are all very device/carrier independent so will this work with my telus fascinate? i'm pretty sure the first part will work but the Clockworkmod will it work with a telus phone?
grondinm is offline  
Reply With Quote
Old April 14th, 2011, 01:21 AM   #19 (permalink)
New Member
 
Join Date: Apr 2011
Location: Anaheim
Posts: 1
 
Device(s): Epic 4G
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Moqtada
Default

So I am using Ubuntu, and have been reading constantly trying to figure this out. I found this thread and it seems the most promising, but I am getting hung up on something that may be trivial.

I am a noob so please bare with me.

I open
Code:
 $ sudo gedit
type in
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="048e", OWNER="MYNAME" GROUP="adm"
of course substituting my real username for MYNAME

then I try to save as: etc/udev/rules.d/51-android.rules

but my computer wont let me save the file, I believe it doesn't recognise the ending ".rules"

can anyone help?
sorry if this is too noob.
Moqtada is offline  
Reply With Quote
Old April 14th, 2011, 08:20 AM   #20 (permalink)
New Member
 
Join Date: Apr 2011
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

I am by no means an expert on this, but try getting root access first with
Code:
sudo -s
put your password in, and then create the file and save it...

Also, what error message are you getting (verbatum, please).
robob686 is offline  
Last edited by robob686; April 14th, 2011 at 08:40 AM.
Reply With Quote
sponsored links
Old April 14th, 2011, 11:48 AM   #21 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

Quote:
Originally Posted by Moqtada View Post
So I am using Ubuntu, and have been reading constantly trying to figure this out. I found this thread and it seems the most promising, but I am getting hung up on something that may be trivial.

I am a noob so please bare with me.

I open
Code:
 $ sudo gedit
type in
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="048e", OWNER="MYNAME" GROUP="adm"
of course substituting my real username for MYNAME

then I try to save as: etc/udev/rules.d/51-android.rules

but my computer wont let me save the file, I believe it doesn't recognise the ending ".rules"

can anyone help?
sorry if this is too noob.
When using gedit, its recommended that you use gksudo.

"gksudo gedit"


Are you trying to save the file from gedit and it still doesn't work? If so, save the file to the desktop, in the terminal type "gksudo nautilus" so you can open nautilus with root privileges, navigate to the specified directories and place the file there.

Hope this helps.
Foxcow is offline  
Reply With Quote
Old April 25th, 2011, 10:46 PM   #22 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

I'd like to confirm that the original poster's method does work for stock 2.2. It took me about 10 minutes.
Foxcow is offline  
Reply With Quote
Old May 9th, 2011, 12:48 AM   #23 (permalink)
New Member
 
Join Date: May 2011
Location: Montgomery, AL
Posts: 1
 
Device(s): Samsung SCH-I500.04
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anderlan bseigneur
Default Confirmed working after OTA update 2.2 ED01.

I too confirm that the method at the top works on my Fascinate after OTA update 2.2 ED01. WOOTS!

Fascinate ED01 Root Linux !!!
Ubuntu Fascinate Froyo ED01 Root !!!

I added those 2 lines so that Fascinate owners who use Ubuntu or Linux will be able to find this page! There are some "throw your hand over your shoulder to wipe your butt" style methods that I found for Windows which are tricky and actually wipe your data. Unlike the procedure at the top above is what I used with my first 2.1 build on the Fascinate and it still works, and as you would expect from any rooting process, keeps your data! Again, woohooo!
anderlan is offline  
Reply With Quote
Old June 14th, 2011, 03:49 PM   #24 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

FYI...

After getting the update (ED04) last night, I had to re-root today. After rooting, I did get another prompt to update again. The baseband version, however, is displayed as ED04 in phone settings.


Did anyone else experience this?
Foxcow is offline  
Reply With Quote
Old July 6th, 2011, 10:20 AM   #25 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used this process last night to root my Samsung Infuse. It worked beautifully!
marty331 is offline  
Reply With Quote
Old July 6th, 2011, 10:22 AM   #26 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Worked great!

I used this process last night to root my Samsung Infuse, no problems at all.
marty331 is offline  
Reply With Quote
Old July 16th, 2011, 11:18 AM   #27 (permalink)
New Member
 
Join Date: Jul 2011
Gender: Male
Posts: 2
 
Device(s): Galaxy S
Carrier: Verizon

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having issues getting SuperUser to work properly.

All the steps from part 1 work flawlessly, even connecting to the phone and getting Superuser to grant su permissions. After that, though, I'm not getting any more prompts. For example, on another phone, when I install a new app, it will ask me to review the location where it is being installed and all that, and Supermanager will be given su access when I try to go into the file manager. On this one, I get no such prompts. I really have no idea what could have gone wrong with this :/
Spades Slick is offline  
Reply With Quote
Old July 22nd, 2011, 11:45 AM   #28 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Heimdall Instructions

Hey Lance,
Can you give me a walk through on how to use Heimdall to flash a ROM? I've flashed using CWM but I am having an issue and have been told to reflash it. Any help would be appreciated!

Thanks!
marty331 is offline  
Reply With Quote
Old July 22nd, 2011, 04:37 PM   #29 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

The best I can do right now is point you to this thread:
Flashing with Heimdall | DarkyROM
I haven't been keeping up with changes in the procedure, and haven't used heimdall in 4 months or so, but I am reviewing right now and hope to update this thread soon. I understand a new release of Heimdall is right around the corner which should make all this easier.
SupraLance is offline  
Reply With Quote
Old July 22nd, 2011, 07:26 PM   #30 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SupraLance View Post
The best I can do right now is point you to this thread:
Flashing with Heimdall | DarkyROM
I haven't been keeping up with changes in the procedure, and haven't used heimdall in 4 months or so, but I am reviewing right now and hope to update this thread soon. I understand a new release of Heimdall is right around the corner which should make all this easier.
Thank you very much, that is EXACTLY what I needed!
marty331 is offline  
Reply With Quote
sponsored links
Old July 29th, 2011, 11:59 AM   #31 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

Yesterday, I updated to ED05 and am happy to report that this method still successfully works to root. Thanks again to the OP!
Foxcow is offline  
Reply With Quote
Old January 29th, 2012, 07:22 PM   #32 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Permission denied

Everything works fine until I get to do sudo adb device

I get,

sudo: adb: command not found

But then it seems to work if I use it like: sudo ./adb device

That gives me this

List of devices attached
016B23BC0502802A device

But when I go to the next step and I do sudo ./adb push su /sdcard/su

I get,

failed to copy 'su' to '/sdcard/su': Permission denied


Debugging mode is enabled, I do not know what is missing.
nemodot is offline  
Last edited by nemodot; January 29th, 2012 at 07:24 PM.
Reply With Quote
Old January 30th, 2012, 09:47 AM   #33 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by nemodot View Post
Everything works fine until I get to do sudo adb device

I get,

sudo: adb: command not found

But then it seems to work if I use it like: sudo ./adb device

That gives me this

List of devices attached
016B23BC0502802A device

But when I go to the next step and I do sudo ./adb push su /sdcard/su

I get,

failed to copy 'su' to '/sdcard/su': Permission denied


Debugging mode is enabled, I do not know what is missing.
Are you in the folder where the su file is located? If you are able to see your phone when running adb devices you should be good to go....as long as you are in the correct folder in your terminal....like:
billybobscomputer:~/Android/RootFiles$

also, if you run the "ls" command you should see the su file along with the other files needed for rooting. Hope this helps!
marty331 is offline  
Reply With Quote
Old February 1st, 2012, 01:21 AM   #34 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

The su file was there along the others, I copied them by hand graphically, i coiuld see the folder entirely. There must be another explanation.
nemodot is offline  
Reply With Quote
Old February 1st, 2012, 09:22 AM   #35 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by nemodot View Post
The su file was there along the others, I copied them by hand graphically, i coiuld see the folder entirely. There must be another explanation.
OK try this:
adb shell (you should not need to put sudo or ./ before adb, if you are in the correct folder.)

then
cd /sdcard/
ls


What do you see with the ls command?
marty331 is offline  
Reply With Quote
Old May 20th, 2012, 09:04 PM   #36 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

Can anyone confirm that this works for Gingerbread? I can't get past step 9. The device won't allow a connection in debug mode once step 8 is completed....
Foxcow is offline  
Reply With Quote
Old May 21st, 2012, 12:50 PM   #37 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Foxcow View Post
Can anyone confirm that this works for Gingerbread? I can't get past step 9. The device won't allow a connection in debug mode once step 8 is completed....
Yes this works for Gingerbread and ICS!! I'm running AOKP which is ICS 4.04.
marty331 is offline  
Reply With Quote
Old May 21st, 2012, 01:02 PM   #38 (permalink)
Member
 
Foxcow's Avatar
 
Join Date: Mar 2010
Posts: 203
 
Device(s): Verizon Galaxy Nexus (stock)
Carrier: Not Provided

Thanks: 14
Thanked 30 Times in 13 Posts
Default

Quote:
Originally Posted by marty331 View Post
Yes this works for Gingerbread and ICS!! I'm running AOKP which is ICS 4.04.


Very, very odd. I don't use Ubuntu anymore (Arch Linux) but aside from a slightly modified setup, it should have worked. The phone would automatically un-check debugging mode prior to me making root permanent.
Foxcow is offline  
Reply With Quote
Old July 13th, 2012, 08:23 PM   #39 (permalink)
Junior Member
 
iamalanwelch's Avatar
 
Join Date: Sep 2011
Location: Columbus, OH
Posts: 34
 
Device(s): Motorola Droid Samsung Galaxy S Fascinate (RETIRED)Motorola Droid (RETIRED)Samsung Moment (RETIRED)
Carrier: Not Provided

Thanks: 10
Thanked 0 Times in 0 Posts
Default No download

The link to download the files no longer works. could you please re-link the files needed. i tried using a rageagainstthecage-arm5.bin from the motorola droid (original) but it keeps going back to the command line user prompt and when i try to adb device it doesn't come up. i left it alone for an hour and tried again but no luck. i'm running 2.3.5 at the moment. i tried superoneclick as well with no luck. i'm going to try the hemidal CWM method to install recovery. i wish i could get the phone to recognize download mode in windows, but it keeps poping up saying it is unrecognized and i've tried 4 different sets of usb drivers, in various combinations. i thought this would work. if there is a difference between the moto droid's rage file and the one from this download please re-link or if need be i'll shoot you a message with my email if anybody has the files.

thanks
Alan
iamalanwelch is offline  
Reply With Quote
Old January 19th, 2014, 02:00 PM   #40 (permalink)
Junior Member
Thread Author (OP)
 
SupraLance's Avatar
 
Join Date: Nov 2010
Location: Missouri
Posts: 99
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 12
Thanked 29 Times in 14 Posts
Default

The files in Step 5 are no longer needed. Steps 1-4 are still useful for setting up ADB, then jump to Post 3 and install Heimdall. Use Heimdall to install "CWM4 fixed for CM7" & GB bootloaders & then flash a custom ROM. To keep up-to-date on any recent changes to requirements for the Fascinate (and download needed files), I recommend checking DroidStyle's Guide at XDA, although the instructions there are for Windows and will need modified for Heimdall.
SupraLance is offline  
Reply With Quote
sponsored links
Reply
Tags
adb, fascinate, linux, root, ubuntu, udev


Go Back   Android Forums > Android Phones > Samsung Fascinate > Fascinate - 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 02:48 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.