nice work ;)
i saw the code,you forked some other projekt that pretend to be the miui recovery, is this really the sourcecode of the default preinstalled recovery ?
i also saw that you correct the battery position, will you update the binary data or give instruction to compile it from...