I know this is truly old but i have the same problem in marshmallow and
Nougat. Only Bluetooth fails with signature mismatch.
It works with this dirty hack but we shouldn't use it....anyone solve this
problem?
El miércoles, 21 de enero de 2015, 16:39:08 (UTC-3), Russell Mowszowski
escribió:
>
> Instead of finding the signature issue, I've temporarily bypassed this
> with:
>
> diff --git
> a/services/core/java/com/android/server/pm/PackageManagerService.java
> b/services/core/java/com/android/server/pm/PackageManagerService.java
> index 3e1647e..eef6475 100644
> --- a/services/core/java/com/android/server/pm/PackageManagerService.java
> +++ b/services/core/java/com/android/server/pm/PackageManagerService.java
> @@ -2825,6 +2825,11 @@ public class PackageManagerService extends
> IPackageManager.Stub {
> */
> private int compareSignaturesCompat(PackageSignatures existingSigs,
> PackageParser.Package scannedPkg) {
> +
> + if (true) {
> + return PackageManager.SIGNATURE_MATCH;
> + }
> +
> if (!isCompatSignatureUpdateNeeded(scannedPkg)) {
> return PackageManager.SIGNATURE_NO_MATCH;
> }
>
>
> mm from frameworks/base/services and push services.jar to
> /system/framework/ reboot.
>
> On Monday, December 15, 2014 at 3:07:43 PM UTC+2, Jesus Sanchez-Palencia
> wrote:
>>
>> Hi,
>>
>>
>> On Friday, 12 December 2014 15:01:19 UTC-2, Jesus Sanchez-Palencia wrote:
>>>
>>> Hi all,
>>>
>>> I have built and flashed the AOSP for fugu and I'm not able to enable
>>> Bluetooth. Is this a known issue?
>>>
>>
>>
>> I have re-tried with an updated android-5.0.0_r7.0.1 build and the
>> problem persists. I have checked
>> hardware/broadcom/libbt/include/vnd_fugu.txt
>> and it says "BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyMFD0"", which seems
>> fine. Also, I checked
>> device/asus/fugu/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
>>
>> and I can see that <bool name="def_wifi_on">true</bool>, so it should be
>> enabled by default on this build.
>>
>> I'm running out of ideas here... I had another look at the logcat and I
>> see something related to the Bluetooth.apk that caught my attention:
>>
>> I/PackageManager( 450): /system/app/Bluetooth changed; collecting certs
>> I/PackageManager( 450): Failed to recover certificates for
>> com.android.bluetooth: null
>> W/PackageManager( 450): Failed to parse /system/app/Bluetooth: Signature
>> mismatch for shared user : SharedUserSetting{156f7f31
>> android.uid.bluetooth/1002}
>>
>> Since I don't see this on the official product image, I believe that
>> might be the problem. However, I'm failing to see how the certificates can
>> be different since I'm building the entire AOSP image from scratch.
>>
>> Any ideas here will be highly appreciated!
>>
>> Regards,
>> jesus
>>
>>
>>>
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.