Hacking Is there a way to verify that BootMii is installed as boot2 and IOS ?

L3gi0n0fh311

Well-Known Member
OP
Member
Joined
Feb 22, 2021
Messages
188
Trophies
0
Age
41
XP
1,049
Country
Canada
also, nand.bin does get overwritten with new backup, iirc. always copy the nand backup to somewhere else other than just your sd card.

Does it matter when you backup the nand.bin ? If you backup the NAND during the softmodding or like 10 days after, would the nand.bins be identical ?
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
well, every little thing will change the nand. if you don't change big things, you should be okay. it's like a computer. installing anything directly or putting things on the hdd will make a disk image different.
 
  • Like
Reactions: SaulFabre

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,973
Trophies
3
Location
Austria
XP
2,499
Country
Austria
So how exactly should i use NandBinCheck ?

Should I just type :

Code:
nandBinCheck nand.bin -all -v

From the Description:

This is a command line tool. Copy your nand.bin into the same directory as the EXE and hold SHIFT while right clicking in the folder and selecting "Open Command Prompt Here". Then type:

nandBinCheck.exe nand.bin

and the NAND will be checked.


Followed by:

First the boot1 and boot2 are checked - on a Wii with BootMii in boot2 the message "Content Sha1 matches TMD" appears here, this is normal.

Next, the installed titles are checked (from the so-called uid.sys). Messages like "Ticket fakesigned" and "TMD fakesigned" are normal. In some cases the message "tmd RSA signature isn't even close" is also normal, e.g. with the system menu (00000001-00000002) or with custom channels. The message "NandBin::ItemFromPath ->item not found" only indicates that the channel in question was once installed, but was deleted again.

After that follows the setting.txt, which contains among other things the serial number of the Wii and the region. Important is the message "system menu resource matches setting.txt AREA setting."

This is followed by a cross-check to see if all the titles listed in uid.sys are installed. Messages like "was installed at the factory and is now missing" and "XY titles were installed before any user intervention" are normal here, as are messages about missing tickets and TMDs - this refers to deleted channels.

Now the final, important checks. The following messages should show up here:

"found 0 lost clusters"
"0 files had bad HMAC data"
"0 superClusters had bad HMAC data".
Messages about incorrect ECC blocks are normal, as long as there are not very many.

As long as there are no errors at the end, the dump is correct.

https://wiidatabase.de/downloads/pc-tools/nandbincheck/
(German,sorry)
 

L3gi0n0fh311

Well-Known Member
OP
Member
Joined
Feb 22, 2021
Messages
188
Trophies
0
Age
41
XP
1,049
Country
Canada
Code:
nandBinCheck very-first-nand.bin -all >nand.log
Qt: Untested Windows version 6.2 detected!

** nandBinCheck : Wii nand info tool **
   from giantpune
   svn r: 104
   built: Jun  5 2011 21:29:38
"Error setting path to nand object"

what to do with this error...
 
Last edited by L3gi0n0fh311,
  • Like
Reactions: SaulFabre

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,973
Trophies
3
Location
Austria
XP
2,499
Country
Austria
Code:
nandBinCheck very-first-nand.bin -all >nand.log
Qt: Untested Windows version 6.2 detected!

** nandBinCheck : Wii nand info tool **
   from giantpune
   svn r: 104
   built: Jun  5 2011 21:29:38
"Error setting path to nand object"

what to do with this error...

Honestly,I have no idea.:unsure:
I have tried it with an clean NAND Backup and got no Errors.Only 2 bad Blocks.

Ohne Titel-1.jpg

Windows 10 x64 by the Way.
 
  • Like
Reactions: SaulFabre

KokoseiJ

GBAtemp VOCALOID Enthusiast
Member
Joined
Jul 18, 2020
Messages
333
Trophies
0
Age
19
XP
624
Country
Korea, South
Code:
nandBinCheck very-first-nand.bin -all >nand.log
Qt: Untested Windows version 6.2 detected!

** nandBinCheck : Wii nand info tool **
   from giantpune
   svn r: 104
   built: Jun  5 2011 21:29:38
"Error setting path to nand object"

what to do with this error...
Try to get rid or -all argument, and let it output to your terminal, not nand.log. just type nandBinCheck very-first-nand.bin and see how it works out.

BootMii also does check NAND backup when it gets created, It verifies the backup after It's been created. most of the time, It is fairly reliable.


Does it matter when you backup the nand.bin ? If you backup the NAND during the softmodding or like 10 days after, would the nand.bins be identical ?


In case you're not sure, you use NAND backups in situations where your wii is messed up so bad that you can't even try to fix. It's like making a Ghost image to recover your PC later with it- You usually make the backup after you freshly set up your hombrew system. but your system's status doesn't matter- You can make them after already messing up with it. As long as it wasn't bricked, backup is useful.

NAND will change, since it logs your playtime and stuffs and games will make saves to your NAND. but It doesn't matter since NAND getting changed doesn't mean your NAND backup is getting obsolete or unable to be used anymore. You just make a backup, keep it safe, and use it to start over when your Wii got bricked or something.
 
Last edited by KokoseiJ,

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,973
Trophies
3
Location
Austria
XP
2,499
Country
Austria
Last edited by Alexander1970,
  • Like
Reactions: SaulFabre

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,847
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,844
Country
Cyprus
2 things to note, first this: "Qt: Untested Windows version 6.2 detected!"

Second, make sure you have everything saved in a simple path. If u have special characters or something it sometimes gives errors with some tools (although I feel like giantpune's tools would be immune to such things)
 

L3gi0n0fh311

Well-Known Member
OP
Member
Joined
Feb 22, 2021
Messages
188
Trophies
0
Age
41
XP
1,049
Country
Canada
Here is what happens when I use the QT4 version:

Code:
C:\Users\Amir\Desktop\NC>dir
 Volume in drive C has no label.
 Volume Serial Number is CE58-487C

 Directory of C:\Users\Amir\Desktop\NC

03/12/2021  11:15 AM    <DIR>          .
03/12/2021  11:15 AM    <DIR>          ..
03/11/2021  06:30 PM             1,024 keys.bin
02/10/2012  09:58 PM            43,008 libgcc_s_dw2-1.dll
02/10/2012  09:58 PM           812,032 libstdc++-6.dll
02/10/2012  09:58 PM            11,362 mingwm10.dll
03/11/2021  04:24 PM       553,648,128 nand.bin
06/05/2011  09:30 PM           805,376 nandBinCheck.exe
02/10/2012  09:58 PM         2,513,408 QtCore4.dll
02/10/2012  09:58 PM         9,818,624 QtGui4.dll
02/10/2012  09:58 PM         1,228,800 QtNetwork4.dll
               9 File(s)    568,881,762 bytes
               2 Dir(s)  379,544,887,296 bytes free

C:\Users\Amir\Desktop\NC>nandBinCheck.exe nand.bin
Qt: Untested Windows version 6.2 detected!
** nandBinCheck : Wii nand info tool **
   from giantpune
   svn r: 104
   built: Jun  5 2011 21:29:38
"Error setting path to nand object"

Here is what happens when I use the QT5 version:

Code:
C:\Users\Amir\Desktop\NC2>dir
 Volume in drive C has no label.
 Volume Serial Number is CE58-487C

 Directory of C:\Users\Amir\Desktop\NC2

03/12/2021  11:16 AM    <DIR>          .
03/12/2021  11:16 AM    <DIR>          ..
03/11/2021  06:30 PM             1,024 keys.bin
12/28/2015  05:25 PM           120,334 libgcc_s_dw2-1.dll
12/28/2015  05:25 PM         1,540,622 libstdc++-6.dll
12/28/2015  05:25 PM            79,360 libwinpthread-1.dll
03/11/2021  04:24 PM       553,648,128 nand.bin
03/24/2017  03:51 PM           168,960 nandBinCheck.exe
03/24/2017  05:05 PM           148,480 nandCbhcRemover.exe
03/24/2017  06:19 AM           155,136 nandFixer.exe
03/22/2017  06:55 PM         5,421,056 Qt5Core.dll
01/18/2017  03:50 PM         5,307,392 Qt5Gui.dll
01/18/2017  03:56 PM         6,350,848 Qt5Widgets.dll
              11 File(s)    572,941,340 bytes
               2 Dir(s)  379,545,444,352 bytes free

C:\Users\Amir\Desktop\NC2>nandBinCheck nand.bin
** nandBinCheck : Wii nand info tool **
   from giantpune
   built: Mar 24 2017 23:49:06
Failed to load keys (otp.bin/keys.bin)
"Error setting path to nand object"
 
  • Like
Reactions: SaulFabre

KokoseiJ

GBAtemp VOCALOID Enthusiast
Member
Joined
Jul 18, 2020
Messages
333
Trophies
0
Age
19
XP
624
Country
Korea, South
Here is what happens when I use the QT4 version:

Code:
C:\Users\Amir\Desktop\NC>dir
 Volume in drive C has no label.
 Volume Serial Number is CE58-487C

 Directory of C:\Users\Amir\Desktop\NC

03/12/2021  11:15 AM    <DIR>          .
03/12/2021  11:15 AM    <DIR>          ..
03/11/2021  06:30 PM             1,024 keys.bin
02/10/2012  09:58 PM            43,008 libgcc_s_dw2-1.dll
02/10/2012  09:58 PM           812,032 libstdc++-6.dll
02/10/2012  09:58 PM            11,362 mingwm10.dll
03/11/2021  04:24 PM       553,648,128 nand.bin
06/05/2011  09:30 PM           805,376 nandBinCheck.exe
02/10/2012  09:58 PM         2,513,408 QtCore4.dll
02/10/2012  09:58 PM         9,818,624 QtGui4.dll
02/10/2012  09:58 PM         1,228,800 QtNetwork4.dll
               9 File(s)    568,881,762 bytes
               2 Dir(s)  379,544,887,296 bytes free

C:\Users\Amir\Desktop\NC>nandBinCheck.exe nand.bin
Qt: Untested Windows version 6.2 detected!
** nandBinCheck : Wii nand info tool **
   from giantpune
   svn r: 104
   built: Jun  5 2011 21:29:38
"Error setting path to nand object"

Here is what happens when I use the QT5 version:

Code:
C:\Users\Amir\Desktop\NC2>dir
 Volume in drive C has no label.
 Volume Serial Number is CE58-487C

 Directory of C:\Users\Amir\Desktop\NC2

03/12/2021  11:16 AM    <DIR>          .
03/12/2021  11:16 AM    <DIR>          ..
03/11/2021  06:30 PM             1,024 keys.bin
12/28/2015  05:25 PM           120,334 libgcc_s_dw2-1.dll
12/28/2015  05:25 PM         1,540,622 libstdc++-6.dll
12/28/2015  05:25 PM            79,360 libwinpthread-1.dll
03/11/2021  04:24 PM       553,648,128 nand.bin
03/24/2017  03:51 PM           168,960 nandBinCheck.exe
03/24/2017  05:05 PM           148,480 nandCbhcRemover.exe
03/24/2017  06:19 AM           155,136 nandFixer.exe
03/22/2017  06:55 PM         5,421,056 Qt5Core.dll
01/18/2017  03:50 PM         5,307,392 Qt5Gui.dll
01/18/2017  03:56 PM         6,350,848 Qt5Widgets.dll
              11 File(s)    572,941,340 bytes
               2 Dir(s)  379,545,444,352 bytes free

C:\Users\Amir\Desktop\NC2>nandBinCheck nand.bin
** nandBinCheck : Wii nand info tool **
   from giantpune
   built: Mar 24 2017 23:49:06
Failed to load keys (otp.bin/keys.bin)
"Error setting path to nand object"

Aha, now I see the problem- you didn't put keys.bin file in the directory.

Remember, They always go along. Wii's NAND is encrpyted with unique-per-unit secret key, and BootMii dumps it alongside your NAND. It's called keys.bin, and without it, your NAND dump is just 512mb of garbage values.
 

KokoseiJ

GBAtemp VOCALOID Enthusiast
Member
Joined
Jul 18, 2020
Messages
333
Trophies
0
Age
19
XP
624
Country
Korea, South
apologize, I didn't see that.

At this point I have to ask: Would you mind sharing it? It works on either alexander's machine, and my machine. It could be something went wrong with either your system or nand dump.

EDIT: before doing so, just one more suggestion. try to put the absolute path to your nand, not relative. I think the tool might be having a problem resolving it, still don't know why though.
 
Last edited by KokoseiJ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty
    what are you looking at?
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    Xdqwerty @ Xdqwerty: Cuz it's some kind of holiday related to the town I live in