Nexus 5: Hammerhead: Ubuntu Touch boots only when connected to power source
-
-
@Lakotaubp Thanks for the response, but as mentioned, my phone never goes into bootloop. It just switches off. Also, if I switch on my phone in bootloader\fasboot, it stays and does not restart.
-
@sethisidd Of the two nexus 5 I had one did something like this one didn't. I tended to think it was a battery/low power issue as it never happened on the one with the new battery.
How about fully charging the device and reflashing UT and see what happens. Other than that use search function on the forum and see what thtat produces. -
@Lakotaubp Thanks. I did try that as well. Reflashed device when it was fully charged, but sadly no luck.
Thanks for the suggestions though. -
Hi,
I had some strange behavior too with my Nexus5.
Just this morning I decided to shut it down to restart fresh a bit later.The boot went right then when I should enter my sim pin, the phone just rebooted and got stuck with a black screen just after the one "powered by UBports".
I had to force it off and on again the same behavior happened again and on the third try it worked.
The difference may be that the last time I didn't try to tap my pin as soon as the keyboard appeared.
My battery was fully charged for the first try and was down to 75% when successful.
Few days ago I also noticed that unplugging the power cord from the wall socket without unpluging the cord on the phone side made my phone reboot.
This happened two times but I wasn't able to reproduce since. So I'm not hundred percent sure of the scenario.But my guess is that there is something happening when the battery is full/charging.
-
Most likely a battery issue. The Nexus5 is old now, and didn't have a strong battery to begin with.
I bought a second hand Nexus5 with similar issues (on Android) and after installing a new battery it was gone (and works well with UT also).Replacing the battery is quite easy, so just get a new one
-
@poVoq Hmm could be. but the battery worked good with Android. I was running Android P on it and it gave me a good backup.
-
@AppLee May be I'll try to get the battery down few percent and try to boot again. Let's see if it works then.
-
@sethisidd I can 100% rule out that this is a software issue of software by UBports or even Canonical. Maybe the bootloader decides that there is not enough current to boot furhter, maybe kernel got stuck on this, we dont know. The state of boot cannot be told, as the Logo that you saw is loaded by the bootloader before the kernel is even started.
-
@Flohack Thanks for the insights. The reason does sound logical. But if that is the case, why does bootloader allows the phone to go to recovery and stay there? Shouldn't bootloader stop from phone going into recovery?
I am not questioning your knowledge, just a bit more curious about how it works?
Also, can you guide me on how I can debug\identify if that is the real issue?
-
@sethisidd Well you can try to get to this state, then reboot into recovery and adb pull /proc/last_kmsg to see what the kernel was doing before recovery was booted. Maybe we find out there
-
@Flohack Thanks for the steps.
This is what I see in the logs. Pasting last few lines for reference.[ 2.475670] initrd: boot mode: ubuntu [ 2.500692] EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities [ 2.516347] EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem [ 2.517452] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null) [ 2.517846] initrd: mounting system.img (user mode) [ 2.520015] EXT4-fs (loop0): re-mounted. Opts: (null) [ 2.549653] initrd: mounting device image as ro [ 2.563519] EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities [ 2.576263] EXT4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities [ 2.598036] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null) [ 2.603756] initrd: device is hammerhead [ 2.761060] msm-dwc3 msm_dwc3: DWC3 in low power mode [ 2.860186] initrd: checking fstab /root/var/lib/lxc/android/rootfs/fstab* for additional mount points [ 2.899401] initrd: checking mount label cache [ 2.900179] initrd: mounting /dev/disk/by-partlabel/cache as /root/android//cache [ 2.910957] EXT4-fs (mmcblk0p27): recovery complete [ 2.911664] EXT4-fs (mmcblk0p27): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic [ 2.918866] initrd: checking mount label persist [ 2.919626] initrd: mounting /dev/disk/by-partlabel/persist as /root/android//persist [ 2.927407] EXT4-fs (mmcblk0p16): recovery complete [ 2.928138] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic [ 2.935413] initrd: checking mount label modem [ 2.936191] initrd: mounting /dev/disk/by-partlabel/modem as /root/android//firmware [ 2.954339] initrd: checking mount label boot [ 2.955096] initrd: mounting /dev/disk/by-partlabel/boot as /root/android//boot [ 2.966071] initrd: checking mount label recovery [ 2.966858] initrd: mounting /dev/disk/by-partlabel/recovery as /root/android//recovery [ 2.977831] initrd: checking mount label misc [ 2.978588] initrd: mounting /dev/disk/by-partlabel/misc as /root/android//misc [ 2.989161] initrd: checking mount label modem [ 2.989911] initrd: mounting /dev/disk/by-partlabel/modem as /root/android//radio [ 3.000610] initrd: checking mount label sbl1 [ 3.001344] initrd: mounting /dev/disk/by-partlabel/sbl1 as /root/android//sbl1 [ 3.012051] initrd: checking mount label tz [ 3.012767] initrd: mounting /dev/disk/by-partlabel/tz as /root/android//tz [ 3.023389] initrd: checking mount label rpm [ 3.024107] initrd: mounting /dev/disk/by-partlabel/rpm as /root/android//rpm [ 3.034744] initrd: checking mount label sdi [ 3.035460] initrd: mounting /dev/disk/by-partlabel/sdi as /root/android//sdi [ 3.046321] initrd: checking mount label aboot [ 3.047051] initrd: mounting /dev/disk/by-partlabel/aboot as /root/android//aboot [ 3.057680] initrd: checking mount label imgdata [ 3.058402] initrd: mounting /dev/disk/by-partlabel/imgdata as /root/android//imgdata [ 3.073376] initrd: checking mount label xhci-hcd* [ 3.073861] initrd: mounting /root/var/lib/lxc/android/system.img as /root/android/system [ 3.112970] Adding 32764k swap on /root/userdata/SWAP.img. Priority:-1 extents:1 across:32764k SS [ 3.370487] init: ureadahead-touch main process (618) terminated with status 5 [ 3.436426] bq24192_irq_worker: power source changed! ext_pwr = 1 wlc_pwr = 0 [ 3.448218] bq24192_irq_worker: notify vbus to usb otg ext_pwr = 1 [ 3.449182] max17048_external_power_changed: power supply changed state = 1 health = 1 [ 3.651377] msm-dwc3 msm_dwc3: DWC3 exited from low power mode [ 3.796101] dwc3 f9200000.dwc3: Avail curr from USB = 500 [ 3.796187] dotg->charger->max_power = 0 ma = 500 [ 3.796313] [Touch] CHARGER = 1 [ 3.797439] bq24192_set_input_i_limit: input current limit = 500 setting 0x02 [ 3.798211] bq24192_set_ibat_max: req_ibat = 1500 set_ibat = 1472 reg_val = 0x3c [ 3.799001] bq24192_external_power_changed: usb is online! i_limit = 500 v_limit = 4600 [ 5.088764] init: /init.environ.rc: 13: export requires 2 arguments [ 5.807996] bcm_wifi_set_power: btlock acquired [ 5.856131] ngd_msm_ctrl fe12f000.slim: ADSP slimbus not up yet [ 6.313101] bcm_wifi_set_power: btlock acquired [ 6.498351] mmc0: SDIO interrupt recieved without function driver claiming an irq [ 6.750781] msm_thermal: Hotplug task is not initialized [ 6.930915] init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64' [ 6.992186] init: cannot find '/system/bin/ubuntuappmanager.disabled', disabling 'ubuntuappmanager' [ 7.097396] android_usb: already disabled [ 7.104510] android_work: did not send uevent (0 0 (null)) [ 7.254603] android_work: did not send uevent (0 0 (null)) [ 7.269049] android_work: sent uevent USB_STATE=CONNECTED [ 7.336956] android_work: sent uevent USB_STATE=CONFIGURED [ 7.897397] healthd: wakealarm_init: timerfd_create failed [ 10.069800] systemd-logind[1247]: Failed to start user service, ignoring: Unknown unit: user@0.service [ 11.374591] msm_sensor_config:1751 sensor state 1 [ 11.609128] msm_sensor_config:1779 sensor state 0 [ 11.747511] msm_sensor_config:1751 sensor state 1 [ 11.836065] systemd-logind[1247]: Failed to start user service, ignoring: Unknown unit: user@32011.service [ 11.931655] systemd-logind[1247]: Failed to apply ACLs: Operation not supported [ 12.130517] msm_sensor_config:1779 sensor state 0 [ 12.574404] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585] [ 12.575082] [rmnet1] error: rmnet_ioct called for unsupported cmd[35585] [ 12.575672] [rmnet2] error: rmnet_ioct called for unsupported cmd[35585] [ 12.581762] [rmnet3] error: rmnet_ioct called for unsupported cmd[35585] [ 12.582794] [rmnet4] error: rmnet_ioct called for unsupported cmd[35585] [ 12.583864] [rmnet5] error: rmnet_ioct called for unsupported cmd[35585] [ 12.585385] [rmnet6] error: rmnet_ioct called for unsupported cmd[35585] [ 12.586515] [rmnet7] error: rmnet_ioct called for unsupported cmd[35585] [ 12.587790] [rev_rmnet0] error: rmnet_ioct called for unsupported cmd[35585] [ 12.588704] [rev_rmnet1] error: rmnet_ioct called for unsupported cmd[35585] [ 12.589589] [rev_rmnet2] error: rmnet_ioct called for unsupported cmd[35585] [ 12.590875] [rev_rmnet3] error: rmnet_ioct called for unsupported cmd[35585] [ 12.591436] [rev_rmnet4] error: rmnet_ioct called for unsupported cmd[35585] [ 12.591889] [rev_rmnet5] error: rmnet_ioct called for unsupported cmd[35585] [ 12.592359] [rev_rmnet6] error: rmnet_ioct called for unsupported cmd[35585] [ 12.592668] [rev_rmnet7] error: rmnet_ioct called for unsupported cmd[35585] [ 12.593154] [rev_rmnet8] error: rmnet_ioct called for unsupported cmd[35585] [ 13.575334] Notify: smsm init [ 13.619751] msm_ipc_router_send_control_msg: xprt_info not initialized [ 13.620757] msm_ipc_router_send_control_msg: xprt_info not initialized [ 13.684614] msm_ipc_router_send_control_msg: xprt_info not initialized [ 13.837970] bcm_wifi_set_power: btlock acquired 4 Corrected bytes, 0 unrecoverable blocks
-
@Flohack Also pulled /cache/recovery/last_kmsg.
Below are its last few lines<6>[ 0.758432] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled). <6>[ 0.758481] CSLIP: code copyright 1989 Regents of the University of California. <6>[ 0.758619] usbcore: registered new interface driver catc <6>[ 0.758714] usbcore: registered new interface driver kaweth <6>[ 0.758760] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver <6>[ 0.758855] usbcore: registered new interface driver pegasus <6>[ 0.758921] usbcore: registered new interface driver rtl8150 <6>[ 0.758995] hso: ../../../../../../kernel/lge/hammerhead/drivers/net/usb/hso.c: Option Wireless <6>[ 0.759071] usbcore: registered new interface driver hso <6>[ 0.759165] usbcore: registered new interface driver cdc_ether <6>[ 0.759271] usbcore: registered new interface driver ipheth <6>[ 0.759364] usbcore: registered new interface driver sierra_net <4>[ 0.760822] vdd-1p0: Failed to create debugfs directory <6>[ 0.780789] anx7808 sp_tx_hardware_poweron: anx7808 power on <6>[ 0.781795] anx7808 sp_tx_chip_located: ANX7808 BA is found. <5>[ 0.783348] anx7808 sp_tx_vbus_powerdown: 3.3V output disabled <6>[ 0.809670] msm-dwc3 msm_dwc3: Read platform data for adc low threshold <6>[ 0.809748] msm-dwc3 msm_dwc3: Read platform data for adc high threshold <6>[ 0.810130] dwc3 f9200000.dwc3: maximum speed: high <6>[ 0.840793] anx7808 sp_tx_hardware_powerdown: anx7808 power down <5>[ 0.840879] anx7808 sp_tx_set_sys_state: SP_TX To System State: <5>[ 0.840924] anx7808 sp_tx_set_sys_state: STATE_CABLE_PLUG <6>[ 0.841277] anx7808 anx7808_get_usb_clk: clk: 1000 <6>[ 0.900852] bcm2079x 0-0077: requesting IRQ 360 <6>[ 0.900934] bcm2079x 0-0077: bcm2079x_probe, probing bcm2079x driver exited successfully <6>[ 1.014446] usbcore: registered new interface driver cdc_acm <6>[ 1.014524] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters <6>[ 1.014598] usbcore: registered new interface driver usblp <6>[ 1.014694] usbcore: registered new interface driver cdc_wdm <6>[ 1.014739] Initializing USB Mass Storage driver... <6>[ 1.014838] usbcore: registered new interface driver usb-storage <6>[ 1.014883] USB Mass Storage support registered. <6>[ 1.015234] mbim_init: initialize 1 instances <6>[ 1.015344] mbim_init: Initialized 1 ports <6>[ 1.016270] rndis_qc_init: initialize rndis QC instance <6>[ 1.016541] gadget: Mass Storage Function, version: 2009/09/11 <6>[ 1.016589] gadget: Number of LUNs=1 <6>[ 1.016663] lun0: LUN: removable file: (no medium) <6>[ 1.016858] gadget: android_usb ready <6>[ 1.017315] usbcore: registered new interface driver xpad <6>[ 1.017578] [Touch] touch on <6>[ 1.018239] input: touch_dev as /devices/virtual/input/input1 <6>[ 1.022833] [Touch] TYPE = 1 product id[PLG218] : syna product id[] <6>[ 1.022880] [Touch] IC identifier[PLG218 - 1] fw_version[E079] <6>[ 1.022955] [Touch] image_version[E079] : force[0] <6>[ 1.023828] [Touch] FW-upgrade is not executed <6>[ 1.024511] using rtc device, qpnp_rtc, for alarms <6>[ 1.024567] qcom,qpnp-rtc qpnp-rtc-ee186200: rtc core: registered qpnp_rtc as rtc0 <6>[ 1.024778] i2c /dev entries driver <6>[ 1.025812] ocmem: Notifier registered for 1 <7>[ 1.025899] msm_vidc: 1: Failed to read qcom,load-freq-tbl from device tree <7>[ 1.025904] msm_vidc: 1: no elements in frequency table <7>[ 1.025909] msm_vidc: 1: Failed to read qcom,reg-presets from device tree <7>[ 1.025914] msm_vidc: 1: Failed to read qcom,buffer-type-tz-usage-table from device tree <3>[ 1.027306] msm_cci_probe: pdev ee0f9e00 device id = -1 <6>[ 1.030928] imx179_init_module:158 <3>[ 1.326456] __msm_jpeg_init:933] Jpeg Device id 0 <3>[ 1.326698] __msm_jpeg_init:933] Jpeg Device id 1 <3>[ 1.326922] __msm_jpeg_init:933] Jpeg Device id 2 <6>[ 1.331799] usbcore: registered new interface driver uvcvideo <6>[ 1.331917] USB Video Class driver (1.1.1) <3>[ 1.332025] qpnp_charger_read_dt_props: tm not ready -517 <6>[ 1.332106] spmi qpnp-charger-ee185c00: Driver qcom,qpnp-charger requests probe deferral <6>[ 1.332199] max17048_probe: start <3>[ 1.332274] ac supply not found deferring probe <6>[ 1.332321] i2c 84-0036: Driver max17048 requests probe deferral <6>[ 1.332577] bq51013b_probe: start <6>[ 1.332707] bq51013b_parse_dt: current_ma = 704 <4>[ 1.339868] bq24192_get_soc_from_batt_psy: battery power supply is not registered yet <3>[ 1.340804] bq24192_get_prop_input_voltage: Unable to read vbus rc=-517 <4>[ 1.341332] bq24192_get_soc_from_batt_psy: battery power supply is not registered yet <3>[ 1.342664] bq24192_get_prop_input_voltage: Unable to read vbus rc=-517 <6>[ 1.343141] bq24192_probe: probe success <6>[ 1.393988] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com <6>[ 1.394407] cpuidle: using governor ladder <6>[ 1.394705] cpuidle: using governor menu <6>[ 1.394794] sdhci: Secure Digital Host Controller Interface driver <6>[ 1.394838] sdhci: Copyright(c) Pierre Ossman <6>[ 1.395186] mmc0: SDCC Version: 0x00000038 <6>[ 1.397448] mmc0: bam physical base=0xf9884000 <6>[ 1.397494] mmc0: bam virtual base=0xf0378000 <6>[ 1.397570] sps:BAM 0xf9884000 is registered. <6>[ 1.397612] mmc0: BAM device registered. bam_handle=0xed59f800 <6>[ 1.398275] sps:BAM 0xf9884000 (va:0xf0378000) enabled: ver:0x6, number of pipes:6 <6>[ 1.398976] mmc0: Qualcomm MSM SDCC-BAM at [mem 0xf9884000-0xf988afff flags 0x200] [irq 252 flags 0x400] <6>[ 1.399073] mmc0: Qualcomm MSM SDCC-DML [mem 0xf98a4800-0xf98a48ff flags 0x200] <6>[ 1.399175] mmc0: id 2, nonremovable 0 <6>[ 1.399218] wcf_status: wifi_detect = 0 <6>[ 1.399291] wcf_status_register <6>[ 1.402059] mmc0: Qualcomm MSM SDCC-core [mem 0xf98a4000-0xf98a47ff flags 0x200] [irq 157 flags 0x400],0 dma -1 dmacrcri -1 <6>[ 1.402144] mmc0: Controller capabilities: 0x00003ffe <6>[ 1.402199] mmc0: 8 bit data mode disabled <6>[ 1.402309] mmc0: 4 bit data mode enabled <6>[ 1.402354] mmc0: polling status mode disabled <6>[ 1.402398] mmc0: MMC clock 400000 -> 200000000 Hz, PCLK 0 Hz <6>[ 1.402473] mmc0: Slot eject status = 1 <6>[ 1.402516] mmc0: Power save feature enable = 1 <6>[ 1.402590] mmc0: SPS-BAM data transfer mode available <6>[ 1.402955] sdhci-pltfm: SDHCI platform and OF driver helper <6>[ 1.407114] mmc1: no vmmc regulator found <7>[ 1.408205] Registered led device: mmc1:: <6>[ 1.409292] mmc1: SDHCI controller on msm_sdcc.1 [msm_sdcc.1] using ADMA <7>[ 1.409979] Registered led device: red <7>[ 1.410382] Registered led device: green <7>[ 1.410808] Registered led device: blue <3>[ 1.410869] qcom,leds-qpnp leds-qpnp-ee187400: Regulator get failed(-517) <3>[ 1.410948] qcom,leds-qpnp leds-qpnp-ee187400: Unable to read flash config data <6>[ 1.411031] spmi leds-qpnp-ee187400: Driver qcom,leds-qpnp requests probe deferral <4>[ 1.411516] QCE50: __qce_get_device_tree_data: bam_pipe_pair=0x1 <4>[ 1.411604] QCE50: __qce_get_device_tree_data: ce_phy_reg_base=0xfd440000 <4>[ 1.411718] QCE50: __qce_get_device_tree_data: ce_virt_reg_base=0xf0900000 <4>[ 1.411816] QCE50: __qce_get_device_tree_data: ce_bam_phy_reg_base=0xfd444000 <4>[ 1.411893] QCE50: __qce_get_device_tree_data: ce_bam_virt_reg_base=0xf05e0000 <4>[ 1.411974] QCE50: __qce_get_device_tree_data: CRYPTO BAM IRQ = 268. <6>[ 1.412254] qce qcedev.0: Qualcomm Crypto 5.1.0 device found @0xfd440000 <6>[ 1.412335] qce qcedev.0: IO base, CE = 0xf0900000 <6>[ 1.412337] , Consumer (IN) PIPE 2, Producer (OUT) PIPE 3 <6>[ 1.412338] IO base BAM = 0xf05e0000 <6>[ 1.412339] BAM IRQ 268 <6>[ 1.412532] sps:BAM 0xfd444000 is registered. <6>[ 1.412720] sps:BAM 0xfd444000 (va:0xf05e0000) enabled: ver:0x20, number of pipes:8 <6>[ 1.413020] QCE50: qce_sps_init: Qualcomm MSM CE-BAM at 0x00000000fd444000 irq 268 <4>[ 1.413581] QCE50: __qce_get_device_tree_data: bam_pipe_pair=0x2 <4>[ 1.413638] QCE50: __qce_get_device_tree_data: ce_phy_reg_base=0xfd440000 <4>[ 1.413751] QCE50: __qce_get_device_tree_data: ce_virt_reg_base=0xf0940000 <4>[ 1.413916] QCE50: __qce_get_device_tree_data: ce_bam_phy_reg_base=0xfd444000 <4>[ 1.413964] QCE50: __qce_get_device_tree_data: ce_bam_virt_reg_base=0xf05f0000 <4>[ 1.414114] QCE50: __qce_get_device_tree_data: CRYPTO BAM IRQ = 268. <6>[ 1.414371] qcrypto qcrypto.0: Qualcomm Crypto 5.1.0 device found @0xfd440000 <6>[ 1.414451] qcrypto qcrypto.0: IO base, CE = 0xf0940000 <6>[ 1.414453] , Consumer (IN) PIPE 4, Producer (OUT) PIPE 5 <6>[ 1.414455] IO base BAM = 0xf05f0000 <6>[ 1.414456] BAM IRQ 268 <6>[ 1.415086] QCE50: qce_sps_init: Qualcomm MSM CE-BAM at 0x00000000fd444000 irq 268 <6>[ 1.415253] qcrypto qcrypto.0: qcrypto-ecb-aes <6>[ 1.415380] qcrypto qcrypto.0: qcrypto-cbc-aes <6>[ 1.415473] qcrypto qcrypto.0: qcrypto-ctr-aes <6>[ 1.415567] qcrypto qcrypto.0: qcrypto-ecb-des <6>[ 1.415690] qcrypto qcrypto.0: qcrypto-cbc-des <6>[ 1.415784] qcrypto qcrypto.0: qcrypto-ecb-3des <6>[ 1.415907] qcrypto qcrypto.0: qcrypto-cbc-3des <6>[ 1.415999] qcrypto qcrypto.0: qcrypto-xts-aes <6>[ 1.416090] qcrypto qcrypto.0: qcrypto-sha1 <6>[ 1.416212] qcrypto qcrypto.0: qcrypto-sha256 <6>[ 1.416304] qcrypto qcrypto.0: qcrypto-hmac-sha1 <6>[ 1.416395] qcrypto qcrypto.0: qcrypto-hmac-sha256 <6>[ 1.416487] qcrypto qcrypto.0: qcrypto-aes-ccm <6>[ 1.417857] usbcore: registered new interface driver usbhid <6>[ 1.417934] usbhid: USB HID core driver <6>[ 1.418199] ashmem: initialized <6>[ 1.418644] sps:BAM 0xf9304000 is registered. <6>[ 1.418729] sps:BAM 0xf9a44000 is registered. <3>[ 1.418811] usb_bam_ipa_create_resources: Failed to create USB_PROD resource <6>[ 1.419191] qpnp_coincell_charger_show_state: enabled=Y, voltage=3000 mV, resistance=2100 ohm <6>[ 1.419373] PMIC@SID4: PM8841 v2.1 options: 0, 0, 2, 2 <6>[ 1.419488] PMIC@SID0: PM8941 v3.1 options: 0, 0, 0, 0 <6>[ 1.419722] usbcore: registered new interface driver snd-usb-audio <6>[ 1.426718] msm-compr-dsp msm-compr-dsp: msm_compr_probe: dev name msm-compr-dsp <6>[ 1.427236] msm-pcm-lpa msm-pcm-lpa: msm_pcm_probe: dev name msm-pcm-lpa <6>[ 1.427858] platform qcom,msm-voip-dsp.39: Driver msm-voip-dsp requests probe deferral <6>[ 1.428238] platform qcom,msm-pcm-voice.40: Driver msm-pcm-voice requests probe deferral <6>[ 1.430350] ocmem: Notifier registered for 5 <6>[ 1.431407] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present <6>[ 1.431612] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral <6>[ 1.432304] u32 classifier <6>[ 1.432347] Actions configured <6>[ 1.432393] Netfilter messages via NETLINK v0.30. <6>[ 1.432442] nfnl_acct: registering with nfnetlink. <6>[ 1.432591] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) <6>[ 1.432845] ctnetlink v0.93: registering with nfnetlink. <6>[ 1.432948] NF_TPROXY: Transparent proxy support initialized, version 4.1.0 <6>[ 1.432995] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd. <6>[ 1.433138] xt_time: kernel timezone is -0000 <6>[ 1.433415] ip_tables: (C) 2000-2006 Netfilter Core Team <6>[ 1.433567] arp_tables: (C) 2002 David S. Miller <6>[ 1.433627] TCP: cubic registered <6>[ 1.433702] Initializing XFRM netlink socket <6>[ 1.433901] NET: Registered protocol family 10 <6>[ 1.435002] Mobile IPv6 <6>[ 1.435092] ip6_tables: (C) 2000-2006 Netfilter Core Team <6>[ 1.435211] IPv6 over IPv4 tunneling driver <6>[ 1.435498] NET: Registered protocol family 17 <6>[ 1.435586] NET: Registered protocol family 15 <5>[ 1.435654] Bridge firewalling registered <6>[ 1.435732] Ebtables v2.0 registered <6>[ 1.435825] L2TP core driver, V2.0 <6>[ 1.435876] PPPoL2TP kernel driver, V2.0 <5>[ 1.435919] Registering the dns_resolver key type <6>[ 1.436126] Bluetooth: RFCOMM socket layer initialized <6>[ 1.436196] Bluetooth: RFCOMM ver 1.11 <6>[ 1.436275] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 <6>[ 1.436320] Bluetooth: BNEP filters: protocol multicast <6>[ 1.436401] Bluetooth: BNEP socket layer initialized <6>[ 1.436446] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 <6>[ 1.436527] Bluetooth: HIDP socket layer initialized <6>[ 1.436571] Bluetooth: Virtual HCI driver ver 1.5 <6>[ 1.436710] Bluetooth: HCI UART driver ver 2.3 <6>[ 1.436786] Bluetooth: HCI UART protocol H4 registered <5>[ 1.440303] Registering SWP/SWPB emulation handler <6>[ 1.440396] clock_late_init: Removing enables held for handed-off clocks <6>[ 1.452475] AppArmor: AppArmor sha1 policy hashing enabled <6>[ 1.452607] gdsc_oxili_gx: disabling <6>[ 1.452659] gdsc_venus: disabling <6>[ 1.453106] boost_gpio_probe <6>[ 1.453612] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral <7>[ 1.454095] gpio_set_debounce: gpio-986 status -22 <7>[ 1.454254] gpio_set_debounce: gpio-985 status -22 <7>[ 1.454316] gpio_set_debounce: gpio-144 status -22 <6>[ 1.454641] input: gpio-keys as /devices/gpio_keys.71/input/input2 <6>[ 1.455067] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present <6>[ 1.455355] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral <3>[ 1.455944] qcom,leds-qpnp leds-qpnp-ee187400: Regulator get failed(-517) <3>[ 1.456024] qcom,leds-qpnp leds-qpnp-ee187400: Unable to read flash config data <6>[ 1.456076] spmi leds-qpnp-ee187400: Driver qcom,leds-qpnp requests probe deferral <6>[ 1.456183] max17048_probe: start <6>[ 1.456248] max17048_parse_dt: rcomp = 77 rcomp_co_hot = 700 rcomp_co_cold = 5225 <6>[ 1.456326] max17048_parse_dt: alert_thres = 2 full_soc = 970 empty_soc = 10 uvlo=3050 <6>[ 1.456799] qcom,qpnp-rtc qpnp-rtc-ee186200: setting system clock to 1973-04-23 21:22:12 UTC (104448132) <6>[ 1.456968] max17048 84-0036: MAX17048 Fuel-Gauge Ver 0x12 <4>[ 1.457087] bq24192_get_soc_from_batt_psy: battery power supply is not registered yet <3>[ 1.457104] batt_tm_psy_init: battery supply not found <3>[ 1.457108] batt_tm_ctrl_probe: failed to init psy <6>[ 1.461171] platform battery_tm_ctrl.79: Driver batt_tm_ctrl requests probe deferral <6>[ 1.462170] msm8974_pwm_vibrator_probe: probed <6>[ 1.473436] max1462x_hsd_probe: acc_read_value - 5972 <6>[ 1.473554] input: hs_detect as /devices/virtual/input/input3 <6>[ 1.473848] ALSA device list: <6>[ 1.473901] No soundcards found. <6>[ 1.474211] Freeing init memory: 192K <6>[ 1.494743] max17048_probe: done <6>[ 1.495034] 8941_smbb_boost: 5000 mV <6>[ 1.495248] qpnp_charger_probe: success chg_dis = 0, bpd = 1, usb = 0, dc = 0 b_health = 0 batt_present = 0 <6>[ 1.495809] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present <6>[ 1.496116] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral <6>[ 1.496351] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral <7>[ 1.496854] Registered led device: led:flash_0 <3>[ 1.497189] init: could not import file '/init.recovery.hammerhead.rc' from '/init.rc' <7>[ 1.497232] Registered led device: led:flash_1 <7>[ 1.497376] Registered led device: led:flash_torch <6>[ 1.498033] batt_tm_ctrl_probe: probe success <6>[ 1.498269] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral <6>[ 1.498612] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present <6>[ 1.498837] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral <3>[ 1.500545] healthd: wakealarm_init: timerfd_create failed <6>[ 1.518084] max17048_work: rsoc=0x914D rvcell=0x0D13 soc=74 v_mv=4183 i_ua=-14644 t=333 <6>[ 1.532348] mmc1: BKOPS_EN bit = 0 <6>[ 1.546230] mmc1: new HS200 MMC card at address 0001 <6>[ 1.546837] mmcblk0: mmc1:0001 SEM32G 29.1 GiB <6>[ 1.547277] mmcblk0rpmb: mmc1:0001 SEM32G partition 3 4.00 MiB <6>[ 1.549371] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 <6>[ 1.552530] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present <6>[ 1.552919] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral <6>[ 1.553158] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral <3>[ 1.743485] android_usb: already disabled <3>[ 1.743887] init: Unable to open persistent property directory /data/property errno: 2 <6>[ 1.828898] EXT4-fs (mmcblk0p28): mounted filesystem with ordered data mode. Opts: <6>[ 1.843629] adb_open <6>[ 1.843706] adb_bind_config <6>[ 2.671225] msm-dwc3 msm_dwc3: DWC3 in low power mode <6>[ 2.770150] EXT4-fs (mmcblk0p27): mounted filesystem with ordered data mode. Opts: <6>[ 2.835016] mdss_dsi_cont_splash_on:687 DSI on for continuous splash. <4>[ 2.844171] mdss_dsi_on:487 Panel already on. <6>[ 3.021807] EXT4-fs (mmcblk0p25): mounted filesystem with ordered data mode. Opts: (null) <6>[ 3.029647] EXT4-fs (mmcblk0p28): mounted filesystem with ordered data mode. Opts: (null)
-
So which one was crashing?
-
@poVoq said in Nexus 5: Hammerhead: Ubuntu Touch boots only when connected to power source:
Most likely a battery issue. The Nexus5 is old now, and didn't have a strong battery to begin with.
I bought a second hand Nexus5 with similar issues (on Android) and after installing a new battery it was gone (and works well with UT also).Replacing the battery is quite easy, so just get a new one
Replacing the battery worked.
-
@Flohack I ended up replacing the battery and it seems to be working fine.
The surprising thing is, I had replaced my old battery 4 years back. Now that is not working, but the original one that I had kept as spare, is working fine. -
So @sethisidd or @poVoq or anyone, how did you replace the battery? Would a guide like this work?
And how about the battery, something like this?
How many hours of battery do you get? How many did you have before?
-
@mirroronthewall I used this one
Polarcell Li-Polymer Akku LG Google Nexus 5 (item No 01000596) from Wannsee Electronic in Germany and cost Β£18.86 from ebay.