Boot stuck in tlk_daemon - Android Q&A, Help & Troubleshooting

Hello experts !!!
Built android(7.1.2) for Jetson TK1, using shieldtablet opensource binaries. The boot reaches till bootanimation and stays there for a while, then it reboots in a cycle till bootanimation, this process get repeated.
I have provided the log below, meanwhile the adb logcat stops with the messages below and adb shell no longer works.
01-01 00:25:07.690 602 602 E TLK_Daemon: failed to open device: /dev/tlk_device
01-01 00:25:12.735 603 603 E TLK_Daemon: failed to open device: /dev/tlk_device
Comparing the SERIAL LOG and LOGCAT information, the issue seems to come from TLK_DAEMON(not sure though).
There's this particular variable in BoardConfig
# Allow this variable to be overridden to n for non-secure OS build
SECURE_OS_BUILD ?= y
ifeq ($(SECURE_OS_BUILD),y)
SECURE_OS_BUILD := tlk
endif
-Tried setting it to n and built, boot stops before bootanimation.
-When android is built as secure OS (SECURE_OS_BUILD=y ) and the kernel is built with this config symbol CONFIG_TRUSTED_LITTLE_KERNEL=y . The kernel doesn't start at all.
-However when CONFIG_TRUSTED_LITTLE_KERNEL=n, android boots till bootanimation (The process I mentioned earlier ).
Is there any way to build a non-secure OS with shieldtablet binaries ?
Or someway to disable TLK_DAEMON ?
sorry couldn't post the full log, since this is my first post.
BOOT LOG:
[ 17.612341] android_work: sent uevent USB_STATE=CONNECTED
[ 17.615875] android_work: sent uevent USB_STATE=DISCONNECTED
[ 17.740329] android_work: sent uevent USB_STATE=CONNECTED
[ 17.742205] android_usb gadget: high-speed config #1: android
[ 17.742276] tegra-udc tegra-udc.0: connected to SDP
[ 17.742281] tegra-udc tegra-udc.0: notification status (0,1,0) (0x2, 0x2)
[ 17.742356] android_work: sent uevent USB_STATE=CONFIGURED
[ 18.000193] init: Starting service 'media'...
[ 18.005518] init: Starting service 'netd'...
[ 18.010719] init: Service 'logd-reinit' (pid 171) exited with status 0
[ 18.019533] init: Service 'setup_fs' (pid 173) exited with status 0
[ 18.026042] init: Service 'bt_loader' (pid 182) exited with status 0
[ 18.032668] init: Service 'tlk_daemon' (pid 183) exited with status 1
[ 18.039161] init: Service 'tlk_daemon' (pid 183) killing any children in process group
[ 18.047345] init: Service 'eks2_client' (pid 184) exited with status 234
[ 18.054461] init: Starting service 'gatekeeperd'...
[ 18.065623] init: Starting service 'perfprofd'...
[ 18.131387] healthd: No battery devices found
[ 18.135836] healthd: battery l=100 v=0 t=42.4 h=2 st=2 chg=a
[ 18.347651] type=1400 audit(1357005131.414:73): avc: denied { getattr } for pid=304 comm="chown" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.367490] type=1400 audit(1357005131.426:74): avc: denied { getattr } for pid=305 comm="chmod" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.387266] type=1400 audit(1357005131.446:75): avc: denied { getattr } for pid=309 comm="grep" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 18.406915] type=1400 audit(1357005131.472:76): avc: denied { getattr } for pid=312 comm="chown" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.433964] type=1400 audit(1357005131.489:77): avc: denied { getattr } for pid=321 comm="chmod" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.453691] type=1400 audit(1357005131.494:78): avc: denied { getattr } for pid=323 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.485905] type=1400 audit(1357005131.516:79): avc: denied { getattr } for pid=324 comm="chown" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.507194] type=1400 audit(1357005131.539:80): avc: denied { getattr } for pid=328 comm="chmod" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.541901] type=1400 audit(1357005131.542:81): avc: denied { getattr } for pid=330 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.561670] type=1400 audit(1357005131.555:82): avc: denied { getattr } for pid=332 comm="chown" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.581603] type=1400 audit(1357005131.595:83): avc: denied { getattr } for pid=336 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.604342] type=1400 audit(1357005131.610:84): avc: denied { getattr } for pid=334 comm="chmod" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.631617] type=1400 audit(1357005131.624:85): avc: denied { getattr } for pid=340 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.664029] init: Service 'ussr_setup' (pid 185) exited with status 0
[ 18.664042] type=1400 audit(1357005131.650:86): avc: denied { getattr } for pid=344 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.664192] type=1400 audit(1357005131.683:87): avc: denied { getattr } for pid=350 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.664351] type=1400 audit(1357005131.691:88): avc: denied { getattr } for pid=347 comm="grep" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 18.664503] type=1400 audit(1357005131.710:89): avc: denied { getattr } for pid=354 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.664648] type=1400 audit(1357005131.719:90): avc: denied { getattr } for pid=351 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:ussr_setup:s0 tcontext=ubject_r:rootfs:s0 tclass=l0
[ 18.664798] type=1400 audit(1357005131.726:91): avc: denied { getattr } for pid=356 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.792378] type=1400 audit(1357005131.858:92): avc: denied { getattr } for pid=372 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:set_hwui:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 18.810004] audit: audit_lost=29 audit_rate_limit=20 audit_backlog_limit=64
[ 18.810007] audit: rate limit exceeded
[ 18.826679] init: Service 'set_hwui_params' (pid 180) exited with status 0
[ 19.200741] init: Starting service 'bootanim'...
[ 19.205365] tegradc tegradc.0: unblank
[ 19.346162] CPU3: unable to kill
[ 19.457901] type=1400 audit(1357005132.524:95): avc: denied { getattr } for pid=460 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=0
[ 19.489410] type=1400 audit(1357005132.556:96): avc: denied { getattr } for pid=464 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 19.510796] type=1400 audit(1357005132.568:97): avc: denied { getattr } for pid=466 comm="ls" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_f0
[ 19.531785] type=1400 audit(1357005132.598:98): avc: denied { getattr } for pid=467 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 19.552476] type=1400 audit(1357005132.613:99): avc: denied { getattr } for pid=473 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 19.746283] CPU3: unable to kill
[ 19.838338] tegradc tegradc.0: blank - powerdown
[ 19.861535] tegradc tegradc.0: unblank
[ 19.862025] tegradc tegradc.0: Dev node doesn't have avdd_hdmi supply props
[ 19.862027] ------------[ cut here ]------------
[ 19.862037] WARNING: at drivers/regulator/core.c:1548 regulator_dev_lookup+0x13c/0x274()
[ 19.862040] Modules linked in:
[ 19.862044] CPU: 0 PID: 176 Comm: surfaceflinger Tainted: G W 3.10.96-nvidia-jetson-tk1 #2
[ 19.862056] [<c0016fc4>] (unwind_backtrace+0x0/0x13c) from [<c0013278>] (show_stack+0x18/0x1c)
[ 19.862064] [<c0013278>] (show_stack+0x18/0x1c) from [<c003c130>] (warn_slowpath_common+0x5c/0x74)
[ 19.862070] [<c003c130>] (warn_slowpath_common+0x5c/0x74) from [<c003c1fc>] (warn_slowpath_null+0x24/0x2c)
[ 19.862076] [<c003c1fc>] (warn_slowpath_null+0x24/0x2c) from [<c03f3e28>] (regulator_dev_lookup+0x13c/0x274)
[ 19.862083] [<c03f3e28>] (regulator_dev_lookup+0x13c/0x274) from [<c03f4f7c>] (_regulator_get+0x58/0x1cc)
[ 19.862089] [<c03f4f7c>] (_regulator_get+0x58/0x1cc) from [<c039ccac>] (dc_hdmi_out_enable+0x90/0x148)
[ 19.862097] [<c039ccac>] (dc_hdmi_out_enable+0x90/0x148) from [<c038714c>] (_tegra_dc_controller_enable+0x58/0x14c4)
[ 19.862103] [<c038714c>] (_tegra_dc_controller_enable+0x58/0x14c4) from [<c0388620>] (_tegra_dc_enable+0x68/0xa0)
[ 19.862108] [<c0388620>] (_tegra_dc_enable+0x68/0xa0) from [<c03888b0>] (tegra_dc_enable+0xf8/0x100)
[ 19.862114] [<c03888b0>] (tegra_dc_enable+0xf8/0x100) from [<c03dbd40>] (tegra_fb_blank+0xdc/0x150)
[ 19.862119] [<c03dbd40>] (tegra_fb_blank+0xdc/0x150) from [<c033f028>] (fb_blank+0x5c/0xb0)
[ 19.862124] [<c033f028>] (fb_blank+0x5c/0xb0) from [<c033f8a8>] (do_fb_ioctl+0x328/0x684)
[ 19.862130] [<c033f8a8>] (do_fb_ioctl+0x328/0x684) from [<c013c088>] (do_vfs_ioctl+0x408/0x5d4)
[ 19.862136] [<c013c088>] (do_vfs_ioctl+0x408/0x5d4) from [<c013c2ec>] (SyS_ioctl+0x98/0x1a0)
[ 19.862141] [<c013c2ec>] (SyS_ioctl+0x98/0x1a0) from [<c000f200>] (ret_fast_syscall+0x0/0x38)
[ 19.862144] ---[ end trace 1b75b31a2719ed25 ]---
[ 19.862203] tegradc tegradc.0: Dev node doesn't have avdd_hdmi_pll supply props
[ 19.862205] ------------[ cut here ]------------
[ 19.862210] WARNING: at drivers/regulator/core.c:1548 regulator_dev_lookup+0x13c/0x274()
[ 19.862212] Modules linked in:
[ 19.862215] CPU: 0 PID: 176 Comm: surfaceflinger Tainted: G W 3.10.96-nvidia-jetson-tk1 #2
[ 19.862222] [<c0016fc4>] (unwind_backtrace+0x0/0x13c) from [<c0013278>] (show_stack+0x18/0x1c)
[ 19.862228] [<c0013278>] (show_stack+0x18/0x1c) from [<c003c130>] (warn_slowpath_common+0x5c/0x74)
[ 19.862233] [<c003c130>] (warn_slowpath_common+0x5c/0x74) from [<c003c1fc>] (warn_slowpath_null+0x24/0x2c)
[ 19.862239] [<c003c1fc>] (warn_slowpath_null+0x24/0x2c) from [<c03f3e28>] (regulator_dev_lookup+0x13c/0x274)
[ 19.862245] [<c03f3e28>] (regulator_dev_lookup+0x13c/0x274) from [<c03f4f7c>] (_regulator_get+0x58/0x1cc)
[ 19.862250] [<c03f4f7c>] (_regulator_get+0x58/0x1cc) from [<c039ccec>] (dc_hdmi_out_enable+0xd0/0x148)
[ 19.862256] [<c039ccec>] (dc_hdmi_out_enable+0xd0/0x148) from [<c038714c>] (_tegra_dc_controller_enable+0x58/0x14c4)
[ 19.862262] [<c038714c>] (_tegra_dc_controller_enable+0x58/0x14c4) from [<c0388620>] (_tegra_dc_enable+0x68/0xa0)
[ 19.862267] [<c0388620>] (_tegra_dc_enable+0x68/0xa0) from [<c03888b0>] (tegra_dc_enable+0xf8/0x100)
[ 19.862273] [<c03888b0>] (tegra_dc_enable+0xf8/0x100) from [<c03dbd40>] (tegra_fb_blank+0xdc/0x150)
[ 19.862277] [<c03dbd40>] (tegra_fb_blank+0xdc/0x150) from [<c033f028>] (fb_blank+0x5c/0xb0)
[ 19.862280] [<c033f028>] (fb_blank+0x5c/0xb0) from [<c033f8a8>] (do_fb_ioctl+0x328/0x684)
[ 19.862285] [<c033f8a8>] (do_fb_ioctl+0x328/0x684) from [<c013c088>] (do_vfs_ioctl+0x408/0x5d4)
[ 19.862314] [<c013c088>] (do_vfs_ioctl+0x408/0x5d4) from [<c013c2ec>] (SyS_ioctl+0x98/0x1a0)
[ 19.862319] [<c013c2ec>] (SyS_ioctl+0x98/0x1a0) from [<c000f200>] (ret_fast_syscall+0x0/0x38)
[ 19.862322] ---[ end trace 1b75b31a2719ed26 ]---
[ 19.863945] tegradc tegradc.0: nominal-pclk:148500000 parent:594000000 div:4.0 pclk:148500000 147015000~161865000
[ 20.245921] nvhdcp: link verified!
[ 20.328526] CPU3: unable to kill
[ 20.368067] CPU2: unable to kill
[ 20.527061] CPU1: unable to kill
[ 21.567959] type=1400 audit(1357005134.634:100): avc: denied { getattr } for pid=569 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 21.624625] type=1400 audit(1357005134.681:101): avc: denied { getattr } for pid=570 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 21.649339] type=1400 audit(1357005134.712:102): avc: denied { getattr } for pid=571 comm="ls" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 21.679139] type=1400 audit(1357005134.745:103): avc: denied { getattr } for pid=572 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 21.703807] type=1400 audit(1357005134.770:104): avc: denied { getattr } for pid=575 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 21.784378] CPU3: unable to kill
[ 21.864165] CPU2: unable to kill
[ 21.950399] CPU1: unable to kill
[ 22.229558] init: Starting service 'tlk_daemon'...
[ 22.242494] init: Service 'tlk_daemon' (pid 579) exited with status 1
[ 22.253958] init: Service 'tlk_daemon' (pid 579) killing any children in process group
[ 23.721589] type=1400 audit(1357005136.788:105): avc: denied { getattr } for pid=580 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 23.744310] type=1400 audit(1357005136.810:106): avc: denied { getattr } for pid=581 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 23.783015] type=1400 audit(1357005136.849:107): avc: denied { getattr } for pid=582 comm="ls" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk_0
[ 23.817266] type=1400 audit(1357005136.883:108): avc: denied { getattr } for pid=583 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 23.849830] type=1400 audit(1357005136.916:109): avc: denied { getattr } for pid=586 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 24.150339] CPU3: unable to kill
[ 24.230425] CPU2: unable to kill
[ 24.370314] CPU1: unable to kill
[ 25.881747] type=1400 audit(1357005138.948:110): avc: denied { getattr } for pid=587 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 25.933957] type=1400 audit(1357005138.991:111): avc: denied { getattr } for pid=588 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 25.954218] type=1400 audit(1357005139.000:112): avc: denied { getattr } for pid=589 comm="log" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 25.976324] type=1400 audit(1357005139.042:113): avc: denied { getattr } for pid=590 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 25.996335] type=1400 audit(1357005139.054:114): avc: denied { getattr } for pid=591 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 26.016403] type=1400 audit(1357005139.066:115): avc: denied { getattr } for pid=592 comm="setprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 26.037536] type=1400 audit(1357005139.104:116): avc: denied { getattr } for pid=593 comm="getprop" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass0
[ 26.057768] type=1400 audit(1357005139.104:117): avc: denied { getattr } for pid=596 comm="touch" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=l0
[ 26.077875] type=1400 audit(1357005139.124:118): avc: denied { getattr } for pid=597 comm="chown" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=l0
[ 26.097932] type=1400 audit(1357005139.124:119): avc: denied { getattr } for pid=598 comm="touch" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=l0
[ 26.106270] init: Service 'wifiloader' (pid 161) exited with status 0
[ 26.124410] type=1400 audit(1357005139.144:120): avc: denied { getattr } for pid=599 comm="chown" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=l0
[ 26.144190] type=1400 audit(1357005139.144:121): avc: denied { getattr } for pid=600 comm="cmp" path="/vendor" dev="rootfs" ino=6976 scontext=u:r:wifi_loader:s0 tcontext=ubject_r:rootfs:s0 tclass=lnk0
[ 26.258456] CPU3: unable to kill
[ 26.338135] CPU2: unable to kill
[ 26.458311] CPU1: unable to kill
[ 27.107491] init: Starting service 'tlk_daemon'...
[ 27.124910] init: Service 'tlk_daemon' (pid 601) exited with status 1
[ 27.131557] init: Service 'tlk_daemon' (pid 601) killing any children in process group
[ 32.152562] init: Starting service 'tlk_daemon'...
[ 32.174205] init: Service 'tlk_daemon' (pid 602) exited with status 1
[ 32.182700] init: Service 'tlk_daemon' (pid 602) killing any children in process group
[ 37.205623] init: Starting service 'tlk_daemon'...
[ 37.212594] init: Service 'tlk_daemon' (pid 603) exited with status 1
[ 37.219065] init: Service 'tlk_daemon' (pid 603) killing any children in process group
[ 37.662679] CPU3: unable to kill
[ 37.703433] CPU2: unable to kill
[ 37.747546] CPU1: unable to kill
[ 37.771129] android_work: sent uevent USB_STATE=DISCONNECTED
[ 37.843610] CPU2: unable to kill
[ 37.873924] android_work: sent uevent USB_STATE=CONNECTED
[ 37.879960] android_work: sent uevent USB_STATE=DISCONNECTED
[ 37.930559] CPU1: unable to kill
[ 38.001376] android_work: sent uevent USB_STATE=CONNECTED
[ 38.006937] android_usb gadget: high-speed config #1: android
[ 38.025141] android_work: sent uevent USB_STATE=CONFIGURED
[ 39.358295] mmc2: Timeout waiting for hardware interrupt.
[ 39.363682] sdhci: ================== REGISTER DUMP (mmc2)==================
[ 39.370715] sdhci: Sys addr[0x000]: 0x00000000 | Version[0x0fe]: 0x00000303
[ 39.377748] sdhci: Blk size[0x004]: 0x00000000 | Blk cnt[0x006]: 0x00000000
[ 39.384779] sdhci: Argument[0x008]: 0x00000c00 | Trn mode[0x00c]: 0x00000000
[ 39.391810] sdhci: Present[0x024]: 0x01fb00f1 | Host ctl[0x028]: 0x00000001
[ 39.398840] sdhci: Power[0x029]: 0x0000000f | Blk gap[0x02a]: 0x00000000
[ 39.405871] sdhci: Wake-up[0x02b]: 0x00000000 | Clock[0x02c]: 0x00000405
[ 39.412902] sdhci: Timeout[0x02e]: 0x00000000 | Int stat[0x030]: 0x00000000
[ 39.419934] sdhci: Int enab[0x034]: 0x00ff0003 | Sig enab[0x038]: 0x00fc0003
[ 39.426965] sdhci: AC12 err[0x03c]: 0x00000000 | Slot int[0x0fc]: 0x00000000
[ 39.433995] sdhci: Caps[0x040]: 0x376fd080 | Caps_1[0x044]: 0x10002f73
[ 39.441026] sdhci: Cmd[0x00e]: 0x0000341a | Max curr[0x048]: 0x00000000
[ 39.448054] sdhci: Host ctl2[0x03e]: 0x00003000
[ 39.452571] sdhci: ADMA Err[0x054]: 0x00000000 | ADMA Ptr[0x058]: 0x00000000
[ 39.459601] sdhci: Tap value: 0 | Trim value: 2
[ 39.464116] sdhci: SDMMC Interrupt status: 0x00000000
[ 39.469150] sdhci: =========================================================

Nougat in safe_mode
Succeeded in disabling TLK_DAEMON by not building its prebuilt executable. Now android boots to safe mode and displays the lock screen, but input devices (Mouse and Keyboard) aren't working.
Have read about the strictly enforced verified boot in nougat, but have no idea how to go about debugging the cause for safe mode.
The Log information that shows SAFE MODE
01-01 00:05:40.481: I/WindowManager(592): SAFE MODE ENABLED (menu=0 s=0 dpad=-1 trackball=-1)
It comes from the WindowManager, I tried reading the sources in frameworks directory, but didn't quite understand how things work.
How should one figure out the cause for safe mode, is it due to security issues in kernel or the android part (Sepolicy etc)?
There are couple of errors in the log, should I correct all the errors, does it solve the safeboot problem?
Kindly help !!

Finally solved the safe mode problem, it was enabled as android has sensed the volume down state as high, this state is one of conditions which determines if safemode is set, though there is no volume buttons in the board somehow the code reads it as high. Anyways the system hangs in lock-screen and keeps rebooting.
SOURCE CODE
WindowMangerService.java
mSafeMode = menuState > 0 || sState > 0 || dpadState > 0 || trackballState > 0 || volumeDownState > 0;
Just removed the volume down condition.
Any ideas on why android freezes in lock-screen everytime it boots ?

Working Nougat in jetson-tk1
Solved the system hang, the issue was related to SDHCI controller, had to make some changes in the kernel. Simply followed the instructions in this link
https://devtalk.nvidia.com/default/...g-for-hardware-interrupt-solved-with-issues-/
Now have a working android Nougat in jetson-tk1.

RMSprop said:
Working Nougat in jetson-tk1
Solved the system hang, the issue was related to SDHCI controller, had to make some changes in the kernel. Simply followed the instructions in this link
https://devtalk.nvidia.com/default/...g-for-hardware-interrupt-solved-with-issues-/
Now have a working android Nougat in jetson-tk1.
Click to expand...
Click to collapse
Any chance to get the link to this treasure?

Related

Destiny App - Logcat (Q?)

Anyone have any idea what is causing this crash? Here is the pertinent part of the logcat.
Code:
[ 04-17 11:39:04.962 8084: 8084 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: com.bungieinc.bungiemobile, PID: 8084
java.lang.NullPointerException
at com.bungieinc.bungiemobile.experiences.navdrawer.accountview.NavDrawerDestinyAccountListItem.onItemSelected(NavDrawerDestinyA
at android.widget.AdapterView.fireOnSelected(AdapterView.java:933)
at android.widget.AdapterView.selectionChanged(AdapterView.java:920)
at android.widget.AdapterView.onWindowVisibilityChanged(AdapterView.java:896)
at android.view.View.dispatchAttachedToWindow(View.java:13106)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2491)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2498)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2498)
at android.view.ViewGroup.addViewInner(ViewGroup.java:3656)
at android.view.ViewGroup.addView(ViewGroup.java:3466)
at android.view.ViewGroup.addView(ViewGroup.java:3411)
at android.support.v7.widget.RecyclerView$4.addView(RecyclerView.java:334)
at android.support.v7.widget.ChildHelper.addView(ChildHelper.java:79)
at android.support.v7.widget.RecyclerView$LayoutManager.addViewInt(RecyclerView.java:4955)
at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:4913)
at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:4901)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1320)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1269)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:523)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:1988)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:2237)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:914)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2075)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1832)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1057)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5857)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:815)
at android.view.Choreographer.doCallbacks(Choreographer.java:628)
at android.view.Choreographer.doFrame(
[ 04-17 11:39:04.962 8084: 8084 I/AndroidRuntime ]
To Report FATAL to activityManagerService
[ 04-17 11:39:04.972 931: 1478 I/ActivityManager ]
handleApplicationCrash
[ 04-17 11:39:05.002 931: 1478 W/ActivityManager ]
Force finishing activity com.bungieinc.bungiemobile/.experiences.root.RootActivity
[ 04-17 11:39:05.012 931: 8154 I/ActivityManager ]
addErrorToDropBox inserted hashcode=54b01b36e8c1610968de29744a9d843a595cb67f.
[ 04-17 11:39:05.092 8084: 8084 I/Process ]
Sending signal. PID: 8084 SIG: 9
[ 04-17 11:39:05.092 8084: 8084 I/AndroidRuntime ]
Finished reporting FATAL to activityManagerService
[ 04-17 11:39:05.102 931: 1683 I/WindowState ]
WIN DEATH: Window{428e92b8 u0 com.bungieinc.bungiemobile/com.bungieinc.bungiemobile.experiences.root.RootActivity}
[ 04-17 11:39:05.102 931: 1685 I/ActivityManager ]
Process com.bungieinc.bungiemobile (pid 8084) has died.
[ 04-17 11:39:05.122 931: 1685 D/AmazonTransitionManager ]
openingActivityName = com.amazon.kindle.otter.activities.AppsLibraryActivity, animationType = FADE
[ 04-17 11:39:05.162 931: 1686 W/InputMethodManagerService ]
Got RemoteException sending setActive(false) notification to pid 8084 uid 10068

Porting Boot.img for MT6753 yields SELinux Errors

I am trying to port a rom for MT6753 to another MT6753 device.
1. Pulled boot.img from both devices and unpacked it.
2. Replace zImage and repacked
3. Pulled system from both devices
4. Flash modified boot image and modified system image.
5. Device boot loop at kernel logo, its never made it to the boot animation
I tried to add in a kernel command line to set the kernel to permissive mode but that didn't work either. Basically every system services fail to start due to SELinux. Can someone point me into the right direction?
Here is a snippet of the error:
Code:
[ 18.858085]<0> (0)[1:init]init: starting 'logd'
[ 18.859407]<0> (0)[1:init]init: starting 'healthd'
[ 18.861050]<0> (0)[1:init]init: Warning! Service lmkd needs a SELinux domain defined; please fix!
[ 18.861109]<0> (0)[1:init]init: starting 'lmkd'
[ 18.862705]<0> (0)[1:init]init: Warning! Service servicemanager needs a SELinux domain defined; please fix!
[ 18.862764]<0> (0)[1:init]init: starting 'servicemanager'
[ 18.864314]<0> (0)[1:init]init: Warning! Service vold needs a SELinux domain defined; please fix!
[ 18.864370]<0> (0)[1:init]init: starting 'vold'
[ 18.865946]<0> (0)[1:init]init: Warning! Service netd needs a SELinux domain defined; please fix!
[ 18.866003]<0> (0)[1:init]init: starting 'netd'
[ 18.871492]<0>-(0)[397:init]audit_printk_skb: 78 callbacks suppressed
[ 18.871542]<0> (0)[397:init]type=1400 audit(1458538708.960:161): avc: denied { execute } for pid=397 comm="init" name="logd" dev="mmcblk0p20" ino=736 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.871647]<0> (0)[397:init]init: cannot execve('/system/bin/logd'): Permission denied
[ 18.877051]<0> (0)[399:init]type=1400 audit(1458538708.960:162): avc: denied { execute } for pid=399 comm="init" name="lmkd" dev="mmcblk0p20" ino=731 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.877154]<0> (0)[399:init]init: cannot execve('/system/bin/lmkd'): Permission denied
[ 18.877884]<0> (0)[400:init]type=1400 audit(1458538708.970:163): avc: denied { execute } for pid=400 comm="init" name="servicemanager" dev="mmcblk0p20" ino=831 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.877912]<0> (0)[400:init]init: cannot execve('/system/bin/servicemanager'): Permission denied
[ 18.878539]<0> (0)[401:init]type=1400 audit(1458538708.970:164): avc: denied { execute } for pid=401 comm="init" name="vold" dev="mmcblk0p20" ino=867 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.878563]<0> (0)[401:init]init: cannot execve('/system/bin/vold'): Permission denied
[ 18.879377]<0> (0)[398:healthd]binder: read put err 29189 to user 0000007fa502c108, thread error 29189:29185
[ 18.880704]<0> (0)[402:init]type=1400 audit(1458538708.970:165): avc: denied { execute } for pid=402 comm="init" name="netd" dev="mmcblk0p20" ino=778 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.880730]<0> (0)[402:init]init: cannot execve('/system/bin/netd'): Permission denied
[ 18.881022]<0> (0)[1:init]init: Warning! Service debuggerd needs a SELinux domain defined; please fix!
[ 18.881037]<0> (0)[1:init]init: starting 'debuggerd'
[ 18.881591]<0> (0)[1:init]init: Warning! Service debuggerd64 needs a SELinux domain defined; please fix!
[ 18.881605]<0> (0)[1:init]init: starting 'debuggerd64'
[ 18.882052]<0> (0)[1:init]init: Warning! Service surfaceflinger needs a SELinux domain defined; please fix!
[ 18.882066]<0> (0)[1:init]init: starting 'surfaceflinger'
[ 18.882495]<0> (0)[1:init]init: Warning! Service drm needs a SELinux domain defined; please fix!
[ 18.882509]<0> (0)[1:init]init: starting 'drm'
[ 18.882937]<0> (0)[1:init]init: Warning! Service media needs a SELinux domain defined; please fix!
[ 18.882951]<0> (0)[1:init]init: starting 'media'
[ 18.883378]<0> (0)[1:init]init: Warning! Service installd needs a SELinux domain defined; please fix!
[ 18.883393]<0> (0)[1:init]init: starting 'installd'
[ 18.883815]<0> (0)[1:init]init: Warning! Service keystore needs a SELinux domain defined; please fix!
[ 18.883848]<0> (0)[1:init]init: starting 'keystore'
[ 18.884288]<0> (0)[1:init]init: Warning! Service mobile_log_d needs a SELinux domain defined; please fix!
[ 18.884302]<0> (0)[1:init]init: starting 'mobile_log_d'
[ 18.884738]<0> (0)[1:init]init: Warning! Service netdiag needs a SELinux domain defined; please fix!
[ 18.884752]<0> (0)[1:init]init: starting 'netdiag'
[ 18.885175]<0> (0)[1:init]init: Warning! Service aal needs a SELinux domain defined; please fix!
[ 18.885189]<0> (0)[1:init]init: starting 'aal'
[ 18.885694]<0> (0)[1:init]init: Warning! Service autokd needs a SELinux domain defined; please fix!
[ 18.885708]<0> (0)[1:init]init: starting 'autokd'
[ 18.886140]<0> (0)[1:init]init: Warning! Service DMAgent needs a SELinux domain defined; please fix!
[ 18.886154]<0> (0)[1:init]init: starting 'DMAgent'
[ 18.886591]<0> (0)[1:init]init: Warning! Service PPLAgent needs a SELinux domain defined; please fix!
[ 18.886605]<0> (0)[1:init]init: starting 'PPLAgent'
[ 18.887040]<0> (0)[1:init]init: Warning! Service agpsd needs a SELinux domain defined; please fix!
[ 18.887054]<0> (0)[1:init]init: starting 'agpsd'
[ 18.887610]<0> (0)[405:init]type=1400 audit(1458538708.980:166): avc: denied { execute } for pid=405 comm="init" name="surfaceflinger" dev="mmcblk0p20" ino=843 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.887641]<0> (0)[405:init]init: cannot execve('/system/bin/surfaceflinger'): Permission denied
[ 18.887953]<0> (0)[404:init]type=1400 audit(1458538708.980:167): avc: denied { execute } for pid=404 comm="init" name="debuggerd64" dev="mmcblk0p20" ino=669 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.887980]<0> (0)[404:init]init: cannot execve('/system/bin/debuggerd64'): Permission denied
[ 18.888238]<0> (0)[403:init]type=1400 audit(1458538708.980:168): avc: denied { execute } for pid=403 comm="init" name="debuggerd" dev="mmcblk0p20" ino=668 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.888264]<0> (0)[403:init]init: cannot execve('/system/bin/debuggerd'): Permission denied
[ 18.888526]<0> (0)[406:init]type=1400 audit(1458538708.980:169): avc: denied { execute } for pid=406 comm="init" name="drmserver" dev="mmcblk0p20" ino=682 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.888553]<0> (0)[406:init]init: cannot execve('/system/bin/drmserver'): Permission denied
[ 18.888817]<0> (0)[407:init]type=1400 audit(1458538708.980:170): avc: denied { execute } for pid=407 comm="init" name="mediaserver" dev="mmcblk0p20" ino=751 scontext=u:r:init:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[ 18.888842]<0> (0)[407:init]init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 18.889579]<0> (0)[408:init]init: cannot execve('/system/bin/installd'): Permission denied
[ 18.889887]<0> (0)[410:init]init: cannot execve('/system/bin/mobile_log_d'): Permission denied
[ 18.890610]<0> (0)[411:init]init: cannot execve('/system/bin/netdiag'): Permission denied
[ 18.891061]<0> (0)[412:init]init: cannot execve('/system/bin/aal'): Permission denied
[ 18.891349]<0> (0)[413:init]init: cannot execve('/system/bin/autokd'): Permission denied
[ 18.891629]<0> (0)[409:init]init: cannot execve('/system/bin/keystore'): Permission denied
[ 18.891910]<0> (0)[414:init]init: cannot execve('/system/bin/dm_agent_binder'): Permission denied
[ 18.892188]<0> (0)[415:init]init: cannot execve('/system/bin/ppl_agent'): Permission denied
[ 18.893582]<0> (0)[416:init]init: cannot execve('/system/bin/mtk_agpsd'): Permission denied

