those python scripts works fine for me as well, using it on other xiaomi router that is exploitable with OpenWRTInvasion. its just that you can only use the 0.start.main to get telnet access. after that you can just go do things manually via telnet.
Tested it with a Chinese version of Router 4A 100M and it works fine.
Hi, I used your instructions, the LED started flashing blue, so I turned the router on and off, but I couldn't connect to the router. Don't know where the mistake might be?
I'm not entirely sure what your answer means. I reset the network adapter on the computer, but DHCP does not work on the router. If I look in Wireshark, you can see that the computer is asking for an IP address, but it will not get an answer. So the computer sets the default IP address and mask.
I also tried to set the static IP address of the computer 192.168.31.2 255.255.255.0 and the default gateway 192.168.31.1, but nothing happened the router is like dead. So I think it probably just failed to install the firmware properly.
I proceeded as follows:
I set the static IP address on the PC 192.168.31.100 and the mask 255.255.255.0.
I ran RepairTool, selected the firmware path, then selected the network adapter.
Then I started the router while holding the Reset button.
In Wireshark I saw the communication between the router and the computer, when the firmware was uploaded to the router. The router started flashing blue, so I turned off the router.
I reset the DHCP address retrieval and the router turned on again normally.
Either I'm making a mistake somewhere during the installation or I have bad firmware that just doesn't work on my router.
Hello, are you waiting at least 10 minutes after the led flashes blue?
After that put the dhcp configuration in default on your computer and restart the router
I tried to reinstall the firmware, I waited about 20 minutes, the blue LED was still blinking, I restarted the router, and nothing happened. So should I wait for the LED to stop blinking blue?
I connected the router in the last window of the repair tool. I looked at what version I actually have and I probably have the Chinese one, but I only installed the global firmware. I tried to find the Chinese firmware on the Internet, but without success. Would there be anyone here who has a link to the Chinese firmware? Thanks
So I finally found a solution and the router started up. The error was in the firmware, because I could not download the firmware on the official site, so I tried to download from other sources and it was an error.
Here I downloaded the repair tool and the correct firmware to my router. However, if he wants to download, you will see access denied.
First I changed the IP address of the network adapter to 192.168.31.100 and the mask 255.255.255.0.
I ran the Repair tool and selected the firmware I downloaded from miwifi.com. The link above, you must click on the ROM section.
Next, I selected the configured adapter, through which I connected to the router and continued to the next window.
At this point, I turned on the router while holding down the reset button for 8 seconds. The router started blinking yellow and the computer screen displayed sending firmware to the router.
The router started to glow yellow, there was no blue flickering, only the yellow light was on. So I disconnected the router from the electricity. I set the IP address retrieval automatically (DHCP) on the PC and started the router. A moment after turning on the router, it looked like it was still dead, but after a while it started up and a setup page appeared in my browser.
PS. As it seemed that the router would not start even after I uploaded the software, I tried to connect it to the Internet to the WAN port. However, I have not verified this, whether it affects it or not. It's possible that the router just needed time to get started.
I have very little knowledge in general about programming, python also new thing for me.
I successfully edited the main.py (0.start_main.bat) in that script to work in my ubuntu guest (virtual box) borrowing some line from @aceciliaOpenWRTInvasionremote_command_execution_vulnerability.py file.
Note: The whole script folder included in my test, go to that directory via terminal and type/run python3 0-Main_Ubuntu.py (just like in OpenWRTInvasion tutorial+video)
Pastebin : 0-Main_Ubuntu.py
From that script line, I also made modification to OpenWRTInvasionremote_command_execution_vulnerability.py file so we only need to enter the router password instead of stok number
Pastebin : vulnerability-stok+password.py
FFS, can someone please give me a CONCISE reply as to what the hell I'm supposed to do to get openWRT on latest revision of this router? Every, EVERY single guide or write-up I come across either has idiotic "EDIT: this is not actual anymore use X" and no damn mention of X or where to get it or find it, or it has comments saying method is wrong and dangerous and outdated like this video
Like, what in the everloving frick is going on? Look, I understand openWRT itself has no support for it and unstable, but I just want to setup a battletested revision someone was running for a few month and can say is stable even if it lacks like 90% of features. All I need is Luci, support for LAN and wifi and separation of LAN and WIFI (and may be packet dumper tool). Literally the most normie needs but I cant find a single info on how to properly backup my current FMW and flash new one without bricking it because apparently every single out there is no longer relevant.
well maybe he's trying to tell is, instead of rambling of the issue, how about help fixing the issue or fix it for your self.
we know that mediatek in general is still have general stability issues on OpenWRT, so this is where we submit some ideas, reports, etc.... to resolve the issue not something you rambling about because you cant normally use your router after flashing openwrt on it or cant flash openwrt on it
Another one didnt even bother to read my post where I specifically addressed these "le stability issues" beforehand so randoms wont try to drag discussion that way. Obviously it didnt work.
My main questions are:
Do I need to upgrade bootloader to new uboot3 version that support the recovery loading via TinyPX? Because no one here ever mentions it but in this guide: https://4pda.ru/forum/index.php?showtopic=988197&view=findpost&p=95240419 it is mentioned as recommended before doing anything. So, default stock bootloader FMW on 4AGig actually does not have this ability, why people suggest to use that then when it does not work clearly?
If I back up original OS1 cant I just restore it back by flashing it again into OS1 partition? Why is every rollback method either use flasher or recovery mode via botloader?
Why can I just mtd -e OS1 -r write /tmp/firmware.bin OS1 when the mtd structure between 4AG 2.x and 3.x is completely different?
Ok, update on new, never mentioned anywhere before 2.28.65 - the exploit is completely fixed, you can still upload payload but the netspeed test API wont process non-proper URL and always returns default 0 values without executing commands
BE CAREFUL WHEN BUYING NEW CHINESE MODELS - IF IT HAS FMW HIGHER THAN 2.28.62 - IT WONT WORK
UPD: swapped to international with additional pay and flashed db69 v1.3 first time