yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] sfhub:
Ok, thanks, I'll include an updated version of adb soon.
[Samsung Epic 4G Touch] musclehead84:
Thanks sfhub for updating to ek02. This is the best way to root and It works perfectly. Thank you.

Sent From My Evo Killer!!!
[Samsung Epic 4G Touch] sfhub:
Ok, adb was updated to latest 1.0.29. You shouldn't get the message to upgrade anymore.

I believe you only get the message to upgrade if you have the android sdk installed, otherwise it works fine even with the older adb version.
[Samsung Epic 4G Touch] ogeretla:
Just to be clear... If all I did was use the option to root my existing setup without the cw5 script.... I should be able to run the ota without issue? Has anyone done this yet to confirm?

Sent from my Epic 4G Touch
[Samsung Epic 4G Touch] sfhub:
Yes, it will work. Rooting only added files. It didn't modify or remove files. You don't need to unroot either. When the OTA is done, su won't work (but you'll still see Superuser in your app drawer). Just re-run Option A.

If you did Option C to install EG30+CWM, then just choose Option C to install EG30 and the OTA will work.

BTW you should download the current root package and the directory changed to e4gtauto (from eg30auto)
[Samsung Epic 4G Touch] xlGmanlx:
Downloading this now, this is now part of my flashing routine. Excellent contribution to the community
[Samsung Epic 4G Touch] ogeretla:
Thank you Sir!

I am a little scared because I can't do a backup right now since I never did the CWM package. How could I do a backup without the CWM? Can i? Would just like to have a failsafe. Thanks again!!!
[Samsung Epic 4G Touch] playya:
What are you trying to backup. You can always download an app from the market that does not require root to backup certain things. Honestly the rooting methods for the Epic are probably too easy. Just follow OP and you will be ok its not that big a deal... Also the other methods of using Odin as well are not that big a deal. So relax and do it, you will be rooted in like 5 minutes.... then you better make sure you read and read and after you done reading--- read some more....
[Samsung Epic 4G Touch] xlGmanlx:
Just used the generic option to install Steady Hawkin's latest stock EK02 repack, awesome!!
[Samsung Epic 4G Touch] sfhub:
Just use option C to install EG30+CWM, boot to recovery, do a backup, then install EG30.

Also in general, it is good to copy your nandroid backup to your PC or dropbox periodically. If your phone is lost or totally messed up, you'll still have the backup available.
[Samsung Epic 4G Touch] sfhub:
That's great. Thanks for providing feedback.
[Samsung Epic 4G Touch] xlGmanlx:
Thanks for providing such a great tool to the community
[Samsung Epic 4G Touch] interloper:
THIS IS SWEET! You guys that write clickable scripts that do all kinds of cool stuff are the shizzzzznit!
[Samsung Epic 4G Touch] pjjohn73:
Hi All.

Currently I have root and have a few "frozen" apps. I have not received the option to do the update yet. When I do I will "Thaw" my "frozen" apps and update then reroot with option A I think

But was considering option C for the CWM. So with this I would Root option A then do option C? If I did this in the future would I receive OTA updates?

OR

If I Root option A and then choose option D to disable CIQ, would this stop me from receiving OTA updates?

Just a little confused as far as this goes to be able to still receive updates. At some point I will put a custom ROM on I am sure, but for the time being I just want root to freeze apps and do backups. But would still like to be stock enough to get OTA updates.

Thanks ahead of time.
[Samsung Epic 4G Touch] Kikoshi:
So then since all i have changed is adding the LosKernel CW5 and haven't touched anything else, only frozed a couple of apps, i should be fine thawing the previous apps, and flashing the true Eg30 stock kernel, or can i use the Unroot from here, and then continue with the update?...

So since all the changes i did was Kernel Wise, just choose Option C, then B? Stock eG30?...
[Samsung Epic 4G Touch] sfhub:
If you want to be able to apply the official OTA update you need the following:

1) stock EG30 kernel and recovery (that means no CWM)

2) most (let's say all) the files from the stock EG30 ROM (that means /system should not have modified or deleted files, added files is ok)

3) stock EG30 modem (ie baseband EG30 in menu->settings->about phone)

If all you did was Option A, then the OTA will work fine, since only changes were adding files to /system. No files were modified or deleted.

If you did No CIQ, then the OTA will work fine, since CIQ was disabled in the configuration. No /system files were removed or modified.

If you did Option C, and chose to install a CWM-repacked kernel, then your zImage/kernel/bootimg was changed. You are still running the stock "linux" kernel, but the initramfs portion was changed. Thus it will fail the integrity check for the OTA update. You just need to choose Option C and install the EG30 BootImg/zImage/Kernel.

