robomaster
robomaster copied to clipboard
the code used to root didn't work anymore
the code used to root didn't work anymore. I tried the two versions. Is there someone have newer version which works? thank you!
The exploit has been patched in the most recent firmware update. Dusted off my robomaster today and made the mistake of updating the firmware without thinking.
Thank you for your reply!
I agree with you. Then latest version blocked the root functionality. I should not update my robot. What a pity! Can someone have time to find a new way to root?
在 2023年11月21日,17:03,DefenderVex @.***> 写道:
The exploit has been patched in the most recent firmware update. Dusted off my robomaster today and made the mistake of updating the firmware without thinking.
Their string matching. So splitting up the string like: ('sub'+'process) will get around it.
Dear DefenderVex,Thank you a lot for your suggestion!Can you please make more clear about: 'sub'+'process ?在 2023年11月25日,16:05,DefenderVex @.***> 写道: Their string matching. So splitting up the string like: ('sub'+'process) will get around it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
They are matching for the string "subprocess' anywhere in the code so you need to replace any reference to it.
The code I used still didn’t work:def root_me(module): import=rm_define.dict['builtins']['import'] return import(module,globals(),locals(),[],0)builtins=root_me('builtins')subprocess=root_me('sub’+’process')proc=subprocess.Popen('/system/bin/adb_en.sh',shell=True,executable='/system/bin/sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE)Are there any more changes needed?Thank you!在 2023年11月26日,02:29,DefenderVex @.***> 写道: They are matching for the string "subprocess' anywhere in the code so you need to replace any reference to it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
root not work
but repace subprocess to sub_process exec success
adb devices no device
solved ...I thought it was the serial port mirco usb on the motherboard, but it turned out to be the mirco usb next to the sd card.
That’s a very good news! Thank you a lot! And glad to see more people are still playing with robomaster!在 2023年12月10日,03:32,Ghost @.***> 写道: solved ...I thought it was the serial port mirco usb on the motherboard, but it turned out to be the mirco usb next to the sd card.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
adb devices no device
I'm finding this right now; but I only see one micro-usb, is the other hidden?
No its the micro usb next to the canbus port and the connection switch. This method also worked for me, thanks for the help! I also had to restart my adb server to get the upload.sh script to work as well.