Hacking Need help from wii coders

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
Does anybody know how to access usb storage devices after a IOS_ReloadIOS? Or does anybody have an idea about this?

------------------------------------------------------------------------------------------------------
Code excerpt:

fatInitDefault();

[...]

(sd + usb working fine)

[...]

fatUnmount("sd");
fatUnmount("usb");

// Deinit sd card, without this sd card doesn't work after the ios reloading
sdio_Startup(); // maybe this is not necessary
sdio_Deinitialize();

IOS_ReloadIOS(x);

fatInitDefault();

[...]

(sd working fine, usb NOT working)

------------------------------------------------------------------------------------------------------

I guess i need some kind of usb storage deinitialize which is similar to sdio_Deinitialize for sd card. I searched the source of libogc and libfat for this, but everything i tried didn't work.


PS: If there's no way to solve this problem, i wouldn't be surprised that this the reason why the homebrew channel doesn't have usb support
 

Quincy

Your own personal guitarist :3
Member
Joined
Nov 13, 2008
Messages
1,516
Trophies
1
Age
27
Location
Your house
Website
youtek.net
XP
856
Country
Netherlands
WiiPower said:
Does anybody know how to access usb storage devices after a IOS_ReloadIOS? Or does anybody have an idea about this?

------------------------------------------------------------------------------------------------------
Code excerpt:

fatInitDefault();

[...]

(sd + usb working fine)

[...]

fatUnmount("sd");
fatUnmount("usb");

// Deinit sd card, without this sd card doesn't work after the ios reloading
sdio_Startup(); // maybe this is not necessary
sdio_Deinitialize();

IOS_ReloadIOS(x);

fatInitDefault();

[...]

(sd working fine, usb NOT working)

------------------------------------------------------------------------------------------------------

I guess i need some kind of usb storage deinitialize which is similar to sdio_Deinitialize for sd card. I searched the source of libogc and libfat for this, but everything i tried didn't work.


PS: If there's no way to solve this problem, i wouldn't be surprised that this the reason why the homebrew channel doesn't have usb support
Ask in #WiiDev on EFNET
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
quincy_xD said:
Ask in #WiiDev on EFNET

I heard from too many people being banned there in the minute they asked a question. I hope there are other developers capable to solve this.
 

IronMask

Official WiiStuntman First to Test ciosCorp!
Member
Joined
Sep 21, 2008
Messages
850
Trophies
0
Location
Somewhere in USA
Website
ironmaskshideout.blogspot.com
XP
184
Country
United States
I will toss this out at #wiidev... they booted me once already... but what the hell it never hurts to ask Wiipower and your contributions are valued to me.
smile.gif
So I will post my attempts about asking on #wiidev soon...wish me luck!
wink.gif
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
uschghost said:
as long as you don´t ask very stupid questions or ask about backups/warez they won´t ban you afaik.

Well it's for SoftChip, and SoftChip is considered "piracy loader", which is sadly not untrue.

PS: Only usb for config not backup loading!
 

IronMask

Official WiiStuntman First to Test ciosCorp!
Member
Joined
Sep 21, 2008
Messages
850
Trophies
0
Location
Somewhere in USA
Website
ironmaskshideout.blogspot.com
XP
184
Country
United States
People are saying it is possible. One mentioned something about a hidden SEEPROM flag... don
t wanna even know what that meant!
tongue.gif


Another was already hot on my tail... and knew that I was fishing... so the answer was definately being possible. Now we're back to square one...sorry I couldn't be of more help.
frown.gif
 

Supercool330

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
743
Trophies
1
XP
935
Country
United States
If it is for SoftChip, ask in the SoftChip IRC channel (irc://chat.freenode.net/SoftChip). When I had a problem making a version that doesn't use a configuration file, someone helped me figure it out fairly quickly (although it was a really stupid mistake).
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
IronMask said:
People are saying it is possible. One mentioned something about a hidden SEEPROM flag... don
t wanna even know what that meant!
tongue.gif


Another was already hot on my tail... and knew that I was fishing... so the answer was definately being possible. Now we're back to square one...sorry I couldn't be of more help.
frown.gif


Thank you. I count this as confirmation that usb is more complicated than sd where you just need the correct command.


QUOTE(Supercool330 @ Jan 18 2009, 06:03 PM) If it is for SoftChip, ask in the SoftChip IRC channel (irc://chat.freenode.net/SoftChip). When I had a problem making a version that doesn't use a configuration file, someone helped me figure it out fairly quickly (although it was a really stupid mistake).

I'm nearly always (when i'm online) there. Some time ago luccax and i tried everything which came into our minds to solve this.
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • DinohScene @ DinohScene:
    being helpful to the community and a similar mindset as the rest of the staff also goes a long way
    +1
  • K3N1 @ K3N1:
    Alot of users just want it for attention tbh
    +1
  • K3N1 @ K3N1:
    I know a forum that said if you're good and don't ask you usually get it
    +1
  • DinohScene @ DinohScene:
    you mean this forum?
    +1
  • K3N1 @ K3N1:
    Nah others
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    You know what they say, I want never gets.
  • K3N1 @ K3N1:
    Iirc temp usually votes people in or holds an application every once in a blue moon
    +1
  • DinohScene @ DinohScene:
    ^ that
    +1
  • K3N1 @ K3N1:
    They're pretty good at hiring the sexy ones
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Inc. Dinoh
  • K3N1 @ K3N1:
    550k members and only about a dozen staff they hold their own pretty well
    +1
  • K3N1 @ K3N1:
    Stupid region locked digital keys are the dumbest thing next gen consoles have come up with
    +1
  • K3N1 @ K3N1:
    @DinohScene, that Xbox code ever work?
    +1
  • DinohScene @ DinohScene:
    yeh it was the PC version of 76
    +1
  • DinohScene @ DinohScene:
    regardless, the hubby took it : D
    +1
  • K3N1 @ K3N1:
    lawl the site said xbox
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Was given a PC Game Pass key for free on Temp, didn't work because region locking. :(
  • M4x1mumReZ @ M4x1mumReZ:
    Or as I like to call it, RACISM.
  • x65943 @ x65943:
    Now for someone to hack that thing and make pixel pr0n
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    It maybe possible.
  • K3N1 @ K3N1:
    Will be perfect for onlyfans links
    +1
  • K3N1 @ K3N1:
    Gamers: I bet your 4k oled ain't a jump rop
    +1
  • Shape @ Shape:
    No, but I can take my OLED jump rope for a 4k
  • Shape @ Shape:
    That's a race.
    Shape @ Shape: That's a race.