Ported iOS hacks from global assets