Support for Xiaomi Wifi R3P Pro?

I have followed the steps and installed OpenWrt on my R3P. I want to use a USB drive on it to share files. However, I can't install the needed files as my kernel is 4.14.138-1 (I need 4.14.140-1). How can I solve this issue?

I got below message:

[ 2.524285] Scanning device for bad blocks
[ 3.053686] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[ 3.060550] Creating 10 MTD partitions on "MT7621-NAND":
[ 3.065846] 0x000000000000-0x000000040000 : "Bootloader"
[ 3.072287] 0x000000040000-0x000000080000 : "Config"
[ 3.078189] 0x000000080000-0x0000000c0000 : "Bdata"
[ 3.084090] 0x0000000c0000-0x000000100000 : "factory"
[ 3.090318] 0x000000100000-0x000000140000 : "crash"
[ 3.096303] 0x000000140000-0x0000001c0000 : "crash_syslog"
[ 3.103000] 0x0000001c0000-0x000000200000 : "reserved0"
[ 3.109417] 0x000000200000-0x000000600000 : "kernel_stock"
[ 3.116053] 0x000000600000-0x000000a00000 : "kernel"
[ 3.122215] 0x000000a00000-0x00000ff80000 : "ubi"
[ 3.130025] [mtk_nand] probe successfully!

Does that mean I do not have any bad blocks and there is nothing to worry about? Mine is also Micron NAND.

The default address should be 192.168.1.1.

If it's a snapshot build, then you usually have just a few hours to install packets, until there is a new build. But then you can still force-install manually (at your own risk), using kmods for your build from the Supplementary Files section on the download page. If it is a build from @ilyas, then just add his repo as a source for opkg.

Hi

This IP is default after install OpenWRT. I have problem to access SSH to can install the OpenWRT firmware.

Thank you for the reply. My router currently has http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_mir3p-squashfs-sysupgrade.bin

How do I upgrade to 4.14.140-1. I am pretty new to these things - would appreciate more detailed advise (for example, I don't know where is the Supplementary Files section which you referred to and I don't know which file to be installed). Thank you in advance.

You just need to download a new sysupgrade bin image from the same download page and use upgrade option in your router in Backup - Flash Firmware tab (I assume you have luci installed, if not, opkg update & opkg install luci).

Ah, sorry. Then my best guess is that the flashing process didn't go well. I'd try the process again or just go with a UART cable.

Did you install the official developer firmware instead of the stock firmware?

Your continuous suppourt is much appreciated.

These are files I found in the download page:

xiaomi_mir3p-initramfs-kernel.bin 2ffdd44af36fdcd708089bbfe8c75a2a145931b39661f7c90fdb080a327c4437 3309.8 KB Sat Aug 31 08:56:49 2019
xiaomi_mir3p-squashfs-factory.bin 51430a523c8d142b5674511ec1e252bdb36e793fd7296697de72a6d3faba3ce2 7808.0 KB Sat Aug 31 08:56:49 2019
xiaomi_mir3p-squashfs-sysupgrade.bin 2b5e0dc4730911fe79ea57678153d3db430bc38acf90a098153e0a956afcf2c5 4680.3 KB Sat Aug 31 08:56:49 2019

Yes, I have luci installed. Do I need to flash all the 3 above files or only the xiaomi_mir3p-squashfs-sysupgrade.bin file?

Thanks.

These are builds of the same system, just for different purposes. So, you only this one to use with sysupgrade:

Yes, I used the link informed on this forum: https://openwrt.org/toh/xiaomi/xiaomi_r3p_pro

There are another that you can inform to me?

How can I use the UART cable?

I checked how to use UART cable. Too hard for me. :frowning:

crap. sorry. can you send me the full bootlog? it looks like you have a UART, so you can restore to stock...

Did you format UBI when flashing OpenWRT for the first time? If you have bad blocks, than ubiformat would usually mark bad PEBs... In my case, I had a re-soldered Micron NAND with unknown bad block states. So, I ended up booting initramfs image via TFTP, then formatting and attaching UBI and then sysupgrading. There is some info in the post #301.

1 Like

As suggested, I have attempted to flash xiaomi_mir3p-squashfs-sysupgrade.bin. However, it was not successful and now the router is in a boot cycle. The router boots, blink once and then blink green for a second and restart. Is there any way to solve this problem?

you're going to need an UART

That's strange... Can you plz post your boot log?

I still have trouble accessing SSH. I did all the steps of the procedure and it does not work.

Has anyone been through this and managed to solve?

I would like to install OpenWRT but I can't.