Why does IOS58 Installer need no_ios_reload and HBC v1.0.7+?

Discussion in 'Wii - Hacking' started by JoostinOnline, Jun 24, 2011.

  1. JoostinOnline
    OP

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    I assume the no_ios_reload in the meta.xml file is for AHBPROT (which would require HBC v1.0.7+), but you don't need AHBPROT to install an unpatched IOS. I have a fair amount of Wii hacking knowledge, but there are also plenty of things I don't understand. It appears the uses of no_ios_reload is one of them.
     
  2. jskyboo

    Member jskyboo GBAtemp Regular

    Joined:
    Sep 12, 2009
    Messages:
    288
    Country:
    United States
    AHBPROT is flag that means if the wii currently has special hw access that it does not have when the flag is not on. What it allows us to do is for instance modify the memory used by the currently loaded IOS and add permissions on the fly. That is what then allows the program to do things that you use to only do with a patched IOS actually installed. So you still are patching the IOS but instead of patching it, then installing it and loading with the IOS the permissions, we take the running IOS and temporarily give it the permissions. So wheres the catch? The catch is whenever you reload and IOS you change the current running IOS therefore losing any permissions it had, and lose AHBPROT mode and then can't get it back. So we don't really know much about the source code of HBC but what we do know is at some point before loading an app it reloads an ios and this means the next app can't use AHBPROT. no_ios_reload allows us to tell HBC whether or not to do that reload. HBC v1.0.6 and earlier did not have this flag so HBC always reloads an IOS and loses AHBPROT.
     
  3. JoostinOnline
    OP

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    I get that much, but my point is that the installer shouldn't need any special permissions or a patched IOS. A vanilla copy of IOS58 can be installed with any non-stub IOS, whether patched or not.
     
  4. jskyboo

    Member jskyboo GBAtemp Regular

    Joined:
    Sep 12, 2009
    Messages:
    288
    Country:
    United States
    You are correct.
     
  5. ddetkowski

    Member ddetkowski GBAtemp Maniac

    Joined:
    Jun 15, 2009
    Messages:
    1,141
    Location:
    United States
    Country:
    United States
    JoostinOnline,

    Have you talked at all to xflak or deadlyfoez from our forums?
    Those 2 alone have done and know alot more than just us commoners here.
    PM them, I'm sure they'll have answers for you.......
     
  6. JoostinOnline
    OP

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    I'm friends with both of them. It's just easier to ask everyone as opposed to two people.
     
  7. tueidj

    Member tueidj I R Expert

    Joined:
    Jan 8, 2009
    Messages:
    2,569
    Country:
    Did you try taking it out of the xml to see what happens? It's most likely just an oversight since most of Tantric's other apps do use it.
     
  8. cwstjdenobs

    Member cwstjdenobs Sodomy non sapiens

    Joined:
    Mar 10, 2009
    Messages:
    1,757
    Location:
    Ankh-Morpork
    Country:
    United Kingdom
    Just tried it without because yeah, it doesn't need it. Works fine.
     
  9. JoostinOnline
    OP

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    Thanks, I was confused because I couldn't think of any reason it would be needed. I'll fix the wiibrew page tomorrow.
     
  10. WiiPower

    Member WiiPower GBAtemp Guru

    Joined:
    Oct 17, 2008
    Messages:
    8,165
    Country:
    Germany
    Why oversight? What's the point of reloading IOS over and over? If an app needs an IOS Reload to be sure it's in a clean state, the app can and has to do it itself. Welll that's my point of view here.
     

Share This Page