Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nexus 5: Not Booting #30

Open
ukawer opened this issue Jul 23, 2018 · 20 comments
Open

Nexus 5: Not Booting #30

ukawer opened this issue Jul 23, 2018 · 20 comments

Comments

@ukawer
Copy link

ukawer commented Jul 23, 2018

Hi, i try to flash plasma-mobile with pm-flash, the problem is stuck as google logo, without boot on plasma

Flash with android 6.0.0, 6.0.1 and LineageOS latest (android 7)

`
./pm-flash -p neon  ✔  258  19:00:31

  • CACHEDIR=cache

  • echo 'Waiting for device to be in the fastboot mode'
    Waiting for device to be in the fastboot mode

  • fastboot getvar product
    product: hammerhead
    finished. total time: 0.000s
    ++ fastboot getvar product
    ++ head -1
    ++ awk '-F: ' '{print $2}'

  • DEVICE_NAME=hammerhead

  • confirm 'Connected device is hammerhead, is that correct? [y/N]'

  • read -r -p 'Connected device is hammerhead, is that correct? [y/N] ' response
    Connected device is hammerhead, is that correct? [y/N] y

  • case $response in

  • true

  • PLATFORM=neon

  • echo 'Continuing ...'
    Continuing ...

  • getopts cp: opt

  • case $opt in

  • PLATFORM=neon

  • getopts cp: opt

  • '[' -z '' ']'

  • download hammerhead neon

  • '[' 2 -eq 0 ']'

  • mkdir -p cache/

  • pushd cache/
    ~/Local/pm-flashtool/cache ~/Local/pm-flashtool

  • echo 'Downloading latest rootfs ... '
    Downloading latest rootfs ...

  • '[' neon == neon ']'
    ++ curl https://images.plasma-mobile.org/rootfs_stamp

  • ROOTFS_VERSION=20180717-064515

  • wget -c https://images.plasma-mobile.org/rootfs/pm-rootfs-20180717-064515.tar.gz -P rootfs
    --2018-07-23 19:00:40-- https://images.plasma-mobile.org/rootfs/pm-rootfs-20180717-064515.tar.gz
    Résolution de images.plasma-mobile.org (images.plasma-mobile.org)… 207.154.251.179
    Connexion à images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443… connecté.
    requête HTTP transmise, en attente de la réponse… 416 Requested Range Not Satisfiable

    Le fichier a déjà été complètement récupéré ; rien à faire.

  • ln -sf rootfs/pm-rootfs-20180717-064515.tar.gz pm-rootfs-latest.tar.gz

  • '[' neon == arch ']'

  • '[' neon == edge ']'

  • echo '[done]'
    [done]

  • echo 'Downloading the latest boot, recovery, and system images ... '
    Downloading the latest boot, recovery, and system images ...
    ++ curl https://images.plasma-mobile.org/halium/hammerhead/halium_stamp

  • HALIUM_VERSION=20170623-085147

  • wget -c https://images.plasma-mobile.org/halium/hammerhead/recovery.img -P hammerhead
    --2018-07-23 19:00:40-- https://images.plasma-mobile.org/halium/hammerhead/recovery.img
    Résolution de images.plasma-mobile.org (images.plasma-mobile.org)… 207.154.251.179
    Connexion à images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443… connecté.
    requête HTTP transmise, en attente de la réponse… 416 Requested Range Not Satisfiable

    Le fichier a déjà été complètement récupéré ; rien à faire.

  • wget -c https://images.plasma-mobile.org/halium/hammerhead/20170623-085147/system.img -P hammerhead/20170623-085147
    --2018-07-23 19:00:40-- https://images.plasma-mobile.org/halium/hammerhead/20170623-085147/system.img
    Résolution de images.plasma-mobile.org (images.plasma-mobile.org)… 207.154.251.179
    Connexion à images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443… connecté.
    requête HTTP transmise, en attente de la réponse… 416 Requested Range Not Satisfiable

    Le fichier a déjà été complètement récupéré ; rien à faire.

  • wget -c https://images.plasma-mobile.org/halium/hammerhead/20170623-085147/boot.img -P hammerhead/20170623-085147
    --2018-07-23 19:00:41-- https://images.plasma-mobile.org/halium/hammerhead/20170623-085147/boot.img
    Résolution de images.plasma-mobile.org (images.plasma-mobile.org)… 207.154.251.179
    Connexion à images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443… connecté.
    requête HTTP transmise, en attente de la réponse… 416 Requested Range Not Satisfiable

    Le fichier a déjà été complètement récupéré ; rien à faire.

  • rm -f hammerhead/latest

  • ln -sf 20170623-085147 hammerhead/latest

  • echo '[done]'
    [done]

  • popd
    ~/Local/pm-flashtool

  • flash-phone hammerhead

  • '[' 1 -eq 0 ']'

  • echo -n 'Flashing recovery image ... '
    Flashing recovery image ... + fastboot flash recovery cache/hammerhead/recovery.img

  • echo -n '[done]'
    [done]+ fastboot boot cache/hammerhead/recovery.img
    downloading 'boot.img'...
    OKAY [ 0.691s]
    booting...
    OKAY [ 0.117s]
    finished. total time: 0.808s

  • wait_for_device
    ++ adb shell echo 1

  • test -z ''

  • echo -n .
    .+ sleep 3
    ++ adb shell echo 1

  • test -z ''

  • echo -n .
    .+ sleep 3
    ++ adb shell echo 1

  • test -z ''

  • echo -n .
    .+ sleep 3
    ++ adb shell echo 1

  • test -z $'1\r'

  • echo

++ readlink -f cache/pm-rootfs-latest.tar.gz

  • ./rootstock-touch-install /home/phenix/Local/pm-flashtool/cache/rootfs/pm-rootfs-20180717-064515.tar.gz cache/hammerhead/latest/system.img cache/hammerhead/latest/boot.img
    mount: mounting /dev/block/mmcblk0p27 on /cache failed: Device or resource busy
    mount: mounting /dev/block/mmcblk0p28 on /data failed: Device or resource busy
    transfering rootfs tarball ... [done]
    preparing system-image on device ... [done]
    unpacking rootfs tarball to system-image ... [done]
    adding android system image to installation ... [done]
    Setting up default password for phablet user to 1234 ... [done]
    cleaning up on device ... [done]
    Increasing the rootfs size to 4G ... e2fsck 1.42.9 (28-Dec-2013)
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information

/data/rootfs.img: ***** FILE SYSTEM WAS MODIFIED *****
/data/rootfs.img: 66916/128000 files (4.1% non-contiguous), 417052/512000 blocks
resize2fs 1.42.9 (28-Dec-2013)
Resizing the filesystem on /data/rootfs.img to 1024000 (4k) blocks.
The filesystem on /data/rootfs.img is now 1024000 blocks long.

[done]
[100%] /data/time/timekeep
[done]
rebooting into bootloader mode and flashing boot.img ... [done]
`

thanks.

@bvbfan
Copy link

bvbfan commented Aug 7, 2018

mount: mounting /dev/block/mmcblk0p27 on /cache failed: Device or resource busy
mount: mounting /dev/block/mmcblk0p28 on /data failed: Device or resource busy

Same here it's not boot. Any advice?

@bhush9
Copy link
Contributor

bhush9 commented Aug 8, 2018

For now, plasma mobile image is broken on Nexus 5 (or any halium 5 device for that matter), I'll get around fixing it in upcoming days, sorry

@rainonmacfil
Copy link

I await it

@freerunner
Copy link

Would like to give it a try as well.

@webwurli
Copy link

webwurli commented Sep 13, 2018

Hi there.

Found following --> workaround <-- (not a solution!):

REMEMBER: This is a bloody amateur workaround...sorry for this one ;-)


WORKAROUND FOR MOUNTING-PROBLEM:

PHASE A - in a shell:
1.) Do NOT start './pm-flash' as superuser!
2.) Force 'sudo' to prompt for your user's sudo-password by typing in 'sudo -k' in a shell before starting './pm-flash'
3.) start './pm-flash'
-----> DO NOT TYPE IN YOUR SUDO-PASSWORD! -> WAIT / CONTINUE WITH PHASE B

PHASE B - on your nexus 5 / hammerhead:
i) in TWRP, proceed to main menu
ii) select "Mount"
iii) uncheck everything
iv) return to main menu

PHASE C - back in the shell:
4.) There should be the prompt for your sudo password
5.) type in your sudo password

--> at least the mounting errors should have disappeared.

But I believe that this is not even the problem.


WORKAROUND FOR BROKEN ROOTFS-IMAGE PROBLEM:

In the 'pm-flash' script, you'll find lines like:

echo "Downloading latest rootfs ... "
if [ "$2" == "neon" ]; then
    ROOTFS_VERSION=`curl https://images.plasma-mobile.org/rootfs_stamp 2> /dev/null`
    wget -c "https://images.plasma-mobile.org/rootfs/pm-rootfs-$ROOTFS_VERSION.tar.gz" -P rootfs
    ln -sf rootfs/pm-rootfs-$ROOTFS_VERSION.tar.gz pm-rootfs-latest.tar.gz

On my nexus 5 I found working ROOTFS_VERSION=20180524-110808
...so you might comment the ROOTFS_VERSION line and replace by
ROOTFS_VERSION=20180524-110808


Hope it works for you!

Best regards,
Stephan


p.s.: Do not forget to format cache and userdata first and remove pm-flashes cached files:
a) fastboot format cache
b) fastboot format userdata
c) rm ./cache/pm-rootfs-latest.tar.gz
now you're in above mentioned PHASE A...
sudo -k
./pm-flash

edit:
...without any guarantee that ROOTFS_VERSION=20180524-110808 will satisfy you.
...but at least you'll have a first success-feeling by getting a system to boot.

@freerunner
Copy link

Seems to work, thank you!

@bvbfan
Copy link

bvbfan commented Nov 16, 2018

What happen to new image, that's from may is pretty old.

@tato11
Copy link

tato11 commented Dec 10, 2018

Hi,

I have just bough a Nexus 5 and I'm trying to install plasma mobile for about 5 hours so far but nothing seems to work... I have tried using default script and also with "ROOTFS_VERSION=20180524-110808" workaround (always unmounting /data and /cache from TWRP before root password) from "5.1.1 (LMY48M)", "4.4.4 (KTU84P)", "6.0.1 (M4B30Z, Dec 2016)" (this one as OTA install too) as factory flash as explained here https://developers.google.com/android/images#hammerhead and even trying from a custom Android Oreo rom and also from Ubports Ubuntu Touch just to always end up in an infinite booting loop with "Google" and a lock image on the screen.

I'm really surprised this haven't been fixed after 5 months being such a critical flaw, I mean, I don't intend to offend nor want to give you guys any pressure but there will be no new users willing to test, use, or anything within plasma mobile if they can't even install it in the first place.

Does this mean hammerhead will be discontinued as supported device? or just a hard to fix bug, maybe?

Any other workaround will be really appreciated.

PS: I'm really interested on using plasma mobile for a really long time and now it seems I can't due this bug :'(

@tato11
Copy link

tato11 commented Dec 10, 2018

Here are my kernel logs after a test. Looking a it, it seems it wasn't unable to mount root with any file system type, maybe a format issue?

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.0-cyanogenmod-g8bc4e3a (bshah@75559331b64e) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Oct 11 06:46:44 UTC 2018
[    0.000000] CPU: ARMv7 Processor [512f06f0] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Qualcomm MSM 8974 HAMMERHEAD (Flattened Device Tree), model: LGE MSM 8974 HAMMERHEAD
[    0.000000] qcom,ion-heap@28 reserved EBI1 size 614000
[    0.000000] qcom,mdss_fb_primary reserved EBI1 size 1000000
[    0.000000] qcom,msm-contig-mem reserved EBI1 size 280000
[    0.000000] Node qcom,msm-mem-hole removed memory 7b00000-ff00000
[    0.000000] memory pool 3 (start 0x7e700000 size 1900000) initialized
[    0.000000] PERSIST RAM CONSOLE START ADDR : 0x10000000
[    0.000000] Initialized persistent memory from 10000000-100fffff
[    0.000000] cma: CMA: reserved 16 MiB at 36c00000
[    0.000000] cma: Found secure_region, memory base 0, size 252 MiB
[    0.000000] cma: CMA: reserved 252 MiB at 6e800000
[    0.000000] cma: Found adsp_region, memory base 0, size 32 MiB
[    0.000000] cma: CMA: reserved 32 MiB at 6c800000
[    0.000000] cma: Found qsecom_region, memory base 0, size 17 MiB
[    0.000000] cma: CMA: reserved 20 MiB at 6b400000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] IMEM DT static mapping successful
[    0.000000] PERCPU: Embedded 9 pages/cpu @c22d7000 s15680 r8192 d12992 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 480000
[    0.000000] Kernel command line: androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 androidboot.bootdevice=msm_sdcc.1 uart_console=enable lcd_maker_id=primary lge.hreset=off lge.reset=unknown gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 androidboot.laf androidboot.emmc=true androidboot.serialno=030b25bad0212c6c androidboot.bootloader=HHZ11k androidboot.baseband=msm bootreason=kernel_panic androidboot.hardware.sku=D821 androidboot.hardware.ddr=hynix androidboot.hardware.display=orise
[    0.000000] UART CONSOLE : enable
[    0.000000] BOARD : LGE rev_11 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 4194304 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 123MB 1768MB = 1891MB total
[    0.000000] Memory: 1568724k/1568724k available, 393260k reserved, 846848K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0e85000   (14836 kB)
[    0.000000]       .init : 0xc0f00000 - 0xc1030d40   (1220 kB)
[    0.000000]       .data : 0xc1032000 - 0xc10f1308   ( 765 kB)
[    0.000000]        .bss : 0xc10f132c - 0xc128cc68   (1647 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  Dump stacks of tasks blocking RCU-preempt GP.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 223696ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled
[    0.001181] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001244] pid_max: default: 32768 minimum: 301
[    0.001400] Security Framework initialized
[    0.001477] AppArmor: AppArmor initialized
[    0.001565] Mount-cache hash table entries: 512
[    0.002305] Initializing cgroup subsys debug
[    0.002337] Initializing cgroup subsys cpuacct
[    0.002366] Initializing cgroup subsys memory
[    0.002420] Initializing cgroup subsys devices
[    0.002451] Initializing cgroup subsys freezer
[    0.002481] Initializing cgroup subsys blkio
[    0.002525] Initializing cgroup subsys perf_event
[    0.002597] CPU: Testing write buffer coherency: ok
[    0.002656] ftrace: allocating 30703 entries in 91 pages
[    0.109208] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.110024] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[    0.113200] Setting up static identity map for 0xa16cd8 - 0xa16d60
[    0.113230] MSM Memory Dump table set up
[    0.114657] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.114739] Brought up 2 CPUs
[    0.114778] SMP: Total of 2 processors activated (76.80 BogoMIPS).
[    0.115561] devtmpfs: initialized
[    0.125733] EVM: security.selinux
[    0.125752] EVM: security.SMACK64
[    0.125770] EVM: security.capability
[    0.127023] dummy: 
[    0.139096] NET: Registered protocol family 16
[    0.141572] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.142991] socinfo_print: v8, id=126, ver=2.2, raw_id=1968, raw_ver=7, hw_plat=150, hw_plat_ver=65536
[    0.142999]  accessory_chip=0, hw_plat_subtype=0, pmic_model=65537, pmic_die_revision=196609
[    0.156199] gpiochip_add: registered GPIOs 0 to 145 on device: msmgpio
[    0.171416] msm_watchdog f9017000.qcom,wdt: MSM Watchdog Initialized
[    0.189162] 8841_s1: 675 <--> 1050 mV at 0 mV normal idle 
[    0.189580] 8841_s1_ao: 675 <--> 1050 mV at 0 mV normal idle 
[    0.189972] 8841_s1_so: 675 <--> 1050 mV at 675 mV normal idle 
[    0.190389] 8841_s2: 500 <--> 1050 mV at 0 mV normal idle 
[    0.190777] 8841_s2_corner: 0 <--> 0 mV at 0 mV normal idle 
[    0.191176] 8841_s2_corner_ao: 0 <--> 0 mV at 0 mV normal idle 
[    0.191561] 8841_s2_floor_corner: 0 <--> 0 mV at 0 mV normal idle 
[    0.191978] 8841_s3: 1050 mV normal idle 
[    0.192376] 8841_s4: 815 <--> 900 mV at 0 mV normal idle 
[    0.192770] 8841_s4_corner: 0 <--> 0 mV at 0 mV normal idle 
[    0.193176] 8841_s4_floor_corner: 0 <--> 0 mV at 0 mV normal idle 
[    0.193583] 8941_s1: 1300 mV normal idle 
[    0.194004] 8941_s2: 2150 mV normal idle 
[    0.194418] 8941_s3: 1800 mV normal idle 
[    0.194835] 8941_l1: 1225 mV normal idle 
[    0.195241] 8941_l2: 1200 mV normal idle 
[    0.195657] 8941_l3: 1225 mV normal idle 
[    0.196064] 8941_l4: 1225 mV normal idle 
[    0.196498] 8941_l5: 1800 mV normal idle 
[    0.196902] 8941_l6: 1800 mV normal idle 
[    0.197298] 8941_l7: 1800 mV normal idle 
[    0.197708] 8941_l8: 1800 mV normal idle 
[    0.198110] 8941_l9: 1800 <--> 2950 mV at 2950 mV normal idle 
[    0.198521] 8941_l10: 1800 <--> 2950 mV at 2950 mV normal idle 
[    0.198933] 8941_l11: 1300 mV normal idle 
[    0.199341] 8941_l12: 1800 mV normal idle 
[    0.199754] 8941_l12_ao: 1800 mV normal idle 
[    0.200161] 8941_l13: 1800 <--> 2950 mV at 2950 mV normal idle 
[    0.200577] 8941_l14: 1800 mV normal idle 
[    0.200986] 8941_l15: 2050 mV normal idle 
[    0.201405] 8941_l16: 2700 mV normal idle 
[    0.201807] 8941_l17: 3000 mV normal idle 
[    0.202230] 8941_l18: 2850 mV normal idle 
[    0.202645] 8941_l19: 3000 <--> 3300 mV at 3300 mV normal idle 
[    0.203061] 8941_l20: 2950 mV normal idle 
[    0.203484] 8941_l21: 2950 mV normal idle 
[    0.203894] 8941_l22: 3000 <--> 3300 mV at 3100 mV normal idle 
[    0.204321] 8941_l23: 3000 mV normal idle 
[    0.204733] 8941_l24: 3075 mV normal idle 
[    0.205142] 8941_lvs1: 
[    0.205512] 8941_lvs2: 
[    0.205888] 8941_lvs3: 
[    0.207880] PDN krait_pdn_phase_scaling_init: eFuse phase scaling factor = 2/4
[    0.207912] PDN krait_pdn_phase_scaling_init: initial phase scaling factor = 2/4
[    0.208238] krait0: 500 <--> 1100 mV at 900 mV fast normal idle 
[    0.208703] krait1: 500 <--> 1100 mV at 900 mV fast normal idle 
[    0.209146] krait2: 500 <--> 1100 mV at 900 mV fast normal idle 
[    0.209637] krait3: 500 <--> 1100 mV at 900 mV fast normal idle 
[    0.235274] vdd_restriction_reg_init:Defer vdd rstr freq init
[    0.235940] persistent_ram: found existing buffer, size 39981, start 39981
[    0.327982] console [ram-1] enabled
[    0.328171] persistent_ram: found existing buffer, size 0, start 0
[    0.328492] wifi: bcm_init_wlan_mem: WIFI MEM Allocated
[    0.328585] bcm_wifi_init_gpio_mem: wifi gpio and mem initialized
[    0.328837] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.328996] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.331886] gpiochip_add: registered GPIOs 1020 to 1023 on device: pm8841-mpp
[    0.333881] spmi_pmic_arb fc4cf000.qcom,spmi: PPID 0xd0 incorrect owner 4
[    0.334059] spmi_pmic_arb fc4cf000.qcom,spmi: PPID 0xd1 incorrect owner 4
[    0.334440] spmi_pmic_arb fc4cf000.qcom,spmi: PPID 0xd4 incorrect owner 4
[    0.335118] spmi_pmic_arb fc4cf000.qcom,spmi: PPID 0xdb incorrect owner 2
[    0.335449] spmi_pmic_arb fc4cf000.qcom,spmi: PPID 0xde incorrect owner 2
[    0.336083] gpiochip_add: registered GPIOs 984 to 1019 on device: pm8941-gpio
[    0.340151] spmi_pmic_arb fc4cf000.qcom,spmi: PPID 0xa2 incorrect owner 2
[    0.340785] gpiochip_add: registered GPIOs 977 to 983 on device: pm8941-mpp
[    0.342158] 8941_boost: 5000 mV 
[    0.342666] 8941_mvs1: 
[    0.342791] 8941_mvs1: supplied by 8941_boost
[    0.343338] 8941_mvs2: 
[    0.343455] 8941_mvs2: supplied by 8941_boost
[    0.347067] qpnp_adcmap_probe: Use adcmap from dt
[    0.347853] sps:BAM 0xf9984000 (va:0xf0060000) enabled: ver:0x6, number of pipes:20
[    0.347954] sps:BAM 0xf9984000 is registered.
[    0.348165] sps:sps is ready.
[    0.350211] gdsc_venus: 
[    0.350620] gdsc_mdss: 
[    0.350977] gdsc_jpeg: 
[    0.351359] gdsc_vfe: 
[    0.351740] gdsc_oxili_gx: 
[    0.351889] gdsc_oxili_gx: supplied by 8841_s4_corner
[    0.352548] gdsc_oxili_cx: 
[    0.352921] gdsc_usb_hsic: 
[    0.353550] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[    0.359275] msm_ocmem fdd00000.qcom,ocmem: OCMEM Virtual addr f0400000
[    0.361157] Physical OCMEM zone layout:
[    0.361279]  zone graphics   : 0xfec00000 - 0xfecfffff (1024 KB)
[    0.361441]  zone lp_audio   : 0xfed00000 - 0xfed7ffff ( 512 KB)
[    0.361540]  zone video      : 0xfed00000 - 0xfed7ffff ( 512 KB)
[    0.381889] bio: create slab <bio-0> at 0
[    0.382853] ethernet_phy: 
[    0.383282] avdd-3p3: 
[    0.383696] vdd-1p0: 
[    0.384523] cma: Assigned CMA region at 0 to 8.qcom,ion-heap device
[    0.384690] ION-heap mm: Cannot specify alignment for this type of heap
[    0.384912] cma: Assigned CMA region at 0 to 16.qcom,ion-heap device
[    0.385139] ION-heap adsp: Cannot specify alignment for this type of heap
[    0.385417] cma: Assigned CMA region at 0 to 1b.qcom,ion-heap device
[    0.385950] ION heap vmalloc created
[    0.386131] ION heap kmalloc created
[    0.386237] ION heap mm created
[    0.386406] ION heap adsp created
[    0.386511] ION heap iommu created
[    0.386613] ION heap qsecom created
[    0.386796] ION heap audio created at 0x7e701000 with size 614000
[    0.388123] SCSI subsystem initialized
[    0.388365] usbcore: registered new interface driver usbfs
[    0.388589] usbcore: registered new interface driver hub
[    0.388778] usbcore: registered new device driver usb
[    0.389787] Linux media interface: v0.10
[    0.389914] Linux video capture interface: v2.00
[    0.390683] PMIC@SID0 Power-on reason: Triggered from USB (USB charger insertion)
[    0.390797] PMIC@SID0: Power-off reason: Triggered from PS_HOLD (PS_HOLD/MSM controlled shutdown)
[    0.391149] input: qpnp_pon as /devices/virtual/input/input0
[    0.393489] msm_iommu_v1 fda64000.qcom,iommu: device jpeg_iommu mapped at f01e0000, with 3 ctx banks
[    0.394658] msm_iommu_v1 fd928000.qcom,iommu: device mdp_iommu mapped at f0280000, with 3 ctx banks
[    0.396499] msm_iommu_v1 fdc84000.qcom,iommu: device venus_iommu mapped at f02a0000, with 5 ctx banks
[    0.397445] msm_iommu_v1 fdb10000.qcom,iommu: device kgsl_iommu mapped at f02c0000, with 2 ctx banks
[    0.398602] msm_iommu_v1 fda44000.qcom,iommu: device vfe_iommu mapped at f02e0000, with 3 ctx banks
[    0.399692] msm_iommu_ctx_v1 fda6c000.qcom,iommu-ctx: context jpeg_enc0 using bank 0
[    0.399897] msm_iommu_ctx_v1 fda6d000.qcom,iommu-ctx: context jpeg_enc1 using bank 1
[    0.400158] msm_iommu_ctx_v1 fda6e000.qcom,iommu-ctx: context jpeg_dec using bank 2
[    0.400433] msm_iommu_ctx_v1 fd930000.qcom,iommu-ctx: context mdp_0 using bank 0
[    0.400654] msm_iommu_ctx_v1 fd931000.qcom,iommu-ctx: context mdp_1 using bank 1
[    0.400916] msm_iommu_ctx_v1 fd932000.qcom,iommu-ctx: context mdp_2 using bank 2
[    0.401191] msm_iommu_ctx_v1 fdc8c000.qcom,iommu-ctx: context venus_ns using bank 0
[    0.401405] msm_iommu_ctx_v1 fdc8d000.qcom,iommu-ctx: context venus_sec_bitstream using bank 1
[    0.401672] msm_iommu_ctx_v1 fdc8e000.qcom,iommu-ctx: context venus_fw using bank 2
[    0.401934] msm_iommu_ctx_v1 fdc8f000.qcom,iommu-ctx: context venus_sec_pixel using bank 3
[    0.402139] msm_iommu_ctx_v1 fdc90000.qcom,iommu-ctx: context venus_sec_non_pixel using bank 4
[    0.402420] msm_iommu_ctx_v1 fdb18000.qcom,iommu-ctx: context gfx3d_user using bank 0
[    0.402689] msm_iommu_ctx_v1 fdb19000.qcom,iommu-ctx: context gfx3d_priv using bank 1
[    0.402962] msm_iommu_ctx_v1 fda4c000.qcom,iommu-ctx: context vfe0 using bank 0
[    0.403162] msm_iommu_ctx_v1 fda4d000.qcom,iommu-ctx: context vfe1 using bank 1
[    0.403423] msm_iommu_ctx_v1 fda4e000.qcom,iommu-ctx: context cpp using bank 2
[    0.405488] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.406364] cfg80211: Calling CRDA to update world regulatory domain
[    0.406690] NetLabel: Initializing
[    0.406781] NetLabel:  domain hash size = 128
[    0.406867] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.407050] NetLabel:  unlabeled traffic allowed by default
[    0.407306] Loading modules backported from Linux version v4.2-rc7-0-g2c6625c
[    0.407460] Backport integrated by backports.git v4.2-rc1-1-3-g0d0798b
[    0.407554] Bluetooth: Core ver 2.20
[    0.407747] NET: Registered protocol family 31
[    0.407836] Bluetooth: HCI device and connection manager initialized
[    0.407995] Bluetooth: HCI socket layer initialized
[    0.408093] Bluetooth: L2CAP socket layer initialized
[    0.408326] Bluetooth: SCO socket layer initialized
[    0.409207] Switching to clocksource arch_sys_counter
[    0.429233] AppArmor: AppArmor Filesystem Enabled
[    0.438851] NET: Registered protocol family 2
[    0.439151] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.439846] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.441403] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.442177] TCP: Hash tables configured (established 131072 bind 65536)
[    0.442331] TCP: reno registered
[    0.442429] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.442633] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.443051] NET: Registered protocol family 1
[    0.443442] Trying to unpack rootfs image as initramfs...
[    0.443836] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[    0.444169] VFP support v0.3: implementor 51 architecture 64 part 6f variant 2 rev 0
[    0.447899] Detected 9 counters on the L2CC PMU.
[    0.450015] gpiochip_add: registered GPIOs 945 to 976 on device: smp2p
[    0.450809] gpiochip_add: registered GPIOs 913 to 944 on device: smp2p
[    0.451126] gpiochip_add: registered GPIOs 881 to 912 on device: smp2p
[    0.451967] gpiochip_add: registered GPIOs 849 to 880 on device: smp2p
[    0.452212] gpiochip_add: registered GPIOs 817 to 848 on device: slave-kernel
[    0.453078] gpiochip_add: registered GPIOs 785 to 816 on device: master-kernel
[    0.453351] gpiochip_add: registered GPIOs 753 to 784 on device: smp2p
[    0.454229] gpiochip_add: registered GPIOs 721 to 752 on device: smp2p
[    0.454546] gpiochip_add: registered GPIOs 689 to 720 on device: slave-kernel
[    0.455367] gpiochip_add: registered GPIOs 657 to 688 on device: master-kernel
[    0.455703] gpiochip_add: registered GPIOs 625 to 656 on device: smp2p
[    0.456531] gpiochip_add: registered GPIOs 593 to 624 on device: smp2p
[    0.456848] gpiochip_add: registered GPIOs 561 to 592 on device: slave-kernel
[    0.457766] gpiochip_add: registered GPIOs 529 to 560 on device: master-kernel
[    0.461749] pil-q6v5-lpass fe200000.qcom,lpass: using secure boot
[    0.466451] pil_venus fdce0000.qcom,venus: using secure boot
[    0.473137] NET: Registered protocol family 27
[    0.482859] acpuclk-8974 qcom,acpuclk.30: SPEED BIN: 1
[    0.482976] acpuclk-8974 qcom,acpuclk.30: ACPU PVS: 4
[    0.486081] acpuclk-8974 qcom,acpuclk.30: CPU Frequencies Supported: 14
[    0.491952] msm_rpm_log_probe: OK
[    0.502080] ocmem: Client sensors (id: 6) not allowed to use OCMEM
[    0.502520] OCMEM notifier registration failed
[    0.502756] sns_ocmem_main: sns_ocmem_init failed -14
[    0.506204] bluetooth_rfkill_init
[    0.507044] bluetooth_rfkill_init done
[    0.507586] ####init
[    0.508246] bluetooth_rfkill_probe
[    0.508496] bluetooth_set_power set blocked=0####btlock acquired cookie: BT35
[    0.539426] Bluetooth RESET HIGH!!
[    0.540195] mpm_counter: [    0.540173]:(134502)
[    0.543157] audit: initializing netlink socket (disabled)
[    0.543259] type=2000 audit(0.450:1): initialized
[    0.543792] highmem bounce pool size: 64 pages
[    0.546439] fuse init (API version 7.18)
[    0.546599] msgmni has been set to 1441
[    0.547733] NET: Registered protocol family 38
[    0.547877] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.547929] io scheduler noop registered (default)
[    0.548007] io scheduler deadline registered
[    0.548061] io scheduler row registered
[    0.548157] io scheduler cfq registered
[    0.548296] lm3630_parse_dt: max_current =0x12 min_brightness = 0x3 max_brightness = 0xFF default_brightness = 0x20 
[    0.548384] lm3630_parse_dt: boost_ctrl_reg = 0x30 bank_sel = 0 linear_map = 1 pwm_enable = 0 blmap_size = 0
[    0.548568] lm3630_probe: lm3630 probed
[    0.548719] mdss_mdp_probe: MDP HW Base phy_Address=0xfd900000 virt=0xf0340000
[    0.548816] mdss_mdp_probe: MDSS VBIF HW Base phy_Address=0xfd924000 virt=0xf02d8000
[    0.550256] mdss_dsi_ctrl_probe: DSI Ctrl name = MDSS DSI CTRL->0
[    0.550368] mdss_dsi_ctrl_probe: DSI Ctrl name = MDSS DSI CTRL->1
[    0.550798] mdss_dsi_panel_probe: Panel Name = JDI 1080p command mode dsi panel
[    0.550883] mdss_panel_parse_dt: Panel ID = 5
[    0.551201] mdss_dsi_retrieve_ctrl_resources: dsi base=f0316800 size=600
[    0.551454] dsi_panel_device_register:1193 Continuous splash flag enabled.
[    0.579769] mdss_register_panel: adding framebuffer device fd922800.qcom,mdss_dsi
[    0.579936] mdss_hw_init: MDP Rev=10020000
[    0.581610] hdmi_tx_init_resource: 'core_physical': start = 0xf0318100, len=0x370
[    0.581669] hdmi_tx_init_resource: 'phy_physical': start = 0xf031a500, len=0x7c
[    0.581758] hdmi_tx_init_resource: 'qfprom_physical': start = 0xf0320000, len=0x60f0
[    0.582267] mdss_register_panel: adding framebuffer device fd922100.qcom,hdmi_tx
[    0.584368] mdss_register_panel: adding framebuffer device qcom,mdss_wb_panel.2
[    0.584991] mdss_fb_alloc_fbmem_iommu: mdss_fb_alloc_fbmem_iommu frame buffer reserve_size=0x1000000
[    0.585283] mdss_fb_alloc_fbmem_iommu: allocating 16777216 bytes at f1000000 (7ee00000 phys) for fb 0
[    0.585455] mdss_fb_register: FrameBuffer[0] 1080x1920 size=16777216 registered successfully!
[    0.585647] mdss_fb_register: FrameBuffer[1] 640x480 size=0 registered successfully!
[    0.585850] mdss_fb_register: FrameBuffer[2] 1920x1080 size=0 registered successfully!
[    0.586164] avdd-3p3: Failed to create debugfs directory
[    0.586228] anx7808 anx7808_vdd_1p0_power: vdd 1.0V is already off
[    0.586413] sps: BAM device 0xf9944000 is not registered yet.
[    0.586465] sps:BAM 0xf9944000 is registered.
[    0.586541] msm_serial_hs: BAM device registered. bam_handle=0x0
[    0.589250] f9960000.uart: ttyHS99 at MMIO 0xf9960000 (irq = 148) is a MSM HS UART
[    0.591155] msm_serial_hs module loaded
[    0.591410] msm_serial_hsl_probe: detected port #0 (ttyHSL0)
[    0.591564] f991d000.serial: ttyHSL0 at MMIO 0xf991d000 (irq = 139) is a MSM
[    0.595014] msm_serial_hsl_init: driver initialized
[    0.597652] kgsl kgsl-3d0: |kgsl_iommu_init| MMU type set for device is IOMMU
[    0.603338] brd: module loaded
[    0.604779] loop: module loaded
[    0.604864] i2c-core: driver [isa1200] using legacy suspend method
[    0.604911] i2c-core: driver [isa1200] using legacy resume method
[    0.605893] QSEECOM: qseecom_probe: support_bus_scaling=0x1
[    0.605964] QSEECOM: qseecom_probe: Device does not support FDE
[    0.606086] QSEECOM: qseecom_probe: Device does not support PFE
[    0.606173] QSEECOM: qseecom_probe: Device does not support PFE/FDE
[    0.606293] QSEECOM: qseecom_probe: qsee-ce-hw-instance=0x0
[    0.606403] QSEECOM: qseecom_probe: secure app region addr=0x7b00000 size=0x500000
[    0.607123] i2c-core: driver [tabla-i2c-core] using legacy suspend method
[    0.607260] i2c-core: driver [tabla-i2c-core] using legacy resume method
[    0.607360] i2c-core: driver [wcd9xxx-i2c-core] using legacy suspend method
[    0.607440] i2c-core: driver [wcd9xxx-i2c-core] using legacy resume method
[    0.607935] SCSI Media Changer driver v0.25 
[    0.608512] spi_qsd f9966000.spi: master is unqueued, this is deprecated
[    0.609301] tun: Universal TUN/TAP device driver, 1.6
[    0.609383] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.609531] rmnet_init: BAM devices[8]
[    0.614367] PPP generic driver version 2.4.2
[    0.614486] PPP BSD Compression module registered
[    0.614564] PPP Deflate Compression module registered
[    0.614916] PPP MPPE Compression module registered
[    0.614996] NET: Registered protocol family 24
[    0.615054] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[    0.615136] CSLIP: code copyright 1989 Regents of the University of California.
[    0.615239] usbcore: registered new interface driver catc
[    0.615340] usbcore: registered new interface driver kaweth
[    0.615388] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[    0.615489] usbcore: registered new interface driver pegasus
[    0.615588] usbcore: registered new interface driver rtl8150
[    0.615636] hso: /workspace/5/kernel/lge/hammerhead/drivers/net/usb/hso.c: Option Wireless
[    0.615747] usbcore: registered new interface driver hso
[    0.615814] usbcore: registered new interface driver cdc_ether
[    0.615960] usbcore: registered new interface driver ipheth
[    0.616031] usbcore: registered new interface driver sierra_net
[    0.619352] vdd-1p0: Failed to create debugfs directory
[    0.639341] anx7808 sp_tx_hardware_poweron: anx7808 power on
[    0.640373] anx7808 sp_tx_chip_located: ANX7808 BA is found.
[    0.641899] anx7808 sp_tx_vbus_powerdown: 3.3V output disabled
[    0.658224] msm-dwc3 msm_dwc3: Read platform data for adc low threshold
[    0.658275] msm-dwc3 msm_dwc3: Read platform data for adc high threshold
[    0.658666] dwc3 f9200000.dwc3: maximum speed: high
[    0.699349] anx7808 sp_tx_hardware_powerdown: anx7808 power down
[    0.699431] anx7808 sp_tx_set_sys_state: SP_TX To System State: 
[    0.699478] anx7808 sp_tx_set_sys_state: STATE_CABLE_PLUG
[    0.699813] anx7808 anx7808_get_usb_clk: clk: 1000
[    0.759401] bcm2079x 0-0077: requesting IRQ 360
[    0.759521] bcm2079x 0-0077: bcm2079x_probe, probing bcm2079x driver exited successfully
[    0.863081] usbcore: registered new interface driver cdc_acm
[    0.863164] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.863272] usbcore: registered new interface driver usblp
[    0.863341] usbcore: registered new interface driver cdc_wdm
[    0.863420] Initializing USB Mass Storage driver...
[    0.863496] usbcore: registered new interface driver usb-storage
[    0.863575] USB Mass Storage support registered.
[    0.863900] mbim_init: initialize 1 instances
[    0.864010] mbim_init: Initialized 1 ports
[    0.865021] rndis_qc_init: initialize rndis QC instance
[    0.865270]  gadget: Mass Storage Function, version: 2009/09/11
[    0.865351]  gadget: Number of LUNs=1
[    0.865398]  lun0: LUN: removable file: (no medium)
[    0.865640]  gadget: android_usb ready
[    0.866085] usbcore: registered new interface driver xpad
[    0.866349] [Touch] touch on
[    0.867048] input: touch_dev as /devices/virtual/input/input1
[    0.871619] [Touch] TYPE = 1 product id[PLG218] : syna product id[]
[    0.871700] [Touch] IC identifier[PLG218 - 1] fw_version[E079]
[    0.871747] [Touch] image_version[E079] : force[0]
[    0.872652] [Touch] FW-upgrade is not executed
[    0.873632] using rtc device, qpnp_rtc, for alarms
[    0.873690] qcom,qpnp-rtc qpnp-rtc-ee18a600: rtc core: registered qpnp_rtc as rtc0
[    0.873906] i2c /dev entries driver
[    0.874986] ocmem: Notifier registered for 1
[    0.876528] msm_cci_probe: pdev ee104200 device id = -1
[    0.880212] imx179_init_module:158
[    1.175030] __msm_jpeg_init:933] Jpeg Device id 0
[    1.175302] __msm_jpeg_init:933] Jpeg Device id 1
[    1.175548] __msm_jpeg_init:933] Jpeg Device id 2
[    1.180509] usbcore: registered new interface driver uvcvideo
[    1.180597] USB Video Class driver (1.1.1)
[    1.180757] qpnp_charger_read_dt_props: tm not ready -517
[    1.180812] spmi qpnp-charger-ee18a000: Driver qcom,qpnp-charger requests probe deferral
[    1.180945] max17048_probe: start
[    1.180993] ac supply not found deferring probe
[    1.181045] i2c 84-0036: Driver max17048 requests probe deferral
[    1.181315] bq51013b_probe: start
[    1.181449] bq51013b_parse_dt: current_ma = 704
[    1.188716] bq24192_get_soc_from_batt_psy: battery power supply is not registered yet
[    1.189622] bq24192_get_prop_input_voltage: Unable to read vbus rc=-517
[    1.190155] bq24192_get_soc_from_batt_psy: battery power supply is not registered yet
[    1.191524] bq24192_get_prop_input_voltage: Unable to read vbus rc=-517
[    1.191961] bq24192_probe: probe success
[    1.242946] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    1.243356] cpuidle: using governor ladder
[    1.243705] cpuidle: using governor menu
[    1.243766] sdhci: Secure Digital Host Controller Interface driver
[    1.243844] sdhci: Copyright(c) Pierre Ossman
[    1.244178] mmc0: SDCC Version: 0x00000038
[    1.246457] mmc0: bam physical base=0xf9884000
[    1.246536] mmc0: bam virtual base=0xf0378000
[    1.246586] sps:BAM 0xf9884000 is registered.
[    1.246630] mmc0: BAM device registered. bam_handle=0xed5ad800
[    1.247261] sps:BAM 0xf9884000 (va:0xf0378000) enabled: ver:0x6, number of pipes:6
[    1.248065] mmc0: Qualcomm MSM SDCC-BAM at [mem 0xf9884000-0xf988afff flags 0x200] [irq 252 flags 0x400]
[    1.248167] mmc0: Qualcomm MSM SDCC-DML [mem 0xf98a4800-0xf98a48ff flags 0x200]
[    1.248242] mmc0: id 2, nonremovable 0
[    1.248322] wcf_status: wifi_detect = 0
[    1.248367] wcf_status_register
[    1.251096] mmc0: Qualcomm MSM SDCC-core [mem 0xf98a4000-0xf98a47ff flags 0x200] [irq 157 flags 0x400],0 dma -1 dmacrcri -1
[    1.251187] mmc0: Controller capabilities: 0x00003ffe
[    1.251269] mmc0: 8 bit data mode disabled
[    1.251353] mmc0: 4 bit data mode enabled
[    1.251399] mmc0: polling status mode disabled
[    1.251479] mmc0: MMC clock 400000 -> 200000000 Hz, PCLK 0 Hz
[    1.251526] mmc0: Slot eject status = 1
[    1.251604] mmc0: Power save feature enable = 1
[    1.251649] mmc0: SPS-BAM data transfer mode available
[    1.252027] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.256176] mmc1: no vmmc regulator found
[    1.258353] mmc1: SDHCI controller on msm_sdcc.1 [msm_sdcc.1] using ADMA
[    1.259974] qcom,leds-qpnp leds-qpnp-ee18b800: Regulator get failed(-517)
[    1.260026] qcom,leds-qpnp leds-qpnp-ee18b800: Unable to read flash config data
[    1.260114] spmi leds-qpnp-ee18b800: Driver qcom,leds-qpnp requests probe deferral
[    1.260637] QCE50: __qce_get_device_tree_data: bam_pipe_pair=0x1
[    1.260696] QCE50: __qce_get_device_tree_data: ce_phy_reg_base=0xfd440000  
[    1.260814] QCE50: __qce_get_device_tree_data: ce_virt_reg_base=0xf0900000
[    1.260917] QCE50: __qce_get_device_tree_data: ce_bam_phy_reg_base=0xfd444000  
[    1.260998] QCE50: __qce_get_device_tree_data: ce_bam_virt_reg_base=0xf05e0000
[    1.261118] QCE50: __qce_get_device_tree_data: CRYPTO BAM IRQ = 268.
[    1.261373] qce qcedev.0: Qualcomm Crypto 5.1.0 device found @0xfd440000
[    1.261459] qce qcedev.0: IO base, CE = 0xf0900000
[    1.261462] , Consumer (IN) PIPE 2,    Producer (OUT) PIPE 3
[    1.261464] IO base BAM = 0xf05e0000
[    1.261466] BAM IRQ 268
[    1.261667] sps:BAM 0xfd444000 is registered.
[    1.261902] sps:BAM 0xfd444000 (va:0xf05e0000) enabled: ver:0x20, number of pipes:8
[    1.262196] QCE50: qce_sps_init:  Qualcomm MSM CE-BAM at 0x00000000fd444000 irq 268
[    1.262766] QCE50: __qce_get_device_tree_data: bam_pipe_pair=0x2
[    1.262900] QCE50: __qce_get_device_tree_data: ce_phy_reg_base=0xfd440000  
[    1.262991] QCE50: __qce_get_device_tree_data: ce_virt_reg_base=0xf0940000
[    1.263163] QCE50: __qce_get_device_tree_data: ce_bam_phy_reg_base=0xfd444000  
[    1.263245] QCE50: __qce_get_device_tree_data: ce_bam_virt_reg_base=0xf05f0000
[    1.263334] QCE50: __qce_get_device_tree_data: CRYPTO BAM IRQ = 268.
[    1.263636] qcrypto qcrypto.0: Qualcomm Crypto 5.1.0 device found @0xfd440000
[    1.263729] qcrypto qcrypto.0: IO base, CE = 0xf0940000
[    1.263732] , Consumer (IN) PIPE 4,    Producer (OUT) PIPE 5
[    1.263734] IO base BAM = 0xf05f0000
[    1.263736] BAM IRQ 268
[    1.264345] QCE50: qce_sps_init:  Qualcomm MSM CE-BAM at 0x00000000fd444000 irq 268
[    1.264543] qcrypto qcrypto.0: qcrypto-ecb-aes
[    1.264663] qcrypto qcrypto.0: qcrypto-cbc-aes
[    1.264774] qcrypto qcrypto.0: qcrypto-ctr-aes
[    1.264916] qcrypto qcrypto.0: qcrypto-ecb-des
[    1.265023] qcrypto qcrypto.0: qcrypto-cbc-des
[    1.265129] qcrypto qcrypto.0: qcrypto-ecb-3des
[    1.265268] qcrypto qcrypto.0: qcrypto-cbc-3des
[    1.265375] qcrypto qcrypto.0: qcrypto-xts-aes
[    1.265517] qcrypto qcrypto.0: qcrypto-sha1
[    1.265625] qcrypto qcrypto.0: qcrypto-sha256
[    1.265734] qcrypto qcrypto.0: qcrypto-hmac-sha1
[    1.265874] qcrypto qcrypto.0: qcrypto-hmac-sha256
[    1.265981] qcrypto qcrypto.0: qcrypto-aes-ccm
[    1.267472] usbcore: registered new interface driver usbhid
[    1.267521] usbhid: USB HID core driver
[    1.267807] ashmem: initialized
[    1.268314] sps:BAM 0xf9304000 is registered.
[    1.268371] sps:BAM 0xf9a44000 is registered.
[    1.268454] usb_bam_ipa_create_resources: Failed to create USB_PROD resource
[    1.268817] qpnp_coincell_charger_show_state: enabled=Y, voltage=3000 mV, resistance=2100 ohm
[    1.269009] PMIC@SID4: PM8841 v2.1 options: 0, 0, 2, 2
[    1.269128] PMIC@SID0: PM8941 v3.1 options: 0, 0, 0, 0
[    1.269425] usbcore: registered new interface driver snd-usb-audio
[    1.281296] msm-compr-dsp msm-compr-dsp: msm_compr_probe: dev name msm-compr-dsp
[    1.281810] msm-pcm-lpa msm-pcm-lpa: msm_pcm_probe: dev name msm-pcm-lpa
[    1.282477] platform qcom,msm-voip-dsp.39: Driver msm-voip-dsp requests probe deferral
[    1.282820] platform qcom,msm-pcm-voice.40: Driver msm-pcm-voice requests probe deferral
[    1.284755] ocmem: Notifier registered for 5
[    1.285299] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present
[    1.285523] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral
[    1.286212] u32 classifier
[    1.286259]     Actions configured
[    1.286308] Netfilter messages via NETLINK v0.30.
[    1.286390] nfnl_acct: registering with nfnetlink.
[    1.286514] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.286809] ctnetlink v0.93: registering with nfnetlink.
[    1.286881] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    1.286960] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    1.287114] xt_time: kernel timezone is -0000
[    1.287405] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.287524] arp_tables: (C) 2002 David S. Miller
[    1.287622] TCP: cubic registered
[    1.287667] Initializing XFRM netlink socket
[    1.287872] NET: Registered protocol family 10
[    1.289006] Mobile IPv6
[    1.289065] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.289185] IPv6 over IPv4 tunneling driver
[    1.289556] NET: Registered protocol family 17
[    1.289617] NET: Registered protocol family 15
[    1.289688] Bridge firewalling registered
[    1.289767] Ebtables v2.0 registered
[    1.289874] L2TP core driver, V2.0
[    1.289927] PPPoL2TP kernel driver, V2.0
[    1.290004] Registering the dns_resolver key type
[    1.290262] Bluetooth: RFCOMM socket layer initialized
[    1.290349] Bluetooth: RFCOMM ver 1.11
[    1.290400] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.290447] Bluetooth: BNEP filters: protocol multicast
[    1.290531] Bluetooth: BNEP socket layer initialized
[    1.290579] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.290663] Bluetooth: HIDP socket layer initialized
[    1.290710] Bluetooth: Virtual HCI driver ver 1.5
[    1.290860] Bluetooth: HCI UART driver ver 2.3
[    1.290907] Bluetooth: HCI UART protocol H4 registered
[    1.291854] Registering SWP/SWPB emulation handler
[    1.291905] clock_late_init: Removing enables held for handed-off clocks
[    1.301897] AppArmor: AppArmor sha1 policy hashing enabled
[    1.301990] gdsc_oxili_gx: disabling
[    1.302045] gdsc_venus: disabling
[    1.302477] boost_gpio_probe
[    1.302583] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present
[    1.302860] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral
[    1.302988] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral
[    1.303431] qcom,leds-qpnp leds-qpnp-ee18b800: Regulator get failed(-517)
[    1.303515] qcom,leds-qpnp leds-qpnp-ee18b800: Unable to read flash config data
[    1.303578] spmi leds-qpnp-ee18b800: Driver qcom,leds-qpnp requests probe deferral
[    1.303771] max17048_probe: start
[    1.303903] max17048_parse_dt: rcomp = 77 rcomp_co_hot = 700 rcomp_co_cold = 5225
[    1.304044] max17048_parse_dt: alert_thres = 2 full_soc = 970 empty_soc = 10 uvlo=3050
[    1.304136] input: gpio-keys as /devices/gpio_keys.71/input/input2
[    1.304543] qcom,qpnp-rtc qpnp-rtc-ee18a600: setting system clock to 1970-01-20 21:42:10 UTC (1719730)
[    1.304774] max17048 84-0036: MAX17048 Fuel-Gauge Ver 0x12
[    1.304841] batt_tm_psy_init: battery supply not found
[    1.304878] bq24192_get_soc_from_batt_psy: battery power supply is not registered yet
[    1.305020] batt_tm_ctrl_probe: failed to init psy
[    1.309789] platform battery_tm_ctrl.79: Driver batt_tm_ctrl requests probe deferral
[    1.310808] msm8974_pwm_vibrator_probe: probed
[    1.321650] max1462x_hsd_probe: acc_read_value - 6461
[    1.321812] input: hs_detect as /devices/virtual/input/input3
[    1.322055] ALSA device list:
[    1.322101]   No soundcards found.
[    1.342561] max17048_probe: done
[    1.342758] RAMDISK: gzip image found at block 0
[    1.342829] 8941_smbb_boost: 5000 mV 
[    1.343089] qpnp_charger_probe: success chg_dis = 0, bpd = 1, usb = 0, dc = 0 b_health = 0 batt_present = 0
[    1.343341] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral
[    1.343612] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present
[    1.343918] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral
[    1.345651] batt_tm_ctrl_probe: probe success
[    1.345939] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present
[    1.346138] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral
[    1.346321] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral
[    1.366001] max17048_work: rsoc=0x923B rvcell=0x0C77 soc=75 v_mv=3988 i_ua=-6108 t=348
[    1.382878] mmc1: BKOPS_EN bit = 0
[    1.394517] mmc1: new HS200 MMC card at address 0001
[    1.394819] mmcblk0: mmc1:0001 SEM32G 29.1 GiB 
[    1.395124] mmcblk0rpmb: mmc1:0001 SEM32G partition 3 4.00 MiB
[    1.396991]  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
[    1.399459] platform fe12f000.slim: Driver ngd_msm_ctrl requests probe deferral
[    1.399810] msm8974-asoc-taiko sound.29: msm8974_asoc_machine_probe(): hdmi audio support present
[    1.400081] platform sound.29: Driver msm8974-asoc-taiko requests probe deferral
[    1.469407] List of all partitions:
[    1.469525] b300        30535680 mmcblk0  driver: mmcblk
[    1.469685]   b301           65536 mmcblk0p1 6ac286ff-5fb2-236c-d3e9-917b64b149c9
[    1.469868]   b302            1024 mmcblk0p2 aaed94eb-a846-32f6-d63a-c497326fc4a2
[    1.470097]   b303             512 mmcblk0p3 f9d20351-2880-d633-2b8f-5157bff12c86
[    1.470192]   b304             512 mmcblk0p4 8049e8d0-fe8a-a2a9-b9e7-5424b526c101
[    1.470387]   b305             512 mmcblk0p5 0ef8793d-7ebb-0991-c86e-f220587483b2
[    1.470518]   b306             512 mmcblk0p6 4eb003fa-7776-7f7c-b527-5a03fce20428
[    1.470692]   b307            2048 mmcblk0p7 b408b3e8-21e2-94a1-6e71-2bcd79828164
[    1.470819]   b308            1024 mmcblk0p8 46404dd5-4451-38da-870f-13bd15c431d0
[    1.471025]   b309             512 mmcblk0p9 5b621e84-acc4-ed28-41c2-3974fce0428e
[    1.471120]   b30a             512 mmcblk0p10 69dda359-8192-cc68-aa57-5a9a0b733f68
[    1.471329]   b30b             512 mmcblk0p11 ae3c492e-15d7-5512-75e5-652a695f4e9d
[    1.471524]   b30c            3072 mmcblk0p12 95861d3a-9d52-13fd-b33e-ec75a3f0dc6c
[    1.471630]   b30d            3072 mmcblk0p13 b37f57c7-f930-f537-e50f-a595eab3f9d1
[    1.471821]   b30e             512 mmcblk0p14 0832c657-183e-bd4b-cf82-c75327f82ce3
[    1.471964]   b30f           16384 mmcblk0p15 c27b087e-04c4-deaf-78b3-2a556da72f16
[    1.472125]   b310           16384 mmcblk0p16 8f2f0f72-3cf5-4fd1-c5d1-44dae4cf7f4e
[    1.472270]   b311            3072 mmcblk0p17 c4ba8633-78ef-39be-c339-dd0a201ad1f0
[    1.472468]   b312           22528 mmcblk0p18 9d64acf8-ced3-0d08-8620-bfd9290795f1
[    1.472578]   b313           22528 mmcblk0p19 4ff6b16d-6f78-1027-11e5-cbb285c73f98
[    1.472725]   b314           22528 mmcblk0p20 8947c0aa-e295-5f54-c4e9-4a7d1407b000
[    1.472872]   b315            3072 mmcblk0p21 bdf3c060-9f1d-56c3-40fd-a0010469048d
[    1.472981]   b316             512 mmcblk0p22 1581e0ad-76c5-9641-a129-6523a0ad65ad
[    1.473128]   b317             512 mmcblk0p23 284d79b7-cacb-5fc7-412f-4b66e1650443
[    1.473277]   b318             512 mmcblk0p24 0f240657-1498-ddcb-e575-bec194976d84
[    1.473385]   b319         1048576 mmcblk0p25 ab6ef94c-5a08-194a-f063-7526c2957829
[    1.473517]   b31a           30720 mmcblk0p26 a4a24d32-12d3-4e81-f667-ec654527f0a1
[    1.473644]   b31b          716800 mmcblk0p27 521d5f28-2668-5bd2-5e02-23ea6ccb3db0
[    1.473738]   b31c        28551146 mmcblk0p28 89b49942-8f65-5f8d-34a5-556406c71586
[    1.473866]   b31d               5 mmcblk0p29 0cdb6f3c-150b-629a-eb31-383b952f3d74
[    1.474005] b320            4096 mmcblk0rpmb  (driver?)
[    1.474093] No filesystem could mount root, tried:  ext3 ext2 ext4 vfat fuseblk
[    1.474407] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.474488] Backtrace: 
[    1.474585] [<c010ba90>] (dump_backtrace+0x0/0x118) from [<c0a0691c>] (dump_stack+0x20/0x24)
[    1.474672]  r6:ed60e01c r5:00008000 r4:c0d1914c r3:00000001
[    1.474887] [<c0a068fc>] (dump_stack+0x0/0x24) from [<c0a07220>] (panic+0xb0/0x220)
[    1.474980] [<c0a07170>] (panic+0x0/0x220) from [<c0f01020>] (mount_block_root+0x2b8/0x2c0)
[    1.475033]  r3:00000012 r2:00000012 r1:ee04ff04 r0:c0d1914c
[    1.475275]  r7:c0d195e8
[    1.475365] [<c0f00d68>] (mount_block_root+0x0/0x2c0) from [<c0f01cfc>] (initrd_load+0xf8/0x368)
[    1.475456] [<c0f01c04>] (initrd_load+0x0/0x368) from [<c0f01294>] (prepare_namespace+0xf0/0x1e0)
[    1.475542]  r8:c0f00268 r7:c10f1340 r6:c10008f4 r5:00000007 r4:c10008f4
[    1.475793] [<c0f011a4>] (prepare_namespace+0x0/0x1e0) from [<c0f00c04>] (kernel_init+0x230/0x238)
[    1.475879]  r6:c10f1340 r5:00000007 r4:c102c998
[    1.476082] [<c0f009d4>] (kernel_init+0x0/0x238) from [<c019b90c>] (do_exit+0x0/0x858)
[    1.476141] CPU1: stopping
[    1.476194] Backtrace: 
[    1.476340] [<c010ba90>] (dump_backtrace+0x0/0x118) from [<c0a0691c>] (dump_stack+0x20/0x24)
[    1.476400]  r6:c102f30c r5:c103b8b0 r4:00000001 r3:4c6a5a9f
[    1.476691] [<c0a068fc>] (dump_stack+0x0/0x24) from [<c010d4ac>] (handle_IPI+0x1c0/0x1d4)
[    1.476796] [<c010d2ec>] (handle_IPI+0x0/0x1d4) from [<c01005c4>] (gic_handle_irq+0xb4/0xf4)
[    1.476861] [<c0100510>] (gic_handle_irq+0x0/0xf4) from [<c01071c0>] (__irq_svc+0x40/0x70)
[    1.476961] Exception stack(0xee0e3ef0 to 0xee0e3f38)
[    1.477059] 3ee0:                                     00000000 83126e97 00000a76 00000000
[    1.477121] 3f00: c22e3540 c10c0d44 00000003 00000c90 c127d330 ee0e2038 c10c0cb8 ee0e3f4c
[    1.477215] 3f20: 00000003 ee0e3f38 c01699e0 c016e798 60000013 ffffffff
[    1.477297]  r8:c127d330 r7:ee0e3f24 r6:ffffffff r5:60000013 r4:c016e798
[    1.477564] [<c016e734>] (msm_cpuidle_enter+0x0/0x6c) from [<c06d83c0>] (cpuidle_enter+0x24/0x28)
[    1.477651]  r4:c22e3540 r3:c016e734
[    1.477788] [<c06d839c>] (cpuidle_enter+0x0/0x28) from [<c06d8a08>] (cpuidle_enter_state+0x28/0x6c)
[    1.477881] [<c06d89e0>] (cpuidle_enter_state+0x0/0x6c) from [<c06d8b38>] (cpuidle_idle_call+0xec/0x364)
[    1.477969]  r5:c10c0d44 r4:c22e3540
[    1.478108] [<c06d8a4c>] (cpuidle_idle_call+0x0/0x364) from [<c010871c>] (cpu_idle+0x8c/0x110)
[    1.478201] [<c0108690>] (cpu_idle+0x0/0x110) from [<c0a0206c>] (secondary_start_kernel+0x17c/0x180)
[    1.478289]  r9:512f06f0 r8:0000406a r7:c10f16d0 r6:ee0e2000 r5:c106e950
[    1.478507] r4:00000001
[    1.478676] [<c0a01ef0>] (secondary_start_kernel+0x0/0x180) from [<00a015d4>] (0xa015d4)
[    1.478730]  r6:10c0387d r5:00000015 r4:51000400 r3:c0a015bc
[    2.479368] Rebooting in 5 seconds..
[    7.480975] Going down for restart now
[    7.483304] Calling SCM to disable SPMI PMIC arbiter```

@tato11
Copy link

tato11 commented Dec 10, 2018

Okay, I found a way to make it boot by basically downgrading both rootfs and halium, and using 6.0.1 (M4B30Z, Dec 2016) factory image as a workaround.

First make sure you have 6.0.1 android on your Nexus 5 (mine is D821), if not, upgrade by updating your devise or flash 6.0.1 (M4B30Z, Dec 2016) stock image directly from google (https://developers.google.com/android/images#hammerhead). It is really important to make sure to follow the exact instructions google gave you in case you decide to flash (basically download, unzip, bootload, then flash-all.sh file on linux BUT follow their instructions!).

Then follow @webwurli workaround (#30 (comment)) to downgrade rootfs on ./pm-flash file like this

    if [ "$2" == "neon" ]; then
        #ROOTFS_VERSION=`curl https://images.plasma-mobile.org/rootfs_stamp 2> /dev/null`
        ROOTFS_VERSION='20180524-110808'

