Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,559 Members 41,059 Now Online
XDA Developers Android and Mobile Development Forum

How to port MIUI4 to the Samsung Epic 4G from the Samsung Fascinate

Tip us?
 
MДЯCЦSДИT
Old
#1  
MДЯCЦSДИT's Avatar
Recognized Developer - OP
Thanks Meter 4,621
Posts: 6,129
Join Date: Nov 2010
Location: in a box

 
DONATE TO ME
Default How to port MIUI4 to the Samsung Epic 4G from the Samsung Fascinate

-Download the latest Cyanogenmod 9 for the Samsung Epic 4G and extract it to a folder called MIUI-port. Also extract a second copy to a folder named EPIC-CM-UNMODDED

-Download the latest MIUI for the Samsung Fascinate and keep it open in a file manager

-Delete the folders ‘/system/framework/’ and ‘/system/app/’ from your MIUI-port folder you made.

-Copy the folders ‘/system/framework/’, ‘/system/media/’ and ‘/system/app/’ from the Samsung Fascinate MIUI that you downloaded into your MIUI-port folder. If asked, overwrite.

-Copy the files ‘/system/lib/libandroid_runtime.so’, ‘/system/lib/liblbesec.so’, and ‘/system/lib/content-types.properties’ from the Samsung Fascinate MIUI into the MIUI-port rom.

-Copy the file ‘/system/xbin/invoke-as’ from the Samsung Fascinate MIUI into the MIUI-port rom.

-Copy the files ‘/system/etc/telocation.db’ and ‘/system/etc/yellowpage.db’ from the Samsung Fascinate MIUI into the MIUI-port rom.

-Replace ‘/META-INF/com/google/android/updater-script’ in MIUI-port with this one: http://goo.gl/9UhXR

-Open ‘/system/build.prop’ from MIUI-port in Notepad ++ and change the
Code:
following ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x //version
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
-De-compile the MIUI ‘/system/framework/android.policy.jar’ and open ‘\smali\com\android\internal\poli cy\impl\PhoneWindowManager.smali’ then try reversing the variables 0x* near ‘.line 1094’ and ‘.line 1096’. For example, make 0x1 0x0 and 0x0 0x1.

-In the same file, mess around with stuff using this as a reference to fix the software keyboard: http://goo.gl/9UhXR

-Recompile android.policy.jar and replace it with the one in ‘/system/framework/’ in MIUI-port

-De-compile /system/framework/framework.jar and copy all files from com->android->telephony->cdma->sms from CM9.

-De-compile /system/framework/framework.jar and copy all files from com->google->mms from CM9. Then swap the mms_config.xml located in /xml from the one found in CM9(I am going to be messing around with the MMS.)
Decompile /system/framework/framework.jar on both CM9 and MIUI. Then go into com\android\internal\telephony\cdma and swap CdmaDataConnectionTracker.smali from CM9 to MIUI.

-Next go to folder com\android\internal\os and find ZygoteInit.smali. Swap from CM9 to MIUI. **Still getting ZygoteInit errors.

-Zip up the MIUI-port folder and flash!!








You can find the latest guide and documentation here

Guide by Marcusant and Darkierawr.

Work by the Epic CM team, the CM team, the Fascinate MIUI team, the Chinese MIUI team, the MIUI.US team, the G2 MIUI team, and others. If I forgot you, please say!
The Following 7 Users Say Thank You to MДЯCЦSДИT For This Useful Post: [ Click to Expand ]
 
Death259
Old
#2  
Death259's Avatar
Senior Member
Thanks Meter 303
Posts: 646
Join Date: Nov 2010
Muchas gracias. I will use this to update the MIUI Builder
Epic 4g MIUI ICS Builder

Epic 4g MIUI ICS Installer and Customizer

If you feel I have helped you, then why not hit the thanks button.

Wanna help increase the size of my dropbox? Go here and signup
 
hotwired34
Old
#3  
Senior Member
Thanks Meter 26
Posts: 159
Join Date: Aug 2007
Quote:
Originally Posted by marcusant View Post
-
You can find the latest guide and documentation here

Guide by Marcusant and Darkierawr.

Work by the Epic CM team, the CM team, the Fascinate MIUI team, the Chinese MIUI team, the MIUI.US team, the G2 MIUI team, and others. If I forgot you, please say!
I gotta tell you...It's amazing how you guys figure this s*!t out. My hat's off to you. Thank you for everything!
 
younggangsta_s
Old
(Last edited by younggangsta_s; 28th February 2012 at 08:51 AM.)
#4  
Senior Member
Thanks Meter 7
Posts: 315
Join Date: Feb 2011
Nice post.
 
omair2005
Old
#5  
omair2005's Avatar
Senior Member
Thanks Meter 630
Posts: 3,357
Join Date: Jul 2007
excellent guide marc! Could this guide be used for porting the latest GB MIUI release?
Samsung Galaxy S III Verizon
 
MДЯCЦSДИT
Old
(Last edited by MДЯCЦSДИT; 28th February 2012 at 06:13 PM.)
#6  
MДЯCЦSДИT's Avatar
Recognized Developer - OP
Thanks Meter 4,621
Posts: 6,129
Join Date: Nov 2010
Location: in a box

 
DONATE TO ME
Quote:
Originally Posted by omair2005 View Post
excellent guide marc! Could this guide be used for porting the latest GB MIUI release?
you can try. Ignore the Android.policy stuff for 2.3. I haven't tested this on 2.3.

Edit: also use cm7 instead of 9. If you need help, just pm me.

Sent from my SPH-D700 using Tapatalk
The Following User Says Thank You to MДЯCЦSДИT For This Useful Post: [ Click to Expand ]
 
Death259
Old
#7  
Death259's Avatar
Senior Member
Thanks Meter 303
Posts: 646
Join Date: Nov 2010
Quote:
Originally Posted by omair2005 View Post
excellent guide marc! Could this guide be used for porting the latest GB MIUI release?
If you really want a guide for porting GB Miui, I can probably put one together.
Epic 4g MIUI ICS Builder

Epic 4g MIUI ICS Installer and Customizer

If you feel I have helped you, then why not hit the thanks button.

Wanna help increase the size of my dropbox? Go here and signup
The Following User Says Thank You to Death259 For This Useful Post: [ Click to Expand ]
 
omair2005
Old
#8  
omair2005's Avatar
Senior Member
Thanks Meter 630
Posts: 3,357
Join Date: Jul 2007
Quote:
Originally Posted by Death259 View Post
If you really want a guide for porting GB Miui, I can probably put one together.
That would be great. There were many fixes since our last gb release, so I would like to make one with the latest cm nightlies..

Sent from my SPH-D700 using Tapatalk
Samsung Galaxy S III Verizon
 
Death259
Old
#9  
Death259's Avatar
Senior Member
Thanks Meter 303
Posts: 646
Join Date: Nov 2010
Quote:
Originally Posted by omair2005 View Post
That would be great. There were many fixes since our last gb release, so I would like to make one with the latest cm nightlies..

Sent from my SPH-D700 using Tapatalk
I just realized bxfxf did a guide a while back, which i used to make my MIUI Builder. Let me know if this works for you: http://forum.xda-developers.com/show....php?t=1347201
Epic 4g MIUI ICS Builder

Epic 4g MIUI ICS Installer and Customizer

If you feel I have helped you, then why not hit the thanks button.

Wanna help increase the size of my dropbox? Go here and signup
 
omair2005
Old
#10  
omair2005's Avatar
Senior Member
Thanks Meter 630
Posts: 3,357
Join Date: Jul 2007
Quote:
Originally Posted by Death259 View Post
I just realized bxfxf did a guide a while back, which i used to make my MIUI Builder. Let me know if this works for you: http://forum.xda-developers.com/show....php?t=1347201
I think it needs to be updated, if you could re-write it that would be appreciated!
Samsung Galaxy S III Verizon

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes