cleanup, replicant camera hal

credit: codeworkx