Hacking how to compile red nand fw.img?

tunip3

[debugger active]
OP
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
does any body how to compile rednand as the make command continues to fail for me and does anybody know weather the wupserver fw.img has sig patches as i have come across a few that are non otp key based that allow for the use of wup server
 

xtheman

Well-Known Member
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States

tunip3

[debugger active]
OP
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
According to another forum member a rednand is universal as the otp keys only contain the comon and and ancast keys is this true
 
D

Deleted User

Guest
According to another forum member a rednand is universal as the otp keys only contain the comon and and ancast keys is this true

That's partially true; the OTP contains the universal Common and Starbuck Ancast keys, along with pretty much every other key. However, these keys are copyrighted, which means we can't tell you them (at least not legally). Making the fw.img uses the Common and Starbuck Ancast keys, and as such, it is illegal to share.
 
Last edited by ,

tunip3

[debugger active]
OP
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
That's true; it only contains the universal Common and Starbuck Ancast keys. However, these keys are copyrighted, which means we can't tell you them (at least not legally). Making the fw.img uses these keys, and as such, it is illegal to share.

Thank you
 
D

Deleted User

Guest
Thank you

No problem :)
By the way, if you're able to use VirtualBox, I believe I may be able to upload a Linux VM that contains all utilities to build IOSUHax, excluding the copyrighted keys. Since it's all freeware and open source, I'm sure it's permitted... but first, I'll check the rules, just to be sure :)
 
Last edited by ,
  • Like
Reactions: tunip3

tunip3

[debugger active]
OP
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
No problem :)
By the way, if you're able to use VirtualBox, I believe I may be able to upload a Linux VM that contains all utilities to build IOSUHax, excluding the copyrighted keys. Since it's all freeware and open source, I'm sure permitted... but first, I'll check the rules, just to be sure :)
Thank you and yeah I can use virtual box
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
yes, you can share that linux VM. it may even help more users who don't have the proper setup.
like you said, just exclude the keys and you are fine.
Make it easy to access, or see at launch, with a nice tutorial or bash so users are guided and not lost again.


Though, I'm wondering why you have a problem with fix94's guide.
Maybe we could improve the guide as more users could have the same issue than you.
the make command continues to fail to work
what exactly happens? how does it fail?

if it's command unknown, then it's a missing environment variable, maybe you need to reboot or be sure the environment variable has been added, else add it manually or even in the command line window before typing "make" to compile by typing : SET DEVKITPRO=/c/devkitPro/ (or any other path where you installed it), same with DEVKITARM=/c/devkitPro/devkitARM/, and then SET PATH=%PATH%;c:\devkitPro\msys\bin
but you'd better add them directly to your global environment variable instead of typing it every time before compiling. (if you type them in a command line window, it's affecting only THAT window, no other command line windows)

if it's an error while compiling, we can also help but you need to tell which error you get.

(I didn't check if you already reported that issue in any other thread, maybe you already got help and it wasn't enough)
 

tunip3

[debugger active]
OP
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
upload_2016-11-15_16-26-25.png





i get this error when installing devkit pro

--------------------- MERGED ---------------------------

upload_2016-11-15_16-26-25.png





i get this error when installing devkit pro

upload_2016-11-15_16-28-42.png




but after i close the error it says this

--------------------- MERGED ---------------------------

upload_2016-11-15_16-26-25.png





i get this error when installing devkit pro

--------------------- MERGED ---------------------------



upload_2016-11-15_16-28-42.png




but after i close the error it says this

upload_2016-11-15_16-32-49.png



and the variables are there
 
D

Deleted User

Guest
yes, you can share that linux VM. it may even help more users who don't have the proper setup.
like you said, just exclude the keys and you are fine.
Make it easy to access, or see at launch, with a nice tutorial or bash so users are guided and not lost again.

Great! I'll just make a simple script to clone and compile everything (as to not have FIX94's IOSUHax pre-included, just in case), and eventually copy the built files to the guest desktop. Afterwards I'll have the user run another script to set up Guest Additions, with it eventually telling the user how to copy the files to their host's desktop. I suppose making a script that isn't included in a VM would be a bit easier, but some people might not know how to install Linux... it's just a little harder than installing the VM through the OVA, though, but I'm trying to keep it at the absolute minimum :)

By the way, do you know if it's possible to have the build script ask the user to input the keys from the script itself? Maybe through a Vi or Nano command... hm.
 

tunip3

[debugger active]
OP
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
Great! I'll just make a simple script to clone and compile everything (as to not have FIX94's IOSUHax pre-included, just in case), and eventually copy the built files to the guest desktop. Afterwards I'll have the user run another script to set up Guest Additions, with it eventually telling the user how to copy the files to their host's desktop. I suppose making a script that isn't included in a VM would be a bit easier, but some people might not know how to install Linux... it's just a little harder than installing the VM through the OVA, though, but I'm trying to keep it at the absolute minimum :)

By the way, do you know if it's possible to have the build script ask the user to input the keys from the script itself? Maybe through a Vi or Nano command... hm.

What if you set it up so that you put the script and the otp.bin file in the same folder it uses the otp.bin and then places the fw.img in the folder with the otp.bin and the script
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
you are right, script to download latest ghithub is better instead of providing a fixed release and having to update the VM manually.

I don't know linux, so I can't help you with the commands, but there are probably a way to ask input from the user.
Another way is like tunip3 said. You could ask the user to dump its OTP (it will be useful in the future anyway, why not doing it?).

So, step 1 : get your keys ! launch HBL OTP dumper, put otp.bin somewhere in your script's folder. a place where both Fix94 and Dimok branch (and maybe future branch) can use it at the same time.
step 2 : retrieve git repository
step 3 : when launching the compilation, copy the otp.bin from the "user's place" into the correct branch's folder so the user will not have to edit the .py file, right?
it's easier to make your script copy the bin to the correct folder, so the user always keep its single file at the same place, outside the git sources.
 

Site & Scene News

Popular threads in this forum

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