OpenWrt Forum Archive

Topic: how to extract firmware

The content of this topic has been archived on 7 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi
i have a few questions
i am new to this so i don't have a lot of experience

how to extract vendor firmware ?
i am using ubuntu

and my other question
i used binwalk to extract files from same bin file
is there any tools or a way to understand how to edit it
there's so many files and
like "hostname ,cpeserver "
and all without any extension
what programing language is this
i have some experience with c# and java

also i noticed that in the web interface the file are  html
but there is no html files in firmware ?

i know that my question is not related to openwrt os but
but there is no better place to ask about routers and thank you

what ,is it that hard ? that no answer after 39 views
i thought that firmware is your game

i searched and found something about flash dump but i didn't understand how to do it
as i said i don't have a lot of experience so any one is it possible or what ?

any explanation how to understand routers devices?

wrt99, what is your task? You want to save firmware from router?
Try to run command

cat /proc/mtd

and see output.
You can dump mtd-partition using command

cat

and transfer it to computer by tftp, ftp, samba, USB-flash.

(Last edited by ulmwind on 13 Apr 2017, 14:08)

ulmwind, thank you for that
just be patient with me
i don't have a lot of experience
where exactly to run cat command
the vendor firmware does not have command line
and if you mean telnet there is no cat command
any explanation?

wrt99, you are welcome.
Yes, in console of router. Please, specify exact model of your router. Which commands does original firmware have? Please, run following commands:

help
uname

set
wan
lan
wireless
there is nothing in the telnet command
i have tried everything
the router is from my isp and the firmware is a piece of shit but the hardware is good
is there any way to extract the firmware ? Please explain more

and about my other question i managed to get some bin file in the internet
extract it with binwalk but i don't know how to modify it as i said in the web interface the file are html
but there is no html files in firmware ?

and there is no way to understand which language is that, is it c or c++ or what ?

seriosly how routers frimeware work?

What model of router?  If it can run OpenWrt you should do that rather than try to rewrite the manufacturer's firmware.  If it is a cable or DSL combo modem-router you can use it only as a modem and do all your routing and wifi with another box running OpenWrt.

(Last edited by mk24 on 13 Apr 2017, 16:10)

i checked for supported devices and i found the same model but not the same cpu or ram !!
ZTE ZXHN H108N

i tried also to run openwrt on old pc but it's complicated for a beginner

is there any way to extract the firmware ? what about the flash dump ??!!!
which language is that, is it c or c++ or what ?
any idea

would anyone please answer my questions ?rather than give me a different answer
believe me i have searched everywhere for answer before i post here
so is there anyone here knows about router or it just about openwrt os
if that is the case then how did make that firmware for router in the first place
some explanation please
i don't know why it's so complicated to understand
is anyone of you was a beginner ???!!!
i have dealt with android ,linux ,c# ,java ,asp and none of that was that complected ??!!!!!!
what i am missing here ??!!!
explanation please
a link a videos a steps anything
and thank you

The discussion might have continued from here.