Homebrew Clarification Thread - What is going on?

Status
Not open for further replies.

Bull Moose 2016

Well-Known Member
Newcomer
Joined
Nov 12, 2015
Messages
47
Trophies
0
XP
99
Country
United States
Hey, I'm not really a 3ds programmer guy, although I am a professional developer, and in watching the video again and reading through your guys' source code, I noticed that you are allocating only one kernel object, modifying its attributes to contain a memchunk header (exactly as described in the video) but then you seem to have the intention of overwriting the vtable pointer of that single allocated object. I'm not sure that makes sense. The memchunk header you are allocating against occurs after the vtable pointer, so unless I'm mistaken, that first vtable pointer isn't part of the memory that's being mapped to userland and you aren't going to be able to overwrite it.

Instead, I think you need to create multiple kernel objects as shown in the video, and you can only overwrite the vtable pointers on the other objects which got swept up in the allocation from the first one.

There's a slide in the video where derrek highlights the slab heap in red that shows what I'm talking about pretty clearly.
 
Last edited by Bull Moose 2016,

Substance12

Well-Known Member
Member
Joined
Aug 2, 2015
Messages
562
Trophies
0
XP
539
Country
Argentina
Hey, I'm not really a 3ds programmer guy, although I am a professional developer, and in watching the video again and reading through your guys' source code, I noticed that you are allocating only one kernel object, modifying its attributes to contain a memchunk header (exactly as described in the video) but then you seem to have the intention of overwriting the vtable pointer of that single allocated object. I'm not sure that makes sense. The memchunk header you are allocating against occurs after the vtable pointer, so unless I'm mistaken, that first vtable pointer isn't part of the memory that's being mapped to userland and you aren't going to be able to overwrite it.

Instead, I think you need to create multiple kernel objects as shown in the video, and you can only overwrite the vtable pointers on the other objects which got swept up in the allocation from the first one.

There's a slide in the video where derrek highlights the slap heap in red that shows what I'm talking about pretty clearly.

This is not really the place for this, go post it on the repo

https://github.com/Steveice10/memchunkhax2/issues
 

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
Ok, so, last question. Before downgrading it's pretty obvious i'll have to uninstall menuhax, right?
I think that there will be an easy way to do it:
  • Remove the SD card while booting
  • Put the SD card back
  • Switch theme to a colored one and switch back to default
And that's done.
 
  • Like
Reactions: Substance12

bbcali89

Well-Known Member
Member
Joined
Sep 16, 2013
Messages
418
Trophies
0
Age
34
Location
Chicago
XP
735
Country
United States
I'm so excited to see this happen. It feels like the psp scene all over again. downgrading n shit lol

:) good work guys
 

MegaBoyEXE

Well-Known Member
Member
Joined
Dec 27, 2015
Messages
126
Trophies
0
XP
471
Country
Brazil
Ok, so, last question. Before downgrading it's pretty obvious i'll have to uninstall menuhax, right?

Well, I would advise to do it.
Maybe this is not your case if did not intend to use CFW at all, but I had some problems when I did a 10.3 w/ menuhax sytem transfer to a emuNAND.
I was caught in an infinity boot loop between sysnand (already with 9.2 w/ menuhax) and the emunand also having menuhax, because I could not remove SD card during emunand boot, for obvious reason.
It took some time to figure out a way to properly boot emunand and uninstall it's unecessary menuhax.
 

Substance12

Well-Known Member
Member
Joined
Aug 2, 2015
Messages
562
Trophies
0
XP
539
Country
Argentina
I'm stuck on 10.3 ;( sucks I gotta wait for memchunkhax

If you mean to downgrade and if you had a n3DS, you would've had to wait for memchunkhax2 anyway because snshax is not being worked on anymore.

If you mean to access homebrew, you can use the new browserhax.
 

bbcali89

Well-Known Member
Member
Joined
Sep 16, 2013
Messages
418
Trophies
0
Age
34
Location
Chicago
XP
735
Country
United States
If you mean to downgrade and if you had a n3DS, you would've had to wait for memchunkhax2 anyway because snshax is not being worked on anymore.

If you mean to access homebrew, you can use the new browserhax.

he might be referring to kernel abilities like cias etc.
 

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
Well, I would advise to do it.
Maybe this is not your case if did not intend to use CFW at all, but I had some problems when I did a 10.3 w/ menuhax sytem transfer to a emuNAND.
I was caught in an infinity boot loop between sysnand (already with 9.2 w/ menuhax) and the emunand also having menuhax, because I could not remove SD card during emunand boot, for obvious reason.
It took some time to figure out a way to properly boot emunand and uninstall it's unecessary menuhax.
No; don't ever remove menuhax. I gave instructions to remove it when downgraded.

--------------------- MERGED ---------------------------

Would ironhax be good for downgrading from 10.3 to 9.2?
Any *hax is.
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys