Hacking BootNTR New Version Research

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
The loader module was changed in the new update (so I wasn't completely correct on Arm11 not being changed in 11.2. it was). This change means PASLR will be enabled for all future games using the 11.x SDK.

But CFW replaces the loader entirely and disables PASLR stuff entirely as a result, so this effectively means no change at all if you are using a CFW like Luma 3DS.
Stuff other than the loader was changed.

From 3dbrew:

ARM11-kernel
3 functions were updated.

The first one is the actual handler function for svcWaitSynchronizationN.

After incrementing the counter with ldrex/strex, the last two functions now load the counter with plain ldr and executes kernelpanic() when it's zero.

Other than meaning NTR will need an update, it also means that slowhax is rip.
 

Noroxus

Margen67 Supporter
Member
Joined
Jul 7, 2013
Messages
443
Trophies
1
Location
Glorious Nippon
XP
871
Country
Germany
The loader module was changed in the new update (so I wasn't completely correct on Arm11 not being changed in 11.2. it was). This change means PASLR will be enabled for all future games using the 11.x SDK.

But CFW replaces the loader entirely and disables PASLR stuff entirely as a result, so this effectively means no change at all if you are using a CFW like Luma 3DS.

PASLR on every future game.... dear god. RIP entrypoints
 

Aurora Wright

Well-Known Member
Member
Joined
Aug 13, 2006
Messages
1,550
Trophies
3
XP
4,492
Country
Italy
To update the offsets you take an axiwram dump of the already supported FIRM and one of the new FIRM (use BootNTR to make them, you need to use a version which doesn't support both FIRMs).
Then take the offsets in main.c and use this https://www.3dbrew.org/wiki/Virtual_address_mapping_New3DS_v11.1 (on Old 3DS 0xFFF20000 virt -> 0x1FFDD000 physical - thanks to TuxSH for this). axiwram starts at 0x1FF80000, so in the dump consider offsets as relative to that. Having found the location of the patches, copy some bytes and find them in the new FIRM axiwram, then reverse the calculation (phys -> virt).
 
Last edited by Aurora Wright,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1