Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,635 Members 52,943 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
jimakos29
Old
(Last edited by jimakos29; 18th February 2012 at 03:32 PM.)
#21  
Senior Member - OP
Thanks Meter 130
Posts: 439
Join Date: Oct 2010
Location: Kilkis
Quote:
Originally Posted by Gerrett View Post
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.
Hit the thanks button if I helped you...
 
Gerrett
Old
#22  
Senior Member
Thanks Meter 3538
Posts: 1,765
Join Date: Mar 2011
This is on stock

Gesendet von meinem LG-P920 mit Tapatalk
 
jimakos29
Old
#23  
Senior Member - OP
Thanks Meter 130
Posts: 439
Join Date: Oct 2010
Location: Kilkis
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
Hit the thanks button if I helped you...
 
rezzsha
Old
#24  
Senior Member
Thanks Meter 116
Posts: 376
Join Date: 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
 
armarmP920
Old
#25  
Junior Member
Thanks Meter 2
Posts: 16
Join Date: Feb 2012
Hi Gerrett ! How there is a work the friend?
 
Gerrett
Old
#26  
Senior Member
Thanks Meter 3538
Posts: 1,765
Join Date: Mar 2011
Mh porting MIUI with only copy and paste some stuff? Didn't think that this will work.

Quote:
Originally Posted by armarmP920 View Post
Hi Gerrett ! How there is a work the friend?
What? Didn't understand what you mean.

Gesendet von meinem LG-P920 mit Tapatalk
 
Gerrett
Old
#27  
Senior Member
Thanks Meter 3538
Posts: 1,765
Join Date: 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: [ Click to Expand ]
 
jimakos29
Old
#28  
Senior Member - OP
Thanks Meter 130
Posts: 439
Join Date: Oct 2010
Location: Kilkis
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.
Hit the thanks button if I helped you...
 
Gerrett
Old
#29  
Senior Member
Thanks Meter 3538
Posts: 1,765
Join Date: 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
 
Gerrett
Old
#30  
Senior Member
Thanks Meter 3538
Posts: 1,765
Join Date: 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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes