[Epic 4G General] Lcstyle:
So I received the OTA Update for my Samsung EPIC 4G stock build Eclair DI18.

Unfortunately it did not install due to missing packages.

I was rooted.

I was not running any custom roms,

I did use the SDX Stock App Remover to remove "nascar",

I have seen other people having problems because they are missing the "Asphalt Demo" apk.

Unfortunately if you remove Nascar or Asphalt you will get that error message when you try to install the OTA EC05 update, as well as if you try the manual method of upgrading by copying the update.zip. This happens because the installer is trying to verify packages for the upgrade (which you no longer have).

I went nuts considering all the different methods I could take to apply this update. I wanted the quickest and easiest method, and one that would leave my data intact.

So if this matches your situation,

you don't have to reflash back to stock DI18 to recover a couple of missing stock apps and you don't need Odin or the 255 mb tar ROM that's out there (SPH-D700-DI18-8Gb-REL.tar.md5) etc. with this method.

So here is the method I used to restore my Stock Sprint apps so I could get the installer to run.

Before you start, make sure you know which packages you need to restore back to your /system/app folder. (unfortunately, their is no way of knowing which package(s) you're missing if you don't remember what you removed. You could cross reference what you have with someone who has all the stock apps OR the easiest way is to try to apply the update and write down or remember which apk it is complaining about. Chances are you already know which APK you're missing and that's why you're here. If you removed multiple stock apps, then you might have already guessed that you are going to have to restore each apk one by one, and so you may need to go through this process more than once to discover exactly which apk files are missing.)

These instructions also assume that you've already copied the DI18-EC05 update.zip file found in this thread http://xdaforums.com/showthread.php?t=1005593 to your sdcard.

Download the stock Sprint apk packages from:

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

The file you are looking for that is linked from that thread is:

http://www.nubecoder.com/files/andro...store_EB13.zip (Even though these are EB13 app's it doesn't matter that you're on DI18, we just need the file to be there so we can trick the installer into running.)

Unzip this file and copy the apk's you need to your sdcard by first mounting your android phone in mass storage mode (usb debugging disabled). After you have copied the apk's to your sdcard, you will need to remount your system folder and copy the apks to that /system/apps location for the update installer to recognize it (simply installing the app to your phone won't cut it).

To continue you will need the Samsung drivers ( I am not providing links because this can be found anywhere on the web. My particular Samsung driver archive is called "usb_drivers_GalaxyS_x64.zip" (reboot your system after installing if necessary).

You will also need the "one click root" zip archive (or any other package that can give you access to the adb shell.) I used the adb shell from the "epic aio one click root" file archive "epic.aio.v1.13.zip".

Enable USB Debugging mode in your phone, and then plug your phone into usb.

Follow the instructions below to remount your /system partition as rw so that you can copy back (to /system/app) the missing apk packages that you've already copied to your sdcard.

Navigate to the location where your adb executable is installed:

1. cd C:\android-sdk-windows\tools> adb shell

2. $ su

3. # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

4. # cd /system/app

5. # ls (make sure it is mounted)

6. # cd /sdcard

7. # ls *.apk (show the apk package filenames)

8. # cp "apkfilename" /system/app (copy from current working directory [/sdcard] to /system/apps)

On step 8, replace "apkfilename" with apk's you want to copy. Repeat process as many times as necessary to copy back all the default apk's that you removed.

Taken partially from http://androidforums.com/2079717-post6.html

After you have copied all of your stock apk's back, simply unplug your phone, and reboot. Once you have rebooted press and hold volume down, power and camera buttons until the recovery menu pops back up, then simply select install update.zip

This time the installer will not error out on missing packages.

If you want to root your phone after installing the EC05 Stock Update:

http://forum.androidcentral.com/epi...optional-ext4-new-updated-2-a.html#post760733