In order to build patchrom project, you must have android sdk installed.(http://developer.android.com/sdk/installing.html)
And add the sdk tools and platform-tools to PATH.
$ vim .bashrc
$ export PATH=$PATH:/home/xxx/android-sdk/tools:/home/xxx/anroid-sdk/platform-tools
To get started with MiCode/patchrom, you'll need to get familiar with Git and Repo.
To initialize your local repository using the patchrom trees, use a command like this:
$ mkdir patchrom
$ cd patchrom
$ repo init -u git://github.com/MiCode/patchrom.git -b marshmallow
Then to sync up:
$ repo sync
$ git clone -b m6.0 https://github.com/CryToCry96/mui_patchrom_htc_m8 htc_m8
$ . build/envsetup.sh && cd htc_m8
$ make fullota
And then look at out/fullota.zip,it is the MIUI ROM
Now you can get your own miui ROM, enjoy it!
Thank to
- @Micode Miui Rom
- @wuxianlin
- @garyyiu2015
- http://xdavn.com If you like my rom, please donate to me. It will help me to keep my work: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=542JFBZTLCU5W