Default [ROM][PORT] PSensor and Storage Info Bug

Guys, I've Ported Galaxy S5 Rom on my MyPhone Agua RIO device. I've encountered the proximty sensor bug, everytime someone calls my screen turns off but dont turn on again after the call. and also the Storage Info shows incorrect Readings. it gives 32gb space but the RIO only has 4gb ROM storage. can anyone help me with this?..please.Promise to give credits to anyone who can give me advice or help fixing the bug.

Thanks in advance.

also one thing. my SoC is MT6582 Mali-400mp Gpu.