Sony Xperia XZ Premium goes out of silent mode when connecting to Bluetooth

I have my phone set to silent (vibrate) mode and have noticed that when I connect to a bluetooth device, the phone ‘exits’ silent mode and the ringer volume is enabled again. This is especially annoying as I like to use a scheduled silence app and have to remember to manually enter silent mode again.

I believe this may have been caused by a recent update as my phone has regular updates and the issue has only started occurring recently.

The phone is a Sony Xperia XZ Premium running Android version 9, build number 47.2.A.2.33

How to disable js and input on a bluetooth peripheral?

I have a pair of joycon. I would like to connect them to my computer, and block them to create automatically /dev/input/jsX and /dev/input/eventX. I’m able with the rule below to change the device owner, but not to prevent the device creation.

ACTION=="add", SUBSYSTEM=="input", ATTRS{uniq}=="98:b6:e9:d5:65:3f", OWNER="user"

Here is udevadm result on the created device:

udevadm info -a -p /sys/class/input/js2 looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:512/0005:057E:2007.001F/input/input56/js2': KERNEL=="js2" SUBSYSTEM=="input" DRIVER=="" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:512/0005:057E:2007.001F/input/input56': KERNELS=="input56" SUBSYSTEMS=="input" DRIVERS=="" ATTRS{name}=="Joy-Con (R)" ATTRS{phys}=="e4:b3:18:e6:8b:c3" ATTRS{properties}=="0" ATTRS{uniq}=="58:2f:40:68:c6:40" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:512/0005:057E:2007.001F': KERNELS=="0005:057E:2007.001F" SUBSYSTEMS=="hid" DRIVERS=="hid-generic" ATTRS{country}=="21" `

Automatically change wifi and bluetooth MAC address

I recently learned that it’s quite easy to track people with their wifi MAC address and Bluetooth address in stores, etc. I was wondering if there are any drawbacks of changing these addresses regularly (eg daily) to prevent such tracking? I was also looking for apps that would do this but couldn’t find any.

Is it impossible or problematic or conscious people just turn them on/off all the time and the rest doesn’t care?

Passkey SSP vs OOB SSP (Bluetooth)

I’m trying to grok how SSP works, and I’ve not much exposure on security. I think I grok OOB SSP and just works SSP, and so the following description borrows from that vocabulary. But I am making several guesses, so can someone check my understanding?

One way or another, you have to get a Hash (not sure what this is, but its required for authentication and link key generation) and a randomizer (a random number) over to the other device that you want to set up a link key with. But if you just report it over the bluetooth radio, Mallory the Malicious could MitM you and steal your lunch money. The 4 pairing options bluetooth supports are various ways you can keep Mallory in the dark.

1: Just works; basically, you’re hoping Mallory isn’t listening while you send the Hash and Randomizer. But if Mallory only tunes in after you have sent those, he’s out of luck.

2: OOB: You’re switching to some other medium of communication so that Mallory has to also be listening on that medium as well. But he might be, so you’d better do what you can to protect the hash/randomizer.

Also, follow up question; they tout near field communication as the best way of using OOB, and I can see why; it’s extremely limited range is an asset in this context. But, in my use case, my only OOB option is wifi. Does that defeat the purpose of OOB, since its just as insecure as putting it out over bluetooth in the first place?

3: Numeric Comparison & Passkey: You’re passing the Hash and Randomizer over bluetooth as in the Just Works model, but then your… asking the user to confirm some numbers? Which, somehow, keep Mallory away?

I don’t really get how these models work. I’ve looked at the agent-api in blueZ, and it seems like there isn’t any relationship between the passkey generated and any secure information at all… in the following snippet of the python script simple-agent, you literally take keyboard input from the user and ask the other device to punch in the same code.

def RequestPinCode(self, device):     print("RequestPinCode (%s)" % (device))     set_trusted(device)     omgwtfbbq = ask("Enter PIN Code: ")     return omgwtfbbq 

I don’t understand how that helps at all.

Bluetooth between iPad Mini and Mac Pro keeps dropping

  • Mac Pro (early 2009) 4,1 -> 5,1
  • macOS 10.14.1 Mojave (using dosdude1.com/mojave)
  • iPad Mini 2
  • iOS 12.1

Hello, I am trying to connect my newly bought (but second hand) iPad to my Mac Pro using bluetooth so that I can take advantage of the Universal Clipboard facility. However, as soon as I pair the iPad and the Mac Pro, the connection drops after a second or so. It doesn’t even allow me time to investigate the RSSI settings.

I know that the bluetooth on the Mac Pro is working because I am using a Magic Keyboard connected by bluetooth with no problems whatsoever.

Thoughts anyone?

Can I use android tablet as a handsfree or headset bluetooth device profile ? Status in 2018

This question is a duplicate of this thread from 2011. I am asking because I suspect android may have been subject to an update or two since then.

My use case is

Old car with aux input

Tablet screwed into the dash

Tablet audio out into the car radio and wired microphone next to the rear view mirror into the tablet.

I want to get in my car and take a call, without taking my phone out of my pockets. I’ve been searching an hour, reading 25 page long forum threads, still no definitive answers and almost all threads are from 2012 or so.

With all the people screwing tablet into their car’s dash, there just has to be a way to do this right ?