[NDK App and Java App] Working on a new VNC Server V1.86 - Android Apps and Games

** You need to have root to run this app! **
I have been hacking up a vnc server from old code I found on Google. I will try to get the changes merged into the original project; if that fails I will start a new project or just post the source.
This one works with my rooted Transformer Prime, a rooted Galaxy S2 and a CyanogenMod Nexus One perfectly. On a non-rooted Galaxy S2 everything works except the mouse/touch.
This uses the new Screenshot code for Android and either the "uinput" user space input device, the "input" command line tool to send keys, or direct access to the Linux keyboard device. It uses either the "uinput" user space input device if specified for the keyboard or the Linux touch device / mousepad device (like on my Prime).
I have been pushing the NDK app to /data/local/vncs using adb.
Open an "adb shell" or local connectbot session. cd /data/local. and then a command like below:
Try this first:
./vncs
galaxy s2 has no mouse pointer: (touch won't work without root)
./vncs -t /dev/input/event2 -s -g -x 480 -y 800
galaxy nexus has no mouse pointer: (touch won't work without root)
./vncs -t /dev/input/event1 -s -n -x ? -y ? (I don't know the values for the nexus touch size or if it auto detects)
prime with keyboard has visible mouse pointer: (rooted ICS)
./vncs -t /dev/input/event5
prime without keyboard has no mouse pointer: (rooted ICS)
./vncs -t /dev/input/event3
nexus one with cyanogenmod: (rooted Gingerbread)
./vncs -t /dev/input/event3
local Escape key is "back" on remote Android device
local Windows or Home key is "home" on remote Android device
local F1 or Menu or Pg-Up key is "menu" on remote Android device
local F6 key is "camera" on some devices (not all)
local Pg-Dn key is "call" on some devices (not all)
local End key is "end call" and/or power on/off
local Alt-o / Alt-i is "power off/on" on some devices
local Alt-u is "volume up" on some devices
local Alt-d is "volume down" on some devices
Press F2 or Alt-p to pause/resume screen refresh. This is great for watching videos on the TV. If you don't disable the remote refresh then the video will jerk because of the screenshots being taken.
If you have a Prime with the keyboard then you can use the mouse pointer version and see what you are clicking on even with screen refresh off.
Press F4 or Alt-r to rotate the screen 90 degrees. 0,90,180,270 then back to 0. The connection disconnects for now so you will need to reconnect again. To keep reconnecting, in a shell on my laptop I use "while :; do vncviewer 192.168.0.5:1; sleep 1; done".
Press F3 or Alt-s to change the scaling, normal, half, quarter then back to normal. The connection disconnects for now so you will need to reconnect again. To keep reconnecting, in a shell on my laptop I use "while :; do vncviewer 192.168.0.5:1; sleep 1; done".
Press Alt-q to close the connection from the server side. It can be opened again from the client.
I haven't tested on many other devices yet. Let me know of failures or successes!
Command line switches on the server:
-h show help
-s swap red/blue colors
-g galaxy s2 touchscreen
-n galaxy nexus touchscreen
-x touchscreen maximim x
-y touchscreen maximim y
-r rotate mode 0,1,2,3 = 0,90,180,270 degrees, default is 0
-T touchscreen pointer rotate offset, 0-3=0,90,180,270, default is 0 (same rotation as screen)
-m magnification 1/m, 1=fullsize, 2=half size, 4=quarter size
-t touch device
-k keyboard device, default is uinput command
-p : password, default is none
-d : delay between events, default is 300000
-P : port, default is 5901
-32 32bpp; default is 32 for snapshot, 16 for framebuffer
-16 16bpp; default is 32 for snapshot, 16 for framebuffer
-o hack to send touch events on non-rooted device
-c red offset, red length, green offset, green length, blue offset, blue length; defaults 16,8,8,8,8,0
-R connect to remote host:remote port
-a average when scaling (slower but better looking)
-C reconnect to listener if connection dropped
Version 1.86
---------------------------------------
Version 1.86 includes many new features such as connect to remote vnc listener, deliver VNC Java client on port 5800+, average pixels when scaling, touchscreen pointer rotation offset and generic color sequence settings (needed for some devices).
If all connected clients support it then size and rotation are updated without disconnecting the client; if any client doesn't support it, then all clients are disconnected as it worked previously. Normally not a problem since most people only connect to a device with one client at a time.
Connect to your device from a java enabled web browser with something like http://192.168.0.8:5801 if your normal port is 5901. The downloaded jar supports most things the standalone vnc clients support.
---------------------------------------
Version 1.86 includes a Java Control App as well.
It has the NDK app included in it so you only need to download the standalone exe if you don't want the Java App. The Java App extracts the NDK App when it runs and keeps it in its own Android directory structure (not in /data/local anymore).
The GUI is now compiled for Android 2.2+ and now includes two desktop widgets: 1x1 and 4x1 and an option to turn on a notification that shows the current server status and a start/stop button. Notification icon and widgets change icon to give visual indication when the server is running.
Custom Launchers and other apps can call activities to start/stop the server.
Tasker Action Intent setup:
Action: com.mrk2012.android.preferences.START (or STOP)
Cat: Launcher
Target: Broadcast Receiver
For instance, I have my phone setup to start the server when I place it in the dock or connect power.
I found/fixed a small bug with the refresh code, hopefully that will a) keep the widgets/notifications updating unless you stopped them from the menu and b) fix the "VNCPrefs has Stopped" display.
** You need to have root to run this app! **
You can configure everything from the Java GUI. Check out the About/Help menu option to see the list of special keys and their functions.
Also look in the Help section for a quick guide on how to configure the options for different types of devices. Post if you find some more working or not working devices.
---------------------------------------
Todo:
+ done: scale viewer
+ done: switch between portrait/landscape in viewer
+ done: launch/control from gui
+ create generic option for specifying pointer setup so anyone can add a new device (superseded by using uinput)
+ fix input on undocked Prime (fixed with uinput)
+ add a way to start/stop the server from an email, sms or google voice
+ http server/applet
- upgrade to latest vnc server library/applet
- ctrl key (for connectbot mainly)
Prime specifc keys:
- page up/down keys
- home/end keys
- insert/delete keys
- media/volume keys
- other prime hard keys: wireless/mouse/bluetooth/contrast/camera/etc

I'm trying this on my rooted Galaxy Nexus (4.0.2) using connectbot, but I keep on getting "cannot execute - Permission denied" even though I'm using superuser prompt.
EDIT: I forgot to set permissions to the file, it works now, although the framerate seems a bit low and the colors are inverted...

I only get a couple frames per second. I don't think the snapshot code is very fast.
Try the command line switch -s to swap the red/blue colors.
-h shows all the options.

The -s switch does the trick with the inverted colors. Unfortunately I can not get keyboard and mouse input to work.
About the low framerate, I can see that "surfaceflinger" is taking up a lot of cpu usage when I start vncs, maybe that has something to do with it...
Please keep up the good work, I really like it already!

Did you try the -g option for the pointer? That format is what the Galaxy S2 uses. The Nexus may be the same.
If that doesn't help, read on.....
Since your device is rooted, do you have busybox installed?
If so, can you post the output of "which input"? I currently use that program to inject the keys and I have found it to work on several devices although it is a bit slow.
For the pointer, try using the -t option to specify different /dev/input/eventX options where X is usually 0 - 6. An "ls -l /dev/input/" will show you which ones are available. Different phones/tablets use different event devices and I haven't tried to figure out how to auto detect which is which.
If you run something like "od -x /dev/input/eventX", where X is 0 - 7, and touch the touchscreen you should get output on the one the touchscreen uses.
If you find the right -t option by using od, but still can't get the mouse to work over VNC, post the output of this:
- run "od -x /dev/input/event3" (or whichever event file works for you)
- carefully touch/release the screen as quickly as possible so you get one or two "touch" events outputting from the od command
- post the values (I would do this over adb so you can copy/past the output)
I will look at the output to see how it differs from the devices I have tested.

Also running a Galaxy Nexus with 4.0.2 (VZW, deodexed but otherwise stock ROM, rooted [as all Nexus devices should be]). The -s fixed the color inversion, with or without -g I can't use the touch or keyboard input (although I wasn't thorough about keyboard testing).
I would like to request a scaling factor or allowing 90 degree rotation since the 1280 pixel vertical resolution exceeds my 1080p monitor, but that's pretty minor as of now.
Code:
# which input
/system/bin/input
It looks like the touchscreen is actually on event1:
Code:
[email protected]:/ # od -x /dev/input/event1
0000000 00d2 0000 0f70 0001 0003 0039 001e 0000
0000020 00d2 0000 0f70 0001 0003 0030 000e 0000
0000040 00d2 0000 0f8f 0001 0003 003a 0081 0000
0000060 00d2 0000 0f8f 0001 0003 0035 01ca 0000
0000100 00d2 0000 0f8f 0001 0003 0036 0120 0000
0000120 00d2 0000 0fad 0001 0000 0000 0000 0000
0000140 00d2 0000 2d5c 0001 0003 0039 ffff ffff
0000160 00d2 0000 2d5c 0001 0000 0000 0000 0000
Here are the input devices:
Code:
# ls /dev/input
event0
event1
event2
event3
event4
event5
mice
Thanks for your work on this, I really miss having a VNC server on my phone!

New Version 1.1 up; see first post.
Added scaling and rotation.
Tweaked the input handling.
For Galaxy S2 try ./vncs -t /dev/input/event2 -s -g -x 480 -y 800.
Other devices let me know if this version works better.

The touchscreen indeed seems to be on event1. So I tried the following commands:
./vncs -t /dev/input/event1 -s -g -x 720 -y 1280
./vncs -t /dev/input/event1 -s
But mouse input still doesn't work, unfortunately.
I also found out when the phone goes to stand-by mode while running vncs, the touchscreen stops working at all. Had to take out my battery to restart the phone...

I forgot to actually attach the new version.
Check -h when you run it to make sure it says version 1.1.
See if this fixes the event problem.
I have never seen the device hang when it goes to sleep.
I will see if I can reproduce that.

Still no luck on the VZW Galaxy Nexus (but the scaling is much appreciated!). Please let me know if you'd like any additional debugging information from me.

jdbower:
Please try to capture a couple more touchscreen presses. I don't think there is enough information in your previous log.
I see the headers, and x/y movement. But I'm not sure I see the actual "finger down/release". Or I don't understand it.
Thanks

This was a quick tap on the home screen:
Code:
# od -x /dev/input/event1
0000000 0521 0000 13ee 000a 0003 0039 000c 0000
0000020 0521 0000 140c 000a 0003 0030 000b 0000
0000040 0521 0000 140c 000a 0003 003a 006e 0000
0000060 0521 0000 142b 000a 0003 0035 014d 0000
0000100 0521 0000 142b 000a 0003 0036 02e1 0000
0000120 0521 0000 142b 000a 0000 0000 0000 0000
0000140 0521 0000 5afa 000a 0003 0039 ffff ffff
0000160 0521 0000 5b18 000a 0000 0000 0000 0000
And another:
Code:
# od -x /dev/input/event1
0000000 0549 0000 a50e 0005 0003 0039 000d 0000
0000020 0549 0000 a52d 0005 0003 0030 000e 0000
0000040 0549 0000 a52d 0005 0003 003a 008f 0000
0000060 0549 0000 a52d 0005 0003 0035 0218 0000
0000100 0549 0000 a54b 0005 0003 0036 02f1 0000
0000120 0549 0000 a54b 0005 0000 0000 0000 0000
0000140 0549 0000 c280 0005 0003 0039 ffff ffff
0000160 0549 0000 c29e 0005 0000 0000 0000 0000
And a swipe in case it helps:
Code:
# od -x /dev/input/event1
0000000 0572 0000 3e50 000d 0003 0039 000e 0000
0000020 0572 0000 3e6e 000d 0003 003a 0079 0000
0000040 0572 0000 3e6e 000d 0003 0035 00f3 0000
0000060 0572 0000 3e8d 000d 0003 0036 02dd 0000
0000100 0572 0000 3e8d 000d 0000 0000 0000 0000
0000120 0572 0000 63fb 000d 0003 003a 007c 0000
0000140 0572 0000 6438 000d 0003 0035 0101 0000
0000160 0572 0000 6438 000d 0003 0036 02db 0000
0000200 0572 0000 6438 000d 0000 0000 0000 0000
0000220 0572 0000 88d1 000d 0003 003a 007e 0000
0000240 0572 0000 88d1 000d 0003 0035 011f 0000
0000260 0572 0000 88d1 000d 0003 0036 02d8 0000
0000300 0572 0000 88f0 000d 0000 0000 0000 0000
0000320 0572 0000 ada7 000d 0003 003a 007f 0000
0000340 0572 0000 adc6 000d 0003 0035 0148 0000
0000360 0572 0000 adc6 000d 0003 0036 02d5 0000
0000400 0572 0000 adc6 000d 0000 0000 0000 0000
0000420 0572 0000 d484 000d 0003 003a 0080 0000
0000440 0572 0000 d484 000d 0003 0035 0178 0000
0000460 0572 0000 d484 000d 0003 0036 02d2 0000
0000500 0572 0000 d4a3 000d 0000 0000 0000 0000
0000520 0572 0000 f91d 000d 0003 003a 0081 0000
0000540 0572 0000 f91d 000d 0003 0035 01a8 0000
0000560 0572 0000 f91d 000d 0003 0036 02ce 0000
0000600 0572 0000 f93b 000d 0000 0000 0000 0000
0000620 0572 0000 1e11 000e 0003 003a 0082 0000
0000640 0572 0000 1e30 000e 0003 0035 01d9 0000
0000660 0572 0000 1e30 000e 0003 0036 02cc 0000
0000700 0572 0000 1e30 000e 0000 0000 0000 0000
0000720 0572 0000 426d 000e 0003 003a 0081 0000
0000740 0572 0000 426d 000e 0003 0035 0207 0000
0000760 0572 0000 426d 000e 0003 0036 02cb 0000
0001000 0572 0000 426d 000e 0000 0000 0000 0000
0001020 0572 0000 6780 000e 0003 003a 007a 0000
0001040 0572 0000 6780 000e 0003 0035 0233 0000
0001060 0572 0000 679f 000e 0000 0000 0000 0000
0001100 0572 0000 8c75 000e 0003 003a 0050 0000
0001120 0572 0000 8c75 000e 0003 0035 0262 0000
0001140 0572 0000 8c75 000e 0003 0036 02cc 0000
0001160 0572 0000 8c75 000e 0000 0000 0000 0000
0001200 0572 0000 affb 000e 0003 0039 ffff ffff
0001220 0572 0000 affb 000e 0000 0000 0000 0000
Let me know if there's anything else I can provide. Thanks!

Just taking a stab in the dark with 1.2 for the nexus since I don't know anyone nearby who has one.
If it doesn't work, try running the od command while using vnc so I can compare the output with what it should be.

Here's the output of a click on the VNC window with -g:
Code:
# od -x /dev/input/event1
0000000 00e4 0000 0786 0008 0000 0002 0000 0000
0000020 00e4 0000 07a5 0008 0000 0000 0000 0000
0000040 00e4 0000 07e2 0008 0000 0002 0000 0000
0000060 00e4 0000 07e2 0008 0000 0000 0000 0000
0000100 00e4 0000 07e2 0008 0000 0002 0000 0000
0000120 00e4 0000 07e2 0008 0000 0000 0000 0000
And without -g:
Code:
# od -x /dev/input/event1
0000000 0144 0000 47d8 000b 0000 0002 0000 0000
0000020 0144 0000 47f6 000b 0000 0000 0000 0000
0000040 0144 0000 49fd 000b 0000 0002 0000 0000
0000060 0144 0000 4a1c 000b 0000 0000 0000 0000
0000100 0144 0000 4c41 000b 0000 0002 0000 0000
0000120 0144 0000 4c41 000b 0000 0000 0000 0000
Note that there's a pretty long delay between the click and the response, on the order of 5 seconds.
I'm not sure exactly what I'm reading, but it seems like lifting my finger from the screen produces ffff ffff in the second to last value, it seems like this is missing from the VNC mouseclick.
For whatever reason, the lockup behavior seems much worse with this build. The od command still shows response to touches, but the phone doesn't respond.
Hope this helps!

I forgot to tell you (it says in the -h) to use -n instead of -g for the Nexus.
I slowed the events down since they actually lag on my GS2 quite a bit.
I can turn that off it it makes the GN worse.
Maybe we can look at it this weekend if its still not working.

how to install this? after download the vncs.zip, there is no apk file.

At the moment there is no java gui to start/stop the program.
You need to start it from a shell prompt using adb or something like connectbot.
If you are not familiar with these methods of program control you might want to wait another week or two until I have time to put together a GUI or merge it back into another program that already has a GUI.

great...i am looking forward to the apk release soon...thank you.

Sorry, I didn't see the -n option in the help. Here are the od outputs from my VNC client with -n enabled:
Click:
Code:
# od -x /dev/input/event1
0000000 3b5f 0000 2942 0000 0003 0039 ffff 0000
0000020 3b5f 0000 2961 0000 0000 0000 0000 0000
0000040 3b5f 0000 f6e7 0004 0003 0039 000c 0000
0000060 3b5f 0000 f724 0004 0000 0000 0000 0000
Another click:
Code:
# od -x /dev/input/event1
0000000 3bd3 0000 4a79 0007 0003 0039 ffff 0000
0000020 3bd3 0000 4a79 0007 0000 0000 0000 0000
0000040 3bd3 0000 5006 000c 0003 0039 000c 0000
0000060 3bd3 0000 5025 000c 0000 0000 0000 0000
Swipe, left to right (looks like a click to my untrained eye):
Code:
# od -x /dev/input/event1
0000000 3bd3 0000 4a79 0007 0003 0039 ffff 0000
0000020 3bd3 0000 4a79 0007 0000 0000 0000 0000
0000040 3bd3 0000 5006 000c 0003 0039 000c 0000
0000060 3bd3 0000 5025 000c 0000 0000 0000 0000
Let me know if I can be of any more help.

knoxbrder said:
At the moment there is no java gui to start/stop the program.
You need to start it from a shell prompt using adb or something like connectbot.
If you are not familiar with these methods of program control you might want to wait another week or two until I have time to put together a GUI or merge it back into another program that already has a GUI.
Click to expand...
Click to collapse
Looking forward to it too. Missing this feature badly from Gingerbread Let me know if you need a noob beta tester for the apk version

Related

Tom Tom Bluetooth Bonding Pin

Hi Unfortunately i can no longer put my hands on my original Tom Tom Manual and after a rom upgrade i now need to re bond my Bluetooth GPS reciever does anyone know what the standard bonding pin is to get the device to sinc to my XDA2 I have tried 1111 and 1234 but cant get it to work
Cheers
James :roll:
Try 0000
try 0000

Orbit 2 refuses to pair with Earset 2 (solution found)

Hi - just got a B&O Earset 2 headset, which pairs fine with my Orbit 1 (and laptop)
But on my Orbit 2 (original o2 ROM) it failed every time...
(the Orbit 2 detected the Earset 2, but when I entered the passcode 0000 it eventually came back with the usual error message)
By accident, found the answer -
a) when passkey requested, do NOT enter 0000 - just click Next
b) you then get a message saying that the Earset 2 needs the passcode - at this point, enter the 0000
c) headset then pairs fine.
Weird. Hopefully this will help others with an Earset and a Polaris.

[Q] SIP audio not wirking on HTC G2 / Desire Z with CM9

Dear guys,
not shure if im right here in this thread - the RPM thread seems to be closed for me as i have < 10 posts here...
The native SIP client of CM9 produces no audio (inbound / outbound) on the HTC Desire Z / G2 while third party SIP clients like linphone etc. seems to work.
As third party solutions are not so reliable / stable from my view / experience and i hardly use VoIP with CM this is very urgent for me.
It seems that problem is still filed at google dev (cant post urls here - arggg!) But it seems there is noone working on that att.
Here is a logtail out from such SIP Calls (in this case called a VoiceMail box) - for me it seems that "just" some audio got (re)directed to wrong ALSA output / interface / device or similiar, a wrong permission etc.. There is no change if i use speaker or internal headphone mode.
see i.e.:
Code:
D/AudioHardwareMSM7X30( 116): msm_route_stream(PCM_PLAY,5,6,1)
E/AudioTrack( 572): Could not get audio output for stream type 0
E/AudioGroup( 572): cannot initialize audio device
full SIP call system trace
Code:
V/SipPhone( 572): +***+ connection state changed: sip:*[email protected]: ACTIVE on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0}
D/SipAudioCall( 572): stop audiocall
V/SipAudioCall( 572): acquire wifi high perf lock
D/AudioGroup( 572): stream[81] is configured as PCMU 8kHz 20ms mode 0
D/AudioGroup( 572): stream[119] is configured as RAW 8kHz 20ms mode 0
D/AudioGroup( 572): stream[119] joins group[118]
D/AudioGroup( 572): stream[81] joins group[118]
D/AudioGroup( 572): group[118] switches from mode 0 to 2
D/AudioGroup( 572): reported frame count: output 160, input 2048
D/AudioGroup( 572): adjusted frame count: output 320, input 2048
E/AudioTrack( 572): Could not get audio output for stream type 0
E/AudioGroup( 572): cannot initialize audio device
I/ActivityManager( 189): START {act=android.intent.action.MAIN flg=0x10840000 cmp=com.android.phone/.InCallScreen} from pid 572
D/AccelerometerListener( 572): enable(true)
D/PhoneStatusBar( 465): disable: < expand icons ALERTS* ticker system_info back home recent clock >
D/InCallScreen( 572): onNewIntent: intent = Intent { act=android.intent.action.MAIN flg=0x10c40000 cmp=com.android.phone/.InCallScreen }, phone state = OFFHOOK
D/PhoneStatusBar( 465): disable: < EXPAND* icons ALERTS ticker system_info back home recent clock >
I/power ( 189): *** set_screen_state 1
W/CallerInfo( 572): getGeoDescription: NumberParseException for incoming number '*97'
W/IInputConnectionWrapper(25083): showStatusIcon on inactive InputConnection
D/SipSession( 572): transaction terminated: req=INVITE,6326,s=TERMINATED,ds=CONFIRMED,
D/SipSession( 572): Transaction terminated; do nothing
D/AccelerometerListener( 572): orientation: horizontal
D/AudioHardwareMSM7X30( 116): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30( 116): Deroute pcm out stream
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
D/InCallScreen( 572): toggleSpeaker(): newSpeakerState = true
D/AudioGroup( 572): group[118] switches from mode 2 to 3
D/Call ( 572): audioGroup mode change: 2 --> 3
I/AudioHardwareMSM7X30( 116): Routing audio to Speakerphone
D/AudioHardwareMSM7X30( 116): new_rx = 6
D/AudioHardwareMSM7X30( 116): new_tx = 11
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
D/AudioHardwareMSM7X30( 116): updateACDB: (11, 6, 0, 0)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 0)
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 0 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 0 ALSA dev id:1
D/AudioGroup( 572): reported frame count: output 160, input 2048
D/AudioGroup( 572): adjusted frame count: output 320, input 2048
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 1 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): value of device and enable is 11 1 ALSA dev id:11
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 6 cur_tx 11
D/AudioHardwareMSM7X30( 116): setVoiceVolume(1.000000)
I/AudioHardwareMSM7X30( 116): Setting in-call volume to 100 (available range is 0 to 100)
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 1 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): updateACDB: (11, 6, 0, 607)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
D/AudioHardwareMSM7X30( 116): msm_route_stream(PCM_PLAY,5,6,1)
E/AudioTrack( 572): Could not get audio output for stream type 0
E/AudioGroup( 572): cannot initialize audio device
D/dalvikvm(23441): GC_EXPLICIT freed 105K, 59% free 3440K/8323K, paused 30ms+4ms
D/SipSession( 572): not the current dialog; [email protected], [email protected]
D/AudioHardwareMSM7X30( 116): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30( 116): Deroute pcm out stream
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 6 cur_tx 11
D/dalvikvm(25106): GC_CONCURRENT freed 2931K, 50% free 4244K/8323K, paused 4ms+6ms
D/InCallScreen( 572): internalHangup()... phone state = OFFHOOK
D/PhoneUtils( 572): hangup(): hanging up foreground call
D/PhoneUtils( 572): - hangup(Call): regular hangup()...
D/Call ( 572): hang up call: ACTIVE: ACTIVE:[email protected] on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0}
V/Call ( 572): +***+ call state changed: ACTIVE --> DISCONNECTING: ACTIVE:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 1
D/SipPhone( 572): ^^^ new phone state: IDLE
I/RT ( 3803): AUDIO: Call ended
D/SipPhone( 572): hangup conn: sip:*[email protected]: ACTIVE: on phone SIP:[email protected]
W/ActivityManager( 189): Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com.carl.trafficcounter requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
D/SipAudioCall( 572): stop audiocall
V/SipAudioCall( 572): release wifi high perf lock
D/AudioGroup( 572): stream[81] leaves group[118]
D/AudioGroup( 572): stream[81] is dead
D/AudioGroup( 572): stream[119] is dead
D/AudioGroup( 572): group[118] is dead
D/SipPhone( 572): --- connection ended: sip:*[email protected]: 8, cause: LOCAL, on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0}
D/SipAudioCall( 572): stop audiocall
D/Call ( 572): ---check connections: 1
D/Call ( 572): state=DISCONNECTED: incoming: false state: DISCONNECTED post dial state: NOT_STARTED
V/Call ( 572): +***+ call state changed: DISCONNECTING --> DISCONNECTED: DISCONNECTING:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 1
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 1 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): updateACDB: (11, 6, 0, 607)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
D/AudioHardwareMSM7X30( 116): msm_route_stream(PCM_PLAY,5,6,1)
D/AccelerometerListener( 572): enable(false)
D/PhoneStatusBar( 465): disable: < EXPAND icons alerts* ticker system_info back home recent clock >
D/CallNotifier( 572): onDisconnect: cause = LOCAL, incoming = false, date = 1346185403896
D/CallNotifier( 572): SignalInfoTonePlayer.run(toneId = 98)...
D/AudioHardwareMSM7X30( 116): setVoiceVolume(1.000000)
I/AudioHardwareMSM7X30( 116): Setting in-call volume to 100 (available range is 0 to 100)
I/PowerManagerService( 189): clearUserActivity for 10000ms from now
D/CallNotifier( 572): InCallTonePlayer.run(toneId = 5)...
D/AudioHardwareMSM7X30( 116): setVoiceVolume(1.000000)
I/AudioHardwareMSM7X30( 116): Setting in-call volume to 100 (available range is 0 to 100)
D/InCallScreen( 572): delayedCleanupAfterDisconnect()... Phone state = IDLE
V/Call ( 572): +***+ call state changed: DISCONNECTED --> IDLE: DISCONNECTED:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 0
I/ActivityManager( 189): START {flg=0x10000 cmp=com.android.contacts/.activities.DialtactsActivity} from pid 572
I/AudioHardwareMSM7X30( 116): Routing audio to Handset
D/AudioHardwareMSM7X30( 116): new_rx = 0
D/AudioHardwareMSM7X30( 116): new_tx = 1
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): The node type is 1 and cur device 6 new device 0
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 0 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 1 ALSA dev id:0
D/AudioHardwareInterface( 116): setMode(NORMAL)
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
D/AudioHardwareMSM7X30( 116): updateACDB: (1, 0, 0, 0)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (1, 0, 0, 0)
D/AudioHardwareMSM7X30( 116): value of device and enable is 11 0 ALSA dev id:11
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 1 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 1 ALSA dev id:1
D/InCallScreen( 572): endInCallScreenSession(false)... phone state = IDLE
I/ActivityManager( 189): moveTaskToBack: 13
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
D/PhoneStatusBar( 465): disable: < expand* icons alerts ticker system_info back home recent clock >
I/AudioHardwareMSM7X30( 116): Routing audio to Handset
I/AudioService( 189): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
D/dalvikvm( 189): JIT code cache reset in 4 ms (1048572 bytes 9/0)
D/dalvikvm( 189): GC_CONCURRENT freed 1102K, 35% free 12556K/19143K, paused 10ms+19ms
I/Process ( 189): Sending signal. PID: 25083 SIG: 3
I/dalvikvm(25083): threadid=3: reacting to signal 3
I/dalvikvm(25083): Wrote stack traces to '/data/anr/traces.txt'
E/DefaultVoicemailNotifier(25083): No voicemails to notify about: clear the notification.
I/Process ( 189): Sending signal. PID: 25083 SIG: 3
I/dalvikvm(25083): threadid=3: reacting to signal 3
I/dalvikvm(25083): Wrote stack traces to '/data/anr/traces.txt'
I/ActivityManager( 189): Displayed com.android.contacts/.activities.DialtactsActivity: +1s248ms
D/AudioHardwareMSM7X30( 116): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30( 116): Deroute pcm out stream
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
I/AudioHardwareMSM7X30( 116): Routing audio to Speakerphone
D/AudioHardwareMSM7X30( 116): new_rx = 6
D/AudioHardwareMSM7X30( 116): new_tx = 11
D/AudioHardwareMSM7X30( 116): Ending Voice call
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 116): No active voicecall/playback, disabling cur_rx 0
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 0 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): No active voicecall/recording, disabling cur_tx 1
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 0 ALSA dev id:1
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 6 cur_tx 11
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 1 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): updateACDB: (11, 6, 0, 607)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
D/AudioHardwareMSM7X30( 116): msm_route_stream(PCM_PLAY,5,6,1)
I/ActivityManager( 189): START {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxx flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity (has extras)} from pid 25083
I/ActivityManager( 189): Process com.carl.trafficcounter (pid 24974) has died.
I/Process ( 189): Sending signal. PID: 189 SIG: 3
I/dalvikvm( 189): threadid=3: reacting to signal 3
I/dalvikvm( 189): Wrote stack traces to '/data/anr/traces.txt'
I/ActivityManager( 189): Displayed android/com.android.internal.app.ResolverActivity: +960ms
D/OpenGLRenderer(25083): Flushing caches (mode 0)
D/OpenGLRenderer(25083): Flushing caches (mode 2)
D/OpenGLRenderer(25083): Flushing caches (mode 0)
D/dalvikvm(25083): GC_EXPLICIT freed 377K, 24% free 6328K/8323K, paused 12ms+9ms
E/DefaultVoicemailNotifier(25083): No voicemails to notify about: clear the notification.
I/ActivityManager( 189): START {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxx flg=0x13000000 cmp=com.android.phone/.PrivilegedOutgoingCallBroadcaster (has extras)} from pid 189
D/PhoneUtils( 572): checkAndCopyPhoneProviderExtras: some or all extras are missing.
D/PhoneUtils( 572): checkAndCopyPhoneProviderExtras: some or all extras are missing.
D/OpenGLRenderer( 607): Flushing caches (mode 0)
I/ActivityManager( 189): START {act=com.android.phone.SIP_SELECT_PHONE dat=tel:xxxx flg=0x10000000 cmp=com.android.phone/.SipCallOptionHandler (has extras)} from pid 572
D/dalvikvm( 189): GC_CONCURRENT freed 2560K, 35% free 12546K/19143K, paused 13ms+15ms
D/DhcpInfoInternal( 189): makeLinkProperties with empty dns2!
D/DhcpInfoInternal( 189): makeLinkProperties with empty dns2!
D/OpenGLRenderer( 607): Flushing caches (mode 2)
I/ActivityManager( 189): Displayed com.android.phone/.SipCallOptionHandler: +184ms (total +288ms)
D/OpenGLRenderer( 607): Flushing caches (mode 0)
D/dalvikvm( 572): GC_EXPLICIT freed 1156K, 49% free 8891K/17159K, paused 21ms+7ms
D/dalvikvm(25106): GC_CONCURRENT freed 1956K, 52% free 4010K/8323K, paused 21ms+9ms
D/CallController( 572): placeCall()... intent = Intent { act=android.intent.action.CALL dat=tel:xxxx (has extras) }
V/SipPhone( 572): canDial(): serviceState = 0
V/SipPhone( 572): canDial(): disableCall = false
V/SipPhone( 572): canDial(): ringingCall: IDLE
V/SipPhone( 572): canDial(): foregndCall: IDLE
V/SipPhone( 572): canDial(): backgndCall: IDLE
V/Call ( 572): +***+ call state changed: IDLE --> DIALING: IDLE:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 1
D/SipPhone( 572): ^^^ new phone state: OFFHOOK
W/ActivityManager( 189): Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com.carl.trafficcounter requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
I/RT ( 3803): AUDIO: In a call
D/SipAudioCall( 572): calling... [email protected]
I/Linphone(25152): GSM call state changed but manager not instantiated
D/dalvikvm( 189): GC_EXPLICIT freed 176K, 35% free 12501K/19143K, paused 6ms+10ms
D/AudioHardwareInterface( 116): setMode(IN_COMMUNICATION)
I/AudioHardwareMSM7X30( 116): Routing audio to Handset
D/AudioHardwareMSM7X30( 116): new_rx = 0
D/AudioHardwareMSM7X30( 116): new_tx = 1
D/AudioHardwareMSM7X30( 116): Starting voice on Rx 0 and Tx 1 device
D/AudioHardwareMSM7X30( 116): updateACDB: (1, 0, 0, 0)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (1, 0, 0, 0)
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 0 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 1 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): value of device and enable is 11 0 ALSA dev id:11
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 1 ALSA dev id:1
D/AudioHardwareMSM7X30( 116): Starting voice call and UnMuting the call
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
D/AudioHardwareMSM7X30( 116): The node type is 1 and cur device 6 new device 0
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 0 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 1 ALSA dev id:0
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
D/AudioHardwareMSM7X30( 116): setVoiceVolume(1.000000)
I/AudioHardwareMSM7X30( 116): Setting in-call volume to 100 (available range is 0 to 100)
I/AudioService( 189): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
I/ActivityManager( 189): START {act=android.intent.action.MAIN flg=0x10840000 cmp=com.android.phone/.InCallScreen} from pid 572
D/AccelerometerListener( 572): enable(true)
D/PhoneStatusBar( 465): disable: < expand icons ALERTS* ticker system_info back home recent clock >
D/InCallScreen( 572): onNewIntent: intent = Intent { act=android.intent.action.MAIN flg=0x10c40000 cmp=com.android.phone/.InCallScreen }, phone state = OFFHOOK
D/PhoneStatusBar( 465): disable: < EXPAND* icons ALERTS ticker system_info back home recent clock >
I/power ( 189): *** set_screen_state 1
W/IInputConnectionWrapper(25083): showStatusIcon on inactive InputConnection
D/AccelerometerListener( 572): orientation: vertical
D/dalvikvm( 572): GC_EXPLICIT freed 799K, 49% free 8907K/17159K, paused 6ms+8ms
V/SipAudioCall( 572): onCallEstablished()v=0
V/SipAudioCall( 572): o=root 2472 2472 IN IP4 10.1.1.200
V/SipAudioCall( 572): s=session
V/SipAudioCall( 572): c=IN IP4 10.1.1.200
V/SipAudioCall( 572): t=0 0
V/SipAudioCall( 572): m=audio 14546 RTP/AVP 0 8 127
V/SipAudioCall( 572): a=rtpmap:0 PCMU/8000
V/SipAudioCall( 572): a=rtpmap:8 PCMA/8000
V/SipAudioCall( 572): a=rtpmap:127 telephone-event/8000
V/SipAudioCall( 572): a=fmtp:127 0-16
V/SipAudioCall( 572): a=silenceSupp:off - - - -
V/SipAudioCall( 572): a=ptime:20
V/SipAudioCall( 572): a=sendrecv
V/Call ( 572): +***+ call state changed: DIALING --> ACTIVE: DIALING:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 1
V/SipPhone( 572): +***+ connection state changed: sip:[email protected]: ACTIVE on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0}
D/SipAudioCall( 572): stop audiocall
V/SipAudioCall( 572): acquire wifi high perf lock
D/AudioGroup( 572): stream[86] is configured as PCMU 8kHz 20ms mode 0
D/AudioGroup( 572): stream[94] is configured as RAW 8kHz 20ms mode 0
D/AudioGroup( 572): stream[94] joins group[93]
D/AudioGroup( 572): stream[86] joins group[93]
D/AudioGroup( 572): group[93] switches from mode 0 to 2
D/AudioGroup( 572): reported frame count: output 160, input 2048
D/AudioGroup( 572): adjusted frame count: output 320, input 2048
E/AudioTrack( 572): Could not get audio output for stream type 0
E/AudioGroup( 572): cannot initialize audio device
D/SipSession( 572): transaction terminated: req=INVITE,2189,s=TERMINATED,ds=CONFIRMED,
D/SipSession( 572): Transaction terminated; do nothing
D/AudioHardwareMSM7X30( 116): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30( 116): Deroute pcm out stream
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): case VOICE_CALL
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
D/AccelerometerListener( 572): orientation: horizontal
D/InCallScreen( 572): internalHangup()... phone state = OFFHOOK
D/PhoneUtils( 572): hangup(): hanging up foreground call
D/PhoneUtils( 572): - hangup(Call): regular hangup()...
D/Call ( 572): hang up call: ACTIVE: ACTIVE:[email protected] on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0}
V/Call ( 572): +***+ call state changed: ACTIVE --> DISCONNECTING: ACTIVE:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 1
D/SipPhone( 572): ^^^ new phone state: IDLE
I/RT ( 3803): AUDIO: Call ended
W/ActivityManager( 189): Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com.carl.trafficcounter requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
D/SipPhone( 572): hangup conn: sip:[email protected]: ACTIVE: on phone SIP:[email protected]
D/SipAudioCall( 572): stop audiocall
V/SipAudioCall( 572): release wifi high perf lock
D/AudioGroup( 572): stream[86] leaves group[93]
D/AudioGroup( 572): stream[86] is dead
D/AudioGroup( 572): stream[94] is dead
D/AudioGroup( 572): group[93] is dead
D/SipPhone( 572): --- connection ended: sip:[email protected]: 8, cause: LOCAL, on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0}
D/SipAudioCall( 572): stop audiocall
D/Call ( 572): ---check connections: 1
D/Call ( 572): state=DISCONNECTED: incoming: false state: DISCONNECTED post dial state: NOT_STARTED
V/Call ( 572): +***+ call state changed: DISCONNECTING --> DISCONNECTED: DISCONNECTING:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 1
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 1 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): updateACDB: (1, 0, 0, 0)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (1, 0, 0, 0)
D/AudioHardwareMSM7X30( 116): msm_route_stream(PCM_PLAY,5,0,1)
D/PhoneStatusBar( 465): disable: < EXPAND icons alerts* ticker system_info back home recent clock >
D/AccelerometerListener( 572): enable(false)
D/CallNotifier( 572): onDisconnect: cause = LOCAL, incoming = false, date = 1346185423796
I/PowerManagerService( 189): clearUserActivity for 10000ms from now
D/CallNotifier( 572): SignalInfoTonePlayer.run(toneId = 98)...
D/AudioHardwareMSM7X30( 116): setVoiceVolume(1.000000)
I/AudioHardwareMSM7X30( 116): Setting in-call volume to 100 (available range is 0 to 100)
D/CallNotifier( 572): InCallTonePlayer.run(toneId = 5)...
D/AudioHardwareMSM7X30( 116): setVoiceVolume(1.000000)
I/AudioHardwareMSM7X30( 116): Setting in-call volume to 100 (available range is 0 to 100)
D/InCallScreen( 572): delayedCleanupAfterDisconnect()... Phone state = IDLE
V/Call ( 572): +***+ call state changed: DISCONNECTED --> IDLE: DISCONNECTED:[email protected]: on phone Handler (com.android.internal.telephony.sip.SipPhone) {40fe2fb0} 0
I/ActivityManager( 189): START {flg=0x10000 cmp=com.android.contacts/.activities.DialtactsActivity} from pid 572
D/AudioHardwareInterface( 116): setMode(NORMAL)
D/InCallScreen( 572): endInCallScreenSession(false)... phone state = IDLE
I/ActivityManager( 189): moveTaskToBack: 13
I/AudioHardwareMSM7X30( 116): Routing audio to Handset
D/AudioHardwareMSM7X30( 116): new_rx = 0
D/AudioHardwareMSM7X30( 116): new_tx = 1
D/AudioHardwareMSM7X30( 116): Ending Voice call
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): No active voicecall/recording, disabling cur_tx 1
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 0 ALSA dev id:1
D/PhoneStatusBar( 465): disable: < expand* icons alerts ticker system_info back home recent clock >
D/AudioHardwareMSM7X30( 116): The node type is 1 and cur device 0 new device 0
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
I/AudioService( 189): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
I/Process ( 189): Sending signal. PID: 25083 SIG: 3
I/dalvikvm(25083): threadid=3: reacting to signal 3
I/dalvikvm(25083): Wrote stack traces to '/data/anr/traces.txt'
E/DefaultVoicemailNotifier(25083): No voicemails to notify about: clear the notification.
I/ActivityManager( 189): Displayed com.android.contacts/.activities.DialtactsActivity: +967ms
D/dalvikvm(24807): GC_EXPLICIT freed 889K, 63% free 3096K/8323K, paused 3ms+12ms
D/dalvikvm(25083): GC_EXPLICIT freed 210K, 21% free 6609K/8323K, paused 3ms+5ms
I/ActivityManager( 189): moveTaskToBack: 112
W/IInputConnectionWrapper(25083): showStatusIcon on inactive InputConnection
W/InputManagerService( 189): Starting input on non-focused client [email protected] (uid=10001 pid=25083)
D/OpenGLRenderer(25083): Flushing caches (mode 0)
I/ActivityManager( 189): Process com.facebook.katana (pid 24656) has died.
W/ActivityManager( 189): Scheduling restart of crashed service com.facebook.katana/.service.MediaUploadService in 5000ms
W/ActivityManager( 189): Scheduling restart of crashed service com.facebook.katana/.service.BackgroundDetectionService in 15000ms
W/ActivityManager( 189): Scheduling restart of crashed service com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService in 15000ms
D/OpenGLRenderer(25083): Flushing caches (mode 1)
D/AudioHardwareMSM7X30( 116): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30( 116): Deroute pcm out stream
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 0 and tx_device 1
D/AudioHardwareMSM7X30( 116): No active voicecall/playback, disabling cur_rx 0
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 0 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): No active voicecall/recording, disabling cur_tx 1
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 0 ALSA dev id:1
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 0 cur_tx 1
E/DefaultVoicemailNotifier(25083): No voicemails to notify about: clear the notification.
D/OpenGLRenderer(25083): Flushing caches (mode 2)
D/OpenGLRenderer(25083): Flushing caches (mode 0)
I/AudioHardwareMSM7X30( 116): Routing audio to Speakerphone
D/AudioHardwareMSM7X30( 116): new_rx = 6
D/AudioHardwareMSM7X30( 116): new_tx = 11
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 116): No active voicecall/playback, disabling cur_rx 0
D/AudioHardwareMSM7X30( 116): value of device and enable is 0 0 ALSA dev id:0
D/AudioHardwareMSM7X30( 116): No active voicecall/recording, disabling cur_tx 1
D/AudioHardwareMSM7X30( 116): value of device and enable is 1 0 ALSA dev id:1
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 6 cur_tx 11
I/ActivityManager( 189): START {flg=0x10000000 cmp=jackpal.androidterm/.Term bnds=[0,297][480,393]} from pid -1
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 1 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): updateACDB: (11, 6, 0, 607)
I/HTC Acoustic( 116): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
D/AudioHardwareMSM7X30( 116): msm_route_stream(PCM_PLAY,5,6,1)
W/KeyguardViewMediator( 189): verifyUnlock called when not externally disabled
D/OpenGLRenderer( 607): Flushing caches (mode 0)
D/OpenGLRenderer( 607): Flushing caches (mode 1)
D/OpenGLRenderer( 607): Flushing caches (mode 2)
D/OpenGLRenderer( 607): Flushing caches (mode 0)
D/AK8975 ( 120): sliding keypad status changed: 0 (0: open, 1: close)
I/ActivityManager( 189): Config changed: {0.85 262mcc1mnc de_DE layoutdir=0 sw320dp w533dp h294dp nrml long land finger qwerty/v/v tball/v s.73 themeResource=null}
I/InputReader( 189): Reconfiguring input devices. changes=0x00000004
I/InputReader( 189): Device reconfigured: id=6, name='atmel-touchscreen', surface size is now 480x800, mode is 1
D/dalvikvm(12792): GC_FOR_ALLOC freed 1038K, 56% free 6964K/15687K, paused 33ms
D/dalvikvm(12792): GC_FOR_ALLOC freed 843K, 53% free 7378K/15687K, paused 59ms
D/dalvikvm( 465): GC_FOR_ALLOC freed 2041K, 71% free 5747K/19399K, paused 77ms
D/AudioHardwareMSM7X30( 116): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30( 116): Deroute pcm out stream
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 116): No active voicecall/playback, disabling cur_rx 6
D/AudioHardwareMSM7X30( 116): value of device and enable is 6 0 ALSA dev id:6
D/AudioHardwareMSM7X30( 116): No active voicecall/recording, disabling cur_tx 11
D/AudioHardwareMSM7X30( 116): value of device and enable is 11 0 ALSA dev id:11
E/AudioHardwareMSM7X30( 116): updateDeviceInfo: X cur_rx 6 cur_tx 11
best regards,
Niels.

Can someone post their audio.conf code

Can someone post their audio.conf code? It is locateed in /etc/bluetooth/
The reason I am asking this, is because I am trying to troubleshoot my bluetooth connectivity issues with my car radio. It supports 1.3 AVRCP yet I'm getting no meta-data. This is the code my phone is showing below. (Also, my playback pauses randomly)
Code:
# Configuration file for the audio service
# This section contains options which are not specific to any
# particular interface
# NOTE: Enable=Sink means that bluetoothd exposes Sink interface for remote
# devices, and the local device is a Source
[General]
Enable=Sink,Control
Disable=Headset,Gateway,Source
# request master role for incoming connections
# so as to reduce the number of piconets and
# allow lot more incoming connections
Master=false
# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM
# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
#AutoConnect=true
# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
#[Headset]
# Set to true to support HFP (in addition to HSP only which is the default)
# Defaults to false
#HFP=true
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
#MaxConnections=1
# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incomming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=false
# Just an example of potential config options for the other interfaces
[A2DP]
SBCSources=1
MPEG12Sources=0
[AVRCP]
InputDeviceName=AVRCP
MetaDataEnable=true
[WBspeech]
#for wide band speech hci commands arguments
WBSEnable = false
I2sEnable = 0x01
IsMaster = 0x00
ClockRate = 0x02
PcmInterfaceRate = 0x00
Any help with this is greatly appreciated.
197 Views and not one person willing to post? Just want to see the audio.conf from a person with working streaming meta data...
BungeBash said:
197 Views and not one person willing to post? Just want to see the audio.conf from a person with working streaming meta data...
Click to expand...
Click to collapse
Here you go
# Configuration file for the audio service
# This section contains options which are not specific to any
# particular interface
# NOTE: Enable=Sink means that bluetoothd exposes Sink interface for remote
# devices, and the local device is a Source
[General]
Enable=Sink,Control
Disable=Headset,Gateway,Source
# Switch to master role for incoming connections (defaults to true)
Master=false
# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM
# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
#AutoConnect=true
# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
#[Headset]
# Set to true to support HFP (in addition to HSP only which is the default)
# Defaults to false
#HFP=true
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
#MaxConnections=1
# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incomming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=false
# Just an example of potential config options for the other interfaces
[A2DP]
SBCSources=1
MPEG12Sources=0
[AVRCP]
InputDeviceName=AVRCP
# The Sony car stereo Ford is using under their brand as '6000 CD' has a
# completely broken AVRCP 1.3 implementation. After recognizing AVRCP 1.3 TG
# capabilities and exchanging a few PDUs, the car stereo disconnects and
# reconnects BT, also resetting USB devices if connected to it.
# To avoid that and allow at least HFP and A2DP to work, prevent any AVRCP 1.3
# PDUs from being sent on those models - add the device to the black list.
# Since 2012 Ford models have it fixed, removing the device from the list
# will result in full functionality.
MetaDataBlackList=Ford Audio
Sent from my SGS3 running Eclipse 2.1
I appreciate the response. I was hoping there was going to be more different than the little excerpt at the bottom :-/ Maybe it is just going to be an issue with uConnect in dodge cars. Unfortunately I have no other car to test with.

OUKU Unbranded 6.2" Pure android headunit 4.2

Hello,
I am starting this thread to try and find out if there are any upgrades, root, roms for this unit. This is not the same unit as discussed in the other OUKU 6.2 thread.
This unit comes with android 4.2 the system is 2.8+ and the hardware on the unit is upped as well.
I have had no lucky finding info on this unit or mods to it in any other threads. I even tried Rooting one and in the process ended up somehow braking the wifi. The unit will not do a system factory reset. It just sits in resetting window and does nothing.
Here is a link to the unit on amazon
http://www.amazon.com/Android-Capac...-Bluetooth/dp/B00LIRMYFS/ref=cm_cd_ql_qh_dp_t
2DIN 6.2 inch Multi-Touch Capacitive screen
Android 4.1 system •CPU: Dual Core CORTEX A9,1.2GHz frequency
Built in 8GB iNAND •RAM DDR3 1GB •Support 3G(WCDMA)/ WIFI internet surfing,offer free WIFI dongle
handfree bluetooth phone call for safe driving
Features:GPS, Built-in Bluetooth, SD/USB Support, Touch Screen, Games, Subwoofer Output, WiFi, 3G(WCDMA), Steering Wheel Control, 3D Interface, RDS, iPod
Item ID:Up to 32GB/TF Card
Features: GPS, Built-in Bluetooth, SD/USB Support, Touch Screen, Games, Subwoofer Output, WiFi, 3G(WCDMA), Steering Wheel Control, 3D Interface, RDS, iPod
Digital TV or Analog TV: Analog TV
Display Ratio: 0.672916666666667
Screen Size: 6.2 inch
Screen Resolution: 800 x 480
Media Type: PDF, TXT, PNG, JPG, DIVX, DVD, DVD-RAM, Mp4, JPEG, WMA, Mp3,VCD, CD+R/RW, CD-R/RW, CD, MPEG4, AVI, DVD+R/RW, DVD-R/RW
Radio Response Bandwidth: AM: 522 KHz-1620 KHz;FM: 87.5 MHz-108 MHz
GPS: 0
GPS Card Slot: TF Card
Support Map: Kudo, PAPAGO, Sygic, IGO
Voice Navigation: Yes
Amplifier Max Output Power / Channel Qty: 45 Watts x 4
Connector Type: 1 x REARCAMERA, 1 x BRAKE CHECK, 1 x A/V IN, 4 x A/V OUT, 1 x GPS ANTENNA, 1 x USB, 1 x SUBWOOFER, 1 x AUX-IN, 1 x POWER, 1 x TV ANTENNA, 1 x IPOD, 1 x STEERING WHEEL CONTROL, 1 x CONNECTERS (POWER ETC)
Type: 2 Din
Color: Black
Dimensions / WxLxH(mm): 168*178*100
Net Weight(kg): 2.4
Warranty: 1 year
What's in the box: Power cable × 1, AV Cable × 1, GPS antenna × 1, WiFi USB Adapter × 1,USB cable × 1, iPod cable × 1, Set of Installation Hardware × 1, User's manual × 1, DVD host × 1
I also have this unit and will be watching this thread like a hawk.
Can't for the life of me figure out a compatible 3g modem.

Categories

Resources