My Baofeng charger has just burned …I didn’t want to buy a new one, it cost around 10$ … the batteries Baofeng is a Lion 3.7v 1500mAh, the good way is to replace the charger circuit with a another from Linear Technology, LTC4054-4.2, a resistor to set the charge current, one input capacitor, and a LED to look when the charge is over. Also, you can get the LTC4054 for free sample.
“”The LTC4054 is a complete constant-current / constant-voltage linear charger for single cell lithium-ion batteries. Its ThinSOT package and low external component count make the LTC4054 ideally suited for portable applications. Furthermore, the LTC4054 is specifically designed to work within USB power specifications.””
Follow the shem bellow: