HTC Desire 826 dual sim doesn't need root, just install Boldbeast Recorder and use following settings to record calls:
- Record Mode: 1, 5, 7
- Tune Audio Route: Group3
It records calls in two directions perfectly.
HTC Desire 828 dual sim works great also, please use the same settings as 826.