Jump to content

Auto-LiMPoT -- A tool for automatic MIUI porting


Guest Master_T

Recommended Posts

Guest Master_T

Auto-LiMPoT: the Automated Liquid Miui Porting Tool

Hi guys.

I had some free time on my hand, so I decided to try and automate the guide written by Lens_Flare on "how to port a MIUI N1 rom to liquid".

The result is Auto-LiMPoT: the Automated Liquid Miui Porting Tool !

30032012214816.jpg

30032012213959.jpg

What it does:

It takes as input a working MIUI rom for Liquid (preferred would be the latest version by either me, Lens_Flare or iKrautDroid) and the latest MIUI rom for the N1 (Nexus One) and creates a working port of the N1 rom for the liquid (hopefully :D)

How to use it:

Just select the 2 input rom and an output file name for your port, click "Build Rom" and cross your fingers :)

Requirements:

The tool requires both Java and .NET v4.0 installed on the machine to work

Special thanks:

Thanks to Lens_Flare for his guide, iKrautDroid for stimulating my renowned interest in MIUI and all of this awesome community... you guys are great! smile.gif

IMPORTANT NOTES/BUGS:

This tool is HIGHLY UNTESTED (I've only tested it to do one port: 2.3.16 --> 2.3.23, so if you encounter any bugs, let me know!

Also: it is not guaranteed to work with the next MIUI release... the only way to test that is to try ;)

Sourcecode, Download link & website:

https://autolimpot.codeplex.com/

(click on "downloads" to download the tool ready to use, sourcecode is a bit messy at the moment)

CHANGELOGS:

Current:

v.1.1b

*Proper fix for failed java check (no more crash on NullReferenceException)

Older:

v.1.1

+Now patches updater-script with correct packager name and version number

+Added option to choose position of java.exe manually if not found automatically

v.1.0

+Initial release

Hope you enjoy

Master_T

Edited by Master_T
Link to comment
Share on other sites

Guest Master_T

Doesn't work, error on java verif.

I have last version of java, .net framework 4, seven x64.

Weird, tho I took the subroutine that searches for java from stackoverflow... I'll try to figure it out, if I can't I'll code a workaround to let you manually select the path to java.exe

EDIT:

Before I look into it, do you have the JRE (Java Runtime Enviroment) or only the JDK (Java development Kit)? Because as of v.1.0 the program only checks for the JRE

Edited by Master_T
Link to comment
Share on other sites

Guest Master_T

Released v.1.1

It allows you to choose the path to java.exe manually if not found automatically

Also now patches updater-script correctly.

Download links are on codeplex

Link to comment
Share on other sites

Guest Master_T

I have the JRE ;)

Same probelm with the 1.1 :/

But v.1.1 asks for the java path manually if you don't have it O.o Can you give me the exact error? Also, can you confirm that you have administrative rights on the machine? Just as a test, try to right click on the exe and "run as administrator". I think there's something weird happening with your registry here....

Link to comment
Share on other sites

Guest bobanbg

hey master! your program seems to compile perfectly roms, but they don't boot... there must be some problem in compiling service.jar..

however fantastic idea!! :)

Edited by bobanbg
Link to comment
Share on other sites

Guest youpi666

But v.1.1 asks for the java path manually if you don't have it O.o Can you give me the exact error? Also, can you confirm that you have administrative rights on the machine? Just as a test, try to right click on the exe and "run as administrator". I think there's something weird happening with your registry here....

I always use the "run as administrator' for this kind of think ;)

The 1.1 doesn't ask for the java path, seems to bug before. i have made a screenshot : http://www.hostingpi...898145error.png

as bobanbg say however it's a fantastic idea ;)

Link to comment
Share on other sites

Guest Master_T

@bobanbg: I tried the 2.3.16 --> 2.3.23 conversion and it worked for me. Can you tell me exactly which input ROMs you used, so I can try myself?

@youpi66: NullReference exception... it seems that either the application can't access the registry, or the Java key is not found. Can you please open regedit and tell me if the following keys are present:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\ --> look on the right for the value "Current Version"

If that is present, look for:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\<value_of_the_CurrentVersion_key>\ --> look on the right for the value "JavaHome"

If you don't have those keys or they are empty, I think your java installation is broken somehow... if not, there's something wrong with the application. At any rate, I'll release a properly fixed version soon (tomorrow if I have time).

Link to comment
Share on other sites

Guest youpi666

Very good clues !

Firefox had install the 32 bits version of java, so this is not good for the app.

windows 7 x64 must have java 64 bits ;)

now it's work.

Link to comment
Share on other sites

Guest Master_T

Well, I just tried to port 2.3.23 --> 2.3.30 and it works.

However, it is true that the first boot fails (bootloop). However, this also happens to me with iKrautDroid Roms, not just the ones generated by auto-limpot. Solution: when the phone bootloops, just remove battery, replace it and restart phone, it will now boot normally.

EDIT: found out my SDcard was fu*ked up, after formatting it the rom boots correctly on first flash. I can confirm porting to 2.3.30 works, I'm running it now, everything seems fine.

Also: v.1.1b is out on codeplex, introduces the proper fix for failed java check (no more nullreferenceexception)

Edited by Master_T
Link to comment
Share on other sites

Guest egguibs

hello ! i tried to use your software but i have absolutely no results i tried numerous miui ports , n1 roms but it always not booting i saw that you used ikrautdroid to pour miui 2.3.16 to 23 but i wanted to know what n1 rom you used or maybe you know what is my problem ! thank you !

Link to comment
Share on other sites

Guest Master_T

I use the N1 roms from here:

http://miuiandroid.com/community/

The first boot sometimes fails for me too, but I just remove & reinsert battery and reboot and it works.

Also:

Make sure you wipe all before flashing

Try to use the previous version for porting. IE: if you want 2.3.30 use a 2.3.23 base liquid rom as imput.

I can confirm both 2.3.16-->2.3.23 and 2.3.23-->2.3.30 work. (I'm using 2.3.30 as we speak, been using it for a week now, all is fine)

Edited by Master_T
Link to comment
Share on other sites

Guest egguibs

thank you for your answer my problem is really wierd i tried the 2.3.23 version you uploaded it works pretty well i tried to use your version as a basis to other port it don't work ! finally i uses the n1 version from miuiandroid so done the same port 23-->30 than you it don't work T-T so i suppose the problem is on my computer

i wiped all every try

Link to comment
Share on other sites

Guest Master_T

thank you for your answer my problem is really wierd i tried the 2.3.23 version you uploaded it works pretty well i tried to use your version as a basis to other port it don't work ! finally i uses the n1 version from miuiandroid so done the same port 23-->30 than you it don't work T-T so i suppose the problem is on my computer

i wiped all every try

This is really wierd, I'm running .30 right now, obtained from my .23 and miuiandroid .30 for N1... don't know what to tell you frankly.

Link to comment
Share on other sites

Guest elixir.amrit

i have used ur tool to compile the rom using ur 2.3.23 release and n1 2.3.30. the rom ported successfully but it isn't booting..flashed it twice! stuck on acer android :-(

Link to comment
Share on other sites

Guest Master_T

Everyone seems to have this problem, but it works fine on my phone... mmm... I'll try to upload my 2.3.30 if I have time, see if it works on yours.

Link to comment
Share on other sites

Guest Master_T

That was done with Auto-LiMPoT with my 2.3.23 and N1 2.3.30... it would be useful if you uploaded the one YOU generated, so I can compare the two and see why yours isn't working...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.