yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ssn713:
Not a bad idea but I've never played with tasker. If that doesn't work maybe we could find a sympathetic dev to write a few lines of code. Might even be a way to make the system query the sim card to reestablish the status and clear the error without rebooting?

I'd definitely be willing to throw in a few bucks for a fix but I don't think there are enough people suffering with this issue to put together a bounty and/or get anyone's attention. I did manage to grab a logcat if we can find someone willing to assist.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] mdbrich1:
Just purchases an S4 on the good ol craigslist with this problem. It was unlisted as an actual problem of course, however I am 100% certain that's why it was for sale.

I too get the No sim card inserted message. I took everything apart, testing out a few variables. I have isolated it to the actual ribbon cable as someone mentioned above as well. It seems if I reconnect the ribbon cable and reboot it, the phone will read it until the error comes back. Which happens more often than not. I can't even get the plastic housing on without the error coming back.

- I have tried the tape method as well. On the sim, on the top of the ribbon connector, on the back of inside phone shell.

- I have determined it was the ribbon cable by applying pressure to both the Sim and ribbon locations, both at the same time which is the first time I got the phone to read the Sim. Then isolated each area with pressure and a reboot. The ribbon cable and pin connector seem to be the issue.

Reading over some of the other posts in this thread it appears people have already tried a new sim/sd card piece with no improved results. That makes me want to lean towards this is not the SD/SIM side of the connector but more so on the motherboard side. If it is the motherboard I then I am pretty much at a loss and it is not deemed worth investing another 150$ into the phone for a new motherboard.

Will continue to see if I can do anything to improve this issue. Currently the phone is unusable as I fear for any movement on the device before it disconnects the sim, and I remain on my S3 while I continue to investigate.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] DgtHorse:
So, did it fix it? I took the plunge and replaced my reader as well...but still randomly getting that error. I do have an i337m and running an M919 rom though. Im wondering if it might just be the rom but i have tried two different M919 roms...
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] s8freak:
Been there done that my friend I agree

"Zed? Zed's dead baby Zed's dead"

Sent from my XKrom GoldLimited Rockin XKromeGold
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] TGA3DX Tim:
The only other thing I'm doing is I'm leaving my phone to charge overnight, not unplugging the charger when it's at 100%. Could come back, as said before it's definitely a motherboard problem, not the sim board. Maybe I can make it last until my upgrade date.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] moobieboobie:
just got my hands on a OnePlus One. looking to leave sammy for good, but not sure i'm comfortable with the screen size on the OPO. guess i'll just deal with it for now. thanks
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
And baaaaam. Reoccured on mine.

I don't know what it is or what I could do...
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] s8freak:
Delete that photo man it has your IMEI on it

"Zed? Zed's dead baby Zed's dead"

Sent from my XKrom GoldLimited Rockin XKromeGold
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
what can others do with the IMEI?

Right, nothing.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] s8freak:
As a junior member you'll get far more help by being less of a ****. Not by me but by others when you will need help.

"Zed? Zed's dead baby Zed's dead"

Sent from my XKrom GoldLimited Rockin XKromeGold
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
Ok. I'm sorry that i was mad.

But the screenshot should only show the uptime.

But all is gone. The error is back. :(
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] pjedi:
Yeah the error is very random on mine too. Some days it happens several times a day and then goes a week with no error.

I'm so curious as to what's causing it.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] WilcoD4D:
Argghhh... Newest Member of the screwed SIM club

Ditto here ... all the same issues and same fixes have not worked. Replaced SIM, reader, tape, etc...etc. I have a TMobile SGH-M919

Is anyone familiar with the Secret codes and ServiceMode and whether any settings there might be helpful? I'm not experienced enough to start dinking with those settings but in researching there are a ton of different diagnostic and configuration options through the diagnostic codes.

I returned mine to stock to see if the new firmware update ( M919UVUFNH7) still no change.

One thing I've done which seems to have lessened the frequency is to set it to "WGSM/CMDA only" since doing it yesterday ... no errors. However, admittedly it defeats the purpose of a frickin $600 4G LTE capable device.

---------- Post added at 11:52 AM ---------- Previous post was at 11:01 AM ----------

UPDATE: Spoke too soon ... less than an hour after this post ... BAMMM! ...got the error again. GS4 was sitting on my desk ... not warm to the touch or anything.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] cotucker:
Not sure my problem is exactly the same as everyone's here but I figured I would share. I got my S4 on release day through AT&T. It is rooted but I never changed from the stock OS. My problem started about 6 months ago when I changed one of my business line numbers and in the process they killed my sim instead of the old number. They gave me a new sim and the problem started almost immediately. I would get the sim error when my phone would be restarted from the battery dying or general restarts. The phone would start up and within a few minutes the no sim restart message would pop up and it would do this from 3-5 times before it would stop until the next restart. I put up with this for a while but recently it started to do it beyond just the restart issue. Yesterday I was going to the AT&T store to pre-order my note 4 anyway and figured I would see if issue could be fixed. They popped my sim out put a new one in and now it wouldn't read the sim period. We went through 2 cards with the same result and they sent me on my way with a dead phone and saying there is nothing they can do and i'm SOL. Very, very rudely. So I got back to my office and was pondering a bit and got the idea to take one of the other phones we had in the office with the same size sim and install it in my S4. Worked flawlessly through several restarts. This is where I found out that AT&T has 2 different sim cards. Not sure their technical name but one is just a regular sim and the other they are calling their more secure isis(unfortunate name on their part) sim. I don't have a picture of the cards side by side but the regular sim has part of a blue light blue circle at the bottom of it and the isis has part of a blue circle on the bottom of it with a purple band running through it(not sure if it varies due to location). The isis card will not work in my S4 no matter how many they try. The sim I tried from the other phone was the older sim. I told them I wanted the older sim. When they finally listened to my and put one in, it again work flawlessly. I have done many restarts and did what I could to replicate the problem and nothing. The phone is working perfectly. I also want to note that the original sim card in the phone was the old style and the second one that was showing the issue was the old style. I guessing the second sim was just a bad sim. Sorry for such a long post but maybe this is some of your guys issues. Check your sim and see.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
I figured mine out. I told Telekom germany about my Problem and they replaced my SIM Card. I recognized that the size is different. On the opened envelope with the SIM Card it says "2FF/3FF" or something like this. The SIM has also a larger field of contacts then the older one. I told them to activate the card right away and after placing it in, turning it on: Surprise Surprise. It works again. But I recently recognized that my Phone # is no longer shown in the settings. But at all: It works as it should.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] s8freak:
Ok but how long have you been error free? A day? A week? When you can go a couple months error free I'd consider it fixed and it be valuable information. As I've stated farther back in this thread I've went a full month before the error returned.

"Zed? Zed's dead baby Zed's dead"

Sent from my G900A powered by XKrom GoldLimiTed Rockin XKromeGold
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
It's 1 day today. But I hope it's over and hope it was because the old SIM size failure. Don't want to have the error ever again. But will report if it reappears
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] devil_2:
I am facing this problem, For I don't want a solution but rather a workaround,

Is there a way to disable that force restart notification telling me that the sim is not found?? i dont care if it stops reading the sim, I just don't want it to restart. Can i delete that notification somehow? I am rooted and everthing....

As for attempts to fix the problems:

Replaced Sim card, Replaced the Sim card reader, factory reset, Flashed stock rom, downgraded, upgraded, cleared the cash , I did everything, but the problem still reappeared, So i am assuming its something with the motherboard overheating or of sorts, and i am assuming that all the attempts that you guys try will most probably fail.

So if anyone can help me just disable that sim card reader not found "message" , so it doesnt force me to restart the phone while I am using it, it would really be appreaciated.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] TheDjost:
Just hit the back button...
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
Working on AOSP ROMs (cuz they won't tell you either) but doesn't work on stock ROM...
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] devil_2:
i do, it doesn't let me exit out of it, it forces me to press restart
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Rocksolid77:
I haven't been able to confirm it yet but I think I might have a solution. I was going to wait a couple of days before posting but then I figured that I can post and collectively we can get a better sample size of data to come to a conclusion. I had long suspected that this was somehow due to location services as the problem first began for me when I downloaded Find my Friends and Glympse. I tried everything under the sun, factory reset, new roms, disable xposed, adding apps back one by one to find the cluprit (over 400!), paper in the sim tray to improve connection, everything!

The other day I had just freshly restored my phone from a Nandroid backup as I had noticed that when first restoring the phone would seem to remain problem free for a couple of days before I started getting the messages again. Well yesterday I was problem free until about 20 minutes after I first downloaded an application from the playstore following the reset. Then it hit me, all the other times the problem starting popping up again was always right after downloading all the of the application updates that piled up since my last backup. Initially I always thought that one of the application being updated was the problem (thus the adding of them one by one!) but in that moment I also realized that my Playstore app on the backup was the older version and would get updated when I made my first download. The problem must be with either The Play Store or Google Play Services! I used my trusty Rom Toolbox to go check the latest update for play services and, sure enough, play services had been updated maybe 5-10 minutes prior to the problem, probably receiving the prompt when I first tried to download something, or in the original cases, when I started the updates!

The Solution!

I froze Google Play Services as a test and low and behold, no pop up for over two days! But Google Play services is so engrained in our phones that suddenly my playstore didn't work, maps was acting wonky, and Google Now wasn't playing nice anymore. So I went back to Rom Toolbox and defrosted Play Service but turned off all location based intents, receivers, and services. Since then I'm almost 1 day error free and haven't seen any adverse effects in maps or navigation resulting in the disabled receivers, intents, or services. The answer seems to have something to do with Google Now's Location services which are constantly pinging your location. I haven't seen this fix recommended anywhere (and I've checked!) so hopefully this helps some of you out. I'd love to hear back about your results one way or the other.

Unfortunately for those of you who are not rooted, this fix does require root access and an root application manager that can manipulate receivers and intents. If you are not rooted you can try deleting the data from play services and removing updates. It may help temporarily but you may end up needing to do it regularly. You can also just disable play services all together if you can do with Google Apps.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] pjedi:
^ Well let us know if the problem ever comes back. Keep us updated.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
Well...

1 Week +1 day without any errors. 200hrs uptime counting
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] pjedi:
Interesting.. i also noticed that my sim card is different than my wife's on the same phone and same carrier. Hers has straight sides whereas mine seems to have 2 indents on the side. She has no problems whereas I do.

I may go to the store and ask them if they can give me a sim card like hers instead.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] WilcoD4D:
Which app did you use to manipulate the location based intents, receivers, and services?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Rocksolid77:
Rom toolbox Pro, you can get it in the Play Store. Sorry, couldn't add a link due to not enough posts. I can't say for certain but I think the Lite version of the app may also allow you to do it and is free ,though honestly, Rom Toolbox is the 1 root app everyone should own.

If you have Rom Toolbox Pro here are the steps:

1. Go to App Manager

2. In Apps Tab click on "Google Play Services" (Should be towards the bottom. Apps are in alphabetical order but usually System apps grouped together below all the downloaded apps and have a brownish background color.)

3. An overlay will pop up once you've clicked. Swipe left to reveal the "Advanced" tab in overlay menu (rightmost tab)

4. click on "Advanced Freeze" in the advanced menu

5. Disable any Activities(intents), Receivers, or Services you see fit.

The naming conventions all begin with com.google.android.gms so I simply disabled everything that had location at the end. So the string would look something like com.google.android.gms.location.x.wtv.random.x
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
Exactly what I ment. The card has a slightly different size.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] NPinUK:
Im in the U.K. and have this no sim error restart phone problem. My phone has always been stock and never rooted.

1st occurrence within 3 months ownership but it got to a point, after a week, where it always read no sim even after restart. Samsung warranty repair changed mother/main board.

Phone was dropping calls after the warranty repair so went back to Samsung. Warranty repair 2. Changed 2 wires, don't know which ones. But now phone was working fine.

3 Weeks after repair 2, the screen went black. I could still hear all tones etc but no screen so can't answer calls (most basic function of phone). Samsung put new screen and another new main/motherboard. So now this is the 3rd mainboard. Phone came back on 2/10/14 after the repair. After 2 days I have again got message about 5 times at a time but restart is solving it for now.

So I think the problem lies in the faulty mainboards Samsung are manufacturing. Why? Because my 1st board failed and eventually always had the message no sim inserted. The engineer report said main board was changed. If it was too do with a faulty sim tray then wouldn't they have fitted one of those instead. 2nd board worked fine even though calls were dropping. This board was in phone for 3 weeks until screen got changed so I'm presuming had to change board along with screen. The latest main board which is apparently new has lasted 2 days. Like I said above its only happened a few times so far but I rather it happen all the time so I can send it in again.

I have spoke to Samsung UK escalation and they said if I require another repair then they will take it higher up but even with an exchange what is there not to say new/refurbished S4 wont be faulty down the line.

What is Samsung doing about thisin general seeing its a global problem, absolutely nothing. My worst ever experience with a phone and I got a s 1,2,3 which all still work not even a glitch. Will buy another phone but keep fighting for a resolution with this one. Still has 17 months warranty.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] rickcr:
"Hi. My name is Rick and I have the S4 sim card reboot problem."

Group: "Hi Rick!"

/end AA support group joke

But seriously that seems to be all we got... a support group.

You'd think with this many people having the same exact issue Samsung would address it.

I've read every one of these pages.

One other thought... I know that it seems to occur on all different OS version numbers, but is there any correlation to how soon after an OS update the problem occurs? My phone (AT&T i337 4..4.2) didn't start showing systems until the day after I updated. I also noticed during the update, it did take a lot more reboot cycles than my wife's S4 did. I'm just wondering if "maybe" it's related to how the OS installs? Longshot I know.

There does seem to be a common temporary fix with the tape resolution approach which leads me to believe it's definitely faulty hardware. Since it works for a while and then fails it's as if maybe the tape is no longer giving it a secure connection any more?

Off topic question... since I'll probably need to replace this phone I have options ... thoughts on

1) I take over my wife's S4 and she gets a new iPhone (I don't want to be stuck in an updated 2 year contract again since I'll want the next greatest thing out I think.)

2) Possibly purchase a Nexus 5? I like the fact they aren't bloated with Samsung stuff (I'd root but I can not get this i337 model to root!). Is the performance on a new S5 "that" much better than the Nexus 5?

3) Possibly upgrade to an S5.. drawback there is to get the nice discount I have to sign a 2 year contract meaning if an S6 comes out in a year I'll be stuck unless I want to fork over a ton of money.

Thanks
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Junpei_Shibayama:
I want to inform you about my status after SIM change. It may be the solution. Here is a screenshot of my device UpTime without restart.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] rickcr:
I think you just got lucky.

1) I had the same exact size SIM card as my wife's s4 and she wasn't having the issue (plus obviously tons of people with that SIM card size without the issue.)

2) If the size of the card were an issue you'd think it would have to do with slightly moving (more space etc) yet the majority of us all have the SIM card error show up when the phone is completely stationary (I'll often wake up and have it locked... stinks I can't rely on it for an alarm now and have to use my tablet's alarm.)
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Rocksolid77:
Quick update on this. Got the message again with Play Services Active and location receivers off. It seems location may not be the culprit but I'm still fairly convinced that play services is somehow responsible as I have now frozen it and gone 2 days since the last message again. Since Play Services is pretty essential to what make our Androids behave as we would expect an Android to behave I'm not considering this a solution just yet. Once I can confirm Play Services is in fact to blame we can continue to debug. Also, my device is not producing logs so it's making the process more difficult.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] rickcr:
Is there a way to reinstall the firmware ? Not just do a factory reset but to reinstall the latest firmware OS? I'd like to try that. Didn't see the option in Kies.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Rocksolid77:
S4 GT-I9500 & GT-I9505 + How to do it

http://xdaforums.com/showthread.php?t=2265477

Stock Firmwares for additional models (remove spaces, sorry, not enough posts yet)

http:// galaxys4root. com/galaxy-s4-stock-firmware/

Keep in mind that this will trip the Knox Security counter so don't do it if you're still under warranty.

Also, I'm not gonna chastise you but I found that pretty easily. Other users will not be as friendly to you in the future if you don't do a little research on your own first.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] WilcoD4D:
I think Rocksolid77 may be on to something ... exactly what ... I'm not sure but since making the tweeks/freezes to Google Services I have noticed less recurrence of the issue. It hasn't gone away completely but that may be user error on my part as I'm pretty much a noob. I also noticed it occurs sometimes when switching from LTE to my WiFi at home . I leave the house out of WiFi range and when it switches back to WiFi I'll sometimes get the error.

I froze all receivers/activities in ROM ToolBox with location in the name. If we could narrow down through trial and error or come up with a specific list of processes to freeze, it may help pinpoint the exact culprit if indeed software related.

Also, I heard some folks mention tape to secure the reader pins. Has anyone tried any heat resistant electronic adhesives that don't expand or stretch over time?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Rocksolid77:
Glad to hear it's helping! I ended up getting the message again even with location receivers, intents, and services disabled. Since then I've gone back to a full freeze of Google Play Services and haven't seen the issue in two days. I'm pretty confident at this point that Play Services is to blame somehow but I'm gonna keep it frozen a week or so to make really sure before moving on. *Sidenote* because play services is pretty essential to our phone what I've done is make myself a task to freeze and defrost the app with the Secure Settings app and attached it to a widget. Whenever I need to download something, or check maps etc I just hit the widget, do my thing, and hit the widget again to disable play services. It's still annoying but it's better than restarting my phone all the time. Still though... this doesn't feel like a permanent solution...