Added device identification logic to chrootboot script

Verified and tested on both new and old pad