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,256
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,608
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
    Psionic Roshambo @ Psionic Roshambo: By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol