I'm not using your app, but maybe you could help me restoring my rSAP functionality?

I have a LG G3 D855 and a VW Passat with a RCD310.

In the beginning evrything worked fine, the phone connected to the car in rSAP mode.But after I rooted my phone and installed Chupa Chups Mod I never got rSAP to work again.Since then the Phone never asked again for permission to access the SIM.

I must confess that I never verified this on the G3, but usually Qualcomm phones use the executable 'sapd' for rSAP. If this is not running, rSAP won't work. But I also must confess that I did not yet find out where sapd is started. If you find out please let me know

The sapd executable lies under /system/bin/sapdWhen I start it by hand, it returns 255 directly.I will search for a call to this executable tomorrow. And maybe try to find something in logcat.I guess I have to go to the car for a connection. Or can I emulate a rSAP profile connection with my laptop?

In /system/etc/ I found the file init galbi.bt.sh which sets the property "ro.qualcomm.bluetooth.sap" true or false.

shell@g3:/system/etc $ cat init.galbi.bt.sh#!/system/bin/sh# Copyright (c) 2009-2013, The Linux Foundation. All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions are met:# * Redistributions of source code must retain the above copyright# notice, this list of conditions and the following disclaimer.# * Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.# * Neither the name of The Linux Foundation nor# the names of its contributors may be used to endorse or promote# products derived from this software without specific prior written# permission.## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.#

I guess you don't need the Bluetooth test. If sapd isn't running, you won't have rSAP. If it is running chances are very high that it will also work in the car. I managed to start sapd manually without any problems on a different phone where it was not started by the system, but I don't remember if it needed any command line parameters.

I don't think the 'ro.qualcomm.bluetooth.sap' property is the problem,

This won't be easy to fix... The best solution may be to compare all files of the system partition of Chupa Chups to the stock ROM which it is based on.

I would like to let you know, I finnaly got rSAP working again.The problem is, I'm not sure how. In the LG PC Suite I clicked on the menu point to repair a broken update or something like this. This installed a complete Stock firmware. And the rSAP was working again.

I would like to show my gratitude. What would you like? I could buy your app, or do you have some sort of donation, or paypal?