Default [Q] MTK 6572 sim problem

Hi guys! So I ported an mtk 6572 to a another mtk 6572 device. My front camera didin't work so I replaced whole lib folder from stock to ported rom,and i deleted camera app in ported rom,and flashed patched jb 4.2.2 camera. Camera is working now,both front and back one,but my sim card loses signal after I lock my screen. Can some one tell me which libs I need to leave on ported rom pls,because before,when camera wasn't working,sim card worked perfectly. Can you help me out please? Btw,both IMEI numbers are valid,and I ported dual sim to dual sim