Post Reply

MIUI patch rom. Building our own (true)MIUI. Not MIUI like

OP jimakos29

18th February 2012, 03:29 PM   |  #21  
OP Senior Member
Flag Kilkis
Thanks Meter: 130
 
440 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by Gerrett

nope ..

mh, systemui and framework seems to be a problem with cm7 ..

This is where i stack at Stock rom :

Building Framework.jar :

Code:
cp -r framework.jar.out/ .build/framework
/home/nimrod/MIUI-Vengeance/MiPatcher/tools/add_miui_smail.sh .build/framework_miui .build/framework
/home/nimrod/MIUI-Vengeance/MiPatcher/tools/apktool b .build/framework .build/framework.jar
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: method index is too large.
	at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
	at org.jf.dexlib.Item.addExceptionContext(Item.java:176)
	at org.jf.dexlib.Item.writeTo(Item.java:119)
	at org.jf.dexlib.Section.writeTo(Section.java:119)
	at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
	at brut.androlib.src.DexFileBuilder.getAsByteArray(DexFileBuilder.java:75)
	at brut.androlib.src.DexFileBuilder.writeTo(DexFileBuilder.java:58)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
	at brut.androlib.Androlib.buildSources(Androlib.java:179)
	at brut.androlib.Androlib.build(Androlib.java:170)
	at brut.androlib.Androlib.build(Androlib.java:154)
	at brut.apktool.Main.cmdBuild(Main.java:182)
	at brut.apktool.Main.main(Main.java:67)
Caused by: java.lang.RuntimeException: method index is too large.
	at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102)
	at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
	at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
	at org.jf.dexlib.Item.writeTo(Item.java:116)
	... 12 more
code_item @0x1caf34 (Landroid/net/NetworkInfo$DetailedState;->values()[Landroid/net/NetworkInfo$DetailedState;)

make: *** [.build/framework.jar] Fehler 1
nimrod@nimrod-Ubuntu:~/MIUI-Vengeance/MiPatcher/p920$
any ideas ?

to tell you the truth I have no idea. I am no dev myself (though I wish I were). I just found that thread and post it here. I did try following the guide but got me nowhere. I do remember reading though that MIUI suggested using the patcher on stock roms preferably and no cm builds. Dont know why though.
Last edited by jimakos29; 18th February 2012 at 03:32 PM.
18th February 2012, 06:06 PM   |  #22  
Senior Member
Thanks Meter: 3,578
 
1,823 posts
Join Date:Joined: Mar 2011
This is on stock

Gesendet von meinem LG-P920 mit Tapatalk
19th February 2012, 09:03 AM   |  #23  
OP Senior Member
Flag Kilkis
Thanks Meter: 130
 
440 posts
Join Date:Joined: Oct 2010
More
official documents translated here. It explains many things in detail and hopefully will get you unstuck...
http://forum.xda-developers.com/show...24&postcount=8
20th February 2012, 07:31 AM   |  #24  
Senior Member
Thanks Meter: 116
 
376 posts
Join Date:Joined: Dec 2011
developers there's also this thread to help with porting of mui4, so hopefully it helps to get a mui port for the optimus 3d http://forum.xda-developers.com/show....php?t=1499411
21st February 2012, 10:54 AM   |  #25  
Junior Member
Thanks Meter: 2
 
16 posts
Join Date:Joined: Feb 2012
Hi Gerrett ! How there is a work the friend?
21st February 2012, 01:19 PM   |  #26  
Senior Member
Thanks Meter: 3,578
 
1,823 posts
Join Date:Joined: Mar 2011
Mh porting MIUI with only copy and paste some stuff? Didn't think that this will work.

Quote:
Originally Posted by armarmP920

Hi Gerrett ! How there is a work the friend?

What? Didn't understand what you mean.

Gesendet von meinem LG-P920 mit Tapatalk
26th February 2012, 07:08 PM   |  #27  
Senior Member
Thanks Meter: 3,578
 
1,823 posts
Join Date:Joined: Mar 2011
Find a way to build the framework.jar .. can now build without an error, but its the same now like on cm7 .. all MIUI stuff gets FC .. and its still LG framework ..


Gesendet von meinem LG-P920 mit Tapatalk
The Following User Says Thank You to Gerrett For This Useful Post: [ View ]
26th February 2012, 08:09 PM   |  #28  
OP Senior Member
Flag Kilkis
Thanks Meter: 130
 
440 posts
Join Date:Joined: Oct 2010
More
glad to see that u are still working on it mate. MIUI is totally awesome. I had it running on my x10 and was amazed at it... Hope u work things out cause our phone sure needs something to boost its rep and we need something totally different than the stock crap.
28th February 2012, 01:54 PM   |  #29  
Senior Member
Thanks Meter: 3,578
 
1,823 posts
Join Date:Joined: Mar 2011
Yep i'm still working on it. But all i fixed didn't fix the FCs ..
Tried to Port MIUI to My dell streak based on cm9 .. After 1h i had more running like on the 03D o.O

Gesendet von meinem LG-P920 mit Tapatalk
1st March 2012, 11:26 PM   |  #30  
Senior Member
Thanks Meter: 3,578
 
1,823 posts
Join Date:Joined: Mar 2011
Damn it! Worked 2 days on MIUI for LG and nothing is working .. now i played a bit with cm9 and MIUI v4 on my streak 7 and most is working ..
We realy need cm9 for O3D ^^

Gesendet von meinem LG-P920 mit Tapatalk

The Following User Says Thank You to Gerrett For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes