The generic firmware CID50 to debrand it you can find it here:
R4EA031_RED50

For the softw, you can try XS++ 3.1. If dont work try JDFlasher