Page 1 of 1

NanoPC-T2 board android 5.1.1 Bluetooth not enabling?

Posted: Wed May 17, 2017 9:35 am
by Manikandan
When I download the image file for android 5.1.1 and put them into sdcard(samsung class10 sdcard) and then boot into board everything working fine(Android wifi,bluetooth,hotspot etc..,).But Same image file write into eMMC using S5P4418 eflasher and then boot into nanopc-t2 board Bluetooth not Enabling(by default it will try to enabling but it will not work).
Also checked Bluetooth hardware,it's working fine...
android 5.1.1 image file flash into eMMC and then run Bluetooth not Enabling.....
what to do help me? :( :( :( :(

Re: NanoPC-T2 board android 5.1.1 Bluetooth not enabling?

Posted: Thu May 18, 2017 2:56 am
by chensy
Hi
We provide a key to write to emmc image:s5p4418-eflasher-sd8g-20170414-full.img,you can try to use this image.

Thanks!

Re: NanoPC-T2 board android 5.1.1 Bluetooth not enabling?

Posted: Thu May 18, 2017 6:06 am
by Manikandan
I am also used same s5p4418-eflasher-sd8g-20170414-full.img to write into emmc.
My question is in s5p4418-eflasher-sd8g-20170414-full.img android 4 and android 5 why Bluetooth not enabling(Bluetooth doesn't ON)....

But same image file Debian and Ubuntu operating system Bluetooth working fine(Bluetooth ON perfectly)

In Android only Bluetooth not working(Bluetooth doesn't ON).....Why what the reason?

plz help me....I didn't know how to slove.... :roll: :roll: :roll:

Thanks!

Re: NanoPC-T2 board android 5.1.1 Bluetooth not enabling?

Posted: Mon May 22, 2017 1:18 pm
by androfan
Chensy, I have the same problem. It just toggles. I switches on and off. I have used the same image s5p4418-eflasher-sd8g-20170414-full.img into emmc and couldn't get the BT to switch on. Also, I tried compiling from the source and have the same issue as well. Would appreciate any support.

chensy wrote:
Hi
We provide a key to write to emmc image:s5p4418-eflasher-sd8g-20170414-full.img,you can try to use this image.

Thanks!

Re: NanoPC-T2 board android 5.1.1 Bluetooth not enabling?

Posted: Mon Jul 03, 2017 12:18 pm
by Manikandan
Hai androfan ,

I can solve the Bluetooth Disable Problem.

you can modify the bt_stack.conf file below Location :

android/out/target/product/nanopi2/system/etc/bluetooth/

# Enable BtSnoop logging function
# valid value : true, false
BtSnoopLogOutput=false

# BtSnoop log output file
BtSnoopFileName=/sdcard/btsnoop_hci.log

# Preserve existing BtSnoop log before overwriting
BtSnoopSaveLog=false

# Enable trace level reconfiguration function
# Must be present before any TRC_ trace level settings
TraceConf=false

# Trace level configuration
# BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated )
# BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages )
# BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages )
# BT_TRACE_LEVEL_API 3 ( API traces )
# BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events )
# BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages )
# BT_TRACE_LEVEL_VERBOSE 6 ( Verbose messages ) - Currently supported for TRC_BTAPP only.
TRC_BTM=2
TRC_HCI=2
TRC_L2CAP=2
TRC_RFCOMM=2
TRC_OBEX=2
TRC_AVCT=2
TRC_AVDT=2
TRC_AVRC=2
TRC_AVDT_SCB=2
TRC_AVDT_CCB=2
TRC_A2D=2
TRC_SDP=2
TRC_GATT=2
TRC_SMP=2
TRC_BTAPP=2
TRC_BTIF=2


Modify bt_stack.conf files below as :


# Enable BtSnoop logging function
# valid value : true, false
BtSnoopLogOutput=true

# BtSnoop log output file
BtSnoopFileName=/sdcard/btsnoop_hci.log

# Preserve existing BtSnoop log before overwriting
BtSnoopSaveLog=true

# Enable trace level reconfiguration function
# Must be present before any TRC_ trace level settings
TraceConf=true

# Trace level configuration
# BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated )
# BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages )
# BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages )
# BT_TRACE_LEVEL_API 3 ( API traces )
# BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events )
# BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages )
# BT_TRACE_LEVEL_VERBOSE 6 ( Verbose messages ) - Currently supported for TRC_BTAPP only.
TRC_BTM=2
TRC_HCI=2
TRC_L2CAP=2
TRC_RFCOMM=2
TRC_OBEX=2
TRC_AVCT=2
TRC_AVDT=2
TRC_AVRC=2
TRC_AVDT_SCB=2
TRC_AVDT_CCB=2
TRC_A2D=2
TRC_SDP=2
TRC_GATT=2
TRC_SMP=2
TRC_BTAPP=2
TRC_BTIF=2

Thanks ...!!!!