Support MIUIv6 repo's + bugfixes