Hacking Need help hex editing the secret sector

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
36
Location
Doha
XP
3,041
Country
Qatar
Hi guys,

A few months back, I accidentally used the otp from my other 3ds on my first one to upgrade a9lh. Needless to say, that bricked the system.

According to @capito27 this resulted in secret sector corruption, and it's an easy fix with hex edit the NAND from the system provided that I have the proper OTP, which I do.

So now, I have a NAND image, and I have the OTP. Can anyone help me with the next step? I don't know what I should be doing (we didn't go that far into the convo at the time)

Thanks
 

Zan'

2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F
Member
Joined
Oct 8, 2015
Messages
387
Trophies
0
Age
30
XP
251
Country
Hi guys,

A few months back, I accidentally used the otp from my other 3ds on my first one to upgrade a9lh. Needless to say, that bricked the system.

According to @capito27 this resulted in secret sector corruption, and it's an easy fix with hex edit the NAND from the system provided that I have the proper OTP, which I do.

So now, I have a NAND image, and I have the OTP. Can anyone help me with the next step? I don't know what I should be doing (we didn't go that far into the convo at the time)

Thanks
You basically need to use the OTP file that bricked to get your secret sector back to normal. And then you could use the correct OTP to install a9lh properly.

However it's not as easy without having any clue. And I can't really walk you through it either.
 
Last edited by Zan',
  • Like
Reactions: Madridi

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
36
Location
Doha
XP
3,041
Country
Qatar
You basically need to use the OTP file that bricked to get your secret sector back to normal. And then you could use the correct OTP to install a9lh properly.

However it's not as easy without having any clue. And I can't really walk you through it either.
So I also need the OTP that bricked me? I'll need both?
I have both but I'm making sure that's the case.

Thanks for your reply, I hope I get some more help on this :)
 

Zan'

2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F
Member
Joined
Oct 8, 2015
Messages
387
Trophies
0
Age
30
XP
251
Country
So I also need the OTP that bricked me? I'll need both?
I have both but I'm making sure that's the case.

Thanks for your reply, I hope I get some more help on this :)
I am currently trying to find what he actually said.

But first of all. Do you not have a NAND backup BEFORE the secret sector got corrupted?

I think you could manually run the correct OTP over the default secret sector file and inject that into your NAND.
No old OTP needed then. (I forgot the fact that you have the secret_sector you want to install anyway. So you don't need to restore that part)
 
Last edited by Zan',
  • Like
Reactions: Madridi

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
36
Location
Doha
XP
3,041
Country
Qatar
I am currently trying to find what he actually said.

But first of all. Do you not have a NAND backup BEFORE the secret sector got corrupted?

I think you could manually run the correct OTP over the default secret sector file and inject that into your NAND.
No old OTP needed then. (I forgot the fact that you have the secret_sector you want to install anyway. So you don't need to restore that part)
I do have NAND backups from before and after a9lh was installed. I was not looking to install either as I progressed quite a bit later in terms of extdata, etc..

How would you manually proceed with what you mentioned?
 

capito27

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
874
Trophies
0
XP
1,210
Country
Swaziland
I do have NAND backups from before and after a9lh was installed. I was not looking to install either as I progressed quite a bit later in terms of extdata, etc..

How would you manually proceed with what you mentioned?
you should have a hard mod, so simply plug it into your computer and wait for windows to detect it, then once it's mounted (the moment it asks you to format it) simply decline the format prompt and open an hex editor (HxD works perfectly fine for this, to open a drive with HxD, simply press "tools" and "open disk" (you need to run it as administrator for it to be able to do so)) then once it's open, simply go to location 0x00012C00 (with HxD , do CTRL+G) and you'll need to replace the next 0x200/512 bytes with a working secret sector (that is, the secret sector you get when you compile your a9lh from the old method with the right OTP, if you don't know how to, simply send me your otp.bin by PM and i'll send you the 0x200 bytes to replace with) once you've replaced the 0x200 bytes , simply save and close the application, and unplug the 3ds from the computer and it should boot just fine.
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • M4x1mumReZ @ M4x1mumReZ:
    Welcome new user
  • trepp0 @ trepp0:
    Just got the notice that school is being released 2 hours early cause of the winter storm
  • trepp0 @ trepp0:
    lets go
  • Psionic Roshambo @ Psionic Roshambo:
    Better than 3 hours late from a lockdown lol
    +1
  • FAST6191 @ FAST6191:
    While I know you mean in case of someone confusing schooling establishment from shooting establishment (many of the same letters) I am still going to read that as lockdown (also known as lock in) for a pub
  • FAST6191 @ FAST6191:
    where if you were in the club you could be invited to be there as a guest of the landlords after things are supposed to stop being served
  • FAST6191 @ FAST6191:
    Have technically done that in a school but it was the sports centre associated with the school more than the school itself
  • FAST6191 @ FAST6191:
    being drunk in school was either because drunk on playing field or could not be arsed with one particular Thursday afternoon so went and had some beers and played some games instead before returning for an ill advised last lesson/period
  • K3N1 @ K3N1:
    Being drunk and high in school was cool
  • K3N1 @ K3N1:
    It was high school
  • The Real Jdbye @ The Real Jdbye:
    my power cut out twice
  • The Real Jdbye @ The Real Jdbye:
    my pi running octoprint wiped all my plugins and i cba to fix it
  • Psionic Roshambo @ Psionic Roshambo:
    No pi for you lol
  • Sonic Angel Knight @ Sonic Angel Knight:
    Psi, you didn't spell your name right
  • Sonic Angel Knight @ Sonic Angel Knight:
    It's "Psionic" not "PI"
  • Psionic Roshambo @ Psionic Roshambo:
    So R Kelly is probably pissing himself right now
    +1
  • K3N1 @ K3N1:
    R Kelly knows how to piss on himself?
    +1
  • Veho @ Veho:
    Is it better to be pissed off than pissed on?
    ZeroT21 @ ZeroT21: :rofl2: