• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Auto-LiMPoT -- A tool for automatic MIUI porting

47 posts in this topic

Posted (edited) · Report post

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
2

Share this post


Link to post
Share on other sites

Posted · Report post

Awesome, just really awesome!

0

Share this post


Link to post
Share on other sites

Posted · Report post

You are great!! Thank you!

0

Share this post


Link to post
Share on other sites

Posted · Report post

really nice

0

Share this post


Link to post
Share on other sites

Posted · Report post

Doesn't work, error on java verif.

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

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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
0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have the JRE ;)

Same probelm with the 1.1 :/

0

Share this post


Link to post
Share on other sites

Posted · Report post

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....

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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
0

Share this post


Link to post
Share on other sites

Posted · Report post

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 ;)

0

Share this post


Link to post
Share on other sites

Posted · Report post

@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).

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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
0

Share this post


Link to post
Share on other sites

Posted · Report post

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 !

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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
0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Gonna try with the MiUiV4

0

Share this post


Link to post
Share on other sites

Posted · Report post

Gonna try with the MiUiV4

Good luck, but I'm warning you: will most likely not work ;) This tool is designed for GB roms.

0

Share this post


Link to post
Share on other sites

Posted · Report post

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 :-(

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

My 2.3.30, made with the tool. Been using it two weeks now... let's see if it works.

http://mir.cr/0CH8GLSP

Edited by Master_T
0

Share this post


Link to post
Share on other sites

Posted · Report post

hi i tried you port and it working perfectly and its i gess the most smoth miui i tested !

0

Share this post


Link to post
Share on other sites

Posted · Report post

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...

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.