Wii 4.2E softmod tutorial. Easy to follow guide.

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dell_xps
    V.I.P. Member
    • Dec 2008
    • 2558

    #121
    Originally posted by Morbid_Girl
    I'm wondering... How come there are not any uploaded NAND backups of successfully softmoded wiis? so everyone who has the same firmware could use it. I'm guessing there is some difficulty in this plan... Let me know if you have any possible answers.
    To answer your question, no it cant be done I'm afraid...... Have aread of this Morbid_Girl

    By popular request, here?s an explanation of the different encryption keys that are used on the Wii.

    AES Keys: The Wii uses 128-bit (16-byte) symmetric AES (aka AES-128-CBC) for most encryption.

    ■Common key (ebe42a225e8593e448d9c5457381aaf7): This is the ?shared secret? that we extracted with the Tweezer Hack. This key is known by all Wiis, but is never used, directly, to encrypt anything. Instead, all titles are encrypted with a random AES key; this key is then encrypted with the Common key and then stored inside a ticket. The ticket is then transmitted along with the content ? on discs, it?s part of the ?certificates? found before the encrypted data starts. Thus, knowing the common key allows you to decrypt most Wii content, as long as you have the right ticket. This key is stored in the OTP area inside the Starlet ARM core inside the Hollywood package.
    ■SD key (ab01b9d8e1622b08afbad84dbfc2a55d): This is another shared secret ? also stored on the Hollywood, but also found plenty of other places, including inside the firmware images. This key is used by the System Menu (1-2) to encrypt anything before writing it out to the SD card, and it?s used by 1-2 to decrypt anything read from the SD card. This is done mainly for the purpose of obfuscation, to keep people from examining savegames. It?s worth noting that all Wii games save their data to the internal NAND ? no game supports loading or saving data directly to SD. This frees game writers from the requirement of handling this step themselves; they just write the savegame data, unencrypted and unsigned, to their title-data directory inside the NAND filesystem; the system menu then handles everything else. (The real reason for this is probably that it allowed Nintendo to make a system where they didn?t have to expose the details of this encryption ? or any encryption ? to their licensed game developers.) This key is also stored in OTP, and in several places in IOS (for no apparent reason). If you?re using Segher?s tools, you may also be interested in the SD IV (216712e6aa1f689f95c5a22324dc6a98) and the MD5 blanker (0e65378199be4517ab06ec22451a5793), both of which are stored inside the 1-2 binary.
    ■NAND key (varies): This AES key is used to encrypt the filesystem data on the actual NAND chip itself; it is probably randomly generated during manufacturing and is also stored in the OTP area of the Starlet. This key is used to prevent the contents of the NAND filesystem from being read using a flash chip reader. Nintendo may or may not actually record this key anywhere, since they (theoretically) don?t need to ever use it. In fact, in some similar systems, keys like this are generated automatically by the device itself and (theoretically) never leave it ? the Wii shares some design prinicples with HSMs, but it certainly doesn?t manage to be one. This is another OTP key.
    RSA keys: The Wii uses RSA-based authentication in several different places. This is fundamentally different than the AES encryption used for data-hiding, because RSA is an asymmetric cipher, meaning there are no shared secrets ? nothing to be extracted from the Wii. The only RSA keys stored on the Wii are public keys, used to verify authenticity of content.

    ■CP: Content Protection? This key is used to sign the TMD associated with every title. The TMD contains a SHA1 hash of the contents of that title, proving that it had not been modified. My 24c3 presentation was done by injecting a new .DOL into a Lego Star Wars disc and then forging the signature on its TMD, using a flaw originally discovered by Segher. After that presentation, people eventually discovered the common key needed to decrypt update partitions, allowing others to analyze / disassemble IOS. xt5 (who I had the pleasure of meeting at 24c3) was then able to find the same flaw and implemented it in his Trucha Signer. In fact, from disassembling his code, the core part of it was almost identical to our never-released code ? great minds think alike, eh?
    ■XS: ?Access?? This is the key that signs tickets, which contain the title keys for individual titles.
    ■CA: Certification Authority: This key signs both the XS and CP keys.
    ■MS: ?Master?? This key is used to sign the certificate that contains a copy of your Wii?s public ECC key. This certificate is then appended to savegames on SD cards, so that any other Wii can verify that the key was issued by Nintendo.
    ■Root: This is the ?grand master key?, which signs the CA key. The public half of this can be found here.
    ECC keys: The Wii uses Elliptic Curve Cryptography in a few select places ? primarily, it uses this when it signs savegames before writing them to SD card. ECC is used in ways similar to RSA, but it?s somewhat newer and much faster to run on an embedded system.

    Other: For lack of a better place to put it, there is also an HMAC key ? a 20-byte value that is used in a SHA1-based HMAC of the NAND flash contents to prevent them from being tampered with. This is a commonly used scheme in embedded systems, where a device wants to ?sign? something itself, for itself. There are no public vs private keys here ? you need to know this value in order to verify the hash, and you need the same value to generate the hash. This isn?t appropriate for communications between two people, but is perfectly fine for letting the Wii test to see if the chip was pulled, rewritten, and resoldered.

    Key storage: The public keys are stored in various places ? these aren?t sensitive, so they don?t really need to be concealed (although at least one of them needs to be protected from modification, and it can then sign the others). The rest are stored in two places:

    ■Hollywood SEEPROM: After meeting him at 24c3, bunnie was kind enough to decap some chips for me, including a Hollywood. One of those chips is 2kbit serial EEPROM, which stores the MS signature on the the ECC key.
    ■One-Time Programmable Area: Inside the Starlet ARM core, there are a bunch of things:
    1.SHA1 hash of boot1
    2.Common key
    3.ECC private key
    4.NAND HMAC
    5.NAND AES key
    6.RNG seed
    7.other stuff we can?t yet decipher

    Comment

    • JYP_666
      Newbie
      • Dec 2009
      • 1

      #122
      Hi dell_xps. Excellent guide!! My sister accidently updated my wii. Spent ages trying to figure it out. Thanks to you, almost done!! Just gonna download your files and should be good to go!

      Thanks again
      JYP_666

      EDIT: Where can i get the song from the Custom IOS Installer from??? Or, which band is it? I like it
      Last edited by JYP_666; 16 December, 2009, 20:29.

      Comment

      • mattmozz
        Newbie
        • Dec 2009
        • 3

        #123
        will it work on pal

        i have a pal wii with fw 4.2e on it and i was just wondering will this work on it i have tryed a few others but with no sucsess

        Comment

        • cgscott
          V.I.P. Member
          • Jul 2008
          • 3513

          #124
          Originally posted by mattmozz
          i have a pal wii with fw 4.2e on it and i was just wondering will this work on it i have tryed a few others but with no sucsess
          Use the batch installer on this and install to sd card. Then run it on wii.

          Digital Kaos - Downloads - Wii softmod 4.2e
          sigpic


          Patience is a virtue.

          Comment

          • mattmozz
            Newbie
            • Dec 2009
            • 3

            #125
            batch installer ??? i am new to this never done a wii befor only done xbox360
            if you can please point me in the right direction (if you can???)

            Comment

            • dell_xps
              V.I.P. Member
              • Dec 2008
              • 2558

              #126
              Originally posted by mattmozz
              i have a pal wii with fw 4.2e on it and i was just wondering will this work on it i have tryed a few others but with no sucsess
              Yes m8 this tutorial is for your version of Wii.

              Comment

              • cgscott
                V.I.P. Member
                • Jul 2008
                • 3513

                #127
                Originally posted by mattmozz
                batch installer ??? i am new to this never done a wii befor only done xbox360
                if you can please point me in the right direction (if you can???)
                Download that file unzip it. Stick ur sd card in. Note what letter of drive it is on your pc.

                Double click the installer bat file. Enter sd drive letter.

                This installs all the files on your sd card.

                Remove sd card from your pc.

                Insert sd card into your wii.

                Select sd card on wii and start the card.

                Now follow the instructions.

                After a few seconds the homebrew channel etc will be on your wii along with a few other channels.


                Words of gordon ramsey!

                Done!

                Anymore than that mate im gonna have to get a bigger spoon!
                sigpic


                Patience is a virtue.

                Comment

                • mattmozz
                  Newbie
                  • Dec 2009
                  • 3

                  #128

                  thanks for help got it to work tested it with the new Mairo think i might stay here for all my Wii help Good site

                  Comment

                  • cgscott
                    V.I.P. Member
                    • Jul 2008
                    • 3513

                    #129
                    Originally posted by mattmozz

                    thanks for help got it to work tested it with the new Mairo think i might stay here for all my Wii help Good site
                    Your welcome. More than just wii on this site have a look around.
                    sigpic


                    Patience is a virtue.

                    Comment

                    • drawflex
                      DK Veteran
                      • Dec 2008
                      • 440

                      #130
                      Originally posted by cgscott
                      Use the batch installer on this and install to sd card. Then run it on wii.

                      Digital Kaos - Downloads - Wii softmod 4.2e
                      That pack contains outdated cIOS36, outdated loader and no update blocking/recovery.

                      Get homebrew channel installed using this link

                      Make a nand backup if you can using bootmii or install priiiloader... read this

                      Then once thats done get it ready for playing backups using this link

                      Links originally posted by dell_XPS so rep to him and the guy who wrote the tut. (adewii)
                      Last edited by drawflex; 17 December, 2009, 21:31.
                      'He's not the messiah, he's a very naughty boy'.

                      Comment

                      • cgscott
                        V.I.P. Member
                        • Jul 2008
                        • 3513

                        #131
                        Originally posted by drawflex
                        That pack contains outdated cIOS36, outdated loader and no update blocking/recovery.

                        Get homebrew channel installed using this link

                        Make a nand backup if you can using bootmii or install priiiloader... read this

                        Then once thats done get it ready for playing backups using this link

                        Links originally posted by dell_XPS so rep to him and the guy who wrote the tut.
                        dell_Xps i'll leave it up to you to update what i uploaded mate Didn't think it mattered if all people wanted was to play games.

                        Thought
                        sigpic


                        Patience is a virtue.

                        Comment

                        • drawflex
                          DK Veteran
                          • Dec 2008
                          • 440

                          #132
                          Originally posted by cgscott
                          dell_Xps i'll leave it up to you to update what i uploaded mate Didn't think it mattered if all people wanted was to play games.

                          Thought
                          No biggies but that cios will give 002 errors on some games i think
                          Last edited by drawflex; 17 December, 2009, 02:10.
                          'He's not the messiah, he's a very naughty boy'.

                          Comment

                          • cgscott
                            V.I.P. Member
                            • Jul 2008
                            • 3513

                            #133
                            Originally posted by mattmozz

                            tested it with the new Mairo

                            Like that one?
                            Last edited by cgscott; 17 December, 2009, 02:24.
                            sigpic


                            Patience is a virtue.

                            Comment

                            • CaptainCrispy
                              Newbie
                              • Dec 2009
                              • 1

                              #134
                              First attempt!

                              First off congrats to dell_xps and everyone who has contributed to this forum. Thanks for all the info. My first attempt at this so a tad nervous. I'm going with the batch installer. Am I being naive or is ver 4.2e more complicated to patch than other versions? Lots of videos of earlier firmware on youtube make it look simple!

                              My console is approaching two years old so it should run -Rs. I've also picked up on alternatives like wiiflow etc. Does anyone have a definitive list of the best running apps or tools for this version? Here goes nothin'...

                              Comment

                              • drawflex
                                DK Veteran
                                • Dec 2008
                                • 440

                                #135
                                Originally posted by cgscott
                                Like that one?
                                Wind your neck in. I just thought i'd point it out ,since your jumping on someone elses perfectly good thread and telling peeps to use older software instead. I'm guessing matey with the new mario game has got a patched version.

                                Here's the cIOS changelog, your pack contains rev10.

                                CIOS38 rev 15 ]:

                                - DVD+DL support fixed.
                                - DIP plugin improvement (NSMB may work a bit better).
                                - ES plugin optimized.
                                - FAT module bugs fixed.
                                - FFS plugin bugs fixed.
                                - EHCI module optimized.
                                - Fixed bug in Installer.
                                - Miscellaneous changes.


                                [ CIOS38 rev 14 ]:

                                - Support for games with new error 002.
                                - DIP plugin updated (cover commands emulation fixed).
                                - ES plugin updated.
                                - FFS plugin updated.
                                - EHCI module improved.
                                - SDHC module improved.
                                - FAT module improved.
                                - Implemented new anti error 001 system.
                                - Anti error 002 system removed.
                                - NAND emulation system added (from SD/USB device).
                                - Content override system added (from SD/USB device).
                                - System Menu support (Disc Channel works again).
                                - Installer support for cBoot2.
                                - Installer support for all IOS.
                                - Some bugs fixed.


                                [ CIOS38 rev 13 ]:

                                - Read speed improved.
                                - EHCI module improved.
                                - SDHC module improved.
                                - DIP plugin improved.
                                - ES plugin updated.
                                - Implemented new system anti error 002.


                                [ CIOS38 rev 12 ]:

                                - Based on IOS 38 v3610.
                                - Support for consoles with serial number LU64+
                                - Error 001/002 patching system improved.
                                - Cover check patch added (thanks to sorg).
                                - EHCI module improved (thanks to Hermes).
                                - SDHC module improved.
                                - DIP plugin improved.
                                - ES plugin added.
                                - FFS plugin added.
                                - Some patches fixed.
                                - Misc improvements and fixes.


                                [ CIOS36 rev 10 ]:

                                - Some modifications in DIP plugin.
                                - SDHC module added (thanks to WiiGator for the help).


                                [ CIOS36 rev 09 ]:

                                - EHCI module made by kwiirk added.
                                - Support for USB mode in DIP plugin.
                                - Removed NAND permissions check.


                                [ CIOS36 rev 08 ]:

                                - Custom IOCTL_DI_OFFSET command (for multigame support).
                                - Support for custom DIP commands.
                                - D0 read command now reads at 6x when using original discs or modchip.
                                - Error 001/002 transparent patching system.
                                - Fixes and improvements.


                                [ CIOS36 rev 07 ]:

                                - DIP plugin updated (lots of improvements).


                                [ CIOS36 rev 06 ]:

                                - Custom DIP module removed.
                                - DIP module patched (DIP plugin) to support backups.


                                [ CIOS36 rev 05 ]:

                                - ES_CloseContent() permission check removed.
                                - Custom DIP module v0.2 added.


                                [ CIOS36 rev 04 ]:

                                - Now the base IOS is IOS36.
                                - ES_OpenTitleContent() titleid check removed.
                                - ES_ReadContent() permission check removed.


                                [ CIOS37 rev 03 ]:

                                - ES_AddTicketStart() title version check removed.
                                - ES_DeleteTicket() and ES_DeleteTitle() now can delete system titles.
                                - ES_SetUID() check removed.


                                [ CIOS37 rev 02 ]:

                                - Removed copyright code.
                                - Changed the way the IOS is patched.


                                [ CIOS37 rev 01 ]:

                                - DVD_LowUnencryptedRead() limit removed.
                                - ES hash check disabled (Trucha bug).
                                Last edited by drawflex; 17 December, 2009, 03:27.
                                'He's not the messiah, he's a very naughty boy'.

                                Comment

                                Working...