yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] DRockstar:
I thought I edited that...

Anyways, Firon pointed out to me that the past couple of generations we both have done with one click roots do not interfere with rooted kernels or roms...

So, you'll be just fine flashing any rom you choose, wether it be with clockworkmod or odin.

Hope that clears things up... and sorry for the confusion.
[Epic 4G Android Development] DRockstar:
Original post edited to avoid confusion...
[Epic 4G Android Development] DRockstar:
Just edited the original post to warn against using with any ext* lagfix...

I have now done a lot of research on it and these lagfixes will royally mess up your system when trying to wipe data, or pretty much doing anything with either ClockworkMod recovery or the stock Samsung recovery.

So, the moral of this story is to avoid these lagfixes (ext2, ext3, ext4, etc), or you will be taking a trip to odin and losing all of your data.

It's better safe than sorry when it comes to this...
[Epic 4G Android Development] DRockstar:
Updated to 2.02... includes improvements from one click root and clockworkmod from noobnl and firon... and added separate stock recoveries for Eclair and Froyo.

Froyo files based on DK17, latest available beta at release.
[Epic 4G Android Development] DRockstar:
Updated to 2.03... Working with someone in the #Samsung-Epic channel made me realize there were a couple of script errors, which have now been fixed.
[Epic 4G Android Development] Whosdaman:
The adb in your 2.03 is broken. I had to replace with the one from the sdk.
[Epic 4G Android Development] DRockstar:
Edit, found out it was for Mint Linux.
[Epic 4G Android Development] Yorebuttrules:
Okay, so even though I'm sure that everything in these instructions is spelled out very clearly, it's still not simple enough for the likes of me, and I desperately want free wifi tethering. I extracted the .zip file, but you lost me when you said open up terminal. I don't know what that is. Is it a function of my phone or my mac? Please forgive me for being retarded, and anyone who wouldn't mind taking a moment to give me some very simple step by step instructions written as if they were meant for a three year old would be my new hero.

*Edit* Okay, I get it now that terminal is a function of my computer, so I opened it up and copy/pasted everything in the instructions, and here is the message I get:

To proceed, enter your password, or type Ctrl-C to abort.

Password:

student4 is not in the sudoers file. This incident will be reported.

student4 is not in the sudoers file. This incident will be reported.

Looking for device

Device found in 1 seconds

Checking current root status and run exploit if necessary

Copy and run the exploit (may take up to two minutes)

Ignore messages about re-logging in.

If more than five minutes pass, reboot the phone and try again.

158 KB/s (5392 bytes in 0.033s)

2 KB/s (43 bytes in 0.015s)

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3712, 3712}

[*] Searching for adb ...

[+] Found adb as PID 2199

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

So, now what?
[Epic 4G Android Development] feeth:
Device not found. :(

Mac with latest OS.

I've tried 2 different cables and 4 different USB ports on the back of the mac.

I've tried mounted and unmounted.

When I first plugged it in, there was a popup about adding a device to your network, I ignored that.

TIA for your help.
[Epic 4G Android Development] chuhsi:
Thank you!!!
[Epic 4G Android Development] DRockstar:
I will be updating the adb binaries tomorrow, I've been moving so I've not had the time the past couple of days...

Just letting you know what's up and that I'll help out soon
[Epic 4G Android Development] feeth:
I tried this one my macbook pro and the factory USB cable and it worked like a charm. Those of you with iMac's that cant get it to work, not sure what to tell you. I tried 2 different USB cables on all 4 USB ports in the iMac with no luck.

Thanks OP!!!!

I did steps 1-4 for now. I will remove some of the bloatware later or install Eclair.
[Epic 4G Android Development] DRockstar:
This script assumes that your account has administrative privileges in Mac and Linux, so first make sure you're running the script on an account with admin privileges.

I think I need to add a function testing sudo with an explanation for cases like this... thanks for the reminder!

Looks like in your case the script runs fine, but gets stuck after the temporary root exploit. Try unplugging and replugging the USB cable if it's getting stuck at this spot.

Hope this helps point you in the right direction...
[Epic 4G Android Development] Yorebuttrules:
Awesome. Got it all installed and up and running. Does anyone know of a way to speed up the wifi tether speeds? I've seen it run as fast as between 2 and 3 mbps down, but most of the time it's running at between 100 and 400 kbps down. Seems like a pretty big gap to me... - And again I'm very new at this and really appreciate any help.
[Epic 4G Android Development] feeth:
The strength of your 3g/4g signal has a lot to do with it. If you are on the edge of 3g coverage, your speeds will be slow.
[Epic 4G Android Development] DRockstar:
Try downloading the script into a guest account, extract the folder, and double clicking run.bat to run it. There have been some reports of failures running as adminstrator, or even wth an administrative account in Windows.

Don't know if it'll help, but it's worth a shot.
[Epic 4G Android Development] kwkness:
Device cannot be found

I rooted successfully but want to unroot to get stock 2.2 but I get an error and cannot connect...

battery pull and reboot computer several times..

Linux Mint 10

How do I confirm the computer is seeing the phone? Again, I rooted on the same machine
[Epic 4G Android Development] DRockstar:
I'm working on an update right now that adresses multiple things, I'll try to get it out tonight, testing takes a while.

For the mint linux user, use the latest adb binary from the android dev kit, it may help you out.
[Epic 4G Android Development] hyuga:
Thanks OP!

Updated to stock DK28 yesterday and was waiting for a new AIO to get CWM installed. I liked that method to get CWM installed without having to permanently root stock. I will then go to a pre-rooted custom ROM. :-)

