mirror of https://github.com/captn3m0/RT-AX53U.git
Nemo 3b8c2d2ca5 | ||
---|---|---|
bin | ||
etc_ro/xml | ||
lib | ||
ra_SKU | ||
rom | ||
sbin | ||
usr | ||
www | ||
CHANGELOG.md | ||
README.md | ||
etc | ||
home | ||
mnt | ||
opt | ||
root | ||
var |
README.md
ASUS RT-AX53U Firmware Disassembly
Disassembly of the ASUS RT-AX53U Firmware. See CHANGELOG.md for release notes as per upstream changes.
Process
The official firmware was downloaded, then extracted using binwalk
. The complete squashfs-root was uploaded to this git-repository, with the commit timestamps as per the firmware timestamp.
The GitHub releases contain the TRX files, for verification purposes.
Commands
Firmware Download
Downloaded manually from ASUS DL to the fw
directory, and renamed to the tiniest version number (3.0.0.4.386_69061 is saved as fw/69061.trx
).
Firmware Extraction
cd fw;binwalk -e *.trx;cd ..
Release Creation
for i in fw/*.trx; do \
echo "$i" && \
TAG=$(basename $i .trx) && \
gh release create "3.0.0.4.386.$TAG" --generate-notes "$i#3.0.0.4.386.$TAG.trx" \
;done
Commit Creation
for i in fw/*.trx; do \
echo "$i" && TAG=$(basename $i .trx) && \
cp -rf fw/_$TAG.trx.extracted/squashfs-root/* . --no-dereference -p && \
git add . && \
GIT_COMMITTER_DATE="$(stat --format=%y $i)" git commit --date "$(stat --format=%y $i)" -m "ASUS RT-AX53U Firmware version 3.0.0.4.386.$TAG" && \
GIT_COMMITTER_DATE="$(stat --format=%y $i)" git tag -a -m "3.0.0.4.386.$TAG" "3.0.0.4.386.$TAG"; \
done