Hacking cIOSX rev21d2x: Yet Another Hot Fix!!!!

Did d2x work for you?

  • Yes, I had an issue with the official cios and d2x fixed it

    Votes: 93 48.2%
  • Yes, but everything was already working for me with the official cios

    Votes: 82 42.5%
  • No, and I posted what goes wrong

    Votes: 9 4.7%
  • No, and I won't report what goes wrong because I am a troll

    Votes: 9 4.7%

  • Total voters
    193

davebaol

Well-Known Member
OP
Member
Joined
Sep 3, 2010
Messages
912
Trophies
0
XP
192
Country
Italy
NutNut said:
Someone gave me the v7alpha1 but the ciosmap.xml is not correct
happy.gif
What's the matter?
 

roubagalinhas

Well-Known Member
Member
Joined
Jul 7, 2011
Messages
103
Trophies
0
Age
39
XP
117
Country
davebaol said:
roubagalinhas said:
these Cioses are causing me a lot of issues with my new hard drive toshiba canvio 2.5" usb 3.0 750GB (4k sector)
after launching the loader from homebrew channel or from the forwarder on wii's main menu, the canvio is detected and the program "freezes" (on startup screen)
this drive works fine with waninkoko and hermes cioses

also the d2x are working fine with my "old" western digital passport 2.5" usb 2.0 250GB drive, so it has to be a 4k sector issue

my favorite loader is cfg usb loader (tried different versions), but happens the same when using usb loader gx
I believe your HDD is 512B sector size, not 4K.
In fact AFAIK waninkoko cios doesn't support 4K sector size.
And usually HDDs lower than 2TB have 512B per sector.

Also your issue is likely due to USB 3.0 which is not officially supported by any cios out there.

Finally give v7alpha1 a chance and let me know.

yes my drive has 4k sector, i've confirmed it
the drive inside the box is a TOSHIBA MK7559GSXP 750.1GB, which uses 4k sector

i doubt is an usb 3.0 issue (the disk is detected and starts up), but the truth is than i can't exclude that. well, not until i swap the hard drive to an usb 2.0 case. i still have to find if there is a way to open the case without voiding the warranty

i'll continue trying different settings

the fact is that i had previously my loaders working perfectly fine with waninkoko's in slot 249 and d2x in other slots
the problems started after trying to install only d2x cioses (used different bases in slot 249, no good)
after that i tried i tried to return to my initial settings (waninkoko in slot 249+d2x in other slots), but now all games i've configured to load with d2x ioses freeze on launch
 

NutNut

Well-Known Member
Member
Joined
Jun 30, 2010
Messages
138
Trophies
0
Location
France, Paris
Website
www.Wii-Addict.fr
XP
31
Country
France
Identification was v6final instead of v7alpha1 (first content)
Also you don't need previous cIOS in the .xml since they are already compiled in the boot.dol
happy.gif

I will PM you the good version.

I noticed that you added a patch on every base, what is for ?
Do you want us to apply this new patch on previous version of cIOS d2x too ?

I have found a bug, Syscheck freeze when he scan a v7alpha1 cIOS
unsure.gif
 

davebaol

Well-Known Member
OP
Member
Joined
Sep 3, 2010
Messages
912
Trophies
0
XP
192
Country
Italy
@NutNut
I've taken the most updated ciosmap.xml from google code project and previous cIOS's were already there.

Also identification instructions via ciosmap.xml are undocumented.

And no, that patch is for d2x v7+ only (base 58 excluded since it doesn't use EHCI).

Anyways thanks for the fixed xml.
happy.gif
 

NutNut

Well-Known Member
Member
Joined
Jun 30, 2010
Messages
138
Trophies
0
Location
France, Paris
Website
www.Wii-Addict.fr
XP
31
Country
France
excl.gif
excl.gif
I failed at correcting the xml
excl.gif
excl.gif
Check your MPs.
happy.gif


Explaination of identification by xml
The following patch is different for every base :
In order to put the version in identification you have to look at this first patch of the first content (the one with offset="0x00" and size="22")
You have just to change the hex number at offset 11 :
For d2x v7, you put 0x7 v6 > 0x6 & v10 > 0xa etc ...

The following patch is the same for all bases on first content :

If you want to write alpha1 use this patch (note that the last hex 0x31 is for 1, 0x32 will be 2 etc.. (ASCII conversion)


If you want to write beta1 use this :


If it's a final version you can simply delete this line
happy.gif

Also, I tested v7a1 and syscehck is freezing when he scan the cIOS so I built v7a1 with v6 EHCI module and then syscheck works well !
unsure.gif
 

davebaol

Well-Known Member
OP
Member
Joined
Sep 3, 2010
Messages
912
Trophies
0
XP
192
Country
Italy
@NutNut
Ok tnx for explanation and new xml

Does syscheck crash when scanning the slot containing v7alpah1?
Or does it crash after scaning all the slots?
 

davebaol

Well-Known Member
OP
Member
Joined
Sep 3, 2010
Messages
912
Trophies
0
XP
192
Country
Italy
NutNut said:
Only when scanning the slot containing v7alpah1
It's a syscheck issue, I guess.

Also d2x installer crashes when

and the folder is named d2x\v7alpha1, note upper/lower case.

EDIT:
Can you make slot 249 the default one instead of 200?
Pressing right 49 times is quite boring LOL
 

NutNut

Well-Known Member
Member
Joined
Jun 30, 2010
Messages
138
Trophies
0
Location
France, Paris
Website
www.Wii-Addict.fr
XP
31
Country
France
So we will look forward to a syscheck update..

issue1: Hum yes, added to to do list

issue2: Someone already request that and Dragbe fixed it, wait the next version
happy.gif
He said almost everything is done except speed improvement !
 

NutNut

Well-Known Member
Member
Joined
Jun 30, 2010
Messages
138
Trophies
0
Location
France, Paris
Website
www.Wii-Addict.fr
XP
31
Country
France

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
roubagalinhas said:
yes my drive has 4k sector, i've confirmed it
the drive inside the box is a TOSHIBA MK7559GSXP 750.1GB, which uses 4k sector
It's true that the drive has 4k sectors internally. But I believe that it presents itself still as a 512 (virtual) sector size.
You can make a quick check, in cfg loader go into system settings there is a info tab and below a debug tab, select that and after IOS, MEM and TIME stats should be DEBUG LOG and there you can find something like:

open(/dev/usb2)=3 init:0 cap:1953525167 ss:512

ss: is sector size, check if that says 512 or 4096?
 

roubagalinhas

Well-Known Member
Member
Joined
Jul 7, 2011
Messages
103
Trophies
0
Age
39
XP
117
Country
oggzee said:
roubagalinhas said:
yes my drive has 4k sector, i've confirmed it
the drive inside the box is a TOSHIBA MK7559GSXP 750.1GB, which uses 4k sector
It's true that the drive has 4k sectors internally. But I believe that it presents itself still as a 512 (virtual) sector size.
You can make a quick check, in cfg loader go into system settings there is a info tab and below a debug tab, select that and after IOS, MEM and TIME stats should be DEBUG LOG and there you can find something like:

open(/dev/usb2)=3 init:0 cap:1953525167 ss:512

ss: is sector size, check if that says 512 or 4096?

hi
thanks for replying

it's displaying 512 for all my hard drives

well, i guess that means it's probably an usb 3.0 issue

i'll just have to grow my nails to try this method. i asked my aunt but her nails here too soft, and it was a no go
http://www.youtube.com/watch?v=6YYCrFwMrEU

i have plenty of usb 2.0 cases here, that's not a problem
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,811
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,801
Country
Cyprus
Here's ModMii v4.6.2 Beta 3
http://www.mediafire.com/?ec8m3k5ua5agbxx

It's exactly like v4.6.1 except for 2 changes:
-able to construct cBC-NMMv0.2a.wad (v4.6.2 beta2 only supported cBC-NMMv0.1a.wad)
-added the IRQ4 patch to support d2x v7+ cIOS development.

@davebaol,
You can add this to your future "d2x-beta.bat" files, pretty self explanatory but if you have questions drop me a PM.

Code:
::IRQ4 patch always on when ciosversion is 21007 or higher, to disable it change below line from "=on" to "=off"
set IRQ4patch=on
::Note that the default is "on" when a d2x-beta.bat file is not found, but even when "on" if the cIOSversion is 21006 or lower the patch will not be applied

Please note that with the recent google code problems ModMii has been having anytime ModMii tries to download something from the nusad or modmii google code pages it will fail (ie. update checks, IOS236 Installer Mod, etc.). So until I get that problem fixed some downloads will not work (ie. they will be "missing"). However, if you already have downloaded those files using ModMii at some point in the past they should be saved in ModMii's "temp" folder, and therefore will still "download" properly. That being said, many files can still be downloaded\constructed even if not already in the "temp" folder, including all cIOSs. Therefore, ModMii v4.6.2 Beta3 will still be able to support d2x v7+ cIOS development despite it's google code hosting problems.
 

davebaol

Well-Known Member
OP
Member
Joined
Sep 3, 2010
Messages
912
Trophies
0
XP
192
Country
Italy
@XFlak
Thanks for updating ModMii so quickly.
Just one question.
If I got it right the default behavior is the correct one right?
I mean, IRQ4 is patched only for d2x v7+.
But since this patch is mandatory for v7+ while is forbidden for v6- I think I'd better omit the "set IRQ4patch=on" from the .bat file. If it was there people might think they can freely change it.
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,811
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,801
Country
Cyprus
You are correct, IRQ4 is patched only for d2x v7+.

If you want to omit that from d2x-beta.bat it will still work fine, and that decision is totally up to you, I only left a backdoor for you just in case in v10 or w/e u decide to remove the patch

edit: and it was my pleasure to update ModMii to support d2x v7+ development! I would hate to be the one to slow down your progress
biggrin.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-