Live data from Hacker News

Reverse engineering my e-scooter and rewriting the firmware in Rust

bensimms.moe

11–20 of 113 posts

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#11
post #8
post #6

Earlier quoted context omitted.

That's what is nice about LLMs. You CAN do these things now!

Maybe I'm out of touch with the times, but I wouldn't feel safe riding an e-scooter with custom vibe coded firmware.

You don't have to fully vibe code it. Most of this stuff doesn't take massive brains, it is just super tedious - especially the reverse engineering. I've never really had the patience for that (except one USB devices that I did reverse engineer when I was younger). AI really helps with the tedium.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#12
post #10
post #8

Earlier quoted context omitted.

Maybe I'm out of touch with the times, but I wouldn't feel safe riding an e-scooter with custom vibe coded firmware.

If it is coded in safe Rust, why not ?

Safe rust does not mean correct logic; best not conflate the two.

You could have perfectly safe rust that disables brakes above a certain speed, inverts steering by wire, or adjusts the charging parameters, for example (depending on addressable capabilities).

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#13
post #10

Earlier quoted context omitted.

If it is coded in safe Rust, why not ?

Safe rust does not mean correct logic; best not conflate the two. You could have perfectly safe rust that disables brakes above a certain speed, inverts steering by wire, or adjusts the charging parameters, for example (depending on addressable capabilities).

[dead]

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#14
post #8
post #6

Earlier quoted context omitted.

That's what is nice about LLMs. You CAN do these things now!

Maybe I'm out of touch with the times, but I wouldn't feel safe riding an e-scooter with custom vibe coded firmware.

What make you think it is vibe coded? There is no mention of genAI being used, and the methodology looks more consistent with hand-written code he actually understands.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#17
post #6
post #4

Wish I was brainy enough to do this sort of thing!

That's what is nice about LLMs. You CAN do these things now!

So you're still not brainy enough to do it, but the LLM can.

I mean. Sort of? The LLM won't go into checking random USB-C connections with an oscilloscope - it doesn't have hands, for one.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#18
post #5

Earlier quoted context omitted.

From what I've seen on the streets, people bypassing the restrictions will not, and there will be injuries.

You only notice the ones that aren't safe. How would you know if someone bypassed the restrictions if they were riding it safely?

Because if they are riding it safely, there would be no need to bypass the restrictions.

There is reason for speed limits, they are not there to f--k with people for fun.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#20

> The updater device then sends 64 byte chunks spread over 9 CAN 0x384 frames Classic CAN uses 8 bytes long frame, so 64 bits. Is it a typo in the post, vor is it using CAN-FD?

Must be. Can 1.x and 2.0 are fixed size frames.
Post reply on HN