User Tools

Site Tools


maxcfwguide

This is an old revision of the document!


Greetings,

at this page we will look at the site “max.cfw.sh” a CustomFirmware-Generator, that has been created by SH for the max.

If you like their work, then please donate them a coffee, they'll be happy about it!

Remember, everything your set or do here happens at your risk. This guide is here to help to minimize or even eliminate those risks.

And yes, i'm aware this guide may seem much, but it's worth to be read, as you can learn some things here! That's why it has been split up in some parts. Stay tuned.


First things first, you need to set in your mind for what your max will be used in your everyday life:

What kind of routes do i drive? (Steep or flat)

How's my driving style?

After you've set the anwsers for those questions in your mind, we may proceed explaining how this site and configurations work.

Let's open the Generator up!

sh0.jpg

1. Vanilla

sh01.jpg

Here you'll find a “Vanilla” option at first sight of the page.

To clear something's up: That's not a CFW as it may look like, it's the stock firmware that you ever had first on your max.

Vanilla means in normal/stock, a version without any additional features. You always can flash this file if you feel like going back to stock via SHU, SC or IAP as a .zip/.bin.enc file.

2. Changelog

sh02.jpg

Already mostly known, here is where the changes of the site's alteration in means as a Patch/Firmware/Versions. Here you can take a look at the changes visually and sorted, with just one click away.

3. Presets

sh03.jpg

Here's were the set Preset's of the site are being shown, that are being offered by us. You can choose them, buy i would recommend making your very own cfw, that suits your needs.

Nevertheless, you also can save you actual config for the next time.

The browser you've chosen to generate your CFW will remember your config via the “save” button. One click at “Load” and the previous config will be loaded. A click at “clear” resets the set config from before.

4. Compatibility patches

sh04.jpg

This tab will be of high interest, of those who wants to use maneuvering of every kind, because this option enables the CFW to be in mind in an altered firmware state.

Always check compatibility patches to maneuver between region changes.

Normally after setting a switching to an American serial number the max. speed should be enabled. If you still are unable to reach a max. speed of 33 km/h (1 Gen) or 40 km/h (2 Gen) it's suggested, that you try a magic s/n or the speed boost option via SHU, which also alters to a magic s/n. This ensures, that the speeds that have been listed before, will be reached.

Remove Charging Mode

This removes the charging mode from stock firmware, which allows using non-official batteries / additional batteries via a y-cable. If you happen to own one and want to use it, then please set a check here.

Version spoofing

Takes care, that you don't accidentaly make an update via the official segway-ninebot app, mainly for the DRV.

Also, if we already are talking about updates, i suggest you to not update, due to limitations coming in the near future, tha try or will prevent CFW-ability.

Show battery percentage on idle

sh05.jpg

Shows your battery status when in an idle-state, this only happens when reaching below 2 km/h and not using CamiBLE555. (A dashboard firmware)

5. Remember last mode

sh06.jpg

Here you can choose at which mode your max will start from now on. You can choose between Eco, Drive, Sport or on the last chosen Mode via “Remember last mode”.

6. Power & Speed

sh07.jpg

That, what CFW makes CFW. Here you can choose how your max accelerates and speeds up via current settings.

7. Current/Ampere

Here's where the amperes will be set. Generally speaking:

Less amperage, less power = more range

More amperage, more power = less range

At “Estimated Draw” you can see your approximated draw from your CFW that you're cooking up now, this wont alter the voltage of the battery. Keep that in mind please. Standard values are 350W nominal and 700W peak of power.

8. Max Speed

sh08.jpg

There are three types of serial numbers available on the max:

A “US” (American), (WW) (European) and “DE” (German) The G30P has the “US” one, the G30 a WW and the G30D a “DE” one.

In a event of Manuvering the state of the actual serial number will be changed temporarily between the selected one you've chosen, until you reboot it. Then it'll return to the original set serial number, that has been set by you.

9. DPC and Curves

sh09.jpg

A Warning at first: If you happen to decide to choose this option: All set speed limits will be overridden, when it's active all the time.

When chosen, this mode enables the max to work in a power-based-algorithm. This also enables the usage of curves of “Quadratic” and “Flat”.

The curves will interfere how the gas throttle reacts, when DPC is selected and activated, even when your max isn't in a power-based algorithm.

10. Current raising coefficient

sh10.jpg

This value destines, how fast your max applies mA in steps to your actual set Amperage.

As an example, we'll take the Amperage 25A as one, that are 25000 in mA and a calculator.

When we divide the 25000 through the value 300, this will give us a result of 83 steps. These are the steps that a max would take from a stock firmware.

But if we take the coefficient 3000 as the value that we divide through our max will only just take 8 steps until the 25000.

Less steps equals more acceleration, more steps, less acceleration.

To keep in mind: The fewer steps it's needed to achieve those 25000, the faster the acceleration will be.

11. Motor start speed

sh11.jpg

Pretty much self-explanatory, here you can choose when the motor will start to kick in from a range from 0 km/h to 10 km/h.

12. Brake lever parameters

sh12.jpg

This option is alike as the throttle, in means of function, because you can set when the e-brake of the rear wheel's motor will start to kick in.

It'll allow you to brake stronger or weaker than from stock, depending on how you set it.

13. KERS (Kinetic Energy Recovering System)

sh13.jpg

KERS is here, to recover the lost energy while freeriding or braking.

It can be partly disabled via “NoKers”, you won't have the braking while free riding, but only when you about to use the brake.

14. Current rasing coefficient

sh14.jpg

Same stuff as step 10, but that now it influences, how the e-brake from the motor should react.

15. Brakelight modes and Frequencies

sh15.jpg

Here is where you set how your brake light will behave. You can choose between modes such as Default, Static, Reversed or Strobe. You also can choose how often the light should flash via the value.

16. Cruise Control

sh16.jpg

Also self-explanatory, here you can set when cruise control will kick in in seconds, when cruise control wasn't disabled. It's also possible, to deactivate it completely, when set.

Also, important to know is: When you're planing to use DPC with curves, it's highly suggested turning cruise control off, as the curves aren't limitable.

In short: Combination of DPC with cruise control is useless, as this creates a paradox, because your max now works in a power-based algorithm instead of a speed-based algorithm.

Please avoid using DPC with cruise control. Thank you.

17. Advanced

sh17.jpg

Always stick to Level 1, so that important errors aren't suppressed unnecessarily. You surely want to know what's wrong with your max, and how you can fix it. Generally leave it unselected. Only use level 2/3 for non-official batteries or stealth-mode.

sh18.jpg

No overspeed alarm

If it so happens, that you own a second generation motor, leave a checkmark here. This will retain from your max making that obnoxious beeping alarm over 35 km/h.

sh19.jpg

Stay on when scooter locked

When you plan to use the electronic locking, and you don't want that the scooter doesn't turn off after some hours, then leave a checkmark here.

sh20.jpg

Change ESC BMS baud rate to 76800

This changes the baud value to 76800, which powers the controller to works with other types of battery management systems (BMS). When in use, checkmark it.

sh21.jpg

Wheel speed multiplier

Standard value for the max's wheels always is 10.0. If you happen to own a different size of wheels, you can change the value in inches accordingly.

18. Finished Time to cook

The very last step, that allows you to create your very own CFW.

sh22.jpg

Now you just need to select an application that you plan to use to flash it:

sh23.jpg


Important stuff:

Current:

It's highly recommended sticking to a max. usage of 35A as Current, because this complies to the max. recommended 1000 watts. The motor of the max only holds this much of the peak at a long run. Everything that goes above this Amperage or Wattage isn't recommended and happens at own risks.

You have the choice between 25A-35A, set it as you like your acceleration.

Don't forget: Higher Amperage also draws more power from the battery, which also can mean less range.

DPC and Curves:

You can set DPC as following:

Completely deactivated, speed based:

sh24.jpg

Activatable via App (SHU or SC)

sh25.jpg

When chosen and needed: Just use the App.

After rebooting, depending on your CFW, a legal speed restriction will be set again. Repeat the first step to gain DPC once again.

Activatable via brake handle:

sh26.jpg

When chosen and needed: Hold brake handle and power button at the same time for a moment. Then you'll have DPC on. After rebooting, depending on your CFW, a legal speed restriction will be set again. Repeat the first step to gain DPC once again.

Always on:

sh27.jpg

If set, DPC will be always set on. Not recommended, if you live in a country with strict speed limitations or want to use maneuvering.

Curves:

Cruise control needs to be deactivated, when one of the curves has been chosen with DPC:

Flat:

sh28.jpg

sh29.jpg

That's the flat curve, it goes straight from 0% to 100%. That's the curves every max has as a stock setting out-of-the box. Doesn't interfere the speed limits. Function well with “switchable” options

Quadratic:

sh32.jpg

sh33.jpg

This is the quadratic curve, it goes from 0% to 100% in a delayed manner. It raises slow at the beginning and achieves its real 100% somewhere in the middle, until it reaches its real 100%. This has the benefit, that you can drive smoother from now on, as the gas throttle can be dosed at a better rate than before. Functions well with “switchable” options.

Brake lever parameters:

sh12.jpg

This option allows your max to manage the behavior of your motor's e-brake. Between the values of 0-130 you can choose, how sensitive the brake handle should react when attended.

More Amperage in the phase current results a stronger and faster stance, less Amperage a weaker and slower stance.

The e-brake is located in the motor (rear wheel). These brake lever parameters influence, how the rear wheel reacts and brakes electronically.


48V Mod:

If it so happens that you plan to a 48V/13S Mod and you want to use it: Here's a protip from my side, due to only stealth mode and sports mod functioning when using this mod. An American serial number needs to be usen with it and is mandatory. (WW and DE serial number WONT work in stealth mode.)

Configure as following:

sh35.jpg

sh36.jpg

Information*

*It's also to notice, that 48V/13S already has a peak of 910 watts when set to 25 amperes. Don't forget, it's only recommended to go to a max. of 1000W (27A) or at best 900W (24A). That's why i recommend you to go to a safe amperage of 24A, which reaches to 900W, but doesn't go over it.

sh37.jpg

or

sh38.jpg

sh39.jpg

Protip: As you don't have Manuvering anymore, due to having an American serial number always in use and being “hooked” onto it, it's recommended to use switchable, register with curves of your choice as a alternative to manuevering. *KERS needs to be off , otherwise error 15 will be thrown mid-drive. Please always set NoKers for that matter.

sh40.jpg

When set to, the brake light lights always lights up in a static manner.

sh41.jpg

sh42.jpg

sh43.jpg

Set the rest as you like it, then it's time to cook up your CFW!

sh44.jpg

Now just change the region to “US” permanently via SHU, SC or IAP and flash your CFW via an application of your choice.

Now you can drive with your 48V/13S without further problems! Have fun! :)


Current / Ampere values (Examples):

AmperesWattage
20560
25 (Standard) 700
30840
35 (max. rec.) 980
401120

Advice: If you weight above 100KG i highly suggest you to stay below a wattage of a total of 900W, as you are overstressing your max's internal components (as the motor phase cables f. ex) with your weight already. Setting the wattage below 900 watts helps to prevent, that fatal damage can be created.

Ergo: Max. 32A above 100KG (896W), and if possible please go to 30A (840W) or 25A (700W), thanks.

Brake handle parameters (Examples):

Virtual brake handle limiterMin. Phase CurrentMax. Phase Current
130 (110%)11
120 (100%; Standard) 6 35
0 (0%)5050
Recommendations--
2. Gen Recommendation 120838-40
48V Recommendation 12010-1242-45

Brake handle parameters do not have general recommedantions, but the ones above can be followed. Set them as you like. They'll change your max's brake behaviour.

Virtual brake handle values are similiar with the gas throttle values, as they decide, when the e-brake kicks in.

Min. Phasecurrent is the Amperage value (A), how many amperes will go through the e-brake by touching the brake slightly. (Beginning from 1%)

Max. Phasecurrent ist the Amperage value (A), how many amperes will go through the e-brake by touch the brake handle to its full extent. (100%)

Test yourself out with safe values and find your golden middle. Always take the standard value as the base.

Never brake at full battery charge, just under 95%.

E-scooters in general as the max doesn't handle KERS while braking with a battery state above 95%. When you try to brake neverthanless, you're overcharging the battery over 100% which causes severe components damage.

Always set KERS to low or off for that case. Never or just slightly brake and freewheel at the beginning of your ride, this ensures, that you still will have fun with your max!

Current raising co-efficient (Examples):

mA per Step
0-
300/500 (Standard) recommend until 3500 (36V) or 7000 (48V)
- 16000

This value destinates how fast the mA will be applicated in steps.

It'll intefere the accleration- and e-brake, depending on how you set it.

Setting this wont cause any harm to your max, but decides how fast you will accelerate or brake electrionically in mA (steps).

Brake light settings (Examples):

ModesFrequencyBehaviours
Default235G30's/G30P's Behaviour (Flashes while braking)
Static255G30D's Behaviour (Always on)
Reverse254Same behaviour as a car brake light
Strobo0-255(250 active Stroboeffect, 172 passive, 0 off etc)

The Brake light frequencies values determines from 0-255 how often the light will be switch on or off in “PWM”.


A one by one transcript by Noel from Rollerplausch from german into english (https://bit.ly/2N8uKBo) created for this beloved community of Scooterhacking.


maxcfwguide.1613433777.txt.gz · Last modified: 2022/01/15 01:33 (external edit)