2003 audi allroad I did
a few things befor i get in to the codes, i dont know how you retreved the troble codes but it looks like you used a generic code reader, i say this because you have a lot of no-codes that is to say the many of the codes you listed are not codes that this car has the abbilty ti set, we see this a lot with the generic code readers, the audi does not work well with the generic readers, the firs thing you need to do is clear all codes then drive the car and retest for codes so then we will know which codes are hard codes this will help in the diagnostic of the car. but to get yoiu started out of all the codes you gave me there is only 2 that are codes for this system.
code P0102 mass air flow sensor low reading, and be caused by an air leak in the hose betwine the mass are flow sensor and the intake manafold.
code P0154 O2 sensor bank 2 sensor 1 no actavity most likely cause is a bad sensor, i would replace all O2 sensors if one has failed the others wont be far behind.
P0031, P0037, P0051, P0057, P0141, P0161, P0414, P0445, P2257, P02401 this codes do not exist for this car they are what we call gohst codes we see this happen when useing the generic readers.
let me know if there is any thing else you need.