Continue modifying this file and look for HALIUM_VERSION variable a bit down from the ROOTFS_VERSION variable we just modified, and modify it like this:

    # This will change in future
    echo "Downloading the latest boot, recovery, and system images  ... "
    #HALIUM_VERSION=`curl https://images.plasma-mobile.org/halium/$1/halium_stamp 2> /dev/null`
    HALIUM_VERSION='20170623-085147'

Once that is done, you can execute ./pm-flash as @webwurli explained on the post and everything should go smoothly.

I guess Plasma's Hallium newest image broke Nexus 5 compatibility, might need to check latest changes to see what happens, maybe Lineage OS missing commit or something? who knows

Hope you all enjoy your plasma experience as I'm doing right now! xD

@Pinjontall94
Copy link

Pinjontall94 commented Dec 31, 2018

Thank you! Hopefully they update the official build guide with this workaround (or actually just fix the compatibility) soon.

But question: is there a particular firmware version we should be using for D820? Or should we use the neon platform flag with the flash script? At least PM will boot on my device now, but it hangs after I open just 1 or 2 apps.

I believe I’m on the latest 6.0.1, but I’ll reflash just to make sure.

Or is PM really just that buggy?

@Skit81
Copy link

Skit81 commented Jan 5, 2019

my way:

add "sleep 30;" in pm-flash
before

    fastboot boot $CACHEDIR/$1/recovery.img
    wait_for_device

after

    fastboot boot $CACHEDIR/$1/recovery.img
    sleep 30;
    wait_for_device

and replace ROOTFS_VERSION, HALIUM_VERSION

thank @ tato11

if [ "$2" == "neon" ]; then
    #ROOTFS_VERSION=`curl https://images.plasma-mobile.org/rootfs_stamp 2> /dev/null`
    ROOTFS_VERSION='20180524-110808'
echo "Downloading the latest boot, recovery, and system images  ... "
#HALIUM_VERSION=`curl https://images.plasma-mobile.org/halium/$1/halium_stamp 2> /dev/null`
HALIUM_VERSION='20170623-085147'

run pm-flash as root and unmount cache, data in twrp while waiting 30 seconds

wait for the process to complete

profit

@thenomemac
Copy link

confirmed @Skit81 instructions work flawlessly with a stock out of the box refurbished nexus 5. Once you have an unlocked the nexus 5 and turned on the USB debugger then boot into fastboot and exec the following from the terminal after making the changed outlined by @Skit81 👍

sudo fastboot format cache; sudo fastboot format userdata; sudo ./pm-flash

@Rik44444
Copy link

hi all, just wanted to add to this that after reverting to the latest 6.0.1 factory image (i was on 8) using the Google provided factory images, and after using the instructions above (not starting pm-flash as a superuser but as a normal user, so you can deselect the options under "mount" and then add your password), it worked! As soon as i updated the software in Discover though, i ended up in a bootloop, so had to reflash, so probably that's not supported yet (as many other functions, it's still a work in progress, but a great work in progress!)

@bvbfan
Copy link

bvbfan commented Feb 25, 2019

@bhush9 are we still don't have new images?

@magdesign
Copy link

Tried several installs on NEXUS 5 but all ended in a Google logo bootloop....
Tried with first installing:
Android 6
UBports

Any tricks anyone?
I guess the last working image was: 20180524-110808

@thenomemac
Copy link

thenomemac commented Jan 5, 2020 via email

@magdesign
Copy link

@thenomemac
Thanks for your suggestion, tried postmarketOS, but I am failing to build the image for the phone... so no luck on this.

@monosoul
Copy link

monosoul commented Feb 1, 2020

No luck as well

@jbruechert
Copy link
Contributor

The Nexus 5 is not supported by the Plasma Mobile image based on KDE Neon anymore. The Website only mentions the nexus 5X for that reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests