you need to pull the flash file with a tool like the nefmoto software, then..
i zeroed out the following: CLAHSH, CLAHSHE, CDHSH, CDHSHE, CDKAT, CDLSH
after this, i calculated the checksums and flashed it back..
with the result that the system now runs as if no rear O2 sensor had ever existed.. i might have missed something, but this is how i did it myself, and it works great.
if you read the s4wiki i think there is more info on there how to eliminate the evap system..
I did it all, zeroed out codewords and also two error classes. DTC is not stored but I'm still hitting soft limp... And I know this because, when I disconnected my secondary o2 I also got soft limp in addition to two DTCs: P1114 and P1118
Attached my current version