Page 1 of 3

New CFW Versions: 35 kph max? Bad File?

Posted: Tue Sep 03, 2019 2:55 pm
by DB Cooper
ES4 running 1.3.9 CFW. Just tried to rip a 1.5.1 for testing, and I noticed the new max speed is 35 kph. I've been running 36 on my ES4 and it seems to be a good max to prevent auto-brake/bunny-hopping. However, the new change from 45 -> 35, just curious why that limit was enforced. Basically, ES4 really can't go over that without Alt Throttle.

Anyways, despite that, I tried to make just a 1.5.1 with Alt Throttle and when I upload into the Ninebot Windows flasher, it reads as Bad File. Anyone else seeing similar?

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Tue Sep 03, 2019 5:24 pm
by Lothean
Hello,
I have added new safety limits, which you can bypass by editing your GET request to the python backend. This prevents beginners from making stupid things (and then complaining afterwards), and FYI the theorical max speed you can patch is 65km/h.

Ninebot-Flasher doesn't seem to have been updated to read most recent firmware files, so we'll have to wait for a bit. Try using ES DownG instead.

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Wed Sep 04, 2019 1:49 pm
by DB Cooper
Hello,
I have added new safety limits, which you can bypass by editing your GET request to the python backend. This prevents beginners from making stupid things (and then complaining afterwards), and FYI the theorical max speed you can patch is 65km/h.

Ninebot-Flasher doesn't seem to have been updated to read most recent firmware files, so we'll have to wait for a bit. Try using ES DownG instead.
As always, thanks mate! I'll look out for a new Windows build, I don't regularly have an Android around. Also, while I've got you, can you confirm that max top speed has no effect when Alt Throttle is being used? I was hoping to use Alt Throttle but still enforce a top speed, but I can't seem to do that. Also, do you know if Alt Throttle changes MPC at all?

Finally, the new presets have a 50,000 MPC, is that deemed somewhat safe for an ES4?

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Wed Sep 04, 2019 7:54 pm
by Lothean
Hello,
I have added new safety limits, which you can bypass by editing your GET request to the python backend. This prevents beginners from making stupid things (and then complaining afterwards), and FYI the theorical max speed you can patch is 65km/h.

Ninebot-Flasher doesn't seem to have been updated to read most recent firmware files, so we'll have to wait for a bit. Try using ES DownG instead.
As always, thanks mate! I'll look out for a new Windows build, I don't regularly have an Android around. Also, while I've got you, can you confirm that max top speed has no effect when Alt Throttle is being used? I was hoping to use Alt Throttle but still enforce a top speed, but I can't seem to do that. Also, do you know if Alt Throttle changes MPC at all?

Finally, the new presets have a 50,000 MPC, is that deemed somewhat safe for an ES4?
It indeed seems like the current-based throttle algorithm isn't affected by speed limits.
The new presets might not have been updated on your side and the old ones are still in cache.
Please go to https://ninebot.scooterhacking.org/static/form.js and try to press F5. If you see the code has changed, then you have successfully updated your local cached version.

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Wed Sep 04, 2019 10:52 pm
by Digitalguy
Hi, I would like to use a max speed higher than 35 but I am not sure I understand " editing your GET request to the python backend"
How can I change the max value?
Thanks

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Wed Sep 04, 2019 11:04 pm
by Lothean
Hi, I would like to use a max speed higher than 35 but I am not sure I understand " editing your GET request to the python backend"
How can I change the max value?
Thanks
https://ninebot.scooterhacking.org/cfw? ... x_speed=45

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Thu Sep 05, 2019 2:09 am
by colonelkernel
Hi, I would like to use a max speed higher than 35 but I am not sure I understand " editing your GET request to the python backend"
How can I change the max value?
Thanks
https://ninebot.scooterhacking.org/cfw? ... x_speed=45
So you have to add &max_speed=45 to the end of the url at https://ninebot.scooterhacking.org/ ? Pls change it back, the page already says you're responsible for the firmware you make, there's no need to nerf it

Also, what does "Change ESC<->BMS baud rate to 76800" do?

Could "Wheel speed multiplier" also be used to increase acceleration?

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Thu Sep 05, 2019 5:13 am
by Lothean
Hi, I would like to use a max speed higher than 35 but I am not sure I understand " editing your GET request to the python backend"
How can I change the max value?
Thanks
https://ninebot.scooterhacking.org/cfw? ... x_speed=45
So you have to add &max_speed=45 to the end of the url at https://ninebot.scooterhacking.org/ ? Pls change it back, the page already says you're responsible for the firmware you make, there's no need to nerf it

Also, what does "Change ESC<->BMS baud rate to 76800" do?

Could "Wheel speed multiplier" also be used to increase acceleration?
I won't change that back, sorry

The baudrate patch is for a potential open source BMS, which is literally written below the patch name.

Wheel speed multiplier only affects speed calculation.

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Thu Sep 05, 2019 9:40 am
by colonelkernel


I won't change that back, sorry

The baudrate patch is for a potential open source BMS, which is literally written below the patch name.

Wheel speed multiplier only affects speed calculation.
Ok, so then in simple terms, how would you manually change the settings for the max speed for yourself while keeping the rest of the settings? The other link, https://ninebot.scooterhacking.org/cfw? ... x_speed=45 simply links to a direct cfw zip file download with no actual page to change any settings

Re: New CFW Versions: 35 kph max? Bad File?

Posted: Thu Sep 05, 2019 12:58 pm
by DB Cooper


I won't change that back, sorry

The baudrate patch is for a potential open source BMS, which is literally written below the patch name.

Wheel speed multiplier only affects speed calculation.
Ok, so then in simple terms, how would you manually change the settings for the max speed for yourself while keeping the rest of the settings? The other link, https://ninebot.scooterhacking.org/cfw? ... x_speed=45 simply links to a direct cfw zip file download with no actual page to change any settings
What he's saying is basically when you download the file, it comes from a link that is just a URL script. So for example, if I set a CFW for 48000 MPC and 32 kph, I can see the URL is:
https://py.scooterhacking.org:81/cfw?ve ... tant=48000

So he is basically saying, change the URL to:
https://py.scooterhacking.org:81/cfw?ve ... or=#FF0000]max_speed=45&[/color]motor_power_constant=48000