Changelog
- Official Changelog Here
- Fixed the bug with notifications and widget moving not clearing the display properly.
- Changed to Jelly Bean animations (before anyone says they liked the Sense ones, thats what was causing the issues above, and I didn’t like them enough to bother looking into fixing it. I quite like the JB ones now)
- Added Miui Weather themed Genie weather widget, so everyone can have their weather forecast look good (some code based on the LP Sense Clock widget, some done myself, png’s by Xiaomi, obviously). Haven’t removed the two original widgets in MiuiHome yet, so look for the one with the Weather icon, not the widget preview image
. - Not a lot else at this stage, as I had to focus on getting my new machine up and running. All going good now, so hopefully will free up more of my time to perhaps do some actual dev stuff.
- There have been a few small changes here and there, and 99% of the mods I haven’t even looked at this week as its all scripted now (and yes, scripted well, not just a blind copy-paste), so there MAY be issues. That said, I haven’t noticed any yet, and I’m fairly confident there shouldn’t be any.
Included in MIUI-Au:
- 5-way reboot (including Normal, Hot Boot, Bootloader, Recovery & Switch System)
- Supports init.d
- Removed system update button and “Report to MIUI” button
- Removed SuperMarket, BugReport and original Weather widget.
- Made the two system partitions have independent data storage (as long as one of them is MIUI_Au it will work
) - Includes libs for beats, xloud, bravia engine and playstation certification (thanks RockoDev & XXXPacha) – If you don’t notice any difference, neither do I, but it’s all in there for those who insist on it.
- Removed mpdecision (better performance and battery life)
- Updated adreno libs
- Jelly Bean SDK animations
- Added Google Ears (Sound Search widget) and Play Store (more gapps to come later)
- Includes modified Genie Widget to provide MIUI style for us international users
- Included Media Uploader and the HTC Picasa plugin (I have no way to test whether these work or are useful at all?)
- Includes crypted’s aGPS patch for extremely good GPS performance
- Ad-Free hosts file
- Patched libsqlite for better data performance
- AppWidgetPicker for those who prefer other launchers (thanks to boombuler)
- Google location included instead of the default Baidu service
- Busybox properly installed to /system/xbin at install time
Included in Control Panel:
- Centre/switched/normal status bar layout
- Overscroll effect and weight
- Enable on-screen keys
- IO Scheduler and read ahead buffer for internal and SD Card
- CPU Governor/Min/Max settings
- A few other external apks are linked to from Control Panel (Terminal, Development) to save desktop clutter
Installation & Support Instructions:
- The zip still isn’t signed, so for now, flash by opening the Updater app whilst booted into the rom you DON’T want to be replaced by the update, select installation pack, choose the file you downloaded and it will install to the other system partition. Then switch systems to use the new rom.
- Any errors, feel free to post but do not demand a solution.
- Flash at your own risk, and always take a backup before doing so.
Just to keep people informed, heres what I’ve done so far for next release (2.7.27):
Miui Dialer is now recognised by Apex/Nova/Trebuchet etc, so you don’t have to manually add the Phone icon to the dock if you prefer a third party launcher.
Fixed error with the status bar layout option in Control not working (the diff patch was named incorrectly :p)
Fixed the layout alignment of the switched status bar, so the icons now gravitate right for notifications (although just noticed on lockscreen alignment is still iffy, leave it with me)
Overlayed a lot of apps with their respective miui icons, so that the icons aren’t just themed in the launcher (for consistency). Also themed some more stuff to fit in with MIUI better.
Made the Browser bookmarks, Gallery and Analog clock (the one which is used by third party launchers) widgets look more like they belonged in MIUI (previously they were just the stock ICS widgets)
All resources (images, raw etc) should now be in English. Only thing left is to fix more strings and arrays, but they should already be in English (albeit terrible English), so if anyone does see anything still Chinese, be sure to let me know (I did notice the Device Tests, working on ATM. In case you don’t know what I’m talking about, dial *#*#MIUI#*#*).
Saved a lot of space (well the zip is 12Mb smaller, /system now using 169, 40 free) through optimising some apks without compromising or reducing functionality
Added an English keyboard instead of the standard one included which has no dictionaries.
Simple but effective boot animation modification (I like it)
Removed the recommended tab in mms (it will still show up in Chinese locales, but for others its useless and I hated it defaulting to on)
Made the browser default to google search instead of baidu
Removed the chinese miui weather widgets from miui home
Made all widgets resizable (note that this applies for ANY ICS launcher, and any widget. Not just stuff included with the rom)
One last thing (and very much WIP and wont be ready for public release for a while, but it should prove useful)
CWM Touch 6.0.1.0 is currently running on my m1. Installing zips works, nandroid backup works, touch and hardware keys work. Only real issue is the graphics are very glitchy, and it doesn’t support the dual system setup. Positive side is it works without signature verification, or having to rename the zip file. Will hopefully release something in the coming weeks if i can sort a few things out. Fingers crossed, its not easy with no source code :p
Well the graphics issue is fixed now. Everything looks fine, aroma looks awesome. Touch doesn’t work in aroma yet for some reason, even though it works fine in the recovery, so still wanna try to sort that out before a release, but it’ll be sooner than I thought. Even without touch working in aroma, its still much better a recovery than the stock one, and far easier to use. Some of the options wont work properly due to the dual system nature of the m1, but those options arent even in the stock recovery so not like youll miss them. First objective is to make the zip work in both recovery and updater app (I.e. if flashed in updater, install to opposite system, if flashed in recovery, present choice of which system to flash.). That’ll be a piece of cake, but be very handy IMHO. Expect cwm touch for the m1 next weekend.
Does/Is it on your list/Will mounting USB storage work in recovery? One thing I found annoying was flashing two bad zips and having to fastboot myself back to square one.
Of course, enabling usb mount is child’s play :p If i compile cwm from source. Which i haven’t. But will do later, as it will also enable me to add stuff like choosing which system to boot to and which rom to backup etc (which ive already coded, just dont have time or bandwidth to setup for building it). Either way, adb works 100% in my recovery already so you could always adb push to sd card anyway.
That’s awesome!
I can set up a linux vm and give you ssh access if you could utilize the bandwidth that way. I’m positively swimming in gigabytes.
Cheers for the offer, but setting up to build android from source is complicated enough, plus i have no idea how to use ssh or what it is :p The time is the bigger issue. I wanna get set up for kernel/Rom/recovery building anyway, reverse engineering can only do so much. Building apks is simple, but Afaik to build cwm i need to clone the entire cm9 repo and basically apt-get everything necessary to do a full build
@krishna: So much for my comment weeks ago that cwm wouldn’t make it to the m1 properly due to lack of source from xiaomi :p
Only kernel zImage would be impossible (for me, someone like tripnravr could but hes a machine), recovery is super easy.
Actually, after looking more closely last night, that might not be a bad idea. Looks like it’ll be 20 odd gig to repo sync, which would take forever and be well beyond my cap unfortunately
How does SSH work? Would it be just like terminal except controlling your PC? So all commands/scripts etc would work? And how about uploading files and modified source code to the VM? If it proves to be simple enough, and you have the bandwidth to cope, then it may speed up a stable cwm for the mi one immensely. Once the cm repo is synced, bandwidth use would be minimal as the recovery source, which is all I have to modify, is less than 5Mb in total. Unfortunately it has lots of dependcies on the full source code though which is why an initial repo sync is needed.
Yep, SSH is kind of like telnet. All you need is something like OpenSSH for linux (or putty for windows) to connect to it, and then it’s as if you were using a local terminal. If you need a GUI for anything, I think you can start a second X session and send it through SSH (somehow). Either that or just set up a VNC server.
Oh, Lennox – What animations did you use from JB? I tried a couple but caused a bootloop.
All of them?
You didn’t do it by simple copy paste again did you? I did warn about that…
And I’ve got USB storage partially working now (the part i thought i needed to compile in is sorted, now its down to ramdisk) so if I get touch working in aroma I might leave it at that and not bother compiling from source, only have so much time in a day. Themed orange too to suit miui better (partially at the moment, need to edit some more colours but its getting there)
Haha, yes – All of them. In my defence (and lazyness) I did that before you told me.
Was it just me being exceedingly lucky that for the first year of doing MIUI stuff drag and drops of animations were fine? And now I’m forced to use Linux!
Things sure are changing. I tell you, it took me half an hour to connect the Linux VM to my network shares to get the compiled files out of it. But I can hear it working in the background, so I’m happy with that.
Its more that gingerbread animations contained all the values in the anim xmls, whereas now they refer to framework resources more, and so are dependent on proper decoding and encoding. Plus your using a sense rom now, not aosp, so the likelihood of those pointers lining up is far less. It all depends on the anim and the rom as to how it’ll go. But if you be a good developer and compile properly, it will work every time (although even then, the sense 4 ones caused a bug for me. Could probably fix it, but I like the jb ones)
And really, there was already so much android stuff you can’t do in windows, I think it makes sense to use Linux. No kernel/recovery/rom development at all on windows
Plus my windows build script was ridiculously long, complicated, and took many hours to get working properly. My Linux one is simple,ws easy to make, and takes me from original miui odexed zip to miui au zip in 4 minutes. This week all patches were accepted as is, so all I had were 3 new strings to add and done (granted this number will go up as I add more strings into the patch system, but the time won’t. All apks are already being decompiled/recompiled deliberately so I could see the full time required). Try that on windows :p
I see – Well my favourite sense animation was the one you got when you pressed down on an object and it shrank a little – do you remember if that one worked? Or even better, what it’s xml is called?
I wrote a script to get apktool to decompile all the apks at once, but that is a far as my programming knowledge goes. If it isn’t too much, may I take a look at yours?
I tell you what though – you should make videos of how you are doing all those things (setting up build environment, setting up git, syncing etc, and then the actual editing part). The closest I’ve come to doing anything like that was building CM7 from the source with no edits at all. That was awesome, but I had no idea what I was doing.
I don’t know what I’m doing, Google does. The best advice I can give is learn how to google , its all I do to learn stuff. Well I do know once I’ve learnt it, but everything starts there or common sense and reading error logs properly.
If you can give me the stuff I’ve been asking for, I can give you a script and explain how it works. Need all modified files and original files, all placed in folders as they would be by apktool, plus for rom stuff have original and modified in folders structured the same as in the from. So four folders, rom_original from_modified apk_original apk_modified. Containing ONLY the files you change. Diff patches would be better (diff -B -c originalfilename modifiedfilename > originalfilename.diff) structured the same. Sounds harsh, but if you can’t manage that, the script will be useless as you have to deal with rejections, updating diff patches and structuring everything as you add or modify it.
You must not remember that I sent you everything you requested (original xmls, changed xmls) a couple of weeks ago. But don’t worry, I’ll write my own script. After all, if I can’t do that, I’m useless, eh?
Just so you know, my previous comment was a complement. You are obviously a very proficient programmer, and pick up complex things easily.
And I wasn’t asking for you to write me a script, I was asking to look at yours.
Edit: I had a look at diff and it is too difficult. I’ll just use ifs and do it line by line.
Hmmm, I don’t recall getting all the xmls? Other than the package with all xmls, but I don’t have time to sort through them? Are you sure you sent just the stuff packaged up as I said?
If you just wanna look at the script thats fine, I’ll get it to you sometime soon. A lot of it depends on stuff being setup in paths and whatnot but it’s commented a little so if you have some understanding of linux shell (which I assume you do as you use it?) then you should be able to sorta see whats going on and go from there.
Hi i have problems with data usage on some apps like waze and whatsapp and firefox. data works fine on play store and default browser.
Hmmm. Data works fine for my widgets and other stuff thats not system apps, so I can only imagine its a problem with the apps themselves in some way. Have you changed any data related settings? Perhaps some more information and a logcat would be helpful.
system apps are fine. just the downloaded apps. wifi works just fine. didn’t touch any data settings. the status bar shows that im connected to 3G but somehow the apps cant find the network.
That is strange, as I said downloaded apps work fine for me. Do you have a logcat or something I can look at? Its hard to find a bug when I don’t have it.
hi i manage to find the problem. when i restored my back up the data settings changed as well. working fine now
thanks!
Glad you got it sorted. Double glad it wasn’t something I messed up
Hey Lennox. I could get the latest version to flash only now. The issue was with the. Flash process I believe, coz the earlier version I was on was from miuiandroid.com, which follows a diff flash process of first doing the reboot and then updating the system, unlike the version you put out.
So I first flashed a Chinese latest version, over which I installed your build.
Everything is great except for I’m unable to open and use the dialer or phone app. Basically, I am not able to open the phone app and press any number to dial. It just closes itself and exits the moment I open it. Can you check and. Confirm? I’ll try to pull a log as well
Working fine here, a log cat would help. Post it on pastebin and post the link here, cheers.
And the rom should flash from any v4 build, if it works from this one or the Chinese one then the problem isn’t the zip or the flash process.
http://pastebin.com/6bC2bn9h
the above link contains the log pulled after trying to open the dialer. I have observed that the same issue happens with the stock SMS app as well.
My configuration & observations below:
1. I had to first move to a chinese ROM, because the flash/update process in the ROM i was using (from miuiandroid.com) was not allowing background update which was the reason it failed for me. From chinese rom, it flashes fine. So the issue was with the old rom i was using from miuiandroid.com. They follow a diff flash process (no background update)
2. Both my system partitions are updated to latest version from this site.
3. The issue was not present earlier. May be it creeped in after i did a titanium backup restore of apps (i dont do data restore at all).
4. though the partitions are independent, the second partition which doesnt have data restore at all also has this issue. The dialer crashes as soon as i open and no error displayed at all. It will just not open, in any system partition.
5. Third party dialers & SMS apps work ok. No issues with those apps at all. I am using ExDialer & Go SMS pro as alternatives and both dont seem to show any issues with use.
I have been using Auto Memory Optimizer app for a long time now, and dont think that could cause issues. But seem to find my phone a bit slower than usual these days.
Inspite of these niggles, the ROM & its animations are awesome. I like the way it behaves & keeps the battery optimum
good work again
Can you grab a log of the error from the SMS app as well? Some of that log is interesting, although it still doesn’t explain why I have none of the issues you are having. An error in the framework or in the rom itself should be present everywhere, especially on a clean installation, which I have done and the dialer/sms works fine.
I’m puzzled with this one, but leave it with me (as well as the SMS log when you get it) and I’ll try and see what is causing it.
As for Auto Memory Optimizer, it will cause more harm than good, so I’d say remove it. Android itself (along with a few of my tweaks), do a better job of optimising the memory then that app does.
P.S. The apps ARE force closing, it’s just that MIUI have disabled the force close dialog by default. Go to Settings -> Developer Options > Show FCs to enable them again (won’t change much other than the fc dialog showing up, and not the app just closing silently, but at least it will inform you whats happened)
I tried taking a logcat, but observed more peculiar behaviour. The logcat would be saved, but my gmail doesn’t respond to sending/composing mails. It will recieve mails to inbox, but wouldnt send any. All my composed mails have been sitting in the outbox for the past two days !!
I double checked by opening the gmail account web version via browser, and i could send mails from browser version, & mobile app could recieve it. But again, tried sending mails from gmail app and no luck !
Lot of apps crash inadvertently and no reason as to why ! the sms app initially crashed only when i go into the app and select a mesage to be opened & displayed. But after some use, it started crashing the moment i click to open the app itself. I dont have access to paste bin from office, but will try posting it here some how. The problem seems to be with some memory build up on usage or something fishy, i dont know !!
I have done a factory reset from settings now, all apps are gone, no backup restored yet and things working fine for the last 1 hr. Can it be due to backup restored from Titanium pro ? I have been using titanium for the last 3 yrs and never faced such issues on whatever phone i have used it with and here too, i dont think it can be an issue !!
Well that explains it. Yes, its Titaniums fault. Can’t say why exactly, but it does cause issues occasionally. Plus the fact that I have had none of the bugs you have, and have NOT restored anything from Titanium Backup, it seems fairly conclusive.
Well, I believe that shouldnt be such big an issue, because i have tried with factory reset & restore only apps (without any data) from titanium one, noticed similar issues again.
After that, i again tried a complete reset and re-flash and this time restore from MIUI backup utility. Same issue!!
Moreover, the restored apps like Go SMS Pro, games etc work fine. Its the dialer, stock SMS, etc which start crashing out
One more thing i observed, assuming titanium backup being the culprit, lets say in system 1, the same issues are existing in system 2 as well, which has no data restored, in fact nothing done at all in that !! But still system 2 is plagued with similar issues, which i checked repeatedly !
I will anyhow try a complete reflash with data reset again and this time wont restore stuff from titanium (but thats a hard decision
to choose). Titanium backup is what saves time and helps me keep flashing a new rom everyweek without worrying about losing data i accumulated
! i dont have to download lots of apps online which can screw my data usage if done every week
But, if the system partitions were independent, such issues should not be common unless there is something wrong is what i feel.
I understand your frustration, but I’ve seen it too many times (such as the bug report above about network problems) errors due to titanium backup. All I can say is I have two roms, completely independent, and have no issues whatsoever, so it simply can’t be the rom that needs to change. Wish I could help more but the log doesn’t show much useful, and you confirmed tb to cause the problem yourself.
I have done a clean install yesterday night, didnt restore anything from titanium or utilities. The phone was working fine till now, in the morning today, i have used the phone app to call a few people and it was all good. Now, again its having trouble. Force closing as usual, whenever i try to use the phone app.
I have not done anything other than using the phone app, downloading some regular apps i use from the market, and music player. The only other thing i can think off, i used titanium backup Pro to remove stock SMS app, so that i ll not have issues with Go SMS pro. (this i do with all the roms and doesnt create any problems at all).
Process of Installation i followed:
1. Both system 1&2 have MIUI-AU-2.7.20 rom and i wanted to reflash system 1.
2. I reboot to recovery, wipe all data & boot into system 2.
3. Now from system two, i flash the installation pack via updater & reboot to new version (system1)
4. All fresh, everything works (phone app & stock sms checked)
5. Start downloading my apps one by one from market, about 30 downloaded, after every app, check phone app opens properly.
6. Download Gmail and add that to account sync, facebook also added now
7. Sleep peacefully, assuming its all okay now.
8. Install titanium back up pro & delete Stock SMS app
9. Morning as usual, check for stuff like emails on phone, call up a few people
10. Use Lennox control to set intervactive governor, max freq to 1.2GHz & min to 192MHz. set it to apply on boot
11. Check and verify phone app working again.
12. Fire my Poweramp player as i walk to office.
13. Call a few more people & later use foursquare app to check in into few places on my way
14. Recieve a few calls and then phone goes to sleep
15. Fire up the phone after a couple of hours, notice that i am unable to use phone app again
All this while, i ensured i didnt restore any crap from titanium or any app for that matter. Used it as stock as possible. Didnt even download AnTuTu Cpu Master Pro, assuming lennox control will do the job for me. I didnt download any game yet, because those are all heavy files and my data plan would not be sufficient for them.
So, with this i can conclude, titanium backup may not be the actual cause, but some thing firing it up ? I have downloaded logcat after seeing the issue come up again, and here are the logs for your reference:
http://pastebin.com/gfUDXVcM
&
http://pastebin.com/j48SyAv6
I am not frustrated with this, and actually grateful for your interest in building ROMs for this phone. I like your ROM a lot and want to use this as a daily driver and hence trying my best to provide you as much info as i can, so that i get a good rom to play with. Sorry if i sounded like a frustrated a$$ earlier
I hope the steps i followed & the logs generated can be of some help to you in recreating the issue or atleast looking for it somewhere in the framework.
Once again, good work mate & thanks for trying to help me enjoy mi-one
Thanks for the logs and detailed info. I would suggest NOT removing the stock mms. If you do that, unfortunately I cannot support you as you’ve tampered with the system. Hope you understand, but I can only support and bug fix for people who are using my rom, 100% untouched, so as to rule out other possibilities. That said, I’ll see what I can find, but for me the issue simply doesn’t exist.
And I’m not saying your an ass, just that I understand why it would be frustrating having an issue that no one else has. They’re the hardest to solve for me too , so I’m also frustrated :S
What portions of the supermarket have been integrated? Other than the download manager, but I changed it back to play store anyway, and the home screen icon? I did think about it, but decided I just can’t justify having two app markets.
To users:
.
I’ve been working on fixing a few minor annoyances, like defaulting search to Google, disabled completely the recommended tab in mms for non-chinese locales, and trimmed at least ten mb off system use without removing anything (only got 210 to play with, using 172 atm). Plus added an English keyboard and started to merge more language stuff in, and themed a bunch of crap to fit in better. I love sed/grep/diff
Once I finish getting eclipse up and running I can add some more stuff to the control panel too, but depends on time as to what.
Currently on To-Do List (will post each week so I don’t forget anything :p):
**Fix English [No.1 Priority, its quite awful in places, but usable at least]

Add Recovery to Control Panel, for performing all the usual recovery options on the opposite systems data.
Make sharing certain folders between system partitions an option to save a bit of data space (at the moment they are 100% independent), such as /data/app, /data/dalvik-cache and /data/data (they’re the only ones which really use much space).
Add custom carrier text option (and hide carrier), custom time and date format (from my old GB control panel)
Add option for search button on Navigation bar
Make a new bootanimation (“htc” doesn’t exactly fit the M1, plus not a huge fan of the old one. Also looks crap due to being 480×800 resolution)– done for next release. simple mod of the stock boot animation, I like itAdd DSP Manager
Fix dual-mount sd card option in Control Panel – Can anyone else confirm this works? It does for me (I didn’t change anything, might’ve been a windows issue rather than rom issue).
I have been trying to install the 2.7.20 version and the file seems to be having some issues. the installation is stuck at 25% and not proceeding further. can you plz confirm ?
Have you checked the md5? That files the exact one which I’m running right now.
Hey Lennox – if you were interested in including MIUI Market – It’s now in English. Give me a shout if you want the strings.
Cheers but no thanks. I personally find that of the few worthy apps available there and not in the Play Store, 0 contain English anyway. Plus I don’t like redundancy, and the Play Store is much better.
Yes, you sure don’t like redundancy.
I do like how they have integrated portions of it into various other facets of MIUI though. And the little number is nice.
The only reason I asked is that you mentioned in your previous release that you may or may not decide to include it.