Closed minax007 closed 3 years ago
If anyone wants to do a code review please compare the configuration files of the Mi-4 with the configuration files of the Mi-R3G as I have used those as a baseline.
Dear @hanwckf I have created a pull request and have aligned the userspace configuration settings (=y/=n) as they are for the other routers in your repository.
In case anyone wants to test the full feature set with English language support ... here is the build:
Please unzip before installing.
Dear @hanwckf thank you very much for accepting my pull request +1
Dear @hanwckf
I would like to share with you the config files for the Mi-4 router (https://www.mi.com//miwifi4): configs.zip
This router is a different model than the Xiaomi router 4A or 4C.
The Mi-4 has almost the same system architecture as the Mi-R3G, which you are already supporting in your repository:
The differences to Mi-R3G are:
I have identified that following port assignments lead to a correct indication, which can be checked here: http://my.router/Advanced_Switch_Content.asp
_CONFIG_RAETH_ESW_PORT_WAN=4 CONFIG_RAETH_ESW_PORT_LAN1=2 CONFIG_RAETH_ESW_PORT_LAN2=1 CONFIG_RAETH_ESW_PORT_LAN3=3 CONFIG_RAETH_ESW_PORTLAN4=0
I would appreciate if you would support this router in your repository.
Dear Padavan users,
I would appreciate if anyone who has this router would test the functionality.
You can easily get Telnet-access to the Mi-4 router by this exploit: https://github.com/acecilia/OpenWRTInvasion Video: https://www.youtube.com/watch?v=VxzEvdDWU_s
The easiest way to install Padavan on this router is via BREED. Download link: https://breed.hackpascal.net/breed-mt7621-xiaomi-r3g.bin
Upload it via Filezilla in a Telnet session into the /tmp-folder of the router.
Then start terminal and install BREED: telnet 192.168.1.1 Telnet user: root Password: none (just hit enter) mtd -e Bootloader -r write /tmp/breed-mt7621-xiaomi-r3g.bin Bootloader
With BREED you can easily install the firmware.
Either you compile the TRX-firmware-file by your own with the config files, which are posted above.
Or you install the precompiled TRX-file found in the releases section of the link below: https://github.com/minax007/XIAOMI_MI-4_Padavan
The releases on this site include the minimum feature set. In case you need more features just fork the repository and change the CI.yml file according to your needs.