my code to unpack boot and recovery