wip gonk port. builds, but doesn't link