[ROM][4.4.3] CyanogenMod 11 for HTC One S

Search This thread

F-L-Y-E-R

Senior Member
Jan 15, 2011
682
1,313
London
Can someone tell me which recovery to use to install the Hboot 216 version. I tried the crossed out CWM recovery in the downloads post but it never boots into recovery. I also tried using TWRP found in Maximus ROM firmware update. But it shows my device as if nothing is on it at all.
Or fails to flash.

If someone could tell me a link to a recovery that works?

Hm... So maybe you downloaded the 2.15 version? Because recovery from 'maximus hd' worked and still working fine for me.
 

nicknc

Senior Member
Dec 10, 2009
1,156
331
Can someone tell me which recovery to use to install the Hboot 216 version. I tried the crossed out CWM recovery in the downloads post but it never boots into recovery. I also tried using TWRP found in Maximus ROM firmware update. But it shows my device as if nothing is on it at all.
Or fails to flash.

If someone could tell me a link to a recovery that works?

Why haven't you tried the TWRP listed in this thread?

Sent from my One S using Tapatalk
 

AndroidInsanity

Senior Member
Jan 15, 2012
1,432
300
Huddersfield
www.youtube.com
Why haven't you tried the TWRP listed in this thread?

Sent from my One S using Tapatalk

I just have done still no luck :/

---------- Post added at 01:45 PM ---------- Previous post was at 01:45 PM ----------

Hm... So maybe you downloaded the 2.15 version? Because recovery from 'maximus hd' worked and still working fine for me.

Nope 100% downloaded 2.16 version. Thanks anyway


I found the issue. I am on 2.15 Hboot, it must of changed it to 2.15 from 2.16 when I did a RUU. Sorry
 

eabinsan

Senior Member
Sep 24, 2009
78
26
Ok, I don't know what the current status on the charger-reboot issues is exactly. But here are my observations - if anyone has any suggestions on what I could try - hints are very welcome. I'm an embedded-systems dev (not on linux though), so I can compile my own kernel if necessary.

(I'm on a recent CM11 build without any modifications, original kernel etc.)

To me this issue only happens when I plug my phone into the original car mode charger. It then switches to car mode automatically, and starts the app CarHome Ultra. It then freezes immediately without playing the welcome sound, and reboots. When I use a normal USB cable and start the app manually, it starts and tells me the current location via the speaker, and the phone is stable (at least for a few minutes, didn't yet try a long run).

What's interesting from the logs is, that it detects the cable type first (orig. car charger is cable type 2), and then - when the app tries to play some sound on startup - says the following:

Code:
[  386.600213] [CABLE] cable_detection_vbus_irq_handler
[  386.604578] [CABLE] cable_detection_vbus_irq_handler --
[  386.691500] [CABLE] check_vbus_in: vbus = 0, vbus_in = 1
[  386.696108] [USBH] msm_otg_set_vbus_state: 1
[  386.702243] [USB] PMIC: BSV set
[  386.705600] [CABLE] usb: id interrupt
[  386.714634] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000003
[  386.719761] [USB] OTG runtime resume
[  386.724187] [USBH] msm_otg_resume
[  386.729986] [USBH] msm_hsusb_ldo_enable: hsusb_1p8: 50000uA
[  386.734900] [USBH] msm_hsusb_ldo_enable: hsusb_3p3: 50000uA
[  386.741736] [USBH] reg (HPM)
[  386.743781] [USBH] exit phy power collapse...
[  386.748298] [USBH] msm_hsusb_config_vddcx: min_vol:1045000 max_vol:1320000
[  386.756630] [USBH] msm_otg_resume:disable the ASYNC_INTR
[  386.761116] [USBH] USB exited from low power mode
[  386.766274] [USB] b_idle work
[  386.769967] [USB] OTG_STATE_B_IDLE state
[  386.773599] [USBH] b_sess_vld
[  386.775980] [USBH] msm_chg_detect_work: state:CHG_STATE_UNDEFINED
[  386.821425] [CABLE] cable_detect_get_type: id pin low
[  386.828048] [CABLE] chan=137, adc_code=26409, measurement=165060,                    physical=165060
[  386.836380] [CABLE] cable_detect_get_type prev_type 0, type 2, stable_count 0
[  386.881367] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  386.961391] [CABLE] cable_detect_get_type: id pin low
[  386.968258] [CABLE] chan=137, adc_code=26408, measurement=164961,                    physical=164961
[  386.976163] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 1
[  386.984983] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.091438] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.111979] [CABLE] cable_detect_get_type: id pin low
[  387.118022] [CABLE] chan=137, adc_code=26409, measurement=165060,                    physical=165060
[  387.139203] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 2
[  387.191545] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.271478] [CABLE] cable_detect_get_type: id pin low
[  387.278040] [CABLE] chan=137, adc_code=26407, measurement=164863,                    physical=164863
[  387.288112] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 3
[  387.295498] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.300503] [CABLE] [MHL] Enter D3 mode
[  387.305569] [DISP] D2 To D3 mode
[  387.312772] [CABLE] Car kit inserted
[  387.325408] [CABLE] cable_detect_handler ID pin 0, type 2
[  387.391362] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.441690] [USBH] msm_chg_detect_work: state:CHG_DCD_DONE
[  387.521440] [USBH] msm_chg_detect_work: state:CHG_PRIMARY_DONE
[  387.527849] [USBH] chg_type = USB_DCP_CHARGER
[  387.531817] [USBH] send connect type 2
[  387.535052] [CABLE] usb_status_notifier_func: cable_type = 2
[  387.540759] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000003
[  387.547291] [USB] b_idle work
[  387.549458] [USB] OTG_STATE_B_IDLE state
[  387.553639] [CABLE] send_cable_connect_notify: cable_type = 2
[  387.559438] [USBH] b_sess_vld
[  387.562520] [CABLE] Send to: htc_battery_8960, type 2
[  387.568014] [USB] Avail curr from USB = 1500
[  387.571646] [USB] Power Supply doesn't support USB charger
[  387.576865] [USB] OTG runtime suspend
[  387.580558] [BATT] cable_status_notifier_func(2) at 387563768150 (2014-01-26 13:58:39.152285486 UTC)
[  387.591789] [USBH] msm_otg_suspend
[  387.592583] [BATT] 5V AC charger at 387571306683 (2014-01-26 13:58:39.164310515 UTC)
[  387.592583] [BATT] htc_charger_event_notify charger event=5
[  387.592614] [BATT] batt_worker: total_time since last batt update = 34190 ms. at 387571337203 (2014-01-26 13:58:39.164341035 UTC)
[  387.622401] [USBH] USB in low power mode
[  387.625514] [GYRO][PANASONIC] rv_status, 193662, -233523, -734456, 607070
[  387.625514]  
[  387.636258] [BATT] prev_chg_src=0, prev_chg_en=0, chg_dis_reason/control/active=0x0/0x0/0x0, chg_limit_reason=0x0, pwrsrc_dis_reason=0x0, prev_pwrsrc_enabled=0, context_state=0x0, htc_extension=0x0, sw_stimer_counter=0
[  387.661376] [BATT] set_pwrsrc_and_charger_enable(2, 2, 1) at 387644372453 (2014-01-26 13:58:39.233072913 UTC)
[  387.679932] [GYRO][PANASONIC] a_status : gsensor data: 0, 376, -525
[  387.681428] [BATT] ID=2,level=73,level_raw=73,vol=3802,temp=311,current=407800,chg_src=2,chg_en=2,full_bat=1650,over_vchg=0,batt_state=1,overload=0,ui_chg_full=0 at 387660151485 (2014-01-26 13:58:39.253155317 UTC)
[  387.681428] [BATT] power_supply_changed: battery at 387660182006 (2014-01-26 13:58:39.253155317 UTC)
[  387.681458] [BATT] power_supply_changed: ac at 387660182006 (2014-01-26 13:58:39.253185838 UTC)
[  387.681458] [BATT] batt_worker: done
[  387.714848] [LED]pm8xxx_led_gpio_set, bank:1, brightness:1 sync: 0
[  387.715092] [LED]pm8xxx_led_gpio_set, bank:0, brightness:0 sync: 0
[  387.715214] [LED]pm8xxx_led_blink_store: bank 1 blink 0 sync 0
[  387.715397] [LED]pm8xxx_led_blink_store: bank 0 blink 0 sync 0
[  387.715794] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  387.716068] [LED]pm8xxx_led_currents_store: bank 6 currents 10
[  387.716068] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  387.716282] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  387.973080] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  387.978177] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x9
[  387.988768] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.001098] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.007202] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.013367] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  388.019990] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  388.026186] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.031588] [GYRO][PANASONIC] (o) = (0x1), set m_o_times 1
[  388.043735] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.049717] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.056523] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  388.062536] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  388.068762] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.081306] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.087257] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.093850] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  388.099801] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  388.110483] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.121715] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.129558] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.345734] [GYRO][PANASONIC] o_status, pitch -2805, roll -221, , yaw 10350
[  389.225057] [GYRO][PANASONIC] rv_status, 11511, -172395, -795375, 580969
[  389.225057]  
[  389.865160] [GYRO][PANASONIC] o_status, pitch -1893, roll 656, , yaw 15024
[  389.972226] [GYRO][PANASONIC] a_status : gsensor data: 73, 196, -627
[  390.745093] [GYRO][PANASONIC] rv_status, -34687, 160851, 983491, 75281
[  390.745093]  
[  391.385106] [GYRO][PANASONIC] o_status, pitch -2375, roll 598, , yaw 18279
[  391.570883] [TP] Total finger count: 0
[  392.180894] [GYRO][PANASONIC] a_status : gsensor data: 50, 247, -666
[  392.266137] [GYRO][PANASONIC] rv_status, -32504, 181792, 982733, 11397
[  392.266168]  
[  392.905692] [GYRO][PANASONIC] o_status, pitch -1906, roll 488, , yaw 18121
[  393.138623] [TP] Total finger count: 0
[  393.462810] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.481306] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.488509] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.495254] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.502456] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.509415] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.516313] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.523454] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.530260] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.537524] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.979917] [TP] Total finger count: 0
[  394.680909] [TP] Total finger count: 0
[  394.915794] [sched_delayed] sched: RT throttling activated
[  395.585716] [TP] Total finger count: 0
[  397.969174] [TP] Total finger count: 0
[  398.005096] [GYRO][PANASONIC] rv_status, -54355, 176511, 982555, 21770
[  398.005096]  
[  398.471387] soc_dpcm_fe_dai_open: 32163 callbacks suppressed
[  398.476270] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.483412] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.490462] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.497543] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.504471] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.511551] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.518510] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.525591] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.532641] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.539630] asoc: MSM8960 Media1 no valid playback route from source to sink
[  402.980344] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  402.991606] [LED]pm8xxx_led_currents_store: bank 6 currents 0
[  403.001495] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  403.491438] soc_dpcm_fe_dai_open: 39670 callbacks suppressed
[  403.496139] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.503341] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.510300] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.517442] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.524431] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.531420] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.538470] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.545460] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.552540] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.559560] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.811933] [TP] Total finger count: 0
[  404.979612] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  404.990813] [LED]pm8xxx_led_currents_store: bank 6 currents 10
[  404.998199] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  405.007874] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  408.273035] [TP] Total finger count: 0
[  408.511399] soc_dpcm_fe_dai_open: 39573 callbacks suppressed
[  408.516068] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.523241] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.530260] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.537341] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.544361] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.551380] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.558339] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.565450] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.572440] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.579429] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.985075] [GYRO][PANASONIC] o_status, pitch -2080, roll 519, , yaw 18588
[  409.008667] [COMP][AKM8975] ECS_IOCTL_APP_SET_MFLAG,(m, a, t, mv) = (0x0, 0x1, 0x0, 0x0), m_f_times 0
[  409.017427] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  409.989287] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  409.994597] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  410.001770] [GYRO][PANASONIC] a_status : gsensor data: 61, 216, -694
[  410.007782] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  410.971463] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  410.989378] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  410.995666] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  411.002166] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  411.008789] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x9
[  411.014710] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  411.976407] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  411.986693] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  412.013184] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  412.364657] [TP] Total finger count: 0
[  412.645078] [TP] Total finger count: 0
[  412.836258] [TP] Total finger count: 0
[  412.971402] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  413.531420] soc_dpcm_fe_dai_open: 39097 callbacks suppressed
[  413.536151] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.543262] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.550312] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.557424] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.564352] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.571432] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.578452] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.585441] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.592522] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.599481] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.971616] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  414.809033] [CABLE] usb: id interrupt
[  414.818434] [CABLE] cable_detection_vbus_irq_handler
[  414.822432] [CABLE] cable_detection_vbus_irq_handler --
[  414.971402] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  414.979032] [CABLE] check_vbus_in: vbus = 1, vbus_in = 0
[  414.984526] [USBH] msm_otg_set_vbus_state: 0
[  414.994842] [USB] PMIC: BSV clear
[  414.999023] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000001
[  415.004181] [USB] OTG runtime resume
[  415.007752] [CABLE] cable_detect_get_type: id pin high
[  415.017213] [USBH] msm_otg_resume
[  415.971402] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  415.979429] [CABLE] cable_detect_get_type prev_type 2, type 0, stable_count 0
[  415.986509] [USBH] msm_otg_resume:disable the ASYNC_INTR
[  415.999145] [USBH] USB exited from low power mode
[  416.005157] [USB] b_idle work
[  416.007172] [USB] OTG_STATE_B_IDLE state
[  416.016999] [USB] chg_work cancel
[  416.019197] [USBH] !b_sess_vld && id
[  416.972958] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  416.980497] [CABLE] cable_detect_get_type: id pin high
[  416.986906] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 1
[  416.997283] [USB] Avail curr from USB = 0
[  417.000305] [USB] Power Supply doesn't support USB charger
[  417.017488] [USBH] msm_otg_reset
[  417.971493] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  417.979459] [CABLE] cable_detect_get_type: id pin high
[  417.985441] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 2
[  417.997466] [USBH] phy_reset: success
[  418.011567] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  418.016633] [LED]pm8xxx_led_currents_store: bank 6 currents 0
[  418.551380] soc_dpcm_fe_dai_open: 39610 callbacks suppressed
[  418.556081] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.563192] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.570273] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.577323] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.584342] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.591362] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.598321] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.605432] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.612452] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.619441] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.972134] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  418.979612] [CABLE] cable_detect_get_type: id pin high
[  418.984770] [USBH] ulpi: write 0x7f to 0x81
[  418.988951] [USBH] ulpi: write 0x3c to 0x82
[  418.993071] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 3
[  419.009095] [USBH] send connect type 0
[  419.012055] [CABLE] usb_status_notifier_func: cable_type = 0
[  419.017579] [USB] OTG runtime suspend
[  419.021181] [USBH] msm_otg_suspend
[  419.946680] [TP] Total finger count: 0

Most notably:
Code:
[  387.191545] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.271478] [CABLE] cable_detect_get_type: id pin low
[  387.278040] [CABLE] chan=137, adc_code=26407, measurement=164863,                    physical=164863
[  387.288112] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 3
[  387.295498] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.300503] [CABLE] [MHL] Enter D3 mode
[  387.305569] [DISP] D2 To D3 mode
[  387.312772] [CABLE] Car kit inserted
....
[  387.568014] [USB] Avail curr from USB = 1500
[  387.571646] [USB] Power Supply doesn't support USB charger
[  387.576865] [USB] OTG runtime suspend
...
[  393.462810] asoc: MSM8960 Media1 no valid playback route from source to sink
....
[  418.979612] [CABLE] cable_detect_get_type: id pin high
[  418.984770] [USBH] ulpi: write 0x7f to 0x81
[  418.988951] [USBH] ulpi: write 0x3c to 0x82
[  418.993071] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 3
[  419.009095] [USBH] send connect type 0
[  419.012055] [CABLE] usb_status_notifier_func: cable_type = 0
[  419.017579] [USB] OTG runtime suspend
[  419.021181] [USBH] msm_otg_suspend


Question is: what does the car charger have to do with sound? and why does the cable type change before the phone reboots?

Any pointers?

edit: does anybody know what the MHL states D2 and D3 are? Is there a way to disable mhl and otg, so i could try without them?
 
Last edited:

Brushstroke

Senior Member
Aug 26, 2013
396
104
Hi,

I'm facing an issue with the 2 latest nightly (20130124 and 20130125) that I didn't have on 20130119 : I use the "3x3 schema" lockscreen and on these 2 latest nightly builds, rotating the screen on lock-screen would cause a freeze. (and requires holding power-button for 10s in order to reboot ... that's the only escape)

Also, there is still something that seems to go wrong at unlock phase with schema: sometimes (randomly), it takes about 1-2s to exit something (black screen sliding) after unlocking.

Am I the only one facing these 2 issues with 'schema' screenlock ??

I reverted to 20130119 because of the rotate-freeze.

By the way, I noticed cLock had been updated now the lock-screen wirdget takes into account user's preferences. :)
According to cmxlog, stuff from Trebuchet was pushed in to the git rep', but haven't seen it in the Settings yet.

I just tried using the 3x3 pattern lockscreen and it worked fine for me. I also wasn't aware that lockscreen rotation (or homescreen rotation, for that matter) had been introduced yet. I've only been able to use screen rotation in apps so far.
 

The Setlaz

Senior Member
Jan 6, 2010
217
116
I just tried using the 3x3 pattern lockscreen and it worked fine for me. I also wasn't aware that lockscreen rotation (or homescreen rotation, for that matter) had been introduced yet. I've only been able to use screen rotation in apps so far.

Well, home-screen doesn't rotate with Launcher3 or default launcher, only the lock-screen does.
 

intervigil

Senior Member
Jun 5, 2009
347
1,309
Bay Area
Ok, I don't know what the current status on the charger-reboot issues is exactly. But here are my observations - if anyone has any suggestions on what I could try - hints are very welcome. I'm an embedded-systems dev (not on linux though), so I can compile my own kernel if necessary.

(I'm on a recent CM11 build without any modifications, original kernel etc.)

To me this issue only happens when I plug my phone into the original car mode charger. It then switches to car mode automatically, and starts the app CarHome Ultra. It then freezes immediately without playing the welcome sound, and reboots. When I use a normal USB cable and start the app manually, it starts and tells me the current location via the speaker, and the phone is stable (at least for a few minutes, didn't yet try a long run).

What's interesting from the logs is, that it detects the cable type first (orig. car charger is cable type 2), and then - when the app tries to play some sound on startup - says the following:

Code:
[  386.600213] [CABLE] cable_detection_vbus_irq_handler
[  386.604578] [CABLE] cable_detection_vbus_irq_handler --
[  386.691500] [CABLE] check_vbus_in: vbus = 0, vbus_in = 1
[  386.696108] [USBH] msm_otg_set_vbus_state: 1
[  386.702243] [USB] PMIC: BSV set
[  386.705600] [CABLE] usb: id interrupt
[  386.714634] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000003
[  386.719761] [USB] OTG runtime resume
[  386.724187] [USBH] msm_otg_resume
[  386.729986] [USBH] msm_hsusb_ldo_enable: hsusb_1p8: 50000uA
[  386.734900] [USBH] msm_hsusb_ldo_enable: hsusb_3p3: 50000uA
[  386.741736] [USBH] reg (HPM)
[  386.743781] [USBH] exit phy power collapse...
[  386.748298] [USBH] msm_hsusb_config_vddcx: min_vol:1045000 max_vol:1320000
[  386.756630] [USBH] msm_otg_resume:disable the ASYNC_INTR
[  386.761116] [USBH] USB exited from low power mode
[  386.766274] [USB] b_idle work
[  386.769967] [USB] OTG_STATE_B_IDLE state
[  386.773599] [USBH] b_sess_vld
[  386.775980] [USBH] msm_chg_detect_work: state:CHG_STATE_UNDEFINED
[  386.821425] [CABLE] cable_detect_get_type: id pin low
[  386.828048] [CABLE] chan=137, adc_code=26409, measurement=165060,                    physical=165060
[  386.836380] [CABLE] cable_detect_get_type prev_type 0, type 2, stable_count 0
[  386.881367] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  386.961391] [CABLE] cable_detect_get_type: id pin low
[  386.968258] [CABLE] chan=137, adc_code=26408, measurement=164961,                    physical=164961
[  386.976163] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 1
[  386.984983] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.091438] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.111979] [CABLE] cable_detect_get_type: id pin low
[  387.118022] [CABLE] chan=137, adc_code=26409, measurement=165060,                    physical=165060
[  387.139203] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 2
[  387.191545] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.271478] [CABLE] cable_detect_get_type: id pin low
[  387.278040] [CABLE] chan=137, adc_code=26407, measurement=164863,                    physical=164863
[  387.288112] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 3
[  387.295498] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.300503] [CABLE] [MHL] Enter D3 mode
[  387.305569] [DISP] D2 To D3 mode
[  387.312772] [CABLE] Car kit inserted
[  387.325408] [CABLE] cable_detect_handler ID pin 0, type 2
[  387.391362] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.441690] [USBH] msm_chg_detect_work: state:CHG_DCD_DONE
[  387.521440] [USBH] msm_chg_detect_work: state:CHG_PRIMARY_DONE
[  387.527849] [USBH] chg_type = USB_DCP_CHARGER
[  387.531817] [USBH] send connect type 2
[  387.535052] [CABLE] usb_status_notifier_func: cable_type = 2
[  387.540759] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000003
[  387.547291] [USB] b_idle work
[  387.549458] [USB] OTG_STATE_B_IDLE state
[  387.553639] [CABLE] send_cable_connect_notify: cable_type = 2
[  387.559438] [USBH] b_sess_vld
[  387.562520] [CABLE] Send to: htc_battery_8960, type 2
[  387.568014] [USB] Avail curr from USB = 1500
[  387.571646] [USB] Power Supply doesn't support USB charger
[  387.576865] [USB] OTG runtime suspend
[  387.580558] [BATT] cable_status_notifier_func(2) at 387563768150 (2014-01-26 13:58:39.152285486 UTC)
[  387.591789] [USBH] msm_otg_suspend
[  387.592583] [BATT] 5V AC charger at 387571306683 (2014-01-26 13:58:39.164310515 UTC)
[  387.592583] [BATT] htc_charger_event_notify charger event=5
[  387.592614] [BATT] batt_worker: total_time since last batt update = 34190 ms. at 387571337203 (2014-01-26 13:58:39.164341035 UTC)
[  387.622401] [USBH] USB in low power mode
[  387.625514] [GYRO][PANASONIC] rv_status, 193662, -233523, -734456, 607070
[  387.625514]  
[  387.636258] [BATT] prev_chg_src=0, prev_chg_en=0, chg_dis_reason/control/active=0x0/0x0/0x0, chg_limit_reason=0x0, pwrsrc_dis_reason=0x0, prev_pwrsrc_enabled=0, context_state=0x0, htc_extension=0x0, sw_stimer_counter=0
[  387.661376] [BATT] set_pwrsrc_and_charger_enable(2, 2, 1) at 387644372453 (2014-01-26 13:58:39.233072913 UTC)
[  387.679932] [GYRO][PANASONIC] a_status : gsensor data: 0, 376, -525
[  387.681428] [BATT] ID=2,level=73,level_raw=73,vol=3802,temp=311,current=407800,chg_src=2,chg_en=2,full_bat=1650,over_vchg=0,batt_state=1,overload=0,ui_chg_full=0 at 387660151485 (2014-01-26 13:58:39.253155317 UTC)
[  387.681428] [BATT] power_supply_changed: battery at 387660182006 (2014-01-26 13:58:39.253155317 UTC)
[  387.681458] [BATT] power_supply_changed: ac at 387660182006 (2014-01-26 13:58:39.253185838 UTC)
[  387.681458] [BATT] batt_worker: done
[  387.714848] [LED]pm8xxx_led_gpio_set, bank:1, brightness:1 sync: 0
[  387.715092] [LED]pm8xxx_led_gpio_set, bank:0, brightness:0 sync: 0
[  387.715214] [LED]pm8xxx_led_blink_store: bank 1 blink 0 sync 0
[  387.715397] [LED]pm8xxx_led_blink_store: bank 0 blink 0 sync 0
[  387.715794] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  387.716068] [LED]pm8xxx_led_currents_store: bank 6 currents 10
[  387.716068] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  387.716282] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  387.973080] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  387.978177] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x9
[  387.988768] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.001098] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.007202] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.013367] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  388.019990] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  388.026186] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.031588] [GYRO][PANASONIC] (o) = (0x1), set m_o_times 1
[  388.043735] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.049717] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.056523] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  388.062536] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  388.068762] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.081306] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.087257] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.093850] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  388.099801] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  388.110483] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  388.121715] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  388.129558] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  388.345734] [GYRO][PANASONIC] o_status, pitch -2805, roll -221, , yaw 10350
[  389.225057] [GYRO][PANASONIC] rv_status, 11511, -172395, -795375, 580969
[  389.225057]  
[  389.865160] [GYRO][PANASONIC] o_status, pitch -1893, roll 656, , yaw 15024
[  389.972226] [GYRO][PANASONIC] a_status : gsensor data: 73, 196, -627
[  390.745093] [GYRO][PANASONIC] rv_status, -34687, 160851, 983491, 75281
[  390.745093]  
[  391.385106] [GYRO][PANASONIC] o_status, pitch -2375, roll 598, , yaw 18279
[  391.570883] [TP] Total finger count: 0
[  392.180894] [GYRO][PANASONIC] a_status : gsensor data: 50, 247, -666
[  392.266137] [GYRO][PANASONIC] rv_status, -32504, 181792, 982733, 11397
[  392.266168]  
[  392.905692] [GYRO][PANASONIC] o_status, pitch -1906, roll 488, , yaw 18121
[  393.138623] [TP] Total finger count: 0
[  393.462810] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.481306] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.488509] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.495254] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.502456] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.509415] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.516313] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.523454] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.530260] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.537524] asoc: MSM8960 Media1 no valid playback route from source to sink
[  393.979917] [TP] Total finger count: 0
[  394.680909] [TP] Total finger count: 0
[  394.915794] [sched_delayed] sched: RT throttling activated
[  395.585716] [TP] Total finger count: 0
[  397.969174] [TP] Total finger count: 0
[  398.005096] [GYRO][PANASONIC] rv_status, -54355, 176511, 982555, 21770
[  398.005096]  
[  398.471387] soc_dpcm_fe_dai_open: 32163 callbacks suppressed
[  398.476270] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.483412] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.490462] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.497543] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.504471] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.511551] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.518510] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.525591] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.532641] asoc: MSM8960 Media1 no valid playback route from source to sink
[  398.539630] asoc: MSM8960 Media1 no valid playback route from source to sink
[  402.980344] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  402.991606] [LED]pm8xxx_led_currents_store: bank 6 currents 0
[  403.001495] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  403.491438] soc_dpcm_fe_dai_open: 39670 callbacks suppressed
[  403.496139] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.503341] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.510300] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.517442] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.524431] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.531420] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.538470] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.545460] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.552540] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.559560] asoc: MSM8960 Media1 no valid playback route from source to sink
[  403.811933] [TP] Total finger count: 0
[  404.979612] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  404.990813] [LED]pm8xxx_led_currents_store: bank 6 currents 10
[  404.998199] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  405.007874] [LED]pm8xxx_led_current_set, bank:6, brightness:255
[  408.273035] [TP] Total finger count: 0
[  408.511399] soc_dpcm_fe_dai_open: 39573 callbacks suppressed
[  408.516068] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.523241] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.530260] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.537341] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.544361] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.551380] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.558339] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.565450] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.572440] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.579429] asoc: MSM8960 Media1 no valid playback route from source to sink
[  408.985075] [GYRO][PANASONIC] o_status, pitch -2080, roll 519, , yaw 18588
[  409.008667] [COMP][AKM8975] ECS_IOCTL_APP_SET_MFLAG,(m, a, t, mv) = (0x0, 0x1, 0x0, 0x0), m_f_times 0
[  409.017427] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  409.989287] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  409.994597] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0xd
[  410.001770] [GYRO][PANASONIC] a_status : gsensor data: 61, 216, -694
[  410.007782] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=1, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  410.971463] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  410.989378] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  410.995666] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  411.002166] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
[  411.008789] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x9
[  411.014710] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=1, la_status=0, gv_status=0, 
[  411.976407] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  411.986693] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
[  412.013184] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is  times.
[  412.364657] [TP] Total finger count: 0
[  412.645078] [TP] Total finger count: 0
[  412.836258] [TP] Total finger count: 0
[  412.971402] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  413.531420] soc_dpcm_fe_dai_open: 39097 callbacks suppressed
[  413.536151] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.543262] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.550312] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.557424] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.564352] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.571432] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.578452] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.585441] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.592522] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.599481] asoc: MSM8960 Media1 no valid playback route from source to sink
[  413.971616] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  414.809033] [CABLE] usb: id interrupt
[  414.818434] [CABLE] cable_detection_vbus_irq_handler
[  414.822432] [CABLE] cable_detection_vbus_irq_handler --
[  414.971402] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  414.979032] [CABLE] check_vbus_in: vbus = 1, vbus_in = 0
[  414.984526] [USBH] msm_otg_set_vbus_state: 0
[  414.994842] [USB] PMIC: BSV clear
[  414.999023] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000001
[  415.004181] [USB] OTG runtime resume
[  415.007752] [CABLE] cable_detect_get_type: id pin high
[  415.017213] [USBH] msm_otg_resume
[  415.971402] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  415.979429] [CABLE] cable_detect_get_type prev_type 2, type 0, stable_count 0
[  415.986509] [USBH] msm_otg_resume:disable the ASYNC_INTR
[  415.999145] [USBH] USB exited from low power mode
[  416.005157] [USB] b_idle work
[  416.007172] [USB] OTG_STATE_B_IDLE state
[  416.016999] [USB] chg_work cancel
[  416.019197] [USBH] !b_sess_vld && id
[  416.972958] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  416.980497] [CABLE] cable_detect_get_type: id pin high
[  416.986906] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 1
[  416.997283] [USB] Avail curr from USB = 0
[  417.000305] [USB] Power Supply doesn't support USB charger
[  417.017488] [USBH] msm_otg_reset
[  417.971493] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  417.979459] [CABLE] cable_detect_get_type: id pin high
[  417.985441] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 2
[  417.997466] [USBH] phy_reset: success
[  418.011567] [LED]pm8xxx_led_current_set, bank:6, brightness:0
[  418.016633] [LED]pm8xxx_led_currents_store: bank 6 currents 0
[  418.551380] soc_dpcm_fe_dai_open: 39610 callbacks suppressed
[  418.556081] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.563192] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.570273] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.577323] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.584342] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.591362] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.598321] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.605432] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.612452] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.619441] asoc: MSM8960 Media1 no valid playback route from source to sink
[  418.972134] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0
[  418.979612] [CABLE] cable_detect_get_type: id pin high
[  418.984770] [USBH] ulpi: write 0x7f to 0x81
[  418.988951] [USBH] ulpi: write 0x3c to 0x82
[  418.993071] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 3
[  419.009095] [USBH] send connect type 0
[  419.012055] [CABLE] usb_status_notifier_func: cable_type = 0
[  419.017579] [USB] OTG runtime suspend
[  419.021181] [USBH] msm_otg_suspend
[  419.946680] [TP] Total finger count: 0

Most notably:
Code:
[  387.191545] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.271478] [CABLE] cable_detect_get_type: id pin low
[  387.278040] [CABLE] chan=137, adc_code=26407, measurement=164863,                    physical=164863
[  387.288112] [CABLE] cable_detect_get_type prev_type 2, type 2, stable_count 3
[  387.295498] [USBH] msm_chg_detect_work: state:CHG_WAIT_FOR_DCD
[  387.300503] [CABLE] [MHL] Enter D3 mode
[  387.305569] [DISP] D2 To D3 mode
[  387.312772] [CABLE] Car kit inserted
....
[  387.568014] [USB] Avail curr from USB = 1500
[  387.571646] [USB] Power Supply doesn't support USB charger
[  387.576865] [USB] OTG runtime suspend
...
[  393.462810] asoc: MSM8960 Media1 no valid playback route from source to sink
....
[  418.979612] [CABLE] cable_detect_get_type: id pin high
[  418.984770] [USBH] ulpi: write 0x7f to 0x81
[  418.988951] [USBH] ulpi: write 0x3c to 0x82
[  418.993071] [CABLE] cable_detect_get_type prev_type 0, type 0, stable_count 3
[  419.009095] [USBH] send connect type 0
[  419.012055] [CABLE] usb_status_notifier_func: cable_type = 0
[  419.017579] [USB] OTG runtime suspend
[  419.021181] [USBH] msm_otg_suspend


Question is: what does the car charger have to do with sound? and why does the cable type change before the phone reboots?

Any pointers?

edit: does anybody know what the MHL states D2 and D3 are? Is there a way to disable mhl and otg, so i could try without them?

Looks like the issue may be with the audio HAL. I'm guessing there are no routes for the audio output, so the HAL locks up trying to play the sound. What does logcat tell you about the route it's trying to use?
I'm pretty sure we don't have the correct audio routes for car docks and the like, mostly because I've never been able to test them. (I wasn't even aware there was some kind of car dock for the One S)
 

eabinsan

Senior Member
Sep 24, 2009
78
26
Looks like the issue may be with the audio HAL. I'm guessing there are no routes for the audio output, so the HAL locks up trying to play the sound. What does logcat tell you about the route it's trying to use?
I'm pretty sure we don't have the correct audio routes for car docks and the like, mostly because I've never been able to test them. (I wasn't even aware there was some kind of car dock for the One S)

You are definitely onto something. Not sure how to check the audio routes though. Logcat repeats the following until it dies around 60k lines later:

I will gladly assist you in testing the dock - seems nobody else is using it, because its 40 € :)

Code:
I/ActivityManager(  659): Process com.andrew.apollo (pid 6201) has died.
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
 

nojoboy

Member
Nov 30, 2013
37
1
Works fine for me. What happened when you tried to enable it?

It just turns off like its going to switch to ART but when its starting back up it just turns on like normal (the android is upgrading process doesn't run) and when I check it, it's still on Dalvik. Tried multiple times but does the same thing.
 

Brushstroke

Senior Member
Aug 26, 2013
396
104
It just turns off like its going to switch to ART but when its starting back up it just turns on like normal (the android is upgrading process doesn't run) and when I check it, it's still on Dalvik. Tried multiple times but does the same thing.

Strange. Is this on a clean flash of 01/25 or did you do an update from a previous build?
 

intervigil

Senior Member
Jun 5, 2009
347
1,309
Bay Area
You are definitely onto something. Not sure how to check the audio routes though. Logcat repeats the following until it dies around 60k lines later:

I will gladly assist you in testing the dock - seems nobody else is using it, because its 40 € :)

Code:
I/ActivityManager(  659): Process com.andrew.apollo (pid 6201) has died.
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0
E/alsa_pcm(  255): cannot open device '/dev/snd/pcmC0D0p', errno 22
E/ALSADevice(  255): open: Failed to initialize ALSA device 'hw:0,0'
E/alsa_pcm(  255): cannot prepare channel: errno =-9
E/AudioStreamOutALSA(  255): pcm_write returned error -9, trying to recover
E/alsa_pcm(  255): pcm_close invalid pcm handle:0xb5d65164
D/ALSADevice(  255): close: handle 0xb86330a8 h 0x0
D/ALSADevice(  255): open: handle 0xb86330a8, format 0x2
D/ALSADevice(  255): Device value returned is hw:0,0

The actual routes it's attempting to use should show up with an alsa_ucm tag. Since you are plugging in a USB dock, you can't use adb over USB, so use ADB over WiFi to get the log. Run adb logcat alsa_ucm:* *:S then connect the dock.
 

eabinsan

Senior Member
Sep 24, 2009
78
26
The actual routes it's attempting to use should show up with an alsa_ucm tag. Since you are plugging in a USB dock, you can't use adb over USB, so use ADB over WiFi to get the log. Run adb logcat alsa_ucm:* *:S then connect the dock.

Thanks, it show only the following lines between plugging in and rebooting:

Code:
D/alsa_ucm(  255): snd_use_case_set(): uc_mgr 0xb8f83188 identifier _disdev value Speaker
D/alsa_ucm(  255): disdev: device Speaker not enabled, no need to disable
D/alsa_ucm(  255): snd_use_case_set(): uc_mgr 0xb8f83188 identifier _enadev value USB PROXY Rx
E/alsa_ucm(  255): No valid device USB PROXY Rx found
 

Insecret

Senior Member
Mar 16, 2009
657
152
Bucharest
Thanks, it show only the following lines between plugging in and rebooting:

Code:
D/alsa_ucm(  255): snd_use_case_set(): uc_mgr 0xb8f83188 identifier _disdev value Speaker
D/alsa_ucm(  255): disdev: device Speaker not enabled, no need to disable
D/alsa_ucm(  255): snd_use_case_set(): uc_mgr 0xb8f83188 identifier _enadev value USB PROXY Rx
E/alsa_ucm(  255): No valid device USB PROXY Rx found

You can try this it is walkman app with latest libs of alsa, maybe it will fix your issue. Don't forget to make a nand.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 112
    logo.png

    CyanogenMod 11 is a free, community built distribution of Android 4.4.3 (KitKat) which greatly extends the capabilities of your phone.

    Index:
    1st Post: Official Nightlies for HBOOT 2.15
    2nd Post: Unofficial Builds for HBOOT 2.16
    3rd Post: Changelog


    Installation Instructions (These are all required)
    • Download or Build from Source
    • Download Gapps
    • Wipe Data
    • Flash ROM in Recovery
    • Flash Gapps in Recovery
    • Incase you don't have S-OFF, fastboot flash boot boot.img

    Not Working:
    • You tell me

    Downloads (HBOOT 2.15):
    Official Nightly Builds HBOOT 2.15 Only.
    Google Apps

    Recovery (HBOOT 2.15):
    Beginning with nightly 20140501, several HTC devices are being transitioned to a new fstab layout. This will not affect your data. This change requires kernel support in recovery for CyanogenMod packages to install. Your current recovery is almost guaranteed to not support this change, yet... welcome to bleeding edge!
    Please read THIS
    TWRP | Mirror


    Credits:
    intervigil, h8rift, xkonni, toastcfh, deck, rohan32, flemmard and all the HTC-MSM8960 Team Members.

    XDA:DevDB Information
    CyanogenMod 11, ROM for the HTC One S

    Contributors
    RockR172, intervigil
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Hboot 2.15.xx, S-OFF, Unlocked Bootloader, Custom Recovery
    Based On: CyanogenMod

    Version Information
    Status: Stable

    Created 2013-11-15
    Last Updated 2014-06-09
    49
    CyanogenMod 11 for HBOOT 2.16

    CyanogenMod 11 is now available for HBOOT 2.16

    NOTICE: Due to lack of free time and also not owning an HTC One S anymore, I can no longer compile builds for HBOOT 2.16.
    Worry not, @cikoleko does Nightly builds for HBOOT 2.16 which can be found HERE
    25
    Changelog:

    Latest, more accurate Changelog for Nightlies/Unofficial Builds can now be found HERE.

    cm-11-20131207-UNOFFICIAL-ville.zip
    • Latest CM Source
    • Android 4.4.1

    cm-11-20131206-UNOFFICIAL-ville.zip

    cm-11-20131202-UNOFFICIAL-ville.zip
    • Latest CM Source
    • Hardware Button Configuration is now back

    cm-11-20131129-UNOFFICIAL-ville.zip
    • Latest CM Source

    cm-11-20131125-UNOFFICIAL-ville.zip
    • Latest CM Source - New boot animation and more stuff!

    cm-11-20131122-UNOFFICIAL-ville.zip
    • Latest CM source - Re-introduces Quick Settings and Notification drawer settings
    • Other misc changes to device and kernel sources
    • AOSP release 4.4_r1.2 KRT16S

    cm-11-20131119-UNOFFICIAL-ville.zip
    • Can now be flashed on regular recoveries like TWRP
    • Cherry picked new Audio patches
    • Latest CM source

    cm-11-20131117-UNOFFICIAL-ville.zip
    • Camera App now actually works
    • Some other fixes

    cm-11-20131116-UNOFFICIAL-ville.zip
    • Audio Fixed
    • Bluetooth Works
    • Video Playback

    cm-11-20131115-UNOFFICIAL-ville.zip
    • First Release
    • Fixed SD Card
    • Fixed WiFi
    19
    Okay, with a heavy heart I have to say that I can no longer do builds for hboot 2.16.
    I have too much college work, assignments, practicals n stuff and can't afford to spend time compiling builds in Linux.. :(
    I did try to do builds past few days, but couldn't..
    My advice is, downgrade your hboot to 2.15 and get daily official builds from CyanogenMod. It is not really that difficult/scary to downgrade. I have done it a couple of times when i wanted to test my hboot 2.16 builds when i was on hboot 2.15.
    Also, if anyone wants to do builds for 2.16 feel free to post it in the thread..
    Sorry guys, I tried my best. :)
    Big ups to intervigil and rest of the CM team, you guys rock! \o/ \m/
    18
    Not sure I said that exactly, but I think that support for our device is definitely a low priority since our maintainer was hired by CM and likely spends most of his time on tasks that bring in revenue. As it stands now, it doesn't seem we will ever get a stable release, so will be stuck here in xda purgatory complaining back and forth about the same things until we can afford to get a pure AOSP device and give up the crack flashing life.

    It's kind of disheartening to see so many people ascribe so many shady ulterior motives to the company (we have no plans for world domination, and it really is discouraging to see so many people knee-jerk react negatively), but ville support hasn't been so great lately, so I figure I owe you an explanation.
    CM Inc is my day job, device support mostly remains a side project for me. The company and open source organization (which are two separate things) has little to do with deciding which devices get support, and to what degree. Device maintainers are largely responsible for the kernels and device trees that actually determine how well most of the device hardware is supported.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone