Hacking Sharpii

person66

If it isn't edited, it isn't a true person66 post
OP
Member
Joined
Jun 16, 2009
Messages
1,108
Trophies
0
Location
Canada
XP
415
Country
Canada
Any chance of the WAD installer being modified to use HW_AHBPROT so you can install custom channels etc. without a cIOS?
I was planning on attempting to add that for the next release, is it very hard to add hw_ahbprot support, I have done a bit of coding for wii apps before, but not much.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
I think it should be possible to copy & paste a large amount of it from FTPii, it uses HW_AHBPROT to patch current IOS with fakesigning, ES_DiVerify and NAND Permissions AFAIK.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
I disagree entirely. Those of us who don't pirate have zero need of a cIOS thanks to HW_AHBPROT, provided applications support it. cIOS is a "dirty" approach. Where possible, modified System software should be avoided. HW_AHBPROT is no less stable than a cIOS with davebaol's fix (if anything, it'll be more stable because most cIOS have more patches to de-stabilize them). Having a clean set of IOS is a much nicer approach, hence HW_AHBPROT is even used.
 

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
I disagree entirely. Those of us who don't pirate have zero need of a cIOS thanks to HW_AHBPROT, provided applications support it. cIOS is a "dirty" approach. Where possible, modified System software should be avoided. HW_AHBPROT is no less stable than a cIOS with davebaol's fix (if anything, it'll be more stable because most cIOS have more patches to de-stabilize them). Having a clean set of IOS is a much nicer approach, hence HW_AHBPROT is even used.
I don't pirate, but I have plenty of cIOS's. I like not ruining my disc drive and scratching up my discs, as the speed that goes along with a HDD. I also enjoy watching movies on my HDD, and I need cIOS202 to run it with proper speed (IOS58 doesn't cut it).

Also, davebaol's "fix" comes along with a few problems like disabling USB support.

AHBPROT also doesn't allow as much as a cIOS does.

I don't know why people think that a patched IOS is evil. Even if you don't want to patch your official IOS's, you can use empty slots without problems.
 

person66

If it isn't edited, it isn't a true person66 post
OP
Member
Joined
Jun 16, 2009
Messages
1,108
Trophies
0
Location
Canada
XP
415
Country
Canada
It is not like that after I add ahbprot you won't be able to use a cios if you prefer, it is just that the option will be there if you want it.

EDIT: What was davebaol's bugfix suppose to fix?
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
the problem and the solution are outlined here:
http://gbatemp.net/t...n-ahbprot-mode/

:D
Long story short: Fixes the bug where the Wii will crash when using HW_AHBPROT if there is no network connection set up. (Potentially causing bricks considering the nature of many HW_AHBPROT using programs).

EDIT: But you should read the long story before you implement stuff, best not to use code you don't understand ;)
 

person66

If it isn't edited, it isn't a true person66 post
OP
Member
Joined
Jun 16, 2009
Messages
1,108
Trophies
0
Location
Canada
XP
415
Country
Canada
Hmm, well I am no expert at Wii coding, so I have no clue how to get this to work. I have gotten AHBPROT to initialize (at least I assume it does, it doesn't give me an error, which it should if it fails) but when it gets to the installing the WAD part, it just errors with ret = -2011. If anyone knows how to get this to work, it would be greatly appreciated!
 

stfour

Well-Known Member
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
ahbprot fix is not need for this purpose. It is usefull if you app has already ahbprot flags and wants to reload an ios without loosing them. Is it the ios reloading that fix the hbc network problem.

to use "on the fly" ios patch, the application must start with ahbprot active, so from hbc, forwarder channel, or postloader2 :P. There is no way to activate ahbprot from inside a hb application if wasn't active before.

Last version of pl do this to enable nand access on real nand for channel browsing. I've also experiment with success the "super user identification", so If you need help I think I can help you. ;)
 

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
AHBPROT fix is needed for any app that uses AHBPROT, otherwise they will crash without a WiFi connection, by my understanding.
Except if you are using Sharpii then you have wifi.

You don't actually have to be connected to the internet, you just have to have valid internet settings to avoid the AHBPROT bug.
 

stfour

Well-Known Member
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
350
Country
Italy
AHBPROT fix is needed for any app that uses AHBPROT, otherwise they will crash without a WiFi connection, by my understanding.

It is exactly what I said:

ahbprot fix is not need for this purpose. It is usefull if you app has already ahbprot flags and wants to reload an ios without loosing them. Is it the ios reloading that fix the hbc network problem.

The point is that applying the patch, it doesn't give right to nand access or trucha or other... just allow you to reload ios without loosing ahbprot. Reloading the ios (tipically 58) shutdown also the network avoiding crashing.

Than you must patch the loaded ios to enable the functionality you need.

I've used code from dop-mii to enable it in postloader

http://code.google.c...imeIOSPatch.cpp

It is really easy to implement.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Apologies, I must have misunderstood your comment. It seemed like you were saying AHBPROT fix wasn't necessary for this application at all. I understand now, sorry.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Taylor Swift death metal AI cover please lol