Hacking [WIP] open source Kernel access on 3DS

Status
Not open for further replies.

lpchaim

Well-Known Member
Newcomer
Joined
Jan 6, 2013
Messages
75
Trophies
0
XP
189
Country
Brazil
Why do you have to ask that? OSKA is already open source.
Well, it might be because kernel access and CFW aren't necessarily linked in most people's minds. I think that line of thinking bleeds from the PSP or, to a lesser extent, PS3 scenes.
If I remember correctly from the KARL thread, granting access needs reboot-persistant patches that technically makes a patched OS CFW, even if not permanent, right?
 

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The
Uh, I think that's wrong past 0x4000. The add counter resets every 0x4000 bytes.

Here is a slight enhancement of ernie's program that decrypts each firmware region properly and to separate files.

...

Applying this to the GW 3.0 Launcher.dat yields a number of files (namely, offset_0x0A000.bin, offset_0x0E000.bin, offset_0x12000.bin, offset_0x16000.bin and offset_0x1A000.bin), but apparently none of them contain strings as one would expect (e.g. no instance of "save", case in-sensitive in either UTF8 or UTF16{L,B}E). Is there more obfuscation down the road or am I doing something wrong?
 

flipy

Member
Newcomer
Joined
Jan 21, 2015
Messages
16
Trophies
0
Age
42
XP
89
Country
Applying this to the GW 3.0 Launcher.dat yields a number of files (namely, offset_0x0A000.bin, offset_0x0E000.bin, offset_0x12000.bin, offset_0x16000.bin and offset_0x1A000.bin), but apparently none of them contain strings as one would expect (e.g. no instance of "save", case in-sensitive in either UTF8 or UTF16{L,B}E). Is there more obfuscation down the road or am I doing something wrong?


Same here, output is not useful, so I might be missing something or done something wrong.
 

MrJason005

√2
Member
Joined
Nov 26, 2014
Messages
2,521
Trophies
0
Location
Κάπου
XP
1,609
Country
Greece
SHUT UP unless you can write alternative codes of my source codes.
I know where pepole who make software for piracy for Nintendo in Japan will go.
My post was never meant to be taken seriously. The way I emphasized my sentence, my effort into making seem like a stereotype, and how crude it was written back that up. It was meant to be a joke, and it could interparted by some that it is in complete contrast with KARL.
I never meant to cause any harm to anyone involved, and if I indeed did I would like to give my sincerest apologies.
 

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
My post was never meant to be taken seriously. The way I emphasized my sentence, my effort into making seem like a stereotype, and how crude it was written back that up. It was meant to be a joke, and it could interparted by some that it is in complete contrast with KARL.
I never meant to cause any harm to anyone involved.
Anyway, please don't say anymore such a thing.
 
  • Like
Reactions: MrJason005

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
How is this going to be different from KARL3DS? (outside of the fact this is open source, yay!)


This will allow for outside developers to grab the source code and improve upon it, making enhancements on it, updating it, and modifying it to their need. KARL3DS, you'll be at the whim of whatever the developers want to do (or not) with it. If there's bugs in the software, tough luck until if/when they fix it...
 
  • Like
Reactions: Margen67

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
This will allow for outside developers to grab the source code and improve upon it, making enhancements on it, updating it, and modifying it to their need. KARL3DS, you'll be at the whim of whatever the developers want to do (or not) with it. If there's bugs in the software, tough luck until if/when they fix it...

We have plans to open source pieces of our code as we go along. At the time however we realized that keeping ARM9 open was not a good idea (for several reasons), so we kept it closed for the time being. We would just prefer that our code not directly lead to the result of a warez loader, however there's still no point in keeping it closed if an exact equivalent is remaining open.
 

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
We have plans to open source pieces of our code as we go along. At the time however we realized that keeping ARM9 open was not a good idea (for several reasons), so we kept it closed for the time being. We would just prefer that our code not directly lead to the result of a warez loader, however there's still no point in keeping it closed if an exact equivalent is remaining open.
I'm developing on my policy; I consider softwares should be as "free" as possible. It's the difference from piracy.
 

flipy

Member
Newcomer
Joined
Jan 21, 2015
Messages
16
Trophies
0
Age
42
XP
89
Country
Thank you for understanding. I'm working on the development...
Thanks for your work, and thanks for your code, easy to follow using Yifan Lu explanations!
Not a ASM-guru, but at least can understand how the exploits work, and what is still missing.

We have plans to open source pieces of our code as we go along. At the time however we realized that keeping ARM9 open was not a good idea (for several reasons), so we kept it closed for the time being. We would just prefer that our code not directly lead to the result of a warez loader, however there's still no point in keeping it closed if an exact equivalent is remaining open.
Understandable, but let's keep the discussion off the thread if possible (your thread has been several times hijacked for the same reason).
 
  • Like
Reactions: 173210

173210

Well-Known Member
Member
Joined
Jan 22, 2014
Messages
245
Trophies
0
Age
26
Location
Japan
Website
173210.github.io
XP
683
Country
Can anyone dump 0xEFFF497C and 0xEFFF4980?
Code:
diff --git a/oska.c b/oska.c
index fbfbb87..a1e992e 100644
--- a/oska.c
+++ b/oska.c
@@ -284,6 +284,9 @@ int exploit()
 
        HB_ReprotectMemory(nopSlide, 4, 7, &result);
 
+      printf("0xEFFF497C: 0x%08" PRIx32 " 0x%08" PRIx32 "\n",
+              *(int32_t *)0xEFFF497C, *(int32_t *)0xEFFF4980);
+
        for (i = 0; i < sizeof(nopSlide) / sizeof(int32_t); i++)
                nopSlide[i] = 0xE1A00000; // ARM NOP instruction
        nopSlide[i-1] = 0xE12FFF1E; // ARM BX LR instruction
 
  • Like
Reactions: Margen67

flipy

Member
Newcomer
Joined
Jan 21, 2015
Messages
16
Trophies
0
Age
42
XP
89
Country
Can anyone dump 0xEFFF497C and 0xEFFF4980?
Code:
diff --git a/oska.c b/oska.c
index fbfbb87..a1e992e 100644
--- a/oska.c
+++ b/oska.c
@@ -284,6 +284,9 @@ int exploit()
 
        HB_ReprotectMemory(nopSlide, 4, 7, &result);
 
+      printf("0xEFFF497C: 0x%08" PRIx32 " 0x%08" PRIx32 "\n",
+              *(int32_t *)0xEFFF497C, *(int32_t *)0xEFFF4980);
+
        for (i = 0; i < sizeof(nopSlide) / sizeof(int32_t); i++)
                nopSlide[i] = 0xE1A00000; // ARM NOP instruction
        nopSlide[i-1] = 0xE12FFF1E; // ARM BX LR instruction


Crashes and causes a soft-reboot on 4.5.0-8E without printing anything on the screen.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16