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
tsynik
DD-WRT User


Joined: 18 Apr 2014
Posts: 151

PostPosted: Mon May 04, 2015 20:35    Post subject: Reply with quote
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



IMG_20150105_105843.jpg
 Description:
UART
 Filesize:  108.96 KB
 Viewed:  28166 Time(s)

IMG_20150105_105843.jpg


Sponsor
tchaikovsky22
DD-WRT Novice


Joined: 23 Oct 2014
Posts: 4

PostPosted: Wed May 06, 2015 11:10    Post subject: Issue Reply with quote
Hi Tsynik
can you help solve my issue too.
tsuda
DD-WRT Novice


Joined: 21 May 2015
Posts: 1

PostPosted: Fri May 22, 2015 1:33    Post subject: Reply with quote
Hi, I got a new Xiaomi router and tried the procedure to flash dd-wrt in the OP. It didn't work and went into a reboot cycle.
All I could access was the CFE web server during boot.
I tried to flash back to stock, which did not work either.
Then I got desperate and tried to flash the Tomato firmware posted by tsynik from the CFE web server.
Now I can't even get to the CFE web page.
The router powers on, front orange light is steady, then all LAN/WAN port lights come on and off, and repeat.

I ordered a UART-USB tool to try tsynik's diagram method above.

Is it totally bricked/hopeless? Thanks in advance for any help!
Tormentor
DD-WRT Novice


Joined: 24 Jun 2015
Posts: 3

PostPosted: Wed Jun 24, 2015 10:52    Post subject: Reply with quote
Hi

I got stuck during a bad flash

no ping to 192.168.1.1 so no tftpd

original firmware in usb pen doesn't work

30 - 30 -30 method doesn't work

yellow light stays on for a while then the sistem goes to a loop

This is what comes out from the serial consolle, no way to break (crt+c ESC)

any suggestions ? I tried almost everything but a jtag.

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.34 (r415984)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem: 0x00F00000 - 0x0179FE38 (9043512)
Data: 0x00F58394 - 0x00F588CC (1336)
BSS: 0x00F588D8 - 0x00F9DE38 (284000)
Heap: 0x00F9DE38 - 0x0179DE38 (8388608)
Stack: 0x0179DE38 - 0x0179FE38 (8192)
Text: 0x00F00000 - 0x00F4CCC4 (314564)
Boot: 0x017A0000 - 0x017E0000
Reloc: I:00000000 - D:00000000

Device eth0: hwaddr 00-XX-XX-XX-XX-XX, 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
karmitho
DD-WRT Novice


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

PostPosted: Sat Jun 27, 2015 14:30    Post subject: Reply with quote
tsynik wrote:
this dd-wrt build for xiaomi have bad mtd layout and may have issues.

it's better to flash custom CFE (so you can always restore your router in case of any failure) and Tomato firmware on it. More info and all binaries here.


I cannot download the Custom CFE for R1D by XVortex. He is great! I have used his CFE for EA6900 and solved the problem for this Linksys Router.

I hope that he or somebody can post the link or CFE file here.

Thank you very much.
XVortex
DD-WRT Novice


Joined: 15 Apr 2014
Posts: 33

PostPosted: Sun Jun 28, 2015 5:54    Post subject: Reply with quote
Here it is:


r1d_cfe.zip
 Description:
CFE for R1D

Download
 Filename:  r1d_cfe.zip
 Filesize:  814.45 KB
 Downloaded:  1011 Time(s)

chchia
DD-WRT User


Joined: 20 Dec 2009
Posts: 63

PostPosted: Sun Jun 28, 2015 12:41    Post subject: Reply with quote
sadly i cannot login to 4pda anymore as the verification is in russian and i dont read russian, lol!

since xVortex and tsynik is both in this forum too, i would like to say thank you.

and 130_2 do not show CPU temperature?
tsynik
DD-WRT User


Joined: 18 Apr 2014
Posts: 151

PostPosted: Mon Jun 29, 2015 5:42    Post subject: Reply with quote
chchia wrote:
sadly i cannot login to 4pda anymore as the verification is in russian and i dont read russian, lol!

since xVortex and tsynik is both in this forum too, i would like to say thank you.

and 130_2 do not show CPU temperature?


It shows, but only in tomato GUI, not advanced tomato.

HDD temp is only in my ML 129 version.
chchia
DD-WRT User


Joined: 20 Dec 2009
Posts: 63

PostPosted: Mon Jun 29, 2015 6:30    Post subject: Reply with quote
thank you tsynik.

any planning to release your vesrion of 130?
karmitho
DD-WRT Novice


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

PostPosted: Tue Jun 30, 2015 5:05    Post subject: Reply with quote
XVortex wrote:
Here it is:


Thank you very much !

Karmit
chchia
DD-WRT User


Joined: 20 Dec 2009
Posts: 63

PostPosted: Thu Jul 02, 2015 17:59    Post subject: Reply with quote
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
Phreaky
DD-WRT Novice


Joined: 01 Dec 2014
Posts: 6

PostPosted: Wed Jul 22, 2015 7:46    Post subject: Reply with quote
Tried to flash the latest DD-WRT version (29th June one) posted in that thread

Ended with stable orange led on reboot which means the device is temporarily bricked

Can someone point me to a link where I can see how to disassemble the unit? I cannot seem to open the top part with the vents. Can see there are clip locks which hold it to the main unit but unable to unlock them

Would be helpful

Thanks in advance!
Tormentor
DD-WRT Novice


Joined: 24 Jun 2015
Posts: 3

PostPosted: Tue Aug 04, 2015 0:14    Post subject: Reply with quote
Thank you for the kind replies (... rofl)

So I trashed the chinese thing and bought a Fritzbox 7490. Couldn't be happier Very Happy
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Tue Aug 04, 2015 5:52    Post subject: Reply with quote
Tormentor wrote:
Thank you for the kind replies (... rofl)

So I trashed the chinese thing and bought a Fritzbox 7490. Couldn't be happier Very Happy


Not sure why you expect any replies here, the Xiaomi is not supported by "dd-wrt". The FritzBox is completely different it is an all in one solution with solid oem firmware. It's only flaw is the traditional crappy wireless/slow soc. Soc/radio wise it is always one or 2 generations behind.

If you are in need of a fritzbox, then it is unlikely that you find any dd-wrt router that suits your needs.
Tormentor
DD-WRT Novice


Joined: 24 Jun 2015
Posts: 3

PostPosted: Thu Aug 20, 2015 0:13    Post subject: Reply with quote
pfff... this is the only readable page that show a solution for bricked miwifi, this is why I posted a request here. And yes, I can use google.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next Display posts from previous:    Page 4 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