[GL.Inet gl-s1300] Stuck with the old 'Chaos Calmer' OpenWrt

Hey I bought this router recently and I spent 3 hours following these steps over and over and I cant update Openwrt to the current version.

These are the files I installed using uboot

/openwrt$ sha256sum *
a1c37b24cc3f2c419ac570e18271ce096963c4bdbdfa433a577075d6165b95d8  openwrt-21.02.0-ipq40xx-generic-glinet_gl-s1300-squashfs-sysupgrade.bin
44aa7fa97f4313a96ab70513104733307e34b51ef243c6751c3096ba56e04c04  s1300-factory-to-openwrt.img

I was able to ssh into the router


sh root@192.168.8.1
root@192.168.8.1's password: 


BusyBox v1.28.3 () built-in shell (ash)

     MM           NM                    MMMMMMM          M       M
   $MMMMM        MMMMM                MMMMMMMMMMM      MMM     MMM
  MMMMMMMM     MM MMMMM.              MMMMM:MMMMMM:   MMMM   MMMMM
MMMM= MMMMMM  MMM   MMMM       MMMMM   MMMM  MMMMMM   MMMM  MMMMM'
MMMM=  MMMMM MMMM    MM       MMMMM    MMMM    MMMM   MMMMNMMMMM
MMMM=   MMMM  MMMMM          MMMMM     MMMM    MMMM   MMMMMMMM
MMMM=   MMMM   MMMMMM       MMMMM      MMMM    MMMM   MMMMMMMMM
MMMM=   MMMM     MMMMM,    NMMMMMMMM   MMMM    MMMM   MMMMMMMMMMM
MMMM=   MMMM      MMMMMM   MMMMMMMM    MMMM    MMMM   MMMM  MMMMMM
MMMM=   MMMM   MM    MMMM    MMMM      MMMM    MMMM   MMMM    MMMM
MMMM$ ,MMMMM  MMMMM  MMMM    MMM       MMMM   MMMMM   MMMM    MMMM
  MMMMMMM:      MMMMMMM     M         MMMMMMMMMMMM  MMMMMMM MMMMMMM
    MMMMMM       MMMMN     M           MMMMMMMMM      MMMM    MMMM
     MMMM          M                    MMMMMMM        M       M
       M
 ---------------------------------------------------------------
   For those about to rock... (Chaos Calmer, e7067e3+r49254)
 ---------------------------------------------------------------

I tried to upgrade from the cli and it doesnt upgrade from chaos calmer after restarting

I ran


 sysupgrade -v openwrt-21.02.0-ipq40xx-generic-glinet_gl-s1300-squashfs-sysupgrade.bin

It seems like the internal memory is still in read only mode and even if I install the 'openwrt-21.02*' bin it doesnt make a difference. Is anyone using this router and had the same problems?

I also tried to force install it and it failed

root@GL-S1300:/tmp# sha256sum openwrt-21.02.0-rc3-ipq40xx-generic-glinet_gl-s1300-squashfs-sysupgrade.bin 
9200e4bce851f88b6bb4b0bbbf28f5e88a0834b19522b99d927a0c4dc7c22df0  openwrt-21.02.0-rc3-ipq40xx-generic-glinet_gl-s1300-squashfs-sysupgrade.bin    
root@GL-S1300:/tmp# sysupgrade -n -v -F openwrt-21.02.0-rc3-ipq40xx-generic-glinet_gl-s1300-squashfs-sysupgrade.bin 
Sending TERM to remaining processes ... logd ubusd netifd gl_crond dnsmasq sh acfg_tool askfirst smbd nmbd ntpd gl-ble-daemon sh gltertf lighttpd rngd sleep 
Sending KILL to remaining processes ... ntpd rngd askfirst 
Switching to ramdisk...
Performing system upgrade...
1+0 records in
1+0 records out
4194304 bytes (4.0MB) copied, 0.090966 seconds, 44.0MB/s
0+1 records in
0+1 records out
3408183 bytes (3.3MB) copied, 0.073613 seconds, 44.2MB/s
Could not open mtd device: /dev/mtd8
Can't open device for writing!
Upgrade completed
Rebooting system...

Have you seen this?
https://docs.gl-inet.com/en/3/troubleshooting/debrick/

I understand your router may not be "bricked", but I have followed the instructions on this document to flash 21.02 and back to OEM firmware on my also not bricked GL-MV1000 with great results.

Hey thanks for the reply.

I have been using uboot (holding reset, 4 flashes, changing local ip, etc) to install the 2 packages (openwrt-21... and s1300-factory...).

One thing that may be different from the docs is that the glinet firmware updated yesterday and it's not the factory one anymore ( see https://docs.gl-inet.com/en/3/release_notes/gl-s1300/ ). I wonder if the 'factory to openwrt' image doesnt work with the latest version of the official firmware and I need to somehow downgrade it?

Otherwise Im running out of ideas, I can install firmwares/images, ssh into the router but the openwrt files just dont persist at all.