Post [Q] How do I deodex a stock rom for tab pro 8.4 lte?

I had made a deodex system apps zip for tab pro 8.4 lte, but when I flashed it into twrp it failed and I encountered bootloop and I restored back. How do I deodex my rom in a correct way?