Monday, February 29, 2016

[GUID] Enable Remote SIM Access Protocol (rSAP) on the OnePlus One, using QPST

This guid shows two things:
1. How to enable QPST and USB diag mode.
2. How to enable rSAP.


Quote:

Please notice, I'm not responsible for any damage in hard- and software of your devices, if you are following this guid. You do all on your own risk.
  1. For this guid your device have to be rooted.
  2. In the newer versions of OnePlus' CyanogenMod diag mode is disabled in kernal. Therefore you have to flash an earlier ROM. In this step download Calkulin's Stock Rooted XNPH44S ROM and store zip to your device.
  3. Go to recovery and make a full backup. This is really necessary to preserve the state of your phone.
  4. Wipe Dalvik Cache, System, Data and Cache. ATTENSION: This will delete all your settings, apps and app data!
  5. Install XNPH44S ROM
  6. After rebooting system go to Settings -> About Device -> tab ten times on Build-Number to unlock developer settings. Than go to Developer settings and make sure USB debugging is enabled.
  7. Download the package, containing driver and QPST
  8. Connect your device to USB, go to Settings -> Storage -> USB computer connection and deselect both MTP and PTP.
  9. For Win8 and Win10: restart with deactivated driver signature check.
  10. Open ADB (Android SDK) and type following commands:
    Code:

    adb shell
    Code:

    su
    Code:

    setprop sys.usb.config diag,adb
  11. Go to Windows Device Manager and open Other Devices node. There are two entries of our device "A0001". Klick right on the first one and choose Update driver software -> Browse my computer... -> Let me pick from a list... -> Show all devices -> Have disk -> Browse...
  12. Browse to folder Driver in downloaded package, than open Win x64 or Win x86 corresponding to your system, select *.inf file and apply.
  13. After seccessful installation there is a Modems node in Device Manager, containing node HTC USB Modem. Right click and go to Properties. In top of the Modem tab page is the information about used COM-port. Remember that COM<number>.
  14. Go to QPST folder in downloaded package and execute setup.exe to install QPST.
  15. Open QPST Configuration from windows Start menu, go to Ports tab page and click on Add New Port.... Type (the remembered) COM<number> to the "Port:" text box and OPO to the "Port Label:" text box. Than click on OK.
    Active Phones tab page should now look like this:

    Now you can use QPST.
  16. Open EFS Explorer from windows Start menu. It may take a moment to read data from your device.
  17. On left side you can see a folder tree like in file explorer. Navigate to /nv/item_files/modem/qmi/uim
  18. Click right on right side and than Copy Item File from PC. Browse to EFS Entry folder of downloaded package and choose file sap_security_restrictions.
  19. Close all windows and reboot your device. If you want, you can repeat the steps 10, 16 and 17 to verify success.
  20. Boot to recovery and restore your backup.
  21. Now go to Google Play and download app Bluetooth SIM Access Install and app Bluetooth SIM Access (Trial)
  22. Open Install app and click on Install system files. The phone have to reboot after installation. If you want to verify successful installation, open app again, the desintall button have to be enabled now.
  23. Enable your Bluetooth
  24. Open Bluetooth SIM Access (Trial) app go to Settings -> Check SIM Access. If there no errors and several entries with green check marks, than rSAP is working now.

Files:
Package
ROM


Acknowledgement:
Thank you devilsshadow, for your tutorial, which showed me how to setup QPST.
Thank you Calkulin, for your ROM, which makes it possible to use QPST.
Special thanks goes to Martin , for developing his great apps and making our phones better.


from xda-developers http://ift.tt/1LrrTM4
via IFTTT

No comments:

Post a Comment