hzyitc / openwrt-redmi-ax3000

Openwrt for Redmi AX3000 / Xiaomi CR880x / Xiaomi CR881x
Other
424 stars 87 forks source link

Can't go back to original firmware #87

Closed httpsTeabagexe closed 1 week ago

httpsTeabagexe commented 2 weeks ago

Following the guide on openWRT docs page the following error appears while attempting to flash original firmware: image

An attempt to load firmware through web GUI leads to router rebooting and nothing else

image image

After reboot openwrt's login page opens image

fecent commented 1 week ago

You can use cat /sys/class/ubi/ubi*/mtd_num to view the running partition

If return 18, use a value of 1 go back to xiaomi firmware, otherwise, use a value of 0 fw_setenv flag_last_success 1 fw_setenv flag_boot_rootfs 1 reboot

Go back to openwrt: nvram set flag_last_success=0 nvram set flag_boot_rootfs=0 nvram commit reboot

You can easily switch between two systems

httpsTeabagexe commented 1 week ago

@fecent Thanks for the suggestion! The partitions indeed switch between each other

The problem is that i somehow installed openwrt on both 18 and 19 partitions

fecent commented 1 week ago

@fecent Thanks for the suggestion! The partitions indeed switch between each other

The problem is that i somehow installed openwrt on both 18 and 19 partitions

You can only use the MIWIFIRepairTool in Readme to flash back the Xiaomi firmware and then reinstall Openwrt in another partition. It is recommended to follow Rreadme to install Openwrt in another partition so that you can keep both systems

Note: Using MIWIFIRepairTool will completely erase two partitions and write Xiaomi firmware