Hacking SNEEK v2

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
0
Location
Honey Oils inc.
Website
Visit site
XP
186
Country
I don't get it if you look in the di folder there's a makefile and if you compile it it gives you an iosmodule.elf which is one of the same files you need to compile sneek along with esmodule.elf

pity there's no wiki page for the DI with more compile info
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
ok, with crediar's changes to r31, it works
smile.gif

first, rename or delete your boot2.bin. then grab the latest source.

in es.c, uncomment the #define USB_HAX and re-compile that
then in main.c in di, uncomment #define FAT, change the number at line 538 to match your region, and change the game ID in 939 & 940 to whatever you want your default game to be.

then grab the same IOS60 you used for the sneek the first time you built it, but this time grab the 0000000e.app and the 00000001.app decrypted.

then open a terminal to the directory with the sneek source and the 2 .app files and run this...
Code:
cd es
make
cd ../fs
make
cd ../di
make
cd ../mini-tree-mod
make
cp ./armboot.bin .././armboot.bin
cd ../ 
./ELFIns/elfins ./es/esmodule.elf ./0000000e.app ./step1.bin
./ELFIns/elfins ./fs/iosmodule.elf ./step1.bin ./step2.bin
./boot2me/boot2me ./step2.bin ./boot2.bin
./ELFIns/elfins ./di/iosmodule.elf ./00000001.app ./di.bin

rm ./step1.bin
rm ./step2.bin

wait

it should make the same 2 files as before and also a di.bin. put the other 2 files in the same spot you did the first time, and put the di.bin in the root of your sd card.

to set up the hard drive, you need a folder on the root called "games" and in that folder you will have a folder for each game. in each game folder, you need to extract the tmd, tik, and cert.bins using wiiscrubber or something like that. and then you need to grab a decrypted partition and name it part.bin. i had to delete the first 0x20000 bytes from the one i got from wiiscruber. youll know its right when you have the first 6 bytes of the part.bin as the game ID. then just plug that sucker in and start sneeking.

it doesnt matter what usb port you use. this should also be impervious to 002 errors and ios reloads (if you are playing the default game) and also load each game with the correct IOS (except for the sneek modules). there are built in functions to change the game that is loaded, but whenever an ios reloads, it will jump back to that game hard coded in.
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
If they remove that they should surely need to remove all other files that can launch .dols/.elfs because you could use these to launch a usb loader and that's ! WAREZ !
tongue.gif



Yawn.....
 

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
0
Location
Honey Oils inc.
Website
Visit site
XP
186
Country
Got it
biggrin.gif


but some of the partitions extracted with wiiscrubber to part.bin are larger than 4gb tried NSMBW and it gave me a 4.3gb part.bin WWII aces give me the same result do you have to split the files??
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
0
Location
Sandy, UT
XP
603
Country
United States
Well now. This is an interesting development.

So you mentioned that whenever an IOS reload is called, it will jump to the hardcoded game? Okay, so let's say I set Metroid Prime Trilogy as the hardcoded game. If I try playing something else with IOS reload it will stop the game and jump to MPT?

EDIT: I'm trying to compile the modified source, but I get this error when I get to the di part and can't go any further:

Code:
C:\devkitPro\sneek-read-only\di>make
CCÂÂÂÂÂÂmain.o
In file included from main.c:21:
string.h:15: warning: conflicting types for built-in function 'memcpy'
main.c: In function 'DIP_Ioctl':
main.c:454: error: 'f' undeclared (first use in this function)
main.c:454: error: (Each undeclared identifier is reported only once
main.c:454: error: for each function it appears in.)
main.c:644: warning: implicit declaration of function 'memset32'
main.c: In function 'DIP_Ioctlv':
main.c:840: warning: passing argument 1 of 'syscall_3f' makes pointer from integ
er without a cast
syscalls.h:136: note: expected 'void *' but argument is of type 's32'
make: *** [main.o] Error 1

C:\devkitPro\sneek-read-only\di>cd ../mini-tree-mod

C:\devkitPro\sneek-read-only\mini-tree-mod>make
starlet.mk:2: *** "Set WIIDEV in your environment.".ÂÂStop.

C:\devkitPro\sneek-read-only\mini-tree-mod>cp ./armboot.bin .././armboot.bin
cp: cannot stat `./armboot.bin': No such file or directory
 

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
0
Location
Honey Oils inc.
Website
Visit site
XP
186
Country
looks like you haven't set the environments for devkitpro and haven't edited the source files correctly

did you remember to edit some of the source files like GP posted earlier

Code:
Edit mini-tree-mod\starlet mk file add 

export WIIDEV=$(DEVKITARM)

Edit to

PREFIX = $(WIIDEV)/bin/arm-eabi-

mini-tree-mod\makefile

MAKEBIN = python makebin.py
to
MAKEBIN = /c/python26/python makebin.py (python26 is my python directory)
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
0
Location
Sandy, UT
XP
603
Country
United States
Yeah, I haven't set the environments for devkitpro, though I have changed the other source files as he outlined in his latest post in the topic.

But let me make sure I understand what you're saying I should do. I opened up starlet.mk and I'm not sure if I'm supposed to replace what's in there with all or part of what you posted or what. The instructions aren't very clear.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
are you sure you defined FAT in main.c in di? because f is declared at the top of the page in like 39. if you did and you still get the error, change the line thats giving you the error to PartitionSize instead of f.fsize
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
0
Location
Sandy, UT
XP
603
Country
United States
I don't see anything about declaring f near line 39. Or if it is there and I'm not seeing it, it's because I'm not particularly literate when it comes to code like this. And I still don't understand what longtom posted about setting the environment either... I have DevKitARM and PPC insalled so don't know why that's not working

Also, I should note that I'm using r32 since that's what I managed to grab from the SVN. Perhaps something has changed since r31?

EDIT: Okay, changing f.fsize to PartitionSize allowed the di module to compile, but I'm still stuck on the environment thing. This is what my starlet.mk file looks like right now and I'm not sure what I'm supposed to do to get it to work:

Code:
ifeq ($(strip $(WIIDEV)),)
$(error "Set WIIDEV in your environment.")
endif

PREFIX = $(WIIDEV)/bin/armeb-eabi-

CFLAGS = -mbig-endian -mcpu=arm926ej-s
CFLAGS += -fomit-frame-pointer -ffunction-sections
CFLAGS += -Wall -Wextra -Os -pipe
ASFLAGS =
LDFLAGS = -mbig-endian -n -nostartfiles -nodefaultlibs -Wl,-gc-sections
 

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
0
Location
Honey Oils inc.
Website
Visit site
XP
186
Country
nope just updated mine to r32 and it's just a missing file from the di folder update still compiles the same for me

for the devkitpro environments check this out

Edit compiled again and have games on a hard drive but it just boots straight to the sneek system menu don't understand how this is supposed to work??

1. unless I'm putting the games on wrong
2. editing them with hex editor
3. have the wrong ID in di\main. (have copied ID from hex editor)
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
the ID is main.c really doesnt matter. its just a folder name. you can call it "kiddie porn" if you want. as long as there is a part.bin and the tmd and tik and stuff it will work. as far as the 4GB partition, is was wondering about that too. but i just pressed the trim button in wiiscrubber and then saved the partition and it came out to about the same as the wbfs size. then i just chopped off the first 0x20000 bytes and it started right up.
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
0
Location
Sandy, UT
XP
603
Country
United States
longtom1 said:
nope just updated mine to r32 and it's just a missing file from the di folder update still compiles the same for me

for the devkitpro environments check this out
Did that, and am still getting the same old "Set WIIDEV in your environment" error. Good grief.
 
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