Hacking Need help hex editing the secret sector

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
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
32
XP
271
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
38
Location
Doha
XP
3,071
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
32
XP
271
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
38
Location
Doha
XP
3,071
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,230
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    We know
  • K3Nv2 @ K3Nv2:
    MiniTool is so slow at extending partitions
  • BigOnYa @ BigOnYa:
    I prefer AOMEI Partition Assistant
  • BigOnYa @ BigOnYa:
    Happy birthday @BakerMan in case I miss it. Hope you have all your dreams come true,except the Wario in the woods one
  • K3Nv2 @ K3Nv2:
    Free edition doesnt let you resize
    +1
  • BigOnYa @ BigOnYa:
    So seriously, damn I didn't know that. One to grow on...Gonna go check myself
  • K3Nv2 @ K3Nv2:
    Etcher decided to partition like 400GB of this sd card so trying to find a good software that doesnt ask for your entire check
    +1
  • BigOnYa @ BigOnYa:
    Is it a blank Partition, or are you trying to take an existing partition and extend it
  • BigOnYa @ BigOnYa:
    I once married a woman because she had a nice partition, then it became corrupted. I had to abandon that woman, and upgrade to a nicer woman with a better partition.
    +1
  • AdenTheThird @ AdenTheThird:
    This is one of the more bizarre spam raids I've seen on this site
    +1
  • BigOnYa @ BigOnYa:
    Yea is weird
  • BigOnYa @ BigOnYa:
    Thank You Mods! Spam Swatters Rule!
  • K3Nv2 @ K3Nv2:
    I had a werid memory blank picked up my tooth brush and I was like what do I do next
  • BigOnYa @ BigOnYa:
    That's cause you did Ecstasy/MDMA or LSD in the past, it will creep up on you and do that sometimes. Or dementia. (BTW- Just insert into anal cavity for 1 minute, then remove, check temperature. -76 normal)
    +1
  • K3Nv2 @ K3Nv2:
    No I read your comment and realized I didn't want to remember anything
    +1
  • BigOnYa @ BigOnYa:
    Toothbrushes are great for cleaning tile grout, A little baking soda and water is all you need. Obv don't use the same toothbrush you use for anal temperature probing.
    +1
  • BigOnYa @ BigOnYa:
    Mcguyver saved and rescused a whole village, just using a toothbrush.
  • K3Nv2 @ K3Nv2:
    At least a dentist is cheaper than your wife
    +1
  • K3Nv2 @ K3Nv2:
    Don't know why my dentist gets mad when I call her demtits
  • BigOnYa @ BigOnYa:
    Just remember, that dentist, can put you out with gas, then do things to you. (makes me wanna go see my dentist)
  • K3Nv2 @ K3Nv2:
    She's got happy gas
    +1
  • BigOnYa @ BigOnYa:
    It is funny how they call that laughing gas, granted it does make you giggly before you pass out
  • K3Nv2 @ K3Nv2:
    Alot of offices are clearing it out guess they figure just deal with it
  • BigOnYa @ BigOnYa:
    I had a root canal done a year ago and got gassed before. My dentist made me count from 10 backwards, i remember making it to 5. Woke up thinking I was still counting backwards from 10.
    BigOnYa @ BigOnYa: I had a root canal done a year ago and got gassed before. My dentist made me count from 10...