Homebrew I Need help with making a mod of CFW Booter

Rubberduckycooly

Well-Known Member
OP
Newcomer
Joined
Nov 21, 2016
Messages
63
Trophies
0
XP
130
Country
United States
i am trying to make a mod of CFW booter called RedNAND Booter and what it does is boots a file called RedNAND.img (this is so people like myself can use a seperate booter to boot redNAND while using the regular CFW booter to boot a patched sysNAND, with out swapping fw.img files)

i have the source code and i need help finding the bit in the code where it loads the fw.img file so i can modify it

(this is my first real wii U homebrew related project so any help is appreciated!)
;)
 
Last edited by Rubberduckycooly,

x65943

i can be your sega dreamcast or sega nightmarecast
Supervisor
GBAtemp Patron
Joined
Jun 23, 2014
Messages
6,232
Trophies
3
Location
ΗΠΑ
XP
26,463
Country
United States
Last edited by x65943,

veraci_00

Well-Known Member
Member
Joined
Mar 6, 2016
Messages
473
Trophies
0
Age
42
XP
293
Country
United States
your best option is to use haxchi. it will boot different fw.img depending upon what button u press (if any).
 

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
i have the source code and i need help finding the bit in the code where it loads the fw.img file so i can modify it

The rednand firmware still needs to be called fw.img (as mentioned before) but you can just put it in a folder called rednand.

The bit of code to change is in arm_kernel/source/main.c lines 42 and 93.

change line 42 to: static const char sd_path[] = "/vol/sdcard/rednand";
change line 93 to: if (i < 21)

As said before Haxchi 1.7 already can do this but if you just wanted a modified version of cfw booter this works.

attached is a compiled elf that loads /rednand/fw.img
 

Attachments

  • rednandbooter.elf.rar
    5.5 KB · Views: 185

raggaro5

New Member
Newbie
Joined
Nov 22, 2016
Messages
2
Trophies
0
Age
32
XP
70
Country
United States
The rednand firmware still needs to be called fw.img (as mentioned before) but you can just put it in a folder called rednand.

The bit of code to change is in arm_kernel/source/main.c lines 42 and 93.

change line 42 to: static const char sd_path[] = "/vol/sdcard/rednand";
change line 93 to: if (i < 21)

As said before Haxchi 1.7 already can do this but if you just wanted a modified version of cfw booter this works.

attached is a compiled elf that loads /rednand/fw.img


Loved Your edit thought i was the only one who wanted something like this so i added a quick icon image for the homebrew channel and just edited the xml a bit for cfw booter to make a nicer app. this is awesome
 

Attachments

  • rednandbooter.rar
    29.6 KB · Views: 167

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1