Hacking patching the 2.0b2 loader???

lafleche

Well-Known Member
OP
Member
Joined
Jan 4, 2007
Messages
645
Trophies
1
XP
2,990
Country
Netherlands
Hi,

I am probably (surely?) making it sound far to simple but bear with me...

In the early days it was claimed that the gateway loader was decrypted.
What is keeping some clever guys (which I am not!) from patching the bricking code out of the b2 loader?

On the windows platform all kind of patched executables and/or dll's are released on a daily basis to circumvent the copy protection of games/programs.

I know that if it was that simple it would already have been done but if Gateway does a Get-away it would be our only hope playing the newer titles without the fear of bricking.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
The checks would no doubt be coded into the firmware and removing/disabling them would have adverse effects elsewhere, also if I remember correctly the whole launcher wasn't decrypted, I think 1.2 was but 2.0b1 had extra encryption
 

Pedeadstrian

GBAtemp's Official frill-necked lizard.
Member
Joined
Oct 12, 2012
Messages
3,966
Trophies
2
Location
Sandy Eggo
XP
3,890
Country
United States
It's either what the dude above me said, or that they never actually found the bricking code in the first place. If the former is true, it'd be possible for others that don't care about piracy to fix it. I can't imagine every single capable hacker is anti-piracy. That makes me think that they never actually found it.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Well from what I read, they didn't find the actual code, but they "saw" it in action by running the encrypted code through a simple 3ds emulator ( not a emulator like some people would want) but something that would "run" the encrypted code so they could see the results

Kinda like looking at an engine running if it was made out of glass, the can see what is happening on the hardware, but they can't actually decrypt the code to change what happens....only look at it once it is running
 

Pedeadstrian

GBAtemp's Official frill-necked lizard.
Member
Joined
Oct 12, 2012
Messages
3,966
Trophies
2
Location
Sandy Eggo
XP
3,890
Country
United States
Well from what I read, they didn't find the actual code, but they "saw" it in action by running the encrypted code through a simple 3ds emulator ( not a emulator like some people would want) but something that would "run" the encrypted code so they could see the results
I seem to recall actual code, but maybe it was falsified.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Well it could of been a replication of what the code needed to perform the actions would have to look like, more reverse engineering, I'm sure some of the top elite hackers would have more luck at actually modifying the code, but I think after the whole region free "safe" conclusions, they wouldn't want to risk releasing anything if they might of missed something else, they would need to be 100% sure there isn't another well hidden bit of code that could do something

Don't forget the clone manufactures would no doubt be looking to pay someone to do it, and the fact they haven't had any success yet is probably an indication that it's not as simple as deleting a bit of code
 

Arras

Well-Known Member
Member
Joined
Sep 14, 2010
Messages
6,318
Trophies
2
XP
5,402
Country
Netherlands
Also risks. Even if you patch out some of the bricking code there might be more that hasn't been found and the result would only be more bricks. IIRC profi200 said somewhere he wouldn't touch b2 with a 50 feet pole and I agree 100%.
 

masterzero

Well-Known Member
Member
Joined
Apr 20, 2007
Messages
624
Trophies
0
XP
492
Country
the risks are moot when some people in this forum have recovered their 3ds from brick and installed a micro usb port in the process , making fixing it again really really easy. they could easily test the patched launchers for some time to see if they brick or not
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Really really easy for some, fact is the additional costs of the raspberry pi and soldering required would be something most people could do without
 

masterzero

Well-Known Member
Member
Joined
Apr 20, 2007
Messages
624
Trophies
0
XP
492
Country
but do you read me ? the people who have the usb mod can easily try those patched firmwares for some time , if they brick something is still wrong but they can easily fix thru the usb. If not , people could start using them
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
but do you read me ? the people who have the usb mod can easily try those patched firmwares for some time , if they brick something is still wrong but they can easily fix thru the usb. If not , people could start using them
Yeah but as has been discussed in the tread I made about the diagnostics bricking......it's impossible to prove that avoiding diagnostics is 100% safe! just if say 6 people test for a few weeks we might all get lucky and not get bricked, and then once everyone jumps onboard their is a piece of code that no testers ran in to, not to mention all it would take is 1 troll to come in and say they got bricked and the whole thing would be deemed confirmed to brick, kinda like 1 person saying b1 bricked them caused people to panic and avoid b1 even though it was 1 very vague and third hand report.... I'm surprised we haven't had a troll come along and say 1.2 bricked them too :P
 

krisztian1997

Well-Known Member
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
27
XP
300
Country
Romania
The code can be decrypted from what I remember, but the problem is that the bricking code and everything related to it is very obfuscated
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
The code doing the eMMC lock is in the VCPU and all that stuff is heavily obfuscated. The emulator is indeed accurate enough to get usable results. We looked into the code, after locating it with the emulator, otherwise we could not be sure about it.

But as already said, we are not interested to patch anything out, because it is to much risk and we don't help pirates.
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
The code doing the eMMC lock is in the VCPU and all that stuff is heavily obfuscated. The emulator is indeed accurate enough to get usable results. We looked into the code, after locating it with the emulator, otherwise we could not be sure about it.

But as already said, we are not interested to patch anything out, because it is to much risk and we don't help pirates.


In fact you only need to patch this code rather than every single checks that trigger it.
Of course there might be another brick function hidden elsewhere but I doubt so.

In the end patching Gateway launcher brings nothing to the homebrew scene as there are already tools available to execute your own payload in ARM9 context on the device, therefore it's understandable that most developers aren't interested in this endeavor.
 
  • Like
Reactions: profi200

DRWS

Well-Known Member
Newcomer
Joined
Sep 19, 2010
Messages
58
Trophies
0
XP
167
Country
United States
Before anyone says "OMG WTF 3DS EMULATOR?!" they are talking about a program that emulates the ARM CPUs used in the 3DS, like QEMU. It is just good enough to test the Gateway code, but does not emulate a 3DS.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,824
Trophies
3
Location
Gaming Grotto
XP
29,819
Country
Poland
Before anyone says "OMG WTF 3DS EMULATOR?!" they are talking about a program that emulates the ARM CPUs used in the 3DS, like QEMU. It is just good enough to test the Gateway code, but does not emulate a 3DS.
That's actually how all emulators start off. It emulates the 3DS's CPU's and is capable of running some code... which is a start. ;) Maybe once the scene properly kicks off, we'll see full-blown 3DS emulators, not necessarily for the sake of loading ROM's, rather for the sake of testing homebrew.
 
  • Like
Reactions: d4mation

redkeyboard

Well-Known Member
Member
Joined
Jan 8, 2013
Messages
640
Trophies
1
Age
44
XP
435
Country
United States
IIRC Normatt did patch out the code from 2.0b2, but there was still some deep brick code in there somewhere that got triggered.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Never heard of tiger crust. What is it?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Its known as tiger bread, also known as dutch crust.
  • Maximumbeans @ Maximumbeans:
    It's fuggin gooooood
    +1
  • RedColoredStars @ RedColoredStars:
    I mean. Whats different about it?
  • RedColoredStars @ RedColoredStars:
    Never even seen a tiger crust pizza in any stores around here. Walmart, Cub, or otherwise.
  • RedColoredStars @ RedColoredStars:
    Must be a regional thing.
  • RedColoredStars @ RedColoredStars:
    Gonna smoke this bowl then go get kitties ashes. <3
  • RedColoredStars @ RedColoredStars:
    Last thing I told her is how much I love her, and that Im not leaving her there forever and I promise to come back and take her back home with me.
  • Bunjolio @ Bunjolio:
    halllo
  • Black_Manta_8bit @ Black_Manta_8bit:
    hello, anyone is able to create cheat patches for cemu? i have a simple request if anyone can help
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Rest in piece. Hope she rests well, and that she loves you too. :sad:
    SylverReZ @ SylverReZ: @RedColoredStars, Rest in piece. Hope she rests well, and that she loves you too. :sad: