Someone please explain this mess lol.
Thanks
It sounds like you have a limited understanding of exactly how engines work, so explaining this in a way that is useful to you may be difficult. But let's try.
In the most basic terms, lower octane fuel ignites at lower temperature/pressure. The term "timing" in reference to ignition is when the spark plug fires to ignite the fuel/air mixture in the cylinder. You can increase power output by igniting the mixture earlier, giving the expanding gases more time to press on the cylinder. More power, however, creates more heat. If you create enough heat you can get uncontrolled ignition.
Uncontrolled ignition can happen before, during, or after the spark plug fires. When portions of the mixture ignite at the same time or after the spark plug fires then you get two (or more) flame fronts in the cylinder at the same time. When those flame fronts collide you get a knocking sound. That's called "detonation." If uncontrolled ignition occurs before the spark plug fires it's called "pre-ignition." Detonation is bad, and it can cause increased wear on internal engine parts. If it gets bad enough it can cause damage. Pre-ignition is the engine killer. If ignition occurs too soon the expanding gases will push down on the piston while it is still traveling upwards on the compression stroke. So you would have all the momentum of the turning engine pushing upward on the piston against the expanding gases of an early ignition. That will absolutely break things. Expensive things.
So, getting back to octane. The computer incorporates a sensor that can "hear" knock events, which are often a precursor to a pre-ignition event. Lower octane fuel ignites at lower temps, causing detonation. When the computer hears the knock it changes the timing to reduce power output. Higher octane fuel is more resistant to uncontrolled combustion, so the computer allows the timing to advance further, which allows the engine to generate more power.
The bottom line is you do not need a special tune to realize power gains by using higher octane fuel. Octane is computed differently in different parts of the world, but your owner's manual explains the difference.
There are any number of sources online that can further explain the particulars. Look around a bit and check back if you have any further questions.