Thanks very much . It works now. Just flashed new userdataa.img and it works fine now. But is there any method to prevent twrp recovery not to delete nvram folder while wipe data feature or factory reset ,when i do this it removes nvram folder which resets the imei.?