Homebrew ARM9Loader -- Technical Details and Discussion

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Am I the only one that's reluctant to ditch emuNAND? I don't know why it just makes more sense to me to stick with it instead of messing about on sysNAND.

I don't blame you. There's no compelling reason to do so yet. Even if emuNAND doesn't end up getting hooks for D9/E9, we can still just reboot into a boot manager and pick them once we have backlights and such.
 

Urbanshadow

Well-Known Member
Member
Joined
Oct 16, 2015
Messages
1,578
Trophies
0
Age
33
XP
1,723
Country
the title is NATIVE_FIRM... and since the titles check the NATIVE_FIRM version and refuse to boot in certain conditions we can't run 2.1 NATIVE_FIRM with the newer titles

Pfft. Oh. I have a question. If somehow a9lh aureinand supported 2.1 emunand with the 2.X firm, given it boots right away, will the otp be unprotected even it theres a superior version sysnand?
(I know its useless because you would need the otp to grab the otp, but it's nice to know there's a way to re-obtain it easily)

EDIT: What am I saying. It's the otp locked when a9lh arrives?
 
Last edited by Urbanshadow,

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Pfft. Oh. I have a question. If somehow a9lh aureinand supported 2.1 emunand with the 2.X firm, given it boots right away, will the otp be unprotected even it theres a superior version sysnand?
(I know its useless because you would need the otp to grab the otp, but it's nice to know there's a way to re-obtain it easily)
Nope, since once the bit to protect the OTP is set it can't be unset without a full power off and the bit is set very early in FIRM boot on console power on
 
  • Like
Reactions: peteruk

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Nope, since once the bit to protect the OTP is set it can't be unset without a full power off and the bit is set very early in FIRM boot on console power on

It still gets locked even with A9LH present? That's interesting, I thought it decrypted the FIRM to garbage and then ran our code, which would come before loading another FIRM (which then locks it)?
 

Tjessx

Well-Known Member
Member
Joined
Dec 3, 2014
Messages
1,160
Trophies
0
Age
27
XP
952
Country
Belgium
Am I the only one that's reluctant to ditch emuNAND? I don't know why it just makes more sense to me to stick with it instead of messing about on sysNAND.
I'm waiting for graphical applications to work in arm9.
Then i will ditch emunand swell.
From that moment we could easily create an unblock application, or a more user friendly boot loader that can boot into something like (forgot the name, Nand format + copy application)
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
1
Location
Sandy, UT
XP
615
Country
United States
I don't blame you. There's no compelling reason to do so yet. Even if emuNAND doesn't end up getting hooks for D9/E9, we can still just reboot into a boot manager and pick them once we have backlights and such.
Yeah I don't see the point in rushing away from emunand yet either. A9LH in its current state lets you boot your emunand so quickly and reliably that you hardly even notice the difference, and there's no chance of something unforeseen in a future update throwing something out of whack that can't be easily repaired by an emunand restore.

I don't see myself switching to sysnand-only until there's a Decrypt9 BootMii Edition that you can always run no matter how badly you pulverize your nand just like with the Wii.
 

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
At this point I feel like downgrading to get the OTP might even be safer than downgrading from an unhacked console to 9.2 in the first place. In the case of the OTP downgrade you perform most of the dangerous steps in an emunand environment and so everything really should be in order by the time you flash anything to your sysnand.
The most dangerous part where it can go wrong on N3DS Only: fixing your bricked emunand 2.1 and write it to sysnand.
If for some reason the bricked emunand wasn't fixed or gor corrupted during the fix, your N3DS(XL) gets bricked (i know, my N3DS XL got bricked this way :/ )
 

Urbanshadow

Well-Known Member
Member
Joined
Oct 16, 2015
Messages
1,578
Trophies
0
Age
33
XP
1,723
Country
It still gets locked even with A9LH present? That's interesting, I thought it decrypted the FIRM to garbage and then ran our code, which would come before loading another FIRM (which then locks it)?

Well, as I understand it, it's a gamble. What are the chances of crypto garbage to set the otp lock bit before the payload jump?
 
Last edited by Urbanshadow,

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
It still gets locked even with A9LH present? That's interesting, I thought it decrypted the FIRM to garbage and then ran our code, which would come before loading another FIRM (which then locks it)?
arm9loader locks it as soon as it reads the OTP (which is before it decrypts the bad key we implanted in the 0x96 sector)
 
  • Like
Reactions: daxtsu

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
1
Location
Sandy, UT
XP
615
Country
United States
The most dangerous part where it can go wrong on N3DS Only: fixing your bricked emunand 2.1 and write it to sysnand.
If for some reason the bricked emunand wasn't fixed or gor corrupted during the fix, your N3DS(XL) gets bricked (i know, my N3DS XL got bricked this way :/ )
Yeah, that part is definitely risky, but it's at least risky in a much more deterministic sense than having memchunkhax2 randomly decide to abort in the middle of a downgrade. Assuming everything is done right by the user and that the programs themselves are written and configured right and running in the right environment, then ideally they would work 100% of the time. Sorry to hear that something went wrong in the chain of events for you though x_x
 
  • Like
Reactions: daxtsu

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,848
Trophies
4
XP
10,125
Country
United Kingdom
I'm waiting for graphical applications to work in arm9.
Then i will ditch emunand swell.
From that moment we could easily create an unblock application, or a more user friendly boot loader that can boot into something like (forgot the name, Nand format + copy application)
Yeah, I get that being able to run D9 that early on will provide the ability to restore a working NAND backup if someone messes up sysNAND. I guess I just don't feel totally safe yet. It's not like the PSP where there was the Pandora battery, we can still get perma-bricked if enough shit went wrong. Always having my 9.2 sysNAND kinda gives me that protected feeling.
 
  • Like
Reactions: FenrirWolf

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Yeah, I get that being able to run D9 that early on will provide the ability to restore a working NAND backup if someone messes up sysNAND. I guess I just don't feel totally safe yet. It's not like the PSP where there was the Pandora battery, we can still get perma-bricked if enough shit went wrong. Always having my 9.2 sysNAND kinda gives me that protected feeling.
This is why I hardmod all of my consoles as soon as possible and before doing any risky stuff with them...
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
I guess I should do that too as it seems to be the only way to get that cosy safe feeling I'm looking for.
if you're doing a model other than the non XL o3ds the soldering is super easy and it's only 4 wires... if you have a bit more skill o3ds non XL is pretty easy too
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think