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
Related
HI ,
I met a problem, android4.0 is hung on when starting zygote.
E/dalvikvm( 2072): No valid entries found in bootclasspath '/system/framework/am.jar:/system/framework/bmgr.jar:/system/framework/com.android.location.provider.jar:/system/fram'
E/dalvikvm( 2072): VM aborting
[ 11.831907] init: waitpid returned pid 2031, status = 0000000b
[ 11.837980] init: process 'bootanim', pid 2031 exited
[ 14.980098] init: waitpid returned pid 1978, status = 00000000
[ 14.985975] init: process 'zygote', pid 1978 exited
[ 14.990865] init: process 'zygote' killing any children in process group
[ 14.997678] request_suspend_state: wakeup (3->0) at 10790072932 (2012-02-29 07:46:55.428984629 UTC)
[ 15.006766] init: service 'media' is being killed
[ 15.011671] init: starting 'media'
[ 15.015389] init: service 'netd' is being killed
[ 15.020689] init: starting 'netd'
[ 15.024253] init: waitpid returned pid 1974, status = 00000009
[ 15.030087] init: untracked pid 1974 exited
[ 15.034312] init: waitpid returned pid 1980, status = 00000009
[ 15.040156] init: untracked pid 1980 exited
[ 15.044376] init: starting 'zygote'
[ 15.097879] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
[ 15.106738] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
[ 15.147848] init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0'
and adb can only use by the first time, when flash system.img to the system
ICS already ported to Tegra 2 on Vega Tablet - http://forum.xda-developers.com/showthread.php?t=1397204
Does the kernel work on the R ?
Herpderp Defy.
Thanks for the information
well, I have a OEM designed tegra2 phone.
when I decide to port ics to tegra2, I use:
android-tegra-2.6.36 to make zImage, and the kernel working aright.
and ics-4.0.3 's stingray's system.img
at last I met the bugs above.
and thankyou for your link, but I can't download that .
1> if these steps are right?
2> what can I do now?
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
Hi guys, I was wondering if there is a way of finding out what is causing zygote to fail. I can't find anything in logcat, and I can't find anything in dmesg. Strace does not help either. Is there something specific that I can do to track the zygote failure? I currently have a bootanimation loop. Here is a bit of code:
Code:
[ 5.709747] init: Starting service 'adbd'...
[ 5.715148] adb_open
[ 5.715209] adb_bind_config
[ 5.726165] init: Service 'ks_checker' (pid 191) exited with status 0
[ 5.798400] init: Service 'zygote' (pid 206) exited with status 1
[ 5.798614] init: Service 'zygote' (pid 206) killing any children in process group
[ 5.798767] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
[ 5.798950] request_suspend_state: wakeup (3->0) at 5796685029 (2016-07-18 17:25:13.566187353 UTC)
[ 5.799133] init: Service 'media' is being killed...
[ 5.799407] init: Service 'netd' is being killed...
[ 5.800170] init: Service 'media' (pid 196) killed by signal 9
[ 5.800262] init: Service 'media' (pid 196) killing any children in process group
[ 5.800689] init: Service 'netd' (pid 193) killed by signal 9
[ 5.800842] init: Service 'netd' (pid 193) killing any children in process group
[ 5.801330] init: Untracked pid 288 killed by signal 9
Looking forward to some help! Thanks!
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?
So i have a simple but frustrating when i try to open camera app it says can't connect to camera now i know the exact cause of this but don't know how to fix it
the cause is i installed a zip file which was supposed to have the xperia z2 camera app and some different apps from a tutorial on matrudev i cant post the link cause i'm a new user
i have tried uninstalling every package this edited / reinstalling the zip / rebooting the phone multiple times / clearing cache and dalvik / installing different camera apps / installing camera fix magisk modules and none of these work
the phone's model is : Lenovo a6000
Android security patch level : September 5, 2017
baseband version : MPSS.DPM.1.0.1.C1.00093
Kernel version : 3.10.107-Oreo+ [email protected] #1 Mon Oct 18:45:59 IST 2017
Build Number : aosp_6000-userdebug 8.0.0 OPR6. 170623.021 17e6583dde
SELinux status ermissive
Its System-lessly Rooted Using Magisk
I have TWRP Installed
here is a logcat
Code:
[ 10-03 21:25:40.044 14651:14697 E/CAM_CameraDataAdapter ]
Error loading data:/storage/4AC7-1C03/DCIM/Camera/VID_20180919_143234.mp4
[ 10-03 21:25:40.066 14651:14701 W/Adreno-EGL ]
<qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
[ 10-03 21:25:40.142 214: 214 W//system/bin/hwservicemanager ]
getTransportFromManifest: Cannot find entry [email protected]::IMapper in either framework or device manifest, using default transport.
[ 10-03 21:25:40.244 4243: 4291 I/ActivityManager ]
Displayed org.cyanogenmod.snap/com.android.camera.CameraLauncher: +1s732ms
[ 10-03 21:25:40.313 311: 311 I/surfaceflinger ]
type=1400 audit(0.0:1112): avc: denied { read write } for path="/dev/kgsl-3d0" dev="tmpfs" ino=7433 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 10-03 21:25:40.542 11691:14721 I/vfp ]
Launching job OfflineSearchIndexingJob
[ 10-03 21:25:40.542 11691:14721 I/vfc ]
Starting Job(OfflineSearchIndexingJob#1.35) (priority=0)
[ 10-03 21:25:40.547 11691:14722 I/vsr ]
Job(OfflineSearchIndexingJob#1.35) Started new READ_ONLY transaction readtx68 [readDatabaseResultsToIndex]
[ 10-03 21:25:40.554 11691:11809 I/vsr ]
Closing transaction readtx68 [readDatabaseResultsToIndex]: Stats[1 Reads (rows: 1)]
[ 10-03 21:25:40.555 11691:14722 I/mjn ]
Job(OfflineSearchIndexingJob#1.35) Already caught up to the current max write_sequence_id
[ 10-03 21:25:40.556 11691:14722 I/mjn ]
Job(OfflineSearchIndexingJob#1.35) Scheduling next offline search indexing in 60000 ms
[ 10-03 21:25:40.557 11691:14722 I/vfc ]
Job(OfflineSearchIndexingJob#1.35) Finished Job(OfflineSearchIndexingJob#1.35) (14 ms)
[ 10-03 21:25:41.592 320: 1121 D/audio_hw_primary ]
out_standby: enter: stream (0xb0a45980) usecase(1: low-latency-playback)
[ 10-03 21:25:41.764 320: 1121 D/audio_hw_primary ]
disable_audio_route: reset and update mixer path: low-latency-playback
[ 10-03 21:25:41.765 320: 1121 D/hardware_info ]
hw_info_append_hw_type : device_name = speaker
[ 10-03 21:25:41.765 320: 1121 D/audio_hw_primary ]
disable_snd_device: snd_device(2: speaker)
[ 10-03 21:25:41.769 4243: 8864 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:4159)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.536 5798: 5798 I/HwDetectorWithState ]
#performNextHotwordAction action: 0
[ 10-03 21:25:43.537 320: 320 D/audio_hw_primary ]
adev_open_input_stream: enter: sample_rate(16000) channel_mask(0x10) devices(0x80000004) stream_handle(0xb0a30ac0) io_handle(1190)
[ 10-03 21:25:43.539 320:14729 I/AudioFlinger ]
AudioFlinger's thread 0xaee031c0 tid=14729 ready to run
[ 10-03 21:25:43.539 320:14729 D/audio_hw_primary ]
in_standby: enter: stream (0xb0a30ac0) usecase(7: audio-record)
[ 10-03 21:25:43.540 320:14729 D/audio_hw_primary ]
in_standby: enter: stream (0xb0a30ac0) usecase(7: audio-record)
[ 10-03 21:25:43.540 4243: 8865 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.acquireWakeLock(PowerManagerService.java:4131)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:66)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.541 4243: 8865 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.541 320: 6580 E/ ]
Request denied by app op OP_RECORD_AUDIO
[ 10-03 21:25:43.541 320: 6580 E/AudioFlinger ]
openRecord() permission denied: recording not allowed
[ 10-03 21:25:43.541 5798: 5798 E/AudioRecord ]
AudioFlinger could not create record track, status: -1
[ 10-03 21:25:43.541 4243: 8865 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:4159)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.544 4243: 8228 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.acquireWakeLock(PowerManagerService.java:4131)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:66)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.544 4243: 8228 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.545 320: 510 D/audio_hw_primary ]
adev_close_input_stream: enter:stream_handle(0xb0a30ac0)
[ 10-03 21:25:43.545 4243: 8228 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:4159)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.545 320: 510 D/audio_hw_primary ]
in_standby: enter: stream (0xb0a30ac0) usecase(7: audio-record)
[ 10-03 21:25:43.545 5798: 5798 E/AudioRecord-JNI ]
Error creating AudioRecord instance: initialization check failed with status -1.
[ 10-03 21:25:43.545 5798: 5798 E/android.media.AudioRecord ]
Error code -20 when initializing native AudioRecord object.
[ 10-03 21:25:43.545 5798: 5798 E/AudioProvider ]
Failed to initialize AudioRecord
[ 10-03 21:25:43.546 5798: 5798 E/AudioProvider ]
Unable to create audio record
[ 10-03 21:25:43.546 5798: 5798 E/HotwordDetector ]
Unable to create parcel file descriptor
[ 10-03 21:25:43.622 320: 1121 D/audio_hw_primary ]
out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
[ 10-03 21:25:43.623 4243: 8883 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.acquireWakeLock(PowerManagerService.java:4131)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:66)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.624 320: 5994 D/audio_hw_primary ]
start_output_stream: enter: stream(0xb0a45980)usecase(1: low-latency-playback) devices(0x2)
[ 10-03 21:25:43.624 320: 5994 D/audio_hw_primary ]
select_devices: out_snd_device(2: speaker) in_snd_device(0: )
[ 10-03 21:25:43.624 320: 5994 W/msm8916_platform ]
Codec backend bitwidth 16, samplerate 48000
[ 10-03 21:25:43.625 320: 5994 D/hardware_info ]
hw_info_append_hw_type : device_name = speaker
[ 10-03 21:25:43.625 320: 5994 D/audio_hw_primary ]
enable_snd_device: snd_device(2: speaker)
[ 10-03 21:25:43.627 4243: 8883 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.628 4243: 8883 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.632 320: 5994 W/audio_hw_utils ]
audio_extn_utils_update_stream_app_type_cfg: App type could not be selected. Falling back to default
[ 10-03 21:25:43.632 320: 5994 I/audio_hw_primary ]
select_devices Selected apptype: 69936
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_audio_cal, acdb_id = 15, path = 0
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_asm_topology
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_adm_topology
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_audtable
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> AUDIO_SET_AUDPROC_CAL
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_audvoltable
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_afe_cal
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> AUDIO_SET_AFE_CAL
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_hw_delay : acdb_id = 15 path = 0
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
[ 10-03 21:25:43.633 320: 5994 I/audio_hw_utils ]
audio_extn_utils_send_app_type_cfg: PLAYBACK app_type 69936, acdb_dev_id 15, sample_rate 48000
[ 10-03 21:25:43.633 320: 5994 D/audio_hw_primary ]
enable_audio_route: apply mixer and update path: low-latency-playback
[ 10-03 21:25:43.633 320: 5994 D/audio_hw_primary ]
select_devices: done
[ 10-03 21:25:43.675 320: 5994 D/msm8916_platform ]
platform_set_channel_map mixer_ctl_name:Playback Channel Map12
[ 10-03 21:25:43.675 320: 5994 D/msm8916_platform ]
platform_set_channel_map: set mapping(1 2 3 0 0 0 0 0) for channel:2
[ 10-03 21:25:43.675 320: 5994 D/audio_hw_primary ]
start_output_stream: exit
[ 10-03 21:25:43.675 320: 1120 E/FastThread ]
did not receive expected priority boost on time
[ 10-03 21:25:43.679 320: 5994 W/StreamHAL ]
Error from HAL stream in function get_presentation_position: Operation not permitted
[ 10-03 21:25:43.679 320: 5994 W/StreamHAL ]
Error from HAL stream in function get_presentation_position: Operation not permitted
[ 10-03 21:25:43.700 4243: 8879 D/Sensors ]
batch called handle:3 sample_ns:200000000 latency_ns:0
[ 10-03 21:25:43.700 4243: 8879 D/Sensors ]
kxtj9-accel calling driver setDelay 200 ms
[ 10-03 21:25:43.703 14651:14651 V/CAM_UI ]
surfaceDestroyed
[ 10-03 21:25:43.703 311: 5087 E/SurfaceFlinger ]
Failed to find layer (SurfaceView - org.cyanogenmod.snap/com.android.camera.CameraLauncher#0) in layer parent (no-parent).
[ 10-03 21:25:43.704 311: 466 E/SurfaceFlinger ]
Failed to find layer (Background for - SurfaceView - org.cyanogenmod.snap/com.android.camera.CameraLauncher#0) in layer parent (no-parent).
[ 10-03 21:25:43.704 4243: 4324 I/Sensors ]
kxtj9-accel: activate: 0
[ 10-03 21:25:43.704 4243: 4324 D/Sensors ]
activate called handle:3 enable:0
[ 10-03 21:25:43.704 4243: 4324 D/Sensors ]
kxtj9-accel calling driver disable
[ 10-03 21:25:43.706 14651:14651 D/CAM_PhotoModule ]
remove idle handleer in onPause
[ 10-03 21:25:43.707 14651:14651 V/CAM_PhotoModule ]
On pause.
[ 10-03 21:25:43.710 14651:14651 D/LocationManager ]
stopReceivingLocationUpdates
[ 10-03 21:25:43.710 14651:14651 V/CAM_PhotoModule ]
Close camera device.
[ 10-03 21:25:43.799 5853: 5999 W/Adreno-EGL ]
<qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
[ 10-03 21:25:43.860 4243: 8860 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:44.136 4243: 4283 I/ActivityManager ]
Killing 11521:com.whatsapp/u0a95 (adj 904): empty #17
[ 10-03 21:25:44.139 4243: 4283 I/ActivityManager ]
Killing 11034:com.android.chrome/u0a85 (adj 906): empty #18
[ 10-03 21:25:44.176 14651:14651 E/WindowManager ]
android.view.WindowLeaked: Activity com.android.camera.CameraActivity has leaked window [email protected][] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:485)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:92)
at android.app.Dialog.show(Dialog.java:330)
at android.app.AlertDialog$Builder.show(AlertDialog.java:1114)
at com.android.camera.util.CameraUtil.showErrorAndFinish(CameraUtil.java:456)
at com.android.camera.CameraActivity.showOpenCameraErrorDialog(CameraActivity.java:2440)
at com.android.camera.CameraActivity.access$300(CameraActivity.java:127)
at com.android.camera.CameraActivity$2.onDeviceOpenFailure(CameraActivity.java:324)
at com.android.camera.AndroidCameraManagerImpl$CameraOpenErrorCallbackForward$2.run(AndroidCameraManagerImpl.java:1018)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
[ 10-03 21:25:44.225 311: 311 D/SurfaceFlinger ]
Backpressure trigger, skipping transaction & refresh!
[ 10-03 21:25:44.343 4991: 4991 I/RenderThread ]
type=1400 audit(0.0:1114): avc: denied { read write } for path="/dev/kgsl-3d0" dev="tmpfs" ino=7433 scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 10-03 21:25:44.354 4243: 4991 I/OpenGLRenderer ]
Initialized EGL, version 1.4
[ 10-03 21:25:44.354 4243: 4991 D/OpenGLRenderer ]
Swap behavior 1
i couldn't post the whole thing because of limitations