warmwinter / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rebuild firmware

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1.  $ ./extract-firmware.sh firmware.bin
2.  $ ./ddwrt-gui-extract.sh
3.  Replace ddwrt logo to my own logo
4.  $ ./ddwrt-gui-rebuild.sh

What is the expected output? What do you see instead?

result fmk/rootfs/etc/www: zero size file

I dont know what to do next..Could u please assist me..im trying to experiment 
to change the logo of ddwrt and rebuild back as .bin file so i can upgrade the 
firmware 


What version of the product are you using? On what operating system?

My router is Linksys WRT54GL and im using Fedora 17.


Please provide any additional information below.

I dont understand folder www folderextracted in fmk and the original www in 
rootfs.. is it i make changes in www folder in fmk then paste it in www folder 
in rootfs then run the $ ./ddwrt-gui-rebuild.sh?

Thanks.
Im new in linux..hope u can assist me..

Original issue reported on code.google.com by khairul....@gmail.com on 3 Jun 2013 at 3:03

Can you provide a link to the exact DD-WRT firmware image you are working with?

Original comment by heffne...@gmail.com on 3 Jun 2013 at 4:20

I'm using the dd-wrt.v24_mini_generic.bin

I also try extract using dd-wrt.v24_micro_generic.bin but also facing the same 
result. (result fmk/rootfs/etc/www: zero size file)

I manage to run the $ ./ddwrt-gui-extract.sh command then i replace the logo by 
replacing the ddwrt logo (Logo.png) in the www/style folder extracted from the 
command..not the www in the fmk/rootfs/www/style.

I do try just run the $ ./build-firmware.sh (skip rebuild command) the result 
is its generate file new-firmware.bin in the fmk folder but when i upgrade the 
new-firmware into my router..i run 192.168.1.1 its only blank page..

Thanks really appreciate your response.

Original comment by khairul....@gmail.com on 4 Jun 2013 at 12:15

I'm using the dd-wrt.v24_mini_generic.bin

 I also try extract using dd-wrt.v24_micro_generic.bin but also facing the
same result. (result fmk/rootfs/etc/www: zero size file)

 I manage to run the $ ./ddwrt-gui-extract.sh command then i replace the
logo by replacing the ddwrt logo (Logo.png) in the www/style folder
extracted from the command..not the www in the fmk/rootfs/www/style.

I do try just run the $ ./build-firmware.sh (skip rebuild command) the
result is its generate file new-firmware.bin in the fmk folder but when i
upgrade the new-firmware into my router..i run 192.168.1.1 its only blank
page..

 Thanks really appreciate your response.

Original comment by khairul....@gmail.com on 5 Jun 2013 at 8:55

You still haven't provided a link to the firmware image you're trying to 
modify. There are thousands of builds of DD-WRT, and each may be different.

Original comment by jeremy.collake@gmail.com on 5 Jun 2013 at 9:01

http://www.dd-wrt.com/routerdb/de/download/Linksys/WRT54GL/1.0/1.1/dd-wrt.v24_mi
ni_generic.bin/1961

That the link of the firmware image..

Thanks for your response..

Original comment by khairul....@gmail.com on 5 Jun 2013 at 3:17

http://www.dd-wrt.com/routerdb/de/download/Linksys/WRT54GL/1.0/1.1/dd-wrt.v24_mi
ni_generic.bin/1961


That the link of the firmware image..

 Thanks for your response..

On Wednesday, June 5, 2013, wrote:

Original comment by khairul....@gmail.com on 6 Jun 2013 at 5:04

There was a bug in the last commit to webdecomp.c. I have fixed it now. Pull 
the latest revision from the repository, extract the firmware AGAIN (must do), 
then all should work.

Original comment by jeremy.collake@gmail.com on 7 Jun 2013 at 2:15

Original comment by jeremy.collake@gmail.com on 7 Jun 2013 at 2:15

  • Changed state: Fixed
same error..

image's here: 
http://www.dd-wrt.com/routerdb/de/download/Asus/RT-AC68U/-/asus_rt-ac68u-firmwar
e.trx/4392

Original comment by camel...@gmail.com on 22 Jul 2014 at 10:23