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,850
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,850
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,850
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,850
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
417
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,850
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,850
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
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    BigOnYa @ BigOnYa: That was what called a qaaulude, instant drunk, luckily they not around anymore.