You can't have both. "Hardware security" means the manufacturer decides which OS can run and you can't override it.