Xiaomi MiWiFi R1D working build (Tested)

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
karmitho
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 20
Location: Hong Kong

PostPosted: Thu Aug 20, 2015 8:25    Post subject: Reply with quote
chchia wrote:
fkpwolf compiled a new version of dd-wrt for xiaomi r1d, 27240.

i installed and so far running stable.

//bbs.xiaomi.cn/thread/index/tid/10691878/pn/16#comment_top


Oh! I cannot download. Would you please post here ?
Update with command "mtd write" ?

Thank you !
Sponsor
miniskull
DD-WRT Novice


Joined: 20 Aug 2015
Posts: 4

PostPosted: Thu Aug 20, 2015 18:29    Post subject: Re: Xiaomi MiWiFi R1D working build (Tested) Reply with quote
bubbl3 wrote:

Procedure to flash DD-WRT

1. Download somewhere on your PC the file dd-r1d-2014.11.8.trx attached to this post.

2. Open an SSH connection with the router.

3. In command line give these commands:

nvram set boot_wait=on
nvram set wait_time=10
nvram commit


4. Set your network interface address as 192.168.1.100 and open a command prompt, once opened give this command:

ping -t 192.168.1.1

5. Reboot the router and as soon as it pings open http://192.168.1.1 in Firefox/Chrome

You'll see a page like this:


Browse for dd-r1d-2014.11.8.trx and click Upload

Be patient, you'll get a message of successful upload and the router will reboot, it will take a while, as soon as it pings and the led is blue you can login on DD-WRT web interface.



Hello , I followed the tutorial to the letter , but this part after the reboot of the router, yellow led loop , usb not working anymore , I can not do anything , yet everything was doing as has been said . can you help me. I try to re - flash the " miwifi - stock.bin " but nothing.
miniskull
DD-WRT Novice


Joined: 20 Aug 2015
Posts: 4

PostPosted: Fri Sep 18, 2015 12:43    Post subject: Reply with quote
tsynik wrote:
koyo23 wrote:

I just opened up the router and look a look at the board but dun seem to be able to find the serial connecters. Can the experts here point me to it.


There is J252 socket (unsoldered). From left to right: 1: TX 2: GND 3: RX. You can attach 4-pin block connector to it without any solder.

To unbrick, try to set:

Code:
nvram set boot_wait=on
nvram set wait_time=30


and try to reflash via CFE WEB server

or, setup tftp server with address 192.168.1.2 on PC, put tomato.trx there, and do in CFE prompt:

Code:
flash -noheader 192.168.1.2:tomato.trx flash0.trx




Hi, USB - UART what should I ordered , I do not know which will be compatible .

please , can answer me ? please quickly
Phreaky
DD-WRT Novice


Joined: 01 Dec 2014
Posts: 6

PostPosted: Sun Oct 11, 2015 16:41    Post subject: Reply with quote
Hi! As mentioned earlier, the router is stuck at stable yellow led and I cant get any response from MI Support Evil or Very Mad

Anyone with the knowledge of fixing it, I'm willing to ship the unit to get it fixed. Will pay the return charges too.

Kong, if you can help, nothing like it - you can also get a test unit to see if you can work your magic on it Laughing

Any help is appreciated
sadmann
DD-WRT Novice


Joined: 02 Nov 2015
Posts: 1

PostPosted: Wed Nov 11, 2015 2:14    Post subject: Xiaomi MiWifi Router R1D Bricked Reply with quote
Hi Everyone!
I flashed My Miwifi router with dd-wrt, everything worked fine, I disabled the DHCP option and restarted the router, but it's not recognized by the LAN, I can't access it through the browser, I tried to go to stock firmware (USB + reset button and power on) but it didn't work. I tried the USB-Serial cable (I'm used to work with this cable on other routers) but nothing is displayed in putty.
here is what happens when I turn on the router:
the orange light led is on, and after 30s blue light flashes for 3 times then yellow for 5s and one blue light flashes again then stay orange. I can hear the fan and HDD working, the USB is read also when plugged in...
I don't know what to do exactly!!
Can someone please, explains me, step by step the UART method?
I read that there is a method called 30 - 30 - 30, what is it?
Thank you
kickmys
DD-WRT Novice


Joined: 07 Jul 2011
Posts: 1

PostPosted: Wed Nov 18, 2015 8:47    Post subject: Re: Xiaomi MiWifi Router R1D Bricked Reply with quote
sadmann wrote:
Hi Everyone!
I flashed My Miwifi router with dd-wrt, everything worked fine, I disabled the DHCP option and restarted the router, but it's not recognized by the LAN, I can't access it through the browser, I tried to go to stock firmware (USB + reset button and power on) but it didn't work. I tried the USB-Serial cable (I'm used to work with this cable on other routers) but nothing is displayed in putty.
here is what happens when I turn on the router:
the orange light led is on, and after 30s blue light flashes for 3 times then yellow for 5s and one blue light flashes again then stay orange. I can hear the fan and HDD working, the USB is read also when plugged in...
I don't know what to do exactly!!
Can someone please, explains me, step by step the UART method?
I read that there is a method called 30 - 30 - 30, what is it?
Thank you


seems the only way is unsolder the 16mb nflash, then use programmer to rewrtie the nflash,



IMG_20151016_003359.jpg
 Description:
 Filesize:  259.03 KB
 Viewed:  19321 Time(s)

IMG_20151016_003359.jpg


anguo
DD-WRT Novice


Joined: 23 Sep 2015
Posts: 1

PostPosted: Tue Jun 28, 2016 0:09    Post subject: Recover data from bricked router's hdd Reply with quote
Hey guys, I was using my router on this dd-wrt build for a few months, until it just got stuck after a scheduled reboot.
I'm planning to try re-flashing the original firmware on it, but first I want to take the files that were in the hdd.

I tried plugging it into my PC through a usb interface, but it wouldn't mount.
I tried on a mac, and I could see the hdd but no partitions.
Is there any way I can access the files inside?
mokusborz
DD-WRT Novice


Joined: 14 Jan 2017
Posts: 1

PostPosted: Sat Jan 14, 2017 19:03    Post subject: Can't flash stock firmware Reply with quote
Hi!
How to enable reset button? The setting in DD-WRT is disabled by default. If I enable the router resets itself to original settings. Including the state of the reset button setting. Then after reboot the reset is disabled again, and I'm not able to flash miwifi-stock.bin from USB.

Thanks

Firmware Version: DD-WRT v24-sp2 (11/08/14) fkpwolf - build 24880
Kernel Version: Linux 3.10.53 #32 SMP Sat Nov 15 08:47:34 CST 2014 armv7l
VictoryusHu
DD-WRT Novice


Joined: 17 Feb 2017
Posts: 1

PostPosted: Fri Feb 17, 2017 8:04    Post subject: Working or not? Reply with quote
So, in this topic a lot of problem. this is a stable ddwrt or not, and i will brick my router?
I need transmission but it isint in the ddwrt by default?
mmate
DD-WRT Novice


Joined: 24 Mar 2017
Posts: 3

PostPosted: Fri Mar 24, 2017 12:35    Post subject: Bricked Reply with quote
Hi,

I bricked my Xiaomi R1D.
Reset button is not works.
Serial output:
Code:
Device eth0:  hwaddr 00-90-4C-0F-F2-A7, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Boot program checksum is invalid
flash0.0: Device not found
bootargs: boot -raw -z -addr=0x8000 -max=0xef8000 flash0.squashfs:
Loader:raw Filesys:raw Dev:flash0.squashfs File: Options:(null)
Loading: Image compressed with unsupported method
Failed.
Could not load flash0.squashfs:: Unsupported function
Digital core power voltage set to 1.0V
Decompressing...done
Digital core power voltage set to 1.0V
Decompressing...done
Found a ST compatible (Marconix) serial flash with 256 64KB blocks; total size 16MB


CFE version v1.0.4
BSP: 6.37.14.93 (r469350) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Oct 14 20:37:39 CST 2014 (xqdevel@fanjialin-ct)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot up from NOR flash...
Boot partition size = 262144(0x40000)
Can't find nandflash! ccrev = 42, chipst= 0
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.93 (r469350)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x017A0354 (9044820)
Data:       0x00F587C8 - 0x00F58DE0 (1560)
BSS:        0x00F58DF0 - 0x00F9E354 (284004)
Heap:       0x00F9E354 - 0x0179E354 (8388608)
Stack:      0x0179E354 - 0x017A0354 (8192)
Text:       0x00F00000 - 0x00F4CE34 (314932)
Boot:       0x017A1000 - 0x017E1000
Reloc:      I:00000000 - D:00000000

Device eth0:  hwaddr 00-90-4C-0F-F2-A7, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set



break (ctrl+c, esc) doesn't work. I haven't any idea what can i do.
Can somebody help me? Sad


Thanks in advence!
rambertnala
DD-WRT Novice


Joined: 16 Sep 2016
Posts: 1

PostPosted: Tue Oct 17, 2017 22:56    Post subject: Reply with quote
Hi friends.

My Xiaomi R1D is bricked...

Any solution???? Is there any cable or adapter to try to reflash it???
János
DD-WRT Novice


Joined: 08 Feb 2018
Posts: 1

PostPosted: Thu Feb 08, 2018 9:46    Post subject: Reply with quote
rambertnala wrote:
Hi friends.

My Xiaomi R1D is bricked...

Any solution???? Is there any cable or adapter to try to reflash it???


Hi,

I had same issue.
you don't have other choice, need the remove the flash and reprogram it with an SPI programmer.

Use the miwifi-stock.bin from the first post. But this image is smaller like the flash with 384KB. The first 256KB the boot loader and the last 128KB the NVRAM. /* check this memory map http://right.com.cn/forum/data/attachment/forum/201611/26/010542t3u14zfytuzu0337.png from this page
http://right.com.cn/forum/thread-200404-1-1.html */
Hopefully only the system image damaged, not the full flash, therefore enough to rewrite that. Be very carefully because it's not a full image, set the right start position by the programming.

After the reflash, put back the IC to the router.
Use the "Going back to the original firmware" instructions from the first post, just replace the miwifi-stock.bin to the full firmware from http://www1.miwifi.com/miwifi_download.html
epyshor
DD-WRT Novice


Joined: 07 Sep 2017
Posts: 6

PostPosted: Tue Mar 13, 2018 21:22    Post subject: Reply with quote
how can you find mac-addreas if router is bricked ?
no serial output
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Wed Mar 14, 2018 13:17    Post subject: Reply with quote
epyshor wrote:
how can you find mac-addreas if router is bricked?
Normally it would be on the original label, along w/ the default user/password/wireless info.
_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
epyshor
DD-WRT Novice


Joined: 07 Sep 2017
Posts: 6

PostPosted: Wed Mar 14, 2018 13:18    Post subject: Reply with quote
jwh7 wrote:
epyshor wrote:
how can you find mac-addreas if router is bricked?
Normally it would be on the original label, along w/ the default user/password/wireless info.


thanks. but i dont have original box anymore. only the router. and on the router is no label with mac / user / pass
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next Display posts from previous:    Page 5 of 7
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum