Hacking SNEEK v2

  • Thread starter Thread starter Det1re
  • Start date Start date
  • Views Views 544,386
  • Replies Replies 2,761
  • Likes Likes 1
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
 
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.
 
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.....
 
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??
 
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
 
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)
 
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.
 
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
 
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
 
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)
 
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.
 
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.
 

Site & Scene News

Popular threads in this forum