yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] kennethpenn:
Guide: Install Android 2.2.1 Update DK28 on Epic 4G

UPDATE: Full SPH-D700-DK28-8g-rel.tar.md5 ODIN FLASH HERE.

Instructions: Update Android 2.2 Froyo for Epic 4G

Android 2.2 Epic 4G Instructions

Intended for those going from stock Android 2.1 (DI18) to the latest firmware. Others, see here and choose the alternate method using Odin.

Download the required update.zip file

Mirror: http://www.multiupload.com/EBDH959PPM

Mirror 2: http://vps.ian.im/update.zip

RENAME the file to “update.zip” (If you get an error while flashing, your file might accidentally be named "update.zip.zip" due to Windows' file renaming system. Simply rename it to "update" to make it update.zip and flash)

Move the file to your USB storage on the Epic 4G. Place it in the root folder, the highest up folder.

Boot your device into “recovery mode” (if you don’t know how: click here)

Apply the sdcard update.zip from Recovery Mode

Congratulations! You now have Android 2.2.1 Froyo (DK28) on your Samsung Epic 4G from Sprint!

Android 2.2 Epic 4G Instructions

Frequently Asked Questions

Will I lose root?

Yes.

Do I need to be on the STOCK DI18 Update to flash this .zip?

Yes, you will need to be on the STOCK rom (DI18). http://xdaforums.com/showthread.php?t=773032

Can I still install themes?

Previous themes will probably be incompatible with this release until developers re-create them. Just know you will lose your themes.

Troubleshooting Errors

If you rooted with the old method from joeykrim, you'll need to re-root or un-root using the new method.

Once you've updated, you can One-Click Root!
[Epic 4G Android Development] BBlunts456:
How do you move file to internal storage?
[Epic 4G Android Development] Eazail70x7:
Thanks alot
[Epic 4G Android Development] kennethpenn:
Plug in your device, you should get an option in Notifications bar to "mount USB storage" -- do that. Then you'll see the Epic 4G's internal storage has been mounted on your computer. From there you can copy-paste the update.zip to your device!

If you don't see that option in your notifications bar... try going into settings > Applications > and enable USB debugging. Then plug in your device and you can pull down the notifications bar and see Mount USB Storage.
[Epic 4G Android Development] ragnarokx:
And if you're already on Froyo, you can just use the .tar file. I noticed on your website it still says the .tar file is not available.
[Epic 4G Android Development] BBlunts456:
But doest this only put it on sd card? its says move it to internal storage. im confused!:confused:
[Epic 4G Android Development] Testrunner:
Rootable

If after applying this update will rooting still be possible using the current one click method?

Anyone try this yet?
[Epic 4G Android Development] kennethpenn:
If you mount your phone, there should be two separate mounts. One for your external SD and one for internal storage!
[Epic 4G Android Development] k0nane:
If you're not on DI18 and don't wish to flash back, you can just use this, which is based on the full DK28.
[Epic 4G Android Development] toypaj:
i only get the one for my external sd card
[Epic 4G Android Development] kennethpenn:
Drag the update.zip into there and flash in recovery.
[Epic 4G Android Development] kennethpenn:
Excellent! Thank you
[Epic 4G Android Development] viperacr99:
Update from stock DI18 worked. When it loaded I got a message saying there was no update available, then it said I had the wrong password for my google account and I had to enter my password again. Seems normal otherwise.
[Epic 4G Android Development] toypaj:
i get an error E:can't open /sdcard/update.zip

( no such file or directory)
[Epic 4G Android Development] kennethpenn:
That's odd. Might have something to do with checking for the update on Sprint's servers
[Epic 4G Android Development] kennethpenn:
Did you rename your update.zip?
[Epic 4G Android Development] chocoberry:
Unlike other Galaxy S (incl. Captivate) Epic 4G does not have 8/16GB internal storage.
[Epic 4G Android Development] kennethpenn:
My bad. Well then drag it into any storage you have and it should work ;)
[Epic 4G Android Development] ghostrid3r:
Great post kennethpenn...

Would be nice if this was stickied.
[Epic 4G Android Development] kennethpenn:
No problem! A .tar file is coming soon. :)
[Epic 4G Android Development] musclehead84:
I'm just wondering if Odin will flash back the stock kernel also. I've used it to go from 7 to 18 but it was the same kernel. Does anyone know if I flash back from froyo will it also give me the right kernel?
[Epic 4G Android Development] mis3:
Had the same problem with pc not recognizing usb storage. Had to reboot my pc. Works fine now.
[Epic 4G Android Development] kennethpenn:
If you Odin back to stock, it will replace your kernel with the stock kernel
[Epic 4G Android Development] avlon:
Updated from fully stock DI18.

Negatives: My GPS is definitely dead like many others have also reported. Every time I turn on the phone, the media card scan comes on and takes quite a while, and the same thing happens when I go into the gallery.

Positives: Touchwiz itself seems smoother and seems to be less subject to random lags. The stock music player is much better. Ditto for stock messaging. Flash works well from my tests. It seems like I gained internal memory.

I hope someone finds a fix for the GPS for us stock users. I would like to keep this update and get it working to as close to 100% as I can get it.

If not, I'll have to go looking around with how to flash it back to stock 2.1 again. :(
[Epic 4G Android Development] anon20:
Thanks m8...

Worked like a charm.
[Epic 4G Android Development] badasscat:
I reflashed to DI18 using the instructions here. Turns out everything I needed was linked in that post. And now my GPS does work again after running the update.zip to DK28 again.

Of course, I lost everything. I did root first and run Titanium backup, so hopefully at least my paid apps will be restored (I dunno if you can restore them through the market anyway, if it remembers what you've bought, but I didn't want to take a chance). Still, it's a pain having to restore all my settings, wallpapers, whatever apps I didn't back up (I had a lot of apps, and just didn't bother with many of the ones I knew I could re-download).

But at least GPS is working again, so my phone is useful to me as more than just something to make calls with once more.
[Epic 4G Android Development] revaaron:
NO D'UH. that is exactly what I did and how I got to the assert failed and why I'm posting in this forum instead of using my phone.
[Epic 4G Android Development] cportillo09:
Can you add this while not being rooted?
[Epic 4G Android Development] djbacon06:
yes. Just follow the instructions as posted. It is a very simple process
[Epic 4G Android Development] avlon:
Just curious... is rooting the only way to revert back to 2.1 or can I just find and run the stock 2.1 rom?
[Epic 4G Android Development] shahin26:
Getting an error when upgrading to 2.2

Hey all. I am kinda new to the forum so excuse my question if id sounds stupid but i need some help here,.

I downloaded the file and renamed it, run it from recovery mode and the phone started unzipping..half way through the process i get this error:

assert failed: apply_patch_check_(“/system/app/Asphalt5_demo_anmp_samsung_D700_Sprint_ml.apk”

Followed by like 100s of numbers and letters and then it says

E: Error in/sdcard/update.zip

(status 7)

Installation aborted

I can see the error has to do with the demo asphalt game that came with the phone. I had managed to delete it a long time a go ( I deleted it using a program i download from the market. i dont remember what it was called).

now have a free version of asphlat (downloaded from the market) installed on my epic.

I have delete the free asphalt but still the same error. I have also done a Factory restore and I still get the same error.

My epic is rooted.. Can any one help me with this please?
[Epic 4G Android Development] diego1985:
This what worked for me. Don't unzip the update.zip folder just rename it "Update/zip" or Update and it should work. Again don't unzip the downloaded folder. Hope it helps.
[Epic 4G Android Development] keeepinitgansta:
May have to Odin to dk28
[Epic 4G Android Development] krazeekirk:
when trying to flash with odin it keeps telling me that the md5 failed! any ideas guys thanks
[Epic 4G Android Development] keeepinitgansta:
redownload from here

http://www.multiupload.com/A4HRBSEB7X
[Epic 4G Android Development] dannych124:
If I update my phone this way, is it still considered stock? ( like the same as someone who got it over the air, still able to receive over the air updates)
[Epic 4G Android Development] keeepinitgansta:
If you use odin and the tar.md5 file then Yes
[Epic 4G Android Development] musclehead84:
is the pit file needed to use odin? some say yes and some no. asnybody know for sure?
[Epic 4G Android Development] keeepinitgansta:
Pit is not necessary if using a full tar file. If flashing only modem, then yes it is required as the pit file tells odin where to flash the modem.
[Epic 4G Android Development] musclehead84:
ok great i just wanted to maske sure so i do it correctly. i am now deleting the olkd pit filed off of my computer. thanks for the quick response
[Epic 4G Android Development] SntaCruz83:
This encompasses my thoughts to the T. My GPS broke and i noticed Froyo wasn't running as smooth as DI18 was. I also had issues with the DI18 links and the file I actually downloaded didn't work. So using DG27 i got myself up and running back to DI18.

One additional note, if you can't get yourself to DI18, try downloading a couple apps from the Market or updating Google Maps - for whatever reason that got it going for me. Thanks for this post...made me feel like I didn't just mess everything up.
[Epic 4G Android Development] badasscat:
I only rooted so I could run Titanium backup first - which it turns out didn't really help me anyway, since you *can* just re-download purchased apps. And I didn't back up my settings (not sure if you can with Titanium or not) so I needed to basically start from scratch anyway.

I doubt you can just run the stock 2.1 update, though; you probably need to use odin to get back to it. That's what I did following the instructions I linked to before. That part worked fine. But you will be back to factory settings doing that.

I've got my phone mostly back to the way I want it now, and 2.2 is running well. Some people are complaining about choppiness in the interface, and I noticed that too initially, but it has smoothed out a lot as I've been using it. I'd say it's now smoother than 2.1 for me, especially in stuff like web browsing/scrolling, which was never smooth for me under 2.1 but now is under 2.2.

Still a super-annoying process getting GPS back, for someone who just wants to update and be done with it. Well, at least now I've got my phone rooted, so that's a plus.
[Epic 4G Android Development] lawsofpower48:
not sure if anyone else is having this issue..but after i updated to the ota 2.2 froyo, i noticed all my contacts used their old photos instead of the ones synced with facebook.... so does that mean i have to automatically go through each contact and click default picture to facebook???
[Epic 4G Android Development] nycxhobbes:
Hi guys,

Did the odin3 method to fix gps lock issues and froyo is a go on my epic. Only thing is there are some apps that I noticed that are no longer in the market place. The NYtimes app is not found when I search in the marketplace and also my purchased copy of caligo chaser is no longer found in the market place as well. Anyone have any ideas why this is happening?
[Epic 4G Android Development] avlon:
Thanks for answering my question. It definitely does seem like quite a process to get GPS back. Looks like I'll have to pull up my sleeves and get to work when I get some extra time.
[Epic 4G Android Development] Dante of the Inferno:
I noticed that too for a couple. Fandango and IcViewer have somehow vanished.
[Epic 4G Android Development] dkaile:
^

Many apps in market are not compatible with 2.2 version of android, hence they have disappeared; you need to ping their developers to develop/update those apps to the latest version of android...
[Epic 4G Android Development] socross:
Flashed from stock 2.1. No GPS, and when I slide the keyboard out it takes 10-15 seconds for the screen to switch, and when I close the keyboard it takes longer. Now I just want to get back to 2.1, but when I do the factory reset it's still 2.2. I have not rooted the phone, is there any way to get back to 2.1?
[Epic 4G Android Development] NYYFan325:
You have to use ODIN to go back to 2.1
[Epic 4G Android Development] socross:
Ok, odin never sees my phone. This is friggen lame.

I put the phone into download mode, hook it up, and odin doesn't see it. I get windows trying to install drivers for it and failing to find any.

This is the last time I do anything other than an OTA update. geeze.
[Epic 4G Android Development] keeepinitgansta:
You must install the drivers from here

http://xdaforums.com/showpost.php?p=7933592&postcount=1
[Epic 4G Android Development] socross:
Thanks man, but that thread is confusing. I downloaded the one click root file, but put the phone in download mode and run the "run" application, and all I get is a dos window that says the phone is not connected. I tried connecting it in usb mode, same results.

Is there a single list of steps somewhere I can follow? It seems like this is scattered across the site.
[Epic 4G Android Development] krazeekirk:
i am having the same issue now since i updated
[Epic 4G Android Development] Firon:
You don't put the phone into download mode to use one click root.
[Epic 4G Android Development] Zeinzu:
Have the phone on and usb debugging checked, plug into ur computer and run the bat file for the one click root/recovery

Sent from my Epic 4g
[Epic 4G Android Development] juice.ki11z:
3rd time i ask hope i get a answer. if i have a custome kernel will the update work? and how battery life?
[Epic 4G Android Development] megabiteg:
If you want to use the update.zip NO, you must go back to stock for that.

If you use the Tar.MD5, no need to, because it will replace your current one.
[Epic 4G Android Development] eigerzoom:
all went smooth using odin and titanium

however i got some fc's after using clockwork to restore data

the only thing i really needed was reload memo's

i'd like to reload froyo without using clockwork to restore anything

i'm sure something is getting overwritten that doesn't agree with froyo

does anyone know another app or manual method to backup the stock memos

maybe i can with titanium...i just need to know what/where

thanks for any help

i also noticed the screen auto orientation lag ... but not in menus & apps...

the ONLY thing that does NOT rotate 4 me is homescreens
[Epic 4G Android Development] ddpacino:
Yeah, I must be of the lucky few. I have .5 hardware and my GPS is working just fine, up to 5-1m accuracy. Any lag or FCs have been very minimal. We def ned some hardware acceleration.

Since I'm new to the Epic (3days), is it me or did the keyboard buttons start to become a lil bubbly after some use?!?

Swyped from my Epic 4G using XDA app
[Epic 4G Android Development] Stoney60:
I upgraded to DK28 using the update.zip in recovery mode. Theonly thing that didn't work was GPS (deader than a f*rt) So I odined back to stock DI18 the did the upgrade to DK28 using Odin too. Now EVERYTHING is perfect--well except for the damn bubble headed messaging app.
[Epic 4G Android Development] sporks5000:
um...

-- Install from sdcard...

Finding update package...

Opening update package...

Verifying update package...

Installing update...

Verifying current system...

assert failed: apply_patch_check("/system/app/Asphalt5_DEMO_ANMP_Samsung_D700_Sprint_ML.apk", "de505f9466f01103a3ad7ec6a9710c95c850a3f9", "29f0145b246ca23e02b28f199d021d49e98944a3")

e:Error in /sdcard/update.zip

(Status 7)

Installation aborted

Does this mean that I'm being punished for removing the garbage that I didn't want from my phone?

And more importantly, how can I get that garbage back?
[Epic 4G Android Development] Stoney60:
Flash back to DI18 using odin then flash DK28 using odin too. Yeah it's a pita to have to redo your whole phone from scratch again. But trust me, it's worth it.
[Epic 4G Android Development] socross:
I did this, it just says "phone is not connected, press any key to continue."
[Epic 4G Android Development] socross:
Oddly, since I did a factory reset (from 2.2 to 2.2) the phone goes smoothly between landscape and portrait. But GPS still never works. It just says searching for GPS and never finds it. Any ideas?
[Epic 4G Android Development] rcastel2:
For people who are having problems with GPS, I would go back to the original

DI18 and stay there until Sprint has an official statement (not a 3rd party website) if you do want to have problems with your GPS. Here are my steps for downgrading back to DI18.

1) Downloaded DI18.tar.md5 from http://www.multiupload.com/X9AB1U56JV

2) Downloaded Odin from: http://www.sdx-downloads.com/devs/no...ndepic.pit.zip

3) Reboot PC (just in case) with no usb cables going to phone

4) Remove battery on phone (just in case)

5) Wait till PC has rebooted

6) Put battery back in phone

5) Put phone in download mode by pressing "1" on keyboard and powering up until you see the little yellow android digger

7) Start Odin

6) Plug in usb cable from your PC to your phone, you should see a yellow COM port (does not matter which COM port it is in). If does not work, you need to a) Make sure samsung drivers are downloaded b) Reboot PC

8) Uncheck everything except "Auto Reboot"

9) When using .md5 file, no pit file is needed so just click PDA and click on the corresponding file you downloaded for DI18

When using .tar file, you must use the victory-8g-xx.pit file because the pit file tells Odin where to flash the file

10) Hit Start and let it finish, took about 3 minutes for me.
[Epic 4G Android Development] socross:
Thanks man! :)

Couple things:

Your odin download link gives me a 404

Where do I get these samsung drivers? Someone linked me to the one-click root, but I saw nothing in there about any samsung drivers.
[Epic 4G Android Development] mjkimp:
I'm in your position and I think I will go back to 2.1 and then odin back to 2.2 and not use the update. Did you wipe any data or did a facotry reset?
[Epic 4G Android Development] rcastel2:
It took me awhile to find your answers to the Samsung drivers and new Odin download link (not sure why the other one has been taken down).

1) Odin Download link here. Just use Odin.exe and remember only use pit file when necessary in step 9 above.

http://k0nane.info/rom/dk28-odin-modem.zip

2) Samsung USB drivers

32-bit: Click here

64-bit: Click here
[Epic 4G Android Development] socross:
Thanks man!

I got odin to see my phone! :)

But now it seems to stop at "setup connection". Tried it a couple of times with no luck.

I'm trying the stock tar instead of the md5 because I'm trying to keep from having to load all my data again, does that make a difference?
[Epic 4G Android Development] gkhorn:
works

Updated from recovery, and wiped.

Works great for me. Upgrade from a stock phone - no mods. GPS, phone call, camera, internet browsing, video playback, and flash player all works.

So far so good.
[Epic 4G Android Development] socross:
Thanks!

*Phew!*

Ok, got Odin to work, but only flashing the big file that wipes all my data. Not that big a deal, since it's all backed up anyways.

Now that I know what to do, i'm going to try and flash 2.2 from the factory stock and see if I can get the GPS to work.

Thanks for your help! :)
[Epic 4G Android Development] rcastel2:
I guess you answered your own question about whether the .tar or .md5 makes a difference :)

Can you report your results to see if you get GPS to work? I haven't tried it yet cause of the issues I had in doing it and just glad to have GPS working on 2.1
[Epic 4G Android Development] socross:
Yepper, I'll post once I see if it worked or not.
[Epic 4G Android Development] socross:
Well, so far no luck putting DK28 on there using Odin. I got the md5 file, I put it in the pda slot with no pit file like it says, and I get:

<OSM> MD5 hash value is invalid

<OSM> SPH-D700-DK28-8Gb-REL.tar.md5 is invalid.

<OSM> End...

Of course - now I can't seem to get GPS to run on 2.1 either! *facepalm*
[Epic 4G Android Development] rcastel2:
Before you start downloading, do you currently have a GPS lock using google maps? If yes, try these steps. If not, try steps I outlined in next post

I would try method 1 first because it is easier instead of doing the DK28 .md5 file which wipes everything out

Method 1:

1) Transfer http://android.clients.google.com/p...0/1506bdf2e04b.update-SPH-D700_DI18ToDK28.zip to your sd card

2) Boot phone into recovery by turning phone and pressing volume down, camera, and power

3) When in recovery mode, select Update zip from sdcard

4) install DK28.zip

Method 2: Try downloading this DK28 file. This is the original one:

http://www.multiupload.com/A4HRBSEB7X
[Epic 4G Android Development] rcastel2:
Make sure you have a clear view of the skies for GPS to track while running DI18 because I had to go outside for it to track correctly. Let me know..

If that doesn't work, found these steps on other thread. You have to be on android 2.1 for this to work, it won't work on froyo 2.2:

In your dialer, type *#1472365#

click "Setup" tab

Then:

Operation Mode: (MSBased)

Back out

Starting Mode: (Cold Start)

Back out

Session Type: (Single Fix)

Back out and reboot your phone.
[Epic 4G Android Development] socross:
First, I went outside and was able to get GPS with 2.1.

So, I managed to load 2.2 with that first file you linked, went back outside, and no GPS. I think this is my official end with this method of updating, just going to wait for the OTA.

RCastel, you've been a great help, thanks!! :)
[Epic 4G Android Development] kennethpenn:
Funny funny. I write this guide a couple days ago and today 2.3 is announced.

System dump of 2.3 is here for those who want a look (in the Captivate section).
[Epic 4G Android Development] nickf914:
GPS?!

So the final answer is....no gps? Fml
[Epic 4G Android Development] Whosdaman:
Flash to DI18 first, then to DK28. That'll fix GPS
[Epic 4G Android Development] joeyscar:
Wrong again.
[Epic 4G Android Development] nickf914:
scratch that...
[Epic 4G Android Development] Stoney60:
whoops wrong forum
[Epic 4G Android Development] jasonsf:
Fwiw, factory reset after flashing with update.zip fixed my gps and camera problem. It is a pain reinstalling everything and I lost some data I hadn't backedup. But it works well now.
[Epic 4G Android Development] eigerzoom:
oh snap i obviously didn't look hard enough

the memo app is listed in titanium...just wasn't green

i had driver issues since i got this phone

screw all these online driver downloads

i recommend getting the drivers straight from the samsung site

they worked for me (windows server 2008 x64)

http://www.samsung.com/us/support/downloads/SPH-D700ZKASPR

this is a no-brainer

are you going to get your drivers from joephilly420 or from the manufacturer of the device

come on people

and no...i'm not racist...i'll smoke marijuana with anyone
[Epic 4G Android Development] SweetYoungLady69:
please help

I think I really messed up can someone take some time out to help walk me through this? I know I'm pretty pathetic sounding but I need help! Thx