[ROM][1.8.5] Samsung Epic 4G [Official Thread][We're Back!]


did you download all the things from the sdk when you ran it?

Epic 4g hardware this is GB.

It booted, but its normal android not miui not sure how to change this.
To use a rom you have to nandroid backup then copy backup files. At least this is the easiest way.
 
This will give you Android 1.6 with all the Google applications, Root access.
I never found one place where all this information is all together, so that is why I compiled this together.
Now anyone can do this themselves.

Thanks to all the hard work others have done before this.


1.
First Root your phone and install a new Recovery image, either Amon Ra or Cyanogens Recovery image.
Instructions for one-click root: http://theunlockr.com/2009/08/22/how...-in-one-click/

2.
Download the Android 1.6 System image from
http://developer.htc.com/google-io-device.html

extract the contents of signed-google_ion-img-14721.zip.

3.
You now need to extract the contents of system.img using a tool called unyaffs. The source code is here:
http://code.google.com/p/unyaffs/downloads/list
Or download a prebuilt win32 version here.
http://jiggawatt.org/badc0de/android/index.html
Note you may also need cygwin1.dll and cygz.dll (zlib0 package). Found at cygwin.com

Of course if you already have Cygwin installed with the GCC packages, you can just compile it yourself. Then also
if you comment out the line 67 to "// symlink(oh->alias, full_path_name);"
then it will not create the copies of the symbolic link file, and you will not have to worry about deleting duplicate
symbolic link files later.


Now in the directory where system.img exists, create a new directory called "system"
go into the "system" directory.
type the following command:
unyaffs ..\system.img

That should extract all the files from the system.img file into the system directory.

4.
Now we just need to clean up some items. Since the system.img is a linux file system, it has symbolic
links built into it, but when we extracted it, it just created duplicate files, if you used the prebuilt unyaffs.exe.
So we can just delete the duplicates and have a script recreate the symlink on install.

So we need to delete some extra files from the system\bin directory.
Run the attached DeleteExtras.bat file from the same directory where system.img is in.
If you notice, all the files it deletes are 28 byte files, and if you open them in notepad only contain:
"!<symlink>toolbox..."
And we will remake the symbolic link when it is installed.


5.
Now from the directory where the system.img is, enter the following commands
mkdir META-INF
mkdir META-INF\com
mkdir META-INF\com\google
mkdir META-INF\com\google\android


Now copy the included file "update-script.txt" into the "META-INF\com\google\android" directory
and RENAME it to just "update-script".
This update-script gets run to recreate the symbolic links.

Not sure if these two are needed but they are in some custom ROMs here:
Copy the two files "fix_permissions" and "flash_image" to the "system\bin" directory.


6.
-- Optional --
These add root and Superuser access to the ROM, plus the Terminal Emulator application.

Copy the file "su" from Cyanogen's rom to the folder "system\bin"
Copy the file "Superuser.apk" to the folder "system\app"
Copy the file "Term.apk" to the folder "system\app"

You can also replace the "system\etc\apns-conf.xml" with a more complete one from here:
http://forum.xda-developers.com/showthread.php?t=547718
or here
http://docs.google.com/Doc?docid=0AZ...g3ejN3eg&hl=en

Turn data roaming off by default by editing line in the build.prop file:
ro.com.android.dataroaming=false

Also to fix the Market program to show "Protected" applications change the ro.build.fingerprint line to the following:
ro.build.fingerprint=tmobile/opal/sapphire/sapphire:1.5/COC10/150449:user/ota-rel-keys,release-keys

Only phones with a fingerprint of a "released" device can access some market applications.

--------------

7.
Now we just need to create a ZIP file for the final ROM

Zip up the following file and two folders:

boot.img
META-INF
system


8.
Now sign the zip file.
See here how to sign a ZIP file for flashing it.
http://androidforums.com/developer-1...ning-roms.html

9.
Copy it to your SD card, boot into recovery, wipe, apply the update, Reboot.
You are now running Android 1.6!
Attached Files
File Type: txt DeleteExtras.txt (1.2 KB, 116 views)
File Type: txt update-script.txt (2.3 KB, 142 views)

Not my work, just a copy and paste.
 
Few bugs with chopped version..

- When editing folder names, the two buttons at the bottom are cut off
- Wifi is spotty, connects sometimes, sometimes it doesn't
- torch button (known problem i guess)
 
Alright good news, screen lag on call, is because the kernel is set to conservative for power, install setcpu and set to ondemand, and it works fine. (This happens on most roms when its set to conservative)

More bugs:

-Built-in wifi tether
-Built-in usb tether
-Speaker phone in-call volume
-Bluetooth wont turn on
-SD card is a little bit buggy when mounting usb
-Led charge indicator, sms, email
-MMS (but we knew that)
-SMS getting received twice (better than not at all)
 
yea we knew about most of those, with the exception of the editing folder names. trying to fry the bigger fish first.

wifi tether and bluetooth are kernel fixes. initramfs.

havent notice sd card being buggy.
 
Alright good news, screen lag on call, is because the kernel is set to conservative for power, install setcpu and set to ondemand, and it works fine. (This happens on most roms when its set to conservative)

What kernel were you on? I tried using setcpu on ondemand, and nothing changed, still have lag. I'm on chopped up miui
 
Me too set the min to 200 and have max at 1000 it works the best. um i need to test it some more but it seemed fine.
 
This i what we got last night for GB:

attachment.php

Can you upload this?
 
what in the blue hell does .. " E: Error in /sdcard/download/MIUIno_datarestore.zip .... (status 4) Istall Aborted... What is status 4???
 
is there a GB version somewhere the one earlier in the forums is 2.2

Does modem make a difference for this rom i know in normal samsung roms it does.

Led is working now lol.
 
Someone wanna try and flash this and let me know what works. It is MIUI with the cm kernel.

Flashed this over chopped up, no wipe. 3g is fast and working well. still can't answer calls, due to screen lag. Rom seems snappy. No wifi
Edit: bluetooth works, but is very staticky
 
Alright no porb, one thing, will you check you about phone then more info and tell me the baseband version preferably chopped up

Leak?
 
My baseband is EC05...isn't that just the modem? I wonder will the EB13 modem work better?

Sent from my Samsung-SPH-D700 using the miui-dev.com Forums App