In summary, you do NOT need to unroot nor do you need to enable CIQ to successfully install the OTA update.

You do NOT need to unfreeze your apps to apply the OTA udpate, as the apks are still there. When you freeze your apps, you are disabling the apps using configuration changes, rather than physically deleting or removing files.

You DO need to restore the EG30 BootImg/zImage and undo any modifications/deletions you might have done in /system.

If it is too difficult to figure out what you changed in /system consider:

1) restoring the EG30 ROM/Kernel using ODIN (see Reference A4 in the 2nd post), your data will be untouched

or

2) using the EK02 "full updates" instead of the OTA (see Reference A11 in the 2nd post)
[Samsung Epic 4G Touch] sfhub:
Theoretically you can just choose Option C and then install Stock EG30, but only for LoSKernel, for some unknown reason a few people have discovered that there WiFi was not functioning properly after flashing back to stock EG30.

This does NOT have anything to do with the root package. It is some funky interaction between LoSKernel and Stock kernels. People were flashing stock EG30 in ODIN and saw the same behavior. I don't know what the issue is and I'm not sure how prevalent it is, but I figured I'd mention it.

If you have WiFi troubles, then flash back to LoSKernel and it should be fine again. If you are affected by this WiFi issue, I suggest you do a backup of your user data, then use ODIN the stock EG30 tar.
[Samsung Epic 4G Touch] Kikoshi:
well only mods i've done was the GPS Fix gps.conf , and also the mod for getting the 50GB space from Box.net.

Though i changed back the box.net mod, but not the gps.conf.. should i restore back the changes to this one?
[Samsung Epic 4G Touch] sfhub:
gps.conf doesn't need to be changed back.

build.prop definitely needs to be restored.
[Samsung Epic 4G Touch] Kikoshi:
Thank you again :)

Stupid question.. which i should of added as well, but remember late.

Doing the Network Speed Fix * deleting Sprint servers ect.. with the msl code and what not*

has anyone mentioned that doing this might not bring in the update?
[Samsung Epic 4G Touch] niv3d:
So would Option A be the best/easiest method to root and flash custom rooms, kernels, etc?
[Samsung Epic 4G Touch] ogeretla:
Just when i think I understand everyting, i read something else and I don't...

So, if I do option C with the EK02+CWM... Is that the "offical ota" 2.3.6 with EK02 radio with CWM repacked? Meaning that would be the exact same as doing the OTA, just with CWM added? Right now all I have done is option A.

I was going to do the EG30 +CWM, then do OTA, then root again. Which way is better? I just want to be sure that the EK02 stuff in your file is the actual OTA for the Epic 4G touch, not the SGII one that came out before.

Thanks so much.
[Samsung Epic 4G Touch] m4f1050:
Has anybody experienced roaming and not having service until a phone reboot?

I had root the old fashioned way (odin) but my phone kept going into roaming and not being able to get service again plus I had the caution sign when turning it on. I just flashed the stock eg30 from sprint, caution sign while bootup is gone now, so I am completely stock but I dont want to root and get the dreaded roaming state.

Thanks.
[Samsung Epic 4G Touch] sfhub:
There is some DSA or DSS address (I forget which) which might affect updates. Stands for Device Self Service or something along those lines. The Google Firmware stuff might is probably using different addresses but I don't remember how they divide the "update" duties. Probably the DSS address is for stuff like Sprint Voicemail.

The proxy stuff won't affect anything w/r/t updates.
[Samsung Epic 4G Touch] sfhub:
IMO Option A is the simplest and least intrusive methods to root.

If you wan to flash custom ROMs, after rooting with Option A, use Option C to install a kernel with CWM. So far they have been interoperating with different radio and ROM versions, but if you don't know which one to choose, just choose the one that matches your radio baseband version.
[Samsung Epic 4G Touch] sfhub:
That is the "official ota" linux kernel with the initramfs modified to include CWM.

It does not include the radio. After installing it, you could use CWM to flash the EK02 radio (or you could use ODIN to flash the radio).

The OTA update includes

1) EK02 modem

2) EK02 Kernel/zImage

3) EK02 ROM

Option C only affects 2. I was running EK02 Kernel with EG30 modem and EG30 ROM and it was stable (for me)

You can NOT do EG30+CWM then do the OTA. You MUST have EG30 BEFORE you do the OTA. The reason is EG30+CWM keeps the stock EG30 linux kernel but modifies the initramfs (which is packed along with the linux kernel into the BootImg/zImage) so the zImage (#2 above) will fail the integrity check done by the OTA update.

When I say the OTA won't work, nothing will break, it just will give you an error. I don't recall if it will ask you to do the update again. You could always just manually download and install the update.
[Samsung Epic 4G Touch] sfhub:
Rooting using Option A 100% cannot cause that.

Installing stock of stock+CWM-repack shouldn't cause that either but I would only say 99% certainty, 99.9% certainty (it won't cause) if you are only going purely from stock kernels to stock kernels (or stock kernel+CWM) which are included in the package. If you are going to/from custom recompiled kernels maybe there is a remote chance of that happening.
[Samsung Epic 4G Touch] ogeretla:
Ok so, if I do that is there a link to the "offical" Ek02 Modem file that was in the OTA? Then basically if I do option C with EK02 and then add the modem then it would be exacly like doing the OTA... right? Offically... Then I would have Root, CWM and offical OTA. That is my goal!

Thanks!
[Samsung Epic 4G Touch] sfhub:
I suggest you follow FAQ #E10 in the 2nd post

e10) How can I get manually go to STOCK EK02 ROM and EK02 Kernel+CWM5(repack) w/o waiting for the OTA update?
[Samsung Epic 4G Touch] Kikoshi:
Thank you again, i went ahead and just did the update.zip after going into stock eg30 recovery, and everything went fine :D, and rooted with option A.( which took one heck of a long time, specially with the 40s sleep time. ) lol

Thank you for the help!!
[Samsung Epic 4G Touch] lawreaga:
Hi. i'm on windows 7 and I'm having trouble with this step.

2) Prerequisites Checklist

USB Debugging is ENABLED - [Menu->Settings->Applications->Development->USB debugging]

USB Storage Mode is OFF - [Drag down the notification bar and tap on "USB Connected" - should be off by default - pic]

Samsung USB/Android drivers are INSTALLED - [See Reference A1 (below)]

Phone is connected to USB port and recognized

I can't seem to find usb debugging on my PC

and I can't seem to find USB storage mode on my phone. everytime I connect via usb it automatically turns into USB storage.

any help?
[Samsung Epic 4G Touch] xlGmanlx:
Its debuggin on the phone itself

settings - applications - debugging should be an option, check the box next to it.

Hit thanks by mistake
[Samsung Epic 4G Touch] sfhub:
USB debugging is on your phone, not your PC.

Don't worry about USB storage, it is off by default, and since you don't know anything about it, you probably didn't turn it on.
[Samsung Epic 4G Touch] lawreaga:
lol that explains it.
[Samsung Epic 4G Touch] DataHawg:
I ran into this as well and I'm not sure what to do about it. I ran option C to get rid of CWM with the new script and got the outdated adb message. Never got that while rooting with the old script. The script box closed and disappeared before the process ended and I had to manually reboot. CWM appears to be gone since it boots to stock recovery only now, but I don't think I am back to stock/rooted because a Sprint app I uninstalled with TB did not reappear in my app tray. I think I have the Sdk installed on my Win7 pc but I'm not sure. If so should I try to uninstall it? You said you have updated the adb so this shouldn't happen. Do I need to re-download the auto script and run it again. Sorry for another noob question.
[Samsung Epic 4G Touch] sfhub:
The update might have been after you downloaded it previously. Redownload and it shouldn't complain anymore or you can just replace the adb.exe with a more current one you have lying around.

I don't think it complains unless you install android sdk. It doesn't complain (even with the old binary) on my clean machine that doesn't have any sdk installed.

If you don't want the script window to close, run the script from a cmd prompt rather than double-clicking on it.
[Samsung Epic 4G Touch] DataHawg:
Thanks. I'll try your first option tomorrow and post the results. Yes I have been double clicking the file to run it.
[Samsung Epic 4G Touch] pjjohn73:
Your awesome, thanks!! Thats about what I figured but wanted to be sure. Now if I can just get the update.
[Samsung Epic 4G Touch] pjjohn73:
Where is this Network Speed Fix? Does it actually help?
[Samsung Epic 4G Touch] DataHawg:
Worked for many of us but didn't for some. http://xdaforums.com/showthread.php?t=1265990
[Samsung Epic 4G Touch] pjjohn73:
Thanks, will give it a shot. Lucky to get dialup speed half the time.
[Samsung Epic 4G Touch] Gomenkiyo:
So if I install the EK02+CWM bootimage while I'm on EG30, will it install EK02 or do I have to already be on it?

If I already have to be on it..I can just install the update in a10 through stock recovery right? Do I have to update it?

Thanks sfhub c:
[Samsung Epic 4G Touch] sfhub:
This is simplification, but think of your phone software as consisting of 3 parts

1) Modem

2) BootImg/zImage/Kernel/Recovery

3) ROM (/system)

Option C only installs #2. So yes, it will install EK02 Kernel/zImage with CWM replacing the stock recovery. You do not need to be on full EK02 to install EK02+CWM BootImg/zImage.

If you want to end up on EK02, I would suggest you install the OTA update first, either the Sprint OTA if you want to stay as close as possible to stock (Sprint OTA only runs in *stock* recovery, not CWM and it requires stock EG30 Modem, EG30 BootImg/zImage, and EG30 ROM with no modification or deletions from the ROM). Once the OTA is done, you'll still have Superuser in your app drawer, but root will be disabled. Just re-run Option A and you'll be rooted again.

Alternatively if you have already installed EK02+CWM, you could use the rooted OTA. It will only run successfully in CWM. It won't work in stock recovery. It doesn't care what BootImg/zImage you currently have since that "check" was removed. It'll still require you have EG30 modem and stock EG30 ROM.

If you are having trouble getting the OTA "patch" updates to work because they are complaining about some file assert failure that means something they expect to be there unmodified is either modified or missing.

Either figure out what changed or just use one of the "full" updates in A11. They will install the EK02+CWM BootImg/zImage and pre-rooted EK02 ROM, but won't touch your modem. Then use A12 to update your modem manually to EK02. You don't actually need to update your modem to EK02, as EG30 modem will run with EK02 BootImg/zImage and EK02 ROM, but you probably want to try out pure EK02 first before making decisions what to do next or to stay with EK02.
[Samsung Epic 4G Touch] Gomenkiyo:
Thank you for the explanation...the problem was, I restored my phone to eg30 earlier using the factory restore and the OTA wouldn't come, and I couldn't check for the update. For some reason, when I manually install the rooted OTA, my wifi stops working.

I guess I'll restore again...so what you're saying is I can be on stock eg30, root, install CWM, then install a custom rom based off of EK02 with no problems? I really had no problems on EG30.

Actually on second thought, I can just flash the EG30 modem in CWM and be ok, right?
[Samsung Epic 4G Touch] sfhub:
If you have funky problem that can't be explained, I would do this:

1) backup your data with titanium and cwm, keep copies off your phone

2) factory restore EG30 using [ODIN][STOCK][TAR] SPH-D710.EG30_CL435734 (EG30 Modem/Kernel/ROM - Factory Restore)

3) do a ##786# reset (type ##786# in dialer), this will reset your NVRAM and force your phone to do hands free activation again, re-provisioning your phone. It will ask for your MSL, which you can get ahead of time by typing "getprop ril.MSL" (case sensitive) in adb shell. You can also do it on your phone from Android Terminal (d/l from market) but make sure you use the samsung keyboard as the swype keyboard will capitalize your I's even if you turn off auto everything.

4) then verify that wifi works

5) then d/l the stock sprint OTA update from [Official Sprint EK02 OTA (stock recovery)], place on external SD card and make sure card is inserted in phone's sd slot

6) power down phone, make sure all lights out (capacitative button lights too). Then press and hold [Power][VolUp] to boot into stock recovery. Choose install update and select the zip file you downloaded in the previous step

7) when it is done, verify that wifi works

Assuming everything is working, using the first post, choose Option A to root, Option C to install EK02+CWM.
[Samsung Epic 4G Touch] Gomenkiyo:
Thank you SO much. I'll do just that and report back, and tell you if it fixed everything. (:
[Samsung Epic 4G Touch] sfhub:
Also keep in mind, it might be that EK02 included new wifi drivers and they don't like your access point/routers wifi for some reason. You might need to upgrade stuff on your access point/router to get things working in that case (or go back to EG30), but the procedure above will reset everything on your phone and rule out an incorrect installation on the phone as the issue so you can concentrate on other potential sources of the problem.
[Samsung Epic 4G Touch] Gomenkiyo:
It definitely wasn't that, what it did was it started wifi, scanned for a few seconds, and turned off wifi, and repeated .
[Samsung Epic 4G Touch] pjjohn73:
Should I be able to manually download the OTA or is it still just randomly making its way out?
[Samsung Epic 4G Touch] Gomenkiyo:
That fixed it, thank you so much again C:
[Samsung Epic 4G Touch] sfhub:
Resource #A10 in the second post has the OTA download link.
[Samsung Epic 4G Touch] u2mir:
Quick answer pls..

Oh gawd, I read through this thread and I'm still a bit unsure of exactly what to do --

I am running a stock EG30 ROM that I rooted a few weeks ago with this method, then applied EG30+CWM to.

I'd like to get EK02 fully installed with the OTA. But of course, the OTA won't work (*havent tried it though*) because I have CWM installed in the zImage.

Is there a way I can easily restore the zImage (changes made by option C) so that I can apply the OTA? And then I presume I would re-run this method and re-root & re-install CWM+EK02?

I see so many different options of what to do in this situation, I'm not sure anymore of what to do :)

Thanks in advance for the clarification!
[Samsung Epic 4G Touch] pjjohn73:
I'm no expert but I think you run step C again with EG30, WITHOUT CWM. I think this will get you back to stock BootImg/zImage.

Then do the OTA update and then reroot, etc
[Samsung Epic 4G Touch] sfhub:
Previous poster is correct.

Assuming you made no other changes on your own to /system, just choose Option C, install EG30, and the OTA will work.

If you want to initiate it manually, d/l the Sprint OTA update manually using A10, place update on EXTERNAL SD, boot into stock recovery, and select install update

When the update is done, you'll still have Superuser in your app drawer, but the functionality will be disabled. Just do Option A to re-root.
[Samsung Epic 4G Touch] u2mir:
Great..

Thanks guys! I'll give it a shot.

---------- Post added at 10:41 PM ---------- Previous post was at 10:21 PM ----------

Hmm..

So I followed the steps, chose option C, and selected JUST EG30 (no CWM).

Rebooted.

Then told it to install the OTA.

Phone then rebooted and went to a screen with a small android and a exclamation point in a white triangle in the center of the screen.

Just hung there..

What gives? What to do?
[Samsung Epic 4G Touch] sfhub:
Is there a status bar at the bottom? It moves real slow. First time I thought it was hung too. If it doesn't do anything for 5 minutes, press a few buttons like home, back, power and see if you can get back to the recovery screen to see what error is there being blocked by the logo screen.
[Samsung Epic 4G Touch] u2mir:
No status bar. But I fiddled with it a bit and got to the recovery screen. It seemed to say success and then I rebooted. But interestingly when I go into the about phone screen it displays as EG30!

And when i try to check for firmware upgrades it says there are none?

Confused.. how to check if it worked or not now?
[Samsung Epic 4G Touch] Sisren:
Just upgraded from my EVO 4G and I love my new Epic 4G touch. Although I consider myself somewhat of a power user with the EVO, I appreciated how simplified and effective your script worked in rooting my new phone.

And at some point, I'll start playing with custom ROMs but for now, I just wanted su access for the few apps that I use (titanium and tether)...

Thanks for the awesome work here!
[Samsung Epic 4G Touch] sfhub:
Are you sure you placed the OTA update on your external SD and selected the right one? Usually if the OTA installer doesn't work there will be some assert failure. I've never seen it say success and not work.
[Samsung Epic 4G Touch] u2mir:
thanks for everything SFhub!

Got it to work. My god, you've done such a fine job of keeping this thread organized and creating a one-stop-shop-automatic-rooting-and-more tool for us.

I downloaded the OTA from A10 and flashed using stock recovery manually. it worked this time. I'm not quite sure what happened the first time around, but it seems to be good. I added root & CIQ disable as well.

Cheers!
[Samsung Epic 4G Touch] sfhub:
Glad you got it working.
[Samsung Epic 4G Touch] flexte:
maybe my battery is too low but after getting in stock recovery i navigate fine using vol up/down but power button does not select or start any process. anyone know what your battery level needs to be in order to flash using stock recovery?
[Samsung Epic 4G Touch] sfhub:
I think [Home] button is select for stock recovery, some versions of CWM also.
[Samsung Epic 4G Touch] flexte:
thanks updating now. on the evo it was the power button so i just assumed.
[Samsung Epic 4G Touch] pjjohn73:
I think the power button brings you back to the top level (menu) of CWM
[Samsung Epic 4G Touch] pjjohn73:
Yes must be on external sdcard, not phone storage. I had the same problem originally.
[Samsung Epic 4G Touch] sfhub:
Added even easier self-extractor package

NEW: Even easier self-extractor for windows (Just run .exe - SKIP Unzip and Step #3) [e4gtauto-sfx.exe]

This will automatically extract the rooting package and bring up the initial menu. Just double-click and enjoy.