yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] vinniej:
Been half a day and no errors yet (knock on wood). I did not change anything as far as kernel, rom, or modem is concerned. I did go into Settings>More networks>Mobile Networks>Network Operators>Search Networks and then tapped the tmo network (manual network selection).

I do live / work in an area where Tmo goes bye-bye and there is only Vzn and ATT. I recall having to switch networks recently in order to make a call in that area for work from the no signal zone (I have a spare "work" SIM and my phone is unlocked). Perhaps doing that jacked with my selected default network and could indirectly be the cause of the no sim errors?

And I've done the SIM switch in the past on 4.3 roms without issue. Maybe it is a KK / NB4 bug?
[T-Mobile Samsung Galaxy S 4] crazyc78:
Sounds like you're on track bro, I have tried a few things and so far knock on wood like you said it seems to have worked. First I thought about going back to stock but Odin couldn't recognize the md5 or tar files I downloaded. So then I decided to reflash the NB4 modem. I flashed it three times!! Maybe to see if that would make a difference. Then I reinstalled Insane Kit Kat V5 and did a clean install then restored my backup. So far I have Been running my set up for almost 24 hours and not one error! I will keep looking out for it and report back after my current battery had drained out.

SENT FROM MY INSANELY SICK S4
[T-Mobile Samsung Galaxy S 4] crazyc78:
So I just wanted to give an update on my situation. I have gone back to stock the original 4.2.2, and then rooted my device and then installed Insane KK V5. I have noticed with the stock tar ball file of 4.2.2 I get the NB4 modem. A couple times I did not get the NB4 modem I had the original modem. So then I flashed the NB4 modem and my phone was saying unknown baseband. The last two times I have went back to stock it has given me the NB4 modem and I am still on Knox free bootloader. I am still getting SIM card removed errors, more frequently than ever now. A few times my phone tells me that there is no SIM card inserted at all!!! Very frustrating, I was on a phone call earlier tonight and the error happened during the call. So I called Tmo for a replacement SIM card and we will see if that helps, I'm optimistic that it will. I'm now convinced it may be the NB4 modem, we will see what happens when I get my new SIM. If anyone has any more suggestions I will be open to them.

SENT FROM MY INSANELY SICK S4
[T-Mobile Samsung Galaxy S 4] vinniej:
I had one error since I last posted. I agree that it must be something with the modem and perhaps we are the only 2 people seeing this issue (I find it hard to believe). I am also on the 4.2.2 bootloader with the NB4 modem. I'm hesitant to downgrade as it has not happened more than once over 4 days.

Let me know if the new SIM cures your problems. I may have to make a trip to the local tmo store as well.
[T-Mobile Samsung Galaxy S 4] _eroz:
This was the 2nd post in the thread. I've tried all that and for a while I thought it was fixed. I think I made it 4 days without a problem but then they came back.
[T-Mobile Samsung Galaxy S 4] vinniej:
Well...Here is my latest and greatest attempt. I flashed the NB4 modem 3 times (no auto reboot throughout the process), and did battery pulls after the first two flashes. 36 hours and no messages.
[T-Mobile Samsung Galaxy S 4] analogchild:
Sorry if this is a noob question but I'm having this same issue and waiting on new sim tray, which I gather....isn't going to fix the issue. Did you flash this modem in recovery or through Odin? And I'm not too keen on this Knox business. Im on a 4.4.2 ROM and not sure what bootloader I'm on and not really sure how to go about finding out. From what I gather, the process is different...... Or the file nb4 file I need to flash is different for each bootloader. I'm glued to this thread because I just bought the phone on CL about 2 months ago. Im pretty upset about this to say the least. I loved this phone before all this bull****
[T-Mobile Samsung Galaxy S 4] vinniej:
I'll try to explain what I know (which ain't much!). In order to avoid Knox some folks including myself have retained the knox free (MDL) 4.2.2 bootloader. How to tell if you have a knox free bootloader look HERE (credit to @shiamatsu) By flashing a modem.bin (which can only be done via. ODIN) we are able to have the benefits of the newer radio, but keep the knox free bootloader. A few of us like _eroz and crazyc78 have seen issues with SIM errors since going to the NB4 modem with MDL bootloader. And thus this thread. And in case you want the instructions to upgrade to the NB4 modem look HERE

I imagine if you don't mind knox and you did the full upgrade, you probably should not be seeing the SIM card errors. I'd be curious to know if anyone is seeing SIM card removed errors with the NB4 bootloader / modem.

Brain hurts. Time for a beer...
[T-Mobile Samsung Galaxy S 4] analogchild:
Thank you. I'm gunna give it a go and see if it works
[T-Mobile Samsung Galaxy S 4] The Root:
This may be a hardware issue. My wife gets it on stock never rooted.
[T-Mobile Samsung Galaxy S 4] crazyc78:
I am curious to know when you flashed the NB4 modem did you go back to stock first and then reroot your device and then flash a rom and then odin the NB4 modem? I did all that and still got errors. I am going to update to Insane Kit Kat V6 later tonight hopefully I don't have issues after updating. I am going to try your remedy and see if it works, and if it doesn'tjust wait for my new simcard.

SENT FROM MY INSANELY SICK S4
[T-Mobile Samsung Galaxy S 4] analogchild:
I'm starting to lean towards bunk phones as the issue
[T-Mobile Samsung Galaxy S 4] The Root:
Restore Odin for a day. If it does it, bring it in.
[T-Mobile Samsung Galaxy S 4] analogchild:
Where? Its a second hand phone.

My only option is buying a new one or some miracle worker on this site figures out what the issue seems to be.Whether your stock or not this phone is having the same issue.

Im probably just going to grab another s4 with a broken screen on the cheap, swap em and cross my fingers that logic board isn't fudged.
[T-Mobile Samsung Galaxy S 4] The Root:
Odin is a software thing. Read.
[T-Mobile Samsung Galaxy S 4] analogchild:
You missed my point buddy.

I can't "bring it in" its a second hand phone (no warranty). I understand what odin is and what it does. I also stated that I don't think restoring to factory is going to solve the issue. Read
[T-Mobile Samsung Galaxy S 4] crazyc78:
You have several options, you can choose to switch to a different modem and odin it in and see if that helps. I just updated to Insane Kit Kat V6 and I did what Vinnie stated previously. I odined the NB4 modem three times and battery pulled twice and then let it reboot the last time. Hopefully this helps, I am optimistic that it will. I have a new sim card coming to me early next week so we will see if that helps. So far I have not had an error since early this afternoon. People are actually trying to give you suggestions on this thread, we are all frustrated too but pissing people off by being an ass is not a good idea here.
[T-Mobile Samsung Galaxy S 4] analogchild:
I don't see how I'm being an ass. He gave me redundant info I don't need followed by "read" I simply stated my rebuttal.
[T-Mobile Samsung Galaxy S 4] vinniej:
Thanks for the info Root. Adds more mystery to the problem! I never had an issue until I upgraded to NB4. Ran MDL and MK5 modems for month with no errors / issues.

Yes I did go back to stock for a separate unrelated reason. So I downgraded to 4.2.2 stock rom / modem first. Then I went straight to IKK V5 with the NB4 modem. I'm now running V6 (Great ROM by the way)

I got another error yesterday afternoon. So I haven't got this thing fixed. I can deal with one error every few days versus getting an error every 4 hours. However I'm not giving up on finding a fix. I think dmesg or last_kmsg might be useful since it appears to be possibly hardware / android system related.

---------- Post added at 07:32 AM ---------- Previous post was at 07:30 AM ----------

Good luck. Report back if you decide to downgrade to MDL / MK2 and run for a few days.
[T-Mobile Samsung Galaxy S 4] analogchild:
I'm gunna wait it out. It seems like its pretty random for you guys. I've got a back up phone to communicate with. Im not a big fan of restoring. Plus my laptops in rough shape. I appreciate your guys devotion to the problem. I can't think of anything different to do that you guys aren't doing. Im going to swap out the tray and if that don't do it ( which I gather it won't) I'll probably go the other route of just buying another one and hope its not a lemon
[T-Mobile Samsung Galaxy S 4] vinniej:
Random, but not so random...Got sim removed error twice today while traveling out and about. Decided to downgrade to MK2.
[T-Mobile Samsung Galaxy S 4] analogchild:
Yeah, I'm not able to go 20-30 min without an error and that's if I'm lucky enough to get it booted without the error.
[T-Mobile Samsung Galaxy S 4] vinniej:
If you are bored and have time to kill...

I definitely found an issue, but it may or may not be the fix. I decided to downgrade to 4.2.2 and double check that I was sim unlocked (per this THREAD ) and I noticed that I did not have a Golden-Backup (step 14 in the thread). So in that menu there is an option to create a backup and then do the NV REBUILD. I did those steps last week and have not had an error in 5 days. So if you have time to kill, downgrade and double check to see if everything is OK with the nvram.

EDIT: And when I restored back to 4.4.2, I made sure to uncheck the EFS partition. Don't restore anything that may be corrupted.
[T-Mobile Samsung Galaxy S 4] crazyc78:
Hey Vinnie, I decided to go a completely different route than you have. I called tmo and they sent me a replacement phone and I just received it today. So far been running for about 6 hours and no errors. It got so bad on my old device that my phone was no longer detecting a card at all. So I had enough and gave in and called tmo. They shipped my replacement in 24 hours overnight. The bad news is I'm on the new bootloader. So I'm not too crazy about that. Eventually I will move on from this device, either give it to someone else or trade it in for a newer device. I am going to continue to monitor this thread. Hopefully everyone's issues get better and improve permanently.

SENT FROM MY INSANELY SICK S4
[T-Mobile Samsung Galaxy S 4] vinniej:
Right on. Thanks for the update. After all my upgrading and downgrading I'm still seeing the problem. Fortunately it has not been as often as you have been seeing it. So now I'm going after hardware - SIM card is next to be changed.

It just bugs me that I never had an issue until I upgraded to NB4. Maybe it was coincidence that it broke when I upgraded to NB4? Oh well...
[T-Mobile Samsung Galaxy S 4] analogchild:
soooooo.......

So. I bought a broken screen s4 and replaced the screen with my old screen from my previously rendered useless s4 because of this sd removed issue. I didn't change roms, stayed stock, just rooted to take advantage of greenify and titanium backup among other things. I was up and running smoothly again, no issues. Now I have a cut sim card which I used on the previous s4 before it took a dump. So I used the cut card in my older s2 as a backup with no issues. Well, one month into using my flawless s4 BOOM...... no sim insert sim card error shows up on new logic board today rendering my new s4 useless once again. Im not sure if any of you guys have cut sim cards or not, but either my cut sim is causing issues or I have the worst luck in the world.

So im going to get a micro sim from tmobile replace the sim tray. If that doesn't bring it back from the dead........ im done with samsung phones for good. This is nonsense.

Anyhoo. Thought id give the rest of you error victims an update
[T-Mobile Samsung Galaxy S 4] serio22:
Cut sims can be the issues for this in my experience
[T-Mobile Samsung Galaxy S 4] analogchild:
My questions are. Whats happening? is it slowly degrading the sim reader? Is tmobile aware ive thwarted their charges for a new microsim setting in motion some sort of sim self destruct protocol;)? And once I start getting the errors, is there no going back? Is there no remedy? Ive been through 2 s4s in a 3 month period. Needless to say. I hate samsung products at an apple level at this point. Im considering going back to a flip phone. Smart phones have been nothing but a money pit headache for me.

I have 5 android phones. Each one missing some sort of important function. I just need a dependable phone and not have to trouble shoot issues every other week FFS.
[T-Mobile Samsung Galaxy S 4] serio22:
Once you switch it to an original micro sim it should be back to normal, I don't know why it happens but this phone just doesn't like cut sims, and neither do I lol
[T-Mobile Samsung Galaxy S 4] analogchild:
Well I hope so. This black cloud of electronic failure hovering over me is really bumming me out.
[T-Mobile Samsung Galaxy S 4] Remix22:
Hey guys

Since the Kit Kat update, I keep having Sim Errors: the phone randomly no longer detects the sim card and says no sim inserted - which is a pain because it looses cellular connectivity. Rebooting generally fixes it (until the next error).

It first started happening when I got a refurb from Tmobile (unrooted stock 4.4.2) was quite annoying because it was happening quite often (like every hour or so), I got a new phone from Tmobile (still refurd - can't get a new one from them - oh and it's my 4th one). Rooted it, installed Dandvdh's KOT49H 4.4.2 and it started doing it again (but less often) - so I got a new Sim but it's still happening.

Found a couple of forums reporting the same issue on ATT version (http://xdaforums.com/showthread.php?p=52772726#post52772726) I've done some reading, and found that it seems to be 4.4.2 related (or knoxed bootloader which was implemented with our 4.3 update), and that heat might be a cause.

Anyways, in the case of my latest GS4, I think it's software related since rebooting temporarily fixes the problem. So after reading that it might be due to the sim being pin-locked, I deactivated it, I also taped a small piece of cardboard to the back of the sim holder, so that when the back panel is in place it adds a slight pressure on it, and so far, no errors since Friday. I don't know which of the two fixed it, but I'd say it's removing the pin since I'm quite confident my problem is not hardware related.

http://forums.androidcentral.com/sa...s4-major-problem-sim-card-not-detected-2.html

Cheers
[T-Mobile Samsung Galaxy S 4] analogchild:
I don't think its a KitKat thing. I was on 4.2 stock on my second phone and had the issue. I inserted and removed my new micro Sim really fast a bunch after I took the phone apart and reseated the ribbon cable connected to the Sim tray. I still don't know the exact reasons for the error. Maybe heat? I took my cover off also. I'm 2 days without an error. There seems to be no rhyme or reason I get errors. Its completely random.
[T-Mobile Samsung Galaxy S 4] analogchild:
aaaaaaaaaaaaaaaand Sim error.

That's it boys. I think I'm giving up. Its gotta be a hardware issue. I'll keep playing this reboot game till I get a new phone. No more s4s for me. I've dumped enough money into this POS. I'm done.
[T-Mobile Samsung Galaxy S 4] nnk61209:
I had an s4 that said sim removed. tried a new sim and that did not work. I ended up getting tmobile to send me another and problem has been solved.
[T-Mobile Samsung Galaxy S 4] ASExplorer:
FWIW, had this phone for about 6 months before it started repeatedly having this problem around January 2014 while I was out of town. Swapped the SIM at a TMobile store and the problem was still happening, but much less frequently. Fast forward to last few weeks of May and it started happening very regularly. Tried a SIM swap which just made things worse. Brought it in again today and the TMobile rep said she thinks it's related to ISIS-enabled SIMs and hasn't seen the problem on older SIMs. She swapped me out and it started working again.

Hope this helps. YMMV.

EDIT: New Sim only lasted about 3 hours before problem came back, so maybe the ISIS vs non-ISIS thing just doesn't matter.
[T-Mobile Samsung Galaxy S 4] vinniej:
Thread resurrection

I may have found a fix for this that actually works. Check it:

http://youtu.be/6owypvmcEfY

After performing this mod (and FWIW I used aluminum foil and double-sided sticky tape) I have not seen a single error in over 2 weeks. Now the question - What does the mod do? As the video suggests, is it a heat dissipation issue? Or a grounding issue on the sim card tray / holder? Not sure, but it has been working for me to this point.
[T-Mobile Samsung Galaxy S 4] layzer253:
Does this mod still hold up?
[T-Mobile Samsung Galaxy S 4] vinniej:
Well I would not say it is 100% but it had drastically improved my errors. I've gone weeks without an error. It seem when I need to remove the back cover for any reason that the errors appear for a brief period. Overall it has been better.
[T-Mobile Samsung Galaxy S 4] Yepiz92:
Hey guys I'm having the same issue as you but I found that when I use my SIM card from Mexico the sim errors disappear, I ordered a new sim reader and replaced my old one it did not change anything, my issues also started with 4.4.2 I upgraded to stock then installed a custom TouchWiz based ROM, I know nothing about bootloaders or modems, so has anything helped with this issue I still haven't felt the need to upgrade to a new device so I'll be keeping this one for a while.
[T-Mobile Samsung Galaxy S 4] rBGH:
A few days ago, my unlocked Samsung Galaxy s4 started giving me this sim card error. I don't remember the exact wording but something like, card missing, reboot. Today, I couldn't get the phone to recognize the card at all, which meant no service. I reseated the card a few times but no luck. I finally used some rubbing alcohol to clean the contacts on the card. It's working for now but I suspect it won't last for long.

A Google search about this brings up a long thread with no real solution. XDA has a couple threads, this being the shorter one. I bought this phone off Swappa and don't see myself getting any professional support. If this phone is going to get fixed, it's going to have to be by me, and I'm not developer. I have thought about building an alter so I can worship the Gods of electronic devices. Maybe that will help.
[T-Mobile Samsung Galaxy S 4] DroidDogg:
Could the problem be the Xposed Framework. I rooted my phone and then right after I installed the Xposed Framework I started getting the No Sim Card issue, I removed the Xposed and I haven't gotten it so far. I also tried the tape fix before so that didn't fix it.
[T-Mobile Samsung Galaxy S 4] ASExplorer:
FYI the ISIS vs non-ISIS SIM thing didn't end up helping mr. They ended up just replacing the handset.
[T-Mobile Samsung Galaxy S 4] phxdnelson:
Mine is a Lemon...

I have the T-Mobile SGH-M919. It has

always

been

stock

. Starting back in April 2014 I started having the same SIM card error.

​​SIM card removed

Unable to detect your SIM card.

Your device will restart to check

for your SIM card.

Restart​

Over a period of time the issue went from happening weekly to daily to hourly. Aug 2014 I finally went into a retail store where they replaced the SIM card for me. This fixed the issue for about half a day.

Called Tech Support expecting no help. T-Mobile tech walked me through the process of clearing the cache as a part of the reboot. This fixed the issue for another day and half. Prior to ending the call tech support said the next step would be to reload the phone. After the reload I had the stock apps, a few extra google apps and few very mainstream apps.

The reload seemed to fix the issue for a few weeks. It is progressively getting worse again! My phone just did an OTA update. As of today I am running 4.4.4. Just prior to typing this I cleared the cache during the reboot again. It did not work.

I called into tech support one last time and they are offering me a replacement for $15. I am going to give this a shot and hope I don't get another lemon!

Good luck everyone!!
[T-Mobile Samsung Galaxy S 4] phxdnelson:
Gave up...

...I ended up trading in my Samsung Galaxy S4. It was a great phone when it didn't glitch out and need a reboot. Because I didn't want another lemon, I went with the LG G3. I have had it about a week now and LOVE the camera on it! It has not lost its SIM card once and no unplanned reboots!

Good luck everyone!!
[T-Mobile Samsung Galaxy S 4] TheFistSTL:
So, I also have had this "Sim Card Removed" error for the past few months. Unfortunately my phone is a replacement from Squaretrade and did not realize that this was an issue until my 30 day warranty period was expired... Once I realized that I wasn't going to get a replacement phone I resorted to rooting and experimenting. First I tried the Google Play Edition ROM and it worked flawlessly for two weeks! My concern with the GPE ROM was that it could not utilize T-mos wifi calling which was a deal breaker for me since I occasionally visit areas with poor carrier signals. I've since tried Insane KK v11 and the errors have returned. So if you can handle losing wifi calling you can try the Google Play Edition ROM. Right now I'm sitting tight waiting for the official Lollipop update, hoping that it will resolve the issue.

Good Luck.
[T-Mobile Samsung Galaxy S 4] Terr20114:
I've just swapped out my i337 motherboard for a m919 motherboard to get the joys of an unlocked boot loader and I'm also experiencing the issue. I've realized that it seems to happen if GPS is on and the phone drops signal. I turn GPS off and it doesn't occur. That's my bandaid for now.
[T-Mobile Samsung Galaxy S 4] Jamessr79:
I have the same issue as all of you. I have tried clearing the system cache, no help. Wiped the system and restored to factory, no help. Replaced the sim card reader, no help. I did some more looking and found a forum were they stated the sim card cable was lose from the logic board. They stated to place a item between the top of the sim card cable connector and the inside of the phone case. I layered some scotch tape "not to thick" just enough to apply a little pressure on the connector. I have not had the issue in 24hrs, but we shale see. ;)
[T-Mobile Samsung Galaxy S 4] JaimeZX:
GAAAH. I can't believe this forum hasn't figured the issue out yet!! Started for me about three weeks ago. It SEEMS like it happens for me when being handled "roughly."

Examples: carrying in pants pocket; putting down on a table other than "very gently." But I can't really replicate it. Just shaking the phone doesn't seem to make it happen, nor does trying to bend it or something.

It's driving me nuts! And of course I bought this phone on Swappa back in October. Seems unlikely that I'll be able to get any kind of warranty replacement from Samsung...
[T-Mobile Samsung Galaxy S 4] Jamessr79:
The fix I tried worked for 3 days then the issue returned. I had two months left on my warranty. So restore to factory with oden and off to samsung. :(
[T-Mobile Samsung Galaxy S 4] JaimeZX:
Chatted w/ Samsung customer service. The suggested I upgrade from M919UVUFNH7 to M919UVUFNK. Of course I'm rooted so I can't do this automatically, and I suspect it won't do anything anyway if this is a hardware issue. Thoughts?

Guy said I should try it and get back to them if it doesn't work, so I may Odin back to stock... not sure about warranty replacement at this point anyway since I have a cracked screen. I was going to replace it with a $19 piece of glass off Amazon, but that will obviously be a replacement. :p
[T-Mobile Samsung Galaxy S 4] XDAUserWork:
How were you able to go from the "Insane Kit Kat Rom V5" to the original 4.2.2. (M919UVUAMDL)? Specifically, how were you able to go from a Kit Kat rom (4.4.X) to a Jelly Bean rom (4.2.2) since essentially this is the same as downgrading from Android 4.4.X to Android 4.2.2?