Hacking Trucha Bug Restorer release

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The

ExLex

Well-Known Member
Newcomer
Joined
Apr 21, 2007
Messages
55
Trophies
0
XP
93
Country
United States
Hi WiiPower,

Excelent job with this software, very useful for get trucha bug.

I have a question about your source:

The actuals cIOS 249 or cIOS 222 had a problem with DLC, they do a diferent encryption method for DLCs... In your code had the same function:

Code:
if (nand_patch)
{
ÂÂÂÂprintf("Patching nand permissions in ES module(#%u)...", index);
ÂÂÂÂnand = patch_patch_fsperms(ios->decrypted_buffer[index], ios->buffer_size[index]);
ÂÂÂÂprintf("patch applied %u time(s)\n", nand);ÂÂÂÂÂÂÂÂ
}

This funtion dont is in cIOS of USB, can be this the function for do that job???
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
I'm almost sure Waninkoko's cIOS has exactly the same nand permissions patch integrated. I got the code from him, and the cIOS has extended nand permissions.
 

ExLex

Well-Known Member
Newcomer
Joined
Apr 21, 2007
Messages
55
Trophies
0
XP
93
Country
United States
Ok...

Im almost sure that ES module do the encryption method, right?

Also i had this function too in ur source, rijndael.c:

Code:
void aes_set_key(u8 *key) {
ÂÂgentables();
ÂÂgkey(4, 4, (char *)key);
}

In a source of cIOS 222, he change this line:

gkey(4, 4, (char *)key); -> gkey(4, 4, (void *)key);

is there "void" a issue?
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
ExLex said:
Ok...

Im almost sure that ES module do the encryption method, right?

Also i had this function too in ur source, rijndael.c:

Code:
void aes_set_key(u8 *key) {
ÂÂgentables();
ÂÂgkey(4, 4, (char *)key);
}

In a source of cIOS 222, he change this line:

gkey(4, 4, (char *)key); -> gkey(4, 4, (void *)key);

is there "void" a issue?

It works, so i don't think there's an issue. I had some compiler warning related to the encryption, could be there. I got rid of the warning by doing a proper cast.
 

muzz

Well-Known Member
Member
Joined
Jul 22, 2008
Messages
163
Trophies
0
XP
149
Country
United States
Thanks WiiPower. You always make great handy apps that eradicate the need to do convoluted processes as a means to an end. Cheers! Nice work. Unfortunately by the time I am able to spank the Wii I have in mind you'll have plenty of feedback and possibly other revisions released. As always, appreciated!
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
1
Location
Sandy, UT
XP
615
Country
United States
So if I read the readme right, this thing will work even on a Wii without any existing trucha-bugged IOS by downgrading IOS15 and then using it to patch other IOS's. That's pretty cool. That method wouldn't work on a LU64-type Wii, right?
 

grama

Active Member
Newcomer
Joined
Dec 4, 2008
Messages
25
Trophies
0
Age
39
Location
Brazil
XP
174
Country
Brazil
HiBit said:
grama said:
Download link is not working, could somebody post a working link? Thanks!
It's ok, but you can try this link without forwarding:
http://gbatemp.net/downloads/[6378]TBR1.0.zip


Edit:
Btw, thx @ WiiPower the tool work fine on 4.0e.
Thanks, this one work for me.
smile.gif
 

LurkyTheHamster

Member
Newcomer
Joined
Jul 4, 2009
Messages
12
Trophies
0
XP
8
Country
United States
Super. This seems like just the ticket for setting up an sd card all offline and sending it to a mate for modding.

I get exactly what's going on for the most part. If they are on 4.00 instead of all the other madness to get things to work:

1. Bannerbomber to install homebrew channel.
2. Run this to get back trucha bug.
3. Boot Mii / Preloader
4. Install cios of choice (I use reversion 10, so likely will give them the same)
5. Profit.

Now, all of these seems straight forward expect for one little thing that boggles me
wacko.gif


"For the IOS15 downgrade you need IOS15v257 and IOS15v266, for the IOS15 restore you need IOS15v266, for IOS36
installations you need IOS36v3094 and for IOS37 installations you need IOS37v3612."

Gotcha. I understand we can't link to such material and have to obtain it ourselves. I also understand that you provided all the options for obtaining them. However, I can't seem to wrap my head around it.

If we can link to the NUS Downloader could we possibly get a title id for all the above, or possibly a mini faq for obtaining them more easily? I know, walking a fine line here with what can be requested or provided. I AM NOT asking for any links to the files themselves, I'll more than willing to do the leg work myself. A little guidance on how to do so would be great.

I really did review the rules several times on this one... it should be acceptable I hope.
blink.gif
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
Of couse somebody can write a guide with TBR and NUS Downloader. Telling exaclty what to type into NUS Downloader is legal, sending files to somebody or uploading it is illegal.
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
For IOS it's always a 64 Bit title id written in hex, while the upper half is = 1.

IOS15 == 000000010000000F
IOS36 == 0000000100000024
IOS37 == 0000000100000025
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    straferz @ straferz: Anybody know why this is happening to my ACWW town...