Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

Aurora Wright

Well-Known Member
OP
Member
Joined
Aug 13, 2006
Messages
1,550
Trophies
3
XP
4,536
Country
Italy
I just got chainloading Decrypt9 (or whatever arm9 payload) to work directly from AuRei. However, it's not very comfortable/useful: as AuReiNand is a normal brahma payload, it's running from 0x23F00000, however this is the same address other brahma payloads (like D9) use. So I can't overwrite AuRei while it's in memory :D I had to recompile D9 to run from 0x24F00000.
 
  • Like
Reactions: CreativeMan

Supster131

(づ。◕‿‿◕。)づ *:・゚✧
Member
Joined
Jan 19, 2016
Messages
3,315
Trophies
1
Location
My Computer
XP
2,758
Country
United States
I just got chainloading Decrypt9 (or whatever arm9 payload) to work directly from AuRei. However, it's not very comfortable/useful: as AuReiNand is a normal brahma payload, it's running from 0x23F00000, however this is the same address other brahma payloads (like D9) use. So I can't overwrite AuRei while it's in memory :D I had to recompile D9 to run from 0x24F00000.
You mean, like on 10.6?

Any test builds? :P
 

Supster131

(づ。◕‿‿◕。)づ *:・゚✧
Member
Joined
Jan 19, 2016
Messages
3,315
Trophies
1
Location
My Computer
XP
2,758
Country
United States
No, I mean that you hold L+R on boot and it boots an "arm9payload.bin" file from SD instead of the CFW. But as I said, you'd need to recompile every arm9 payload to use it with this...
Shouldn't too big of a hassle (for the end user), right?

D9's probably the most useful one, maybe include it with aureinand?
 

Aurora Wright

Well-Known Member
OP
Member
Joined
Aug 13, 2006
Messages
1,550
Trophies
3
XP
4,536
Country
Italy
Shouldn't too big of a hassle (for the end user), right?

D9's probably the most useful one, maybe include it with aureinand?
I worked around it now. Basically I compiled a barebones 7 KB loader (which I put in rei/loader.bin) which runs from 0x24F00000 and its sole purpose is loading the real payload (in this case, D9) to 0x23F00000.
So aurei loads it to 0x24F00000 and jumps to it, and it loads the arm9 payload to 0x23F00000 and jumps to it (a bit convoluted, but works).
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
I worked around it now. Basically I compiled a barebones 7 KB loader (which I put in rei/loader.bin) which runs from 0x24F00000 and its sole purpose is loading the real payload (in this case, D9) to 0x23F00000.
So aurei loads it to 0x24F00000 and jumps to it, and it loads the arm9 payload to 0x23F00000 and jumps to it (a bit convoluted, but works).
That's great! I've been postponing updating my A9LH and AuReiNAND for something just like this. Will I need the A9LH screen-init update to make use of this new feature?
 

Aurora Wright

Well-Known Member
OP
Member
Joined
Aug 13, 2006
Messages
1,550
Trophies
3
XP
4,536
Country
Italy
That's great! I've been postponing updating my A9LH and AuReiNAND for something just like this. Will I need the A9LH screen-init update to make use of this new feature?
If you want to run official Decrypt9 releases, yes. Currently I don't have screen init in A9LH itself, I bundled it into D9 itself.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
If you want to run official Decrypt9 releases, yes. Currently I don't have screen init in A9LH itself, I bundled it into D9 itself.
See, this is how I think it should have been done. Instead of having screen init on boot up causing issues with Stable 3D and flickering it should just be in each A9LH compatible homebrew. Since you needed to add the screen init into D9 then what's the harm of changing the offset? You'd need a special build anyway. In your latest solution, could you implement screen init into the loader.bin instead?
 

Supster131

(づ。◕‿‿◕。)づ *:・゚✧
Member
Joined
Jan 19, 2016
Messages
3,315
Trophies
1
Location
My Computer
XP
2,758
Country
United States
I worked around it now. Basically I compiled a barebones 7 KB loader (which I put in rei/loader.bin) which runs from 0x24F00000 and its sole purpose is loading the real payload (in this case, D9) to 0x23F00000.
So aurei loads it to 0x24F00000 and jumps to it, and it loads the arm9 payload to 0x23F00000 and jumps to it (a bit convoluted, but works).
Think you can share that build of yours? :P

Also, perhaps you can make another branch on your github for testing purposes? Things that aren't ready for prime time, but would help if people tried it out and gave feedback?
 

democracy

Well-Known Member
Member
Joined
Jul 3, 2009
Messages
910
Trophies
0
XP
740
Country
United States
Working great here Aurora, but the other boot option (L or R) are not working in the test build.

This is a pretty sweet cfw, thank you :)
 
Last edited by democracy,
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, Meta now owns you.