
Untitled
By: a guest on
Jun 26th, 2012 | syntax:
None | size: 2.09 KB | hits: 15 | expires: Never
One of the benefits with developing for MIUI.us is that we have a buildbot setup to build our v4 ports. Once you've taken the time to get a build working, it's a pain to maintain it week after week. Once you have your system overlay and smali edits all in place you can add them to our buildbot using the template attached to this post.
The zip contains to main folders:
The overlay folder is where the files you use from your AOSP base go. This includes the binaries, libs, build.prop, boot.img and any other files needed to get your port working using the AOSP base files.
The second folder is the edits folder. This is for all the smali you ended up editing in order to get your build to boot and run. I've broken it down into the basic structure that most ports use. There is a framework folder for your framework.jar smali edits, a services folder for your service.jar smali edits, an android.policy for any android.policy.jar smali edits and finally a framework-res folder for any framework-res edits (usually xml files). Inside each of these folders are more folders that follow the same structure as the decompiled source, their just empty so you only need to place your smali in the correct location.
I've included a couple of README files inside the zip which you can come back to for reference as well as this thread. If you have any questions, please do not hesitate to post them here, PM myself or some of the other devs, or come into #miui-us on freenode IRC.
Once you have your overlay and edits ready to go, zip up the overlay and edits folder and get it to myself or some of the other devs here that have access to the buildbot. We'll get it added in, run a test build and get you a download link to the test build so you can make sure it all worked as intended and to check if there was anything you might have missed. Once you are happy with the build produced from the buildbot we can get it setup to run each week. From that point on you will probably want to test it out to make sure it all still works, since MIUI likes to change things on a regular basis that ends up breaking our builds from time to time.