[ROM/DEVELOPMENT/DISCUSSION] MIUI For i9500 [ALPHA/PATCHROM]

Search This thread

doga.ozkaraca

Inactive Recognized Developer
May 10, 2013
902
2,815
San Francisco, CA
dogaoz.com
1106022ii2sfehhocp99i3.png


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 :eek: - NO ! :(

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

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 :eek: - NO ! :(

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

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 :eek: :eek: :eek: :eek: ...kernel needs bootclasspath change
31.08.2013 22:23 : Probably all problems fixed but maybe i placed wrong some frameworks :( :eek: i should test
31.08.2013 22:35 : System Folder is ready :D :p hope it works
31.08.2013 22:37 : Ramdisk ready with new bootclasspath :D added framework3.jar
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....
bootloop and this
01.09.2013 00.06 : I forgot to wipe data/cache :D remembering @Grarak 's suggestions about 1 month ago :p LOL :D
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
its exists. what is problem ?!? :(
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 :) :) i'm happy because most important one looks patched gr8 :)
01.09.2013 02:32 : framework.jar - method index is too large. :( lets separate tomorrow
01.09.2013 12:56 : Good morning :p lets start mtk port again :D
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 :) DOGA OZKARACAABATLIOGLU _PATCH SEEMS OK
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 :( i cannot separate framework ...
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
Probably fixable :) i didnt get any framework.jar problems :) i will change ril things in framework.jar now. :)
03.09.2013 00:26 : i have to go school tomorrow.i need sleep :D i wont work today much on miui :) :) but after adding missing methods .probably miui will boot :) good night xda community :D :highfive: :p
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:

Mnt-XDA

Senior Member
Aug 6, 2013
357
405
Hi Doga Buddy, :good::good::good:

If you wish, I can try to help you to find solution of issues.
For that I have to setup initial development env and setup tools and also have to get the development that you did so far.
Basically need to learn initial things from you to catch up with your development.

And hopefully I will contribute a little in your MIUI Porting...

Thanks
 

rgshah3

Senior Member
Apr 19, 2011
1,714
439
Mumbai
Amazing! I will install it! Won't mind voiding my warranty for MIUI :D

Sent from my GT-I9500 using xda premium
 

marcus7775

Senior Member
Feb 20, 2013
116
18
Keep up man good work we support you works as 9500 owners ;)

Sent from my GT-I9500 using XDA Premium 4 mobile app
 

doga.ozkaraca

Inactive Recognized Developer
May 10, 2013
902
2,815
San Francisco, CA
dogaoz.com
Last edited:

doga.ozkaraca

Inactive Recognized Developer
May 10, 2013
902
2,815
San Francisco, CA
dogaoz.com
Doga please use 42-mtk

with jellybean branch you cannot get it to work.

If you need dualboot to keep your current rom, contact me I can give you patches

dualboot for cm slim and carbon ?? :) :)

do i need include dualboot feature in all rom file .. and i have an idea grarak :) maybe it can help you i dont know . i realized now :p :D you can create patch about 10 kb :) after installing that cm roms . user can run that 10 kb zip file and script can movesystem folder to data/somefolder :) and then it can format system folder for example that update script may save us from include update-script in whole rom. :) just a suggestion :p :D

and mtk one doesnt decompile all things correctly :( but i will try :) i will change some miui codes :)
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,496
Vienna
dualboot for cm slim and carbon ?? :) :)

do i need include dualboot feature in all rom file .. and i have an idea grarak :) maybe it can help you i dont know . i realized now :p :D you can create patch about 10 kb :) after installing that cm roms . user can run that 10 kb zip file and script can movesystem folder to data/somefolder :) and then it can format system folder for example that update script may save us from include update-script in whole rom. :) just a suggestion :p :D

and mtk one doesnt decompile all things correctly :( but i will try :) i will change some miui codes :)

No I was think about dualboot your current rom and your experimental miui rom, so you can keep your daily use rom without to make backups.
We have recovery experts on board they will modify there recoveries to make it dual compatible with romswitcher. Anyway thanks for the idea.
 

doga.ozkaraca

Inactive Recognized Developer
May 10, 2013
902
2,815
San Francisco, CA
dogaoz.com
No I was think about dualboot your current rom and your experimental miui rom, so you can keep your daily use rom without to make backups.
We have recovery experts on board they will modify there recoveries to make it dual compatible with romswitcher. Anyway thanks for the idea.

after booting miui it can be awesome :p :D but i must boot miui first and then i can use your dualboot for fixing bugs :) :good: :highfive:

also i started using mtk 42 as base. :) hope that one works :p :D
 

NoobieUser

Senior Member
Jun 10, 2013
251
58
Wait are you gonna release this rom on October 1st or once done then you release it?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    1106022ii2sfehhocp99i3.png


    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 :eek: - NO ! :(

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

    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 :eek: - NO ! :(

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

    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 :eek: :eek: :eek: :eek: ...kernel needs bootclasspath change
    31.08.2013 22:23 : Probably all problems fixed but maybe i placed wrong some frameworks :( :eek: i should test
    31.08.2013 22:35 : System Folder is ready :D :p hope it works
    31.08.2013 22:37 : Ramdisk ready with new bootclasspath :D added framework3.jar
    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....
    bootloop and this
    01.09.2013 00.06 : I forgot to wipe data/cache :D remembering @Grarak 's suggestions about 1 month ago :p LOL :D
    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
    its exists. what is problem ?!? :(
    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 :) :) i'm happy because most important one looks patched gr8 :)
    01.09.2013 02:32 : framework.jar - method index is too large. :( lets separate tomorrow
    01.09.2013 12:56 : Good morning :p lets start mtk port again :D
    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 :) DOGA OZKARACAABATLIOGLU _PATCH SEEMS OK
    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 :( i cannot separate framework ...
    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
    Probably fixable :) i didnt get any framework.jar problems :) i will change ril things in framework.jar now. :)
    03.09.2013 00:26 : i have to go school tomorrow.i need sleep :D i wont work today much on miui :) :) but after adding missing methods .probably miui will boot :) good night xda community :D :highfive: :p
    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.
    7
    1106022ii2sfehhocp99i3.png


    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

    Port:Aug.1—Sep.15, 2013* Contestants port MIUI ROM in compliance with the rules
    Submit:Sep.16—Sep.30, 2013* Contestants submit ROMs following the procedure
    Distribute:Oct.1—Oct.31, 2013* Contestants distribute their ROMs for downloading, and wait for the final count
    Final Count:Nov. 1—Nov.5, 2013* Contestants will be ranked by the amount of their ROMs’ active users
    Winner Announced:Nov.6, 2013

    MIUI PATCH ROM PROGRESS FOR I9500

    MIUI PATCHROM TOP OF CYANOGENMOD BASE

    -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 :eek: - NO ! :(

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

    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 :eek: - NO ! :(

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

    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 :eek: :eek: :eek: :eek: ...kernel needs bootclasspath change
    31.08.2013 22:23 : Probably all problems fixed but maybe i placed wrong some frameworks :( :eek: i should test
    31.08.2013 22:35 : System Folder is ready :D :p hope it works
    31.08.2013 22:37 : Ramdisk ready with new bootclasspath :D added framework3.jar
    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....
    bootloop and this
    01.09.2013 00.06 : I forgot to wipe data/cache :D remembering @Grarak 's suggestions about 1 month ago :p LOL :D
    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
    its exists. what is problem ?!? :(
    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 :) :) i'm happy because most important one looks patched gr8 :)
    01.09.2013 02:32 : framework.jar - method index is too large. :( lets separate tomorrow
    01.09.2013 12:56 : Good morning :p lets start mtk port again :D
    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 :) DOGA OZKARACAABATLIOGLU _PATCH SEEMS OK
    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 :( i cannot separate framework ...
    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
    Probably fixable :) i didnt get any framework.jar problems :) i will change ril things in framework.jar now. :)
    03.09.2013 00:26 : i have to go school tomorrow.i need sleep :D i wont work today much on miui :) :) but after adding missing methods .probably miui will boot :) good night xda community :D :highfive: :p
    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

    guys . i started working on again ... im building 4.2.2 cm10.1.3 because miui released 4.2.2 based patchrom .so we have more chance about porting miui and submitting time extended till 30th october...
    5
    No I was think about dualboot your current rom and your experimental miui rom, so you can keep your daily use rom without to make backups.
    We have recovery experts on board they will modify there recoveries to make it dual compatible with romswitcher. Anyway thanks for the idea.

    after booting miui it can be awesome :p :D but i must boot miui first and then i can use your dualboot for fixing bugs :) :good: :highfive:

    also i started using mtk 42 as base. :) hope that one works :p :D
    3
    CM Port screwed up too..

    So i asked for plan change to miui contest developer and i got that answer

    miuipatch.jpg

    GREEN LIGHT :p :D that port should be better than patchrom :) i will try
    3
    Doga please use 42-mtk

    with jellybean branch you cannot get it to work.

    If you need dualboot to keep your current rom, contact me I can give you patches