Obtaining otp.bin from sysnand a9lh backup

Discussion in '3DS - Flashcards & Custom Firmwares' started by 75mak, Jul 3, 2016.

  1. 75mak
    OP

    75mak GBAtemp Fan

    Member
    389
    111
    Nov 10, 2011
    ok, to cut a long story short.... my sd card got corruptted and needs to be formatted.

    I have a9lh installed. I can boot up and make a backup of the a9lh sysnand.

    As i want a copy of the otp.bin file which was lost on the sd card, I would like to know if there is any way apart from downgrading to 2.1, I can obtain the otp.bin ?
     
  2. yusuo

    yusuo GBAtemp Addict

    Member
    2,492
    846
    Oct 19, 2006
    short answer, no
     
    Koko-Kun likes this.
  3. Lia

    Lia bohemian rhapsody

    Member
    1,277
    2,507
    Jan 29, 2016
    United Kingdom
    I think you might need to downgrade to 2.1. The OTP isn't stored on the NAND, afaik.
    Also, this is why you make backups of your otp. To your PC, to mega, everywhere and anyway.
     
  4. 75mak
    OP

    75mak GBAtemp Fan

    Member
    389
    111
    Nov 10, 2011
    i've recovered the old otp.bin file from the corrupted sd card.....


    is there any way to check if it's good.... ?
     
  5. proflayton123

    proflayton123 悲しみ

    Member
    5,610
    2,059
    Jan 11, 2016
    Japan
    日本
  6. 75mak
    OP

    75mak GBAtemp Fan

    Member
    389
    111
    Nov 10, 2011
  7. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,703
    4,729
    Aug 18, 2015
    If you have a9lh installed there is no reason why you would need otp.bin again.
    Just saying.
     
  8. 75mak
    OP

    75mak GBAtemp Fan

    Member
    389
    111
    Nov 10, 2011
    even if i wanted to upate to any future versions of a9lh? like a9lh v2?
     
  9. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,703
    4,729
    Aug 18, 2015
    Yup.
    Mine got lost and I updated fine.

    — Posts automatically merged - Please don't double post! —

    You need to update a9lh from within a9lh and it's all fine.
     
  10. Lia

    Lia bohemian rhapsody

    Member
    1,277
    2,507
    Jan 29, 2016
    United Kingdom
    Is it 256 bytes?
     
  11. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,703
    4,729
    Aug 18, 2015
    Even if it is 256 bytes it might still be corrupted.
    I was aware there was a tool for a9lh that let you dump the hash of the otp?
    Which you could then use to verify if this is the right one?

    Just keep in mind that you will never need the otp again so uh, there's not much reason to get it back.
     
  12. 75mak
    OP

    75mak GBAtemp Fan

    Member
    389
    111
    Nov 10, 2011
    ok.... that's great.

    thanks
     
  13. Lia

    Lia bohemian rhapsody

    Member
    1,277
    2,507
    Jan 29, 2016
    United Kingdom
    ik, but if it's not 256 bytes, you done fucked up.
    Also I don't think that's impossible, as a9lh boots after the locking of the otp.
     
    Seriel likes this.
  14. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,703
    4,729
    Aug 18, 2015
    I heard it said somewhere.
    Lemme gooogle...
    uh, can't find it.
    i dunno, find someone who knows :P
     
  15. Lia

    Lia bohemian rhapsody

    Member
    1,277
    2,507
    Jan 29, 2016
    United Kingdom
    It wouldn't be possible. The 3ds locks the otp before a9lh is loaded.
     
  16. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,703
    4,729
    Aug 18, 2015
    ya but apprently you could get the hash somehow, or something.
    i dont know
    *shameless tagging of someone who might know more about it than me @astronautlevel *
     
  17. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    5,339
    5,752
    Apr 20, 2015
    United States
    Tigard, OR
    no, arm9loader locks the OTP. if the bootrom did it, we wouldn't be able to get it going to 2.1.
     
    Seriel likes this.
  18. Lia

    Lia bohemian rhapsody

    Member
    1,277
    2,507
    Jan 29, 2016
    United Kingdom
    Sorry, you're right. But I'm pretty sure you still can't get it even with a9lh.
     
  19. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    5,339
    5,752
    Apr 20, 2015
    United States
    Tigard, OR
    no, because arm9loader locks it before it jumps to the firmware/payload. at best you can get a hash of it.
     
  20. EmuAGR

    EmuAGR GBAtemp Regular

    Member
    185
    115
    Jan 11, 2016
    You can get the OTP hash from N3DS only.