Skip to content

Xiaomi R4AGv2 Gigabit Router OpenWrt Breed Flash 小米路由器R4Av2千兆版 (使用于新版闪存芯片)

License

Notifications You must be signed in to change notification settings

VadVab/Action_OpenWrt_Xiaomi_R4AGv2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

- Note: Welcome to try out it, You Agree to Proceed and Use at your own risk. **

openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-v2-squashfs-sysupgrade.bin

By the way, the password is password

There are two types of firmware releases

1. CSW-LEDE-R22.10.1 Kernel 5.4.214 (use coolsnowwolf/lede R22.10.1)
2. Openwrt-v22.03.2 Kernel_5.10.146 (use openwrt stable releases v22.03.2)

Projects divided into two seperate folders:

1. LEDE
2. opwrt-22.03.2

image

- Note: LED lights NOT working properly.

- Packages added:

How to built/Compile Openwrt firmware(bin)?

If you want to learn about it, you can visit the followings:

Thanks to wbs306

  • Many Thanks to wbs306's codes for Xiaomi R4AG V2 hardware changes! wbs306/lede@a2a3a4a

    1. target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-gigabit-v2.dts
    2. target/linux/ramips/image/mt7621.mk
    3. target/linux/ramips/mt7621/base-files/etc/board.d/02_network

How to BREED flash Openwrt bin file?

Step#1 How to Telnet to Router

Successfully used @LordPinhead's code commit #99634522 to telnet XiaoMi R4A V2 Gigabit (RA4Gv2) #Run the script pip3 install -r requirements.txt # Install requirements python3 remote_command_execution_vulnerability_v2.py

Step#2 How to flash BREED bootloader onto router

    1. Refer to this instrution https://www.right.com.cn/forum/thread-4007071-1-1.html
    (This instruction is just a reference, make your own judgements and adjustments to what you need)
    
    2. Go to https://breed.hackpascal.net, For RA4Gv2, download breed-mt7621-pbr-m1.bin 
    After successfully Telnet 192.168.31.1, use ftp app, copy it over to router's tmp folder.
    
    3. run the following script
    mtd -r write /tmp/breed-mt7621-pbr-m1.bin Bootloader

image

Step#3 How to Use BREED web to flash

1. Hold & press reset, power on
2. Open browser, go to 192.168.1.1 for Breed Web Page
3. Flash these two bin files together at the same time! 
    - eeprom.bin
    - openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-v2-squashfs-sysupgrade.bin

image image

About

Xiaomi R4AGv2 Gigabit Router OpenWrt Breed Flash 小米路由器R4Av2千兆版 (使用于新版闪存芯片)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 93.4%
  • Shell 6.6%