My tamarind tree is around 25 years old and it was all healthy till 3 months back. All of a sudden some of its branches and leaves are turning brown. Tree is full of fruits now and even they are getting dried because of this issue. The bark has some powdery material on it, which I guess is some sort of insects infested it and eating the bark, though Im not very sure. Im attaching the images for your reference. This plant is in our backyard and has been a great plant and helped us a lot. I really want to save this plant. Please help. If you have any solution for this issue, Please try to explain me the steps to be taken to save this plant. Thanks in advance.
Edit: After observing the bark a lil closer, I found termites and round headed borers on the stem. Attached pics. Please let me know If I'm left with any chance of saving the plant. The out bark is getting peeled off.