
I started patching touchwiz rom with miui for more stable rom..And i will join miui contest with some chance
I will post all things here. It's still Alpha.
MIUI CONTEST CALENDAR
EDIT : TIME EXTENDED !!!
Port:Aug.1—Sep.15, 2013* Contestants port MIUI ROM in compliance with the rules
Submit:Sep.16—Oct.31, 2013* Contestants submit ROMs following the procedure
Distribute:Nov.1—Nov.30, 2013* Contestants distribute their ROMs for downloading, and wait for the final count
Final Count:Dec. 1—Dec.5, 2013* Contestants will be ranked by the amount of their ROMs’ active users
Winner Announced:Dec.6, 2013
MIUI PATCH ROM PROGRESS FOR I9500
MIUI PATCHROM TOP OF CYANOGENMOD BASE (4.3 / CM10.2)
-Framework-res.apk Patching - Done
-framework-miui-res.apk for i9500 - Done
-framework.jar Patching -WAIT
-framework2.jar Patching - WAIT
-services.jar Patching - Done
-android.policy.jar Patching - Done
Conflicts Fixed -- NO
BOOTING
---------------------------------
MIUI PATCHROM TOP OF TOUCHWIZ BASE
-Framework-res.apk Patching - Done
-framework-miui-res.apk for i9500 - Done
-framework.jar Patching - ALMOST IMPOSSIBLE
-framework2.jar Patching - Done.
-services.jar Patching - Done.
-android.policy.jar Patching - Done.
Conflicts Fixed -- HALF
BOOTING
---------------------------------
31.08.2013 11.07 : I'm updating miui repos.maybe that caused services.jar problem
31.08.2013 11:53 : Services.jar Problem Fixed
31.08.2013 12:11 : android.policy.jar patching problems : "[14400,4] All register args must fit in 4 bits"
31.08.2013 12:24 : looks like i fixed android.policy.jar re-compiled.
31.08.2013 12.35 : looks like patchrom f*ked all framework.jar .so it shows lot of multiple definitions more than 20
31.08.2013 12.40 : some fixes on framework.jar
31.08.2013 12.56 : IStatusBarService$stub.smali still has problems. i fixed some conflicts.
31.08.2013 13:39 : Some more fixes on statusbarservice.
31.08.2013 16:40 : Passing framework.jar and will test other all things.. except framework.jar for now
31.08.2013 17.07 : framework2.jar patched
31.08.2013 17:36 : MIUI Patchrom created without framework.jar..So i will try with samsung's framework.jar
31.08.2013 17:38 : Creating MIUI ZIP File with samsung's framework.jar .. MIUI Developer alpha 1
31.08.2013 17:58 : MIUI Developer Alpha 1 - Causes bootloop..
31.08.2013 18:03 : Going back to framework.jar patching
31.08.2013 18:51 : Re-patching framework.jar
31.08.2013 18:54 : Added ADB Service to build.prop
31.08.2013 18:56 : While Touchwiz based MIUI repatching, i'm checking cm based patch
31.08.2013 19:45 : Framework.jar problems still continuing.. trying fix
31.08.2013 20:29 : Understanding Framework structure. removing duplicate methods
31.08.2013 20.45 : sswitch_14 duplicate fixed.
31.08.2013 20.51 : IStatusBar$Stub sswitch_10 duplicate fixed.
31.08.2013 20.58 : catch_miui_0 not defined. conflict problem ignoring
31.08.2013 21.17 : method index is too large. separating frameworks
31.08.2013 21.58 : Calculating Method index.
31.08.2013 22.07 : WTF ! framework.jar ok but framework2.jar is bigger than framework.jar so method index is too large. again
31.08.2013 22.10 : Creating framework3.jar
31.08.2013 22:23 : Probably all problems fixed but maybe i placed wrong some frameworks
31.08.2013 22:35 : System Folder is ready
31.08.2013 22:37 : Ramdisk ready with new bootclasspath
31.08.2013 22:42 : ROM ZIP Creating..
31.08.2013 23:00 : ROM ZIP READY. Tested but bootlooping. enabling adb for bug smashing MIUI Developer Alpha 2
31.08.2013 23:23 : Wrong framework3 creation.... trying to fix
31.08.2013 23:36 : Re-created framework.jar , framework2.jar and framework3.jar
31.08.2013 23:38 : MIUI Developer Alpha 3 -- ZIP Creating. Lets test
31.08.2013 23:55 :
Code:
E/dalvikvm( 9170): Requested: Landroid/os/SystemClock;._setCurrentTimeMillis:(J)Z
E/JNIHelp ( 9170): RegisterNatives failed for 'android/os/SystemClock', aborting
F/libc ( 9170): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thr....
01.09.2013 00.06 : I forgot to wipe data/cache
01.09.2013 00.19 : Searching for a fix.. where is that wrong code?!??
01.09.2013 00:26 :
Code:
###android/os/SystemClock.smali
.method public static native setCurrentTimeMillis(J)Z
.end method
01.09.2013 01:43 : Changing base to 4.2mtk ... for testing.. hope this one works
01.09.2013 01:47 : Framework-res.apk completed on 42mtk
01.09.2013 01.48 : framework-miui-res.apk completed on 42mtk
01.09.2013 01:49 : services.jar problem fixes
01.09.2013 02:02 : services.jar problem fixed but i think i did something different.
01.09.2013 02:18 : android.policy.jar failed. i copied 4.1_2 PATCHED ONE.. mtk didnt patch correctly
01.09.2013 02:26 : framework.jar fixed... but i need sleep and time for 4.2mtk
01.09.2013 02:32 : framework.jar - method index is too large.
01.09.2013 12:56 : Good morning
01.09.2013 13:48 : Mtk port finished zip created.
01.09.2013 18:25 : mtk base screwed up all things.
01.09.2013 18:26 : going back to jellybean patchrom
01.09.2013 22:25 : conflicts fixing on framework.jar
01.09.2013 22:34 : *** 48,53 ****___CREATED SSWITCH_17 BECAUSE OF CONFLICT
01.09.2013 22:38 : :cond_miui_1 NOT DEFINED FIXED DOGA OZKARACAABATLIOGLU _ PATCH_OK -CONFLICT FIXED -ResolverActivity$ResolveListAdapter.smali.rej
02.09.2013 01:38 : bootloop problem found .wrong framework patching because of me.. trying to fix bad framework jars
02.09.2013 01:51 : Completely bootclasspath and jar structure problem.. i couldnt re-pack dex to jar file correctly..
02.09.2013 01:52 : if i can patch these jars correctly, miui should be boot
02.09.2013 11:50 : Good Morning . and i'm deleting some samsung things in framework.jar
02.09.2013 14:57 : Framework.jar Patching COMPLETELY FAILED... MIUI PATCHROM THING SUCKZ.. !!! -- WHY MIUI WHY ?!?! PLEASE RELEASE SOURCE CODES..
02.09.2013 15.06 : STARTING FROM BEGINNING WITH CYANOGENMOD BASE
02.09.2013 17.03 : Main things patched
02.09.2013 23:00 : ALL PATCHROM THINGS CANCELLED BECAUSE OF WRONG PATCHING FOR I9500 - SO I WILL PORT WITHOUT PATCHROM. I WILL PORT FROM ANOTHER DEVICE
02.09.2013 23:02 :
02.09.2013 23:14 : Port Completed got that log
Code:
D/dalvikvm( 5396): Unable to stat classpath element '/system/framework/voip-comm
on.jar'
D/dalvikvm( 5396): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 5396): Added shared lib libjavacore.so 0x0
E/dalvikvm( 5396): ERROR: couldn't find native method
E/dalvikvm( 5396): Requested: Lorg/apache/harmony/xnet/provider/jsse/NativeCrypt
o;.EVP_PKEY_new_RSA_SECPkcs11:()I
E/JNIHelp ( 5396): RegisterNatives failed for 'org/apache/harmony/xnet/provider/
jsse/NativeCrypto', aborting
03.09.2013 00:26 : i have to go school tomorrow.i need sleep
03.09.2013 13:56 : Started again and found missing method in core.jar.
03.09.2013 19:12 : looks like i should change androidruntime .... so it will be more stable..i'm trying now
07.10.2013 08:32 : I'm back for compiling cm10.1.3(android 4.2.2) and miui released new patchrom for 4.2.2 and maybe we have some chance now. and porting time extended.
Last edited: