Jump to content


Photo

TUTORIAL for compiling MiUi ROM

* * * * - 3 votes

  • Please log in to reply
40 replies to this topic

#1
sheennick

sheennick

    Newbie

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Interests:Automobiles,Formula 1
  • Devices:Dell XCD35
Hi
i found this on XDA

its a tutorial for compiling MIUI ROMs

http://forum.xda-dev...d.php?t=1483332

  • 0

#2
DarkChaosPaladin

DarkChaosPaladin

    Newbie

  • Members
  • Pip
  • 29 posts
  • Gender:Male
  • Location:Germany
  • Devices:ZTE Blade
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, 06 February 2012 - 05:17 PM.

  • 0

#3
sheennick

sheennick

    Newbie

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Interests:Automobiles,Formula 1
  • Devices:Dell XCD35

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

  • 0

#4
Ron=)

Ron=)

    Enthusiast

  • Members
  • PipPipPip
  • 292 posts
  • Gender:Male
  • Location:London
  • Devices:Zte Blade (TFT)
We can compile from CM7 and MIUI patchrom for Armv6... ?

Edited by Ron=), 06 February 2012 - 07:08 PM.

  • 0

#5
equiliym

equiliym

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Novi Sad
  • Devices:ZTE Racer
  • Twitter:@equiliym
MiCode started releasing miui source recently, you can see it on their github.. and there is also miui site that you can check for news

  • 0
Suffering-oriented programming.. "First make it possible. Then make it beautiful. Then make it fast."
if i helped please press the vote up button :3

#6
iKrautDroid

iKrautDroid

    Addict

  • Members
  • PipPipPipPipPip
  • 686 posts
  • Gender:Male
  • Devices:ZTE Skate, HD2, Galaxy S
Lets get this Miui Partay started!

  • 0

#7
JudasLucifer

JudasLucifer

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Devices:Zte Blade
can i haz miui ? ! ? ! ? ! ? ! ? nw plz ty

  • 0

Sig.png


What Font Are You Using? (thats legible of course :P)


 


#8
weeo

weeo

    Addict

  • Members
  • PipPipPipPipPip
  • 607 posts
  • Gender:Male
  • Devices:ZTE Blade & Galaxy Nexus
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 :)

  • 0
Who said other phones cant have Ice Cream Sandwich?
Spreading the fun on Android 4.0.3
Check out my YouTube for Androidy Things: www.youtube.com/theandroidcity
Check out my blog for Androidy new, reviews and other: www.theandroidcity.wordpress.com

#9
equiliym

equiliym

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Novi Sad
  • Devices:ZTE Racer
  • Twitter:@equiliym
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

  • 0
Suffering-oriented programming.. "First make it possible. Then make it beautiful. Then make it fast."
if i helped please press the vote up button :3

#10
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)
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

  • 0
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#11
weeo

weeo

    Addict

  • Members
  • PipPipPipPipPip
  • 607 posts
  • Gender:Male
  • Devices:ZTE Blade & Galaxy Nexus
Is anyone doing this?

  • 0
Who said other phones cant have Ice Cream Sandwich?
Spreading the fun on Android 4.0.3
Check out my YouTube for Androidy Things: www.youtube.com/theandroidcity
Check out my blog for Androidy new, reviews and other: www.theandroidcity.wordpress.com

#12
Maxsas360

Maxsas360

    Diehard

  • Members
  • PipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Behind ya
  • Devices:Samsung Galaxy S i9000
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, 10 February 2012 - 04:17 PM.

  • 1
Liked my help? Buy me a big nice cup of coffee. <form action="https://www.paypal.c...cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCAJh0w3bmkkajBrmWwiQIxRzGFNm1nlfGL/F1Lmom3FmN4NqsN42ZKNXlyDRbU8kPu9vd6W/tO4IFsPP8yDCtBqIwZydJErvyant7ACPXvEnzNkV34AJhqi6zH0LpQ9C758tDLZrhanj0dV7TDeMOZzdxwqH7zYkNuEBf/9aQC5DELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI143evERhoP6AgZifCV4AcwhAHCeF/uwRExEtJxtXNG4F0PuF5aYq6ChvwQC481+k6AC05c8oSkrAEe0Rp71RczJqaigmt724EY2zmgIIhB1QqQ0Xvvnz5jNyB0y8OUGM0s3haj82KIbF6XzhcXEl01pXwCKcXa0PdLBgxl8z9OHQdgUkZ5oWzX9My2mE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AWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDIxNjA4NDU0M1owIwYJKoZIhvcNAQkEMRYEFJ25fzsYLoj2EGS92mXanoHkW5RoMA0GCSqGSIb3DQEBAQUABIGAGQ807a26kI/rzZE2YsDq0w5QEdbPWa9CSb5G5wYvSXH07DUrQCBTGblw5f2okbgOyodN6gE159rBmikWHz7TEsvG5eGi0vx9K0HR2muI0xolOF3d7al8iXEdcvR6GaCijcanlbz9d0dOChvqmeWBrCjiNzeE/pTcT92MU7Y44bc=-----END PKCS7-----
">
<input type="image" src="https://www.paypalob...onateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalob.../scr/pixel.gif" width="1" height="1">
</form>

#13
weeo

weeo

    Addict

  • Members
  • PipPipPipPipPip
  • 607 posts
  • Gender:Male
  • Devices:ZTE Blade & Galaxy Nexus

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

  • 0
Who said other phones cant have Ice Cream Sandwich?
Spreading the fun on Android 4.0.3
Check out my YouTube for Androidy Things: www.youtube.com/theandroidcity
Check out my blog for Androidy new, reviews and other: www.theandroidcity.wordpress.com

#14
Maxsas360

Maxsas360

    Diehard

  • Members
  • PipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Behind ya
  • Devices:Samsung Galaxy S i9000
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 -.-

  • 0
Liked my help? Buy me a big nice cup of coffee. <form action="https://www.paypal.c...cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCAJh0w3bmkkajBrmWwiQIxRzGFNm1nlfGL/F1Lmom3FmN4NqsN42ZKNXlyDRbU8kPu9vd6W/tO4IFsPP8yDCtBqIwZydJErvyant7ACPXvEnzNkV34AJhqi6zH0LpQ9C758tDLZrhanj0dV7TDeMOZzd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uhgZSkgZEwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDIxNjA4NDU0M1owIwYJKoZIhvcNAQkEMRYEFJ25fzsYLoj2EGS92mXanoHkW5RoMA0GCSqGSIb3DQEBAQUABIGAGQ807a26kI/rzZE2YsDq0w5QEdbPWa9CSb5G5wYvSXH07DUrQCBTGblw5f2okbgOyodN6gE159rBmikWHz7TEsvG5eGi0vx9K0HR2muI0xolOF3d7al8iXEdcvR6GaCijcanlbz9d0dOChvqmeWBrCjiNzeE/pTcT92MU7Y44bc=-----END PKCS7-----
">
<input type="image" src="https://www.paypalob...onateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalob.../scr/pixel.gif" width="1" height="1">
</form>

#15
weeo

weeo

    Addict

  • Members
  • PipPipPipPipPip
  • 607 posts
  • Gender:Male
  • Devices:ZTE Blade & Galaxy Nexus

  • 0
Who said other phones cant have Ice Cream Sandwich?
Spreading the fun on Android 4.0.3
Check out my YouTube for Androidy Things: www.youtube.com/theandroidcity
Check out my blog for Androidy new, reviews and other: www.theandroidcity.wordpress.com

#16
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
http://forum.xda-dev...=695701&page=33

Post #325 looks interesting.

Edited by Sulthekk, 11 February 2012 - 11:14 AM.

  • 0

#17
quantam

quantam

    Newbie

  • Members
  • Pip
  • 43 posts
  • Gender:Male
  • Location:City of Joy
  • Devices:ZTE Blade aka Dell XCD 35
I want to start off this ROM compiling and all any link to starters guide and what all I need to know.

  • 0

#18
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)

I am stuck at this error[left]
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, 11 February 2012 - 03:00 PM.

  • 0
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#19
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
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, 11 February 2012 - 03:25 PM.

  • 0

#20
sheennick

sheennick

    Newbie

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Interests:Automobiles,Formula 1
  • Devices:Dell XCD35
in the tutorial it mentions it requires a stock ROM...

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

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users