Is this going to be based on the 2.5.4 one-click root exploit?
[Epic 4G Android Development] DRockstar:
Hyuga,

The installer for the root and clockworkmod have been merged into one menu, but the root won't have any ill side effects when applying any roms. The uninstallers are seperate though... the root uninstaller doesn't touch clockworkmod, and flashing the stock recovery uninstalls clockworkmod files without touching root.

At least the choice is still there.

The AIO 2.04 is based off the one click root 2.5.4.

Hope this clears up some things for you!
[Epic 4G Android Development] DRockstar:
The latest update should fix things for you and other linix Mint users
[Epic 4G Android Development] eddieyee:
Getting an error... Flashed DK28 via Odin... Looks like it's unable to mount the File System as RW.

Running this on Windows Vista 32bit machine. Prior to DK28, I was on DI18 stock and the EpicAIO2.01 worked fine for me on the Eclair setup...

Any ideas?
[Epic 4G Android Development] DRockstar:
eddieyee,

Looks like the temporary root exploit didn't get called, not permitting the remount to take place. Of course it went downhill from there. I'll look at the script to see if there's anything that would cause a failure in the root check. In the meantime, reboot the phone and try again.

I'll do what I can to help you out.

One thing that can cause the exploit not to work is if an antivirus program stops it from taking place... trying deactivating your antivirus program while running the script.
[Epic 4G Android Development] eddieyee:
Thanks DRockstar. I'll have to try the antivirus disable when I get home later today. I know when I tried earlier I did try rebooting the phone and trying, as well as reflashing DK28 via Odin and trying (both came with the same RW file system error). It's strange that the 2.01 worked with my Eclair setup though.
[Epic 4G Android Development] bilestoad:
This is an awesome script with clear instructions, thanks a lot!

Just FYI, I can't get it to install clockworkmod! Kind of an unusual situation though.

Wanted to bring phone in for replacement so returned phone to nonrooted stock pre-DI18 (d?07?) to await OTA updates. By morning no OTA DI18 update and hadn't brought phone in yet and so many new ROMs to play with so wanted to re-root. Ran script once, rebooted with 3 button death grip, got blue stock recovery screen. Rebooted, re-ran script, was about to reboot and got stock DI18 update. Loaded update, rebooted in recovery, but stock. Booted phone, removed root with script, rebooted, re-rooted, tested root by successfully removing some stock apps. Shut down, booted in recovery, still stock! But now I'm done playing, I'll just flash a ROM with Odin.

Thanks again for this fantastic script! I'm sure it's great in most situations.
[Epic 4G Android Development] JonandRoid:
I used this one click root and rooted successfully and got the remove stock apps installed and wireless tether as well. I installed set cpu to save some battery and set it at min and max 100 when the screen is off and removed most of the apps I will never use like dlna and sprint football but nothing serious. Now with all of that being said, I installed rom manager and wanted to make a back up of the stock rom in case something happened and it failed when it booted up into clockwork and it wouldn't make a recovery. So I restarted and it wouldn't boot up at all...so I plugged it in, still nothing, so I pulled the battery and it booted up after I put it back in...but now my phone is randomly just turning off...any suggestions. I reset set cpu back to stock and uninstalled it from the phone so im going to see what happens from now but id like some input. Also with having root I can't get the ota coming soon can I?? Please answer or give me some suggestions. Thanks
[Epic 4G Android Development] bilestoad:
I'm pretty sure my phone was rooted (see my post, above) when it got the OTA DI18 update; everything else was stock. I was wondering that as well!
[Epic 4G Android Development] DRockstar:
Your symptoms could be caused from either removing a required system app, or by overdoing things in setcpu... be careful with both apps.

Root on its own will not affect an OTA update... however, the impending update will be checking for DI18 system and will check that none of the original system files have been altered or removed. That means restoring anything removed with SDX Stock App Removal before a successful OTA update can occur. The root just adds files, which is why the doesn't affect the update.
[Epic 4G Android Development] DRockstar:
Just so you know, the latest official stock tar is DI18, to be flashed with Odin. Backup your data first before using Odin.

I'll flash back to Eclair for a moment to see if any issues occur with clockworkmod... I did need to change it to work for Mac users with Epics running Froyo... if I need to, I can do both if I find a problem.
[Epic 4G Android Development] sassycrow:
I'm having a bit of a problem. I read through this thread and found similar issues, but no real fix :-/

I rooted my epic with this program back when it was 1.13. I installed the SDX stock app remover and wifi tether. Soon, wifi tether wouldn't work, but no big deal, I'd been too busy to try and get it working. Then the official 2.2 Froyo update was rolled out, so I downloaded it, and attempted to put it in the "root" folder of my epic.

To my surprise, there was no root folder.

So, I downloaded the latest versions of this program (2.03 and 2.04) to try to unroot/root/re-root/ whatever I could do to try and get a root folder so that I may update.

The problem is that it cannot find my device. No matter what I try, how many cables, usb debugging on or off, mounted or unmounted. I see that others have this problem but I didn't really see a resolution.... unless I'm an idiot and totally missed it. Which is probable.

Does anyone have any suggestions?
[Epic 4G Android Development] JonandRoid:
Thanks, the phone is really my fiances phone and she is totally flipped out that I broke her brand new phone but I tried several times to explain to her about rooting it and now that its been done and its screwing up, im not allowed to touch her phone anymore unless I try to fix it lol...oh well. But I have a ton of knowledge of the d2 and rooting and all the stuff but idk why that happened and with set cpu, it was a copy from my phone that I moved to her phone and a little out dated because I don't feel like buying it again for her phone so it may be that the version is out dated but I only set the cpu Screen off profile to min and max 100, is that too drastic? Maybe with the newer updated versions it has something built in for the epic. Also is the cpu supposed to be running in conservative or ondemand or userspace. It was set to conservative and on my d2 it can only run on on demand, I didn't change it but figured id ask. It hasn't reset since that was done so she is happier than before but still that's weird..maybe the cpu was too low..idk..
[Epic 4G Android Development] DRockstar:
Is ClockworkMod installed? If so, then visit the following link and apply the Stock ROM, and then the Samsung recovery:

http://xdaforums.com/showthread.php?t=786266

If ClockworkMod isn't installed, then use the z4root app from the Android Market to uninstall the root.

You shouldn't need to mess with the modem in the post, unless you're coming from a Froyo beta.
[Epic 4G Android Development] jdjozwia:
My friend just bought a samsung epic and i am trying to root his phone for him

No drivers required.

Extract the zip file.

Open Terminal. Use the cd command to get to the directory. If you extracted inside the Downloads folder, it would be easy in Terminal as so:

So im a little confused so far i have downloaded the zip to my mac and extracted the file i then moved the file to the download folder on my phone.

When you say use the cd command to get to the directory i get lost, Do i download terminal emulator? am i supposed to do something from my mac pleaese help
[Epic 4G Android Development] DRockstar:
The terminal is run from the Mac... it's in the Applications folder, perhaps in the Utilities folder. Run the script from an a Mac account with administrator privileges.

Guess I should break down and do an applescript job for this sometime.
[Epic 4G Android Development] JonandRoid:
Good question, do I need to install the custome kernal included with this one click root to be able to use set cpu?? When I set any profile on set cpu it wants to turn my phone off..im not sure why because im rooted and have su permissions but im thinking the stock kernal wont allow and kind of fluctuation. Or maybe there is a stock program i removed that has something to do with this idk. I have it set to conservative and that's how set cpu recognized the recommended settings, even set the min/max to 200 when screen off and it still crashes... Id just like to clock down the cpu to save some or really a lot of battery. Any suggestions would be greatly appreciated...
[Epic 4G Android Development] rjmjr69:
What rom are you running? If its not a custom kernel then setcpu wont be much of a help to begin with. Also as a note SetCPU is a free app found here on XDA if you do a search.

If for some reason you can't get it to stop rebooting my opinion would be to go into recovery :"cw: and do a factory restore this will delete any apps you added and start you out fresh.

If you can get to SetCPU before the phone reboots you can try to UNCHECK SET AT BOOT and you should be ok from there.
[Epic 4G Android Development] fitzkie:
Help With ClockworkMod

Thanks for all your hard work. It was very simple to get rooted for me. However I still need help with Clockwork.

I downloaded epic.aio.v2.04.zip.

I have a Mac So no drivers required. I extracted the zip file to the desktop. Opened Terminal. Did cd desktop. typed in chmod +x run.sh and then

./run.sh.

From the Menu selected 1. Simple One Click Root & ClockworkMod installed successfully.

However it does not look like ClockworkMod is working. When I use the three button method or ROM manager I can open up Clockwork. But, I only have four choices. I do not see use rom from SD card. What I see is;

Android system recovery <2e>

Samsung Recovery Utils

- for BML-

reboot system now

apply sdcard.update.zip

wipe data/factory reset

wipe cache partition

When I select apply sdcard.update.zip I get a message that says;

#manual mode#

--Install from sdcard...

Finding update package...

Opening update package....

Verifying update package...

E:failed to open /sdcard/update.zip (No such file or directory)

E:signature verification failed

Installation aborted.

How do I finish installing Clockwork correctly?
[Epic 4G Android Development] hyuga:
Worked like a charm on full stock DK28 ROM. Rooted and CWM installed! Thank you for the awesome script!
[Epic 4G Android Development] JonandRoid:
No rom installed just rooted and on dk18. Got clockwork to work made a backup and then installed the andromeda kernal and the latest version of setcpu(had 2.02 before newest is 2.04) and no more problems at all with the phone just turning off. So we will see what happens today and see how the battery likes the settings, hopefully it will save a lot of life. Thanks for the help
[Epic 4G Android Development] DRockstar:
In this case, ClockworkMod isn't installed... you're still getting the stock Samsung recovery with only four options. I would rerun the script to see if it takes. If it doesn't, then post the output of the script and tell me what model Mac you're running.
[Epic 4G Android Development] DRockstar:
fitzkie,

It does appear that clockworkmod flashed OK... if a 3 button push doesn't work, then try on an older Mac or boot the Mac with an ubuntu disc, and run it from Ubuntu. Recently I've seen some of the brand new Macs not playing nicely for some reason... I don't yet know what causes this, especially since the flash appears to have been successful.

Keep in mind that on android 2.1 eclair, a kernel like the andromeda kernel is required for rom manager to boot into clockworkmod.

Hope this helps...
[Epic 4G Android Development] nycks1:
Need Help bad!

I'm so new to this rooting stuff. I upgraded to the 2.2 and having problems, I would like to go back to the stock 2.1. I'm on a Mac and I need help to restore it back to 2.1. Thanks in advance:(
[Epic 4G Android Development] fitzkie:
DRockstar,

Strange, but FYI

Could not get 3 button to work no matter what I tried.

However, I installed the andromeda kernel and was able to download and get rom manager to boot into clockworkmod and it was green with all the options, so I am rooted and Clockworkmod is installed.

After I did this I shut the phone off and still not working with three button. But Rom Manager, still works.

So, now off to try a new ROM.
[Epic 4G Android Development] DRockstar:
The DI18 stock ROM may be able to help you out...

http://xdaforums.com/showthread.php?t=786266
[Epic 4G Android Development] brett701:
upgrade to onofficial 2.2 or wait? samsung epic 4g

i believe i have recently installed the one click clockwork mod(i believe its still 2.1. I didn't notice any real differences. Anyways, i didn't know what i should do.

Should i try to learn to install the unofficial 2.2 leaked version for my epic?If i do this do i need to unroot the single click clockwork mod?

Or should i wait for the Official 2.2 update from samsung/sprint? If i do this do i need to unroot?

Thanks for your help everyone. sorry for being such a donk.
[Epic 4G Android Development] DRockstar:
If you run Windows, you can try out Froyo... You will need Odin to flash both Froyo and to flash back to DI18 if you want to.

If you're running Mac or Linux, you'll want to have access to a Windows machine for sure before flashing DK28 Froyo.

There are several roms out there, but I personally use the stock dk28 tar... though I'll give a shout out to the art3mis dk28 tar, and the noobnl dk28 rom.
[Epic 4G Android Development] || Acer ||:
I just want to make sure...

I have DK28 on my Samsung Epic (not rooted though)

So I could I still root it this way, and if so, can I do this on a mac?

(I know the OP's post says it works with FroYo, but just want to double-check with a mac)

And when it means extract the zip, where do you extract it to?

Thanks!

Edit: I need to have USB debugging on too, right?

Also, what does it mean Clockworkmod redirector in script? How would I enable it then?
[Epic 4G Android Development] DRockstar:
DR Eeeee

Yes, you can run the script on a Mac, and it'll work on Froyo. USB debugging should be enabled, and I recommend that USB mass storage be turned off.

With 2.1, kernels needed to be customized to allow ROMs to be installed through the ROM Manager app. The Andromeda kernel, among others, are ROM Manager compatible.

We don't have the source to build kernels for Froyo yet. Noobnl discovered that by placing redirector files in the /system, modifying the kernel wasn't necessary to flash ROMs with ROM Manager, or boot into ClockworkMod using the Quickboot apk. Hence, the one click roots have been modified to detect if Froyo is installed, and install the redirector files. The ClockworkMod redirector will only work with Froyo.

The only hiccup that can occur with installing the redirector files is that with DK28, only about 2MB of space is left in the /system partition to modify. One way of getting around this is by deleting a non essential app in /system, such as the Asphalt demo apk. This is the approach taken by default with noobnl's one click root, which frees up about 5MB. I chose not to delete any system apks, since I would need to reinstall them with the uninstaller, and I was trying to keep the release as small as possible. Stock DK28 leaves just enough space to install the redirector files.

This should explain things.
[Epic 4G Android Development] DaleGT:
Is the 'Simple OneClick Root' permanent?

I installed "Simple One Click Root" from the 1st post on my Epic4G, with the 'stock OS'.

simple, and works great!

question: is this what's called a "Permanent Root"? Iiuc, Samsung is going to start pushing 'Froyo' updates sometime soon (this month?). Will my root-ing survive that update, so that Froyo will *sstill* be in rooted state? or will I have to reexec the rootin?

Thanks,

Dale
[Epic 4G Android Development] DRockstar:
A "permanent" root is one that sticks after a reboot is performed. An official update might not destroy root but will most certainly uninstall clockworkmod. In any case the AIO will still work after the official update.

An official update could come at any time now... your guess is as good as mine as to exactly when.
[Epic 4G Android Development] dev001x:
hi,

I applied only "1) Simple One Click Root and ClockworkMod 2.04" to a new Epic 4G.

I've had probs loading a new kernel mod @ boot; loading's no problem, but getting it to stick across boots, not so much:

http://xdaforums.com/showthread.php?t=883856

Iiuc, init.rc (or one of the scripts in the launch process) needs to me modded. E.g., adding

/system/xbin/busybox run-parts /system/lib/init.d

to get init scripts in user-space to be launched ....

not 100% sure that's the right method, but --

do any of the OTHER steps in DRockstar's AIO installer get me there? Does, e.g., the Andromeda ROM have the capbility enabled, or some other method to load add'l kernl mods at boot?

Thanks!