Hacking Why does safearm9lhinstaller first look into the SD for OTP.bin?

Bedel

The key of the blade
OP
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,843
Country
United States
Well, since some youtuber briked like 4000 consoles by letting his OTP.bin in his files, I've been thinking, why does it search for it in the SD first? I mean, if you can start it up is because you can dump the OTP, so searching for it in the SD makes no sense for me.
I think there should be a reason, but I don't really know why. Maybe it's left from when we dumped the OPT from 2.1, went back to 9.2, and then installed the a9lh? I don't know, maybe it's a bad idea for it to be as it is now.

PS: I'm not tring to defend that youtuber or something. He really screw it up, but I just wanted to know this.
 

windhazard

Well-Known Member
Member
Joined
Mar 23, 2016
Messages
416
Trophies
0
XP
1,372
Country
United Kingdom
You can only dump it if you are on FW 2.1 or lower. So the first step should be looking for an existing OTP.bin on the SD. This allows you to install A9LH on higher firmware without CTR Transfering once more to 2.1
It's not a bad function. Imagine one day you have to send back to Nintendo for reparing stuffs. You want to remove A9LH first. After getting it back, you just need that tiny OTP file to reinstall A9LH.
 
Last edited by windhazard,

Bedel

The key of the blade
OP
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,843
Country
United States
You can only dump it if you are on FW 2.1 or lower. So the first step should be looking for an existing OTP.bin on the SD. This allows you to install A9LH on higher firmware without CTR Transfering once more to 2.1
But you could first try to dump it, and if it's not posible (because of the firmeware version) then search for it. Or even you could first what version is it executing to know if it can be dumped or not.
I don't know if I can explain myself as I want (my english level is limited), but that bricks could've been avoided.
 
  • Like
Reactions: Quantumcat

windhazard

Well-Known Member
Member
Joined
Mar 23, 2016
Messages
416
Trophies
0
XP
1,372
Country
United Kingdom
I get your point, but I'm sure the dev has their reason. Instead of creating a new thread, maybe you can find the original post and ask the question while tagging the name of the devs. It's easier for them to answer your question.
About the way people are bricking their own consoles because of a strange predumped OTP.bin, the fault lies mostly with them, not with the A9LH installer. Know that hacking your console always come with risk of bricking. So be prepared, look for help, search for every guide to compare, not just simply follow the first thing you found. I learnt it the hard way myself.
 

Bedel

The key of the blade
OP
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,843
Country
United States
I get your point, but I'm sure the dev has their reason. Instead of creating a new thread, maybe you can find the original post and ask the question while tagging the name of the devs. It's easier for them to answer your question.
About the way people are bricking their own consoles because of a strange predumped OTP.bin, the fault lies mostly with them, not with the A9LH installer. Know that hacking your console always come with risk of bricking. So be prepared, look for help, search for every guide to compare, not just simply follow the first thing you found. I learnt it the hard way myself.
Well I guess you are right in the first part.
In the second, as I stated, I'm not tring to defend anyone. Everyone has his own fault there, but even that way it's still this I can't really understand. I fell like safea9lhinstaller is, ironcally, less safer than it could.
 

Bedel

The key of the blade
OP
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,843
Country
United States
Scroll down to "you can thank Yakara Colombia" on Jan 07, looks like it was actually an oversight.

https://github.com/Plailect/Guide/commits/master
So plailect changed it to do it as I said, but this still does not aswer why aurora did it like that at first.
Well, for now on I wish the people that makes guides use plailect's version, because that in particular did not (he changed the source to put his name, so I think he used Aurora's github).
 

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
407
Country
So plailect changed it to do it as I said, but this still does not aswer why aurora did it like that at first.
Well, for now on I wish the people that makes guides use plailect's version, because that in particular did not (he changed the source to put his name, so I think he used Aurora's github).

Maybe because she believes that people won't be so stupid to follow a video tutorial without a text tutorial
 

Cuphat

Well-Known Member
Member
Joined
May 16, 2011
Messages
1,295
Trophies
1
XP
1,223
Country
United States
So plailect changed it to do it as I said, but this still does not aswer why aurora did it like that at first.
Well, for now on I wish the people that makes guides use plailect's version, because that in particular did not (he changed the source to put his name, so I think he used Aurora's github).
Probably just the way it was built. It was originally not usable directly on 2.1 to dump the OTP, it was to install after getting back to 9.2 or upgrade from A9LH. OTP dumping was then added after the fact.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
So plailect changed it to do it as I said, but this still does not aswer why aurora did it like that at first.
Well, for now on I wish the people that makes guides use plailect's version, because that in particular did not (he changed the source to put his name, so I think he used Aurora's github).
I'm guessing he just botchily hex edited the original files based on the fact he tries to squash his name in where ever he can without changing character counts, I.e "thanks to", becoming "yakara!! " seems to suggest he didn't recompile but just hex edited

Don't get me wrong though some of the issues people have with him are the same as pailect, I.e running ads on the guide that features the work of lots of people.....but again I don't really care as I'm sure most people would probably try monetise if they are putting in the effort to maintain guides etc, that said slapping your name over other people's projects is a shitty thing to do......I guess at least he didn't try to remove the original credits though.....which would have been shittier :P
 
Last edited by gamesquest1,
  • Like
Reactions: Bedel

Bedel

The key of the blade
OP
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,843
Country
United States
I'm guessing he just botchily hex edited the original files based on the fact he tries to squash his name in where ever he can without changing character counts, I.e "thanks to", becoming "yakara!! " seems to suggest he didn't recompile but just hex edited

Don't get me wrong though some of the issues people have with him are the same as pailect, I.e running ads on the guide that features the work of lots of people.....but again I don't really care as I'm sure most people would probably try monetise if they are putting in the effort to maintain guides etc, that said slapping your name over other people's projects is a shitty thing to do......I guess at least he didn't try to remove the original credits though.....which would have been shittier :P
Well, he also edited the folder where otp.bin was saved, but I don't really know if he can edit that also with hexadecimal.
 

C0mm4nd_

Aspirant Wii U homebrew dev :P
Member
Joined
Oct 9, 2016
Messages
697
Trophies
0
Website
127.0.0.1
XP
540
Country
Italy
A good workaround could be: Check if the SD contains OTP.bin if yes Check fw version, if 2.1 dump OTP and check OTP.bin with 2.1 OTP.bin, if ver 9.2,ecc just use OTP from SD​
 
  • Like
Reactions: Bedel

Bedel

The key of the blade
OP
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,843
Country
United States
A good workaround could be: Check if the SD contains OTP.bin if yes Check fw version, if 2.1 dump OTP and check OTP.bin with 2.1 OTP.bin, if ver 9.2,ecc just use OTP from SD​
I'd first look if the fw version is 2.1, and if it's, then dump the OTP and compare it. If it's not, then search into the SD. Anything else seems unusefull to me xD
 

Redferne

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
845
Trophies
0
XP
1,856
Country
United Kingdom
In the A9LH early days, you dumped your OPT before using SafeA9LHinstaller. That's why.
I guess the code stayed since then.
 

szymon170

Pr0FessiuNal HelPeR wiTh HaxXX
Member
Joined
Jan 2, 2016
Messages
381
Trophies
0
Age
29
Location
Where I live
XP
537
Country
Poland
It's kinda off-topic, but I'm going to ask it here anyway. What's that video that has bricked 4000 3DSes by placing the OTP.bin file in the description? I'd like to watch it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Materia_tofu @ Materia_tofu:
    hey sylv? do you know why gameyob crashes on the EZP?
  • Materia_tofu @ Materia_tofu:
    @SylverReZ forgor to tag lol
  • SylverReZ @ SylverReZ:
    @Materia_tofu, Maybe ask the EZ-Flash team.
  • Materia_tofu @ Materia_tofu:
    maybe tomorrow lol
  • SylverReZ @ SylverReZ:
    You can make a post on the DS forum about your findings, and they'll do their best to respond. They have a GBAtemp account here, you know.
  • Materia_tofu @ Materia_tofu:
    oh ye i made a post i did forget they had an account i prob shouldve tagged them in the post
    tbh
    +1
  • SylverReZ @ SylverReZ:
    @Materia_tofu, Would've been a great idea, because they'll notice.
    +1
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    Veho @ Veho: Ah, you mean furries.