G05
BMW X5
29.5KVIEWS
75REPLIES
29APPRECIATES
23ACTIVE PEOPLE
04-03-2026LAST POST
03-12-2025
TheNine90 wrote
Here is method for G05
This is how part of the cafd will look like
3011 APPL_PLG_SPEED_PROFILE, 64(Top tailgate)
ProfileCloseStartNode1PosPlg		 wert0000
ProfileCloseStartNode1PwmPlg wert00FA
ProfileCloseStartNode2PosPlg wert003C
ProfileCloseStartNode2PwmPlg wert0262
ProfileCloseStartNode3PosPlg wert0000
ProfileCloseStartNode3PwmPlg wert0000
ProfileCloseStartNode4PosPlg wert0000
ProfileCloseStartNode4PwmPlg wert0000
ProfileCloseStartNode5PosPlg wert0000
ProfileCloseStartNode5PwmPlg wert0000
ProfileCloseStartNode6PosPlg wert0000
ProfileClosestartNode6PwmPlg wert0000

ProfileCloseStopNode1PosPlg wert0000
ProfileCloseStopNode1PwmPlg wert0262
ProfileCloseStopNode2PosPlg wert00C8
ProfileCloseStopNode2PwmPlg wert0262
ProfileCloseStopNode3PosPlg wert0000
ProfileCloseStopNode3PwmPlg wert0000
ProfileCloseStopNode4PosPlg wert0000
ProfileCloseStopNode4PwmPlg wert0000
ProfileCloseStopNode5PosPlg wert0000
ProfileCloseStopNode5PwmPlg wert0000
ProfileCloseStopNode6PosPlg wert0000
ProfileCloseStopNode6PwmPlg wert0000

3072 APPL_LTG_SPEED_PROFILE, 69(Lower tailgate)
ProfileCloseStartNode1Pos	 wert0000
ProfileCloseStartNode2Pos wert0096
ProfileCloseStartNode3Pos wert0000
ProfileCloseStartNode4Pos wert0000
ProfileCloseStartNode5Pos wert0000
ProfileCloseStartNode6Pos wert0000
ProfileCloseStartNode1Pwm wert0096
ProfileCloseStartNode2Pwm wert02EE
ProfileCloseStartNode3Pwm wert0000
ProfileCloseStartNode4Pwm wert0000
ProfileCloseStartNode5Pwm wert0000

ProfileCloseStopNode1Pos wert0000
ProfileCloseStopNode2Pos wert015E
ProfileCloseStopNode3Pos wert0000
ProfileCloseStopNode4Pos wert0000
ProfileCloseStopNode5Pos wert0000
ProfileCloseStopNode6Pos wert0000
ProfileCloseStopNode1Pwm wert02EE
ProfileCloseStopNode2Pwm wert02EE
ProfileCloseStopNode3Pwm wert0000
ProfileCloseStopNode4Pwm wert0000
ProfileCloseStopNode5Pwm wert0000
ProfileCloseStopNode6Pwm wert0000

Node refers to sections of the tailgate movement.
Node1 starts from tailgate lock. Node6 is top most. It moves from bottom to top.
This cafd has only two nodes activated. So the whole movement is controlled by two nodes only.

Pwm is the power value that corresponds to speed of spindle.

If you want to lower the speed of tailgate close, change all pwm entries above. Just change the wert value in hex to a lower number i.e You can change it to decimal and divide by 2. Convert it to hex and write it back. The tailgate should close 2 times slower.
If you lower the speed too much it will trigger the maximum time allocated for closing tailgate.
You can overwrite it in MaxTimeClose by increasing the the wert value. Also change TimeoutCloseMov to same value.


ProfileCloseStartNode_X_PosPlg refers to the position in the top tailgate where a section starts.
ProfileCloseStartNode_X_Pos refers to the position in the lower tailgate where a section starts.
ProfileCloseStopNode_X_PosPlg refers to the position in the top tailgate where a section ends.
ProfileCloseStopNode_X_Pos refers to the position in the lower tailgate where a section ends.

To change lower speed only when near tailgate is nearly closed
1.Change the StopNode1PosPlg value to match StartNode2PosPlg so that when tailgate reaches to StartNode2PosPlg it will switch to profile of node1. (Nodes go from bottom to top, StartNode1PosPlg is at tailgate lock StopNode2PosPlg is tailgate fully open)
2.Lower value of ProfileCloseStartNode1PwmPlg and ProfileCloseStopNode1PwmPlg.

Using this setup tailgate will go normal speed and only reduce speed when StopNode1PosPlg is reached(It might be somewhere close to the tailgate lock). If the tailgate reduces speed too early, reduce values of StopNode1PosPlg and StartNode2PosPlg.

Remember to do for both lower and top tailgate.
If you miscalculate, the tailgates might collide if you setup the speed of the top and lower tailgate independently or the top tailgate moves faster than the lower tailgate.
Always be there at the back to monitor the movement of the two tailgates.

Here is my setup
Top tailgate
ProfileCloseStartNode1PwmPlg	Werte=00, 3E
ProfileCloseStopNode1PwmPlg Werte=00, 98
ProfileCloseStartNode2PosPlg Werte=00, 32
ProfileCloseStopNode1PosPlg Werte=00, 32

Lower tailgate
ProfileCloseStartNode1Pwm  	Werte=00, 25
ProfileCloseStopNode1Pwm Werte=00, BB
ProfileCloseStopNode1Pos Werte=00, 96
ProfileCloseStartNode2Pos Werte=00, 96
Thank youuuu!!! you setup is perfect !!!
01-25-2026
Hello!
New to this field, I have a g26/2021 and the trunk slams quite loudly when closing, I've searched (maybe not where I should) and I can't find exactly how to make it close more smoothly.
Thanks!
01-25-2026
kryss782001 wrote
Hello!
New to this field, I have a g26/2021 and the trunk slams quite loudly when closing, I've searched (maybe not where I should) and I can't find exactly how to make it close more smoothly.
Thanks!
What is your value for "ProfileCloseStopNode1PwmPlg" in your HKFM2 module?
01-26-2026
SimR wrote
What is your value for "ProfileCloseStopNode1PwmPlg" in your HKFM2 module?
Hello!
This is the value set
wert 015E
and decimals
0x01 and 0x5E
01-26-2026
kryss782001 wrote
Hello!
This is the value set
wert 015E
and decimals
0x01 and 0x5E
Try replacing the value (01,5E) with (00,64) and tell us what you think…
01-29-2026
Hy!
In this profile
ProfileCloseStopNode1PwmPlg , i don't have 00,64
Is in
ProfileOpenStartNode1PwmPlg - 00,64

I set this
ProfileOpenSartNode1PwmPlg 00,64
And in this section
ProfileCloseStopNode1PwmPlg wert 0078
Now it works more silently when closing but it could be even better, I think the decimals should be modified
01-29-2026
kryss782001 wrote
Hy!
In this profile
ProfileCloseStopNode1PwmPlg , i don't have 00,64
Is in
ProfileOpenStartNode1PwmPlg - 00,64

I set this
ProfileOpenSartNode1PwmPlg 00,64
And in this section
ProfileCloseStopNode1PwmPlg wert 0078
Now it works more silently when closing but it could be even better, I think the decimals should be modified
You absolutely must change the value of "ProfileCloseStopNode1PwmPlg" and enter a custom value in the BU application.

You will need to test different values ​​to find the one that works for you:

(00,AF) -> Corresponds to 50% of the initial force
(00,57) -> Corresponds to 25% of the initial force
(00,35) -> Corresponds to 15% of the initial force (in my case this value works great)
03-02-2026
Thank you OP Nine90 for this code. Works perfect for my G05 2021. But wondering if theres a code for a soft/easy opening of the top tailgate? I would think it would only be the ProfileOpenStartNode1. Would it be node 1 and node 2? Pwm and pos? What values?
The opening is just as loud as the closing before coding. Anybody with any ideas on this?
03-11-2026
BeeM2727 wrote
Thank you OP Nine90 for this code. Works perfect for my G05 2021. But wondering if theres a code for a soft/easy opening of the top tailgate? I would think it would only be the ProfileOpenStartNode1. Would it be node 1 and node 2? Pwm and pos? What values?
The opening is just as loud as the closing before coding. Anybody with any ideas on this?
There are actually two options for adjusting the tailgate opening.

1) To reduce the force at the end of its travel (avoiding the jolt felt at the end of the opening):
ProfileOpenStopNode1PwmPlg -> (00,01)

2) To slow down the tailgate opening:
ProfileOpenStartNode2PwmPlg -> Change to the value just below yours. In my case, I changed it from (01,EA) to (01,B8), and this significantly slows the opening.

Let us know if it works!
:)
04-03-2026
Did anyone already found a sweet spot for X6 G06?

With bits from post #16 I am happy for my X5, but I am a little afraid to fiddle with my X6 :D