Homebrew [RELEASE] OTPHelper - OTP dumping & downgrade helper

  • Thread starter d0k3
  • Start date
  • Views 141,120
  • Replies 801
  • Likes 61

Swiftloke

Hwaaaa!
Member
Joined
Jan 26, 2015
Messages
1,772
Trophies
1
Location
Nowhere
XP
1,506
Country
United States
@d0k3 OTPHelper is a success.
md5 of standard Plailect dumper: 136D2A67F5A314191CAED416B5E87395
md5 of OTPHelper dumper: 136D2A67F5A314191CAED416B5E87395
md5 [test 1] of OTPHelper 0x108 dumper: 026453B064C3F07572BE33777AA86E1E
md5 [test 2] of OTPHelper ox108 dumper: 026453B064C3F07572BE33777AA86E1E
Complete and total success. Was glad to test this program, you did a really good job. However, I would recommend having OTPHelper name the 0x108 dump as OTP0x108 so a user doesn't have to remove the SD card and change the name manually.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3 OTPHelper is a success.
md5 of standard Plailect dumper: 136D2A67F5A314191CAED416B5E87395
md5 of OTPHelper dumper: 136D2A67F5A314191CAED416B5E87395
md5 [test 1] of OTPHelper 0x108 dumper: 026453B064C3F07572BE33777AA86E1E
md5 [test 2] of OTPHelper ox108 dumper: 026453B064C3F07572BE33777AA86E1E
Complete and total success. Was glad to test this program, you did a really good job. However, I would recommend having OTPHelper name the 0x108 dump as OTP0x108 so a user doesn't have to remove the SD card and change the name manually.
Thank you! As promised, you're mentioned in the op now. And good idea, this will be in the next release version. Any other ideas what could be changed to make this more streamlined?
 

Plailect

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States
Plailect's guide doesn't seem to have a step #28 in section 2 or reference an "emuNAND_bricked.bin" anywhere. Where do I continue up to for testing the first thing?

There is no emunand_bricked.bin with this tool, it directly fixes the EmuNAND without wasting time dumping it.

--------------------- MERGED ---------------------------

Thank you! As promised, you're mentioned in the op now. And good idea, this will be in the next release version. Any other ideas what could be changed to make this more streamlined?
Some people were having issues in IRC that they couldn't restore SysNAND from the EmuNAND bin. OTPHelper complained of no valid NAND backups, but Decrypt9WIP worked fine for restoring the same files.
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,912
Country
Hungary
If I already have A9LH installed, can I downgrade to 2.1 sysNAND while keeping A9LH? (If you're asking why I'd do this: to do test #2! ;))
 

TheReturningVoid

0xAAAAAAAA
Member
Joined
Oct 2, 2014
Messages
332
Trophies
0
Location
/dev/urandom
XP
244
Country
There is no emunand_bricked.bin with this tool, it directly fixes the EmuNAND without wasting time dumping it.

--------------------- MERGED ---------------------------


Some people were having issues in IRC that they couldn't restore SysNAND from the EmuNAND bin. OTPHelper complained of no valid NAND backups, but Decrypt9WIP worked fine for restoring the same files.
Ah, I see. I probably don't need to bother with testing the first item then.
 

Swiftloke

Hwaaaa!
Member
Joined
Jan 26, 2015
Messages
1,772
Trophies
1
Location
Nowhere
XP
1,506
Country
United States
Thank you! As promised, you're mentioned in the op now. And good idea, this will be in the next release version. Any other ideas what could be changed to make this more streamlined?
Add a checking feature where the OTP is dumped and hashed, then compared to the hash of the OTP.bin/OTP0x108.bin. Furthermore, add separate 'stages' of the app to automate much of the process. It could go something like this:
Stage 0 [Prep, 3DSX format, sysNAND]
1. Dumps sysNAND & emuNAND to their respective files.
2. Installs tinyformat [in CIA format] on emuNAND and gives a message to launch & use it.
Stage 1 [Downgrading, CIA format, emuNAND]:
1. Checks md5 sum of all 2.1 CIA files in the /update/ folder.
2. Installs the CIA files if the md5's check out. [Reuse code from sysupdater maybe?] [Is this even necessary, because we are using emuNAND to ensure no title install fails?]
Stage 2 [Flashing/Dumping/Restoring, BIN format, sysNAND]
1. Checks system version.
If version is 9.2:
1. Dumps emuNAND as 'NAND2.1.bin' and flashes it to sysNAND.
If version is 2.1:
1. Dumps OTP & OTP0x108 to their respective files.
2. Dumps them into RAM and compares them with md5.
3. Restores sysNAND & emuNAND.
I dunno, this just seemed useful. If it's not, let me know and I'll delete it.
 
Last edited by Swiftloke,

Mistie

Legit Furry Trash
Member
Joined
Jan 20, 2016
Messages
181
Trophies
0
Age
25
Location
Alberta
XP
298
Country
Canada
Anyone know if otp0x108.bin is actually needed for anything? I did not grab it when I installed arm9loaderhax as there was no way to as far as I know. I have everything setup and my otp.bin backed up but am concerned that I may need to go through the whole process again because I didn't get that on my first run through.
 

Frelia

Active Member
Newcomer
Joined
Aug 18, 2015
Messages
30
Trophies
0
Age
30
XP
101
Country
Malaysia
Anyone know if otp0x108.bin is actually needed for anything? I did not grab it when I installed arm9loaderhax as there was no way to as far as I know. I have everything setup and my otp.bin backed up but am concerned that I may need to go through the whole process again because I didn't get that on my first run through.
It might be used, it might not be. All we know is that if we do end up using it, you'd have to do the entire 2.x downgrading spiel again, so might as well tell newcomers to grab it.
 

Mistie

Legit Furry Trash
Member
Joined
Jan 20, 2016
Messages
181
Trophies
0
Age
25
Location
Alberta
XP
298
Country
Canada
It might be used, it might not be. All we know is that if we do end up using it, you'd have to do the entire 2.x downgrading spiel again, so might as well tell newcomers to grab it.
Does anyone know if it would be possible to dump this without downgrading if we already have a9lh? Like could we boot directly into a dumper and dump or would it already be cleared then?

--------------------- MERGED ---------------------------

@d0k3
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Does anyone know if it would be possible to dump this without downgrading if we already have a9lh? Like could we boot directly into a dumper and dump or would it already be cleared then?

--------------------- MERGED ---------------------------

@d0k3
So far it hasn't been used for anything and looks like it won't ever be, since we can get all of the TWL stuff (which is the extra 0x8 on the end) from RAM afaik
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, @Psionic Roshambo sorry but im not that used to listening to non game music +1