Question How to extract device id from prodinfo

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by timmystar04, May 17, 2018.

  1. timmystar04
    OP

    timmystar04 Member

    Newcomer
    2
    May 16, 2018
    United Kingdom
    Hello yea this is just a quick question because im an idiot but how do i extra the device id from prodinfo Thanks
     
  2. Dudamax

    Dudamax GBAtemp Regular

    Member
    3
    May 30, 2017
    United States
    If this is for Hacdn its not neccesary anymore, but if its for something else you can open the prodinfo.bin as a text document and you should find "NX" and then a bunch of number near the top. after NX and two of the digits that is your device id
     
    TR_mahmutpek likes this.
  3. timmystar04
    OP

    timmystar04 Member

    Newcomer
    2
    May 16, 2018
    United Kingdom
    Ok thanks didn't think someone would reply so fast
     
  4. VashTS

    VashTS Beat it, son

    Member
    8
    GBAtemp Patron
    VashTS is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Mar 14, 2009
    United States
    Upstate NY
    im trying to get the device ID for mkey generator but opening prodinfo as a text file or with HxD both results in no device ID. anyone got any ideas?
     
  5. templeofhylia

    templeofhylia homo supreme

    Member
    3
    Sep 6, 2014
    Canada
    when you have PRODINFO opened in HxD, make sure the first 5 bytes are 43 41 4C 30 07 (the decoded text on the side should read CAL0.), so that you know it's been decrypted properly, and then use offsets 0x546-555 for the device ID. you can ignore the "NX" before that and only need those 16 digits (confirmed with a test using mkey generator).

    however, if you open PRODINFO and see a bunch of gibberish, it wasn't decrypted properly/at all. the first couple of steps from the readme file for SwitchSDtool explain how to do this, so i'll just quote that below with some changes if you need to know how.
    Warning: Spoilers inside!
     
    Last edited by templeofhylia, May 17, 2019 at 6:02 AM
Loading...