IOS that launches bootmii

Discussion in 'Wii - Hacking' started by obcd, Apr 27, 2011.

Apr 27, 2011

IOS that launches bootmii by obcd at 9:57 PM (2,759 Views / 0 Likes) 14 replies

  1. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    I would like to have a wii setup that can boot real nand and emulated nand at the same time.

    I know you can use the switch2uneek application to do so, but I would prefer to have a different ios that boots the sneek armboot.bin from a different folder. I believe sorgelig did something like that. The idea is to have everything on real nand working as without sneek/uneek, and to launch the specific ios to run sneek/uneek. This would simply mean that it should launch the armboot.bin (sneeky one) from a different folder.

    I start to understand (a little) how cios replace some of the ios modules in an ios, and I have looked at the "custom ios project" code.

    It's a bit unclear what exactly is done in the bootmii ios254. It's loading and running armboot.bin from the sd card, but I can't find anything that resembles that functionallity. While the sources for bootmii and mini are freely available, I can't find anything about how it is suposed to be launched (Source level I mean. Please don't tell me to go to the homebrew channel and choose 1 + launch bootmii....)

    So, any link to something similar or tools that can help in analysing or extracting the bootmii ios will be appreciated.
    I don't mind digging out things myself, but it helps if you know where to dig.


    http://www.mediafire.com/?o9jib542bgydk6g

    This is the result of my digging....
     
  2. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    You should be able to use bluedump or showmiiwads\showmiinand to dump IOS254. Then use a wad unpacker to unpack it. From there you can try opening it in a hex editor and changing the path it's loading... ie. change from SD:\bootmii\ to SD:\bootmiiuneek\. Note that this is all speculation, and I wouldn't be surprised at all if this method doesn't work and leads to a dead end.

    On a side note, you can use "bootios" to boot IOS254 (or any IOS u choose if u modify the source code)

    Which I could be more help,
    Cheers
     
  3. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    Thanks again XFlak. I had been thinking something similar, but I thought the tools could only handle channels and wiiware wads.

    I will give it a try as soon as I find the time. It just won't give me much inside information about the inner workings.
    (And I probably better choose a folder with the same or a smaller length than bootmii)

    I assume I can use multi mod manager to reinstall the wad in a different slot number.
     
  4. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    I can confirm the method works.

    I just don't have the time for a detailed description in case someone would like to try it out right now.
    I even wonder if it might intrest others.
    So, it normally boots up the real nand with bootmii as boot2 if needed.
    I can launch ios253 to start the uneek+di emulated nand. Switch2uneek could launch that one as well instead of the ios254.

    If I select run bootmii in HBC, it launches IOS254 and runs bootmii as expected.

    I asume if I have priiloader auto launch the bootios application (slightly modified to boot ios253 instead of ios254), it should auto boot into uneek+di.
     
  5. JoostinOnline

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    I'm actually quite surprised that this worked. A month or so ago I tried dumping the HBC v1.0.8 and changed the title ID, but found out that they blocked that a long time ago. It just goes to the scam screen on the hackmii installer. I assumed they would do something similar for bootmii, which is why I didn't bother trying.
     
  6. kylster

    Member kylster mich weich töten

    Joined:
    Sep 11, 2010
    Messages:
    1,384
    Location:
    Fr33D0M R1N6
    Country:
    United States
    When you get time I would love to try this method out if you wouldnt mind sharing [​IMG] Also do you think this would be easily adopted since people could have bootmii and emu-nand both at the same time? Thanks in advance.
     
  7. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    Basically, the ios just loads the bootxxx/armboot.bin into memory and launches it. I used Multi mod manager to install the repacked wad.
    What I did now is just a dirty hex edit hack of their launcher. I would like to write my own, so that maybe I could launch from usb as well.
    Sorgelig did something like that, but never released his sources. I hate to invent the wheel again.., and I am still missing the knowledge how an arm program can be changed to an app, so that it can be packed in a wad again. The original armboot.bin launching code from TT is not U8 packed. I could simply hex edit the app.

    It's a pitty that TT won't let the HBC work in Uneek + DI. Uneek is an extra layer of protection on the wii nand.
    The homebrew filter is closed source as well I believe, so I can't adjust it for my "uneek usb fs" either.
     
  8. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    @kylster:

    I don't mind sharing. The adaption is very easy:

    Install the wad with multi mod manager. Other wad installers might work as well. I haven't tested any yet.
    Create a bootsnk folder on your sd card and put the sneek - uneek armboot.bin in that folder.
    Copy the original bootmii armboot.bin , ini file and ppcboot.elf back into the bootmii folder.

    Bootios and switch2uneek should be modified to launch ios 253 instead of 254.
    switch2uneek should also be modified not to alter the contents of the bootmii folder anymore.

    If you add the Bootios.dol to a channel wad, you can use it to start Uneek.

    I will try to create a package with the wad and the Bootios application.

    As usual, I accept no responsibility if something goes wrong when you install the wad. But it should be safe.
     
  9. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    As long as showmiiwads confirms the slot # is >200 there should be zero risk to installing it.
     
  10. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    Yes, XFlak, I followed your suggestions.

    I will post a description how I did it, but I am missing the time for it now.

    I hadn't expected much interest for it...Just wanted to post it was doable in case someone was searching for something identical.

    The original wad I started with is not a big N one. Wouldn't that make a difference?
    I don't know if TT has copyright issues for it? I will remove the link if someone feels it's violating some rights.
     
  11. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    I didn't even realize you had already shared a link in the first post!

    The wad might not contain any ninty copyrighted content, but it contains closed source TT copyrighted content. No1 is even allowed to share\mirror the hackmii installer, we're just supposed to link to "http://bootmii.org/download/". Anyways, u can do w/e u want, I'm not gonna bitch about it, but eventually some1 probably will.

    Take your time with the instructions, if u followed my steps then the basic instructions are already available anyways. When you find the time then u can write better instructions for everyone. Good job!
     
  12. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    Beginners enthousiasm I assume. I didn't expect it to be so easy either.

    Installing the IOS has one side effect. The syscheck program will hang when it checks that ios.

    There is a version in the link that has that issue solved. I will post it's modified sources...
     
  13. lulwut

    Member lulwut GBAtemp Fan

    Joined:
    Mar 19, 2010
    Messages:
    331
    Country:
    Japan
    or just write an app that reloads to that ios so you dont need to alter priiloader

    also, ill remind you that re-distributing that bootmii ios is illegal by the licence used by TT
     
  14. obcd
    OP

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    I have such an application. That's exactly what bootios does.
    I don't want to alter priiloader for that, I just want priiloader to launch that application in case I want to autoboot into sneek/uneek.

    There was someone reporting that starting sneek/uneek with a priiloader autoboot wasn't working. I gave him a bootios with a delay,
    but I have no confirmation so far that it solves the issue...
     
  15. Hielkenator

    Member Hielkenator GBAtemp Psycho!

    Joined:
    Feb 7, 2010
    Messages:
    4,176
    Country:
    Netherlands
    ? I had no problem with that.
    Just changed the ID with customize mii. Installs fine on Uneek.
     

Share This Page