Project

General

Profile

"No SIM card" error due to wrong permission in files (SOLVED)

Added by ariel enter almost 7 years ago

I wanted to report that I too experienced the problems described in the following [[https://redmine.replicant.us/issues/1800]] , in my fresh install of replicant 6.0 of my Samsung S2 i9100, where some files permissions were wrong and the system was reporting “No sim card”.

Wolfgang kindly address that: “these ownership and permission changes happen. Maybe because of data corruption, e.g. after completely discharging the phone”.

As it was a fresh install in my case, could that also had been the reason it happened to me? I'm asking because if it is a frequent problem, I think it'll be nice to have it explained in the installation page as a final note as something that may happen and how to solve it right away.

I'm sending my file permissions before I made the fix.

adb shell "ls -la /efs" 
drwxrwxr-x root     root              2017-07-24 14:12 .files
-rw-r--r-- root     root      1048576 2017-07-24 14:12 .nv_core.bak
-rw-r--r-- root     root           32 2017-07-24 14:12 .nv_core.bak.md5
-rw-r--r-- root     root      2097152 2017-07-24 14:12 .nv_data.bak
-rw-r--r-- root     root           32 2017-07-24 14:12 .nv_data.bak.md5
-rw-r--r-- root     root            1 2017-07-24 14:12 .nv_state
drwxrwxr-x radio    system            2017-07-24 14:12 FactoryApp
drwxrwxr-x radio    system            2017-07-24 14:12 bluetooth
-rw-r--r-- root     root            6 2017-07-24 14:12 calibration_data
-rw-r--r-- root     root            9 2017-07-24 14:12 cryptprop_applied_result
-rw-r--r-- root     root            1 2017-07-24 14:12 cryptprop_essiv
-rw-r--r-- root     root            5 2017-07-24 14:12 cryptprop_onetimeboot
-rw-r--r-- root     root            1 2017-07-24 14:12 cryptprop_rebootMode
-rw-r--r-- root     root            3 2017-07-24 14:12 cryptprop_securewipedata
drwxr-xr-x root     root              2017-07-24 14:12 dmp
drwxr-xr-x root     root              2017-07-24 14:12 efs
drwxrwxr-x radio    system            2017-07-24 14:12 imei
drwx------ root     root              2017-07-24 14:13 lost+found
-rw-r--r-- root     root         1205 2017-07-24 14:12 nv.log
-rw-r--r-- root     root      2097152 2017-09-27 15:14 nv_data.bin
-rw-r--r-- root     root           32 2017-09-27 15:14 nv_data.bin.md5
-rw-r--r-- root     root          880 2017-07-24 14:12 redata.bin
drwxrwxr-x radio    system            2017-07-24 14:12 wifi

I don't know if special forum permissions are need to make changes to the installation guide of the i9100, if not and it is fine, I can make the side note my self.

Thank you.