Can someone tell me how to install OpenWrt on AX3000T RD23?

Hello.
I would like to ask for help. I bought AX3000T, RD23, uploaded software 1.0.31.
I would like to upload OpenWrt Luci.
Can someone advise how to do it safely so as not to screw up the router?
I would like to be able to return to the original firmware.
I found several pages and videos on how to do it, but shown on RD03.
Do I have to upload 1.0.49 (INT) first?

https://openwrt.org/inbox/toh/xiaomi/ax3000t

Ok.

I read this but I'm not sure if I need to update to 1.0.49?

I don't know how to use point 1. Is this some kind of script to write for Linux or can I do it for Windows.

Should I edit this or leave misystem or xqsystem?

Now install rce software n python virtualenv, there is nothing linux-specific in it.

1 Like

As I wrote above.
I had 1.0.31 installed.
Now I have 1.0.49 installed

same procedure, it would seem, if you read the wiki page.

Unfortunately I don't know how to do point 1
Where do I have to paste what. I'm a beginner. My English isn't good either.

you need Linux for the scripts, I suggest you boot some Linux live image.

You need cygwin or wsl to run bash script. Or edit the script in notepad++ into addresses to post into browser in order.
Go slow, you will learn something new

I have Ubuntu and I started it from a pendrive.
But I don't know exactly how to create a script.
I gave these commands, (instead of X the appropriate stock) I got 0 but the port didn't unblock, I must be doing something wrong

curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxx/api/misystem/arn_switch -d "open=1&model=1&level=%0Anvram%20set%20ssh_en%3D1%0A"

curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxx/api/misystem/arn_switch -d "open=1&model=1&level=%0Anvram%20commit%0A"

curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxx/api/misystem/arn_switch -d "open=1&model=1&level=%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fd ropbear%0A" curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxx/api/misystem/arn_switch -d "open=1&model=1&level=%0A%2Fetc%2Finit.d%2Fdropbear%20start%0A" curl -X POST "http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxx/api/misystem/arn_switch" -d "open=1&model=1&level=%0Apasswd%20-d%20root%0A"

Semicolon separates commands, best is to copy and execute entire script where they are escaped.

I need to create a script on my computer.

Can you tell me what to change in these settings? What should the script look like, adding my stock, of course, where should I put it?

Nothing ?

As on the wiki page.

It's a param to the script, as in the example in the script.

For example, I provided a script from the wiki.
I need to provide my stock, but I don't know where to change it in the script.

You need to provide 2 parameters to the script -
1st - exploit type
2nd - session token

eg:

./rce.sh xqsystem abcdef1234567890

... which is also what the script example says.

That's what I did
I changed the stock number to mine and left the system name "misystem" as you can see in the picture.
I ran the script with the ./script command and got "code 0"
Unfortunately, after checking ssh it's still blocked.

Maybe my mistake that I should have left the system on "xqsystem".
I have to try, but according to the description it shouldn't matter.

Again.

According to the wiki table, you should use xqsystem.

Why are you modifying the script, instead of using params, as documented ?

Restart the router, and try again.

1 Like

I created the script file myself on my computer and entered my values.

What parameters are you talking about? There is nothing to choose from

You add command line parameters?

./whatever.sh param1 param2 param3