OpenWrt Forum Archive

Topic: XIAOMI 6TB R2D Router English?

The content of this topic has been archived between 22 Mar 2018 and 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello together,

i bought the xiaomi R2D Router with 6TB Harddrive the Broadcom BCM4709 Chipset.
The router does not support English at the moment.

Now my Questions:
Why the router is not listed as offical supported? It is based on openwrt with a chinese LUCI Webinterface.

Is there somehow a possibility to make a traslation of the LUCI Webinterface?

What kind of changes are needed to make out of the rom of the Xiaomi R1D rom and R2D rom. The Chipset is the same or nearly the same.

Is there any suggestion where i could investigate to get by the easiest why a software with english language support on the router?

I am willing to learn something but maybe there is a way which needs not a 2 year study.

(Last edited by BIGPIT on 17 Aug 2015, 13:52)

Do you have the link where you bought this router from?

mazilo wrote:

Do you have the link where you bought this router from?

maybe this one
http://www.aliexpress.com/item/Original … 46435.html

http://mysku.ru/blog/aliexpress/33492.html

from russian review + gtrans

The processor - dual-core Broadcom 4709C 1.4 GHz Cortex-A9 architecture,
     Internal memory - 512 MB SLC Nand Flash
     RAM - 256 MB of DDR3 1600 MHz and
     The drive - Seagate or Toshiba 3.5 "HDD 1 or 6 TB SATA III interface
     Dual-band wireless interface - 2.4Ghz module at a rate of 300 Mb / s standard 801.11n module 5Ghz at a rate of 867 Mb / s standard 802.11ac
     Antennas - both antennas are configured 2x2, the gain for the 2.4Ghz is 4 dBi, and for 5Ghz is 6 dBi

@BIGPIT - i think youll have to copy lucy english pages to your devive
http://wiki.openwrt.org/doc/devel/luci
http://luci.subsignal.org/trac/wiki/Doc … dulesHowTo

(Last edited by makarel on 17 Aug 2015, 15:43)

Sounds not so difficult. Do you know how to do it?
At the moment i have no SSH or Telnet access.

I found some install to activate SSH or i found an developer rom.

Or is there an other way to do that?

BIGPIT wrote:

Sounds not so difficult. Do you know how to do it?
At the moment i have no SSH or Telnet access.

I found some install to activate SSH or i found an developer rom.

Or is there an other way to do that?

you need ssh/telnet/TTL adapter
you might brick it btw..

Maybe the savest way to is to try first the DEV ROM. I think the SSH or telnet should be active in it.
After i got it, is there a whay to export the actual WEB-Interface that i can modify the pages?
Sorry for this stupid noob questions.

whell the luci interface is lua script.. you should learn to use it
i dont know if you can actualy modify the files or you have to compile them
seems they function on MVC basis (model view controler) and interface files located in /usr/lib/lua/luci/view

you could see what distro it has /etc/banner and match it with a regular openwrt distro

Thanks for now. Seems i need to read a lot.
I dont know where to start.
First steps:
create a linux/unix bootable stick
create a development enviroment
play a little with linux and luci

brick the router
stop the porject

from this use gtranslate..
http://mysku.ru/blog/aliexpress/33492.html
seems quite a good rewiew

Firmware Update to DEVELOPER and getting ROOT:
The process of obtaining root-access to the root system of the device is similar to that of the first generation:

    1. Assign the router with the account Xiaomi, for example, via mobile app or PC.
    2. Upgrade to the latest version DEVELOPER-(stable version of firmware is not supported).
    3. Go to the page MiWiFi SSH, indicating your account Xiaomi. Download file miwifi_ssh.bin and remember the root password on the page.
    4. Save the file on a USB flash drive formatted in FAT / FAT32.
    5. Turn off the router, plug the flash drive into the USB port of the router.
    6. Hold the RESET button on the router, turn it on, wait until the indicator light will flash orange, release RESET, wait until the indicator glows blue.
    7. Login to the router, for example, through using WinSCP parameters: protocol - SCP, host - miwifi.com, port - 22, the name - root, password - the password from №3.
    8. Congratulations, you now have full access to the root system of the device! You can disconnect the USB flash drive;)

for testing you can change one page at a time.. so you wont brick luci..
check which version of openwrt it is first

Thank you. This helps a lot. I keep you informed.

So, it seems i am close to the solution.
My only stupid problem is, that i don't know how i can change any file in the router.
If i try to copy a modified file to the router or change it directly there, i get the message "Read-Only filesystem"

thats strange
maybe it has HW lock

post result of
-mount
-cat /etc/fstab
-cat /etc/config/fstab

-----------------------------------------------------
        Welcome to XiaoQiang!
-----------------------------------------------------
root@XiaoQiang:~# mount
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /dev type devtmpfs (rw,relatime,size=126716k,nr_inodes=31679,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,relatime,size=101848k,mode=755)
/dev/ubi1_0 on / type ubifs (ro,noatime,bulk_read,no_chk_data_crc,compr=none)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
tmpfs on /extdisks type tmpfs (rw,nosuid,relatime,size=101848k,mode=755)
/dev/ubi2_0 on /data type ubifs (rw,noatime,bulk_read,compr=none)
/dev/ubi2_0 on /userdisk type ubifs (rw,noatime,bulk_read,compr=none)
/dev/sda1 on /userdisk/data type ext4 (rw,noatime,barrier=1,data=ordered)
/dev/ubi2_0 on /etc type ubifs (rw,noatime,bulk_read,compr=none)
none on /dev/cgroup/mem type cgroup (rw,relatime,memory)
root@XiaoQiang:~#




root@XiaoQiang:~# cat /etc/fstab
# WARNING: this is an auto generated file, please use uci to set defined filesystems







root@XiaoQiang:~# cat /etc/config/fstab
config global automount
        option from_fstab 1
        option anon_mount 1

config global autoswap
        option from_fstab 1
        option anon_swap 0
root@XiaoQiang:~#

-can you post df -h pls
-check if /overlay is writable

id say your stuck with it unless you build fw...

(Last edited by makarel on 19 Aug 2015, 00:21)

Thank for your help, but i am noob.
I should check in busybox:
DF -h or Df -h pls?
How to check if overlay is writable?

Small question: how to build a Firmware?

Df -h I will post in the next hour.
How I could check if overlay is writeable?

root@XiaoQiang:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  107.9M     76.8M     31.1M  71% /
none                    123.7M         0    123.7M   0% /dev
tmpfs                    99.5M      3.8M     95.6M   4% /tmp
/dev/ubi1_0             107.9M     76.8M     31.1M  71% /
tmpfs                    99.5M      3.8M     95.6M   4% /extdisks
/dev/ubi2_0             204.2M     17.3M    182.2M   9% /data
/dev/ubi2_0             204.2M     17.3M    182.2M   9% /userdisk
/dev/sda1                 5.5T      1.8T      3.7T  33% /userdisk/data
/dev/ubi2_0             204.2M     17.3M    182.2M   9% /etc

I can create for example a subfolder in the etc folder.
And also a file there.


But i can not edit for example these files.

scp: /usr/lib/lua/luci/view/web/setting/wifi.htm: Read-only file system

???

check /overlay folder if its writable
and if it has a structure like /overlay/lib/lua/luci/view/

I am not at home, but i am quiet sure that i haven't seen a folder called overlay. Should it be in the root?

I am not at home, but i am quiet sure that i haven't seen a folder called overlay. Should it be in the root?

You are right, overlay folder is existing. It's an empty folder and read-only.
Etc is writeable, but overlay not.

BIGPIT wrote:

You are right, overlay folder is existing. It's an empty folder and read-only.
Etc is writeable, but overlay not.

whell
you cant do any then..
you can ask the manufacturer for OWRT sources and compile yourself