samsung epic 4 forum
Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like Samsung Epic 4?    
Advanced search
Scratch-Proof your Samsung Epic 4G                      Best Screen Protector for Samsung Epic 4G Cheap Cell Phone Accessories
Pages: [1]   Go Down
Print
Share this topic on AskShare this topic on BlinklistShare this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on LiveShare this topic on MySpaceShare this topic on NewsvineShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Author Topic: Permanent root for the Samsung Epic 4g  (Read 11996 times)
Samsung Epic 4G
Administrator
Jr. Member
*****

Karma: +9/-1
Offline Offline

Posts: 93


View Profile Email
« on: August 30, 2010, 04:39:46 PM »

Thank You: LeshaK for his method of hiding su in a tmpfs (worked on the moment and works on the epic). Noobnl for his modification on mounting rootfs rw. Anonymous  (2 testers who wish to remain anonymous) for all their extensive testing, they have the Epic. SDX for the great support and environment to make this possible.

Disclaimer: I don't have an Epic, but after extensive testing with users who do, this process should be flawless. We are ready to tweak if any OTAs are released or production phones turn out to be slightly different than the pre-released phones we've tested with.

Background: I will be able to allow you to keep root using the same method I used on the moment, with a few tweaks for the epic.
In the mean time, after the exploit is ran and root access is gained thru the adb binary, we will need to push a few files and scripts to guarantee our root environment is properly setup, until we are able to develop custom kernels and a custom recovery with root incorporated.

Description: This is a temporary patch to guarantee permanent root. Once custom kernels are released with root incorporated, this patch won't be required anymore.
For now, this patch will execute on every boot ensuring the root environment is correctly setup

Download:
http://www.joeyconway.com/epic/root/joeykrim-root.sh
http://www.joeyconway.com/epic/root/jk-su
http://www.joeyconway.com/epic/root/rageagainstthecage-arm5.bin
http://www.joeyconway.com/epic/root/playlogo

Directions:
Please follow all directions exactly. Copy/paste the commands.

Commands for copying downloaded files to phone:
adb push c:\downloads\rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
adb push c:\downloads\joeykrim-root.sh /sdcard/joeykrim-root.sh
adb push c:\downloads\jk-su /sdcard/jk-su
adb push c:\downloads\playlogo /sdcard/playlogo

Commands for temporary root Exploit:
adb shell
chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
cd /data/local/tmp
./rageagainstthecage-arm5.bin
exit

exit will exit out of the adb shell, and then type adb shell again. this time it should drop you to # instead of $.
if it goes back to $, run the exploit again,
cd /data/local/tmp
./rageagainstthecage-arm5.bin
and exit out of adb and then adb shell again to see if its # .
if it doesnt work the first time, repeat 4-5 times. it will work!

Commands for permanent root:
after you type adb shell and have # (because of the exploit just ran), type these commands:
adb shell
mount -t rfs -o remount,rw /dev/block/stl9 /system
cat /sdcard/joeykrim-root.sh > /system/bin/joeykrim-root.sh
cat /sdcard/jk-su > /system/bin/jk-su
mv /system/bin/playlogo /system/bin/playlogo-orig
cat /sdcard/playlogo > /system/bin/playlogo
chmod 755 /system/bin/playlogo
chmod 755 /system/bin/joeykrim-root.sh

please reboot and type adb shell and then type su, it should drop you to root by changing the prompt from $ to #.

if this process, doesnt work for you, please post back. as time goes on, we will clean it up and hopefully once we have a custom recovery, it'll be easy for me to put this all into one update.zip.

personally confirmed - 2 epics rooted with this process

credit goes to sdx-developers
« Last Edit: August 30, 2010, 04:41:24 PM by Samsung Epic 4G » Logged
idamann
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile Email
« Reply #1 on: September 01, 2010, 03:41:59 PM »

I'm not a stranger to hacking my phones, so,,,,by doing this is this a way to possibly get the hotspot or tethering working?

I'm having a little bit of buyer's remorse right now cause on my touch pro I was able to tether my phone to my laptop and use it like a modem,,,very infrequently, this was a wonderful thing to have in an emergency.
Logged
richabi
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
« Reply #2 on: September 03, 2010, 01:16:38 PM »

I'm not a stranger to hacking my phones, so,,,,by doing this is this a way to possibly get the hotspot or tethering working?

I'm having a little bit of buyer's remorse right now cause on my touch pro I was able to tether my phone to my laptop and use it like a modem,,,very infrequently, this was a wonderful thing to have in an emergency.

yes but it will take some time to get wifi tethering to work.  I believe even the root access is a bit shaky at the moment.
Logged
stillcoding
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile Email
« Reply #3 on: September 16, 2010, 07:13:48 PM »

hey I just tried. It doesn't quite work as described with my Epic.
1) Nobody mentions you have to actually run the script, but I guess it is obvious.
2) After reboot I lose /sdx so the permanent root part doesn't work. Rageagainstthecage works fine but it's a bit of burden to run/reboot it every time I need a root.

It seems installing as expected and creates the directory sdx and su link under /system/bin but like I said /sdx is not persistent after the reboot. Build: Samsung ECLAIR.DG27
Logged
Perdurablo
Developer
Newbie
*****

Karma: +1/-0
Offline Offline

Posts: 18


View Profile Email
« Reply #4 on: October 23, 2010, 10:54:27 AM »

Try this way simpler.  All you do is extract the zip folder on your PC anywhere you want.  Put your phone in debugging mode and choose stay awake right under it.  Make sure you phone is on (screen) and double click run.bat

http://forum.xda-developers.com/showthread.php?t=770388
Logged
Zeinzu
Administrator
Pro Member
*****

Karma: +65535/-0
Offline Offline

Posts: I am a geek!!


If you root it, they will come!

EternalPhoenix86
View Profile WWW Email
« Reply #5 on: October 26, 2010, 10:10:09 PM »

Try this way simpler.  All you do is extract the zip folder on your PC anywhere you want.  Put your phone in debugging mode and choose stay awake right under it.  Make sure you phone is on (screen) and double click run.bat

http://forum.xda-developers.com/showthread.php?t=770388
there are also other variations of the one click method via sdx-developers.com where this method originated

Sent from my Epic 4g
Logged
glorycr8r
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile Email
« Reply #6 on: December 03, 2010, 12:10:31 PM »

hello all, I just got my Epic today and I am trying to root it. None of the methods online are not working. My netbook is not recognizing my device, so it might be the drivers. But when I go get teh drivers, they will send me to to DriverBoosts website and want me to register. can anyone help?
Logged
Pages: [1]   Go Up
Print

Jump to:  

Got a new phone? Find the forum here






Thanks for visiting Samsung Epic 4 Forum Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Sitemap

Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "sales@verticalscope.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip