Perfectly normal I'm afraid. He is becoming a teenager
Although if he is pooing and weeing indoors it might be worth popping him to the vet to make sure there is no medical reason for it
Coco became a nightmare at 7 months - her recall went completely and I found her totally frustrating and exasperating
Just when I thought I had it cracked
You may feel that all the training and progress you have made since he came home has gone out of the window but you just need to go back to basics now and persevere and he will come out the other side. It might take a few months though - sorry