Hello everyone,
I have Huawei nova CAN-L12 with Android 7.0 / EMUI5.0.2. It works very good and I like this.
To the confirm Bluetooth packet, I tried to set on "Enabled Bluetooth HCI snoop log" to on in developer options.
However I cannot find the btsnoop_hci.log in /sdcard or other directories.
If someone knows to capture HCI log, could you please tell me how to enable it?
Solved
The problem was solved. I was able to get the bt_snoop log using adb dumpsys command.
Thanks,
Related
I would like to use my MDA pro as Modem under Linux (Ubuntu 5.10).
I tried it with USB connection and with Bluetooth, both with no luck.
My Question is, wether someone got this working and if yes, I would like to ask then also for a kind of howto, please.
umts modem
HI, I connect my universal via bluetooth under linux to /dev/rfcomm0 by using rfcomm tools. Next I run pppconfig tool to create a new connection, dialed number is *99# username and password - none..
On universal
1] start wireless modem over bluetooth
On linux box
1] # pon connectionname
tail -f /var/log/messages -- look at this for debug
connection may works fine for me..
at first can you pair your device with linux of course
sorry for my bad english..
hi!
i'm a linux newbie and have some problems to get my mda connected via usb to an ubuntu 5.10 distribution.
could someone please explain me how to use rfcomm? when i connect the mda, how can i find out name, port and mac adress of the device?
is there a tool out there, which shows me some informations for attached usb devices?
it would be very nice if someone could give me a step-by-step instruction for connecting my mda correctly to my pc and connecting both via umts to the internet.
on windows i got the usb-modem dialer which allows me to enter an apn. how do i handle this under ubuntu?
sorry for the newbie questions and my bad english. anyhow i hope someone would help me.
many thanks and best regards
sebone
umts
If your bluetooth is working correctly, you have to set a rfcomm device.
# hcitool scan
this show you mac address of your bt device
# rfcomm connect 0 MAC channel
this can make a node rfcomm0 in /dev
instead of channel you can type number from 1 to x
I don't remember exact number of channel..
right number can test for example with minicom.
thanks for your reply but i need to get it working via usb connection.
is anybody able to help me in this case?
thank you very much.
usb modem
However, I'am didn't find any usb modem linux drivers for universal ..
BT is best choice for now.
sebone said:
i need to get it working via usb connection.
Click to expand...
Click to collapse
serial over USB did not work for wince5 last time i have checked.
http://synce.sourceforge.net/synce
I've been trying to get my trinity to work as an USB modem to Ubuntu Linux not succeeding in it. I've gotten the phone say connecting but nothing. Can anyone help me?
I'm sorry if this has been gone through already but I'm surfing with my PDA and trying to find info is killing me with this screen..
BTW I also don't have gps under the settings.. I've upgraded the official ROM. Should I have it?
Thanks to everyone.
I've got the same your problem...
I can't understand ... usually I do it by a rfcomm connection next I use the dev /dev/rfcomm1 like a modem device
con this windows mobile it doesn't work
solution is here....
http://forums.gentoo.org/viewtopic-t-564041-highlight-.html
you should have pand and have to activate remote connections on the phone
so you will be able to navgate by phone trought bluetooth
this is a simple script that I have configured
#!/bin/bash
MACTELEFONO="xx:xx:xx:xx:xx:xx"
echo "connessione a $MACTELEFONO"
pand --connect $MACTELEFONO
dhcpcd bnep0
I just recently rooted and installed Cyanogen 4.0.2, primarily to get WiFi tether going. It works just fine for the most part, but no matter how I set it up it refuses to apply WEP encryption. I have the checkbox checked and a passphrase saved, but when I turn on the tether and look it up on the PC, it says "unencrypted connection" and lets me connect to it without a password.
Anybody know what I'm doing wrong?
I have the same problem with cyanogen 4.0.4.
If you figure it out let me know
Have you tried looking at the Show Log option and checking for any errors? If no errors are showing up in the WT4R log, install a log collector or hook the phone up via adb and dump out the logcat. That should shed some light on the problem.
FTR I have no problems creating an encrypted connection on JF1.51 ADP1.
Hi
Simple question. Before HD2 I had Samsung Spica mad and I'm using there apps like:
EasySMS over WiFi - 100% working on Spica http://www.appbrain.com/app/easysms-desktop-sms-free/org.fireblade.easysms
WebSharing over WiFi - 100% working on Spica http://www.appbrain.com/app/websharinglite-file-media-sync/nextapp.websharing
and Samba Filesharing over WiFi - 100% working on Spica. http://www.appbrain.com/app/samba-filesharing/com.funkyfresh.samba
Gremote doesn't work too. It is strange becouse this app is different that listed above.
Since I have HD2 it doesn't work (and all alternative apps too). Samba see phone in workgroup but can't connect to it. EasySMS & WebSharing get connection timeout when i want to connect.
BTW: When i enter IP adress in HD2 browser i can log in to EasySMS or WebSharing. So what is the problem?
Maybe somebody can fix it? I try many roms (SD and NAND) = problem is on everyone :/
Sorry for bad english :<
we sharing lite works fine for me, enter your ip adress for the hd2 into your computer browser then enter the password
i have also iused other sharing programs without any problems
What ROM that you use?
I know how to use this program, and they don't work. It isn't the router issue cuz i can use that programs on my father LG Swift.
Here: WebSharing - connection timeout - http://screenshooter.net/2156127/ebuwvsv
I have HD2 with MDJ's CyanogenMod 7 v. 2.6 - Gingerbread 2.3.2 ROM, and I have similars problems. All programs like MyPhoneExplorer (can't find phone) Samba Filesharing (identical problem like Lanc1337) doesn't work.
I can't ping phone from computer connected to router. I check all on another router, problem is the same.
Before I have ZTE Blade and all work perfect!
I found ROM where sharing is working!
http://forum.xda-developers.com/showthread.php?t=912427 - all type of sharing is working here!
But i don't like sense -.- So, why this isn't working on all roms? Kernel or rom issues? I would like this to work on CM build...
Try this:
launch terminal and type:
su [ENTER]
iptables -P INPUT ACCEPT [ENTER]
iptables -F [ENTER]
of course [ENTER] mean press ENTER key
Doesn't work. After i enter second and third command i have error:
getsockopt for multiport failed strangely: No such file or directory
Errors is ok - don't worry. In my Ginger this is working for Samba (I'm using MDJ Cyan V2.7 NAND)...
Maybe try this at first (in terminal):
iptables -P INPUT ACCEPT [ENTER]
and after all this try ping your HD2 from computer (try ping -t ip_address to continous ping - it's good idea to ping -t your_hd2_ip from computer to see if and commands helped) and ping your computer from HD2.
Before I put all this my phone isn't visible in LAN (even with ping command). After putting this everything is ok (and ping is working ).
Put here yours output (after all commands) of "iptables --list [ENTER]" please. Maybe I'll figure someting out...
I check all, and:
I must enter commands:
1. su
2. iptables -P INPUT ACCEPT [ENTER]
and start pinging from phone to computer.
After this software like MyPhoneExplorer can connect to phone. If I enter only commands, and don't use ping command, computer can't connect to my phone.
It's very strange....
After enter iptables --list
chain INUPUT (policy ACCEPT)
chain FORWARD (policy ACCEPT)
chain UTPUT (policy ACCEPT)
I check all again from start to end.
I must enter to terminal su,
and start ping, after this i can exit ping, and I can connect to phone, and phone reply to pings. I don't must enter "iptables -P INPUT ACCEPT"
Any ideas for permamently solution ?
UP
Permament solution will be great!
Sorry for spam :/ Is nobody know how to solve this issue?
Bump!
Hi, also have this issue. Doing the iptables command doesnt do anything for me, it just gives me a bunch of errors. In my case it is enough to just ping my computer from HD2 using terminal emulator or other app (I use Net ping) and I can connect to phone via wifi immediately. After phone restarts I have to do that again.
i have just same issue,seems all CM based rom has this problem,anyone has any ideas?
anotherfullbowl said:
i have just same issue,seems all CM based rom has this problem,anyone has any ideas?
Click to expand...
Click to collapse
Not really.... Besides this one I am currently bumping another thread like this in hope that someone will show up with something, at least with a few pointers of how and where to look for the reason of this issue....
clyder said:
Not really.... Besides this one I am currently bumping another thread like this in hope that someone will show up with something, at least with a few pointers of how and where to look for the reason of this issue....
Click to expand...
Click to collapse
Is this problem Only comes with CM roms?Is there Anyone who use CM rom with sharing apps working?
I really like CM roms, it has some good features,but sharing apps also important for me.
how can i unlock my htc hd 2
anotherfullbowl said:
Is this problem Only comes with CM roms?Is there Anyone who use CM rom with sharing apps working?
I really like CM roms, it has some good features,but sharing apps also important for me.
Click to expand...
Click to collapse
Not only CM ROMs. I am using UltimateDroid based ROM and also have this issue. My guess was that it could be related to Gingerbread, but I could be wrong.
Has anyone solved this?
I just found out that by using tytung r6 kernel this issue is gone. When I turn the wifi on, connect to the router I can ping the phone immediately. Also Wifi tethering in settings menu works. I am currently having some issues with restoring apps but wifi works great. I have downloaded r6 CWM install from here.
@anybody: please activate "Bluetooth HCI-Snoop-Protocol" in developer options and tell me if you have the file /sdcard/btsnoop_hci.log on your phone.
If yes => please tell me which rom you are using.
i am on xXx 9.6
the file is not existing. I tried to edit the /etc/bluetooth/bt_stack.conf manually. still no success. I need to debug the bluetooth data between my smartwatch (zeTime) and my phone.
It will be saved in /sdcard/oem_log/ once you enable logging in oemlogkit.
Dialer -> input *#800#->get wireless log->get bluetooth log.
Got the log. Can you recommend a tool to read it? Something Like wireshark for Android?
I am new to this. I am a java Developer, but new to Bluetooth Debugging
You can analyze it with wireshark, there's also a HCI debugger app in the play store.
Is anybody else having problems with the btsnoop file not being generated?
I've had Bluetooth problems ever since updating to OxygenOS 5.1.1 (https://forums.oneplus.com/threads/constant-bluetooth-problems-after-updating-to-5-1-1.831111/), and I'm still having the same problem after doing clean flash to 5.1.3.
OnePlus contact me about this and gave me the instructions to generate the log files to email to them, I followed those instructions and it generated different log files in the oem_log directory, except for the btsnoop file itself, and they were at a loss as well as to why the btsnoop file wasn't being generated.
Here's the instructions they gave me, I followed it to a "T" and tried different variations hoping one of them would work, but no luck.
Input *#800# from dialing interface, enter "oneplus logkit", delete history log
Click "advanced" > "save log type" > enable all options, then click OK
Tap “move log path to built-in SD card” and then click "save log", when it informs you whether to reboot, click “cancel” > enter "Wireless connection", enable "Bluetooth air bag switch" and “Bluetooth protocol stack LOG switch”
Go back, click "get QXDM Log, choose “bt related”, roll down, click "open device log"
Go to: settings>Developer options> Click Enable Bluetooth HCI snoop log to make sure this function has been enabled. If it is enable already, please enable again.
(Important) Then turn Bluetooth on, reproduce the issue and take a screenshot to record the time
Wait for several minutes (better above 10 minutes), tap "save log" and click “move log path to built-in SD card” again to stop it, enter QXDM Log and choose “close device log”