Jump to content
Sign in to follow this  
sheennick

TUTORIAL for compiling MiUi ROM

Recommended Posts

I think that it will not work, because MiUi is for arm7 processor and the blade is an arm6 device, so we have to say patient and maybe one Developer will port MiUi to Blade/Skat because now MiUi will release there source code.

Edited by DarkChaosPaladin

Share this post


Link to post
Share on other sites

I think that i will not work, because MiUi is for arm7 processor and the blade is an arm6 device, so we have to say patient and maybe one Developer will port MiUi to Blade/Skat because now MiUi will release there source code.

surprisingly this came from X8 forums..which is ARM v6

Share this post


Link to post
Share on other sites

We can compile from CM7 and MIUI patchrom for Armv6... ?

Edited by Ron=)

Share this post


Link to post
Share on other sites

I want to haz miui too. And I wanted to be the miui partay stater. But I have exams so if we get a dev team going. I'll be happy to join, straight after exams :)

Share this post


Link to post
Share on other sites

there is a tutorial on MiCode's blog/site in pdf format, it has 34 pages i think (forgot) about patching 2.3 source with miui source they posted on github but its in chinese :o

Share this post


Link to post
Share on other sites

I don't know if anyone has started the "testing" on our Blades yet so I am giving my humble contribution by posting some decent mirror to the project files.

This is a 7zip multiple volume version of the "patchrom.zip" file you can find on the "slow Chinese server" given at the XDA thread. I divided into smaller pieces due to MediaFire size restriction.

1. patchrom.7z.001

2. patchrom.7z.002

3. patchrom.7z.003

4. patchrom.7z.004

Share this post


Link to post
Share on other sites

I am trying to do it. I'll use the latest CM7 kang by Burgerz. I am not guaranteeing I will succeed, but worth a try.

EDIT: Compiling...

Edited by Maxsas360
  • Upvote 1

Share this post


Link to post
Share on other sites

I am trying to do it. I'll use the latest CM7 kang by Burgerz. I am not guaranteeing I will succeed, but worth a try.

YAY! good to know :P

Share this post


Link to post
Share on other sites

I am stuck at this error

p -r Settings .build

/home/mode/MiCode/tools/apktool b .build/Settings .build/Settings.apk

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

Exception in thread "main" brut.androlib.err.CantFindFrameworkResException

at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:366)

at brut.androlib.Androlib.parseUsesFramework(Androlib.java:400)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)

at brut.androlib.Androlib.buildResources(Androlib.java:248)

at brut.androlib.Androlib.build(Androlib.java:171)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

make: *** [.build/Settings.apk] Error 1

Same error with CM7 and Swedish Snow -.-

Share this post


Link to post
Share on other sites

I want to start off this ROM compiling and all any link to starters guide and what all I need to know.

Share this post


Link to post
Share on other sites

I am stuck at this error

Same error with CM7 and Swedish Snow -.-

It looks like we need to use a non themed rom!

Seems the script needs one with almost untouched resources.arsc for the APK decompiling to work.

Maybe try to substitute the problematic file with it's original from a stock rom?

I've had similar problems when modding themes with apktool...

Edited by KingsizeX

Share this post


Link to post
Share on other sites

MIUI is based on CM, so it should have worked with that framework.

What if Maxsas360 used some patches that are not ready for patchrom? Like rotation animation, MIUI battery bar (thats another implementation, may generate problems)... Does anybody know how old are the sources used to compile official MIUI?

Edited by Sulthekk

Share this post


Link to post
Share on other sites

in the tutorial it mentions it requires a stock ROM...

so maybe we should use one of the 2.3.5 stock ROMs......

Share this post


Link to post
Share on other sites

in the tutorial it mentions it requires a stock ROM...

so maybe we should use one of the 2.3.5 stock ROMs......

MisterGT @XDA mentions "Android 2.3.3 - 2.3.7 supported"... but you might have a point! 2.3.5 is right in the middle :P

Share this post


Link to post
Share on other sites

MisterGT @XDA mentions "Android 2.3.3 - 2.3.7 supported"... but you might have a point! 2.3.5 is right in the middle :P

no but the MIUI website says use stock ROM so i thought someone should try a clean untouched stock ROM

Share this post


Link to post
Share on other sites

no but the MIUI website says use stock ROM so i thought someone should try a clean untouched stock ROM

I'll try another rom tomorrow.

Share this post


Link to post
Share on other sites

no but the MIUI website says use stock ROM so i thought someone should try a clean untouched stock ROM

^ this.. you need AOSP 2.3.5/7 to patch with MiCode source, you cant use already modded code like CM for it.. someone who knows chinese should check MiCode pdf tutorial, they have 34 pages of explanation about compiling

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  

×