USB Loader GX stuck at Init USB Device when booting 2nd time

Discussion in 'Wii - Backup Loaders' started by GaryOderNichts, Sep 18, 2018.

  1. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    Hello,
    i know there are more threads about that but nothing solved my problem.


    My USB Loader GX boots from Priiloader. I set Autoboot to Installed file and return to Installed File.
    At first boot everything works fine. But when I play a game and return to USB Loader, same for returning from Nintendont to USB Loader, it is stuck at Initializing USB Device.
    What I've tried so far:
    Set Loader IOS in meta.xml to ios 58: Now it is stuck at reinitializing USB Device.
    Set Loader IOS in menu to ios 58: Now I can't load any games (only get a black screen) and can't test it any further.
    Disabled ios reloading

    It works with a different HDD which I dont want to use for my Wii. But since it is theoretical working, there may be a fix here.

    thx
     
  2. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    it's missing a really important information here, and is probably your problem : Which file did you "install" in priiloader boot menu?

    there are 3 possibilities :
    the loader's boot.dol : will not work with IOS58, will have issues initializing drives, will miss some features, the loader can't update itself (auto-update from network disabled)
    the loader's forwarder.dol : will not work with IOS58, will have issues initializing drives, will miss some features, the loader can update itself (auto-update from network enabled)
    The loader's Priiloader USB forwarder booter dol : will work with everything.

    This is the file you need to install in Priiloader :
    https://sourceforge.net/projects/us...s dols/UNEO Channel Booter for Priiloader.zip
    extract the dol to your SD card, and install it into priiloader's boot menu.

    Then, be sure you have the latest version of the forwarder channel :
    https://sourceforge.net/projects/usbloadergx/files/Releases/Forwarders/
    get the v5.1 for Wii or vWii, and install it with a wad manager.
     
  3. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
  4. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    launch or install ?

    Getting a DSI exception is very strange, there's like .. no code at all. It's a simple line to boot the channel.
    if there's a bug in a single line program, it wouldn't work at all for every other users too.
    I don't think the error originates from that dol, maybe from priiloader? or for trying to boot a missing channel ?

    do you have the USBLoaderGX forwarder already installed?
    try installing the forwarder channel first. If you already have it, be sure it's v5.1
     
    Last edited by Cyan, Sep 18, 2018
  5. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    I can't install the file. The error occurs when opening the menu to install files in priiloader. Without the file on my SD Card everything is working fine.

    I think i have the latest release of the Forwarder. I just downloaded the latest version recently.
     
    Last edited by GaryOderNichts, Sep 18, 2018
  6. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    I really don't know what's the problem, sorry.

    if you want to launch the loader at boot anyway, install the ForwarderV5.1.dol file instead of the boot.dol
    it will allow you to update the loader's version by replacing the file on the SD, without the need to reinstall it in priiloader.

    if you use boot.dol or forwarder.dol in priiloader, be sure you are not using IOS58 in USBLoaderGX settings, you need a cIOS d2x or you'll have compatibility issues.


    you'll probably still have the init issue when returning to the loader.
     
  7. GreyWolf

    GreyWolf GBAtemp Guru

    Member
    8
    Mar 2, 2015
    United States
    That sounds like either something is wrong with your Priiloader installation or the SD card can't be read by Priiloader.

    I made the title launcher dol and it literally only turns on the video display then starts the UNEO forwarder from NAND. :)
     
  8. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    I reformated my SD-Card with a smaller Allocation Unit Size (4096) and now the exception is gone.
    I installed the uneoboot.dol and set it to autoboot.
    But I'm still stuck at Initializing USB Device. And IOS58 doesn't seem to work with the uneoboot.dol. Still stuck at Reinit USB Device.

    So I can hear my HDD spinning down when exiting to Loader but it spins up right before Initializing USB Device. Maybe thats why it freezes USB Loader?
    Maybe you could add a small delay or something before it starts Initializing?
     
  9. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    hmm, you think the freeze is caused because it's re-initializing too fast after being unmount by the previous homebrew?
    I never thought about that.
    I could try, but I don't know how much I should delay. Other loaders don't have an init delay.
    I noticed wiiflow has a "usb shutdown" at the start while it should already be shutdown, maybe that's the fix ? I need to make sure it's properly deactivated before re-activating.
     
  10. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    Can I do anything to help you?

    Edit: I'll test my HDD with Wiiflow now.
     
    Last edited by GaryOderNichts, Sep 19, 2018
  11. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    yeah, testing wiiflow is a good idea.
    I know Fledge made a wiiflowlite dol for priiloader, you can find it in the latest page of wiiflowlite thread.

    I don't have a big will to code right now, but I should try it if you are willing to test.
    I can test to add a delay before initializing.

    edit:
    here the new version (1268mod4, with 10second init delay before looking at the USB Port)
    I didn't include the source/patches, it's just mod4 with a delay.
    http://www.mediafire.com/file/9dgma5bg55zana0/USBLoaderGX_r1268_mod04_(+_init_delay).7z/file

    is it necessary to mention? IT'S NOT FOR ANYONE ELSE. THIS IS A BETA, I NEED BETA TESTERS WHO ACTUALLY REPORT TO ME.
    using as production version is not the purpose of this file. if you think it's the new release you waited for months, then you don't understand what this link is used for. use the one from my signature instead.
    sorry Garry, I always have many people downloading beta version randomly without knowing what they get and never report to me. I never understand why people try to get old beta files from mediafire too.

    that's why I stopped making public betas, I never had proper tester reporting their result, only greedy people wanting the next release earlier at risk of bugs and hdd corruption.
     
    Last edited by Cyan, Sep 19, 2018
  12. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    I Installed Wiiflow Lite with the forwarder and the priiloader forwarder.
    Wiiflow Lite booted so fast it didn't gave my HDD any time to spin up and showed "No files found on SD:/wbfs".
    Forcing it to use IOS249 it is stuck at the Wiiflow Logo at boot.
     
  13. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    The mod sadly doesn't help.

    Using IOS58 it is stuck at reinitialiizing USB Devices at first boot.

    Using cIOS249 and returning from a game, my HDD spins up while it's initializing the USB Device and it is stuck.
    Either the delay is too short or it is before the command is send that spins my HDD up.
    Btw. the 10 seconds aren't noticeable.


    But thanks for making that mod for me.

    Edit: Now it is getting weird...
    Booting into Priiloader and going to Installed File it gets stuck at Init USB Device.
    But letting it just boot, USB Loader boots up normally without a Delay.
     
    Last edited by GaryOderNichts, Sep 19, 2018
  14. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    well, even if IOS58 doesn't manage to init the drive I think it's a device problem. try another HDD.
    or maybe the problem is your USB Port, but it shouldn't work at all I suppose.

    10sec are not noticeable? Maybe I messed something. I didn't code for almost a year.

    at least, you tried another loader and had the same issue.
    usually, users with hdd not working with USBGX are working fine with wiiflow. if even wiiflow doesn't help, there's something wrong, maybe your cable !!!

    yes, we already had hdd's cable issue. using a different one fixed some user's problem.
    it's rare, so we don't always think about it, but try another cable, shorter if possible.
     
    Last edited by Cyan, Sep 19, 2018
  15. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    Already said it is working fine with a different HDD. So maybe I just have to buy another one.


    Thank you for your efforts.
     
  16. FaberfoX

    FaberfoX Newbie

    Newcomer
    1
    Oct 27, 2018
    Argentina
    Hi @Cyan, sorry for hijacking the post but I'm facing a similar issue, let me know if you want me to start a new one.
    I've recently got a Wii, installed latest HBC, Priiloader, Wiiflow and USBGX. In my case, if I set Prii to autostart USBGX, it freezes at "Waiting for HDD: 19 sec left". Wiiflow starts with no issue, or if I don't set anything to autostart, and load USBGX manually from Prii after waiting about 5 seconds, it also starts ok.
    The drive is a quite old WD My Book Home, originally 500GB, now with a 1.5TB disk in it. If I manually turn on the drive (it's powered) a few seconds before powering on the Wii, USBGX autostarts ok, as well as when coming back as an "exit to" on games, or returning from shutdown to standby.
    I've tried the mod04 you posted above, freezes the same way, 19 sec left.
    I've also tried to introduce a delay by installing Crazyintro as autostart and waiting a few seconds before having it load USBGX, in this case, it freezes at "Initialize USB device".
    Let me know if there's anything else you want me to try, Wiiflow is ok for now but would love to use USBGX instead.
     
  17. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    how do you set priiloader?
    please, don't tell me you installed USBLoader's boot.dol into priiloader, that's NOT how you should do it. there is a special dol for priiloader if you want to boot USBLoaderGX.


    How do you manually start USBLoaderGX from priiloader? I didn't know it had a menu to choose which dol to boot from SD card.
    but based on your report it looks like a hdd init delay issue. 5 second before launching the loader fix it. but again, are you launching it from boot dol, forwarder dol, or forwarder loader?

    it's strange that it freezes at 19sec (right from the start) and doesn't countdown up to 0 and say not found. it's like it's seeing the drive and trying to initialize but fail and freeze, instead of not seeing it.

    thank you for helping. for now, Just tell me which dol you use in priiloader to be sure the tests are accurate and the problem not due to wrong used dol.
    I don't have a lot of free time to work on the loader, so I'm sorry I might not do a lot.
    I noticed wiiflow does a "usb deinit" right at the start of the loader, maybe it's what I need to do too?
     
    FaberfoX likes this.
  18. FaberfoX

    FaberfoX Newbie

    Newcomer
    1
    Oct 27, 2018
    Argentina
    As I said, it's my first time with a Wii, I tried to follow the newest guides and understand most concepts before I started messing with it, but bear with me if I got something wrong.

    Don't know how it was on older versions, but Prii 082 allows launching and installing any .dol (even while it might not be right as I'm just now learning), it lists all the .dols found on the sd root and all the boot . dol under apps.
    Installing and trying to autostart apps - usblauncher_gx - boot dol freezes at the "19 sec left", with the above uneoboot dol in the SD root it freezes at "Initialize usb device".
    I've also installed BootMi as IOS (only way I could, my boot1 is patched), and d2x cIOS following the guide from "Complete Softmod Guide"
    What seems weird to me is that if I shutdown to standby from USBGX (goes to yellow light instead of red), it starts properly next time, even though the disk spins down, so I guess you're right in that it's freezing due to getting weirded with how the disk responds.
    Afaik, the enclosures this WD drives use are not straight sata 2 usb, as this one also has e-sata and Firewire ports. I was using it as a backup target on my PC and had to settle for USB 2.0, as when using e-sata I was not able to get SMART info from the drive, and as my backups are scheduled at 5AM, I didn't care if it took a bit longer.
    Let me know if you want me take a few screen captures or if there's a log I could collect to help you.
     
  19. GaryOderNichts
    OP

    GaryOderNichts Member

    Newcomer
    2
    Aug 9, 2018
    Germany
    Maybe you could try to change the IOS in the meta.xml or in the GUI to IOS58.
     
    FaberfoX likes this.
  20. FaberfoX

    FaberfoX Newbie

    Newcomer
    1
    Oct 27, 2018
    Argentina
    That did it! I'm sorry I didn't try that, now I see it count down and at 19 secs, where it used to freeze, it starts properly. Thank you guys!
     
Loading...