(Resolved) RAK4361 RAK 4360 Bootloop: LFS assert: head >= 2 && head <= lfs->cfg->block_count

Hi, I have an issue with the RAK4631 running Meshtastic FW.
At some stage the remote site went down and I finally got to taking a look. Seems there is some error preventing it to boot.
I re-flashed firmware and same issue.
Any advise?

Boot log:

▒▒@INFO | ??:??:?? 4

//\ E S H T /\ S T / C

DEBUG | ??:??:?? 4 Filesystem files:
DEBUG | ??:??:?? 4 adafruit (directory)
DEBUG | ??:??:?? 4 bond_prph (directory)
DEBUG | ??:??:?? 4 bond_cntr (directory)
DEBUG | ??:??:?? 4 meshtastic.txt (7128 Bytes)
DEBUG | ??:??:?? 4 prefs (directory)
DEBUG | ??:??:?? 4 module.proto (130 Bytes)
DEBUG | ??:??:?? 4 channels.proto (163 Bytes)
DEBUG | ??:??:?? 4 config.proto (100 Bytes)
DEBUG | ??:??:?? 4 db.proto (7159 Bytes)
DEBUG | ??:??:?? 4 db.proto.tmp (0 Bytes)
DEBUG | ??:??:?? 4 Power::lipoInit lipo sensor is not ready yet
DEBUG | ??:??:?? 4 Using analog input 5 for battery level
INFO | ??:??:?? 4 Scanning for i2c devices…
DEBUG | ??:??:?? 4 Scanning for I2C devices on port 1
DEBUG | ??:??:?? 4 I2C device found at address 0x70
INFO | ??:??:?? 4 SHTC3 sensor found
INFO | ??:??:?? 4 1 I2C devices found
DEBUG | ??:??:?? 4 acc_info = 0
DEBUG | ??:??:?? 4 found i2c sensor meshtastic_TelemetrySensorType_SHTC3
INFO | ??:??:?? 4 S:B:9,2.5.6.d55c08d
INFO | ??:??:?? 4 Build timestamp: 1728595575
DEBUG | ??:??:?? 4 Reset reason: 0x0
DEBUG | ??:??:?? 4 Setting random seed 4084218375
INFO | ??:??:?? 4 Initializing NodeDB
INFO | ??:??:?? 4 Loading /prefs/db.proto
ERROR | ??:??:?? 4 LFS assert: head >= 2 && head <= lfs->cfg->block_count
ERROR | ??:??:?? 4 LFS assert: block < lfs->cfg->b

Resolved:

Factory erase then re-flash fixed the bad firmware.
This is for the RAK4630 and RAK4631

  1. Download:
    https://github.com/meshtastic/firmware/releases/download/v2.4.0.46d7b82/firmware-2.4.0.46d7b82.zip

  2. double tap the reset button on board

  3. extract: Meshtastic_nRF52_factory_erase_v2.uf2

  4. drag and drop it as per normal firmware update

  5. open a terminal and hit any key to accept the “press any key to flash”

  6. upload new firmware and done.