Promo

Enable Qualcomm SIM Access

If your phone shows the following error message you will have to enable the SIM access function in the Qualcomm baseband.

 

You need to enable rSAP only once for your phone. The setting is stored in the "EFS" partition which also contains your IMEI and other important data and therefore also survives a complete firmware reflash. 

 


Easy Solution: Enable rSAP With The Installer App

Run the latest installer app from Google Play and follow the instructions. 

Sadly this doesn't work on all phones, so you will have to use the more complicated QPST way.

 


Alternative: Enable rSAP With QPST

Some phones don't support the diag port from within Android. Then you may try the more complicated procedure using QPST. 

This is done in 2 basic Steps:

  1. Set phone's USB to "diag" mode and install drivers for this mode
  2. Run QPST tool to fix the setting

Step 1 may be different for every phone, step 2 is always the same.

1 USB Diag Mode

Before switching on USB diag mode be sure to enable Android developer settings and switch on USB debugging.

Please find the descriptons for some popular phones here:

Motorola Moto G 1st Gen. (Falcon)

OnePlus One

Nexus 5

If your phone is not listed here, you may search the Internet for "<your phone model> qpst". Usually you will find blog entries describing how to enable additional frequencies or LTE bands, this is also done with the QPST tool. Simply follow the instructions to set the phone's USB to diag mode and then continue with step 2.

Note that some phones have the diag port completely disabled. You may need to flash a different firmware and/or a different kernel. This shoud be mentioned in the blog entries which describe the diag mode. In case your phone is affected let me know, I'll try to add a detailed description to the above list.

2 Run QPST

First of all you need to find a leaked version of this Qualcomm tool. The latest version I could find is 2.7.425, so search for "QPST 2.7.425". Be sure to run a virus check over the downloaded file, you never know...

 After installation connect your phone in diag mode, make sure the driver is loaded and start QPST. You see the following screen

Sometimes QPST automatically detects the phone and shows it. If not click on "Add New Port" and manually enter the COM port from step 1.

Now select "Start Clients" and "EFS Explorer". You see a window similar to Windows Explorer

Navigate to the path /nv/item_files/modem/qmi/uim. Download the file sap_security_restrictions, click with the right mouse button in the right pane of the EFS Explorer, choose "Copy Item File from PC..." and select the downloaded file. It should now look like in the above picture.

If there are no error messages close all windows and reboot your phone. Repeat the SIM check in the rSAP app, it should succeed now.

In case the "Copy Item File from PC..." fails with an exception, you most probably will have to enable "Factory Test Mode" before you can create the sap_security_restrictions file.

 3 If Necessary: Set Factory Test Mode with QXDM

 You need the Qualcomm QXDM tool to continue. Sometimes you find it packed together with QPST. The version I use is 03.14.594.

Start QXDM and choose Options / Communications.... You'll get this dialog box

qxdmconnect

Select the same port you used with QPST. You need not quit QPST, both can run at the same time.

Then open the NV Broser in the combo box in the upper left

qxdmselectnv

Scroll to nv item 453

qxdmnvbrowser

Press Read, change Input to 0x01 and press Write. Finally reboot your phone and retry to write the sap_security_restrictions file with QPST. Be sure to finally switch off test mode!

On some phones (e.g. OnePlus 2) the ftm_mode value doesn't survive a reboot. Currently I have no solution for these devices.