Adding support for ZTE MF258K

I've got in my hands ZTE MF258K that is based on MT7621 and uses MT7603E and MT7663E. I'm wondering if there is any build that I could flash it with?

Right now, I'm on the stock firmware from ZTE that uses OpenWRT 14.07 and I would like to update it with a new OpenWRT and check if that would possible resolve my issues with MT7603E (2.4G network randomly is not starting)

The device is not yet supported

DO NOT FLASH RANDOM FILES

Very carefully - check if ZTE web interface provides boot log, known as dmesg in normal linux.
And show their page with links to firmware upgrades that you would use.

process outline:

1 Like

Really...this is medieval...

1 Like

Nah, that's only 10 years old :slight_smile:

2 Likes

Thank you for the response. I'm not going to jump in and flash random files. I know that sometimes the same device may be known (or listed) under a different symbol and due to that I've asked about an existing OpenWRT compilation for my router.

I've got SSH access to the router, so I grabbed dmesg output over SSH:

[   59.212000] Main bssid = 00:00:00:00:00:00
[   59.220000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   59.232000] MtCmdSetMacTxRx:(ret = 0)
[   59.240000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   59.252000] MtCmdSetMacTxRx:(ret = 0)
[   59.260000] INIT REDUCE TCP ACK, rai0
[   59.268000] <==== mt_wifi_init, Status=0
[   59.276000] TxBfModuleEnCtrl:It's not DBDC mode
[   59.284000] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
[   59.300000] MSTA_Init (1) ---> ApCli
[   59.308000] Register MSTA IF (apclii0) , pAd->MSTANum = 1
[   59.320000] Caller: SetCommonHT+0xf0/0x160 [mt7663e]
[   59.332000] 
[   59.332000] phy_mode=49, ch=0, wdev_type=2
[   59.344000] ht_cap: ht_cap->HtCapInfo, 
[   59.352000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   59.364000] ht_cap: ht_cap->HtCapParm, 
[   59.372000] mdpu_density=0, ampdu_factor=3
[   59.384000] WtcSetMaxStaNum: MaxStaNum:104, BssidNum:4, WdsNum:0, ApcliNum:1, MaxNumChipRept:24, MinMcastWcid:130
[   60.340000] RedInit: set Driver/N9 RED Enable to 1.
[   60.352000] RedInit: RED Initiailize Done.
[   60.360000] cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
[   60.372000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[   60.384000] wifi_sys_open(), wdev idx = 0
[   60.392000] wdev_attr_update(): wdevId0 = b4:1c:30:dc:04:c3
[   60.404000] [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
[   60.416000] [BuildChannelList] BandIdx = 0, PhyMode = 49, ChListNum = 19:
[   60.428000]  [RadarStateCheck] RD_NORMAL_MODE  
[   60.440000] phy_freq_adjust : no prim_ch value for adjust!
[   60.452000] Caller: wlan_operate_init+0x164/0x178 [mt7663e]
[   60.464000] 
[   60.464000] phy_mode=49, ch=0, wdev_type=1
[   60.476000] ht_cap: ht_cap->HtCapInfo, 
[   60.480000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   60.496000] ht_cap: ht_cap->HtCapParm, 
[   60.504000] mdpu_density=5, ampdu_factor=3
[   60.512000] AP inf up for ra_0(func_idx) OmacIdx=0
[   60.524000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[   60.536000] ApAutoChannelAtBootUp----------------->
[   60.544000] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
[   60.556000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   60.572000] MtCmdSetMacTxRx:(ret = 0)
[   60.576000] [AutoChSelBuildChannelListFor5G] ChListNum5G = 19
[   60.588000] AsicSwitchChannel(): 5G Channel:36, then must be Channel_Band:1 !!
[   60.840000] AsicSwitchChannel(): 5G Channel:40, then must be Channel_Band:1 !!
[   61.088000] AsicSwitchChannel(): 5G Channel:44, then must be Channel_Band:1 !!
[   61.336000] AsicSwitchChannel(): 5G Channel:48, then must be Channel_Band:1 !!
[   61.584000] AsicSwitchChannel(): 5G Channel:52, then must be Channel_Band:1 !!
[   62.148000] AsicSwitchChannel(): 5G Channel:56, then must be Channel_Band:1 !!
[   62.396000] AsicSwitchChannel(): 5G Channel:60, then must be Channel_Band:1 !!
[   62.644000] AsicSwitchChannel(): 5G Channel:64, then must be Channel_Band:1 !!
[   63.208000] AsicSwitchChannel(): 5G Channel:100, then must be Channel_Band:1 !!
[   63.772000] AsicSwitchChannel(): 5G Channel:104, then must be Channel_Band:1 !!
[   64.020000] AsicSwitchChannel(): 5G Channel:108, then must be Channel_Band:1 !!
[   64.268000] AsicSwitchChannel(): 5G Channel:112, then must be Channel_Band:1 !!
[   64.832000] AsicSwitchChannel(): 5G Channel:116, then must be Channel_Band:1 !!
[   65.448000] AsicSwitchChannel(): 5G Channel:120, then must be Channel_Band:1 !!
[   65.696000] AsicSwitchChannel(): 5G Channel:124, then must be Channel_Band:1 !!
[   65.944000] AsicSwitchChannel(): 5G Channel:128, then must be Channel_Band:1 !!
[   66.512000] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 108, IsAband = 1
[   66.528000]  AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 108 
[   66.548000]  [RadarStateCheck] RD_NORMAL_MODE  
[   66.560000] AsicSwitchChannel(): 5G Channel:106, then must be Channel_Band:1 !!
[   66.932000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
[   66.944000] ApAutoChannelAtBootUp<-----------------
[   66.956000] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[   66.968000] Caller: SetCommonHT+0xf0/0x160 [mt7663e]
[   66.976000] 
[   66.976000] phy_mode=49, ch=108, wdev_type=1
[   66.988000] ht_cap: ht_cap->HtCapInfo, 
[   66.996000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   67.012000] ht_cap: ht_cap->HtCapParm, 
[   67.020000] mdpu_density=5, ampdu_factor=3
[   67.028000] wifi_sys_linkup(), wdev idx = 0
[   67.036000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:135 for WDEV_TYPE:1
[   67.036000]  LinkToOmacIdx = 0, LinkToWdevType = 1
[   67.184000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
[   67.216000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
[   67.228000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
[   67.240000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
[   67.252000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
[   67.264000] AsicSetTxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   67.280000] AsicSetRxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   67.300000] apidx 0 for WscUUIDInit
[   67.308000] Generate UUID for apidx(0)
[   67.960000] device rai0 entered promiscuous mode
[   67.972000] br-lan: port 3(rai0) entered forwarding state
[   67.984000] br-lan: port 3(rai0) entered forwarding state
[   68.012000] rai1: ===> mbss_virtual_if_open
[   68.020000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[   68.032000] wifi_sys_open(), wdev idx = 1
[   68.040000] wdev_attr_update(): wdevId1 = b6:1c:30:dc:04:c3
[   68.052000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
[   68.064000] Caller: wlan_operate_init+0x164/0x178 [mt7663e]
[   68.076000] 
[   68.076000] phy_mode=49, ch=108, wdev_type=1
[   68.088000] ht_cap: ht_cap->HtCapInfo, 
[   68.096000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   68.112000] ht_cap: ht_cap->HtCapParm, 
[   68.120000] mdpu_density=0, ampdu_factor=3
[   68.128000] AP inf up for ra_1(func_idx) OmacIdx=17
[   68.140000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[   68.152000] ApAutoChannelAtBootUp----------------->
[   68.160000] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
[   68.172000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   68.184000] MtCmdSetMacTxRx:(ret = 0)
[   68.192000] ApAutoChannelAtBootUp<-----------------
[   68.204000] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
[   68.216000] Caller: SetCommonHT+0xf0/0x160 [mt7663e]
[   68.224000] 
[   68.224000] phy_mode=49, ch=108, wdev_type=1
[   68.236000] ht_cap: ht_cap->HtCapInfo, 
[   68.244000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   68.260000] ht_cap: ht_cap->HtCapParm, 
[   68.268000] mdpu_density=0, ampdu_factor=3
[   68.276000] wifi_sys_linkup(), wdev idx = 1
[   68.284000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:134 for WDEV_TYPE:1
[   68.284000]  LinkToOmacIdx = 11, LinkToWdevType = 1
[   68.432000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
[   68.468000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
[   68.480000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
[   68.488000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
[   68.500000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
[   68.516000] AsicSetTxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   68.528000] AsicSetRxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   68.548000] apidx 1 for WscUUIDInit
[   68.556000] Generate UUID for apidx(1)
[   68.568000] rai1: ===> mbss_virtual_if_close
[   68.576000] wifi_sys_linkdown(), wdev idx = 1
[   68.576000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (b6:1c:30:dc:04:c3), Reason 0x10
[   68.576000]   Beacon lost - AP disabled!!!
[   68.612000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[   68.636000] wifi_sys_close(), wdev idx = 1
[   69.064000] device rai1 entered promiscuous mode
[   69.092000] rai2: ===> mbss_virtual_if_open
[   69.100000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[   69.112000] wifi_sys_open(), wdev idx = 2
[   69.120000] wdev_attr_update(): wdevId2 = b6:1c:30:ec:04:c3
[   69.132000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
[   69.144000] Caller: wlan_operate_init+0x164/0x178 [mt7663e]
[   69.156000] 
[   69.156000] phy_mode=49, ch=108, wdev_type=1
[   69.168000] ht_cap: ht_cap->HtCapInfo, 
[   69.176000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   69.192000] ht_cap: ht_cap->HtCapParm, 
[   69.200000] mdpu_density=0, ampdu_factor=3
[   69.208000] AP inf up for ra_2(func_idx) OmacIdx=18
[   69.216000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[   69.232000] ApAutoChannelAtBootUp----------------->
[   69.240000] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
[   69.252000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   69.264000] MtCmdSetMacTxRx:(ret = 0)
[   69.272000] ApAutoChannelAtBootUp<-----------------
[   69.284000] [PMF]APPMFInit:: apidx=2, MFPC=0, MFPR=0, SHA256=0
[   69.296000] Caller: SetCommonHT+0xf0/0x160 [mt7663e]
[   69.304000] 
[   69.304000] phy_mode=49, ch=108, wdev_type=1
[   69.316000] ht_cap: ht_cap->HtCapInfo, 
[   69.324000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   69.340000] ht_cap: ht_cap->HtCapParm, 
[   69.348000] mdpu_density=0, ampdu_factor=3
[   69.356000] wifi_sys_linkup(), wdev idx = 2
[   69.364000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:134 for WDEV_TYPE:1
[   69.364000]  LinkToOmacIdx = 12, LinkToWdevType = 1
[   69.512000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
[   69.544000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 12
[   69.556000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
[   69.568000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
[   69.580000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
[   69.592000] AsicSetTxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   69.608000] AsicSetRxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   69.628000] apidx 2 for WscUUIDInit
[   69.636000] Generate UUID for apidx(2)
[   69.648000] rai2: ===> mbss_virtual_if_close
[   69.656000] wifi_sys_linkdown(), wdev idx = 2
[   69.656000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (b6:1c:30:ec:04:c3), Reason 0x10
[   69.656000]   Beacon lost - AP disabled!!!
[   69.692000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[   69.716000] wifi_sys_close(), wdev idx = 2
[   69.988000] br-lan: port 3(rai0) entered forwarding state
[   70.156000] device rai2 entered promiscuous mode
[   70.184000] rai3: ===> mbss_virtual_if_open
[   70.192000] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[   70.208000] wifi_sys_open(), wdev idx = 3
[   70.216000] wdev_attr_update(): wdevId3 = b6:1c:30:fc:04:c3
[   70.224000] [WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
[   70.240000] Caller: wlan_operate_init+0x164/0x178 [mt7663e]
[   70.252000] 
[   70.252000] phy_mode=49, ch=108, wdev_type=1
[   70.264000] ht_cap: ht_cap->HtCapInfo, 
[   70.268000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   70.284000] ht_cap: ht_cap->HtCapParm, 
[   70.292000] mdpu_density=0, ampdu_factor=3
[   70.300000] AP inf up for ra_3(func_idx) OmacIdx=19
[   70.312000] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[   70.324000] ApAutoChannelAtBootUp----------------->
[   70.332000] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
[   70.344000] AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
[   70.360000] MtCmdSetMacTxRx:(ret = 0)
[   70.364000] ApAutoChannelAtBootUp<-----------------
[   70.376000] [PMF]APPMFInit:: apidx=3, MFPC=0, MFPR=0, SHA256=0
[   70.388000] Caller: SetCommonHT+0xf0/0x160 [mt7663e]
[   70.396000] 
[   70.396000] phy_mode=49, ch=108, wdev_type=1
[   70.408000] ht_cap: ht_cap->HtCapInfo, 
[   70.416000] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
[   70.432000] ht_cap: ht_cap->HtCapParm, 
[   70.440000] mdpu_density=0, ampdu_factor=3
[   70.448000] wifi_sys_linkup(), wdev idx = 3
[   70.456000] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:134 for WDEV_TYPE:1
[   70.456000]  LinkToOmacIdx = 13, LinkToWdevType = 1
[   70.604000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
[   70.640000] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 13
[   70.652000] MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
[   70.664000] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
[   70.676000] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
[   70.688000] AsicSetTxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   70.700000] AsicSetRxStream(): NotSupportedFunc for this arch(HIF_MT)!
[   70.720000] apidx 3 for WscUUIDInit
[   70.728000] Generate UUID for apidx(3)
[   70.740000] rai3: ===> mbss_virtual_if_close
[   70.752000] wifi_sys_linkdown(), wdev idx = 3
[   70.752000] ExtEventBeaconLostHandler::FW LOG, Beacon lost (b6:1c:30:fc:04:c3), Reason 0x10
[   70.752000]   Beacon lost - AP disabled!!!
[   70.788000] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[   70.808000] wifi_sys_close(), wdev idx = 3
[   71.256000] device rai3 entered promiscuous mode
[   71.440000] Device Instance
[   71.448000] 	WDEV 00:
[   71.448000] 		Name:rai0
[   71.456000] 		Wdev(list) Idx:0
[   71.460000] 		 Idx:18
[   71.464000] 	WDEV 01:
[   71.464000] 		Name:rai1
[   71.472000] 		Wdev(list) Idx:1
[   71.476000] 		 Idx:19
[   71.484000] 	WDEV 02:
[   71.484000] 		Name:rai2
[   71.488000] 		Wdev(list) Idx:2
[   71.496000] 		 Idx:20
[   71.500000] 	WDEV 03:
[   71.500000] 		Name:rai3
[   71.508000] 		Wdev(list) Idx:3
[   71.512000] 		 Idx:21
[   71.516000] 	WDEV 04:
[   71.516000] 		Name:apclii0
[   71.524000] 		Wdev(list) Idx:4
[   71.532000] 		 Idx:22
[   71.536000] 	WDEV 05:
[   71.540000] 	WDEV 06:
[   71.544000] 	WDEV 07:
[   71.548000] 	WDEV 08:
[   71.552000] 	WDEV 09:
[   71.556000] 	WDEV 10:
[   71.564000] 	WDEV 11:
[   71.568000] 	WDEV 12:
[   71.572000] 	WDEV 13:
[   71.576000] 	WDEV 14:
[   71.580000] 	WDEV 15:
[   71.584000] 	WDEV 16:
[   71.588000] 	WDEV 17:
[   83.828000] MacTableInsertEntry(): wcid 1 =====
[   83.840000] New Sta:60:3e:5f:7b:38:88
[   83.968000] AP SETKEYS DONE - AKMMap=WPA2PSK, PairwiseCipher=AES, GroupCipher=AES, wcid=1 from 60:3E:5F:7B:38:88
[   83.968000] 
[   83.992000] PTK:d9030ac94fb9b04bb8caafc4bb9ff5b6a3e18825bcb09aaae682c62ff7b97d9b51711ea4952c9111556d1dc39e234218ef787ed56baf6e1f8ba49dca9ffbab20
[   84.052000] Rcv Wcid(1) AddBAReq
[   84.060000] Start Seq = 00000000
[   90.508000] Rcv Wcid(1) AddBAReq
[   90.516000] Start Seq = 00000000

Reviewing files that should be modified while generating an image, I've found a lot of platforms listed in /lib/upgrade/platform.sh file:

	MT7620 | \
	MT7621 | \
	MT7628 | \
	MT7688 | \
	MT7623 | \
	3g-6200n | \
	3g-6200nl | \
	3g300m | \
	w150m | \
	air3gii | \
	all0239-3g | \
	all0256n | \
	all5002 | \
	all5003 | \
	ar725w | \
	asl26555 | \
	awm002-evb | \
	awm003-evb | \
	awapn2403 | \
	bc2 | \
	broadway | \
	carambola | \
	d105 | \
	dcs-930 | \
	dir-300-b1 | \
	dir-300-b7 | \
	dir-320-b1 | \
	dir-600-b1 | \
	dir-600-b2 | \
	dir-615-h1 | \
	dir-615-d | \
	dir-620-a1 | \
	dir-620-d1 | \
	dir-810l | \
	dap-1350 | \
	esr-9753 | \
	f7c027 | \
	fonera20n | \
	rt-n13u | \

so hopefully having access to files from the original software I'll be able to update them to work with new version.

Reboot and try again, we need the kernel boot messages, not wifi setup.
Now lets try to back up flash contents.

cat /proc/cmdline
lspci
free
df
lsusb
cat /proc/mounts | grep tmpfs ;: find a ramdisk
cat /proc/mtd ;: next command applies if any ubi is mentioned
ubinfo -a
cat /dev/mtd?ro > /tmp/BOOTZZ.bin
...
...

Try binwalk -e -M on each of those files.
No guarantee upgrade script from ancient OpenWrt is used by OEM upgrade process