I recently flashed my Android One device & installed a custom ROM on it. I've lost my IMEI number during the process. How can I restore it permanently so that the IMEIs don't get erased on next factory reset?
I'm on Macbook Pro.
PS: Would also like to know for windows on a secondary note.