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,601
Trophies
1
Age
29
Location
Your house
Website
youtek.net
XP
1,198
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
751
Trophies
1
XP
1,097
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    It's okay we're all stupid on the inside
  • Xdqwerty @ Xdqwerty:
    My damn brain forgets everything
  • Xdqwerty @ Xdqwerty:
    I know nothing about anything
  • BakerMan @ BakerMan:
    hell, i'm stupid on the outside
  • Xdqwerty @ Xdqwerty:
    The only things in my mind are useless stuff
  • K3Nv2 @ K3Nv2:
    @Xdqwerty Use Google to your advantages 90% of the time it has answers for hardware and software
  • Xdqwerty @ Xdqwerty:
    But that stuff should be in my mind, not on the internet
  • K3Nv2 @ K3Nv2:
    No it really shouldn't none of us know everything
    +1
  • Xdqwerty @ Xdqwerty:
    I'll maybe slam my head until i become smarter
  • Xdqwerty @ Xdqwerty:
    Good night
  • wolffangalchemist @ wolffangalchemist:
    as a child i ate crayons, i feel like i have come a long way since then.
    +1
  • K3Nv2 @ K3Nv2:
    I shoved rocks in my ear
  • BakerMan @ BakerMan:
    ngl i find it hilarious when a new twitch streamer blows up
  • BakerMan @ BakerMan:
    bc then all the memes are about them, for better (like caseoh) or for worse (like kai cenat)
  • K3Nv2 @ K3Nv2:
    I like it when they get canceled over flashing a tit
  • BakerMan @ BakerMan:
    some guy got banned forever for saying "l ratio" or smth, and a woman gets it on stream and gets banned for a week
  • BakerMan @ BakerMan:
    like what the fuck
  • K3Nv2 @ K3Nv2:
    We need to ban man nipples from being on the internet but female ones should be fine
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    pokimane gets naked, "AWOOOGA!", case gets naked, and he gets a taste of his own medicine lmao
  • BakerMan @ BakerMan:
    actually, it still may be an "AWOOOGA!" from his chat remembering some of the messages he gets
  • LeoTCK @ LeoTCK:
    no
  • LeoTCK @ LeoTCK:
    there need to be more man nipples I hate when a lot of drawn art doesn't suddenly draw nipples on males only females, as if its to ignore reality
  • LeoTCK @ LeoTCK:
    because its considered like it doesn't exist, doesn't have function etc
  • LeoTCK @ LeoTCK:
    that's not entirely true though but yea you can't just take that perspective
    LeoTCK @ LeoTCK: that's not entirely true though but yea you can't just take that perspective