[ROM][UNOFFICIAL][9.0][i9100] ViperOS V6.3[r35][BETA][20190413]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is ViperOS​
Disclaimer:
We are not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.
"This is a user friendly thread. All feature requests will be heard and considered. I am not against anything that doesn't stray too far away from the original idea of the ROM! Helping one another is also encouraged! Please be respectful and you will always be treated the same way, we are all here for a good experience."
About:
We are a Brazilian team, ViperOS aims to bring stability and useful features. If you are looking for a stable ROM with true tested features, minimal bugs and no Lineage bloatwares, then this is the place to be.
Features:
Added OTA Services updater
Statusbar
QS settings
Clock statusbar settings
Battery style
Carrier label
Network traffic
VoLTE icon toggle
4G/LTE icon toggle
Rounded corner settings
QS for Reboot/Recovery
QS Screenshot full and partial
Recents
Style recents AOSP and QuickStep
Button clear and Membar for recents AOSP
Lockscreen
Face auto unlock
Fingerprint authentication vibration
WheaterClient
Battery info Charging
Ambient music ticker
System
Color engine
theme QS style
Styles switch
Styles clock lockscreen
Buttons and navbar settings
LED battery Charging
LED notifications colors
Power Menu advanced
Fonts packages
Pulse Navbar
VPapers new
Many other customizations, install and take a look
Download:
AFH: Download
GApps:
OpenGapps: OpenGApps
ViperGapps: ViperGApps
​
Credits & Thanks:
All ViperOS Team
LineageOS team
@rINanDO
And all other open source Devs/Teams I may have missed!​
Other links
Telegram channel
Telegram chat discussion
ROM source
Viper Project for i9100
Kernel source​​
XDA:DevDB Information
ViperOS Pie, ROM for the i9100
Contributors
linusdan
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.0.x
Based On: LineageOS
Version Information
Status: Beta
Created 2019-03-15
Last Updated 2019-04-13
EMULATED STORAGE IMPLEMENTED.
DON'T INSTALL BEFORE FOLLOW THESE INSTRUCTIONS!!!
A. Bugs
Did you find a bug or problem?
Make a logcat and put it in pastebin/hastebin. I'll look when I can
You will need a computer, adb installed, usb debugging enabled on the smartphone and a usb cable.
Here's how to do it here.
1. Open Command Prompt (Windows) or Terminal (Linux/macOS).
2. Type:
Code:
adb logcat -d > logcat-dd-mm-yyyy.txt
This will save the log to logcat-dd-mm-yyyy.txt.
B. Magisk
Please do not ask me about compatibility with Magisk.
The i9100 Kernel (3.0.101) does not support namespace to work. Use SuperSU if you want root access.
Changelog
13042019
* Viper v6.3
- Updated sources
- April security patch
- Snap camera inserted again
Fixes by @rINanDO:
* Fixed WiFi HotSpot
* Improvements in SELinux
* Ported FunctionFS to our kernel
* Enabled Call-recording (if allowed by your country)
* Enabled multi-user, because we're on emulated storage
Known issues:
- Slow start after GAPPS installation. Wait 10 minutes before setting up the appliance.
- Camera app is crashing sometimes.
Next build: December.
14032019
* Viper v6.2
- Initial build
Known issues:
Slow start after GAPPS installation. Wait 10 minutes before setting up the appliance.
reserved.
Thanks a lot for the hard works. Definitely will give it try.
The sheer number of ROMS you work on is just insane.That too on our amazing S2.
Dude,
Keep up the work.
Props to You
Root with addon and speaker level problem
Hi,
I am a brazilian and I will tell you in English for all in this group.
1 - Root LineageOS
I have installed 9.0 ViperOS and flashed LineageOS Addon Root ARM 32 bits. I selected root on Developer Options and tried to open a root app, but I hadn't have success on it. It doesn't show permission allow for root at each app and nothing works.
2 - Live speaker low
The second problem I have found is the speaker level when live speaker is active calling somenone. It's very low comparing last 8.1 version LineageOS I have tested.
Thank you very much!
danilomkt said:
Hi,
I am a brazilian and I will tell you in English for all in this group.
1 - Root LineageOS
I have installed 9.0 ViperOS and flashed LineageOS Addon Root ARM 32 bits. I selected root on Developer Options and tried to open a root app, but I hadn't have success on it. It doesn't show permission allow for root at each app and nothing works.
2 - Live speaker low
The second problem I have found is the speaker level when live speaker is active calling somenone. It's very low comparing last 8.1 version LineageOS I have tested.
Thank you very much!
Click to expand...
Click to collapse
Hi!
Thanks for the remarks.
Could it generate the logcat so I can check out with calm?
Instructions are in the second post
While at root, did you try with SuperSU? Maybe it works.
linusdan said:
Hi!
Thanks for the remarks.
Could it generate the logcat so I can check out with calm?
Instructions are in the second post
While at root, did you try with SuperSU? Maybe it works.
Click to expand...
Click to collapse
I will try SuperSU.
Check logcat:
--------- beginning of main
03-21 23:43:40.020 22584 22584 I pal.androidter: type=1400 audit(0.0:1337): avc: denied { read } for name="jit-22584.dump" dev=mmcblk0p10 ino=140238 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:method_trace_data_file:s0:c512,c768 tclass=file permissive=1
03-21 23:43:40.020 22584 22584 I pal.androidter: type=1400 audit(0.0:1338): avc: denied { execute } for path="/data/misc/trace/jit-22584.dump" dev=mmcblk0p10 ino=140238 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:method_trace_data_file:s0:c512,c768 tclass=file permissive=1
03-21 23:43:40.022 22584 22584 W pal.androidter: Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
03-21 23:43:41.123 22584 22611 D vndksupport: Loading /system/lib/egl/libEGL_mali.so from current namespace instead of sphal namespace.
03-21 23:43:41.139 22584 22584 V Term : onCreate
03-21 23:43:41.229 22584 22584 D OpenGLRenderer: Skia GL Pipeline
03-21 23:43:41.280 22614 22614 I RenderThread: type=1400 audit(0.0:1339): avc: denied { read } for name="cpu" dev=sysfs ino=26 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=dir permissive=1
03-21 23:43:41.285 22614 22614 I RenderThread: type=1400 audit(0.0:1340): avc: denied { open } for name="cpu" dev=sysfs ino=26 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=dir permissive=1
03-21 23:43:41.370 22584 22584 D Term : TermService started
03-21 23:43:41.374 22584 22584 I TermService: Activity called onBind()
03-21 23:43:41.401 22584 22584 I Term : Bound to TermService
03-21 23:43:41.401 22584 22584 I TermService: Activity binding to service
03-21 23:43:41.481 22584 22611 D libEGL : loaded /system/lib/egl/libEGL_mali.so
03-21 23:43:41.606 22584 22611 D vndksupport: Loading /system/lib/egl/libGLESv1_CM_mali.so from current namespace instead of sphal namespace.
03-21 23:43:41.609 22584 22611 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
03-21 23:43:41.618 22584 22595 I pal.androidter: Background concurrent copying GC freed 7671(384KB) AllocSpace objects, 5(164KB) LOS objects, 28% free, 1286KB/1798KB, paused 14.110ms total 93.263ms
03-21 23:43:41.620 22616 22616 I sh : type=1400 audit(0.0:1341): avc: denied { search } for name="cpu" dev=sysfs ino=26 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=dir permissive=1
03-21 23:43:41.620 22616 22616 I sh : type=1400 audit(0.0:1342): avc: denied { read } for name="online" dev=sysfs ino=27 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=file permissive=1
03-21 23:43:41.620 22616 22616 I sh : type=1400 audit(0.0:1343): avc: denied { open } for name="online" dev=sysfs ino=27 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=file permissive=1
03-21 23:43:41.805 22584 22584 I libjackpal-androidterm: JNI_OnLoad
03-21 23:43:42.008 22584 22626 I Term : waiting for: 22616
03-21 23:43:42.023 22584 22611 D vndksupport: Loading /system/lib/egl/libGLESv2_mali.so from current namespace instead of sphal namespace.
03-21 23:43:42.025 22584 22611 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
03-21 23:43:42.299 22584 22614 E : Device driver API match
03-21 23:43:42.299 22584 22614 E : Device driver API version: 29
03-21 23:43:42.299 22584 22614 E : User space API version: 29
03-21 23:43:42.299 22584 22614 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
03-21 23:43:42.323 22584 22614 D vndksupport: Loading /vendor/lib/hw/gralloc.exynos4.so from current namespace instead of sphal namespace.
03-21 23:43:42.396 22584 22614 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
03-21 23:43:42.396 22584 22614 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-21 23:43:42.396 22584 22614 I OpenGLRenderer: Initialized EGL, version 1.4
03-21 23:43:42.397 22584 22614 D OpenGLRenderer: Swap behavior 1
03-21 23:43:42.525 22614 22614 W RenderThread: type=1400 audit(0.0:1345): avc: granted { write } for name="ion" dev=tmpfs ino=1535 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:ion_device:s0 tclass=chr_file
03-21 23:43:42.525 22614 22614 W RenderThread: type=1400 audit(0.0:1346): avc: granted { write } for name="ion" dev=tmpfs ino=1535 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:ion_device:s0 tclass=chr_file
03-21 23:43:42.530 22584 22614 D vndksupport: Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
03-21 23:43:42.532 22584 22614 D vndksupport: Loading /vendor/lib/hw/gralloc.exynos4.so from current namespace instead of sphal namespace.
03-21 23:43:42.736 22584 22614 I OpenGLRenderer: Davey! duration=1310ms; Flags=0, IntendedVsync=6843398097392, Vsync=6843631430716, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=6843634018652, AnimationStart=6843634080861, PerformTraversalsStart=6843634084944, DrawStart=6844520429361, SyncQueued=6844563290861, SyncStart=6844566390736, IssueDrawCommandsStart=6844566672361, SwapBuffers=6844699250736, FrameCompleted=6844711554445, DequeueBufferDuration=0, QueueBufferDuration=596000,
03-21 23:43:43.175 22584 22595 I pal.androidter: Background concurrent copying GC freed 3132(293KB) AllocSpace objects, 0(0B) LOS objects, 25% free, 1505KB/2017KB, paused 3.310ms total 356.415ms
03-21 23:43:57.507 22584 22595 I pal.androidter: Background concurrent copying GC freed 5982(518KB) AllocSpace objects, 0(0B) LOS objects, 27% free, 1370KB/1882KB, paused 223us total 148.321ms
03-21 23:44:27.657 22584 22610 I pal.androidter: Waiting for a blocking GC ProfileSaver
03-21 23:44:27.686 22584 22595 I pal.androidter: Background concurrent copying GC freed 4983(441KB) AllocSpace objects, 0(0B) LOS objects, 27% free, 1365KB/1877KB, paused 14.198ms total 48.977ms
03-21 23:44:27.686 22584 22610 I pal.androidter: WaitForGcToComplete blocked ProfileSaver on HeapTrim for 29.039ms
03-21 23:44:41.990 22814 22814 I ls : type=1400 audit(0.0:1350): avc: denied { read } for name="/" dev=rootfs ino=1 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:rootfs:s0 tclass=dir permissive=1
03-21 23:44:41.990 22814 22814 I ls : type=1400 audit(0.0:1351): avc: denied { open } for name="/" dev=rootfs ino=1 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:rootfs:s0 tclass=dir permissive=1
03-21 23:44:41.990 22814 22814 I ls : type=1400 audit(0.0:1352): avc: denied { getattr } for path="/preload" dev=mmcblk0p12 ino=2 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:unlabeled:s0 tclass=dir permissive=1
03-21 23:44:41.990 22814 22814 I ls : type=1400 audit(0.0:1353): avc: denied { getattr } for path="/efs" dev=mmcblk0p1 ino=2 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:efs_device_file:s0 tclass=dir permissive=1
03-21 23:44:41.990 22814 22814 I ls : type=1400 audit(0.0:1354): avc: denied { getattr } for path="/vndservice_contexts" dev=rootfs ino=1193 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:vndservice_contexts_file:s0 tclass=file permissive=1
03-21 23:44:59.542 22584 22595 I pal.androidter: Background concurrent copying GC freed 3993(397KB) AllocSpace objects, 0(0B) LOS objects, 24% free, 1645KB/2MB, paused 867us total 212.663ms
03-21 23:45:54.050 23045 23045 I logcat : type=1400 audit(0.0:1366): avc: denied { search } for name="cpu" dev=sysfs ino=26 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=dir permissive=1
03-21 23:45:54.050 23045 23045 I logcat : type=1400 audit(0.0:1367): avc: denied { read } for name="online" dev=sysfs ino=27 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=file permissive=1
03-21 23:45:54.050 23045 23045 I logcat : type=1400 audit(0.0:1368): avc: denied { open } for name="online" dev=sysfs ino=27 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=file permissive=1
03-21 23:45:54.050 23045 23045 I logcat : type=1400 audit(0.0:1369): avc: denied { getattr } for path="/sys/devices/system/cpu/online" dev=sysfs ino=27 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=ubject_r:sysfs_cpuinfo:s0 tclass=file permissive=1
danilomkt said:
I will try SuperSU.
Check logcat:
Click to expand...
Click to collapse
Root: works with SuperSU!
Audio with speaker: It will be fixed in the next build
linusdan said:
Root: works with SuperSU!
Audio with speaker: It will be fixed in the next build
Click to expand...
Click to collapse
Don't quote the whole logcat, please! It's horrible on XDA Labs app because it ignores the "hide" tag...
BTW: Thanks for your continuous work and support!
guest4711 said:
Don't quote the whole logcat, please! It's horrible on XDA Labs app because it ignores the "hide" tag...
BTW: Thanks for your continuous work and support!
Click to expand...
Click to collapse
Well remembered! I was sleepy when I did this
I excluded the part. Thank you!
Is this ROM fast?
NEW BUILD IS UP!
Changelogs here.
whitch rom?
Hello,
No I have an older Lineage OS 16. I am not sure if it is bedder to update this, or installing the Viper Rom Whitch one is bedder in performance? I use it with talkback.
Is USB connection as storrage with Windows PC working in viper os?
is the google Assistant working if I Install Gapps nano? Should I use open Gapps or Viper gapps, whitch one of them?
Is OTA (update without flashing) working? I mean for the next update, not for the first installation.
Is it OK to do factory reset, than installing viper rom and than gapps?
Thanks and best regards
Sebastian
Migrate
Hello.
Thank you so much for your work! I used to have your Resurrection Remix Nougat on my i9100 for a couple of years. I want to try Viper OS but have problem with migration. I walk through all steps from the link in your second post but phone wont boot - I end up watching viper tongue-tickling itself for whatever time. I made logcat of the process there is loop of "Failure starting system services" i put it on hastebin.com in the end with /raw/aqapewokib (i can't post links). Maybe you can help with this if you have time. Anyway, thank you for your work!
Thread closed by OP request.

Access Denied finding property "hwservicemanager.ready" - ADM mode (logcat)

Hi dears,
I have a HONOR 7A Build number AUM-L29 8.0.0.153(C185) and in ADB mode the mentioned error message appears repeatedly.
Could you help me how I can solve this case?
Thanks
You could logcat details in below:
11-13 15:05:29.602 895 895 W chargemonitor: type=1400 audit(0.0:123739): avc: denied { read } for name="ubject_r:hwservicemanager_prop:s0" dev="tmpfs" ino=682 scontext=u:r:chargemonitor:s0 tcontext=ubject_r:hwservicemanager_prop:s0 tclass=file permissive=0
11-13 15:05:29.605 895 895 W /system/bin/chargemonitor: Waited for hwservicemanager.ready for a second, waiting another...
11-13 15:05:29.605 895 895 E libc : Access denied finding property "hwservicemanager.ready"
11-13 15:05:29.606 895 895 E libc : Access denied finding property "hwservicemanager.ready"
11-13 15:05:29.602 895 895 W chargemonitor: type=1400 audit(0.0:123740): avc: denied { read } for name="ubject_r:hwservicemanager_prop:s0" dev="tmpfs" ino=682 scontext=u:r:chargemonitor:s0 tcontext=ubject_r:hwservicemanager_prop:s0 tclass=file permissive=0
11-13 15:05:30.605 895 895 W /system/bin/chargemonitor: Waited for hwservicemanager.ready for a second, waiting another...
11-13 15:05:30.602 895 895 W chargemonitor: type=1400 audit(0.0:123741): avc: denied { read } for name="ubject_r:hwservicemanager_prop:s0" dev="tmpfs" ino=682 scontext=u:r:chargemonitor:s0 tcontext=ubject_r:hwservicemanager_prop:s0 tclass=file permissive=0
11-13 15:05:30.606 895 895 E libc : Access denied finding property "hwservicemanager.ready"
11-13 15:05:30.606 895 895 E libc : Access denied finding property "hwservicemanager.ready"
11-13 15:05:30.602 895 895 W chargemonitor: type=1400 audit(0.0:123742): avc: denied { read } for name="ubject_r:hwservicemanager_prop:s0" dev="tmpfs" ino=682 scontext=u:r:chargemonitor:s0 tcontext=ubject_r:hwservicemanager_prop:s0 tclass=file permissive=0
11-13 15:05:31.606 895 895 W chargemonitor: type=1400 audit(0.0:123743): avc: denied { read } for name="ubject_r:hwservicemanager_prop:s0" dev="tmpfs" ino=682 scontext=u:r:chargemonitor:s0 tcontext=ubject_r:hwservicemanager_prop:s0 tclass=file permissive=0
11-13 15:05:31.606 895 895 W chargemonitor: type=1400 audit(0.0:123744): avc: denied { read } for name="ubject_r:hwservicemanager_prop:s0" dev="tmpfs" ino=682 scontext=u:r:chargemonitor:s0 tcontext=ubject_r:hwservicemanager_prop:s0 tclass=file permissive=0
11-13 15:05:31.606 895 895 W /system/bin/chargemonitor: Waited for hwservicemanager.ready for a second, waiting another...
11-13 15:05:31.606 895 895 E libc : Access denied finding property "hwservicemanager.ready"
11-13 15:05:31.606 895 895 E libc : Access denied finding property "hwservicemanager.ready"
[email protected]
تم الإرسال من COR-L29 باستخدام Tapatalk

XT1941-4 (DEEN) stuck on fastboot

Hello, my XT1941-4 got stuck on fastboot. Model is showing only zeros (0000000000), IMEI as well. (see pictures)
Fastboot flash doesn't work maybe because bootloader is LOCKED. Tried to boot it into EDL via test point and blank flash it. Does anyone have any experience with this?
**** Log buffer [000001] 2022-01-18_10:26:13 ****
[ -0.000] Opening device: \\.\COM13
[ -0.000] Detecting device
[ -0.000] ...cpu.id = 70 (0x46)
[ -0.000] ...cpu.sn = 655886582 (0x271808f6)
[ -0.000] Opening singleimage
[ 0.016] Loading package
[ 0.016] ...filename = singleimage.pkg.xml
[ 0.016] Loading programmer
[ 0.016] ...filename = programmer.mbn
[ 0.016] Sending programmer
[ 11.173] ERROR: sahara_download()->IO error
[ 11.173] Check qboot_log.txt for more details
[ 11.173] Total time: 11.173s
[ 11.173]
[ 11.173] qboot version 3.86
[ 11.173]
[ 11.173] DEVICE {
[ 11.173] name = "\\.\COM13",
[ 11.173] flags = "0x64",
[ 11.173] addr = "0x28FD64",
[ 11.173] sahara.current_mode = "0",
[ 11.173] api.buffer = "0x20EF020",
[ 11.173] cpu.serial = "655886582",
[ 11.173] cpu.id = "70",
[ 11.173] cpu.sv_sbl = "0",
[ 11.173] cpu.name = "MSM8953",
[ 11.173] storage.type = "eMMC",
[ 11.173] sahara.programmer = "programmer.mbn",
[ 11.173] api.bnr = "0x2023EE8",
[ 11.173] }
[ 11.173]
[ 11.173]
[ 11.173] Backup & Restore {
[ 11.173] num_entries = 0,
[ 11.173] restoring = "false",
[ 11.173] backup_error = "not started",
[ 11.173] restore_error = "not started",
[ 11.173] }
[ 11.173]
**** Log buffer [000001] 2022-01-19_16:09:20 ****
[ 0.001] Opening device: \\.\COM13
[ 0.002] Detecting device
[ 0.005] ...cpu.id = 70 (0x46)
[ 0.005] ...cpu.sn = 655886582 (0x271808f6)
[ 0.005] Opening singleimage
[ 0.009] Loading package
[ 0.013] ...filename = singleimage.pkg.xml
[ 0.015] Loading programmer
[ 0.017] ...filename = programmer.mbn
[ 0.017] Sending programmer
[ 11.027] ERROR: sahara_download()->IO error
[ 11.028] Check qboot_log.txt for more details
[ 11.028] Total time: 11.031s
[ 11.028]
[ 11.028] qboot version 3.86
[ 11.028]
[ 11.028] DEVICE {
[ 11.028] name = "\\.\COM13",
[ 11.028] flags = "0x64",
[ 11.028] addr = "0x28FD64",
[ 11.028] sahara.current_mode = "0",
[ 11.028] api.buffer = "0x5F3020",
[ 11.028] cpu.serial = "655886582",
[ 11.028] cpu.id = "70",
[ 11.028] cpu.sv_sbl = "0",
[ 11.028] cpu.name = "MSM8953",
[ 11.028] storage.type = "eMMC",
[ 11.028] sahara.programmer = "programmer.mbn",
[ 11.028] api.bnr = "0x4F3EE8",
[ 11.028] }
[ 11.028]
[ 11.028]
[ 11.028] Backup & Restore {
[ 11.028] num_entries = 0,
[ 11.028] restoring = "false",
[ 11.028] backup_error = "not started",
[ 11.028] restore_error = "not started",
[ 11.028] }
[ 11.028]
Click to expand...
Click to collapse

Categories

Resources