Official Mocha CFW - The sweet chocolate to your latte!

Discussion in 'Wii U - Homebrew' started by dimok, Dec 12, 2016.

  1. dimok
    OP

    dimok GBAtemp Advanced Fan

    Member
    728
    2,174
    Jan 11, 2009
    United States

    Mocha CFW - The sweet chocolate to your latte!

    [​IMG]

    Mocha CFW is a custom firmware that is derived from iosuhax. It offers all the features of iosuhax and some addional features without the requirement of a fw.img on the SD card. Furthermore it combines all the current features of a custom firmware such as sysNAND or redNAND with signature patches into one application with a configuration setting.

    Mocha CFW hooks itself into the IOS launch process, right before it jumps into the bootrom, and patches the (at this point) decrypted IOS ELF in memory with new functions.

    New features

    • fw.img less custom firmware
    • sysNAND or redNAND patching in one application, selected/saved in a setting
    • SEEPROM redirection to/from SD card
    • OTP redirection from SD card
    • custom launch image on load of the custom firmware if exist on sd card (sd:/wiiu/apps/mocha/launch_image.tga)
    Infos

    Several features can be activated or deactivated in the config menu. You can choose to skip the config menu on next launch in the config menu itself. If you lock yourself out you can just hold the B button on start to force enter the menu again.

    The OTP and SEEPROM dump is automatically injected into SD card if it is missing when OTP or SEEPROM redirection is enabled in redNAND mode. You can not redirect SEEPROM or OTP on sysNAND mode. The WiiU drive key part of the SEEPROM is not redirected as this one has to match the console drive key. Otherwise the console will report and error and lock itself out. So an exception for that range of the SEEPROM was added.
    You can also use the new version of the SDIO NAND Extractor/Injector (v1.2) to inject existing OTP / SEEPROM dumps into the SD card or dump the dumps from the SD card.

    Releases

    https://github.com/dimok789/mocha/releases/tag/v0.2
    https://github.com/dimok789/sdio_nand_manager/releases/tag/v1.3

    Sources

    https://github.com/dimok789/mocha
    https://github.com/dimok789/sdio_nand_manager

    Credits

    The application is developed by me but there are several parts contributed by many developers across the Wii U scene. So credits go to everyone who contributed to Wii U scene publicly.

    Special thanks to smealum, plutoo, yellows8, naehrwert and derrek for sharing some details on the IOS exploit and making such a great base with iosuhax.

    TODOs

    Too many to list...

    Currently working on redNAND launch on every console. At this point a redNAND is working on a different console with OTP and SEEPROM redirection enabled but can not launch any title except the system menu (hang on transition screen). Probably something small is still missing. Also need to think of something to avoid the gamepad sync loose at that redNAND state...

    The next in line:
    maybe MCP FAT32 mount on USB
    ....


    Currently I am looking for a default launch image that says mocha on it. If anyone wants to help out on it write it on this thread or pm me.
     
    Last edited by dimok, Dec 14, 2016


  2. dimok
    OP

    dimok GBAtemp Advanced Fan

    Member
    728
    2,174
    Jan 11, 2009
    United States
  3. Maschell

    Maschell GBAtemp Advanced Fan

    Member
    900
    1,314
    Jun 14, 2008
    Gambia, The
    Good job! I like the name!
     
  4. DarkenedMatter

    DarkenedMatter GBAtemp Advanced Fan

    Member
    501
    377
    Jul 26, 2013
    United States
    I agree, the name is pretty refreshing in comparison to what others might have picked lol.
     
  5. thisisallowed

    thisisallowed 中国御宅族

    Member
    488
    114
    Oct 8, 2015
    China
    Jinan, Shandong
    Cakes, anyone?
     
    CreeperMario and damiano2712 like this.
  6. DeoNaught

    DeoNaught ¯\_(ツ)_/¯

    Member
    1,466
    1,283
    Aug 22, 2016
    United States
    Over there ;)
    NO, cofffee
     
  7. Retruate

    Retruate Newbie

    Newcomer
    8
    11
    Nov 30, 2016
    United States
    Hype! Trying this ASAP!
     
    BTr likes this.
  8. Arck

    Arck GBAtemp Advanced Fan

    Member
    729
    343
    Mar 13, 2016
    This + real coldboot would be...
     
    CreeperMario likes this.
  9. Tommy084

    Tommy084 Advanced Member

    Newcomer
    85
    54
    Feb 24, 2013
    Norway
    Thanks a lot! Great work :)
    Great that we didt get a other haxx-name :lol:
     
    CreeperMario and MAXLEMPIRA like this.
  10. ItsKipz

    ItsKipz l33t hax0r

    Member
    1,644
    983
    Sep 9, 2016
    United States
    The C: drive
    holy shit, gg
     
  11. pwsincd

    pwsincd Garage Flower

    Member
    3,319
    1,711
    Dec 4, 2011
    Manchester UK
  12. ItsKipz

    ItsKipz l33t hax0r

    Member
    1,644
    983
    Sep 9, 2016
    United States
    The C: drive
    So wait, with SEEPROM/OTP/NAND redirection this is theoretically safe to update?


    BTW, I've reposted a link to this thread on the wiiuhacks subreddit, if you want me to take it down let me know :)
     
    CreeperMario likes this.
  13. Jhnsn

    Jhnsn *Flat is Justice*

    Member
    236
    113
    Sep 1, 2016
    Australia
    "Is this luma????"




    No really, this is some serious shit.
     
    CreeperMario likes this.
  14. cheuble

    cheuble Marieism™

    Member
    712
    1,325
    Feb 6, 2016
    France
    Somewhere
    no coeffei?
     
  15. ItsKipz

    ItsKipz l33t hax0r

    Member
    1,644
    983
    Sep 9, 2016
    United States
    The C: drive
    Also, has this been tested to work with the new CBHC?
     
  16. TotalInsanity4

    TotalInsanity4 GBAtemp Supreme Overlord

    Member
    7,089
    7,078
    Dec 1, 2014
    United States
    Under a rock
    So is this an EmuNAND solution in itself or does it have to be coupled with RedNAND?
     
  17. ItsKipz

    ItsKipz l33t hax0r

    Member
    1,644
    983
    Sep 9, 2016
    United States
    The C: drive
    If im reading OP right, its doesnt currently fully support rednand, but once it does it will most likely be able to dump nand and load it on its own, so yes, it is an emuNAND solution.
     
    TotalInsanity4 likes this.
  18. TotalInsanity4

    TotalInsanity4 GBAtemp Supreme Overlord

    Member
    7,089
    7,078
    Dec 1, 2014
    United States
    Under a rock
    Thanks, that's kind of what I gathered, just wanted confirmation
     
  19. ItsKipz

    ItsKipz l33t hax0r

    Member
    1,644
    983
    Sep 9, 2016
    United States
    The C: drive
    Just one more question, does this have wupServer built in?
     
  20. dimok
    OP

    dimok GBAtemp Advanced Fan

    Member
    728
    2,174
    Jan 11, 2009
    United States
    It actually does support both modes sysNAND and redNAND. I wrote in the OP that everything iosuhax on my fork can do, this can do too in one application.

    Yes.

    I did not but there is no reason it should not work i guess. It is a simple HBL elf.
     
    Last edited by dimok, Dec 12, 2016