Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in recovery mode #136

Open
irishguy90 opened this issue Feb 4, 2023 · 10 comments
Open

Stuck in recovery mode #136

irishguy90 opened this issue Feb 4, 2023 · 10 comments

Comments

@irishguy90
Copy link

I recently updated the firmware on the rt320 via the gui and noticed the WiFi could work so I held in the reset button to see if that would resolve it but it's didn't. Instead it booted to recovery mode and no matter what firmware I flash with it just goes back to recovery

@npmussi
Copy link

npmussi commented Feb 6, 2023

I also have the same issue. WiFi was non-functional after upgrade, so I attempted to rollback via an older image, and now I am in recovery mode with flashing having no effect.

@dangowrt
Copy link
Owner

You have most likely flashed a wrong image. Please see #104

@irishguy90
Copy link
Author

You have most likely flashed a wrong image. Please see #104

Iv read the guide tried flashing most the firmwares and used some command but they don't work

This what comes up with some command iv tried

root@OpenWrt:# ubinfo -a
UBI version: 1
Count of UBI devices: 0
UBI control device major/minor: 10:63
root@OpenWrt:
# ubinfo -d 0 -n 5 -a
ubinfo: error!: cannot get information about UBI volume 5 on ubi0
error 2 (No such file or directory)
root@OpenWrt:~# hexdump -C /dev/ubi0_4 | head -n 34
hexdump: /dev/ubi0_4: No such file or directory

the files im trying are
ede-mediatek-mt7622-MTK-AX3200-MT7531-squashfs-sysupgrade
openwrt-22.03.1-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer
openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer
openwrt-22.03.0-rc1-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade
[ openwrt-22.03.1-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb

root@OpenWrt:~# hexdump -C /dev/ubi0_2 | head -n 34
hexdump: /dev/ubi0_2: No such file or directory

iv even tried FW_RT3200_1.0.01.101415_prod.img and still stuck in recovery
iv also tried
Switch device power off.
3x Switch device power on for 2 seconds, then off again.
Switch device power on, the device should now boot to the alternative partition.
and also powered off for 10 seconds after using openwrt-22.03.1-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer.itb still stuck in recovery. im not sure now what else as iv been trying for few days now and still stuck in recovery

@irishguy90
Copy link
Author

rm /sys/fs/pstore/* does nothing

@dangowrt
Copy link
Owner

dangowrt commented Feb 20, 2023

You need to do things in the right order.
So:
Step 1: rm /sys/fs/pstore/*
Step 2: sysupgrade https://downloads.openwrt.org/releases/22.03.3/targets/mediatek/mt7622/openwrt-22.03.3-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb

Do not reboot after rm /sys/fs/pstore/*, directly proceed to sysupgrade the correct file.

@damo901
Copy link

damo901 commented Feb 21, 2023

rm: can't remove '/sys/fs/pstore/*': No such file or directory
tried that link and again straight back to recovary

@damo901
Copy link

damo901 commented Feb 21, 2023

this what comes up with these commands
ls /sys/fs/pstore (nothing shows)
cd /sys/fs/pstore
vim dmesg-ramoops-0
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

  • dmesg-ramoops-0 1/1 100%

@damo901
Copy link

damo901 commented Feb 21, 2023

used these commands from a tread i started on openwrt forum
https://forum.openwrt.org/t/belkin-rt3200-stuck-in-emergency/150447/11

root@OpenWrt:~#  ubinfo -a
UBI version:                    1
Count of UBI devices:           0
UBI control device major/minor: 10:63
root@OpenWrt:~#  ubinfo -d 0 -n 5 -a
ubinfo: error!: cannot get information about UBI volume 5 on ubi0
        error 2 (No such file or directory)
root@OpenWrt:~#  hexdump -C /dev/ubi0_4 | head -n 34
hexdump: /dev/ubi0_4: No such file or directory

the files im trying are
ede-mediatek-mt7622-MTK-AX3200-MT7531-squashfs-sysupgrade
openwrt-22.03.1-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer
openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer
openwrt-22.03.0-rc1-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade
[ openwrt-22.03.1-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb ``
root@OpenWrt:~# hexdump -C /dev/ubi0_2 | head -n 34
hexdump: /dev/ubi0_2: No such file or directory

@damo901
Copy link

damo901 commented Feb 21, 2023

i think its fixed. i tried these again

Using PSTORE/ramoops

While running the production firmware enter this command in the shell

echo c > /proc/sysrq-trigger

Once the router has rebooted into recovery mode, clear PSTORE to make it reboot into production mode again:

rm /sys/fs/pstore/*

@craigcurtin-dev
Copy link

Just wanted to say i too had this problem - flashed two units with the files provided in this repo and was working on configuring one with VLANs - after a save and apply - ended up in this reboot loop for no apparent reason.

I followed these direction above and that appears to have resolved the issue

While running the production firmware enter this command in the shell

echo c > /proc/sysrq-trigger

Once the router has rebooted into recovery mode, clear PSTORE to make it reboot into production mode again:

rm /sys/fs/pstore/*

Craig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants