NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

JaMesPame1978's avatar
Feb 03, 2021

How to rebuild XR300 squashfs

I now want to expand the functionality of my firmware, so I need to change the files inside the firmware filesystem, I use the official tool mksquashfs, but the generated squashfs file is not the same as the squashfs file generated directly with binwalk

 

the squashfs from binwalk and the squashfs from tools:

 

2 Replies

  • michaelkenward's avatar
    michaelkenward
    Guru - Experienced User

    You have posted your message in the section of this community given over to Nighthawk WiFi Routers. (This is easily done, given Netgear's impenetrable community structure.)

    To save you wasting your time, you might get more help, and find earlier questions and answers about your hardware, in the appropriate section for your device. That's probably here:

    Nighthawk Pro Gaming Routers - NETGEAR Communities

    I will ask the Netgear moderator to move your message.

  • > [...] I use the official tool mksquashfs, [...]

     

       Not a very detailed description of what you did.

     

    > [...] generated directly with binwalk

     

       Not a very detailed description of what you did.

     

    > [...] the generated squashfs file is not the same [...]

     

       I know nothing, but the first difference which I see is in the
    modification_time, which would not amaze me.

     

          https://dr-emann.github.io/squashfs/

     

       Plenty of other insignificant differences might be possible, too.