YES with this patched vpnc you can connect from a rooted desire (or any other android device) to your AVM fritzbox with the original firmware. The included vpnc-script will help to fix the routing problems.
You need a rooted Android device with an tun.ko module
First setup your fritzbox like the iphone setup which is described at the avm portal (google-> "avm iphone vpn")
Install signed-FritzBox.apk to your phone.
Setup now your vpnc-gui and be happy.
--------------------------------------------------------------------------
Some detailed infos how to connect the Fritzbox with IPSEC via VPNC:
1.) you must use a IKE_ATTRIB_LIFE_DURATION = 3600 (seconds)
2.) you must use draft-ietf-ipsec-nat-t-ike-03
the original vpnc uses a IKE_ATTRIB_LIFE_DURATION with 2147483 (seconds) and only uses draft-ietf-ipsec-nat-t-ike-00 -> 02.
I change the timing to 3600 (seconds) and change the transformset 02 to 03.
Timing -> find in vpnc 000020C49B and change it to 0000000E10 (2x)
Transformset -> find in vpnc CD60464335DF21F87CFDB2FC68B6A448 and change it to 7D9419A65310CA6F2C179D9215529D56 (1x)
By the way these patch will help any vpnc user on every linux (i tested this with ubuntu and it works perfect)
----------------------------------------------------------------------------
update 20.12.2010
----------------------------------------------------------------------------
New APK to install on a rooted Android device. After installing you can connet via IPSEC VPN to a cisco device and to the FritzBox with the latest Firmware without modifying the FritzBox
For all who wants to use the FritzPhone App to make phonecalls via vpnc this will not work because the app did not use the 3G interface (only wlan). Download the app "3cx" from the market and in the setup menu "integration" you will find "Enable 3G", thats all.
Hi there!
Really nice one but I'm getting a forced closed when I push the connect button.
I'm using a SE X10 with android 2.1.........
Sometimes I hate my phone.......
Merry Christmas.
Is your Device rooted and had the vpnc the exec permissions ?
Please install "Quick System Info" and check the loginfos via the Logcat.
Maybe in your Kernel the tun.ko is missing.
Hello
@mp1405
Thanks for the signed-FritzBox.apk. I finally got it running on my Samsung I9000 Froyo XXJPU and Fritzbox 7390
First I had also the FC because the tun.ko was missing. Now it works but but I have to load the kernel module every reboot in the konsole with insmod /system/lib/modules/tun.ko
I edited the file /init.rc with the line insmod /system/lib/modules/tun.ko but every reboot a "recovery" init.rc is loaded without my insmod line. There was also the tip to copy the tun.ko into /lib/modules/tun.ko but the tun.ko gets deleted after every reboot.
Kind regards
@mp1405
Thanks for your work and time for this patched Version.
For my understanding:
IPSec ID is what ? My e-Mailadress from the FritzboxConfig ?
IPSec Secret is the Passphrase ?
Is this correct ?
Thanks!
Hello
IPSec ID: Yes, your e-Mailadress from the FritzboxConfig (it is the entry "user_fqdn" which you have to replace with "key_id" in the config.
IPSec Secret: Is the Passphrase (also named Pre-Shared Key or just "key") in the Fritzbox Configs.
Perfect! It works with the correct tun.ko
Thanks @all and mp1405 for this patched Version.
my fritzbox said The import of the VPN-Settings faild.
And I did it twice exactly with the iphone settings.
anyone else with that kind of problem?
I'm using Fritzbox 7270 fon with the latest firmware.
stephen
@stephen21
have the same problem with 7270, every cfg that is "toucht" with any editor. dosnt work.
Im kontakted the avm support and wait to the answer.
greatings
meinbier
PS. Sorry for my bad english
Thanks for the apk and the howto,
I've done everything as described, but I get always following (log) message :
Code:
D/VPN_Connections( 5436): process stderr: no response from target
@sky01x
Hi Sky, where You have found the right tun.ko?
Thanks for a hint.
To.
@lier99
I got the tun.ko from:
http://forum.xda-developers.com/showthread.php?t=793712
Best regards
I9000XXJPY
Kernel 2.6.32.9 hardcore k12h-500hz #2
XXJPY_Doc_v7_Kitchen
Fritzbox 7270
Thanks for the apk and the howto,
but still a little trouble.
The Fritzbox cfg is changed according to ipfone config from AVM.
The VPN Connections says connected.
The Fritzbox says Status green, I have an internet IP, I see my asigned IP, but for the local net I get 0.0.0.0. From there I do not get into my local network. When ever I try to change the Fritzbox cfg to
phase2localid {
ipnet {
ipaddr = 192.168.1.0;
mask = 255.255.255.0;
}
}
phase2remoteid {
ipaddr = 192.168.1.203;
}
phase2ss = "esp-all-all/ah-none/comp-all/no-pfs";
accesslist =
"permit ip 192.168.1.0 255.255.255.0 192.168.1.203 255.255.255.255";
like my Notebook runs fine on the tunel, the connection failed.
Any idea?
VPN dont work via GSM/UMTS connection
Hello,
need help my VPN dont work via GSM/UMTS connection.
My configuration:
FritzBox 7170 with Firmware-Version 29.04.86-18946 (Laborversion)
and VPN configuerd as IPhone.
Dynamic DNS is aktiv and ready.
Handy HTC Desire with LeeDriod v2.03c
VPNC from mp1405 singned-myVPNC.apk
now if I'm connected via WLAN to my FritzBox I have a VPN connection,
but via GSM or UMTS I get no connection - why?
Thanks
Thanks for your great work! My 7270 shows connection established.
However there seems to be a problem with your vpnc-script. I'm getting a
Device "default via <UMTS-IP> dev rmnet0 " does not exist.
Error: either "to" is duplicate, or "hoplimit" is a garbage.
backing up dns settings
vpnc-script ran to completion
on the console. Maybe I can further look into it tonight.
#Running Leedroid2.3a
mp1405 said:
----------------------------------------------------------------------------
update 20.12.2010
----------------------------------------------------------------------------
New APK to install on a rooted Android device. After installing you can connet via IPSEC VPN to a cisco device and to the FritzBox with the latest Firmware without modifying the FritzBox
Click to expand...
Click to collapse
So, do you mean that i need only to install the attached signed-myVPNC.apk and i can connect to my fritz without doing the iphone patching procedure on the fritz side? or i need to do it anyway?
does this apk work with gingerbread too?
update:
i imported the modified vpn config to my fritz, installed the signed VPN Connect.apk and set up the account, and tried to connect, it says connected on both Android and my fritz, but i cannot connect to addresses inside my fritz.
the build of android i use (NexusHD2 - Gingerbread 2.2) seems to have a tun.so file, so i don't need to import it, right?
what else can i do ??
mp1405 said:
...
For all who wants to use the FritzPhone App to make phonecalls via vpnc this will not work because the app did not use the 3G interface (only wlan). Download the app "3cx" from the market and in the setup menu "integration" you will find "Enable 3G", thats all.
Click to expand...
Click to collapse
Hi,
Thank you for this. The last thing that I will not get to work is to connect with Firtz!box fon to the box accross 3g
I have downloaded the 3cx an enabled "Enable 3g" without any other settings in the profile. But in fritz!box fon there the "not connected" is remaining. Any other hints?
Android "DHD Leedroid 2.2.2"
FritzBox "7270 Firmware 54.04.88"
Thx
I am running a HD2 with the latest CM7 ROM and I have a FritzBox 3270 with the latest firmware.
Thanks to this I can finally establish a VPN connection with my phone.
not work for me
Fritzbox config:
vpncfg {
connections {
enabled = yes;
conn_type = conntype_user;
name = "my mail";
always_renew = no;
reject_not_encrypted = no;
dont_filter_netbios = yes;
localip = 0.0.0.0;
local_virtualip = 0.0.0.0;
remoteip = 0.0.0.0;
remote_virtualip = 192.168.178.201;
remoteid {
key_id = "my mail";
}
mode = phase1_mode_aggressive;
phase1ss = "all/all/all";
keytype = connkeytype_pre_shared;
key = "my key";
cert_do_server_auth = no;
use_nat_t = yes;
use_xauth = yes;
use_cfgmode = no;
xauth {
valid = yes;
username = "my login";
passwd = "mypass";
}
phase2localid {
ipnet {
ipaddr = 192.168.178.0;
mask = 255.255.255.0;
}
}
phase2remoteid {
ipaddr = 192.168.178.201;
}
phase2ss = "esp-all-all/ah-none/comp-all/pfs";
accesslist =
"permit ip 192.168.178.0 255.255.255.0 192.168.178.201 255.255.255.255";
}
ike_forward_rules = "udp 0.0.0.0:500 0.0.0.0:500",
"udp 0.0.0.0:4500 0.0.0.0:4500";
}
// EOF
Click to expand...
Click to collapse
And log from android (MIUI):
pre-init phase...
connect phase...
vpnc-script ran to completion
quick mode response rejected: (ISAKMP_N_INVALID_MESSAGE_ID)(9)
this means the concentrator did not like what we had to offer.
Possible reasons are:
* concentrator configured to require a firewall
this locks out even Cisco clients on any platform expect windows
which is an obvious security improvment. There is no workaround (yet).
* concentrator configured to require IP compression
this is not yet supported by vpnc.
Note: the Cisco Concentrator Documentation recommends against using
compression, expect on low-bandwith (read: ISDN) links, because it
uses much CPU-resources on the concentrator
vpnc version 0.5.3-mjm1-140M
S1 init_sockaddr
[2011-07-29 21:05:48]
S2 make_socket
[2011-07-29 21:05:48]
S3 setup_tunnel
[2011-07-29 21:05:48]
using interface tun0
S4 do_phase1_am
[2011-07-29 21:05:48]
S4.1 create_nonce
[2011-07-29 21:05:48]
S4.2 dh setup
[2011-07-29 21:05:48]
S4.3 AM packet_1
[2011-07-29 21:05:48]
S4.4 AM_packet2
[2011-07-29 21:05:49]
(Xauth)
(DPD)
(Nat-T 03)
(unknown)
got ike lifetime attributes: 3600 seconds
IKE SA selected psk+xauth-aes256-sha1
ignoring that peer is DPD capable (RFC3706)
peer is NAT-T capable (draft-03)
peer is using type 130 (ISAKMP_PAYLOAD_NAT_D_OLD) for NAT-Discovery payloads
peer is using type 130 (ISAKMP_PAYLOAD_NAT_D_OLD) for NAT-Discovery payloads
peer is using type 130 (ISAKMP_PAYLOAD_NAT_D_OLD) for NAT-Discovery payloads
peer is using type 130 (ISAKMP_PAYLOAD_NAT_D_OLD) for NAT-Discovery payloads
S4.5 AM_packet3
[2011-07-29 21:05:49]
NAT status: this end behind NAT? YES -- remote end behind NAT? YES
NAT-T mode, adding non-esp marker
S4.6 cleanup
[2011-07-29 21:05:49]
S5 do_phase2_xauth
[2011-07-29 21:05:49]
S5.1 xauth_start
[2011-07-29 21:05:49]
S5.2 notice_check
[2011-07-29 21:05:49]
S5.3 type-is-xauth check
[2011-07-29 21:05:49]
S5.4 xauth type check
[2011-07-29 21:05:49]
S5.5 do xauth authentication
[2011-07-29 21:05:49]
NAT-T mode, adding non-esp marker
S5.2 notice_check
[2011-07-29 21:05:49]
S5.3 type-is-xauth check
[2011-07-29 21:05:49]
S5.6 process xauth response
[2011-07-29 21:05:49]
NAT-T mode, adding non-esp marker
S5.7 xauth done
[2011-07-29 21:05:49]
S6 do_phase2_config
[2011-07-29 21:05:49]
S6.1 phase2_config send modecfg
[2011-07-29 21:05:49]
NAT-T mode, adding non-esp marker
S6.2 phase2_config receive modecfg
[2011-07-29 21:05:50]
got save password setting: 0
got address 192.168.178.201
S7 setup_link (phase 2 + main_loop)
[2011-07-29 21:05:50]
S7.0 run interface setup script
[2011-07-29 21:05:50]
S7.1 QM_packet1
[2011-07-29 21:05:50]
S7.2 QM_packet2 send_receive
[2011-07-29 21:05:50]
NAT-T mode, adding non-esp marker
S7.3 QM_packet2 validate type
[2011-07-29 21:05:50]
S7.4 process and skip lifetime notice
[2011-07-29 21:05:50]
S7.5 QM_packet2 check reject offer
[2011-07-29 21:05:50]
---!!!!!!!!! entering phase2_fatal !!!!!!!!!---
NAT-T mode, adding non-esp marker
NAT-T mode, adding non-esp marker
disconnect phase...
ip: can't find device 'tun0'
ip: an inet prefix is expected rather than ""
ip: RTNETLINK answers: No such process
DNS not restored (no active default gateway)
Click to expand...
Click to collapse
Please help me. What I should do ?
If this helps the developers to keep the stuff up to date, here's the Handshake from a fritzbox 7240 v. Firmware-Version 73.05.05 with default vpn config:
Code:
~$ ike-scan -v -s 0 --aggressive --id=xxxxxxxxxxxxx fritz.box
DEBUG: pkt len=380 bytes, bandwidth=56000 bps, int=58285 us
Starting ike-scan 1.9 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)
x.x.x.x Aggressive Mode Handshake returned
HDR=(CKY-R=a79e96b1e2acf788)
SA=(Enc=3DES Hash=SHA1
Auth=PSK Group=2:modp1024
LifeType=Seconds LifeDuration=28800)
KeyExchange(128 bytes)
Nonce(16 bytes)
ID(Type=ID_IPV4_ADDR, Value=xxxxxxxx)
Hash(20 bytes)
Notification=(Type=RESPONDER-LIFETIME, SPI=741b17c61bce146aa79e96b1e2acf788,
Data=800b0001800c0e10)
VID=09002689dfd6b712 (XAUTH)
VID=afcad71368a1f1c96b8696fc77570100
(Dead Peer Detection v1.0)
Ending ike-scan 1.9: 1 hosts scanned in 0.269 seconds (3.72 hosts/sec). 1 returned handshake; 0 returned notify
The fritzbox only answers aggressive mode, this may be the reason for faulting android vpn client, see android system logs...
Code:
Get osmonitor app exported logcat log (no permissions over sshfs):
$ scp htc:/mnt/sdcard/log1 .
grep it for ipsec vpn racoon:
08/03/2011 17:03:50 [INFORMATION] racoon(7090) ipsec-tools 0.7.3 (http://ipsec-tools.sf.net)
08/03/2011 17:01:44 [INFORMATION] ActivityManager(118) Displayed com.android.settings/.vpn.VpnSettings: +312ms
08/03/2011 17:01:57 [DEBUG] com.android.settings.vpn.AuthenticationActor(3067) ~~~~~~ connect() succeeded!
at com.android.server.vpn.VpnService.getIp(VpnService.java:108)
at com.android.server.vpn.VpnService.onConnect(VpnService.java:135)
at com.android.server.vpn.VpnServiceBinder$2.run(VpnServiceBinder.java:117)
08/03/2011 17:01:58 [INFORMATION] ipd(77) IP CMD: /system/bin/ip ru del from all to all table vpn prio 2500
08/03/2011 17:02:06 [INFORMATION] ActivityManager(118) Displayed com.android.settings/.vpn.VpnEditor: +479ms
08/03/2011 17:03:39 [INFORMATION] ActivityManager(118) Displayed com.android.settings/.vpn.VpnSettings: +328ms
08/03/2011 17:03:49 [DEBUG] com.android.settings.vpn.AuthenticationActor(3067) ~~~~~~ connect() succeeded!
at com.android.server.vpn.VpnService.waitUntilConnectedOrTimedout(VpnService.java:210)
at com.android.server.vpn.VpnService.onConnect(VpnService.java:139)
at com.android.server.vpn.VpnServiceBinder$2.run(VpnServiceBinder.java:117)
08/03/2011 17:04:35 [INFORMATION] ipd(77) IP CMD: /system/bin/ip ru del from all to all table vpn prio 2500
08/03/2011 17:01:57 [INFORMATION] SProxy_racoon(6207) Stop VPN daemon: racoon
08/03/2011 17:01:57 [DEBUG] SProxy_racoon(6207) racoon is stopped after 0 msec
08/03/2011 17:01:57 [DEBUG] SProxy_racoon(6207) stopping racoon, success? true
08/03/2011 17:01:58 [INFORMATION] SProxy_racoon(6207) Stop VPN daemon: racoon
08/03/2011 17:01:58 [DEBUG] SProxy_racoon(6207) racoon is stopped after 0 msec
08/03/2011 17:01:58 [DEBUG] SProxy_racoon(6207) stopping racoon, success? true
08/03/2011 17:03:49 [INFORMATION] SProxy_racoon(6207) Stop VPN daemon: racoon
08/03/2011 17:03:49 [DEBUG] SProxy_racoon(6207) racoon is stopped after 0 msec
08/03/2011 17:03:49 [DEBUG] SProxy_racoon(6207) stopping racoon, success? true
08/03/2011 17:03:49 [INFORMATION] SProxy_racoon(6207) Start VPN daemon: racoon
08/03/2011 17:03:49 [DEBUG] SProxy_racoon(6207) racoon is running after 0 msec
08/03/2011 17:03:49 [DEBUG] racoon(7090) Waiting for control socket
08/03/2011 17:03:49 [DEBUG] SProxy_racoon(6207) service not yet listen()ing; try again
08/03/2011 17:03:50 [DEBUG] racoon(7090) Received 3 arguments
08/03/2011 17:03:50 [INFORMATION] racoon(7090) ipsec-tools 0.7.3 (http://ipsec-tools.sf.net)
08/03/2011 17:03:50 [INFORMATION] racoon(7090) 192.168.0.106[500] used as isakmp port (fd=10)
08/03/2011 17:03:50 [INFORMATION] racoon(7090) 192.168.0.106[500] used for NAT-T
08/03/2011 17:03:50 [INFORMATION] racoon(7090) 192.168.0.106[4500] used as isakmp port (fd=11)
08/03/2011 17:03:50 [INFORMATION] racoon(7090) 192.168.0.106[4500] used for NAT-T
08/03/2011 17:03:50 [INFORMATION] SProxy_racoon(6207) got data from control socket: 3
08/03/2011 17:03:52 [INFORMATION] racoon(7090) no in-bound policy found: 192.168.0.3/32[1701] 192.168.0.106/32[0] proto=udp dir=in
08/03/2011 17:03:52 [INFORMATION] racoon(7090) IPsec-SA request for 192.168.0.3 queued due to no phase1 found.
08/03/2011 17:03:52 [INFORMATION] racoon(7090) initiate new phase 1 negotiation: 192.168.0.106[500]<=>192.168.0.3[500]
08/03/2011 17:03:52 [INFORMATION] racoon(7090) begin Identity Protection mode.
08/03/2011 17:04:23 [ERROR] racoon(7090) phase2 negotiation failed due to time up waiting for phase1. ESP 192.168.0.3[0]->192.168.0.106[0]
08/03/2011 17:04:23 [INFORMATION] racoon(7090) delete phase 2 handler.
08/03/2011 17:04:23 [INFORMATION] racoon(7090) Bye
08/03/2011 17:04:35 [INFORMATION] SProxy_racoon(6207) Stop VPN daemon: racoon
08/03/2011 17:04:35 [DEBUG] SProxy_racoon(6207) racoon is stopped after 0 msec
08/03/2011 17:04:35 [DEBUG] SProxy_racoon(6207) stopping racoon, success? true
I'm trying to adapt the fritzbox vpn config to match the faulting android 2.3.3 built-in vpn-client's requirements, further logs from other vpn-clients will follow.
The android vpn asks for xauth credentials, trying to configure fritzbox for xauth...
no success,
android racoon still phase 1 waiting timeout, changing fritzbox from agressive to main mode...
no success, still phase1 time out, taking and analyzing wireshark dump from
http://fritz.box//html/capture.html (if ath0 or guest1 etc)
Ok, here's what the android racoon sends to the fritz.box:
Code:
$ /usr/sbin/tcpdump -vvv -r fritz-ath0.eth src or dst port 500 or src or dst port l2f
reading from file fritz-ath0.eth, link-type EN10MB (Ethernet)
00:29:57.082587 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 380)
htc.fritz.box.isakmp > fritz.box.isakmp: [udp sum ok] isakmp 1.0 msgid 00000000 cookie 3958b87fd7c4e0a9->0000000000000000: phase 1 I ident:
(sa: doi=ipsec situation=identity
(p: #1 protoid=isakmp transform=6
(t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #2 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #3 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #4 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #5 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #6 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))))
(vid: len=16 4a131c81070358455c5728f20e95452f)
(vid: len=16 cd60464335df21f87cfdb2fc68b6a448)
(vid: len=16 90cb80913ebb696e086381b5ec427b1f)
(vid: len=16 4485152d18b6bbcd0be8a8469579ddcc)
(vid: len=20 4048b7d56ebce88525e7de7f00d6c2d380000000)
00:30:07.104380 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 380)
htc.fritz.box.isakmp > fritz.box.isakmp: [udp sum ok] isakmp 1.0 msgid 00000000 cookie 3958b87fd7c4e0a9->0000000000000000: phase 1 I ident:
(sa: doi=ipsec situation=identity
(p: #1 protoid=isakmp transform=6
(t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #2 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #3 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #4 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #5 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #6 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))))
(vid: len=16 4a131c81070358455c5728f20e95452f)
(vid: len=16 cd60464335df21f87cfdb2fc68b6a448)
(vid: len=16 90cb80913ebb696e086381b5ec427b1f)
(vid: len=16 4485152d18b6bbcd0be8a8469579ddcc)
(vid: len=20 4048b7d56ebce88525e7de7f00d6c2d380000000)
00:30:17.123829 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 380)
htc.fritz.box.isakmp > fritz.box.isakmp: [udp sum ok] isakmp 1.0 msgid 00000000 cookie 3958b87fd7c4e0a9->0000000000000000: phase 1 I ident:
(sa: doi=ipsec situation=identity
(p: #1 protoid=isakmp transform=6
(t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #2 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #3 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #4 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #5 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #6 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))))
(vid: len=16 4a131c81070358455c5728f20e95452f)
(vid: len=16 cd60464335df21f87cfdb2fc68b6a448)
(vid: len=16 90cb80913ebb696e086381b5ec427b1f)
(vid: len=16 4485152d18b6bbcd0be8a8469579ddcc)
(vid: len=20 4048b7d56ebce88525e7de7f00d6c2d380000000)
00:30:27.145065 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 380)
htc.fritz.box.isakmp > fritz.box.isakmp: [udp sum ok] isakmp 1.0 msgid 00000000 cookie 3958b87fd7c4e0a9->0000000000000000: phase 1 I ident:
(sa: doi=ipsec situation=identity
(p: #1 protoid=isakmp transform=6
(t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #2 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=3des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #3 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #4 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=1des)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))
(t: #5 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024))
(t: #6 id=ike (type=lifetype value=sec)(type=lifeduration value=7080)(type=enc value=aes)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=md5)(type=group desc value=modp1024))))
(vid: len=16 4a131c81070358455c5728f20e95452f)
(vid: len=16 cd60464335df21f87cfdb2fc68b6a448)
(vid: len=16 90cb80913ebb696e086381b5ec427b1f)
(vid: len=16 4485152d18b6bbcd0be8a8469579ddcc)
(vid: len=20 4048b7d56ebce88525e7de7f00d6c2d380000000)
00:30:29.149902 IP (tos 0x0, ttl 64, id 51970, offset 0, flags [DF], proto UDP (17), length 97)
htc.fritz.box.51610 > fritz.box.l2f: [udp sum ok] l2tp:[TLS](0/0)Ns=0,Nr=0 *MSGTYPE(SCCRQ) *PROTO_VER(1.0) *HOST_NAME(anonymous) *FRAMING_CAP(AS) *ASSND_TUN_ID(798) *RECV_WIN_SIZE(1)
Code:
$ ike-scan -v -s 0 fritz.box
DEBUG: pkt len=336 bytes, bandwidth=56000 bps, int=52000 us
Starting ike-scan 1.9 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)
--- Pass 1 of 3 completed
--- Pass 2 of 3 completed
--- Pass 3 of 3 completed
Ending ike-scan 1.9: 1 hosts scanned in 2.445 seconds (0.41 hosts/sec). 0 returned handshake; 0 returned notify
wireshark compatible file is attached.
I've found the allowed ipsec strategies for /bin/avmike in
Code:
# find / -name *ipsec*
/etc/default.Fritz_Box_7240/1und1/ipsec.cfg
/etc/default.Fritz_Box_7240/avm/ipsec.cfg
#
#
# find / -name *ike*
/bin/avmike
/lib/libikeapi.so
/lib/libikeapi.so.2
/lib/libikeapi.so.2.0.0
/lib/libikecrypto.so
/lib/libikecrypto.so.1
/lib/libikecrypto.so.1.0.0
/lib/libikeossl.so
/lib/libikeossl.so.1
/lib/libikeossl.so.1.0.0
/var/run/avmike.pid
/var/tmp/csem/M-ikeapi-reply-dsld-W
/var/tmp/csem/M-ikeapi-reply-dsld-R
/var/tmp/csem/M-ikeapi-request-dsld-W
/var/tmp/csem/M-ikeapi-request-dsld-R
#
# find / -name *vpn*
/etc/default.Fritz_Box_7240/1und1/vpn.cfg
/etc/default.Fritz_Box_7240/avm/vpn.cfg
/usr/share/ctlmgr/libvpnstat.so
/usr/www/1und1/html/de/internet/vpn.frm
/usr/www/1und1/html/de/internet/vpn.html
/usr/www/1und1/html/de/internet/vpn.js
/usr/www/1und1/html/de/menus/menu2_vpn.html
/usr/www/1und1/html/de/vpn
/usr/www/1und1/html/vpn_import_nok_reboot.html
/usr/www/1und1/html/vpn_import_ok_reboot.html
/usr/www/1und1/html/vpn_import_pwd_nok_reboot.html
/usr/www/avm/html/de/internet/vpn.frm
/usr/www/avm/html/de/internet/vpn.html
/usr/www/avm/html/de/internet/vpn.js
/usr/www/avm/html/de/menus/menu2_vpn.html
/usr/www/avm/html/de/vpn
/usr/www/avm/html/vpn_import_nok_reboot.html
/usr/www/avm/html/vpn_import_ok_reboot.html
/usr/www/avm/html/vpn_import_pwd_nok_reboot.html
/var/vpnroutes
/var/flash/vpn.cfg
/var/tmp/vpncfgimport.eff
#
# avmike -h
illegal option 'h'
usage: avmike avm_ike [options]
options:
-? - print this help
-D STRING - switch debug logs on. (NULL)
-d - debug service. (NOTSET)
-f - run in forground. (NOTSET)
-s - stop daemon. (NOTSET)
-v - verbose. (NOTSET)
-p STRING - Pidfile. ("/var/run/avmike.pid")
-w - [Hit return to continue]. (NOTSET)
-p INTEGER - port to use. (0)
ISAKMP/IPSec negoiation server
Trying to enable debug logs... debug options silently disabled in release build.
Matching fritzbox factory ike config for Android 2.3.3 racoon is phase1ss = "racoon-dh2-aes-sha", but --lifetime=3600 or datatype length or formatting, or wrong other config file settings:
Code:
# ike-scan fritz.box -M --retry=1 --trans=7/128,2,1,2 --lifetime=3600
Starting ike-scan 1.9 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)
Ending ike-scan 1.9: 1 hosts scanned in 0.532 seconds (1.88 hosts/sec). 0 returned handshake; 0 returned notify
19:37:36.599736 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 116)
tom1.isakmp > fritz.box.isakmp: [udp sum ok] isakmp 1.0 msgid 00000000 cookie 84cdf79f56296b8b->0000000000000000: phase 1 I ident:
(sa: doi=ipsec situation=identity
(p: #1 protoid=isakmp transform=1
(t: #1 id=ike (type=enc value=aes)(type=hash value=sha1)(type=auth value=preshared)(type=group desc value=modp1024)(type=keylen value=0080)(type=lifetype value=sec)(type=lifeduration [B]len=4 value=00007080[/B]))))
No answer from avmike, trying Android... no success.
Surely config file mismatch, see http://www.ip-phone-forum.de/showthread.php?t=161793&p=1672919&viewfull=1#post1672919 and search there under avm for posts containing phase1_mode_idp.
No. Tried to override the /etc/default/ipsec.cfg inline in vpn.cfg and > /var/flash/vpn.cfg but the box does all to prevent any tricks to change the ipsec.cfg, even removing the ipsec part from vpn.cfg when in comments.
Giving up and will remove the proprietary crap avm vpn daemon from the box, install something like freetz with racoon.
For those not able/not want to root their phone here's the solution for fritzbox:
http://www.ip-phone-forum.de/showthread.php?t=197637&pagenumber=
http://freetz.org/ticket/854
(Mostly german, use google translator)
Hello!
I've looked high and low for a solution to this issue and I'm... stumped.
I've read through the 6,000+ posts (pre- and post- flashing) on the ARHD main thread and none of them seemed relevant.
I'm currently running on the following:
Android Software version:
Android Revolution HD 6.5.2 XE by mike1986
Kernel:
3.0.16-gda3fdfc
SebastianFM #1
SMP PREEMPT Fri Feb 17 19:24:03 CST 2012
Baseband Ver: 1.69.3504.00U_11.22.3504.07_M
Build number: 3.32.401.105 CL309896 release-keys
Bootloader:
-Revolutionary-
Pyramid PVT SHIP S-OFF RL
HBOOT-1.27.1100
RADIO-11.22.3504.07_M
OpenADSP-v02.6.0.2226.00.0131
eMMC-boot
Absolutely nothing happens when I dock the Sensation 4G into the car cradle except for the green LED light popping on and the device starts charging. On Stock HTC 2.3.4, I would get a small car icon in the notification bar and it would act like it's in Car mode with all applications in landscape and the dialer in a landscape orientation with the actual dialer on the right and recent calls on the left.
On top of that, any applications like the Google Car Mode do not launch.
But - if I dock the phone into a desk cradle, everything functions as expected.
Cradling the device into the car dock gets me...
--------- beginning of /dev/log/main
D/alogcat ( 4861): stopped
D/memalloc( 4861): /dev/pmem: Unmapping buffer base:0x5556e000 size:31780864 offset:31289344
V/WindowManager( 427): onProposedRotationChanged, rotation changed to 1
D/memalloc( 112): /dev/pmem: Freeing buffer base:0x43e33000 size:491520 offset:31289344 fd:53
D/memalloc( 4861): /dev/pmem: Unmapping buffer base:0x52af3000 size:12324864 offset:11833344
D/alogcat ( 4861): starting ...
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x4205c000 size:122880 offset:12324864 fd:53
D/memalloc( 4861): /dev/pmem: Mapped buffer base:0x52af3000 size:12447744 offset:12324864 fd:71
--------- beginning of /dev/log/system
W/InputManagerService( 427): Window already focused, ignoring focus gain of: [email protected]
D/memalloc( 112): /dev/pmem: Freeing buffer base:0x42ba5000 size:491520 offset:11833344 fd:50
V/WindowManager( 427): onProposedRotationChanged, rotation changed to 1
D/PhoneStatusBarPolicy( 500): Network Type: 2
D/PowerManagerService( 427): New lightsensor value:320, lcdValue:142
D/PowerManagerService( 427): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
D/memalloc( 4861): /dev/pmem: Unmapping buffer base:0x52af3000 size:12447744 offset:12324864
D/memalloc( 112): /dev/pmem: Freeing buffer base:0x42c1d000 size:122880 offset:12324864 fd:53
D/BatteryService( 427): updateBatteryStats ======================================
I/BATT_ALG( 127): vol=4056;curr=0;dis_curr=269;temp=340;id=4;level=100;chg_src=0;chg_en=0;ov_chg=0;isOver_temp=0;timer=60;safety_count=0
D/BatteryService( 427): UEvent updateBatteryStats
D/HtcPowerSaver( 427): Recived battery changed intent.
D/UsbnetService( 427): BroadcastReceiver:nReceive+
D/UsbnetService( 427): onReceive BATTERY_CHANGED
D/UsbnetService( 427): --> pluggedType = 0, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 427): BroadcastReceiver:nReceive-
D/HtcPowerSaver( 427): Checking...
I/HtcPowerSaver( 427): >> updateStatus
D/NotificationService( 427): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
D/PowerManagerService( 427): runHtcPowerSaverCheck ======================================
D/HtcPowerSaver( 427): notifyUser: Unknown Status
I/HtcPowerSaver( 427): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 427): << updateStatus
D/PowerUI ( 500): plugged = false, health = 2, mBatteryLevel = 100, mPluggedBatteryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
D/PackageManager( 427): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:4.800000 seq:199
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/PhoneStatusBarPolicy( 500): Network Type: 2
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.700000 seq:297 (Up time:356)
I/BATT_ALG( 127): batt_alg_cable_detection: cable detection handler, charging source = 2
I/BATT_ALG( 127): batt_alg_check_charging: charging_source = 2, isOver_temp = 0
I/BATT_ALG( 127): batt_alg_set_charging: set charging: 2
D/BatteryService( 427): UEvent updateBatteryStats
D/BatteryService_ULog( 427): ULogForBatteryChargingStateChange(100,1) is called
D/BatteryService_ULog( 427): charger=on,battery_power=100
D/HtcPowerSaver( 427): Recived battery changed intent.
D/UsbnetService( 427): BroadcastReceiver:nReceive+
D/UsbnetService( 427): onReceive BATTERY_CHANGED
D/UsbnetService( 427): --> pluggedType = 1, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 427): BroadcastReceiver:nReceive-
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/off_timer string=0 0,len=3
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/brightness string=1,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/off_timer string=0 0,len=3
D/HtcPowerSaver( 427): Checking...
I/HtcPowerSaver( 427): >> updateStatus
D/NotificationService( 427): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
V/NotificationService( 427): Battery Full, Charging
D/PowerManagerService( 427): runHtcPowerSaverCheck ======================================
D/PowerUI ( 500): closing low battery warning: level=100
D/PowerUI ( 500): plugged = true, health = 2, mBatteryLevel = 100, mPluggedBatteryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
D/HtcPowerSaver( 427): notifyUser: Unknown Status
I/HtcPowerSaver( 427): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 427): << updateStatus
D/PackageManager( 427): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
D/BatteryService( 427): UEvent updateBatteryStats
I/DX-PowerManager( 1802): [WidgetUpdataService1x4] update Widget RemoteView : [email protected]
W/TelephonyManager( 4434): Hidden constructor called more than once per process!
W/TelephonyManager( 4434): Original: com.htc.smartnetwork, new: com.htc.smartnetwork
V/SmartNetService( 4434): onStartCommand() android.intent.action.ACTION_POWER_CONNECTED
V/SmartNetService( 4434): handleCommand_AutoMode action: android.intent.action.ACTION_POWER_CONNECTED
W/PowerUI ( 500): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:8.200000 seq:198
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.dianxinos.powermanager/com.dianxinos.powermanager.PowerMgrMidWidgetProvider})
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.497487 seq:417 (Up time:480)
D/PowerManagerService( 427): New lightsensor value:1280, lcdValue:198
D/PowerManagerService( 427): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
D/PhoneStatusBarPolicy( 500): Network Type: 2
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:3.600000 seq:198
D/dalvikvm( 427): GC_CONCURRENT freed 1968K, 33% free 11052K/16419K, paused 3ms+24ms
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.000000 seq:297 (Up time:351)
D/PhoneStatusBarPolicy( 500): Network Type: 2
I/BATT_ALG( 127): batt_alg_cable_detection: cable detection handler, charging source = 0
I/BATT_ALG( 127): batt_alg_check_charging: charging_source = 0, isOver_temp = 0
D/BatteryService( 427): UEvent updateBatteryStats
D/BatteryService_ULog( 427): ULogForBatteryChargingStateChange(100,0) is called
D/BatteryService_ULog( 427): charger=off,battery_power=100
D/HtcPowerSaver( 427): Recived battery changed intent.
D/UsbnetService( 427): BroadcastReceiver:nReceive+
D/UsbnetService( 427): onReceive BATTERY_CHANGED
D/UsbnetService( 427): --> pluggedType = 0, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 427): BroadcastReceiver:nReceive-
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/off_timer string=0 0,len=3
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/off_timer string=0 0,len=3
D/HtcPowerSaver( 427): Checking...
I/HtcPowerSaver( 427): >> updateStatus
D/NotificationService( 427): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
V/NotificationService( 427): dual Led off
D/PowerManagerService( 427): runHtcPowerSaverCheck ======================================
D/HtcPowerSaver( 427): notifyUser: Unknown Status
I/HtcPowerSaver( 427): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 427): << updateStatus
D/PowerUI ( 500): plugged = false, health = 2, mBatteryLevel = 100, mPluggedBatteryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
D/PackageManager( 427): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
D/BatteryService( 427): UEvent updateBatteryStats
D/FDUI ( 5144): [ HTCSyncBroadcastReceiver: 17 ] - onReceive > get broadcast.
D/FDUI ( 5144): [ HTCSyncBroadcastReceiver: 22 ] - onReceive > app ver = 1.18
D/FDUI ( 5144): [ HTCSyncBroadcastReceiver: 23 ] - onReceive > action = android.intent.action.ACTION_POWER_DISCONNECTED
W/TelephonyManager( 4434): Hidden constructor called more than once per process!
W/TelephonyManager( 4434): Original: com.htc.smartnetwork, new: com.htc.smartnetwork
D/PowerManagerService( 427): New lightsensor value:320, lcdValue:142
D/PowerManagerService( 427): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
V/SmartNetService( 4434): onStartCommand() android.intent.action.ACTION_POWER_DISCONNECTED
V/SmartNetService( 4434): handleCommand_AutoMode action: android.intent.action.ACTION_POWER_DISCONNECTED
V/SmartNetService( 4434): switchSmartNetMode netmode: 1 timer: 300000
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:8.700000 seq:199
I/DX-PowerManager( 1802): [WidgetUpdataService1x4] update Widget RemoteView : [email protected]
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.dianxinos.powermanager/com.dianxinos.powermanager.PowerMgrMidWidgetProvider})
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/PhoneStatusBarPolicy( 500): Network Type: 2
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.280576 seq:338 (Up time:395)
I/BATT_ALG( 127): batt_alg_cable_detection: cable detection handler, charging source = 2
I/BATT_ALG( 127): batt_alg_check_charging: charging_source = 2, isOver_temp = 0
I/BATT_ALG( 127): batt_alg_set_charging: set charging: 2
D/BatteryService( 427): UEvent updateBatteryStats
D/BatteryService_ULog( 427): ULogForBatteryChargingStateChange(100,1) is called
D/BatteryService_ULog( 427): charger=on,battery_power=100
D/PackageManager( 427): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
D/HtcPowerSaver( 427): Recived battery changed intent.
D/HtcPowerSaver( 427): Checking...
I/HtcPowerSaver( 427): >> updateStatus
D/HtcPowerSaver( 427): notifyUser: Unknown Status
I/HtcPowerSaver( 427): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 427): << updateStatus
D/UsbnetService( 427): BroadcastReceiver:nReceive+
D/UsbnetService( 427): onReceive BATTERY_CHANGED
D/UsbnetService( 427): --> pluggedType = 1, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 427): BroadcastReceiver:nReceive-
D/PowerManagerService( 427): runHtcPowerSaverCheck ======================================
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/off_timer string=0 0,len=3
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/brightness string=1,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/off_timer string=0 0,len=3
D/NotificationService( 427): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
V/NotificationService( 427): Battery Full, Charging
D/PowerUI ( 500): closing low battery warning: level=100
D/PowerUI ( 500): plugged = true, health = 2, mBatteryLevel = 100, mPluggedBatteryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
D/BatteryService( 427): UEvent updateBatteryStats
I/DX-PowerManager( 1802): [WidgetUpdataService1x4] update Widget RemoteView : [email protected]
W/PowerUI ( 500): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }
W/TelephonyManager( 4434): Hidden constructor called more than once per process!
W/TelephonyManager( 4434): Original: com.htc.smartnetwork, new: com.htc.smartnetwork
V/SmartNetService( 4434): onStartCommand() android.intent.action.ACTION_POWER_CONNECTED
V/SmartNetService( 4434): handleCommand_AutoMode action: android.intent.action.ACTION_POWER_CONNECTED
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.dianxinos.powermanager/com.dianxinos.powermanager.PowerMgrMidWidgetProvider})
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:6.700000 seq:198
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.000000 seq:327 (Up time:357)
D/PhoneStatusBarPolicy( 500): Network Type: 2
I/BATT_ALG( 127): batt_alg_cable_detection: cable detection handler, charging source = 0
I/BATT_ALG( 127): batt_alg_check_charging: charging_source = 0, isOver_temp = 0
D/BatteryService( 427): UEvent updateBatteryStats
D/BatteryService_ULog( 427): ULogForBatteryChargingStateChange(100,0) is called
D/BatteryService_ULog( 427): charger=off,battery_power=100
D/HtcPowerSaver( 427): Recived battery changed intent.
D/UsbnetService( 427): BroadcastReceiver:nReceive+
D/UsbnetService( 427): onReceive BATTERY_CHANGED
D/UsbnetService( 427): --> pluggedType = 0, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 427): BroadcastReceiver:nReceive-
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/off_timer string=0 0,len=3
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/off_timer string=0 0,len=3
D/HtcPowerSaver( 427): Checking...
I/HtcPowerSaver( 427): >> updateStatus
D/NotificationService( 427): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
V/NotificationService( 427): dual Led off
D/PowerManagerService( 427): runHtcPowerSaverCheck ======================================
D/HtcPowerSaver( 427): notifyUser: Unknown Status
I/HtcPowerSaver( 427): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 427): << updateStatus
D/PackageManager( 427): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
D/PowerUI ( 500): plugged = false, health = 2, mBatteryLevel = 100, mPluggedBatteryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
D/FDUI ( 5144): [ HTCSyncBroadcastReceiver: 17 ] - onReceive > get broadcast.
D/FDUI ( 5144): [ HTCSyncBroadcastReceiver: 22 ] - onReceive > app ver = 1.18
D/FDUI ( 5144): [ HTCSyncBroadcastReceiver: 23 ] - onReceive > action = android.intent.action.ACTION_POWER_DISCONNECTED
D/BatteryService( 427): UEvent updateBatteryStats
I/DX-PowerManager( 1802): [WidgetUpdataService1x4] update Widget RemoteView : [email protected]
W/TelephonyManager( 4434): Hidden constructor called more than once per process!
W/TelephonyManager( 4434): Original: com.htc.smartnetwork, new: com.htc.smartnetwork
V/SmartNetService( 4434): onStartCommand() android.intent.action.ACTION_POWER_DISCONNECTED
V/SmartNetService( 4434): handleCommand_AutoMode action: android.intent.action.ACTION_POWER_DISCONNECTED
V/SmartNetService( 4434): switchSmartNetMode netmode: 1 timer: 300000
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:7.100000 seq:195
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.dianxinos.powermanager/com.dianxinos.powermanager.PowerMgrMidWidgetProvider})
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.000000 seq:316 (Up time:380)
I/BATT_ALG( 127): batt_alg_cable_detection: cable detection handler, charging source = 2
I/BATT_ALG( 127): batt_alg_check_charging: charging_source = 2, isOver_temp = 0
I/BATT_ALG( 127): batt_alg_set_charging: set charging: 2
D/BatteryService( 427): UEvent updateBatteryStats
D/BatteryService_ULog( 427): ULogForBatteryChargingStateChange(100,1) is called
D/BatteryService_ULog( 427): charger=on,battery_power=100
D/HtcPowerSaver( 427): Recived battery changed intent.
D/UsbnetService( 427): BroadcastReceiver:nReceive+
D/UsbnetService( 427): onReceive BATTERY_CHANGED
D/UsbnetService( 427): --> pluggedType = 1, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 427): BroadcastReceiver:nReceive-
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/brightness string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/amber/off_timer string=0 0,len=3
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/brightness string=1,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/blink string=0,len=1
D/lights ( 427): [LedInfo] write attr ok name=/sys/class/leds/green/off_timer string=0 0,len=3
D/HtcPowerSaver( 427): Checking...
I/HtcPowerSaver( 427): >> updateStatus
D/HtcPowerSaver( 427): notifyUser: Unknown Status
I/HtcPowerSaver( 427): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 427): << updateStatus
D/PackageManager( 427): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
D/NotificationService( 427): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
V/NotificationService( 427): Battery Full, Charging
D/PowerManagerService( 427): runHtcPowerSaverCheck ======================================
D/PowerUI ( 500): closing low battery warning: level=100
D/PowerUI ( 500): plugged = true, health = 2, mBatteryLevel = 100, mPluggedBatteryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
I/DX-PowerManager( 1802): [WidgetUpdataService1x4] update Widget RemoteView : [email protected]
D/BatteryService( 427): UEvent updateBatteryStats
W/TelephonyManager( 4434): Hidden constructor called more than once per process!
W/PowerUI ( 500): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }
W/TelephonyManager( 4434): Original: com.htc.smartnetwork, new: com.htc.smartnetwork
V/SmartNetService( 4434): onStartCommand() android.intent.action.ACTION_POWER_CONNECTED
V/SmartNetService( 4434): handleCommand_AutoMode action: android.intent.action.ACTION_POWER_CONNECTED
D/MP-Decision( 941): UP Nw:2.700000 Tw:180 rq:7.000000 seq:198
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.dianxinos.powermanager/com.dianxinos.powermanager.PowerMgrMidWidgetProvider})
D/dalvikvm( 427): GC_EXPLICIT freed 810K, 34% free 10953K/16419K, paused 7ms+9ms
D/SiMiClock( 4847): onUpdate
D/SiMiClock( 4847): onUpdate - 11
D/AppWidgetHostView( 561): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/MP-Decision( 941): DOWN Ns:2.100000 Ts:270 rq:0.000000 seq:297 (Up time:451)
D/CAT ( 633): CatService: Return current sInstance
D/HtcTelephonyInternal( 633): notifyKeyEvent keyCode=82
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x4205c000 size:491520 offset:11833344 fd:50
D/memalloc( 4861): /dev/pmem: Mapped buffer base:0x52af3000 size:12324864 offset:11833344 fd:63
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x4205c000 size:491520 offset:31289344 fd:53
D/memalloc( 4861): /dev/pmem: Mapped buffer base:0x5556e000 size:31780864 offset:31289344 fd:72
Click to expand...
Click to collapse
Are there any theories or workarounds that I could try to fix this?
Here's where it's actually functioning properly with the desk dock from logcat. Where there is definitely a lot more going on than the car dock logs.
E/ActivityThread(14483): at dalvik.system.NativeStart.main(Native Method)
D/BatteryService_ULog( 433): ULogForBatteryChargingStateChange(78,1) is called
D/BatteryService_ULog( 433): charger=on,battery_power=78
D/PackageManager( 433): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter, flags:1
I/ActivityManager( 433): Start proc com.htc.dockmode for activity com.htc.dockmode/.DeskDock: pid=15350 uid=10014 gids={3003, 3002, 3001, 1015}
D/BatteryService( 433): UEvent updateBatteryStats
D/HtcPowerSaver( 433): Recived battery changed intent.
D/UsbnetService( 433): BroadcastReceiver:nReceive+
D/UsbnetService( 433): onReceive BATTERY_CHANGED
D/UsbnetService( 433): --> pluggedType = 1, mPluggedType = 0, mScreenOff = false
D/UsbnetService( 433): BroadcastReceiver:nReceive-
D/lights ( 433): [LedInfo] write attr ok name=/sys/class/leds/amber/brightness string=1,len=1
D/lights ( 433): [LedInfo] write attr ok name=/sys/class/leds/amber/blink string=0,len=1
D/lights ( 433): [LedInfo] write attr ok name=/sys/class/leds/amber/off_timer string=0 0,len=3
D/lights ( 433): [LedInfo] write attr ok name=/sys/class/leds/green/brightness string=0,len=1
D/lights ( 433): [LedInfo] write attr ok name=/sys/class/leds/green/blink string=0,len=1
D/lights ( 433): [LedInfo] write attr ok name=/sys/class/leds/green/off_timer string=0 0,len=3
D/NotificationService( 433): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
V/NotificationService( 433): Charging...
D/HtcPowerSaver( 433): Checking...
I/HtcPowerSaver( 433): >> updateStatus
D/HtcPowerSaver( 433): notifyUser: Unknown Status
I/HtcPowerSaver( 433): currentStatus=8000, currentLevel=78, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver( 433): << updateStatus
D/PowerManagerService( 433): runHtcPowerSaverCheck ======================================
D/ConnectivityService( 433): onUidRulesChanged(uid=10014, uidRules=0)
V/WindowManager( 433): Starting animation in AppWindowToken{41409468 token=Token{414fc988 ActivityRecord{414fc860 org.jtb.alogcat/.LogActivity}}} @ 6304461
V/WindowManager( 433): Finished animation in AppWindowToken{41409468 token=Token{414fc988 ActivityRecord{414fc860 org.jtb.alogcat/.LogActivity}}} @ 6304461
V/WindowManager( 433): Starting animation in AppWindowToken{41530950 token=Token{4150d948 ActivityRecord{41656f00 com.htc.dockmode/.DeskDock}}} @ 6304461
W/WlanCofigView( 512): can not find out wifiConfig: SSID: <none>, BSSID: <none>, MAC: D8:B3:77:55:12:A1, Supplicant state: COMPLETED, RSSI: -200, Link speed: -1, Net ID: -1, Explicit connect: false
D/WifiStateMachine( 433): syncRequestConnectionInfo mWifiInfo=SSID: <none>, BSSID: <none>, MAC: D8:B3:77:55:12:A1, Supplicant state: COMPLETED, RSSI: -200, Link speed: -1, Net ID: -1, Explicit connect: false
D/CarrierLabel( 512): CarrierLabel mIntentReceiver : android.intent.action.CONFIGURATION_CHANGED
D/CarrierLabel( 512): updateResources()
W/CarrierLabel( 512): updateNetworkNameExt: mSimState = UNKNOWN
W/TelephonyManager(11046): Hidden constructor called more than once per process!
W/TelephonyManager(11046): Original: com.htc.smartnetwork, new: com.htc.smartnetwork
I/ActivityManager( 433): Start proc com.google.android.apps.maps for broadcast com.google.android.apps.maps/com.google.googlenav.android.MapServiceReceiver: pid=15365 uid=10109 gids={3003, 1015}
D/DX-PowerManager( 1800): [ChargingTimeHelper] skip updating, mPreLevel: -1, curLevel: 78
V/SmartNetService(11046): onStartCommand() android.intent.action.ACTION_POWER_CONNECTED
V/SmartNetService(11046): handleCommand_AutoMode action: android.intent.action.ACTION_POWER_CONNECTED
D/TileRenderer( 512): glEndTilingQCOM: 0x502
D/AudioSystem( 1800): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem( 1800): gLock get at 55
D/AudioSystem( 1800): leave AudioSystem::get_audio_flinger() at 81
D/AudioSystem( 1800): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem( 1800): gLock get at 55
D/AudioSystem( 1800): leave AudioSystem::get_audio_flinger() at 81
D/MediaPlayer( 1800): setDataSource(Context context, android.resource://com.dianxinos.powermanager/2131099648, Map<String, String> headers) in
D/MediaPlayerService( 115): setDataSource fd=43, path=/data/app/com.dianxinos.powermanager-1.apk, offset=1444308, length=16764
D/PowerUI ( 512): closing low battery warning: level=78
D/PowerUI ( 512): plugged = true, health = 2, mBatteryLevel = 78, mPluggedBatteryLevel = 78, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
W/PowerUI ( 512): unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x10000010 }
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x422f8000 size:2088960 offset:16625664 fd:56
D/memalloc(15350): /dev/pmem: Mapped buffer base:0x51b38000 size:18714624 offset:16625664 fd:55
I/ActivityManager( 433): Displayed com.htc.dockmode/.DeskDock: +381ms
W/MediaPlayer( 1800): info/warning (1, 902)
D/Ringtone( 1800): playing a tone with looping : false
D/MediaPlayer( 1800): start() in
D/AwesomePlayer( 115): Using PID = 1800
I/AwesomePlayer( 115): AudioPlayer created, Non-LPA mode mime audio/vorbis duration 1200000
D/AudioSystem( 115): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem( 115): gLock get at 55
D/AudioSystem( 115): leave AudioSystem::get_audio_flinger() at 81
D/AudioSystem( 115): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem( 115): gLock get at 55
D/AudioSystem( 115): leave AudioSystem::get_audio_flinger() at 81
D/AudioPolicyManager( 115): startOutput() output 3, stream 2, session 41
D/AudioPolicyManager( 115): getDeviceForStrategy() from cache strategy 2, device 2
D/AudioPolicyManagerBase( 115): getNewDevice() selected device 2
D/AudioPolicyManager( 115): getDeviceForStrategy() from cache strategy 2, device 2
D/AudioPolicyManagerBase( 115): getNewDevice() selected device 2
D/AudioPolicyManager( 115): setOutputDevice() output 3 device 2 delayMs 0
D/AudioPolicyManager( 115): output 3 is a2dp output.
D/AudioPolicyManager( 115): setOutputDevice() setting same device 2 or null device for output 3
D/MediaPlayer( 1800): start() out
I/DX-PowerManager( 1800): [WidgetUpdataService1x4] update Widget RemoteView : [email protected]
I/MediaPlayer( 1800): Info (1,902)
I/ActivityThread(15365): Pub com.google.android.maps.SearchHistoryProvider: com.google.googlenav.provider.SearchHistoryProvider
D/AppWidgetHostView( 585): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.dianxinos.powermanager/com.dianxinos.powermanager.PowerMgrMidWidgetProvider})
D/AudioHardwareMSM8660( 115): curr_out_device = 2
D/AudioHardwareMSM8660( 115): read batter temp = 333
D/AudioHardwareMSM8660( 115): enableDevice(2 1)
V/WindowManager( 433): Finished animation in AppWindowToken{41530950 token=Token{4150d948 ActivityRecord{41656f00 com.htc.dockmode/.DeskDock}}} @ 6304880
I/ActivityThread(15365): Pub com.google.android.maps.SuggestionProvider: com.google.googlenav.suggest.android.SuggestProvider
I/ActivityThread(15365): Pub com.google.android.maps.StarredItemProvider: com.google.googlenav.provider.StarredItemProvider
D/memalloc( 433): /dev/pmem: Unmapping buffer base:0x5a9b8000 size:16625664 offset:14536704
D/AudioHardwareMSM8660( 115): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/AudioHardwareMSM8660( 115): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/AudioHardwareMSM8660( 115): ACDB -> AUDIO_SET_AUDPROC_CAL
D/AudioHardwareMSM8660( 115): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
D/AudioHardwareMSM8660( 115): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/memalloc( 112): /dev/pmem: Freeing buffer base:0x430d5000 size:2088960 offset:14536704 fd:53
I/System.out(15365): VectorGlobalState: Server:https://mobilemaps.clients.google.com/glm/mmap Type:3
D/TileRenderer( 512): glEndTilingQCOM: 0x502
W/Resources(15350): Converting to boolean: TypedValue{t=0x3/d=0x2be "false" a=3 r=0x7f080000}
D/TileRenderer( 512): glEndTilingQCOM: 0x502
D/TileRenderer( 512): glEndTilingQCOM: 0x502
D/TileRenderer( 512): glEndTilingQCOM: 0x502
I/ActivityThread(15365): Pub com.google.android.maps.LayerInfoProvider: com.google.googlenav.layer.LayerInfoProvider
D/SqliteDatabaseCpp(15365): dbopen(): path = /data/data/com.google.android.apps.maps/databases , key = LYqevA, flag = 6, file size = 5120
D/SqliteDatabaseCpp(15365): dbopen(): path = /data/data/com.google.android.apps.maps/databases , key = LYqevA, mode: truncate, disk free size: 624 M, handle: 0xd90738
I/ActivityThread(15365): Pub com.google.android.maps.TrafficAppWidgetProvider: com.google.googlenav.appwidget.traffic.TrafficAppWidgetProvider
I/ActivityThread(15365): Pub com.google.android.maps.LocalActivePlacesProvider: com.google.googlenav.provider.LocalActivePlacesProvider
I/ActivityThread(15365): Pub com.google.android.maps.LocalSuggestionProvider: com.google.googlenav.provider.LocalSuggestionProvider
I/ActivityThread(15365): Pub com.google.android.maps.NavigationAvailabilityProvider: com.google.googlenav.provider.NavigationAvailabilityProvider
I/Elixir2 (14716): Global broadcast received: android.intent.action.ACTION_POWER_CONNECTED
D/TileRenderer( 512): glEndTilingQCOM: 0x502
D/TileRenderer( 512): glEndTilingQCOM: 0x502
W/InputManagerService( 433): Starting input on non-focused client [email protected] (uid=10112 pid=14483)
D/alogcat (14483): stopping ...
D/memalloc(14483): /dev/pmem: Unmapping buffer base:0x51d83000 size:3686400 offset:1597440
D/alogcat (14483): stopped
D/ConnectivityService( 433): onUidRulesChanged(uid=10112, uidRules=0)
D/memalloc( 112): /dev/pmem: Freeing buffer base:0x4247e000 size:2088960 offset:1597440 fd:38
D/memalloc(14483): /dev/pmem: Unmapping buffer base:0x52a68000 size:14536704 offset:12447744
D/memalloc( 112): /dev/pmem: Freeing buffer base:0x42ed7000 size:2088960 offset:12447744 fd:50
D/ButtonControl(15350): 1
D/Elixir2 (14716): Refresh widgets for type: [BATTERY_TIME]
D/Process ( 433): killProcessQuiet, pid=14797
D/Process ( 433): dalvik.system.VMStack.getThreadStackTrace(Native Method)
D/Process ( 433): java.lang.Thread.getStackTrace(Thread.java:599)
D/Process ( 433): android.os.Process.killProcessQuiet(Process.java:820)
D/Process ( 433): com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:15087)
D/Process ( 433): com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerService.java:1934)
D/Process ( 433): com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:1941)
D/Process ( 433): com.android.server.am.ActivityManagerService.processCurBroadcastLocked(ActivityManagerService.java:13328)
D/Process ( 433): com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:13753)
D/Process ( 433): com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:13156)
D/Process ( 433): android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:336)
D/Process ( 433): com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1696)
D/Process ( 433): android.os.Binder.execTransact(Binder.java:338)
D/Process ( 433): dalvik.system.NativeStart.run(Native Method)
I/ActivityManager( 433): No longer want com.htc.syncagent (pid 14797): hidden #16, adj=11
D/SiMiClock(13382): onUpdate
D/SiMiClock(13382): onUpdate - 11
D/AppWidgetHostView( 585): updateAppWidget mInfo = AppWidgetProviderInfo(provider=ComponentInfo{com.th.android.widget.gTabsimiClock/com.th.android.widget.gTabsimiClock.GTabsimiClock4x1})
D/dalvikvm(15350): GC_CONCURRENT freed 489K, 13% free 4106K/4707K, paused 2ms+2ms
D/WallpaperControl(15350): initWallpaper - null
I/ActivityManager( 433): Start proc com.htc.android.WeatherLiveWallpaper for service com.htc.android.WeatherLiveWallpaper/.service.WeatherLoopingService: pid=15392 uid=10092 gids={3003}
D/dalvikvm( 433): GC_EXPLICIT freed 1974K, 36% free 13317K/20707K, paused 11ms+9ms
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x422f8000 size:2088960 offset:1597440 fd:38
D/memalloc(15350): /dev/pmem: Mapped buffer base:0x52e6c000 size:3686400 offset:1597440 fd:62
I/AudioService( 433): Remote Control registerMediaButtonIntent() for PendingIntent{41635f30: PendingIntentRecord{413f75f8 com.htc.music broadcastIntent}}
E/NotificationService( 433): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=nullnull,defaults=0x0,flags=0x62)
D/AudioSystem(14731): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem(14731): gLock get at 55
D/AudioSystem(14731): leave AudioSystem::get_audio_flinger() at 81
D/AudioSystem(14731): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem(14731): gLock get at 55
D/AudioSystem(14731): leave AudioSystem::get_audio_flinger() at 81
V/HtcHardwareService( 433): getHeadsetType() type=headset_unplug
I/AudioService( 433): setBeatsState() effectOn=false, appPlay=false, appName=HtcListen, headsetMode=0
W/MusicView(15350): updateMusicInfo(), mMediaPlaybackService is null...
W/TelephonyManager(14731): Hidden constructor called more than once per process!
W/TelephonyManager(14731): Original: com.htc.music, new: com.htc.music
V/MusicView(15350): updateMusicInfo start
W/[MusicUtils](15350): getArtworkFromFilePath()...path is null
D/MusicView(15350): updateMusicInfo()... No information, try to reload queue...
W/[MusicUtils](15350): getArtworkFromFilePath()...path is null
D/MusicView(15350): updateMusicInfo()...(title==null && name==null && albumArtPath==null)...
D/[MusicUtils](15350): getDatabaseErrorStr()...status:mounted, cursor = [[email protected]]...
D/[MusicUtils](15350): getDatabaseErrorStr()...ret:Tap to go to the music application.
V/MusicView(15350): updateMusicInfo end
I/MusicControl(15350): case MSG_ON_BIND_SERVICE:, mController.isRedTrafficLight(): false
D/Socket_Alarm(15392): registerHTCSocketMonitorCallBack
D/Socket_Alarm(15392): set mSocketMonitor
D/Socket_Alarm(15392): HTCSocketMonitorImpl::HTCSocketMonitorImpl
D/libEGL (15392): loaded /system/lib/egl/libGLES_android.so
D/libEGL (15392): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL (15392): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL (15392): loaded /system/lib/egl/libGLESv2_adreno200.so
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x422f8000 size:2088960 offset:12447744 fd:50
D/memalloc(15392): /dev/pmem: Mapped buffer base:0x52537000 size:14536704 offset:12447744 fd:69
D/AudioPolicyManager( 115): stopOutput() output 3, stream 2, session 41
D/AudioPolicyManagerBase( 115): getNewDevice() selected device 0
D/AudioPolicyManager( 115): setOutputDevice() output 3 device 0 delayMs 0
D/AudioPolicyManager( 115): output 3 is a2dp output.
D/AudioPolicyManager( 115): setOutputDevice() setting same device 0 or null device for output 3
D/dalvikvm(15392): GC_FOR_ALLOC freed 191K, 24% free 2899K/3807K, paused 16ms
I/dalvikvm-heap(15392): Grow heap (frag case) to 4.696MB for 1843216-byte allocation
D/MP-Decision( 950): DOWN Ns:2.100000 Ts:270 rq:0.900000 seq:297 (Up time:1733)
D/dalvikvm(15392): GC_FOR_ALLOC freed 9K, 18% free 4689K/5667K, paused 13ms
D/dalvikvm(15392): GC_EXPLICIT freed 1810K, 50% free 2880K/5667K, paused 2ms+2ms
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x422f8000 size:2088960 offset:14536704 fd:53
D/memalloc(15392): /dev/pmem: Mapped buffer base:0x5406d000 size:16625664 offset:14536704 fd:73
D/memalloc( 112): /dev/pmem: Allocated buffer base:0x422f8000 size:2088960 offset:18714624 fd:62
D/memalloc(15392): /dev/pmem: Mapped buffer base:0x55048000 size:20803584 offset:18714624 fd:76
D/MediaPlayer( 1800): reset() in
D/AudioSink( 115): close L=1648
D/AudioSink( 115): close L=1650
D/MediaPlayer( 1800): reset() out
D/MediaPlayer( 1800): release() in
D/MediaPlayer( 1800): release() out
D/TimedEventQueue( 115): pThread_join:26784776 E
D/AudioSystem( 1800): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem( 1800): gLock get at 55
D/AudioSystem( 1800): leave AudioSystem::get_audio_flinger() at 81
D/TimedEventQueue( 115): pThread_join:26784776 X
D/AudioSystem(15392): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem(15392): gLock get at 55
D/AudioSystem(15392): before defaultServiceManager() at 57
D/AudioSystem(15392): after defaultServiceManager() at 59
D/AudioSystem(15392): service got at 63
D/AudioSystem(15392): leave AudioSystem::get_audio_flinger() at 81
D/AudioSystem(15392): AudioSystem::get_audio_flinger() in at 53
D/AudioSystem(15392): gLock get at 55
D/AudioSystem(15392): leave AudioSystem::get_audio_flinger() at 81
I/AwesomePlayer( 115): setDataSource_l('/system/media/weather/weather_cloudy_day.mp4')
D/WeatherLiveWallpaper(15392): [FxSceneController_DockMode]: initMediaPlayer() - mConnected = true
I/SampleTable( 115): There are reordered frames present.
I/BATT_ALG( 127): batt_alg_cable_detection: cable detection handler, charging source = 0
I/BATT_ALG( 127): batt_alg_check_charging: charging_source = 0, isOver_temp = 0
D/BatteryService( 433): UEvent updateBatteryStats
D/BatteryService_ULog( 433): ULogForBatteryChargingStateChange(78,0) is called
D/BatteryService_ULog( 433): charger=off,battery_power=78
Click to expand...
Click to collapse
Any ideas, anyone? I'll try anything. D:
i know why no one asweres here
i have just to read too much ^^
for me it was the same ...
vlingo didnt start in car dock mode
set up tasker to check if "both" dockmode and carmode are activated then start vlingo ... then it worked !!!
try that
same answere as in ARHD thread
Yeah, I did add a little too much... but more is better for troubleshooting, right? .... right? >_>
Thanks for the suggestion. I'll give it a shot here shortly.
Just had to check before answering but it's working for me with 6.5.2 on my sensation (XE mob btw). Nothing special done, when I plug it on the dock it just recognises it :S Sorry can't help more!
Well, I did have Navigation mode started in 6.5.2, and in 6.5.3 have also. But there another strange thing happening to me - after removing phone from car dock I still have speakerphone mode turned on when I make a calls. So it does not turn off the screen when I put the phone to my ear - therefore I have randomly pressed buttons, screen rotations and very loud sound from speakerphone until I manually turn off speakerphone mode.
Anyway - there are problems with car or desktop dock detection in ARHD 6.5.x (I have also on-desk dock, so I checket them both). If Mike1986 does not have docks to debug this feature - I would be glad to give a hand!
And if there any way to change, for exsample, a default app for in-**** mode - it would be really great. Because native application is not quite a thing I use
Iv'e tried as many solutions to my problem, as I can find, but still have no adb interface. I have a huawei ascend M860(I know it's old), It's rooted, rom'ed with Playfulgod's CM7.2 rom, and the dalvik was moved to the sdcard. Before I installed this rom, I replaced ADW launcher, with GoLauncher(winzip). I like his rom, except for one thing, since I replaced it from cm6, my adb isn't working. I changed the rom back to cm6, and it started working again, put cm7 back, same problem. Today, I looked into my adbd file, and found alot of errors, and my block file, said I had so many bad blocks, I lost count! This is the end of my adbd file:
ro.debuggable service.adb.root Local port disabled
service.adb.tcp.port persist.adb.tcp.port %d /dev/android_adb OK
failed to allocate an apacket Calling send_connect
host %s:: Calling send_ready
Calling send_close
handle_packet() %d
Enqueue the socket
handle_packet: what is %08x?!
all adb sockets packets rwx usb sync sysdeps transport jdwp %s: select missing fde for fd %d
fd out of range (%d)
fd_table out of sync fde %p not created by fdevent_create()
bogus negative fd (%d)
bogus huuuuge fd (%d)
could not expand fd_table to %d entries
check_header(): invalid magic
check_header(): %d > MAX_PAYLOAD
unknown run_transport_disconnects: %p (%s)
%02x writex: %d %p %d: writex: %d %d %s
writex: %d ok
transport_write_action: on fd %d, error %d: %s
write_packet: %d [%08x %s] %08x %08x (%d) write_packet: %d error %d %d
readx: %d %p %d
readx: %d %d %s
readx: %d ok: transport_read_action: on fd %d, error %d: %s
read_packet: %d error %d %d
read_packet: %d ok: [%08x %s] %08x %08x (%d) transport: %p registered
cannot write transport registration socket
transport: %p init'ing for usb_handle %p (sn='%s')
transport: %p removed
transport: %p R- (ref=%d)
transport: %p kicking and closing
Transport is null Transport is null
cannot enqueue packet on transport socket transport: %p init'ing for socket %d, on port %d
device not found insufficient permissions for device more than one device more than one emulator more than one device and emulator device offline invalid device state cannot open transport registration socketpair cannot read transport registration socket transport: %p removing and free'ing %d
cannot open transport socketpair transport: %p (%d,%d) starting
transport: %p install %d
cannot create input thread cannot create output thread from_remote: starting thread for transport %p, on fd %d
from_remote: transport %p SYNC online (%d)
from_remote: failed to write SYNC apacket to transport %p from_remote: data pump for transport %p
from_remote: received remote packet, sending to transport %p
from_remote: failed to write apacket to transport %p from_remote: remote read failed for transport %p
from_remote: SYNC offline for transport %p
from_remote: thread is exiting for transport %p
to_remote: starting input_thread for %p, reading from fd %d
to_remote: failed to read apacket from transport %p on fd %d
to_remote: transport %p SYNC offline
to_remote: transport %p SYNC online
to_remote: trandport %p ignoring SYNC %d != %d
to_remote: transport %p got packet, sending to remote
to_remote: transport %p ignoring packet while offline
to_remote: thread is exiting for transport %p, fd %d
failed to read packet from transport socket on fd %d
remote local: write terminated
remote local: read terminated (message)
bad header: terminated (data)
remote local: terminated (data)
bad data: terminated (data)
server client transport: local %s init
cannot create local socket %s thread transport: server_socket_thread() starting
server: cannot bind socket yet
server: trying to get new connection from %d
server: new connection on fd %d
host client: connected on remote on fd %d
%s%d emulator- transport: usb
remote usb: 1 - write terminated
remote usb: 2 - write terminated
remote usb: read terminated (message)
remote usb: check_header failed
remote usb: terminated (data)
remote usb: check_data failed
Creating smart socket
cannot allocate socket SS(%d): created %p
Connecting to smart socket
SS(%d): ready
SS(%d): closed
LS(%d): discarding %d bytes
LS(%d): closed
LS(%d): closing
OKAY Connect_to_remote call
destination oversized LS(%d): connect('%s')
Calling remote_socket_ready
Calling remote_socket_enqueue
RS(%d): created
remote_socket_disconnect RS(%d)
Calling remote_socket_close
RS(%d): closed
LS(%d): created (fd=%d)
jdwp track-jdwp LS(%d): bound to '%s'
LS(%d): enqueue %d
LS(%d): not ready, errno=%d: %s
FAIL%04x SS(%d): enqueue %d
SS(%d): overflow
SS(%d): bad size (%d)
SS(%d): len is %d
SS(%d): waiting for %d more bytes
SS(%d): '%s'
unknown failure device offline (x) closed cannot create service socket pair cannot allocate stinfo cannot create service thread service thread started, %d:%d
invalid port
%d service.adb.tcp.port restarting in TCP mode port: %d
EXTERNAL_STORAGE /system/bin/vdc volume unmount force reboot failed: %s
0 restarting in USB mode
/tmp/update FAIL /tmp/update.begin OKAY adbd is already running as root
ro.debuggable 1 adbd cannot run as root in production builds
service.adb.root restarting adbd as root
/dev/ptmx [ cannot open /dev/ptmx - %s ]
[ trouble with /dev/ptmx - %s ]
- fork failed: %s -
- exec '%s' failed: %s (%d) -
/proc/%d/oom_adj adb: unable to open %s
tcp: local: localreserved: localabstract: localfilesystem: dev: framebuffer: recover: jdwp: log: shell: /sbin/sh -c /system/bin/sh - sync: remount: reboot: root: tcpip: usb: sync: failure: %s
mkdir("%s") -> %s
invalid data message: expected ID_DATA oversize data message invalid data message: expected ID_DONE invalid data message sync: waiting for command
command read failure invalid namelen filename read failure sync: '%s' '%s'
unknown command sync: done
not enough memory to create new JDWP process
could not create fdevent for new JDWP process
oops, the JDWP process died really quick
weird accept() failed on jdwp control socket: %s
%d
%04x looking for pid %d in JDWP process list
search failed !!
%s: too many pending JDWP connection for pid %d
%s: socket pair creation failed: %s
weird unknown JDWP process failure: %s
weird end-of-stream from unknown JDWP process
could not decode JDWP %p PID number: '%s'
Adding pid %d to jdwp process list
terminating JDWP %d connection: %s
ignoring unexpected JDWP %d control socket activity (%d bytes)
remove pid %d to jdwp process list
trying to write to JDWP pid controli (count=%d first=%d) %d
sending new file descriptor to JDWP %d failed: %s
sent file descriptor %d to JDWP process %d
could not create vm debug control socket. %d: %s
could not bind vm debug control socket: %d: %s
listen failed in jdwp control socket: %d: %s
could not create fdevent for jdwp control socket
jdwp control socket started (%d)
/dev/graphics/fb0 /proc/mounts %255s %255s %*s %*s %d %d
/system none remount succeeded
remount failed: %s
usb_kick
[ usb_thread - opening device ]
/dev/android_adb /dev/android [ opening device succeeded ]
[ usb_thread - registering device ]
[ read %d ]
ERROR: n = %d, errno = %d (%s)
[ write %d ]
[ done ]
/dev/android_adb_enable failed to open /dev/android_adb_enable
[ usb_init - starting thread ]
cannot create usb thread /dev/log/ /dev/socket/ property_service :
/dev/pts/%u 0123456789ABCDEF Inf 0123456789abcdef (null) NaN 0 . Infinity inf inity nan Unknown error: Operation not permitted No such file or directory No such process Interrupted system call I/O error No such device or address Argument list too long Exec format error Bad file number No child processes Try again Out of memory Permission denied Bad address Block device required Device or resource busy File exists Cross-device link No such device Not a directory Is a directory Invalid argument File table overflow Too many open files Not a typewriter Text file busy File too large No space left on device Illegal seek Read-only file system Too many links Broken pipe Math argument out of domain of func Math result not representable Resource deadlock would occur File name too long No record locks available Function not implemented Directory not empty Too many symbolic links encountered No message of desired type Identifier removed Channel number out of range Level 2 not synchronized Level 3 halted Level 3 reset Link number out of range Protocol driver not attached No CSI structure available Level 2 halted Invalid exchange Invalid request descriptor Exchange full No anode Invalid request code Invalid slot Bad font file format Device not a stream No data available Timer expired Out of streams resources Machine is not on the network Package not installed Object is remote Link has been severed Advertise error Srmount error Communication error on send Protocol error Multihop attempted RFS specific error Not a data message Value too large for defined data type Name not unique on network File descriptor in bad state Remote address changed Can not access a needed shared library Accessing a corrupted shared library .lib section in a.out corrupted Attempting to link in too many shared libraries Cannot exec a shared library directly Illegal byte sequence Interrupted system call should be restarted Streams pipe error Too many users Socket operation on non-socket Destination address required Message too long Protocol wrong type for socket Protocol not available Protocol not supported Socket type not supported Operation not supported on transport endpoint Protocol family not supported Address family not supported by protocol Address already in use Cannot assign requested address Network is down Network is unreachable Network dropped connection because of reset Software caused connection abort Connection reset by peer No buffer space available Transport endpoint is already connected Transport endpoint is not connected Cannot send after transport endpoint shutdown Too many references: cannot splice Connection timed out Connection refused Host is down No route to host Operation already in progress Operation now in progress Stale NFS file handle Structure needs cleaning Not a XENIX named type file No XENIX semaphores available Is a named type file Remote I/O error Quota exceeded No medium found Wrong medium type Operation Canceled Required key not available Key has expired Key has been revoked Key was rejected by service Owner died State not recoverable Stupid C library hack !! abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 :+-._ Local time zone must be set--see zic manual page posixrules ,M4.1.0,M10.5.0 localtime /system/usr/share/zoneinfo / /system/usr/share/zoneinfo/zoneinfo.idx /system/usr/share/zoneinfo/zoneinfo.dat TZ persist.sys.timezone -0 %d %2d %H:%M:%S %e-%b-%Y + - %4d %04d %c Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April June July August September October November December Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday %a %b %e %T %Y AM PM %a %b %e %H:%M:%S %Z %Y /acct/uid/%d/tasks w+ <unknown> /proc/self/exe /dev/urandom ANDROID_PROPERTY_WORKSPACE HTC_RIL /dev/log/main /dev/log/radio /proc/cpuinfo processor /proc/stat cpu /proc/meminfo MemTotal:
Is there a problem that's rom related, and why does my adb interface only show in device mgr, when my phone's in cwm recovery?