How to fix SIM Card Removed | Unable to Detect SIM Card | Restart Device | issue on Samsung Galaxy S4
  Step1 : Power down the device

Step2: Press Volume Up Button, Home Button and Power button at the same time

Step3: Let go of the buttons as soon as you see the "Recovery Booting" message

Step 4: Select "Wipe Cache Partition" option using Volume down button

Step 5: Press power button to run the option

Step 6: Select "Reboot system now"  & Press Power button to run the option

Step 7: Turn the phone back on and you are done!!!

 

 
  Watch a Video of this:
https://www.youtube.com/watch?v=pFlFRX8aVg8

Works on Samsung Devices:

S7

S7

Edge

Note 5

Note 6

on5, on7, j2, 3, j5, j7

a5 a7

note 4, note 5

J200F, J200G, J200GU, J200H, J200M, J200Y, J5007, J5008, J500F, J500FN, J500G, J500H, J500M, J500NO, J500Y, J7008, J700F, J700H, J700M, J3109, J320F, J320H J320P

A7000, A7009, A7009W, A700F, A700FD, A700FQ, A700H, A700K

SGH-A597, A5000, A5009, A500F, A500F1, A500FQ, A500FU, A500G, A500H, A500HQ, A500K

A3

 A9 sm-a710m

Note: This method work on Android, Blackberry and Nokia