I would assume that even with custom/canned tunes, you would still have to complete a full "drive cycle" in order for the PCM to fill in all values. The fact that the battery has been disconnected has certainly wiped all of the memory values that an emissions test checks for...
Just my $.02...
__________________
 04 F150 4.6L / 04 Excursion 6.0L
|