I am an AMS driver/engineer. One thing I hate is when I set up all kinds of defenses around my AMS and then it gets jacked, so I figured something out. When bringing an AMS to a battle, park, deploy, then place 2 boomers and 1 mine infront of the AMS. Mines can't be placed right next to each other and an exploding mine will set off boomers. Then undeploy it, drive it on top of the mine and boomers, then deploy it again. If the AMS gets hacked, the mine will blow up and set off the two boomers. The AMS is now on the brink of death, finish it off with any weapon you have. But if you have adv hacking you could simply hack it back.
Edit: Use more boomers if you want it completely gone. I only use two becouse that won't kill it, but it will take out the cloaked hacker standing next to it, then I have the option of finishing it off, or letting an Adv Hacker re-hack it. I have recently acquired adv hacking so I don't use this technique as often as I used to