Welcome Guest ( Log In | Register )

26 Pages « < 21 22 23 24 25 > » Bottom

Outline · [ Standard ] · Linear+

 Xiaomi Router Mini with full Unifi support, turn into a beast with custom asus rom!

views
     
ed0gawa
post Sep 2 2017, 11:49 PM

coconut
*******
Senior Member
4,398 posts

Joined: Jan 2003




QUOTE(I<3LYN @ Jan 6 2016, 08:02 PM)
Warning/Disclaimer:  It might brick your device if you don’t understand what you’re doing. I am not responsible for any things that happened to your device or you. It will be much easier for you if you had experience with linux commands and/or flashed a router with custom firmware before.

Xiaomi Router Mini is probly one of  the cheapest dual band wifi router you can get in the market and it is very powerful device for its price. Luckily for me, i purchased it for only RM60ish including shipping from china, the promotion is already expired though.

First thing i realized when i got the Xiaomi Router is, it doesn’t work with Unifi due to non customizable VLAN tags on the official firmware which is expected due to I did some research before I purchase the device. Hence, I flashed it with OpenWrt. I was expecting OpenWrt to work perfectly with Xiaomi Router Mini. However, I soon realized i was wrong. After some tinkering, I found that not only wireless AC doesn’t work (unable to get the driver working), i am unable to get Hypptv (issues with vlan tagging but only for iptv specifically, PPPoE works fine) working as well.

After I failed to get it working, I tried PandoraBox as well but PandoraBox can’t even support vlan tagging correctly.

I was almost ready to give up... until i found a promising firmware by hiboyhiboyhiboy ( http://www.right.com.cn/forum/thread-161324-1-1.html it is in chinese if you can read) . I've compiled my own version of Padavan firmware, you can check Files you need (to download) section for the link. It customized based on Padavan ( https://bitbucket.org/padavan/rt-n56u ). If you want, you can compile it from the source by following this guide ( https://bitbucket.org/padavan/rt-n56u/wiki/...wToMakeFirmware ).

Updates:
08 January 2016, I've compiled my own version of Padavan's firmware with minimum customization, with come with OpenVPN support and remapped the GPIO and some ports accordingly for Xiaomi Miwifi Mini router. It is compiled from latest commit ( ba454a7 )

Files you need (to download)
1.  Breed bootloader
2. Custom Padavan firmware megablue edition v1
For those who had experience with flashing a router this is the short version or overview of the guide.
1. Gain access to the router console either telnet or ssh or web based console
2. Installing the custom bootloader - Breed
3. Boot into Breed, install the Padavan firmware
4. Do the basic configures and vlan taggings to get it to work with Unifi or Maxis broadband
Gain access to the router console either telnet or ssh or web based console
there are various ways to gain access the to console, I only show the easiest way that I found on ( https://wiki.openwrt.org/toh/xiaomi/mini )

1. Connect to your PC to your router with ethernet cable
2. Power on and setup the Xiaomi router until it reboots and gets IP address 192.168.31.1
3. Log-in into the router and grab the value of the stok URL parameter (for instance: "9c2428de4d17e2db7e5a6a337e6f57a3")
4. Replace the <STOK> placeholder and load this URL in your browser or curl, this will start telnetd on the router:
CODE
http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqnetwork/set_wifi_ap?ssid=whatever&encryption=NONE&enctype=NONE&channel=1%3B%2Fusr%2Fsbin%2Ftelnetd

5. It should spit out some wifi error code, that is ok, don't worry.
6. Replace the <STOK> placeholder, the current password and the desired root password and load this URL in your browser or curl, this will set the router root password
CODE
http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqsystem/set_name_password?oldPwd=<CURRENTPASS>&newPwd=<NEWPASS>

It should spit out: {"code":0}
7. Telnet to the router, enter user root and NEWPASS chosen above.

Installing the custom bootloader - Breed
1. Now i assuming you have access to your router console/telnet/ssh.
2. This is the risky part, proceed with extreme caution as a broken bootloader could brick your router, the only way for you to revive the router would be 3. physically wire the TTL connection to rewrite the bootloader.
4. Download Breed for Xiaomi router mini ( http://breed.hackpascal.net/r802%20%5b2015...iaomi-mini.bin) .
5. Copy it to the root directory of a usb thumb drive (1GB free space is more than enough) with FAT/FAT32 partition.
6. Plug the thumb drive into the router.
7. at the console, type 
CODE
cd /extdisks/sda1/
follow by
CODE
ls -l
you should be able to see the breed-mt7620-xiaomi-mini.bin
8. type
CODE
cat /proc/mtd
it will list out the partitions on the router flash chip.
9. look for "Bootloader" it should be listed as  mtd1: 00030000 00010000 "Bootloader"
10. now dump a backup of the partition to your usb drive with following command
CODE
dd if=/dev/mtd1 of=/extdisks/sda1/Bootloader.bin

11. you should also create a backup for all other partitions listed with
CODE
cat /proc/mtd
as well, just name them accordingly.
12. now you’re ready to install the custom bootloader, type
CODE
mtd -r write breed-mt7620-xiaomi-mini.bin Bootloader

13. it should shows rebooting when the installation is complete.

Boot into Breed, install the Padavan firmware
1. download the custom Padavan firmware megablue edition v1 and unzip it (you dont need to unzip it, it is already in the extracted form)
2. power off your router, look for a pinhole at the back of your router, press and hold it with a pin, while holding the button in the pinhole, power on your router.
3. release the pinhole button when you see orange/yellow light is blinking.
4. open your browser (preferably Chrome) and type 192.168.1.1 into the address bar.
7. you should be able to access the Breed web interface (in chinese but i will guide you!).
8. Now select the second button on the menu it should says 固件更新
9. now you should be located at http://192.168.1.1/upgrade.html select 固件 and upload the custom Padavan firmware. it should look like this https://i.imgur.com/28pq86W.png
10. wait for the progress bar to complete, it should reboots automatically.
11. you might need to boot into Breed for the second time to reset the default settings for the Padavan firmware. to reset the settings, click the 5th button on the menu, the select Config 區 (公版). It should look like this https://i.imgur.com/oFjNtBm.png
click 執行 to reset the settings,

vlan taggings to get it to work with Unifi & Hypptv
1. now the router should be flashed with the the firmware, it should be accessible at 192.168.1.1 with username: admin and password: admin.
2. now we’re going to configure the basic internet and iptv (for unifi, if you’re using maxis broadband you need to adjust the vlan accordingly) .
3. Click Advanced Settings -> WAN
4. WAN Connection type PPPoE
5. Under PPP VPN client setting key in your unifi account username and password
6. Under Ports Isolation and VLAN Filtering
7. Choose IPTV STB Port: LAN2 (last LAN port counting from left to right)
9. VLAN CPU (Internet) VID 500
8. VLAN CPU IPTV VID 600
9. VLVAN LAN2 VID 600
10. it should look something like this https://i.imgur.com/Cxmstbg.png
11. click apply
12. now you should be able to access the internet and Hypptv.
while the rest of the router functions pretty much self-explanatory. i am too lazy to continue as the guide is already extremely long for my taste, There are a lot of things you can do with the Padavan firmware (google it for details)

Now enjoy better network performance with highly affordable price smile.gif
*
QUOTE(iRonTech @ May 24 2017, 12:58 PM)
Hi, I have a Mi3 router that I bought long time ago, kept in my car boot for ages.

Would like to flash it to 'padavan' so that I can use it with my UNIFI.

May I know, IF i want to use the 'latest' compilation by IronTech, which part of the flashing tutorial should be replace with his file?
zhihao4456
post Sep 6 2017, 09:21 AM

On my way
****
Senior Member
559 posts

Joined: Apr 2008
QUOTE(muncheno @ Aug 26 2017, 11:50 AM)
For sharing, just compile the firmware on this morning.

MI-3_3.4.3.9-099_1aae35d.trx

Padavan Commits
*
thank you very much, appreciate your effort
tertiary
post Sep 6 2017, 04:41 PM

On my way
****
Junior Member
664 posts

Joined: Nov 2016
QUOTE(ed0gawa @ Sep 2 2017, 11:49 PM)
Hi, I have a Mi3 router that I bought long time ago, kept in my car boot for ages.

Would like to flash it to 'padavan' so that I can use it with my UNIFI.

May I know, IF i want to use the 'latest' compilation by IronTech, which part of the flashing tutorial should be replace with his file?
*
First of all you should NOT follow the instructions you quoted, they will probably brick your Mi 3. Only Mini uses Breed bootloader, not Mi 3.

Look back at some of my old posts and you will find some links to help you.

AFAIK there is no way to flash a pre-built firmware using Prometheus script. You have to build the toolchain and FW yourself and flash using SSH. Once you have Padavan on your router, THEN you can flash other pre-built FW via the webgui.


darso
post Sep 16 2017, 02:10 AM

New Member
*
Newbie
2 posts

Joined: Sep 2017
Hi guys, I just wanted to ask if all of you who have the Mi Router 3 with Padavan installed have the VPN options available.

I got the Mi 3 a coule of years ago, took me a while to install Padavan but I managed to do so.

What I found is that everything works ok but I don't have any VPN Client & Server options menu item.

These days I've been trying to find out why it's missing, I updated the Padavan scripts and source code, checked that OpenVPN was enabled in the firmware module configuration and rebuilt the firmware.

I uploaded it but the VPN options are still not there. I even changed the Skin in the firmware config options to check that it indeed changes, rebuilt and reuploaded with success on the Skin change, but nothing on the VPN again.

My final try was today when I flahed the @muncheno firmware that he uploaded some days ago. Still no VPN.

Do any of you have a clue about why it's not showing the VPN options? It's not the 3c version, it's the Mi Router 3, with AC wifi.

Thanks in advance
muncheno
post Sep 16 2017, 07:38 AM

Enthusiast
*****
Senior Member
736 posts

Joined: Jun 2006
From: Ipoh
QUOTE(darso @ Sep 16 2017, 02:10 AM)
Hi guys, I just wanted to ask if all of you who have the Mi Router 3 with Padavan installed have the VPN options available.

I got the Mi 3 a coule of years ago, took me a while to install Padavan but I managed to do so.

What I found is that everything works ok but I don't have any VPN Client & Server options menu item.

These days I've been trying to find out why it's missing, I updated the Padavan scripts and source code, checked that OpenVPN was enabled in the firmware module configuration and rebuilt the firmware.

I uploaded it but the VPN options are still not there. I even changed the Skin in the firmware config options to check that it indeed changes, rebuilt  and reuploaded with success on the Skin change, but nothing on the VPN again.

My final try was today when I flahed the @muncheno firmware that he uploaded some days ago. Still no VPN.

Do any of you have a clue about why it's not showing the VPN options? It's not the 3c version, it's the Mi Router 3, with AC wifi.

Thanks in advance
*
Have you try to reset?
If not, save your setting and reset?
It sbould be there.

My Mi router is used as repeater mode nowdays, too lazy to change to router mode to check.
darso
post Sep 19 2017, 12:34 AM

New Member
*
Newbie
2 posts

Joined: Sep 2017
QUOTE(muncheno @ Sep 16 2017, 12:38 AM)
Have you try to reset?
If not, save your setting  and reset?
It sbould be there.

My Mi router is used as repeater mode nowdays, too lazy to change to router mode to check.
*
Dude, how dumb I am, I was on AP mode and that seems to hide the VPN options, thanks to you for making me reboot.

Shame I can't have the VPN options on AP mode, can't undestand why it would be conflicting with the AP mode.

Thanks again.
qxcheng
post Sep 19 2017, 01:00 PM

New Member
*
Newbie
2 posts

Joined: Feb 2011
Any xiaomi R1D user here?
iRonTech
post Sep 20 2017, 11:33 AM

Access Denied
*******
Senior Member
8,621 posts

Joined: Nov 2004
QUOTE(ed0gawa @ Sep 2 2017, 11:49 PM)
Hi, I have a Mi3 router that I bought long time ago, kept in my car boot for ages.

Would like to flash it to 'padavan' so that I can use it with my UNIFI.

May I know, IF i want to use the 'latest' compilation by IronTech, which part of the flashing tutorial should be replace with his file?
*
3, 3s https://www.reddit.com/r/Xiaomi/comments/5d...om_firmware_on/

if mi mini, follow #1 this thread
iRonTech
post Oct 9 2017, 09:55 AM

Access Denied
*******
Senior Member
8,621 posts

Joined: Nov 2004
the old prometheus script update seem problem, here the new vm

https://yadi.sk/d/6EpD2EpHmB82o

http://prometheus.freize.net/



MI-3_3.4.3.9-099.1aae35d

commits up to 1aae35d
kyu85
post Oct 9 2017, 03:22 PM

Zzzzzz
******
Senior Member
1,028 posts

Joined: Dec 2006


Any1 with unifi have try this router?
http://www.lazada.com.my/mi-router-3-76726...Ny&ff=1&sc=GTcC
tertiary
post Oct 9 2017, 04:09 PM

On my way
****
Junior Member
664 posts

Joined: Nov 2016
QUOTE(kyu85 @ Oct 9 2017, 03:22 PM)
Best to read the rest of this thread. Unifi will only work with Padavan firmware on Mi 3 router. I had it working but now switched to Time.

And you can get it cheaper than RM149. Mine was about 110.

kyu85
post Oct 9 2017, 06:47 PM

Zzzzzz
******
Senior Member
1,028 posts

Joined: Dec 2006


QUOTE(tertiary @ Oct 9 2017, 04:09 PM)
Best to read the rest of this thread. Unifi will only work with Padavan firmware on Mi 3 router. I had it working but now switched to Time.

And you can get it cheaper than RM149. Mine was about 110.
*
thx u for the feedback
lala_cai
post Oct 14 2017, 10:05 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


By any chance anybody got the latest commit of 45e2740 firmware for MI-3?
Can share?

This post has been edited by lala_cai: Oct 14 2017, 10:05 PM
tertiary
post Oct 17 2017, 09:40 AM

On my way
****
Junior Member
664 posts

Joined: Nov 2016
Any fix available for the WPA2 Krack vulnerability, assuming it affects Padavan FW?
danthe88
post Oct 24 2017, 03:39 AM

New Member
*
Newbie
1 posts

Joined: Oct 2017


Hi guys, anybody else having problem with 'Transmission' and yellow warning sign informing 'connection failed'? Torrent is downloading but very slow, and on PC it has full speed.
Attached Image
Spartaces
post Nov 7 2017, 12:18 AM

New Member
*
Newbie
12 posts

Joined: Oct 2017
Hello, who can flash Router Xiaomi 3 for me. I don't know how because the first attempt is fail. I just realize that i am not using ssh but telnet. So i don't know how the step. If anybody can help to flash, i'll pay rm50 include postage to sent the router to the person and the person send to me back. But if my router is damage/ unsuccessful to flashed, i will not pay anything. Please... cry.gif
muncheno
post Nov 7 2017, 12:16 PM

Enthusiast
*****
Senior Member
736 posts

Joined: Jun 2006
From: Ipoh
QUOTE(Spartaces @ Nov 7 2017, 12:18 AM)
Hello, who can flash Router Xiaomi 3 for me. I don't know how because the first attempt is fail. I just realize that i am not using ssh but telnet. So i don't know how the step. If anybody can help to flash, i'll pay rm50 include postage to sent the router to the person and the person send to me back. But if my router is damage/ unsuccessful to flashed, i will not pay anything. Please...  cry.gif
*
What step are you in?
Where do you really failed?

Current the router is running on xiaomi development firmware? Or stable firmware?
Spartaces
post Nov 7 2017, 11:08 PM

New Member
*
Newbie
12 posts

Joined: Oct 2017
QUOTE(muncheno @ Nov 7 2017, 12:16 PM)
What step are you in?
Where do you really failed?

Current the router is running on xiaomi development firmware? Or stable firmware?
*
TAKE NOTE that it is Xiaomi Router 3, not mini.
I use TP LINK MR3420, got internet from usb 3g modem that i put into the tplink. So the Xiaomi Router is used as repeater by lan cable from the tp link. I can't flash it through ssh point because a member from Device Team in Miui website suggested me to flash it by connecting lan wire from the Xiaomi to my laptop. But then i don't know the steps, i can't enter 0 to check ssh connection through the process since i am using lan cable. So the flash process failed. Any idea of how to flash the router by lan cable?


Attached thumbnail(s)
Attached Image
muncheno
post Nov 8 2017, 08:40 AM

Enthusiast
*****
Senior Member
736 posts

Joined: Jun 2006
From: Ipoh
QUOTE(Spartaces @ Nov 7 2017, 11:08 PM)
TAKE NOTE that it is Xiaomi Router 3, not mini.
I use TP LINK MR3420, got internet from usb 3g modem that i put into the tplink. So the Xiaomi Router is used as repeater by lan cable from the tp link. I can't flash it through ssh point because a member from Device Team in Miui website suggested me to flash it by connecting lan wire from the Xiaomi to my laptop. But then i don't know the steps, i can't enter 0 to check ssh connection through the process since i am using lan cable. So the flash process failed. Any idea of how to flash the router by lan cable?
*
Link is shared by irontech on top recently, yet you failed to follow and tell which step are you in.
We need to know what exactly you did that lead you to failure.

If you wanted to pay for the flashing, fine by me.

Sorry dont know how to help you there.

My advise is follow exactly the steps, if need help explain what have been done and where the failure. Good luck.


Spartaces
post Nov 8 2017, 08:43 PM

New Member
*
Newbie
12 posts

Joined: Oct 2017
QUOTE(muncheno @ Nov 8 2017, 08:40 AM)
Link is shared by irontech on top recently, yet you failed to follow and tell which step are you in.
We need to know what exactly you did that lead you to failure.

If you wanted to pay for the flashing, fine by me.

Sorry dont know how to help you there.

My advise is follow exactly the steps, if need help explain what have been done and where the failure. Good luck.
*
I followed every step carefully. Can you check a thread in Miui post about the tutorial? I'll paste a link later. I follow ever step carefully but until one step , it is 'press 0 to check SSH connection" at this time i failed. When i press 0 nothing appear. Just the number zero under the home menu. Even when i try to change language from Rusia o English by press 2, it failed. The developer team member said it was because i was connecting my router to my laptop using lan cable. So the step should be different at that point but he also don't know how the step will be because he only know using SSH connection.

Do you have ever flash Xiaomi Router 3?? Using multiple methods? I also asked an IT people but he said he's not familiar with Xiaomi. And the dev team member in MIUI forum also said that not many people knows about it. If you're confident to flash my router without damaging it, i'll post to you.

26 Pages « < 21 22 23 24 25 > » Top
 

Change to:
| Lo-Fi Version
0.0330sec    0.48    6 queries    GZIP Disabled
Time is now: 29th November 2025 - 01:04 AM