Added logic to get SD cards cid and data, the number of partitions on an X5 and the grub version