Get TWRP to compile-ish.
More changes to make TWRP work.