Solution Lineage OS No Sim

Anon_Help_You

Member
Jul 22, 2017
14
27
0
It's basic, libsec-ril.so is for sim card.
If your sim card is working before download Lineage OS you simply no need to download baseband/upgrade modem.

1.Need Root device
Example Magisk, SuperSU

2.Need Root File Manager
Example Root Explorer

3.Replace this file
Root/System/Lib/libsec-ril.so

0.How to get working sim card libsec-ril.so ?
-Find Lineage OS previous version that can make your sim card exist in your phone.
-Flash rom to that old version.
-Go to Root/System/Lib/ and backup libsec-ril.so
-Flash rom to new version and go to step 3 to replace file
-Turn Airplane mode on off, if not working reboot.

Or you can use this link to download libsec-ril.so
drive.google.com/file/d/0B8Z3Yq1NlXEfeEVlaFcxSGVXR0U/view?usp=drivesdk

Im sure file in that link is working for all note3 hlte if not please go to step 0

If you find anyone got problem like this, please help them, spread the solution.

Congrats Lineage OS team, for messed up basic thing in phone.
 

Anon_Help_You

Member
Jul 22, 2017
14
27
0
QUOTE=Verband;73136081]Hi,

this did not work for me. I used adb push while in twrp. The files and folders were deleted upon rebooting. What worked for me on my Galaxy Note 3 was https://forum.xda-developers.com/showpost.php?p=72986417&postcount=4141[/QUOTE]

Permission denied.
That because admin access only RO(read only) in Root/system/lib
lib folder need to change to RW(read write)
You need follow my step for it to work, my step not using twrp, you need root explorer or any file manager that can change lib folder to RW.
 

EojjN

Member
Jan 5, 2013
5
1
0
I messed around so much for the last few days trying to update modem... finally saw this thread. Sim card now working, I had to re-register on network with choose network provider (might be cos I'm roaming) before I had signal though. THANKS SO MUCH FOR YOUR SIMPLE SOLUTION!!! :D:D:D
 
  • Like
Reactions: Kelvind70

Kelvind70

New member
Sep 20, 2013
1
0
0
Thank you Man, It fixes the IMEI error too, flashed lineage-14.1-20170829-nightly

It's basic, libsec-ril.so is for sim card.
If your sim card is working before download Lineage OS you simply no need to download baseband/upgrade modem.

1.Need Root device
Example Magisk, SuperSU

2.Need Root File Manager
Example Root Explorer

3.Replace this file
Root/System/Lib/libsec-ril.so

0.How to get working sim card libsec-ril.so ?
-Find Lineage OS previous version that can make your sim card exist in your phone.
-Flash rom to that old version.
-Go to Root/System/Lib/ and backup libsec-ril.so
-Flash rom to new version and go to step 3 to replace file
-Turn Airplane mode on off, if not working reboot.

Or you can use this link to download libsec-ril.so
drive.google.com/file/d/0B8Z3Yq1NlXEfeEVlaFcxSGVXR0U/view?usp=drivesdk

Im sure file in that link is working for all note3 hlte if not please go to step 0

If you find anyone got problem like this, please help them, spread the solution.

Congrats Lineage OS team, for messed up basic thing in phone.
It worked for me after flashing lineage-14.1-20170829-nightly-hltetmo, fixed the IMEI error too
 

kijijiusername

New member
Sep 1, 2017
4
0
0
Dosen't work.

It's basic, libsec-ril.so is for sim card.
If your sim card is working before download Lineage OS you simply no need to download baseband/upgrade modem.

1.Need Root device
Example Magisk, SuperSU

2.Need Root File Manager
Example Root Explorer

3.Replace this file
Root/System/Lib/libsec-ril.so

0.How to get working sim card libsec-ril.so ?
-Find Lineage OS previous version that can make your sim card exist in your phone.
-Flash rom to that old version.
-Go to Root/System/Lib/ and backup libsec-ril.so
-Flash rom to new version and go to step 3 to replace file
-Turn Airplane mode on off, if not working reboot.

Or you can use this link to download libsec-ril.so
drive.google.com/file/d/0B8Z3Yq1NlXEfeEVlaFcxSGVXR0U/view?usp=drivesdk

Im sure file in that link is working for all note3 hlte if not please go to step 0

If you find anyone got problem like this, please help them, spread the solution.

Congrats Lineage OS team, for messed up basic thing in phone.
I tryed everythink but still donsen't read the sim card and no IMEI code...
 

mgh97

Member
May 27, 2015
20
4
0
Cairo

kijijiusername

New member
Sep 1, 2017
4
0
0
thanks thanks thanks

Flash this: [can't posted links now]
AP choice via odin.
Enter Download mode via Vol-, Power and home buttons after removing the battery and inserting it again.
had the same problem today and just fixed it.
hope that works for you
using my N9005
what the heck! it's working!!! i can't belive it. THANKS SOO MUCH
 

svenberkvens

New member
Oct 24, 2013
2
1
0
Update modem and baseband, do not replace libraries

It shouldn't be fixed by replacing a library: the real problem is that your modem and baseband versions are too old. You need to update them. My Note3 was increasingly having trouble connecting to LTE networks before I installed LineageOS (I was on CyanogenMod a long time). After the baseband and modem updates (which you don't get automatically anymore if you install a custom ROM), that's working like a charm again, and the missing SIM problem is gone too, with LineageOS builds working out of the box.
 
Last edited:

Lysathor

New member
Aug 18, 2011
4
4
0
Works!

Hi,
I replaced
root/system/lib/libsec-ril.so
by the old version of Cyanogmenod 13. Not SIM and GPS works again.

What I did:
- extract libsec-ril.so from my TWRP backup (using RAR)
- boot into TWRP recovery, overwrite file

Thank you very much!!! :D
 

ulats07

Senior Member
Jan 3, 2013
157
19
0
Hi,
I replaced
root/system/lib/libsec-ril.so
by the old version of Cyanogmenod 13. Not SIM and GPS works again.

What I did:
- extract libsec-ril.so from my TWRP backup (using RAR)
- boot into TWRP recovery, overwrite file

Thank you very much!!! :D
care to share on how to perform the steps in details/pictures?thank you in advanced
 

ulats07

Senior Member
Jan 3, 2013
157
19
0
it seems these steps no longer working for latest build lineage-14.1-20171107-nightly-hlte-signed.zip,no sim detected,or it is just happen to me? anyone else having a problem?
 
  • Like
Reactions: sebastian79hl

nnm77

New member
Nov 8, 2017
1
1
0
@ulats07 same happening to me with lineage-14.1-20171107, the libsec-ril.so is not present in /system/lib anymore, only libsecril-client.so and libsec-client-sap.so.

i will try @svenberkvens suggestion and update the modem and baseband

EDIT:
sorry, can't post links :( , replace DOTs and remove spaces

so i followed the instructions from https://jira DOT lineageos DOT org/browse/REGRESSION-773?focusedCommentId=17429&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17429 (lineage jira website) to update the modem and sim works now without replacing the libsec-ril.so file.

pasting the instructions here
Make a MODEM backup with TWRP before running it in case of errors
What worked for me:
- Download Kevin's tar https://www DOT androidfilehost DOT com/?fid=673368273298969340
- Rename the .tar.md5 extension to .tar
- Extract the modem.bin file
- Poweroff your phone. Don't reboot into download, just power it off, otherwise the flash will seem correct except that it won't actually be done
- Put your phone into download mode (vol down + home + power)
- Use heimdall (last version, 1.4.2 from github, other versions won't work) to flash the modem using :
- (sudo) heimdall flash --MODEM modem.bin
- Your phone will reboot and SIM should work
I'm on mac and I used heimdall-frontend, detailed instructions follow:
- download latest version from https:// github DOT com/Benjamin-Dobell/Heimdall/releases (heimdall git)
- extract and open in terminal
- `cd Heimdall-1.4.2`
- follow https://raw DOT githubusercontent DOT com/Benjamin-Dobell/Heimdall/master/OSX/README.txt (build instructions) from the bottom of the README, pasted below and modified slightly (specifies LIBRARY_PATH and puts the app in the Applications folder)

Code:
brew install libusb qt5 cmake
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DQt5Widgets_DIR=/usr/local/opt/qt5/lib/cmake/Qt5Widgets ..
LIBRARY_PATH=/usr/local/lib make
cp -r bin/heimdall-frontend.app /Applications
open heimdall-frontend go to:
- Utilities -> Detect Device -> Detect
- Utilities -> Download PIT -> Download
- Flash -> Options -> Specify your PIT file
- Flash -> Partitions -> Add
- Flash -> Partition Details -> Partition Name -> MODEM
- Flash -> Partition Details -> File -> modem.bin (from the extracted Kevin's tar)
 
Last edited:
  • Like
Reactions: ulats07

No_Fear01

New member
Jan 22, 2010
2
0
0
And now a working guide for windows would be nice :(

I allready tried the steps which where mentioned in the posts before but without success :(

So is there someone who can tell me how this works on Windows with Odin and the latest "lineage-14.1-20171107-nightly-hlte-signed.zip" version?
 

janmaier27

New member
Nov 9, 2017
1
1
0
Note 3 Sim Card not detected

Hey,
Ive the same problems with my Sim detection now, it stopped working after updating to the latest Nightly 07-11. However, even using an old Nandroid Backup (where SIM worked) doesnt work, flashing another ROM also didnt fix the problem. (tried Dirty Unicorns, Lineage from mid 2017, Resurrection) I also tried flashing a new modem but the problem persisted. Im not too experienced with all that Android stuff and would really appreciate any help.
Thanks in advance!
 
  • Like
Reactions: sebastian79hl