Sure, I can try. Just remember that it may be slightly different for many users due to different processes running in the background. Additionally, such actions may brick your router if something goes terribly wrong.
You've been warned. I also assume this is the jffs read only issue. Credits to below posts from this forum:
Interesting - the mtd drivers says ok, the ubi volume manager says ok. Hopefully it is just a filesystem issue - might be able to recover at that level. Just wondering - have you tried different factory resets - like the hold WPS button or press reset for a long time? I am surprised (like you!)...
www.snbforums.com
It has never been resolved. I didn't know the issue goes so far back. And I'm sure you have tried everything suggested in the previous thread. :(
www.snbforums.com
1. Disable usage of jffs scripts within web gui.
2. ssh onto the box
3. Execute
If above cmd returns no error proceed to point no. 4.
3a. If umount /jffs returns an error with devise/resource busy, then it means some process is still holding some lock to the /jjfs file. We need to find out what it is and kill it.
Execute
3b. It should return something like below:
Bash:
admin@GT-AX6000-6E78:/tmp/home/root
1452 2396
Identify running processes using ps and numbers from previous command. Like below:
Bash:
admin@GT-AX6000-6E78:/tmp/home/root
1452 admin 3328 S /sbin/syslogd -m 0 -S -O /jffs/syslog.log -s 512 -l 7
Bash:
admin@GT-AX6000-6E78:/tmp/home/root
2396 admin 12140 S asd
3c. Kill those processes you have identified in the previous steps
Bash:
killall syslogd
touch /tmp/killasd && killall asd && mount --bind /tmp/killasd /usr/bin/asd
####Different processes may pop up here, but the general rule remains the same - we need to get rid of those to proceed. asd kill option found below
It actually has no reason to scan the hdd, since no execute permissions should be allowed there. Asus got it wrong with security to begin with and is now patching it up in a stupid way. It might help to write a script that constantly checks and kills the process, although it seems like rc...
www.snbforums.com
3d. Retry umount from the point no. 3
4.
Bash:
ubinfo --devn=0 --vol_id=13
: '
Volume ID: 13 (on ubi0)
Type: dynamic
Alignment: 1
Size: 413 LEBs (52441088 bytes, 50.0 MiB)
State: OK
Name: jffs2
'
ubirmvol /dev/ubi0 --vol_id=13
ubimkvol /dev/ubi0 --vol_id=13 -s 50MiB -N jffs2
reboot
5. Enable jffs scripts.