Here is one technique for removing roots from your plumbing. This happens to be in a basement bathroom. The Maple tree outside the house has discovered the water from a loose fitting in my waste pipe. Using a water main tool, I remove it.
ULTIMATELY, I will have to dig up this floor and discover where the roots are coming from and either block them or cut them back to the tree. They seem to be able to sense water so sealing everything completely is necessary.
Plumbing – How to Remove Tree Roots from a Clogged Toilet Drain Pipe