I ran into some issues with OTG with a certain device.
When I try to use my HackRF (Software defined radio peripheral) with the RF Analyzer app the device is reset immediately when the app tries to open the USB connection.
To me it seems that the Tegra USB driver does not like this device. (The app itself uses only the official Android USB API and no native code and does not require root)
I made some tests to ensure that this issue is not the app and not my OTG setup:
- Tested everything with & without a powered USB hub to make sure it is not a power issue
- USB mouse & USB flash drive are working fine on my N9
- I tested the HackRF on my Nexus 5, LG G Pad 7.0 and on the Archos 97b Titanium - it works fine there.
- My N9 is running the latest firmware (R)
I'm posting here about it because maybe one of you has an idea how this could be fixed.
References:
GitHub discussion about this issue:
https://github.com/demantz/hackrf_android/issues/2
(comments 8-11)
RF Analyzer app:
https://github.com/demantz/RFAnalyzer
https://play.google.com/store/apps/details?id=com.mantz_it.rfanalyzer
HackRF:
https://greatscottgadgets.com/hackrf/
https://github.com/mossmann/hackrf/wiki
Logcat:
Code:
I/ActivityManager( 1378): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.mantz_it.rfanalyzer/.MainActivity (has extras)} from uid 10022 on display 0
I/ActivityManager( 1378): Start proc com.mantz_it.rfanalyzer for activity com.mantz_it.rfanalyzer/.MainActivity: pid=14943 uid=10096 gids={50096, 9997, 1028, 1015, 3003} abi=arm64-v8a
I/MainActivity(14943): onCreate: started logcat (Process[pid=14962]) to /storage/emulated/0/RFAnalyzer/log.txt
D/OpenGLRenderer(14943): Render dirty regions requested: true
D/Atlas (14943): Validating map...
I/OpenGLRenderer(14943): Initialized EGL, version 1.4
D/OpenGLRenderer(14943): Enabling debug mode 0
I/ActivityManager( 1378): Displayed com.mantz_it.rfanalyzer/.MainActivity: +531ms
D/HackRFSource(14943): setBasebandFilterWidth: Setting BB filter width to 15000000
D/HackRFSource(14943): setSampleRate: setting sample rate to 20000000
D/TaskPersister( 1378): removeObsoleteFile: deleting file=349_task.xml
I/hackrf_android(14943): initHackrf: Found 1 USB devices.
D/hackrf_android(14943): initHackrf: deviceList: vendor=7504 product=24713
I/hackrf_android(14943): initHackrf: Found HackRF One at /dev/bus/usb/003/003
D/TaskPersister( 1378): removeObsoleteFile: deleting file=349_task_thumbnail.png
I/ActivityManager( 1378): START u0 {flg=0x10000000 cmp=com.android.systemui/.usb.UsbPermissionActivity (has extras)} from uid 1000 on display 0
D/hackrf_android(14943): Permission request for device /dev/bus/usb/003/003 was send. waiting...
I/art ( 1378): Background sticky concurrent mark sweep GC freed 15638(826KB) AllocSpace objects, 5(7MB) LOS objects, 14% free, 48MB/55MB, paused 14.834ms total 55.769ms
I/ActivityManager( 1378): Displayed com.android.systemui/.usb.UsbPermissionActivity: +54ms
W/InputMethodManagerService( 1378): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMeth
[email protected] attribute=null, token = [email protected]
D/OpenGLRenderer( 1553): endAllStagingAnimators on 0x558e65fbf0 (RippleDrawable) with handle 0x558de22900
D/hackrf_android(14943): initHackrf: Permission granted for device /dev/bus/usb/003/003
I/hackrf_android(14943): constructor: create Hackrf instance from /dev/bus/usb/003/003. Vendor ID: 7504 Product ID: 24713
I/hackrf_android(14943): constructor: device protocol: 0
I/hackrf_android(14943): constructor: device class: 0 subclass: 0
I/hackrf_android(14943): constructor: interface count: 2
I/hackrf_android(14943): constructor: [interface 0] interface protocol: 255 subclass: 255
I/hackrf_android(14943): constructor: [interface 0] interface class: 255
I/hackrf_android(14943): constructor: [interface 0] endpoint count: 2
I/hackrf_android(14943): constructor: [endpoint 0 (IN)] address: 129 attributes: 2 direction: 128 max_packet_size: 512
I/hackrf_android(14943): constructor: [endpoint 1 (OUT)] address: 2 attributes: 2 direction: 0 max_packet_size: 512
D/UsbHostManager( 1378): Added device UsbDevice[mName=/dev/bus/usb/003/004,mVendorId=7504,mProductId=24713,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=Great Scott Gadgets,mProductName=HackRF One,mSerialNumber=null,mConfigurations=[
D/UsbHostManager( 1378): UsbConfiguration[mId=1,mName=Transceiver,mAttributes=128,mMaxPower=250,mInterfaces=[
D/UsbHostManager( 1378): UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=255,mSubclass=255,mProtocol=255,mEndpoints=[
D/UsbHostManager( 1378): UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
D/UsbHostManager( 1378): UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]
D/UsbHostManager( 1378): UsbConfiguration[mId=2,mName=CPLD update,mAttributes=128,mMaxPower=250,mInterfaces=[
D/UsbHostManager( 1378): UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=255,mSubclass=255,mProtocol=255,mEndpoints=[
D/UsbHostManager( 1378): UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
D/UsbHostManager( 1378): UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]]
D/AndroidRuntime(14943): Shutting down VM
E/AndroidRuntime(14943): FATAL EXCEPTION: main
E/AndroidRuntime(14943): Process: com.mantz_it.rfanalyzer, PID: 14943
E/AndroidRuntime(14943): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.mantz_it.hackrf_android.USB_PERMISSION flg=0x10 (has extras) } in [email protected]
E/AndroidRuntime(14943): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:871)
E/AndroidRuntime(14943): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(14943): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(14943): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(14943): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(14943): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(14943): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(14943): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(14943): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(14943): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.hardware.usb.UsbDeviceConnection.claimInterface(android.hardware.usb.UsbInterface, boolean)' on a null object reference
E/AndroidRuntime(14943): at com.mantz_it.hackrf_android.Hackrf.sendUsbRequest(Hackrf.java:469)
E/AndroidRuntime(14943): at com.mantz_it.hackrf_android.Hackrf.getBoardID(Hackrf.java:505)
E/AndroidRuntime(14943): at com.mantz_it.rfanalyzer.HackrfSource.isOpen(HackrfSource.java:113)
E/AndroidRuntime(14943): at com.mantz_it.rfanalyzer.MainActivity.startAnalyzer(MainActivity.java:724)
E/AndroidRuntime(14943): at com.mantz_it.rfanalyzer.MainActivity.onIQSourceReady(MainActivity.java:421)
E/AndroidRuntime(14943): at com.mantz_it.rfanalyzer.HackrfSource.onHackrfReady(HackrfSource.java:99)
E/AndroidRuntime(14943): at com.mantz_it.hackrf_android.Hackrf$1.onReceive(Hackrf.java:202)
E/AndroidRuntime(14943): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:861)
E/AndroidRuntime(14943): ... 8 more
W/ActivityManager( 1378): Force finishing activity com.mantz_it.rfanalyzer/.MainActivity
W/ContextImpl( 1378): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1321 com.android.server.usb.UsbSettingsManager.deviceAttached:741 com.android.server.usb.UsbHostManager.endUsbDeviceAdded:286 com.android.server.usb.UsbHostManager.monitorUsbHostBus:-2 com.android.server.usb.UsbHostManager.access$000:47
I/OpenGLRenderer( 1378): Initialized EGL, version 1.4
I/art ( 1378): Background partial concurrent mark sweep GC freed 10113(655KB) AllocSpace objects, 11(12MB) LOS objects, 26% free, 44MB/60MB, paused 1.052ms total 111.381ms
W/ActivityManager( 1378): Activity pause timeout for ActivityRecord{1afa49bd u0 com.mantz_it.rfanalyzer/.MainActivity t351 f}
D/WifiService( 1378): acquireWifiLockLocked: WifiLock{Firepaper type=1 [email protected]}
D/WifiService( 1378): releaseWifiLockLocked: WifiLock{Firepaper type=1 [email protected]}
D/TaskPersister( 1378): removeObsoleteFile: deleting file=352_task_thumbnail.png
Kernel Log:
Code:
<6>[ 103.778733] usb 3-1.4: reset high-speed USB device number 6 using tegra-ehci
<6>[ 103.901440] usb 3-1.4: USB disconnect, device number 6
<6>[ 103.998737] usb 3-1.4: new high-speed USB device number 7 using tegra-ehci
<6>[ 104.109981] usb 3-1.4: New USB device found, idVendor=1d50, idProduct=6089
<6>[ 104.110017] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>[ 104.110029] usb 3-1.4: Product: HackRF One
<6>[ 104.110038] usb 3-1.4: Manufacturer: Great Scott Gadgets
<6>[ 144.698651] usb 3-1.4: reset high-speed USB device number 7 using tegra-ehci
<6>[ 144.810814] usb 3-1.4: USB disconnect, device number 7
<6>[ 144.908648] usb 3-1.4: new high-speed USB device number 8 using tegra-ehci
<6>[ 145.019949] usb 3-1.4: New USB device found, idVendor=1d50, idProduct=6089
<6>[ 145.019973] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>[ 145.019984] usb 3-1.4: Product: HackRF One
<6>[ 145.019993] usb 3-1.4: Manufacturer: Great Scott Gadgets
Related
I created VPN connection: L2TP/IPSec CRT VPN
When i connect to it and then start browsing using any of browsers available: Dolphin HD, FF or original one the effect is the same.
Website will start to open and then - SGS2 will suddenly reboot itself. This happens every each time, like 100% of attempts.
I have Android 2.3.4 on non-rooted phone. The same was when i had 2.3.3.
All browsers are up to date.
Have someone met with similar issue?
Does anyone use VPN on SGS2?
Maybe you could say which VPN settings work for you and don't crash your phone?
I've the similar issues.
every time I try to connect VPN(via PPTP), it reboots 100%.
EDIT: this only happens in 3G network. It's fine in wireless network. and when I had official Fireware, VPN connection is fine in wireless network, but can't connect in 3G network.(not reboot, but can't connect).
UPDATE: I use openvpn now, it works both in 3G and wireless network.
Android version: 2.3.5
Baseband version: I9100XXKI4
Kernel version: [email protected] #20
Build number: VillainROM 3.0
below is last log.
...
D/VpnSettings( 2860): received connectivity: lin: connected? CONNECTING err=0
I/SProxy_mtpd( 3713): Stop VPN daemon: mtpd
D/SProxy_mtpd( 3713): mtpd is stopped after 0 msec
D/SProxy_mtpd( 3713): stopping mtpd, success? true
I/SProxy_racoon( 3713): Stop VPN daemon: racoon
D/SProxy_racoon( 3713): racoon is stopped after 0 msec
D/SProxy_racoon( 3713): stopping racoon, success? true
D/VpnService( 3713): Local IP: 172.20.197.241, if: pdp0
D/VpnService( 3713): VPN UP: down
I/SProxy_mtpd( 3713): Start VPN daemon: mtpd
D/SProxy_mtpd( 3713): mtpd is running after 0 msec
D/SProxy_mtpd( 3713): service not yet listen()ing; try again
D/mtpd ( 3761): Waiting for control socket
W/WindowManager( 2628): Window Window{40917ff0 InputMethod paused=false} destroyed surface Surface(name=InputMethod, identity=-1, mNativeSurface=0), session Session{405875b0 uid 10023}
W/WindowManager( 2628): Window Window{40954400 com.android.settings/com.android.settings.vpn.VpnSettings paused=false} destroyed surface Surface(name=com.android.settings/com.android.settings.vpn.VpnSettings, identity=-1, mNativeSurface=0), session Session{40a1f480 uid 1000}
I/AudioFlinger( 2517): stop output streamType (0, 1) for 1
D/mtpd ( 3761): Received 20 arguments
I/mtpd ( 3761): Using protocol pptp
I/mtpd ( 3761): Connecting to 208.87.241.242 port 1723
I/SProxy_mtpd( 3713): got data from control socket: 20
I/WindowOrientationListener( 2628): orientation = 2.7881243 Tilt = 49.877125 -- 0 , 5 , 6
I/StatusBarPolicy( 2757): onDataActivity-D:2
W/PowerManagerService( 2628): Timer 0x3->0x3|0x0
I/WindowOrientationListener( 2628): orientation = 352.82892 Tilt = 51.894356 -- -1 , 5 , 7
I/StatusBarPolicy( 2757): onDataActivity-D:0
I/ALSAModule( 2517): Terminated ALSA PLAYBACK device hifi
I/TelephonyRegistry( 2628): notifyDataConnection: state=2 activeState=2 isDataConnectivityPossible=true reason=networkTypeChanged apn=3gnet interfaceName=pdp0 networkType=10
I/StatusBarPolicy( 2757): onDataConnectionStateChanged-S:2 T:10
I/StatusBarPolicy( 2757): updateDataNetType-T:10
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for hipri
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for supl
D/MobileDataStateTracker( 2628): default Received state= CONNECTED, old= CONNECTED, reason= networkTypeChanged, apnTypeList= default,supl
D/PhoneApp( 2776): CONNECTED - hideDataDisconnectedRoaming()
I/TelephonyRegistry( 2628): notifyDataConnection: state=2 activeState=2 isDataConnectivityPossible=true reason=networkTypeChanged apn=3gnet interfaceName=pdp0 networkType=10
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for hipri
I/StatusBarPolicy( 2757): onDataConnectionStateChanged-S:2 T:10
I/StatusBarPolicy( 2757): updateDataNetType-T:10
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for supl
D/MobileDataStateTracker( 2628): default Received state= CONNECTED, old= CONNECTED, reason= networkTypeChanged, apnTypeList= default,supl
D/PhoneApp( 2776): CONNECTED - hideDataDisconnectedRoaming()
I/DBG_WSS_DM( 2889): [DMService.java Line:1680] ProtoIsWIFIConnected WiFi DisConnected
I/DBG_WSS_DM( 2889): [wssdminitadapter.java Line:47] smlNetAdpGetNetStatus Network Status is DATA CONNECTED!
I/DBG_WSS_DM( 2889): [wssdmdb.java Line:4606] smldmdbGetFUMOStatus smldmdbGetFUMOStatus 0
I/DBG_WSS_DM( 2889): [DMService.java Line:1680] ProtoIsWIFIConnected WiFi DisConnected
I/DBG_WSS_DM( 2889): [wssdminitadapter.java Line:47] smlNetAdpGetNetStatus Network Status is DATA CONNECTED!
I/DBG_WSS_DM( 2889): [wssdmdb.java Line:4606] smldmdbGetFUMOStatus smldmdbGetFUMOStatus 0
I/WindowOrientationListener( 2628): orientation = 344.46457 Tilt = 48.900993 -- -1 , 6 , 7
I/mtpd ( 3761): Connection established (socket = 15)
D/mtpd ( 3761): Sending SCCRQ
I/StatusBarPolicy( 2757): onDataActivity-D:3
D/PowerManagerService( 2628): onSensorChanged: light value: 100
D/mtpd ( 3761): Received SCCRP -> Sending OCRQ (local = 20894)
I/mtpd ( 3761): Tunnel established
D/mtpd ( 3761): Received OCRQ (remote = 14)
I/mtpd ( 3761): Session established
I/mtpd ( 3761): Creating PPPoX socket
I/mtpd ( 3761): Starting pppd (pppox = 16)
I/mtpd ( 3761): Pppd started (pid = 3766)
I/pppd ( 3766): Using PPPoX (socket = 16)
I/WindowOrientationListener( 2628): orientation = 342.6661 Tilt = 50.072685 -- -1 , 6 , 7
D/pppd ( 3766): using channel 1
D/Tethering( 2628): ppp0 is not a tetherable iface, ignoring
D/NetdConnector( 2628): RCV <- {600 Iface added ppp0}
I/pppd ( 3766): Using interface ppp0
I/pppd ( 3766): Connect: ppp0 <-->
I/WindowOrientationListener( 2628): orientation = 343.91614 Tilt = 51.024433 -- -1 , 5 , 7
D/NetdConnector( 2628): doCommand :: cmd = interface readrxcounter rmnet0
D/NetdConnector( 2628): sendCommand :: command = interface readrxcounter rmnet0, argument = null
D/NetdConnector( 2628): SND -> {interface readrxcounter rmnet0} {null}
D/NetdConnector( 2628): RCV <- {216 0}
D/NetdConnector( 2628): RSP <- {216 0}
D/NetdConnector( 2628): doCommand :: cmd = interface readtxcounter rmnet0
D/NetdConnector( 2628): sendCommand :: command = interface readtxcounter rmnet0, argument = null
D/NetdConnector( 2628): SND -> {interface readtxcounter rmnet0} {null}
D/NetdConnector( 2628): RCV <- {217 0}
D/NetdConnector( 2628): RSP <- {217 0}
I/WindowOrientationListener( 2628): orientation = 344.20612 Tilt = 51.3699 -- -1 , 5 , 7
I/WindowOrientationListener( 2628): orientation = 344.7156 Tilt = 51.8557 -- -1 , 5 , 7
I/StatusBarPolicy( 2757): onDataActivity-D:2
# lose connect and reboot
Click to expand...
Click to collapse
Same problem here. I opened another thread about this.
It looks like the problem is there with 2.3.4 and 2.3.5
http://forum.xda-developers.com/showthread.php?t=1297120
I use L2TP IpSec with PSK (because PPTP won't connect with my carrier in China). And everytime my phone reboots after a while (it's not only when surfing, just doing anything using data connection).
Hi All...
thanks for stopping by and reading this...
so my device is rebranded chinese made phone running 4.1.2 Andromax ULE
and it has been rooted and installed with CWM, last time i know, there was no problem with bluetooth...
so for past 5 days i was searching any possible way to fix bluetooth problem not turning on, but with no luck...what i have done, are...
- reboot [not working]
- factory reset [not working]
- flash other custom rom via cwm [still getting bluetooth not turning on]
- flash stock rom via stock recovery [not helping either]
- flash a raw image [download mode] with HDD RAW COPY then change the correct imei and meid [still the same problem]
after all the above step....only BLUETOOTH not working...
here is a log :
build.board: 7x27
build.bootloader: unknown
build.brand: Smartfren
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: msm8x25q_i6cp_smartfren
build.display: Smartfren_i6CP_4.1.2_V1.0h
build.fingerprint: unknown
build.hardware: qcom
build.host: android
build.id: JZO54K
build.manufacturer: JSR
build.model: Andromax U
build.product: msm8x25q_i6cp_smartfren
build.radio: unknown
build.serial: MSM8625QSKUD
build.tags: test-keys
build.time: 1376311689000
build.type: user
build.user: android
version.codename: REL
version.incremental: eng.android.20130812.084655
version.release: 4.1.2
version.sdk_int: 16
11-18 10:00:58.290 W/PackageParser(575): No actions in intent filter at /system/app/Bluetooth.apk Binary XML file line #158
11-18 10:00:58.290 W/PackageParser(575): No actions in intent filter at /system/app/Bluetooth.apk Binary XML file line #227
11-18 10:00:58.290 W/PackageParser(575): No actions in intent filter at /system/app/Bluetooth.apk Binary XML file line #246
11-18 10:01:02.310 W/PackageManager(575): Unknown permission android.permission.MMS_PUSH in package com.android.bluetooth
11-18 10:01:02.310 W/PackageManager(575): Unknown permission android.permission.BLUETOOTH_PERM in package com.android.music
11-18 10:01:02.730 I/SystemServer(575): Bluetooth Service
11-18 10:01:08.840 W/PackageManager(575): Unknown permission android.permission.MMS_PUSH in package com.android.bluetooth
11-18 10:01:08.840 W/PackageManager(575): Unknown permission android.permission.BLUETOOTH_PERM in package com.android.music
11-18 10:01:26.300 W/PackageManager(575): Unknown permission android.permission.MMS_PUSH in package com.android.bluetooth
11-18 10:01:26.300 W/PackageManager(575): Unknown permission android.permission.BLUETOOTH_PERM in package com.android.music
11-18 10:06:38.528 I/ActivityManager(575): Start proc com.android.bluetooth for broadcast com.android.bluetooth/.pbap.BluetoothPbapReceiver: pid=6445 uid=10002 gids={3003, 3002, 3001, 1015, 1023, 1028}
11-18 10:06:38.678 I/ActivityManager(575): Start proc com.android.settings for broadcast com.android.settings/.bluetooth.DockEventReceiver: pid=6458 uid=1000 gids={1015, 1023, 3002, 3001, 3003, 1028, 3006, 1006, 3007}
11-18 10:24:35.752 I/ActivityManager(575): No longer want com.android.bluetooth (pid 6445): hidden #16
11-18 10:24:39.042 D/ConnectivityService(575): Attempting to switch to BLUETOOTH_TETHER
11-18 10:24:39.222 D/ConnectivityService(575): Attempting to switch to BLUETOOTH_TETHER
11-18 10:24:40.092 I/ActivityManager(575): Start proc com.android.bluetooth for broadcast com.android.bluetooth/.pbap.BluetoothPbapReceiver: pid=11789 uid=10002 gids={3003, 3002, 3001, 1015, 1023, 1028}
11-18 10:43:02.793 I/ActivityManager(575): START {act=android.intent.action.MAIN cmp=com.android.settings/.Settings$BluetoothSettingsActivity (has extras) u=0} from pid 11753
11-18 10:47:46.290 I/ActivityManager(575): START {act=android.intent.action.VIEW dat=file:///storage/sdcard0/catlog/saved_logs/Bluetooth_error.txt typ=text/plain cmp=android/com.android.internal.app.ResolverActivity u=0} from pid 13728
11-18 10:47:47.910 I/ActivityManager(575): START {act=android.intent.action.VIEW dat=file:///storage/sdcard0/catlog/saved_logs/Bluetooth_error.txt typ=text/plain flg=0x23000000 cmp=os.tools.scriptmanager/os.tools.manager.textEditor u=0} from pid 575
11-18 10:48:08.110 I/ActivityManager(575): START {act=android.intent.action.SEND typ=text/plain flg=0x23000001 cmp=com.android.bluetooth/.opp.BluetoothOppLauncherActivity (has clip) (has extras) u=0} from pid 575
11-18 10:48:08.300 I/ActivityManager(575): START {flg=0x10000000 cmp=com.android.bluetooth/.opp.BluetoothOppBtEnableActivity u=0} from pid 11789
11-18 10:48:11.200 I/ActivityManager(575): START {flg=0x10000000 cmp=com.android.bluetooth/.opp.BluetoothOppBtEnablingActivity u=0} from pid 11789
11-18 10:54:47.578 I/ActivityManager(575): START {act=android.intent.action.VIEW dat=file:///storage/sdcard0/catlog/saved_logs/Bluetooth_error.txt typ=text/plain cmp=android/com.android.internal.app.ResolverActivity u=0} from pid 13728
11-18 10:54:49.388 I/ActivityManager(575): START {act=android.intent.action.VIEW dat=file:///storage/sdcard0/catlog/saved_logs/Bluetooth_error.txt typ=text/plain flg=0x23000000 cmp=os.tools.scriptmanager/os.tools.manager.textEditor u=0} from pid 575
11-18 10:58:13.428 D/ConnectivityService(575): Attempting to switch to BLUETOOTH_TETHER
11-18 10:58:13.598 D/ConnectivityService(575): Attempting to switch to BLUETOOTH_TETHER
11-18 10:58:14.018 D/BluetoothAdapterStateMachine(575): PowerOff process message: 1
11-18 10:58:14.018 D/BluetoothAdapterStateMachine(575): Bluetooth state 10 -> 11
11-18 10:58:14.078 D/BluetoothMasReceiver(11789): Bluetooth STATE CHANGED to 11
11-18 10:58:14.258 I/qcom-bluetooth(18366): /system/etc/init.qcom.bt.sh: init.qcom.bt.sh config =
11-18 10:58:14.288 I/qcom-bluetooth(18371): /system/etc/init.qcom.bt.sh: Transport :
11-18 10:58:14.288 I/qcom-bluetooth(18372): /system/etc/init.qcom.bt.sh: Power Class: Ignored. Default(1) used (1-CLASS1/2-CLASS2/3-CUSTOM)
11-18 10:58:14.298 I/qcom-bluetooth(18373): /system/etc/init.qcom.bt.sh: Power Class: To override, Before turning BT ON; setprop qcom.bt.dev_power_class <1 or 2 or 3>
11-18 10:58:14.298 I/qcom-bluetooth(18374): /system/etc/init.qcom.bt.sh: LE Power Class: Ignored. Default(2) used (1-CLASS1/2-CLASS2/3-CUSTOM)
11-18 10:58:14.308 I/qcom-bluetooth(18375): /system/etc/init.qcom.bt.sh: LE Power Class: To override, Before turning BT ON; setprop qcom.bt.le_dev_pwr_class <1 or 2 or 3>
11-18 10:58:22.896 E/qcom-bluetooth(18643): /system/etc/init.qcom.bt.sh: Bluetooth QSoC firmware download failed: exit code 1
11-18 10:59:54.435 E/BluetoothAdapterStateMachine(575): failed to prepare bluetooth, abort turning on
11-18 10:59:54.435 D/BluetoothAdapterStateMachine(575): Bluetooth state 11 -> 10
11-18 10:59:54.505 D/BluetoothMasReceiver(11789): Bluetooth STATE CHANGED to 10
Click to expand...
Click to collapse
before i send my phone to service center [which take more than 3 weeks] , is there any solution i could try? many thanks in advance
cheers
any help...?
any sugestions?
still have the problem...any help...
qcom-bluetooth E/qcom-bluetooth(18643): /system/etc/init.qcom.bt.sh: Bluetooth QSoC firmware download failed: exit code 1
Okay, so I've had this problem for a while now and for a while, I just used 3G, but then moved to using a different phone. But now I'm fed up of using my other phone, as it's no where near as good as the DNA, I'm looking to see if I can fix the problem.
Anyway, the problem is that I can't turn WiFi on. I flick the switch and it gets stuck at "Turning on Wi-Fi...".
(It's definitely a problem device side because I can't even see a list of networks or anything)
I'm currently unlocked, S-OFF. I've tried flashing different ROMs/kernels and even flashed back to complete stock. I've tried WiFi Fixer and WFix Manager with no luck.
I also opened the thing up to see if the cable was loose, but seems to be okay - could it be a board issue or something? If it even is a hardware issue?
Anyway, I thought a logcat may turn up some useful information, but I don't really know what I'm doing when it comes to understanding logcats. So perhaps there is someone that can make more of it:
Code:
--------- beginning of /dev/log/main
W/HtcNativeFlag( 8525): Fail to get flag string for type 'customer', use default value
W/HtcNativeFlag( 8525): Fail to get flag for type 'customer', use default value: -1
W/HtcNativeFlag( 8525): Fail to get flag string for type 'language', use default value
W/HtcNativeFlag( 8525): Fail to get flag for type 'language', use default value: -1
V/HtcDLNAServiceManager( 706): Settings:Agentname: wifi_on
V/HtcDLNAServiceManager( 706): Settings:Agentvalue: 1
V/Settings:Agent( 706): >> traceCallingStack()
V/Settings:Agent( 706): Process.myPid(): 706
V/Settings:Agent( 706): Process.myTid(): 1926
V/Settings:Agent( 706): Process.myUid(): 1000
V/Settings:Agent( 706):
V/Settings:Agent( 706):
W/System.err( 706): java.lang.Throwable: stack dump
W/System.err( 706): at java.lang.Thread.dumpStack(Thread.java:497)
W/System.err( 706): at android.provider.Settings$HtcISettings$Agent.traceCallingStack(Settings$HtcISettings.java:56)
W/System.err( 706): at android.provider.Settings$HtcIGlobal$Agent.monitorKey(Settings$HtcIGlobal.java:62)
W/System.err( 706): at android.provider.Settings$Global.putStringForUser(Settings.java:5673)
W/System.err( 706): at android.provider.Settings$Global.putString(Settings.java:5660)
W/System.err( 706): at android.provider.Settings$Global.putInt(Settings.java:5754)
W/System.err( 706): at com.android.server.wifi.WifiSettingsStore.persistWifiState(WifiSettingsStore.java:155)
W/System.err( 706): at com.android.server.wifi.WifiSettingsStore.handleWifiToggled(WifiSettingsStore.java:106)
W/System.err( 706): at com.android.server.wifi.WifiService.setWifiEnabled(WifiService.java:893)
W/System.err( 706): at android.net.wifi.IWifiManager$Stub.onTransact(IWifiManager.java:170)
W/System.err( 706): at android.os.Binder.execTransact(Binder.java:388)
W/System.err( 706): at dalvik.system.NativeStart.run(Native Method)
V/Settings:Agent( 706):
V/Settings:Agent( 706): << traceCallingStack(): 2(ms)
--------- beginning of /dev/log/system
D/WifiService( 706): setWifiEnabled: true pid=8525, uid=0
E/WifiService( 706): Invoking mWifiStateMachine.setWifiEnabled
I/WifiService( 706): isSprintWifiRestricted(): false
I/WifiService( 706): isMdmWifiRestricted(): false
D/WifiSettingsStore( 706): [SetWifiStatePersist] IsWifiStatePersist: true, persist : true
E/WifiHW ( 225): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 225): Softap fwReload failed
E/WifiStateMachine( 706): Failed to reload STA firmware java.lang.IllegalStateException: command '14 softap fwreload wlan0 STA' failed with '400 14 SoftAP command has failed'
D/PMS ( 706): acquireWL(48e3edf0): PARTIAL_WAKE_LOCK WifiStateMachine 0x1 706 1000
D/PMS ( 706): releaseWL(48e3edf0): PARTIAL_WAKE_LOCK WifiStateMachine 0x1
W/CommandListener( 225): Failed to retrieve HW addr for wlan0 (No such device)
D/libc ( 706): [NET] getaddrinfo+,hn 7(0x302e302e302e30),sn(),family 0,flags 4
D/libc ( 706): [NET] getaddrinfo-, SUCCESS
E/WifiStateMachine( 706): Unable to change interface settings: java.lang.IllegalStateException: command '16 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 16 Failed to set address (No such device)'
D/WirelessDisplayService( 706): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1
I/QuickSettingWifi( 1518): receive.wifiState:WIFI_STATE_ENABLING setEnable:false
D/WIFI_ICON( 1518): updateWifiState: WIFI_STATE_CHANGED disabled
D/StatusBar.NetworkController( 1518): dumpIcon[(gone) stat_sys_5signal_null|null (gone) stat_sys_no_sim F (gone)]
D/WifiNative-wlan0( 706): connectToSupplicant, iface=wlan0
I/wpa_supplicant( 8557): Successfully initialized wpa_supplicant
I/wpa_supplicant( 8557): NetworkSelection(WPA_SUPPLICANT) version: 1.b.2
I/wpa_supplicant( 8557): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 8557): nl80211: Could not configure driver to use managed mode
E/wpa_supplicant( 8557): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 8557): wlan0: Failed to initialize driver interface
E/wpa_supplicant( 8557): wlan0: BLACKLIST CLEAR
E/wpa_supplicant( 8557): wlan0: BLACKLIST REMOVE 00:00:00:00:00:00
I/battery-calibration( 8576): *** LEVEL: 87 CUR: -4500 ***: sleeping for 120 s...
Is there anything in there that would suggest it's a hardware issue, or a software issue?
If you think you need more information from me to help solve, just ask! And any help would be greatly appreciated!
What's your current radio/baseband version?
Have you updated the radio and/or firmware so that they match the software version you are trying to run?
If you have updated, are you just updating the radio or the firmware too?
Thanks for the quick reply,
My current radio is: 1.01.01.1112
I'm running: ~NuSenseONE~ Max Dlx RC1.8
They should work together, right?
But I still have the problem when I'm running stock Sense 4 and stock radio with or without unlock/s-off/etc.
I've been messing around all day, flashing different ROMs, kernels, radios, recoveries... Just everything I can think of.
I've attached the output of dmesg from boot. With that and the logcat, is it possible to determine if this is a software issue, or a hardware issue. Because if it's a hardware issue, I can stop fussing over this thing.
Why don't you post this in the rom thread?
thayl0 said:
Why don't you post this in the rom thread?
Click to expand...
Click to collapse
According to his posts, it happens on any rom, so it's not rom specific.
Sounds like hardware failure.
Out of interest, which part of the hardware is responsible for the WiFi?
Would it be possible to replace this myself?
If not, it's not the end of the world. I'm just interested to know.
jcsawyer said:
Out of interest, which part of the hardware is responsible for the WiFi?
Would it be possible to replace this myself?
If not, it's not the end of the world. I'm just interested to know.
Click to expand...
Click to collapse
Try putting the device back to stock config. At that point it may take several factory resets to trip the wi fi
Did you ever find a fix? I have the same problem, with the same stack trace.
I really would like to the the regular voice search started if i have my sleeping (display off) and push the call button on my bluethooth headset.
instead i get the very stop old voice dailer.
this article states that they changed it in search 3.2 (i'm currently running search 3.4).
http://www.androidpolice.com/2014/0...the-old-voice-dialer-with-bluetooth-headsets/
it is correct that if the device is on and the screen unlocked i get, as expected, the new voice search command input
BUT if the device is sleeping it still trigger the ****TY **** COMMAND input (and ruins my idea of heads free via headset)
(the left screenshot in the article above)
Logcat output with device turned off and pushing button on headset....
Code:
E/bt-rfcomm(14656): PORT_DataInd, p_port:0x7580a77c, p_data_co_callback is null
D/HeadsetStateMachine(14656): processVrEvent: state=1 mVoiceRecognitionStarted: false mWaitingforVoiceRecognition: false isInCall: false
I/ActivityManager( 649): START u0 {act=android.intent.action.VOICE_COMMAND flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivity} from pid 14656
I/Timeline(12527): Timeline: Activity_launch_request id:com.google.android.googlequicksearchbox time:8718723
I/ActivityManager( 649): START u0 {act=android.intent.action.VOICE_COMMAND flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivityLegacy} from pid 12527
D/PhoneStatusBar( 774): disable: < expand icons alerts ticker system_info back* home* RECENT clock* search >
W/IInputConnectionWrapper(12527): showStatusIcon on inactive InputConnection
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:8718822
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:8718823
I/Timeline( 649): Timeline: Activity_windows_visible id: ActivityRecord{4230fb80 u0 com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivityLegacy t62} time:8718842
I/PowerManagerService( 649): Waking up from sleep...
E/PowerHAL( 649): sync_thread: failed to send: No such file or directory
D/SurfaceFlinger( 198): Screen acquired, type=0 flinger=0xb7a31450
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:8718915
I/WindowManager( 649): No lock screen! [email protected]
V/audio_hw_primary( 201): adev_set_parameters: enter: screen_state=on
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 5
I/audio_a2dp_hw( 201): out_set_parameters: state 5
I/str_params( 201): key: 'screen_state' value: 'on'
I/AudioRouter(12527): ROUTE_NONE->ROUTE_BLUETOOTH_REQUIRED
I/MediaFocusControl( 649): AudioFocus requestAudioFocus() from [email protected]@419e4228
I/AudioRouter(12527): BT required, starting SCO
V/Avrcp (14656): New genId = 69, clearing = 1
I/BluetoothController(12527): Starting VR
D/BluetoothHeadset(12527): startVoiceRecognition()
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/HeadsetStateMachine(14656): isBluetoothVoiceDialingEnabled mRemoteBrsf: 187supported: 8
D/HeadsetStateMachine(14656): Voice recognition started successfully
D/HeadsetStateMachine(14656): Initiating audio connection for Voice Recognition
V/audio_hw_primary( 201): adev_set_parameters: enter: A2dpSuspended=true
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 5
I/audio_a2dp_hw( 201): out_set_parameters: state 5
I/str_params( 201): key: 'A2dpSuspended' value: 'true'
I/audio_a2dp_hw( 201): check_a2dp_stream_started: state 5
W/bt-btm (14656): BTM Remote does not support 3-EDR eSCO
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 11
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: com.android.[email protected]
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
D/SmartKey Service(12553): isPlaying false
D/SmartKey Service(12553): state = IDDLE
I/GCoreUlr( 1263): Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_LOCATION_STATUS cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras=Bundle[{status=LocationStatus[cell status: STATUS_SUCCESSFUL, wifi status: STATUS_TIMED_OUT_ON_SCAN, elapsed realtime ns: 24652606874646]}]
D/SmartKey Service(12553): isPlaying false
D/SmartKey Service(12553): state = IDDLE
D/GCoreUlr( 1263): Throttling analytics event: entity, ApiMetadataStore:save_attempt, 1
D/GCoreUlr( 1263): Throttling analytics event: entity, ApiMetadataStore:saved, 1
D/HeadsetStateMachine(14656): Set sample rate: 8000
V/audio_hw_primary( 201): adev_set_parameters: enter: bt_samplerate=8000
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 4
I/audio_a2dp_hw( 201): out_set_parameters: state 4
I/str_params( 201): key: 'bt_samplerate' value: '8000'
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 12
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
D/AudioFlinger( 201): start(4097), calling pid 15786 session 395
D/AudioFlinger( 201): ? => ACTIVE (4097) on thread 0xb8c4d728
D/audio_hw_primary( 201): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=32
V/audio_hw_primary( 201): out_set_parameters: exit: code(0)
V/audio_hw_primary( 201): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x20)
D/audio_hw_primary( 201): select_devices: out_snd_device(10: bt-sco-headset) in_snd_device(0: )
V/audio_hw_primary( 201): enable_snd_device: snd_device(10: bt-sco-headset)
V/audio_hw_primary( 201): enable_audio_route: enter: usecase(1)
V/audio_hw_primary( 201): enable_audio_route: apply mixer path: low-latency-playback bt-sco
V/audio_hw_primary( 201): enable_audio_route: exit
V/audio_hw_primary( 201): start_output_stream: Opening PCM device card_id(0) device_id(14)
V/audio_hw_primary( 201): start_output_stream: exit
device on and unlocked is like this....
Code:
D/HeadsetStateMachine(14656): processVrEvent: state=1 mVoiceRecognitionStarted: false mWaitingforVoiceRecognition: false isInCall: false
I/ActivityManager( 649): START u0 {act=android.intent.action.VOICE_COMMAND flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivity} from pid 14656
I/HotwordWorker(12527): #onHotwordDetectorStopped(false)
I/MicrophoneInputStream(12527): mic_close [email protected]
V/audio_hw_primary( 201): in_standby: enter
I/ActivityManager( 649): START u0 {act=android.speech.action.WEB_SEARCH flg=0x34000000 pkg=com.google.android.googlequicksearchbox cmp=com.google.android.googlequicksearchbox/.SearchActivity (has extras)} from pid 12527
V/audio_hw_primary( 201): stop_input_stream: enter: usecase(4: audio-record)
V/audio_hw_primary( 201): disable_audio_route: enter: usecase(4)
V/audio_hw_primary( 201): disable_audio_route: reset mixer path: audio-record
V/audio_hw_primary( 201): disable_audio_route: exit
V/audio_hw_primary( 201): disable_snd_device: snd_device(37: voice-rec-mic) refcnt=0
V/audio_hw_primary( 201): stop_input_stream: exit: status(0)
V/audio_hw_primary( 201): in_standby: exit: status(0)
I/Timeline(12527): Timeline: Activity_launch_request id:com.google.android.googlequicksearchbox time:9488919
V/audio_hw_primary( 201): adev_close_input_stream
V/audio_hw_primary( 201): in_standby: enter
V/audio_hw_primary( 201): in_standby: exit: status(0)
I/ActivityManager( 649): START u0 {act=android.intent.action.MAIN flg=0x34000000 pkg=com.google.android.googlequicksearchbox cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity (has extras)} from pid 12527
I/HotwordRecognitionRnr(12527): Stopping hotword detection.
I/HotwordRecognitionRnr(12527): Hotword detection finished
I/Velvet.Presenter(12527): setupFromIntent(Intent { act=android.intent.action.MAIN flg=0x34400000 pkg=com.google.android.googlequicksearchbox cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity (has extras) })
I/AudioRouter(12527): ROUTE_NONE->ROUTE_BLUETOOTH_REQUIRED
I/MediaFocusControl( 649): AudioFocus requestAudioFocus() from [email protected]@419e4228
I/AudioRouter(12527): BT required, starting SCO
V/Avrcp (14656): New genId = 73, clearing = 1
I/BluetoothController(12527): Starting VR
D/BluetoothHeadset(12527): startVoiceRecognition()
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/HeadsetStateMachine(14656): isBluetoothVoiceDialingEnabled mRemoteBrsf: 187supported: 8
D/HeadsetStateMachine(14656): Voice recognition started successfully
D/HeadsetStateMachine(14656): Initiating audio connection for Voice Recognition
V/audio_hw_primary( 201): adev_set_parameters: enter: A2dpSuspended=true
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 5
I/audio_a2dp_hw( 201): out_set_parameters: state 5
I/str_params( 201): key: 'A2dpSuspended' value: 'true'
I/audio_a2dp_hw( 201): check_a2dp_stream_started: state 5
W/bt-btm (14656): BTM Remote does not support 3-EDR eSCO
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 11
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
I/MicrophoneInputStream(12527): mic_starting [email protected]
V/Zygote (19412): Switching descriptor 33 to /dev/null
V/Zygote (19412): Switching descriptor 10 to /dev/null
I/ActivityManager( 649): Start proc android.process.acore for content provider com.android.providers.contacts/.ContactsProvider2: pid=19412 uid=10003 gids={50003, 3003, 1028, 1015}
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
I/Timeline( 649): Timeline: Activity_windows_visible id: ActivityRecord{420ba150 u0 com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity t58} time:9489060
D/SmartKey Service(12553): isPlaying false
D/SmartKey Service(12553): state = IDDLE
W/GLSUser ( 1233): GoogleAccountDataService.getToken()
D/ActivityThread(19412): handleBindApplication:android.process.acore
D/ActivityThread(19412): setTargetHeapUtilization:0.75
D/ActivityThread(19412): setTargetHeapMinFree:524288
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:9489151
D/HeadsetStateMachine(14656): Set sample rate: 8000
V/audio_hw_primary( 201): adev_set_parameters: enter: bt_samplerate=8000
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 4
I/audio_a2dp_hw( 201): out_set_parameters: state 4
I/str_params( 201): key: 'bt_samplerate' value: '8000'
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 12
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
if the device is locked he falls back to the
com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivityLegacy
act****TITY
any help ?!
Running CM 11-20140504-SNAPSHOT-M6-Mako (Nexus 4... but i'd say you figured that out yourself by now)
I also have this problem. Would like to know if Google are working on a fix for the Search app.
this is great info - I've been trying to figure out which activity to enable on the Bluetooth Launch App so that the call button is directed to that activity.
I have tried the com.google.android.googlequicksearchbox.VoiceSearchActivity - but this does not work if phone is locked.
Which other activities have you tried to enable while phone is locked?
This is what happens, in the latest apk, that has hotword detection on while charging. So it wakes up from sleep and goes straight into listening for a command.
Can we initialize the same process using tasker for the bluetooth button pressed?
HTML:
I/HotwordRecognitionRnr(11016): Hotword detection finished
I/HotwordWorker(11016): #onHotwordDetected
I/MicrophoneInputStream(11016): mic_close [email protected]
I/Sdch.Manager(11016): SDCH cache load complete.
I/MediaFocusControl( 748): AudioFocus requestAudioFocus() from android.media.
[email protected]@42687a08
V/KeyguardHostView( 914): hide transport, gen:160
I/AudioRouter(11016): ROUTE_NONE->ROUTE_BLUETOOTH_PREFERRED,CONNECTION_TYPE_NONE
->CONNECTION_TYPE_BVRA
D/BluetoothManagerService( 748): Message: 20
D/BluetoothManagerService( 748): Added callback: android.bluetooth.IBluetoothMa
[email protected]:true
D/BluetoothManagerService( 748): Message: 30
V/Avrcp ( 2450): New genId = 160, clearing = 1
I/HotwordRecognitionRnr(11016): Stopping hotword detection.
I/ActivityManager( 748): START u0 {act=android.intent.action.MAIN flg=0x1401000
0 cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.Velve
tLockscreenActivity (has extras)} from pid 11016
D/dalvikvm(11016): GC_FOR_ALLOC freed 241K, 3% free 19086K/19644K, paused 10ms,
total 15ms
I/dalvikvm-heap(11016): Grow heap (frag case) to 18.973MB for 320016-byte alloca
tion
D/dalvikvm(11016): GC_FOR_ALLOC freed <1K, 3% free 19398K/19960K, paused 11ms, t
otal 11ms
I/MicrophoneInputStream(11016): mic_starting [email protected]
I/IcingCorporaProvider(11016): Updating corpora: APPS=NONE, CONTACTS=DELTA
D/dalvikvm(11016): Trying to load lib /data/app-lib/com.google.android.googlequi
cksearchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
D/BluetoothHeadset(11016): Proxy object connected
I/BluetoothController(11016): No BT device
D/audio_hw_primary( 185): out_set_parameters: enter: usecase(1: low-latency-pla
yback) kvpairs: routing=2
D/audio_hw_primary( 185): select_devices: out_snd_device(0: ) in_snd_device(35:
voice-rec-mic)
D/ ( 185): Failed to fetch the lookup information of the device 0000003E
E/ACDB-LOADER( 185): Error: ACDB AudProc vol returned = -19
I/OMXClient(11016): Using client-side OMX mux.
D/dalvikvm(11016): Added shared lib /data/app-lib/com.google.android.googlequick
searchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
W/Search.SearchUrlHelper(11016): URL param or header written twice. Key: pws, ol
d value: "0" new value: "0"
W/Search.SearchUrlHelper(11016): java.lang.Throwable
W/Search.SearchUrlHelper(11016): at bmz.b(PG:2336)
W/Search.SearchUrlHelper(11016): at bmz.O(PG:2343)
W/Search.SearchUrlHelper(11016): at bmz.dy(PG:2553)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1152)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1010)
W/Search.SearchUrlHelper(11016): at gut.a(PG:37)
W/Search.SearchUrlHelper(11016): at gvc.kb(PG:82)
W/Search.SearchUrlHelper(11016): at gvd.asM(PG:38)
W/Search.SearchUrlHelper(11016): at fgj.call(PG:28)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.FutureTask.run(F
utureTask.java:237)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or.runWorker(ThreadPoolExecutor.java:1112)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or$Worker.run(ThreadPoolExecutor.java:587)
W/Search.SearchUrlHelper(11016): at java.lang.Thread.run(Thread.java:841)
W/Search.SearchUrlHelper(11016): at did.run(PG:46)
E/OMXMaster(11016): A component of name 'OMX.qcom.audio.decoder.aac' already exi
sts, ignoring this one.
D/dalvikvm(11016): GC_CONCURRENT freed 924K, 5% free 19334K/20292K, paused 3ms+4
ms, total 34ms
D/dalvikvm(11016): WAIT_FOR_CONCURRENT_GC blocked 21ms
I/Greco3EngineManager(11016): create_rm: m=GRAMMAR,l=en-US
D/dalvikvm( 1223): GC_CONCURRENT freed 906K, 9% free 19080K/20816K, paused 2ms+2
ms, total 25ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 19ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 211K, 3% free 19842K/20292K, paused 12ms,
total 12ms
I/Greco3EngineManager(11016): Brought up new g3 instance :/system/usr/srec/en-US
/grammar.config for: en-USin: 29 ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 17K, 3% free 20331K/20784K, paused 13ms, t
otal 13ms
D/ConnectivityService( 748): startUsingNetworkFeature reconnecting to 0: enable
SUPL
D/ConnectivityService( 748): startUsingNetworkFeature X: return APN_REQUEST_STA
RTED
E/LocSvc_eng( 748): W/AgpsReleasedState: unrecognized event 3
D/ConnectivityService( 748): stopUsingNetworkFeature: teardown net 0: enableSUP
L
D/MobileDataStateTracker( 748): supl: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=supl
D/MobileDataStateTracker( 748): supl: Received state=CONNECTING, old=DISCONNECT
ED, reason=dataEnabled
D/MobileDataStateTracker( 748): supl: setDetailed state, old =IDLE and new stat
e=CONNECTING
D/MobileDataStateTracker( 748): fota: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=fota
D/MobileDataStateTracker( 748): fota: Received state=DISCONNECTED, old=DISCONNE
CTED, reason=dataEnabled
D/MobileDataStateTracker( 748): dun: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker( 748): dun: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): ia: Broadcast received: android.intent.action.A
NY_DATA_STATE apnType=ia
D/MobileDataStateTracker( 748): ia: Received state=DISCONNECTED, old=DISCONNECT
ED, reason=dataEnabled
D/dalvikvm(11016): GC_FOR_ALLOC freed 10K, 2% free 21193K/21492K, paused 14ms, t
otal 14ms
D/MobileDataStateTracker( 748): hipri: Broadcast received: android.intent.actio
n.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker( 748): hipri: Received state=DISCONNECTED, old=DISCONN
ECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): ims: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=ims
D/MobileDataStateTracker( 748): ims: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): default: Broadcast received: android.intent.act
ion.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 748): default: Received state=DISCONNECTED, old=DISCO
NNECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): mms: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 748): mms: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): cbs: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=cbs
D/dalvikvm( 1072): GC_CONCURRENT freed 494K, 4% free 18114K/18780K, paused 3ms+2
ms, total 27ms
D/MobileDataStateTracker( 748): cbs: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
D/dalvikvm( 1057): GC_CONCURRENT freed 627K, 7% free 18877K/20284K, paused 1ms+4
ms, total 26ms
D/dalvikvm(11016): GC_CONCURRENT freed 151K, 2% free 22449K/22712K, paused 11ms+
5ms, total 31ms
I/Adreno-EGL(11016): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I04
04c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/dalvikvm( 1086): GC_CONCURRENT freed 384K, 3% free 16745K/17176K, paused 2ms+2
ms, total 16ms
D/PhoneStatusBar( 914): disable: < EXPAND icons alerts TICKER system_info back*
home* RECENT clock search >
D/OpenGLRenderer(11016): Enabling debug mode 0
W/IInputConnectionWrapper(11016): showStatusIcon on inactive InputConnection
I/ActivityManager( 748): Displayed com.google.android.googlequicksearchbox/com.
google.android.velvet.ui.VelvetLockscreenActivity: +608ms (total +611ms)
V/KeyguardServiceDelegate( 748): onScreenTurnedOn(showListener = com.android.in
[email protected])
D/SurfaceFlinger( 182): Screen acquired, type=0 flinger=0xb7da5450
D/qdhwcomposer( 182): hwc_blank: Unblanking display: 0
I/PowerManagerService( 748): Waking up from sleep...
V/KeyguardServiceDelegate( 748): **** SHOWN CALLED ****
I/WindowManager( 748): No lock screen! [email protected]
838
D/dalvikvm( 748): GC_EXPLICIT freed 676K, 25% free 51379K/67720K, paused 3ms+11
ms, total 128ms
D/qdhwcomposer( 182): hwc_blank: Done unblanking display: 0
D/SurfaceControl( 748): Excessive delay in unblankDisplay() while turning scree
n on: 238ms
D/DisplayPowerController( 748): Unblocked screen on after 96822777 ms
I/ActivityManager( 748): Process com.google.android.calendar (pid 10121) has di
ed.
I/VelvetPresenter(11016): setupFromIntent(Intent { act=android.intent.action.MAI
N flg=0x14010000 cmp=com.google.android.googlequicksearchbox/com.google.android.
velvet.ui.VelvetLockscreenActivity (has extras) })
I/VelvetPresenter(11016): Resuming with current state.
giovanni645 said:
This is what happens, in the latest apk, that has hotword detection on while charging. So it wakes up from sleep and goes straight into listening for a command.
Can we initialize the same process using tasker for the bluetooth button pressed?
HTML:
I/HotwordRecognitionRnr(11016): Hotword detection finished
I/HotwordWorker(11016): #onHotwordDetected
I/MicrophoneInputStream(11016): mic_close [email protected]
I/Sdch.Manager(11016): SDCH cache load complete.
I/MediaFocusControl( 748): AudioFocus requestAudioFocus() from android.media.
[email protected]@42687a08
V/KeyguardHostView( 914): hide transport, gen:160
I/AudioRouter(11016): ROUTE_NONE->ROUTE_BLUETOOTH_PREFERRED,CONNECTION_TYPE_NONE
->CONNECTION_TYPE_BVRA
D/BluetoothManagerService( 748): Message: 20
D/BluetoothManagerService( 748): Added callback: android.bluetooth.IBluetoothMa
[email protected]:true
D/BluetoothManagerService( 748): Message: 30
V/Avrcp ( 2450): New genId = 160, clearing = 1
I/HotwordRecognitionRnr(11016): Stopping hotword detection.
I/ActivityManager( 748): START u0 {act=android.intent.action.MAIN flg=0x1401000
0 cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.Velve
tLockscreenActivity (has extras)} from pid 11016
D/dalvikvm(11016): GC_FOR_ALLOC freed 241K, 3% free 19086K/19644K, paused 10ms,
total 15ms
I/dalvikvm-heap(11016): Grow heap (frag case) to 18.973MB for 320016-byte alloca
tion
D/dalvikvm(11016): GC_FOR_ALLOC freed <1K, 3% free 19398K/19960K, paused 11ms, t
otal 11ms
I/MicrophoneInputStream(11016): mic_starting [email protected]
I/IcingCorporaProvider(11016): Updating corpora: APPS=NONE, CONTACTS=DELTA
D/dalvikvm(11016): Trying to load lib /data/app-lib/com.google.android.googlequi
cksearchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
D/BluetoothHeadset(11016): Proxy object connected
I/BluetoothController(11016): No BT device
D/audio_hw_primary( 185): out_set_parameters: enter: usecase(1: low-latency-pla
yback) kvpairs: routing=2
D/audio_hw_primary( 185): select_devices: out_snd_device(0: ) in_snd_device(35:
voice-rec-mic)
D/ ( 185): Failed to fetch the lookup information of the device 0000003E
E/ACDB-LOADER( 185): Error: ACDB AudProc vol returned = -19
I/OMXClient(11016): Using client-side OMX mux.
D/dalvikvm(11016): Added shared lib /data/app-lib/com.google.android.googlequick
searchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
W/Search.SearchUrlHelper(11016): URL param or header written twice. Key: pws, ol
d value: "0" new value: "0"
W/Search.SearchUrlHelper(11016): java.lang.Throwable
W/Search.SearchUrlHelper(11016): at bmz.b(PG:2336)
W/Search.SearchUrlHelper(11016): at bmz.O(PG:2343)
W/Search.SearchUrlHelper(11016): at bmz.dy(PG:2553)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1152)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1010)
W/Search.SearchUrlHelper(11016): at gut.a(PG:37)
W/Search.SearchUrlHelper(11016): at gvc.kb(PG:82)
W/Search.SearchUrlHelper(11016): at gvd.asM(PG:38)
W/Search.SearchUrlHelper(11016): at fgj.call(PG:28)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.FutureTask.run(F
utureTask.java:237)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or.runWorker(ThreadPoolExecutor.java:1112)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or$Worker.run(ThreadPoolExecutor.java:587)
W/Search.SearchUrlHelper(11016): at java.lang.Thread.run(Thread.java:841)
W/Search.SearchUrlHelper(11016): at did.run(PG:46)
E/OMXMaster(11016): A component of name 'OMX.qcom.audio.decoder.aac' already exi
sts, ignoring this one.
D/dalvikvm(11016): GC_CONCURRENT freed 924K, 5% free 19334K/20292K, paused 3ms+4
ms, total 34ms
D/dalvikvm(11016): WAIT_FOR_CONCURRENT_GC blocked 21ms
I/Greco3EngineManager(11016): create_rm: m=GRAMMAR,l=en-US
D/dalvikvm( 1223): GC_CONCURRENT freed 906K, 9% free 19080K/20816K, paused 2ms+2
ms, total 25ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 19ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 211K, 3% free 19842K/20292K, paused 12ms,
total 12ms
I/Greco3EngineManager(11016): Brought up new g3 instance :/system/usr/srec/en-US
/grammar.config for: en-USin: 29 ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 17K, 3% free 20331K/20784K, paused 13ms, t
otal 13ms
D/ConnectivityService( 748): startUsingNetworkFeature reconnecting to 0: enable
SUPL
D/ConnectivityService( 748): startUsingNetworkFeature X: return APN_REQUEST_STA
RTED
E/LocSvc_eng( 748): W/AgpsReleasedState: unrecognized event 3
D/ConnectivityService( 748): stopUsingNetworkFeature: teardown net 0: enableSUP
L
D/MobileDataStateTracker( 748): supl: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=supl
D/MobileDataStateTracker( 748): supl: Received state=CONNECTING, old=DISCONNECT
ED, reason=dataEnabled
D/MobileDataStateTracker( 748): supl: setDetailed state, old =IDLE and new stat
e=CONNECTING
D/MobileDataStateTracker( 748): fota: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=fota
D/MobileDataStateTracker( 748): fota: Received state=DISCONNECTED, old=DISCONNE
CTED, reason=dataEnabled
D/MobileDataStateTracker( 748): dun: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker( 748): dun: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): ia: Broadcast received: android.intent.action.A
NY_DATA_STATE apnType=ia
D/MobileDataStateTracker( 748): ia: Received state=DISCONNECTED, old=DISCONNECT
ED, reason=dataEnabled
D/dalvikvm(11016): GC_FOR_ALLOC freed 10K, 2% free 21193K/21492K, paused 14ms, t
otal 14ms
D/MobileDataStateTracker( 748): hipri: Broadcast received: android.intent.actio
n.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker( 748): hipri: Received state=DISCONNECTED, old=DISCONN
ECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): ims: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=ims
D/MobileDataStateTracker( 748): ims: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): default: Broadcast received: android.intent.act
ion.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 748): default: Received state=DISCONNECTED, old=DISCO
NNECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): mms: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 748): mms: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): cbs: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=cbs
D/dalvikvm( 1072): GC_CONCURRENT freed 494K, 4% free 18114K/18780K, paused 3ms+2
ms, total 27ms
D/MobileDataStateTracker( 748): cbs: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
D/dalvikvm( 1057): GC_CONCURRENT freed 627K, 7% free 18877K/20284K, paused 1ms+4
ms, total 26ms
D/dalvikvm(11016): GC_CONCURRENT freed 151K, 2% free 22449K/22712K, paused 11ms+
5ms, total 31ms
I/Adreno-EGL(11016): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I04
04c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/dalvikvm( 1086): GC_CONCURRENT freed 384K, 3% free 16745K/17176K, paused 2ms+2
ms, total 16ms
D/PhoneStatusBar( 914): disable: < EXPAND icons alerts TICKER system_info back*
home* RECENT clock search >
D/OpenGLRenderer(11016): Enabling debug mode 0
W/IInputConnectionWrapper(11016): showStatusIcon on inactive InputConnection
I/ActivityManager( 748): Displayed com.google.android.googlequicksearchbox/com.
google.android.velvet.ui.VelvetLockscreenActivity: +608ms (total +611ms)
V/KeyguardServiceDelegate( 748): onScreenTurnedOn(showListener = com.android.in
[email protected])
D/SurfaceFlinger( 182): Screen acquired, type=0 flinger=0xb7da5450
D/qdhwcomposer( 182): hwc_blank: Unblanking display: 0
I/PowerManagerService( 748): Waking up from sleep...
V/KeyguardServiceDelegate( 748): **** SHOWN CALLED ****
I/WindowManager( 748): No lock screen! [email protected]
838
D/dalvikvm( 748): GC_EXPLICIT freed 676K, 25% free 51379K/67720K, paused 3ms+11
ms, total 128ms
D/qdhwcomposer( 182): hwc_blank: Done unblanking display: 0
D/SurfaceControl( 748): Excessive delay in unblankDisplay() while turning scree
n on: 238ms
D/DisplayPowerController( 748): Unblocked screen on after 96822777 ms
I/ActivityManager( 748): Process com.google.android.calendar (pid 10121) has di
ed.
I/VelvetPresenter(11016): setupFromIntent(Intent { act=android.intent.action.MAI
N flg=0x14010000 cmp=com.google.android.googlequicksearchbox/com.google.android.
velvet.ui.VelvetLockscreenActivity (has extras) })
I/VelvetPresenter(11016): Resuming with current state.
Click to expand...
Click to collapse
also, came across this while trying - not possible through tasker eh? -
W/Tasker ( 4242): 15.10.09#Utils: warning: startActivityWrapper: unexpected exc
eption: java.lang.SecurityException: Permission Denial: starting Intent { act=an
droid.intent.action.VIEW cat=[android.intent.category.LAUNCHER] flg=0x30800004 c
mp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetLo
ckscreenActivity } from ProcessRecord{43506488 4242:net.dinglisch.android.tasker
m/u0a263} (pid=4242, uid=10263) not exported from uid 10023
I/MusicLeanback( 6024): Conditions not met for autocaching.
I/ActivityManager( 748): START u0 {act=android.intent.action.VIEW cat=[android.
intent.category.LAUNCHER] flg=0x30800004 cmp=com.google.android.googlequicksearc
hbox/com.google.android.velvet.ui.VelvetLockscreenActivity} from pid 4242
W/ActivityManager( 748): Permission Denial: starting Intent { act=android.inten
t.action.VIEW cat=[android.intent.category.LAUNCHER] flg=0x30800004 cmp=com.goog
le.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetLockscreenAct
ivity } from ProcessRecord{43506488 4242:net.dinglisch.android.taskerm/u0a263} (
pid=4242, uid=10263) not exported from uid 10023
Hello,
My i9100 died some months ago, it was impossible to boot (Tested different batteries, SIM-cards and chargers). I think it was overheating when I used it for the last time.
I bought a used mainboard from China and build it into my phone. It had Stock Gingerbread installed and was used in Iran.
An IMEI-analysis says that the board is a european version
Information on IMEI xxxxxx
Type Allocation Holder Samsung
Mobile Equipment Type Samsung GT-i9100 Galaxy S II
GSM Implementation Phase 2/2+
IMEI Validity Assessment Very likely
Information on range assignment
Est. Date of Range Issuance Around Q2 2011
Reporting Body British Approvals Board of Telecommunications (BABT)
Primary Market Europe
Legal Basis for Allocation EU R&TTE Directive
Information on number format
Full IMEI Presentation 35xxxxxx
Reporting Body Identifier 35
Type Allocation Code xxxxxx
Serial Number xxxxx
Check Digit 0
Click to expand...
Click to collapse
I use cm12.1 (12.1-20150430-UNOFFICIAL-i9100) but I also don't have cellular network with other ROMs. GPS, Wifi, BT etc. are working
Search for mobile networks is not successful and I can't execute USSD-Codes. The efs-partition is not corrupted. Most files are from 2010, last changes 2013.
Do you have any idea how to solve this?
Best regards
Have you checked which baseband software version is showing under "about phone"? This is stored in /dev/block/mmcblk0p8, and would not be updated by installing CM. I think I9100XXMS4 was the last European one. Rather than messing around with installing this, you can simply install Sale's NeatROM (modified Samsung 4.1), before installing CM etc.
---------- Post added at 03:53 PM ---------- Previous post was at 03:52 PM ----------
Another thing to consider, but I not sure how you'd check or fix:
http://forum.xda-developers.com/galaxy-s2/general/external-antenna-socket-warning-t1273292
This would mean the radio modem is booted & working OK, but no antenna = no signal = no networks.
My baseband was XXKI4. I installed XXMS4 but that didn't change anything.
The antenna socket is not damaged or anything but i don't know how to check the functionality without destroying the coonnection to the internal antenna (provided it works at all).
Hmmm @tgb456
Install stock 2.3.3 and root it.
Connect your phone to PC into ADB. Start logcating and make log:
--restarting phone
-Searching to network (manual)
-USSD codes excutions
Wysłane ze Slim-fonika 9.0 powered by DorimanX v008 kernel
Still with CM12.1:
After reboot:
Code:
W/ServiceWatcher( 2225): com.google.android.gms not found
W/ServiceWatcher( 2225): com.google.android.gms not found
W/LocationManagerService( 2225): no network location provider found
W/ServiceWatcher( 2225): com.google.android.gms not found
W/ServiceWatcher( 2225): com.google.android.gms not found
D/NuPlayerDriver( 1862): reset(0x41c34040)
D/NuPlayerDriver( 1862): notifyResetComplete(0x41c34040)
E/LocationManagerService( 2225): no geocoder provider found
E/FlpHardwareProvider( 2225): Error hw_get_module 'flp': -2
E/LocationManagerService( 2225): FLP HAL not supported
W/ServiceWatcher( 2225): com.google.android.gms not found
E/LocationManagerService( 2225): Unable to bind FLP Geofence proxy.
E/ActivityRecognitionHardware( 2225): Error hw_get_module: -2
E/LocationManagerService( 2225): Hardware Activity-Recognition not supported.
I/FFmpegExtractor( 1862): android-source:0x415b14c0
...
I/Telecom ( 2225): TelecomGlobals: CallsManager initialized
W/ContextImpl( 2225): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1732 android.content.ContextWrapper.startService:522 com.android.server.telecom.BluetoothPhoneService.start:468 com.android.server.telecom.TelecomGlobals.initialize:101 com.android.server.telecom.TelecomService.onCreate:164
....
D/Telephony( 2743): TtyManager: setTTYMode exception: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
W/BassBoost( 2667): WARNING: attaching a BassBoost to global output mix is deprecated!
V/OtaStartupReceiver( 2743): onOtaspChanged: mOtaspMode=1
W/Virtualizer( 2667): WARNING: attaching a Virtualizer to global output mix is deprecated!
D/GpsLocationProvider( 2225): received SIM realted action:
D/GpsLocationProvider( 2225): SIM MCC/MNC is still not available
D/Telephony( 2743): TtyManager: queryTTYMode exception: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
I/MmsService( 2743): MmsConfigManager.loadInBackground(): mcc/mnc: 0/0
E/MmsService( 2743): MmsConfigManager.load -- empty getActiveSubInfoList
D/Telephony( 2743): TelecomAccountRegistry: Found 1 phones. Attempting to register.
D/Telephony( 2743): TelecomAccountRegistry: Phone with subscription id 5000
E/PhoneInterfaceManager( 2743): [PhoneIntfMgr] getIccId: No UICC
D/Telephony( 2743): AccountEntry: Registered phoneAccount: [PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxx], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxx], UserHandle{0}
I/Telephony( 2743): PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {8e4d5bd}
D/Telephony( 2743): PstnPhoneCapabilitiesNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {8e4d5bd}
D/CallNotifier( 2743): onReceive...
D/Telephony( 2743): PstnPhoneCapabilitiesNotifier: handleVideoCapabilitesChanged. Video capability - false
D/PhoneStatusBarPolicy( 2382): updateSimState for subId :5000
D/GpsLocationProvider( 2225): received SIM realted action:
D/PhoneStatusBarPolicy( 2382): updateSimState for phoneId :0
D/PhoneStatusBarPolicy( 2382): updateSimState for Slot :0
D/GpsLocationProvider( 2225): SIM MCC/MNC is still not available
....
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: threads hasAutoIncrement: CREATE TABLE threads (_id INTEGER PRIMARY KEY AUTOINCREMENT,date INTEGER DEFAULT 0,message_count INTEGER DEFAULT 0,recipient_ids TEXT,snippet TEXT,snippet_cs INTEGER DEFAULT 0,read INTEGER DEFAULT 1,archived INTEGER DEFAULT 0,type INTEGER DEFAULT 0,error INTEGER DEFAULT 0,has_attachment INTEGER DEFAULT 0) result: true
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: canonical_addresses hasAutoIncrement: CREATE TABLE canonical_addresses (_id INTEGER PRIMARY KEY AUTOINCREMENT,address TEXT) result: true
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: part hasAutoIncrement: CREATE TABLE part (_id INTEGER PRIMARY KEY AUTOINCREMENT,mid INTEGER,seq INTEGER DEFAULT 0,ct TEXT,name TEXT,chset INTEGER,cd TEXT,fn TEXT,cid TEXT,cl TEXT,ctt_s INTEGER,ctt_t TEXT,_data TEXT,text TEXT) result: true
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: pdu hasAutoIncrement: CREATE TABLE pdu (_id INTEGER PRIMARY KEY AUTOINCREMENT,thread_id INTEGER,date INTEGER,date_sent INTEGER DEFAULT 0,msg_box INTEGER,read INTEGER DEFAULT 0,m_id TEXT,sub TEXT,sub_cs INTEGER,ct_t TEXT,ct_l TEXT,exp INTEGER,m_cls TEXT,m_type INTEGER,v INTEGER,m_size INTEGER,pri INTEGER,rr INTEGER,rpt_a INTEGER,resp_st INTEGER,st INTEGER,tr_id TEXT,retr_st INTEGER,retr_txt TEXT,retr_txt_cs INTEGER,read_status INTEGER,ct_cls INTEGER,resp_txt TEXT,d_tm INTEGER,d_rpt INTEGER,locked INTEGER DEFAULT 0,sub_id INTEGER DEFAULT -1, phone_id INTEGER DEFAULT -1, seen INTEGER DEFAULT 0,creator TEXT,text_only INTEGER DEFAULT 0) result: true
D/MmsSmsDatabaseHelper( 2743): [getWritableDatabase] hasAutoIncrementThreads: true hasAutoIncrementAddresses: true hasAutoIncrementPart: true hasAutoIncrementPdu: true
---
I/ActivityManager( 2225): Start proc 3598:com.android.cellbroadcastreceiver/u0a5 for broadcast com.android.cellbroadcastreceiver/.CellBroadcastReceiver
D/CellBroadcastReceiver( 3598): onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver (has extras) }
D/CellBroadcastReceiver( 3598): Intent ACTION_SERVICE_STATE_CHANGED
D/CellBroadcastReceiver( 3598): Service state changed! 3 Full: 3 3 voice home data home null null null null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false Current state=-1
I/ActivityManager( 2225): Killing 2826:android.process.acore/u0a6 (adj 15): empty #17
D/CellBroadcastReceiver( 3598): onReceive Intent { act=android.intent.action.ACTION_SUBINFO_RECORD_UPDATED flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver }
D/SIP ( 2743): [SipSharedPreferences] isReceivingCallsEnabled, option not set; use default value, exception: android.provider.Settings$SettingNotFoundException: sip_receive_calls
E/PhoneInterfaceManager( 2743): [PhoneIntfMgr] getIccId: No UICC
...
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_route_start()
E/WhisperPush( 3531): GcmRecurringRegistration
E/WhisperPush( 3531): java.io.IOException: SERVICE_NOT_AVAILABLE
E/WhisperPush( 3531): at com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source)
E/WhisperPush( 3531): at org.whispersystems.whisperpush.gcm.GcmHelper.getRegistrationId(GcmHelper.java:65)
E/WhisperPush( 3531): at org.whispersystems.whisperpush.WhisperPush$1.doInBackground(WhisperPush.java:52)
E/WhisperPush( 3531): at org.whispersystems.whisperpush.WhisperPush$1.doInBackground(WhisperPush.java:48)
E/WhisperPush( 3531): at android.os.AsyncTask$2.call(AsyncTask.java:292)
E/WhisperPush( 3531): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/WhisperPush( 3531): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
E/WhisperPush( 3531): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/WhisperPush( 3531): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/WhisperPush( 3531): at java.lang.Thread.run(Thread.java:818)
W/ActivityManager( 2225): Unable to start service Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) } U=0: not found
W/GAV3 ( 3553): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
I/GAV3 ( 3553): Thread[GAThread,5,main]: No campaign data found.
I/GlobalDismissManager( 3437): no sender configured
...
W/ActivityManager( 2225): Unable to start service Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) } U=0: not found
W/GAV3 ( 3553): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.
USSD-Codes:
Code:
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_output_start()
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_route_start()
D/Yamaha-MC1N2-Audio( 1862): (yamaha_mc1n2_audio_params_route_find): device = 2, direction = 0
W/AudioTrack( 2225): AUDIO_OUTPUT_FLAG_FAST denied by client
E/AudioTrack( 2225): AudioTrack::set : Exit
I/ActivityManager( 2225): START u0 {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras)} from uid 10008 on display 0
V/WindowManager( 2225): addAppToken: AppWindowToken{3e3087eb token=Token{534ff3a ActivityRecord{d949665 u0 com.android.server.telecom/.PrivilegedCallActivity t77}}} to stack=1 task=77 at 1
E/SpannableStringBuilder( 3876): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/Telecom ( 2225): CallReceiver: onReceive - isUnknownCall: false
I/Telecom ( 2225): Call: setTargetPhoneAccount ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxx], UserHandle{0}
V/GpsNetInitiatedHandler( 2225): ACTION_NEW_OUTGOING_CALL - false
I/Telecom ( 2225): Call: CallerInfo received for *****: [email protected] { name null, phoneNumber non-null }
W/InputMethodManagerService( 2225): Window already focused, ignoring focus gain of: [email protected] [email protected], token = [email protected]
D/DialpadFragment( 3876): Displaying normal Dialer UI.
D/DialpadFragment( 3876): Displaying normal Dialer UI.
I/Telecom ( 2225): CallsManager: Creating a new outgoing call with handle: *****
I/Telecom ( 2225): CallsManager: updateLchStatus subInConversation: 5000
I/Telecom ( 2225): CreateConnectionProcessor: Trying attempt CallAttemptRecord(ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxx], UserHandle{0},ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxx], UserHandle{0})
I/Telecom ( 2225): CreateConnectionProcessor: Attempting to call from ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}
I/Telecom ( 2225): ServiceBinderConnection: Service bound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}
I/Telephony( 2743): TelephonyConnectionService: onCreateOutgoingConnection, request: ConnectionRequest xxxxxxxxxxx Bundle[mParcelledData.dataSize=96]
I/Telecom ( 2225): ConnectionServiceWrapper: Service unbound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, from unbind.
I/Telecom ( 2225): CallsManager: setCallState CONNECTING -> DISCONNECTED, call: [881702855, CONNECTING, null, *****, 0, childs(0), has_parent(false), [[Capabilities:]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxxxxx], UserHandle{0} 0]
I/Telecom ( 2225): CallsManager: entered manageMSimInCallTones
I/Telecom ( 2225): CallsManager: updateLchStatus subInConversation: null
I/Telecom ( 2225): CallsManager: setActiveSubscription = null
I/Telecom ( 2225): CallsManager: entered manageMSimInCallTones
I/Timeline( 3876): Timeline: Activity_idle id: [email protected] time:1476741
Searching for networks:
Code:
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_output_start()
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_route_start()
D/Yamaha-MC1N2-Audio( 1862): (yamaha_mc1n2_audio_params_route_find): device = 2, direction = 0
V/WindowManager( 2225): not Base app: Adding window Window{a3df74b u0 com.android.phone/com.android.phone.NetworkSetting} at 6 of 9
I/NotificationService( 2225): cancelToast pkg=com.android.phone [email protected]
W/NotificationService( 2225): Toast already cancelled. pkg=com.android.phone [email protected]
W/InputMethodManagerService( 2225): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
Maybe this is a problem with the /efs - partition. hxxp://redmine.replicant.us/boards/9/topics/8841?r=9483 . The owner of most files in /efs is root or system, not radio
Code:
[email protected]:/ # ls -la /efs/
ls -la /efs/
-rw-r--r-- root root 1 2011-01-01 01:00 .nv_state
drwxrwxr-x radio system 2000-01-01 01:09 bluetooth
-rw-r--r-- system system 9 2010-12-31 22:02 cryptprop_applied_result
-rw-r--r-- root root 1 2010-12-31 22:00 cryptprop_rebootMode
drwx------ system system 2010-12-31 22:01 dmp
-rw-rw-rw- system system 256 2014-06-06 10:33 edk_p
-rw-r--r-- root root 2354 2011-01-01 01:00 nv.log
-rw-r--r-- root root 32 2010-12-31 22:13 nv_data.bin.md5
-rw-r--r-- root root 880 2010-12-31 16:02 redata.bin
-rw-r--r-- root root 1 2013-02-12 07:00 upgaddr
drwxrwxr-x radio system 2000-01-01 01:13 wifi
Activation of mobile network in settings:
Code:
D/Yamaha-MC1N2-Audio( 1861): yamaha_mc1n2_audio_route_start()
D/MccTable( 2753): updateMccMncConfiguration mccmnc='null' fromServiceState=true
D/MccTable( 2753): WIFI_COUNTRY_CODE set to
I/WifiService( 2226): WifiService trying to set country code to with persist set to true
E/WifiStateMachine( 2226): Ignoring resetting of country code
D/KeyguardUpdateMonitor( 2369): ACTION_SERVICE_STATE_CHANGED on sub: 5000 mServiceState: 1 1 voice home data home null null null null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false
D/GpsLocationProvider( 2226): received SIM realted action:
D/GpsLocationProvider( 2226): SIM MCC/MNC is still not available
W/sh ( 4104): type=1400 audit(0.0:237): avc: denied { write } for name="log" dev=mmcblk0p10 ino=73730 scontext=u:r:rild:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir
I/MmsService( 2753): MmsConfigManager.loadInBackground(): mcc/mnc: 262/3
I/Telephony( 2753): PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
D/Telephony( 2753): PstnPhoneCapabilitiesNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
E/MmsService( 2753): MmsConfigManager.load -- empty getActiveSubInfoList
D/Telephony( 2753): TelecomAccountRegistry: Found 1 phones. Attempting to register.
D/Telephony( 2753): TelecomAccountRegistry: Phone with subscription id 5000
E/PhoneInterfaceManager( 2753): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
D/Telephony( 2753): AccountEntry: Registered phoneAccount: [PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxx], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxxxxxx], UserHandle{0}
I/Telephony( 2753): PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
D/Telephony( 2753): PstnPhoneCapabilitiesNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
D/CallNotifier( 2753): onReceive...
D/PhoneStatusBarPolicy( 2369): updateSimState for subId :5000
D/PhoneStatusBarPolicy( 2369): updateSimState for phoneId :0
D/PhoneStatusBarPolicy( 2369): updateSimState for Slot :0
D/Telephony( 2753): PstnPhoneCapabilitiesNotifier: handleVideoCapabilitesChanged. Video capability - false
D/CellBroadcastReceiver( 3604): onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver (has extras) }
D/CellBroadcastReceiver( 3604): Intent ACTION_SERVICE_STATE_CHANGED
D/CellBroadcastReceiver( 3604): Service state changed! 1 Full: 1 1 voice home data home null null null null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false Current state=-1
D/CellBroadcastReceiver( 3604): onReceive Intent { act=android.intent.action.ACTION_SUBINFO_RECORD_UPDATED flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver }
E/PhoneInterfaceManager( 2753): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
I/art ( 2226): Background partial concurrent mark sweep GC freed 21767(1433KB) AllocSpace objects, 6(196KB) LOS objects, 20% free, 15MB/19MB, paused 2.154ms total 179.409ms
D/GpsLocationProvider( 2226): received SIM realted action:
D/GpsLocationProvider( 2226): SIM MCC/MNC is still not available
I/MediaFocusControl( 2226): AudioFocus abandonAudioFocus() from [email protected][email protected]
I/HeadsetService( 2686): Audio session removed: 18
I/MediaFocusControl( 2226): AudioFocus abandonAudioFocus() from [email protected][email protected]