The best method for this is to collect all of your contacts into a vcf file, and then copy it between the phones
- Go to contacts
- Click on the triple dot in the top left hand corner
- Click on Import/Export
- Export to .vcf file
- Save it somewhere you can get at it from your linux computer
- Copy it across
To import them, you just follow the same steps, but you choose import instead.
I have a Moto-G, and this works for me!
Looks like you need something like this (Let me copy the relevant part here, just in case):
First of all, you need to enable BT PAN support in your OPENWRT firmware:
$ git clone https://git.openwrt.org/openwrt/openwrt.git/
$ cd openwrt
$ ./scripts/feeds update -a
$ ./scripts/feeds install -a
$ cp enable_btpan_usbrndis_for_wzr-hz-g300nh.seed .config
$ make defconfig
$ make
After flashing your image to router, use bluetoothctl to turn on your dongle
bluetoothctl power on
ssh login to OpenWrt and set NAP UUID to bluetoothd:
dbus-send --system
--dest=org.bluez /org/bluez/hci0
--type=method_call
org.bluez.NetworkServer1.Register
string:“00001116-0000-1000-8000-00805f9b34fb”
string:"br-lan"
Check, if bluetoothd supports NAP role by running bluetoothd show
. It should show something like this:
Controller 00:1B:DC:06:61:D4 (public)
Name: BlueZ 5.49
Alias: BlueZ 5.49
Class: 0x00020000
Powered: yes
Discoverable: no
Pairable: yes
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: NAP (00001116-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6
Set your device (phone) as trusted in advance (substitute MAC with your own, obviously):
root@OpenWrt:~# bluetoothctl
[bluetooth]# trust 00:02:5B:00:A5:A5
[CHG] Device 00:02:5B:00:A5:A5 Trusted: yes
Changing 00:02:5B:00:A5:A5 trust succeeded
[bluetooth]#
Make BT discoverable on OpenWrt router and pair to it from Android device. Then tick "Use for Internet access" checkbox in device properties.
bnep0
interface, belonging to br-lan
bridge should appear in OpenWRT at this stage.
Best Answer
Requirements:
sudo apt install adb
. Or download it directly from this link.adb devices
in terminal, allow USB debugging prompt in phone.Procedure:
adb logcat -c
To filter out the GPS logs only, run any of the command below:
adb logcat | grep -i gps
adb logcat "*:S Gps_test_Activity"
The output will show 1. Number of Satellites (num) 2. Satellite ID (prn) 3. Elevation 4. Azimuth. For further filtering, use grep, awk, sed tools.