Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,571 Members 51,288 Now Online
XDA Developers Android and Mobile Development Forum

[Q] [SOLVED] Still losing IMEI in CyanogenMod, several methods tested

Tip us?
 
misfisk
Old
(Last edited by misfisk; 27th January 2014 at 06:11 AM.)
#1  
Junior Member - OP
Thanks Meter 4
Posts: 4
Join Date: Jan 2014
Default [Q] [SOLVED] Still losing IMEI in CyanogenMod, several methods tested

Hi there,

First of all, yes, I did stalk these forums and many others exhaustively for days before starting a thread of my own

My GT-i9070 from Hong Kong loses its IMEI when installing CyanogenMod by Team Canjica. I've had this problem with all non-official ROMs i've tried to flash on this phone, even with official ROMs from a different region.

Methods I've tried several times already:
  • Backing up and restoring efs and modemfs folders with dd
  • nvbackup and nvrestore
  • SynergyROM
  • QPST
  • Replacing the /system/lib/tee folder in the ROM with my original prior to flashing
  • Nandroid backup

I followed several guides for every method to the letter, but to no avail. Now I switch back and forth between 2 nandroid backups, the stock Samsung 4.1.2 and CyanogenMod 10.1 and 10.2 for testing. I have efs, modemfs and tee folders backed up as well, so I seem to be in no danger of losing IMEI permanently. I'll admit i'm not too deep into Android yet, but I'm not new to this kind of stuff either, as I used to develop on Maemo and Meego a few years back.

It seems to me that the Hong Kong model GT-i9070 is different from others, as at least some of the above mentioned methods apparently work for most other users. I'm thinking the modem driver might be wrong, would that be it? As I understand so far, Samsung modems are different in some parts of the world.

I have been using these forums for a while, and I'd like to contribute when I get deeper into this. In the meantime, any help is much appreciated.
The Following User Says Thank You to misfisk For This Useful Post: [ Click to Expand ]
 
danhughes1961
Old
#2  
Junior Member
Thanks Meter 4
Posts: 16
Join Date: Sep 2012
Hi - i had a very similar problem, but with different ROMs (both Sami and Harsh had the same problem) - i've not tried any CM ROM yet. I've got the same handset as you, HK version and does seem be problem for HK handsets. My problem was resolved by copying back the original tee folder, but i see you have tried that already. I was planning on trying CM10.2 out...i'll let you know if i have the same issue...if you manage to resolve it, please let us know how you did it ! Good luck
The Following User Says Thank You to danhughes1961 For This Useful Post: [ Click to Expand ]
 
misfisk
Old
(Last edited by misfisk; 27th January 2014 at 04:35 AM.)
#3  
Junior Member - OP
Thanks Meter 4
Posts: 4
Join Date: Jan 2014
Quote:
Originally Posted by danhughes1961 View Post
Hi - i had a very similar problem, but with different ROMs (both Sami and Harsh had the same problem) - i've not tried any CM ROM yet. I've got the same handset as you, HK version and does seem be problem for HK handsets. My problem was resolved by copying back the original tee folder, but i see you have tried that already. I was planning on trying CM10.2 out...i'll let you know if i have the same issue...if you manage to resolve it, please let us know how you did it ! Good luck
Thanks for your response, good to know I'm not the only one having this issue. I'll give the tee folder method yet another try. Which ROM did you solve your problem with?
The Following User Says Thank You to misfisk For This Useful Post: [ Click to Expand ]
 
misfisk
Old
(Last edited by misfisk; 27th January 2014 at 06:12 AM.)
#4  
Junior Member - OP
Thanks Meter 4
Posts: 4
Join Date: Jan 2014
Ok, this just worked for me:

Instead of replacing the /system/lib/tee folder in the ROM prior to installation, I replaced it post-installation, rebooted, factory reset and wiped dalvik cache.

I am not sure if this will work every time, but I'm making a nandroid backup of this now. I'll try with the 10.1 CM ROM as well, see if it works there as well.
It does. Marking as solved.
The Following User Says Thank You to misfisk For This Useful Post: [ Click to Expand ]
 
danhughes1961
Old
#5  
Junior Member
Thanks Meter 4
Posts: 16
Join Date: Sep 2012
Quote:
Originally Posted by misfisk View Post
Ok, this just worked for me:

Instead of replacing the /system/lib/tee folder in the ROM prior to installation, I replaced it post-installation, rebooted, factory reset and wiped dalvik cache.

I am not sure if this will work every time, but I'm making a nandroid backup of this now. I'll try with the 10.1 CM ROM as well, see if it works there as well.
It does. Marking as solved.
yes - post installation, sorry i thought you did it post installation - if you did it pre installation surely it would just get overwritten or am i missing something !? Anyway, glad you got it sorted - i know it was bugging me a lot. I have tried with two different ROMS (Harshjelly and Sami 1.1) and both had the same problem and both sorted out by the tee folder. Something funny about HK handsets for sure !
The Following User Says Thank You to danhughes1961 For This Useful Post: [ Click to Expand ]
 
misfisk
Old
#6  
Junior Member - OP
Thanks Meter 4
Posts: 4
Join Date: Jan 2014
Quote:
Originally Posted by danhughes1961 View Post
yes - post installation, sorry i thought you did it post installation - if you did it pre installation surely it would just get overwritten or am i missing something !? Anyway, glad you got it sorted - i know it was bugging me a lot. I have tried with two different ROMS (Harshjelly and Sami 1.1) and both had the same problem and both sorted out by the tee folder. Something funny about HK handsets for sure !
The Taiwanese have similar issues, I hear. I'm guessing it's carrier related. Thanks for your replies, I have really been banging my head against the desk over this for a long time now
The Following User Says Thank You to misfisk For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes