Hacking Hexkyz: "Anatomy of a Wii U: hexFW"

jorgehntx

Active Member
Newcomer
Joined
Nov 20, 2016
Messages
28
Trophies
0
Age
43
XP
56
Country
United States
Okay so, very odd, I've been using Cygwin, so I tried installing msys2 and used it instead, and right away it got past that error perfectly fine.

Unfortunately, now it's failing on anpack.py. Ugg. (Yes, I did add the keys to the python file.)

Edit: Nevermind, fixed the error by replacing the anpack.py in hexFW with the anpack.py in dimok's iosuhax. Hopefully that doesn't break some stuff. :P
U has compiled all ready? i tryed but nothing...i think my problem is whit the variables :,-(
 

Informix23

Active Member
Newcomer
Joined
Oct 9, 2016
Messages
43
Trophies
0
Age
45
XP
83
Country
Mexico
I cant´t compile it I have this error

Code:
make[1]: Leaving directory `/c/hexFW-master/launcher/browserhax'
make[1]: Entering directory `/c/hexFW-master/firmware'
Traceback (most recent call last):
  File "scripts/anpack.py", line 255, in <module>
    fw = ancast(open(input_fn, "r+b"))
  File "scripts/anpack.py", line 148, in __init__
    self.decrypt(file, 0x200)
  File "scripts/anpack.py", line 197, in decrypt
    key = ancast_key.decode('hex')
AttributeError: 'str' object has no attribute 'decode'
make[1]: *** [patches/sections/0x08120000.bin] Error 1
make[1]: Leaving directory `/c/hexFW-master/firmware'
make: *** [all] Error 2
 

connectconnect

Active Member
Newcomer
Joined
May 9, 2016
Messages
33
Trophies
0
XP
1,258
I cant´t compile it I have this error

Code:
make[1]: Leaving directory `/c/hexFW-master/launcher/browserhax'
make[1]: Entering directory `/c/hexFW-master/firmware'
Traceback (most recent call last):
  File "scripts/anpack.py", line 255, in <module>
    fw = ancast(open(input_fn, "r+b"))
  File "scripts/anpack.py", line 148, in __init__
    self.decrypt(file, 0x200)
  File "scripts/anpack.py", line 197, in decrypt
    key = ancast_key.decode('hex')
AttributeError: 'str' object has no attribute 'decode'
make[1]: *** [patches/sections/0x08120000.bin] Error 1
make[1]: Leaving directory `/c/hexFW-master/firmware'
make: *** [all] Error 2


You need to complete the firmware/scripts/anpack.py with the right values for

# Ancast keys (fill this manually)
ancast_key = "B5xxxxxxxxxxxxxxxxxxxxxxxxxxFD"
ancast_iv = "91xxxxxxxxxxxxxxxxxxxxxxxxxx22"

and copy the fw.img from the original nintendo source

For my compiled fw.img I get this hashes:

CRC32: 1B4CCD39
MD5: 6DF15CD0FC1EF80DC280E10F54DAFD14
SHA-1: D3C72D760315470BAC7EE926C4C0D90DEE7547D9
 
  • Like
Reactions: jorgehntx

dojafoja

life elevated
Member
Joined
Jan 2, 2014
Messages
696
Trophies
1
XP
2,610
Country
I cant´t compile it I have this error

Code:
make[1]: Leaving directory `/c/hexFW-master/launcher/browserhax'
make[1]: Entering directory `/c/hexFW-master/firmware'
Traceback (most recent call last):
  File "scripts/anpack.py", line 255, in <module>
    fw = ancast(open(input_fn, "r+b"))
  File "scripts/anpack.py", line 148, in __init__
    self.decrypt(file, 0x200)
  File "scripts/anpack.py", line 197, in decrypt
    key = ancast_key.decode('hex')
AttributeError: 'str' object has no attribute 'decode'
make[1]: *** [patches/sections/0x08120000.bin] Error 1
make[1]: Leaving directory `/c/hexFW-master/firmware'
make: *** [all] Error 2

You need python 2 for sure. They removed the decode method for str objects in python 3 in favor of a global unicode implementation.
 

Irastris

Well-Known Member
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
Perhaps make a tutorial thread to encompass all facets of redNAND menu modding?

This would be extremely useful :)
There aren't any facets to discuss. All the guy and myself ever got around to is unpacking the PACK files. There aren't any plaintext or regular image formats within either, so it's not as simply as editing those and repacking the .pack.
 

steven89

Well-Known Member
Newcomer
Joined
Dec 17, 2016
Messages
97
Trophies
0
Age
34
XP
1,356
Country
any news on this i really hope progress hasnt come to a stop on this project was really looking forward to it, this looks like it has alot of potential.
 

steven89

Well-Known Member
Newcomer
Joined
Dec 17, 2016
Messages
97
Trophies
0
Age
34
XP
1,356
Country
i thought they were working on different approaches to writing there firmwares, why do that over twitter when they could be working on there own stuff or even working together, hexkyz git hub had zero activity for 11 days im just concerned its stalled i really theres stuff going on behind the screens of computers at home.
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
i thought they were working on different approaches to writing there firmwares, why do that over twitter when they could be working on there own stuff or even working together, hexkyz git hub had zero activity for 11 days im just concerned its stalled i really theres stuff going on behind the screens of computers at home.
He literaly said that Mocha CFW "isn't a CFW and its code is bad". Idk what is his porpuse saying that kind of words... :/
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    even though it is a system prone to rrod which it doesn't have
    +1
  • BigOnYa @ BigOnYa:
    I would not recommend 360 phat models anymore, slims are better, and RGH3 possible, phats only rgh1 or jtag
    +1
  • realtimesave @ realtimesave:
    ya but phat has ps2 chip in it :)
  • SylverReZ @ SylverReZ:
    This is a great buying guide that I recommend.
  • realtimesave @ realtimesave:
    my rgh systems glitch pretty damn fast
  • SylverReZ @ SylverReZ:
    @BigOnYa, Except Winchester, which even to this day, is not moddable.
    +1
  • realtimesave @ realtimesave:
    now I'm trying to figure out PS4 modding.
    +1
  • realtimesave @ realtimesave:
    looks easy
  • SylverReZ @ SylverReZ:
    @realtimesave, It definitely did take a while for the PS4 to be fully hacked, much like the PS Vita.
  • SylverReZ @ SylverReZ:
    Sony has announced that they will be using a non-x86 processor for their next-gen console.
  • BigOnYa @ BigOnYa:
    Amazon fire sticks switching to a custom linuxOs instead of Android, sucks for 3rd party apks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, is the red ring of death still common in phat xbox 360s?
  • SylverReZ @ SylverReZ:
    @BigOnYa, And Linux, regardless of its distro, is still easy to install 3rd-party modifications.
  • BigOnYa @ BigOnYa:
    Yes, phats are just a good heater for the winter months
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Yes, its only relatively common on early models.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, then the chance of potentially me wanting to have a phat xbox 360 is -1%
  • SylverReZ @ SylverReZ:
    If you have one, then chances are is that it needs a reballing of the chips.
  • BigOnYa @ BigOnYa:
    If you can Get a slim, even if few dollars more, do it
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    @BigOnYa im atm fine with my ps3
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Falcon RGH models are fine, but a slim model is slightly more money apparently.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I remember that my uncle-in-law has (or had?) an Xbox 360 which I think was a slim one
  • BigOnYa @ BigOnYa:
    I've modded prob over 50 Xbox360 over the years, never have I seen a slim come back to me, only the phats. N yea most time it needs reballed.
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, loves Phil spencer
  • SylverReZ @ SylverReZ:
    @K3Nv2, Phil Spencer is a big asshole.
    SylverReZ @ SylverReZ: @K3Nv2, Phil Spencer is a big asshole.