FORUMS

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android … more

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through … more

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to … more

I/O Summary: Google Now on Tap

Google is all about organizing the world’s information to make it universally useful, and these … more

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

Thanks Meter: 133
 
By jimakos29, Senior Member on 7th February 2012, 05:30 PM
Post Reply Subscribe to Thread Email Thread
18th February 2012, 03:29 PM |#21  
OP Senior Member
Flag Kilkis
Thanks Meter: 133
 
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,599
 
More
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: 133
 
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
 
More
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
 
More
Hi Gerrett ! How there is a work the friend?
21st February 2012, 01:19 PM |#26  
Senior Member
Thanks Meter: 3,599
 
More
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,599
 
More
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: 133
 
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,599
 
More
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,599
 
More
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