Device/xiaomi sagit
Well, this isn't complete already, but quite a big step in the right direction ;)
Note that I cherry-picked your commit on top of the upstream aports (which I had to do, as I otherwise had errors), so this PR might display a couple more changes than it should (rebase your branch on master if you want to fix this).
Cheers,