Isaacj87 guide but same produce goes.
DISCLAIMER: I am not responsible for any damages (bricking/phone ruining) occurred while flashing or using this ROM. By using this ROM, you understand that that I am not liable for any or all consequences of using this ROM. If you don't know what you're doing, DON'T TRY IT. Use at your own risk!
SPECIAL NOTE (please read): These builds are NOT being built from source (only partially). I cannot account for what Xiaomi has done to the Android source. Also, this port is technically a port of a port (DesireS-CN --> DesireS-EN --> Triumph). I can only account for the changes I made personally. There are no records on what was changed up to this point from elsewhere. The fact that this ROM is closed-source has unnerved some people in the Android community (for good reason). These things are something to consider. I have yet to find anything malicious in MIUI (neither has anyone else in the Android community), but if it were me, I would be careful with my sensitive data.
Also, since I don't have the source for this ROM, it's being worked on with a take-it-or-leave-it attitude. If I can manage to fix something, it'll get fix. Since it was originally in Chinese, some of the language translations will be strange. I'm using code from CM7, building said code, and cramming it into MIUI. Since MIUI and CM7 share a lot of the same code, this has been working fine so far. But remember:This is mostly because most serious problems will go unfixed. This is the unfortunate situation we're in (MIUI being closed source). Whatever I can fix, I am more than willing to share it with you guys.
Overall, everything has been working quite well and I hope your happy with the results.
What works:
RIL/3G/1xRTT
Audio/Call recording
WIFI
USB Tethering
Bluetooh
Capacitive button keymapping
2D/3D/EGL/GPU [see "Known issues" section below]
LED (dual-mode)
Capacitive button lights with PWM control
Screen rotate/orientation
E-compass
Touchscreen with multitouch/screen rotate capable
USB mounting
CRT screen off animation
Proximity sensor
Camera (front and rear) [see "Known issues" section below]
GPS
Ambient light sensor
HD 720P video recording/FFC video recording
MMS (send and receive; pictures or video)
Google Talk with video/voice chat
Wired headset
Haptic feedback on capacitive keys
Native WIFI tethering [see "Known issues" section below]
What doesn't work:
HDMI out/mirroring
Known issues:
These builds, as mentioned, are not being built from source. As such, measures were taken to get everything working. Don't be surprised if you get a FC or eleven. Furthermore, these are developmental builds (i.e. not stable). Some of you may be able to live with it, some won't.
Since MIUI requires VMSPLIT3G, a new kernel was made to follow this requirement. As such, the memory allocation for the GPU was changed. Most lower-end games should not have any issues, but HD (higher-end) games are mostly unplayable as so many elements are missing.
Recovery:
http://androidforums.com/triumph-all-things-root/421674-clockworkmod-recovery-motorola-triumph.html
http://androidforums.com/triumph-all-things-root/551196-recovery-twrp-2-1-3-yes-touch.html
Download:
MiuiAndroid 2.4.20 v3 MiuiAndroid_Triumph-2.4.20-v3.zip
MiuiAndroid 2.4.20 v2 MiuiAndroid_Triumph-2.4.20-v2.zip
MiuiAndroid 2.4.20 v1 MiuiAndroid_Triumph-2.4.20-v1.zip
MiuiAndroid 2.4.20 MiuiAndroid_Triumph-2.4.20.zip
NOTE: Always check md5sum! The versioning is the following: miuiandroid_Triumph-(MIUI VERSION)-(MMDDYY)-(REVISION). Check the "About Phone" section in settings to determine what build you're on.
Installation:
(ALWAYS MAKE NANDROID BACKUPS TO BE SAFE!!)
Download the ROM package and place it in the main folder of your SDcard
Power off phone and boot into recovery mode
Choose "Wipe data/factory reset"
Go back to main menu and choose "install zip from sdcard" then, "choose zip from sdcard"
Navigate to the ROM package and install it.
Once it finishes, go back to the main menu and reboot.
NOTE: First boot may take some time. Once you get to the MIUI boot splash, you're golden.
NOTE: Any subsequent releases of MIUI will NOT require a data wipe. If, in the off-chance, a wipe is required, I will note it.
NOTE: Do NOT flash the Gapps package used with Cyanogenmod.