setools-android with sepolicy-inject - Android Software Development

Introduction
In Android 5.0, SELinux is in enforcing mode and sometimes you (or some root application) need to change SELinux policy. There has been only one tool capable of this at runtime - Chainfire's supolicy (part of SuperSU). But this tool is closed source and closed source root apps are great security risk. So I have fixed and enhanced sepolicy-inject from Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK.
Installation instructions
You must have android-ndk installed. Then run:
Code:
git clone https://github.com/xmikos/setools-android.git
cd setools-android
ndk-build
Now you can copy executables from libs/armeabi directory (sepolicy-inject, sesearch and seinfo) to /system/xbin directory on your device.
Usage
Code:
sepolicy-inject -s <source type> -t <target type> -c <class> -p <perm>[,<perm2>,<perm3>,...] [-P <policy file>] [-o <output file>] [-l|--load]
sepolicy-inject -Z type_to_make_permissive [-P <policy file>] [-o <output file>] [-l|--load]
sepolicy-inject -z type_to_make_nonpermissive [-P <policy file>] [-o <output file>] [-l|--load]
For example if you want to allow vdc to write to pseudo-terminal (so you can see replies from vdc command):
Code:
sepolicy-inject -s vdc -t devpts -c chr_file -p read,write -l
Download
Latest binaries for all architectures
Project on GitHub
XDA:DevDB Information
setools-android with sepolicy-inject, Tool/Utility for all devices (see above for details)
Contributors
Mikos, joshua_brindle, Dmitry Podgorny (pasis)
Source Code: https://github.com/xmikos/setools-android
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-08-22
Created 2014-12-19
Last Updated 2017-08-22

Mikos,
hi,
i was wondering if you would go further into depth on the command line options,
specifically can i "piggy-back" supolicy onto sepolicy or can you provide a non-generic example of
how to inject say a static su binary with the proper context [seapp_context,file_context,property_context,service_context]
i would be doing this in a debian arm chroot,
the policy is for samsung galaxy tab 4 8.0 sm-t330nu LP 5.1.1 firmware release.
i'm battling apparently selinux AND knox
my current adventure is outlined here..,
http://forum.xda-developers.com/tab-4/general/sm-lp-5-1-1-supersu-t3160110
i have clone your repo and am downloading either ndk or studio.
thanks
m

moonbutt74 said:
Mikos,
i was wondering if you would go further into depth on the command line options,
specifically can i "piggy-back" supolicy onto sepolicy or can you provide a non-generic example of
how to inject say a static su binary with the proper context [seapp_context,file_context,property_context,service_context]
Click to expand...
Click to collapse
Hello, the syntax is simple, if you want comparison with supolicy, here is one example (taken from my SnooperStopper app):
Code:
supolicy --live 'allow vdc init fifo_file {read write getattr}'
is equivalent to:
Code:
sepolicy-inject -s vdc -t init -c fifo_file -p read,write,getattr -l

Mikos,
thanks i got your toolkit built API 19 armeabi-v7a
seinfo is neat.
okay so i am a bit of a dumb dumb, would be up for jumping in on my thread and helping out.
the problem with supersu seems to be at app_process -> /system/xbin/daemonsu
Code:
F/appproc ( 305): Error changing dalvik-cache ownership : Permission denied
F/libc ( 305): Fatal signal 6 (SIGABRT), code -6 in tid 305 (app_process32_o)
and that's where i'm stuck,
also how do i build these tools fully static if possible ? the deb arm chroot doesn't seem to like them
thanks
m

I have released version 1.1 (with support for allowing multiple SELinux permissions at once). I have also updated binaries (now built for armeabi, armeabi-v7a, mips and x86). You can download them from XDA Developers or GitHub.

moonbutt74 said:
okay so i am a bit of a dumb dumb, would be up for jumping in on my thread and helping out.
the problem with supersu seems to be at app_process -> /system/xbin/daemonsu
Code:
F/appproc ( 305): Error changing dalvik-cache ownership : Permission denied
F/libc ( 305): Fatal signal 6 (SIGABRT), code -6 in tid 305 (app_process32_o)
Click to expand...
Click to collapse
Sorry, I don't know what can be your problem. But have you looked at logcat? You should see exact missing SELinux permissions there...
moonbutt74 said:
also how do i build these tools fully static if possible ? the deb arm chroot doesn't seem to like them
Click to expand...
Click to collapse
These binaries are built static. Or at least static for Android (standard NDK build). Debian in chroot may use different libc or something like that.

Mikos,
hi , thanks again i got sorted on working with the toolkit :good:
i am 33 permissive domains and numerous modified permissions in and still haven't hit on the right one yet, but i'm having fun.
i am guessing file_lnk or a trans permission is what i should be focusing on ?
a quick question, the policy injection is permanent or do i need to script out an init.rc or init.d function ?
i ask because i did an experiment while in recovery with system mounted to restrict/remove a permission/permissive domain and on rebooting to recovery the change stuck, i modified access to sbin and sure enough after rebooting to recovery i could not run the custom utillities i have installed even with root access.
also i can not access allow/neverallow [av rules] rules when using sesearch, is this an intended limitation, or is there some additional code/patching required?
thanks.
m

Nice tool, thanks. Is there a way to inject new source and target types or is it only possible to expand existing contexts?

cloooned said:
Nice tool, thanks. Is there a way to inject new source and target types or is it only possible to expand existing contexts?
Click to expand...
Click to collapse
C,
hi, you can only work with what's in the policy if i'm doing the following correctly
for -s <source type>
Code:
sepolicy-inject -s [COLOR="Red"]hack[/COLOR] -t system -c process -p write -P sepolicy -o sepolicy-UNdead
libsepol.policydb_index_others: security: 1 users, 2 roles, 1331 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 86 classes, 15661 rules, 0 cond rules
source type hack does not exist
Could not add rule
same for -t <target type>
Code:
sepolicy-inject -s shell -t [COLOR="Red"]hack[/COLOR] -c process -p write -P sepolicy -o sepolicy-UNdead
"blah blah"
target type hack does not exist
Could not add rule
NOT the same for -c <class> , with class i was looking through external/sepolicy/security_classes to find a valid class not in policy
# More SE-X Windows stuff
class x_resource # userspace
so
Code:
sepolicy-inject -s shell -t system -c [COLOR="Red"]x_resource[/COLOR] -p write -P sepolicy -o sepolicy-UNdead
libsepol.policydb_index_others: security: 1 users, 2 roles, 1331 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 86 classes, 15661 rules, 0 cond rules
sesearch -A -c x_resource sepolicy-UNdead
Found 1 semantic av rules:
allow shell system_server : [COLOR="Red"]x_resource[/COLOR] write ;
so, again i am probably doing the first two wrong but i'm having a difficult time finding out what valid entries i can attempt
for <source> and <target> that aren't in the policy. <class> was easier as i figured there would be any x_window stuff.
m

Mikos said:
In Android 5.0, SELinux is in enforcing mode and sometimes you (or some root application) need to change SELinux policy. There has been only one tool capable of this at runtime - Chainfire's supolicy (part of SuperSU). But this tool is closed source and closed source root apps are great security risk. So I have fixed and enhanced sepolicy-inject from Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK.
Click to expand...
Click to collapse
Hi and thank you for the awesome tool!
A little question (probably also a dumb one) - will it work if called for init service, user root group root, default init service context?
Something like
Code:
service humble_sepatcher /system/bin/sh /system/xbin/sepolicy-inject "[ [I]parameters go here I suppose ;)[/I] ]"
user root
group root
class core
oneshot
Usecase:
I want to temporarily switch Selinux to Permissive mode very early in the init sequence (adding early initd to a ROM I don't have sources for)
setenforce and "write /sys/fs/selinux/enforce 0" do not work during init (but after the system boots completely and SUperSu finally does its deed, I can do setenforce 0 and enter permissive mode)
Also, since I am rather lame when it comes to Selinux what would be the best way to go about it ? (I suspect that allowing /system/bin/sh and echo to write to /sys/fs/selinux/enforce might be enough, but so far I can't even think of where to start)

Hello @Mikos,
I was wondering if your tool would get an update to support android 6 and policydb version 30. In the attachment is the error I receive.

I made a modification to sepolicy-inject to add a command (sepolicy-inject -R) to revert all the sepolicy changes. It does this by simply loading the original sepolicy in the ramdisk (/sepolicy) without modifying it.
http://pastebin.com/fKTu3FRC

@pittvandewitt I have uploaded new version 1.2 which does support policydb version 30 (Android 6) and also supports 64-bit architectures (arm64-v8a, mips64, x86_64).

Mikos said:
@pittvandewitt I have uploaded new version 1.2 which does support policydb version 30 (Android 6) and also supports 64-bit architectures (arm64-v8a, mips64, x86_64).
Click to expand...
Click to collapse
This is awesome news! Thank you for your work and also for letting me know

Is there anywhere that explains the usage of the injection tools - specifically how to manipulate the commands to achieve your intent? The instructions are limited and my time with selinux has only just begun and I am having a difficult time getting good search results on making the sepolicy changes I need. I specifically need to create an allowance to let a kernel script run at boot. I currently have a kernel script that gets pushed to the system partition during the flash and runs on boot without superSU installed in marshmallow, but on N-preview it does not run and I get sepolicy denials. If anyone can either give me a few pointers on using this tool, or knows of a good guide somewhere for me to get going - it would be much appreciated. TIA.

delete this somehow plz

Hy, everyone
This tool is musthave for the root\kernel devs, but it is so "unfinished"
I have added a few lines of code to make it powerfull and understand tool.
(#) Usage:
Injecting a rule:
./sepolicy-inject -s <source>[,...] -t <target>[,...] -c <class> -p <perm>[,...] [-N] -P <input> [-o <output>] [-v]
Injecting a rule no-audit (AUDITDENY):
./sepolicy-inject -s <source>[,...] -t <target>[,...] -c <class> -p <perm>[,...] -n [-N] -P <inpit> [-o <output>] [-v]
Change a permissive domain to non-permissive:
./sepolicy-inject -z <type> -P <input> [-o <output>] [-v]
Injecting a permissive domain, create new if missing:
./sepolicy-inject -Z <type> -P <input> [-o <output>] [-v]
Add a type attribute to a domain:
./sepolicy-inject -s <type>[,...] -a <attribute>[,...] -P <input> [-o <output>] [-v]
Remove a type attribute from a domain:
./sepolicy-inject -s <type>[,...] -A <attribute>[,...] -P <input> [-o <output>] [-v]
Add a transition source-->target (class) [new]:
./sepolicy-inject -s <source> -t <target> -c <class> -f <new> -P <input> [-o <output>] [-v]
Test a SELinux type exists:
./sepolicy-inject -e -s <type> -P <input> [-v]
Test a SELinux class exists:
./sepolicy-inject -e -c <class> -P <input> [-v]
Test a SELinux type has attribute:
./sepolicy-inject -e -s <type> -a <attribute> -P <input> [-v]
Test a SELinux type missing attribute:
./sepolicy-inject -e -s <type> -A <attribute> -P <input> [-v]
Use -v for verbose
Use -o for output file, rewriting the input file otherwise
Click to expand...
Click to collapse
This way it can work lke this:
.
/sepolicy-inject -s system_server,system_app,untrusted_app -t logd -c dir -p search,add_name,remove_name,open,read,write,getattr,setattr,relabelfrom,relabelto -P sepolicy
./sepolicy-inject -n -s shell -t kernel -c system -p module_request,ipc_info,syslog_console -N -P sepolicy
./sepolicy-inject -s shell -a system_domain,mlstrustedsubject -P sepolicy
./sepolicy-inject -s shell -A trstdomain_no_access_subject -P sepolicy
Click to expand...
Click to collapse
Attaching the source and precompiled cygwin and android binaries

darkmen said:
Hy, everyone
This tool is musthave for the root\kernel devs, but it is so "unfinished"
I have added a few lines of code to make it powerfull and understand tool.
This way it can work lke this:
.
Attaching the source and precompiled cygwin and android binaries
Click to expand...
Click to collapse
Hi, I'm using CM14.1 right now, I am having issue modifying system files, for examples, I am using FasterGPS to modify /system/etc/gps.conf, but FasterGPS failed to modify that file because of selinux is enforcing, because FasterGPS is working normally if I set set selinux is permissive using command setenforce=0 from root shell...
Can I use this setools-android to add rule(s) to selinux policy to allow some certain apps to modify system files without have to manually set selinux as permissive first?
If I can do that using this tool, how do I do it?
I have logcat from the app with selinux=enforce and selinux=policy to compare:
selinux=enforce
Code:
12-10 20:02:49.309 15389 15389 I FasterGPS: Loading /system/etc/gps.conf...
12-10 20:02:49.336 4598 4598 I MicroDetector: Keeping mic open: false
12-10 20:02:49.336 4598 16532 I DeviceStateChecker: DeviceStateChecker cancelled
12-10 20:02:49.337 4598 16514 I AudioController: internalShutdown
12-10 20:02:49.337 4598 16514 I MicrophoneInputStream: mic_close [email protected]
12-10 20:02:49.337 4598 9769 I MicroRecognitionRunner: Stopping hotword detection.
12-10 20:02:49.341 4598 4598 W SearchService: Abort, client detached.
12-10 20:02:49.353 369 369 I MSM-irqbalance: Decided to move IRQ128 from CPU5 to CPU4
12-10 20:02:49.357 1128 16590 D audio_hw_primary: in_standby: enter: stream (0xf6351f80) usecase(7: audio-record)
12-10 20:02:49.390 1128 16590 D audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
12-10 20:02:49.391 1128 16590 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
12-10 20:02:49.391 1128 16590 D audio_hw_primary: disable_snd_device: snd_device(66: voice-rec-mic)
12-10 20:02:49.394 1128 16590 D audio_hw_primary: in_set_parameters: enter: kvpairs=routing=0
12-10 20:02:49.397 1981 2106 I ActivityManager: Displayed org.fastergps/.ui.BaseActivity: +189ms
12-10 20:02:49.403 4598 16533 I MicroRecognitionRunner: Detection finished
12-10 20:02:49.406 1128 1326 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf6351f80)
12-10 20:02:49.406 1128 1326 D audio_hw_primary: in_standby: enter: stream (0xf6351f80) usecase(7: audio-record)
12-10 20:02:49.651 372 372 W SurfaceFlinger: couldn't log to binary event log: overflow.
12-10 20:02:49.883 16740 16740 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:02:49.887 16740 16740 D AndroidRuntime: CheckJNI is OFF
12-10 20:02:49.976 16740 16740 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
12-10 20:02:49.975 16740 16740 W main : type=1400 audit(0.0:207): avc: denied { write } for name="arm64" dev="mmcblk0p31" ino=278530 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
12-10 20:02:49.975 16740 16740 W main : type=1400 audit(0.0:208): avc: denied { write } for name="arm64" dev="mmcblk0p31" ino=278530 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
12-10 20:02:50.025 16740 16740 I Radio-JNI: register_android_hardware_Radio DONE
12-10 20:02:50.042 16740 16740 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:209): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:210): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:211): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:212): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.081 16740 16740 D AndroidRuntime: Shutting down VM
12-10 20:02:52.089 1981 1981 W WindowManager: Attempted to remove non-existing token: [email protected]
12-10 20:02:53.159 3698 3698 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
12-10 20:02:53.197 3698 3698 I LatinIME: Starting input. Cursor position = 0,0
12-10 20:02:53.333 379 379 E VM_BMS : failed to set wake_lock rc=-13
12-10 20:02:53.333 379 379 D VM_BMS : New BMS data - Size=56
12-10 20:02:53.333 379 379 D VM_BMS : Start process_bms_data
12-10 20:02:53.337 379 379 D VM_BMS : For batt_temp=338 fcc_mah=4032
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4196145 batt_temp=338 soc=86
12-10 20:02:53.337 379 379 D VM_BMS : fifo_count=5 acc_count=0
12-10 20:02:53.337 379 379 D VM_BMS : INIT: ocv=4196145 last_ocv=4196145 batt_temp=338 soc=86
12-10 20:02:53.337 379 379 D VM_BMS : For soc=86 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=86 batt_temp=338 rbatt_sf=92
12-10 20:02:53.337 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=110, sf=92 batt_temp=338
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4195968 batt_temp=338 soc=85
12-10 20:02:53.337 379 379 D VM_BMS : FIFO=0 fifo_avg=4.166385 rbatt=0.120000 slope=1.160000 ibatt=0.247261 ocv=4.195968 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.337 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4195738 batt_temp=338 soc=85
12-10 20:02:53.337 379 379 D VM_BMS : FIFO=1 fifo_avg=4.156925 rbatt=0.121000 slope=1.160000 ibatt=0.321717 ocv=4.195738 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195592 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=2 fifo_avg=4.171121 rbatt=0.121000 slope=1.160000 ibatt=0.202844 ocv=4.195592 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195721 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=3 fifo_avg=4.217594 rbatt=0.121000 slope=1.160000 ibatt=-0.181300 ocv=4.195722 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195817 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=4 fifo_avg=4.211973 rbatt=0.121000 slope=1.160000 ibatt=-0.133918 ocv=4.195817 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 I VM_BMS : power_supply_update: ocv_uv=4195817 ibatt=-133918 soc=85 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : End process_bms_data
12-10 20:02:53.338 379 379 E VM_BMS : failed to wake_unlock rc=-13
12-10 20:02:53.540 380 498 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 1 at 43.0 degC
12-10 20:02:53.540 380 498 E ThermalEngine: Unable to set battery charging mitigation to 1
12-10 20:02:54.353 369 369 I MSM-irqbalance: Decided to move IRQ166 from CPU5 to CPU4
12-10 20:02:54.359 11980 13827 I PlayCommon: [497] com.google.android.play.a.g.e(900): Preparing logs for uploading
12-10 20:02:54.360 11980 13827 I PlayCommon: [497] com.google.android.play.a.g.e(902): No file ready to send
12-10 20:02:54.803 11980 12020 I PlayCommon: [444] com.google.android.play.a.g.e(900): Preparing logs for uploading
12-10 20:02:54.804 11980 12020 I PlayCommon: [444] com.google.android.play.a.g.e(902): No file ready to send
12-10 20:02:55.638 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:55.638 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:55.639 3698 3698 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
12-10 20:02:55.640 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:58.920 1981 4461 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
12-10 20:02:59.354 369 369 I MSM-irqbalance: Decided to move IRQ155 from CPU7 to CPU4
12-10 20:03:04.353 369 369 I MSM-irqbalance: Decided to move IRQ215 from CPU7 to CPU6
12-10 20:03:06.102 15389 15389 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:03:06.102 15389 15389 I FasterGPS: Writing gps.conf to private files...
12-10 20:03:06.108 16797 16797 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:03:06.108 16797 16797 W linker : Warning: unable to normalize "null"
12-10 20:03:06.145 15389 15389 I FasterGPS: Remounting for RW...
12-10 20:03:06.149 16807 16807 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:03:06.149 16807 16807 W linker : Warning: unable to normalize "null"
12-10 20:03:06.215 15389 15389 W org.fastergps: type=1400 audit(0.0:213): avc: denied { read } for name="RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0
12-10 20:03:06.225 15389 15389 E RootCommands: Exception
12-10 20:03:06.225 15389 15389 E RootCommands: java.io.FileNotFoundException: /data/local/RootToolsMounts (Permission denied)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.open(Native Method)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.<init>(FileInputStream.java:146)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.<init>(FileInputStream.java:99)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileReader.<init>(FileReader.java:58)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Remounter.getMounts(Remounter.java:173)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Remounter.remount(Remounter.java:66)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Toolbox.remount(Toolbox.java:733)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.fastergps.util.Utils.writeConfig(Utils.java:241)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.fastergps.ui.BaseActivity$2.onPreferenceChange(BaseActivity.java:250)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.Preference.callChangeListener(Preference.java:939)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.ListPreference.onDialogClosed(ListPreference.java:282)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.DialogPreference.onDismiss(DialogPreference.java:402)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1343)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.os.Handler.dispatchMessage(Handler.java:102)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.os.Looper.loop(Looper.java:154)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.app.ActivityThread.main(ActivityThread.java:6126)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.lang.reflect.Method.invoke(Native Method)
12-10 20:03:06.225 15389 15389 E RootCommands: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
12-10 20:03:06.225 15389 15389 E RootCommands: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
12-10 20:03:06.225 15389 15389 E FasterGPS: remount failed!
selinux=permissive
Code:
12-10 20:19:13.707 9292 9292 I FasterGPS: Loading /system/etc/gps.conf...
12-10 20:19:13.774 9292 9324 I Adreno : QUALCOMM build : d842ad3, Ia10634f51b
12-10 20:19:13.774 9292 9324 I Adreno : Build Date : 01/04/16
12-10 20:19:13.774 9292 9324 I Adreno : OpenGL ES Shader Compiler Version: XE031.06.00.05
12-10 20:19:13.774 9292 9324 I Adreno : Local Branch : mybranch17585849
12-10 20:19:13.774 9292 9324 I Adreno : Remote Branch : quic/LA.BR.1.2.6_rb1.7
12-10 20:19:13.774 9292 9324 I Adreno : Remote Branch : NONE
12-10 20:19:13.774 9292 9324 I Adreno : Reconstruct Branch : NOTHING
12-10 20:19:13.780 9292 9324 I OpenGLRenderer: Initialized EGL, version 1.4
12-10 20:19:13.780 9292 9324 D OpenGLRenderer: Swap behavior 1
12-10 20:19:13.851 1277 1305 I ActivityManager: Displayed org.fastergps/.ui.BaseActivity: +459ms
12-10 20:19:13.886 371 371 W SurfaceFlinger: couldn't log to binary event log: overflow.
12-10 20:19:13.919 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 2 at 45.0 degC
12-10 20:19:13.920 388 511 E ThermalEngine: Unable to set battery charging mitigation to 2
12-10 20:19:14.273 9322 9322 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:19:14.277 9322 9322 D AndroidRuntime: CheckJNI is OFF
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:26): avc: denied { execmem } for scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=process permissive=1
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:27): avc: denied { execute } for path="/dev/ashmem" dev="tmpfs" ino=5858 scontext=u:r:zygote:s0 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=1
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:28): avc: denied { execute } for path=2F6465762F6173686D656D2F64616C76696B2D6A69742D636F64652D6361636865202864656C6574656429 dev="tmpfs" ino=85393 scontext=u:r:zygote:s0 tcontext=u:object_r:zygote_tmpfs:s0 tclass=file permissive=1
12-10 20:19:14.448 9322 9322 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
--------- beginning of crash
12-10 20:19:14.471 9328 9328 F libc : CANNOT LINK EXECUTABLE "/system/bin/dex2oat": "/system/lib64/libsigchain.so" is 64-bit instead of 32-bit
12-10 20:19:14.471 9328 9328 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 9328 (dex2oat)
12-10 20:19:14.478 243 243 W : debuggerd: handling request: pid=9328 uid=0 gid=0 tid=9328
12-10 20:19:14.544 9329 9329 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-10 20:19:14.544 9329 9329 F DEBUG : CM Version: '14.1-20161210-NIGHTLY-ido'
12-10 20:19:14.544 9329 9329 F DEBUG : Build fingerprint: 'Xiaomi/cm_ido/ido:7.1.1/NMF26O/40801d0bc7:userdebug/test-keys'
12-10 20:19:14.544 9329 9329 F DEBUG : Revision: '0'
12-10 20:19:14.544 9329 9329 F DEBUG : ABI: 'arm'
12-10 20:19:14.545 9329 9329 F DEBUG : pid: 9328, tid: 9328, name: dex2oat >>> /system/bin/dex2oat <<<
12-10 20:19:14.545 9329 9329 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-10 20:19:14.545 9329 9329 F DEBUG : r0 00000000 r1 00002470 r2 00000006 r3 00000008
12-10 20:19:14.545 9329 9329 F DEBUG : r4 f744258c r5 00000006 r6 f7442534 r7 0000010c
12-10 20:19:14.545 9329 9329 F DEBUG : r8 fff2ea58 r9 00000001 sl fff2ea80 fp f73d0010
12-10 20:19:14.545 9329 9329 F DEBUG : ip 00000002 sp fff2e9f0 lr f7422d5f pc f7423778 cpsr 200f0010
12-10 20:19:14.559 9329 9329 F DEBUG :
12-10 20:19:14.559 9329 9329 F DEBUG : backtrace:
12-10 20:19:14.562 9329 9329 F DEBUG : #00 pc 00046778 /system/bin/linker (__dl_tgkill+12)
12-10 20:19:14.562 9329 9329 F DEBUG : #01 pc 00045d5b /system/bin/linker (__dl_pthread_kill+34)
12-10 20:19:14.562 9329 9329 F DEBUG : #02 pc 0003e0ff /system/bin/linker (__dl_raise+10)
12-10 20:19:14.562 9329 9329 F DEBUG : #03 pc 0003cbbb /system/bin/linker (__dl___libc_android_abort+34)
12-10 20:19:14.562 9329 9329 F DEBUG : #04 pc 0003bb18 /system/bin/linker (__dl_abort+4)
12-10 20:19:14.563 9329 9329 F DEBUG : #05 pc 0003dbfb /system/bin/linker (__dl___libc_fatal+22)
12-10 20:19:14.563 9329 9329 F DEBUG : #06 pc 00009c47 /system/bin/linker (__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockj+3146)
12-10 20:19:14.563 9329 9329 F DEBUG : #07 pc 00008f67 /system/bin/linker (__dl___linker_init+358)
12-10 20:19:14.563 9329 9329 F DEBUG : #08 pc 000027c0 /system/bin/linker (_start+4)
12-10 20:19:14.604 1277 2062 W NativeCrashListener: Couldn't find ProcessRecord for pid 9328
12-10 20:19:14.607 243 243 W : debuggerd: resuming target 9328
12-10 20:19:14.607 243 243 E : debuggerd: failed to send signal 18 to target: No such process
12-10 20:19:14.614 1277 1302 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
12-10 20:19:14.622 9322 9322 W art : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/am.jar --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --no-watch-dog --dex-file=/system/framework/am.jar --oat-fd=11 --oat-location=/data/dalvik-cache/arm64/[email protected]@[email protected] --compiler-filter=speed) because non-0 exit status
12-10 20:19:14.690 9322 9322 I Radio-JNI: register_android_hardware_Radio DONE
12-10 20:19:14.715 9322 9322 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-10 20:19:14.733 370 370 E SELinux : avc: denied { find } for service=activity pid=9322 uid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:activity_service:s0 tclass=service_manager permissive=1
12-10 20:19:14.734 370 370 E SELinux : avc: denied { find } for service=package pid=9322 uid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:package_service:s0 tclass=service_manager permissive=1
12-10 20:19:14.732 9322 9322 I main : type=1400 audit(0.0:29): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
12-10 20:19:14.732 9322 9322 I main : type=1400 audit(0.0:30): avc: denied { transfer } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
12-10 20:19:14.762 3169 3169 I Binder:1277_7: type=1400 audit(0.0:31): avc: denied { call } for scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1
12-10 20:19:14.774 9322 9322 D AndroidRuntime: Shutting down VM
12-10 20:19:16.169 368 368 I MSM-irqbalance: Decided to move IRQ166 from CPU7 to CPU6
12-10 20:19:16.789 1277 1277 W WindowManager: Attempted to remove non-existing token: [email protected]
12-10 20:19:16.979 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm cleared 2 at 43.0 degC
12-10 20:19:16.979 388 511 E ThermalEngine: Unable to set battery charging mitigation to 1
12-10 20:19:18.558 3073 3497 E ctxmgr : [ProducerActiveIntervalImpl]closeActiveInterval: Error: ongoing, trying to close
12-10 20:19:18.593 3073 5394 I PlaceInferenceEngine: [anon] Setup for configuration 105:[]
12-10 20:19:18.593 3073 5394 I PlaceInferenceEngine: [anon] Active modules after start(): 0
12-10 20:19:21.168 368 368 I MSM-irqbalance: Decided to move IRQ155 from CPU7 to CPU6
12-10 20:19:22.869 9292 9292 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:19:22.878 1277 6085 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
12-10 20:19:26.168 368 368 I MSM-irqbalance: Decided to move IRQ57 from CPU7 to CPU6
12-10 20:19:27.781 388 513 I ThermalEngine: Mitigation:CLUSTER[1]:1459200 Khz
12-10 20:19:28.486 9292 9292 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:19:28.486 9292 9292 I FasterGPS: Writing gps.conf to private files...
12-10 20:19:28.493 9371 9371 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.493 9371 9371 W linker : Warning: unable to normalize "null"
12-10 20:19:28.529 9292 9292 I FasterGPS: Remounting for RW...
12-10 20:19:28.532 9381 9381 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.532 9381 9381 W linker : Warning: unable to normalize "null"
12-10 20:19:28.602 9292 9292 I org.fastergps: type=1400 audit(0.0:32): avc: denied { read } for name="RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
12-10 20:19:28.602 9292 9292 I org.fastergps: type=1400 audit(0.0:33): avc: denied { getattr } for path="/data/local/RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
12-10 20:19:28.612 9394 9394 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.613 9394 9394 W linker : Warning: unable to normalize "null"
12-10 20:19:28.702 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 2 at 45.0 degC
12-10 20:19:28.702 388 511 E ThermalEngine: Unable to set battery charging mitigation to 2
12-10 20:19:28.715 9407 9407 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.715 9407 9407 W linker : Warning: unable to normalize "null"
12-10 20:19:28.815 9421 9421 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.815 9421 9421 W linker : Warning: unable to normalize "null"
12-10 20:19:29.039 9438 9438 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:29.039 9438 9438 W linker : Warning: unable to normalize "null"
12-10 20:19:29.122 9292 9292 I FasterGPS: Copying gps.conf from private files to system partition...
12-10 20:19:29.124 9378 9378 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:19:29.128 9378 9378 D AndroidRuntime: CheckJNI is OFF
12-10 20:19:29.161 9292 9292 I FasterGPS: Remounting back to RO...
--------------------- update ---------------------
I try one of your example command I get this error:
Code:
1|ido:/system/xbin # ./sepolicy-inject -e -c untrusted_app -P /sepolicy -v
libsepol.avtab_read_item: more than one specifier
libsepol.avtab_read: failed on entry 100 of 19609
error(s) encountered while parsing configuration
Could not load policy
Failed

Help me please with the rule. I'm having an error when running the APPS.
E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/[email protected]@[email protected][email protected]: Permission denied
E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/[email protected]@[email protected][email protected]: Permission denied
I think "sepolicy-inject" help me.
Andrew.

can u update it to inject into android 7.1.x sepolicy ...

Related

VSCOCAM no longer working on CM13

Installed CM13 (official 28/12 version)
My VSCO Cam can no longer be used; the filters and tools keep on loading without any result
Has anyone else encounter the same problem or know how to resolve it?
Thanks
koboldz said:
Installed CM13 (official 28/12 version)
My VSCO Cam can no longer be used; the filters and tools keep on loading without any result
Has anyone else encounter the same problem or know how to resolve it?
Thanks
Click to expand...
Click to collapse
I'm in the same boat as you. I already have opened a case with them and they are working on it. It was working fine in the 12.1 and when I switched to 13...boom! As of now I'm using Chroma, which is AOSP, and it is fine there.
tranced_ said:
I'm in the same boat as you. I already have opened a case with them and they are working on it. It was working fine in the 12.1 and when I switched to 13...boom! As of now I'm using Chroma, which is AOSP, and it is fine there.
Click to expand...
Click to collapse
Thanks! Will definitely try Chroma when I am tired of waiting!
If you don't mind me asking, through which channel did you open a case with them?
I emailed them: [email protected]. They will get back at you quickly. Not with a solution though. But they will ask you some questions. These are the ones they asked me:
What version of VSCO are you currently running? You can locate this by tapping the menu icon on the lower left corner (three lines) and then selecting "Settings" the version will be displayed on the bottom right corner. Please include the entire version number.
Which Android device are you on?
Please note - we do not support Cyanogenmod OS.
Have you re-downloaded or restored your presets recently or have these been the ones downloaded with the app initially?
What was your Location at the time of downloading?
Do you recall having any interruptions during the download process?
How much storage is available on your device? To locate your storage on your device go to Settings > Storage, if possible send us a screenshot of that available storage screen.
Which presets are not working?
koboldz said:
Thanks! Will definitely try Chroma when I am tired of waiting!
If you don't mind me asking, through which channel did you open a case with them?
Click to expand...
Click to collapse
They replied yesterday saying:
...We are looking into this and one of our Android engineers is completely focused on this restoring issue. Unfortunately this does seem to have to do with that version of CM.
Click to expand...
Click to collapse
While on CM13 I run a logcat:
01-15 10:25:05.564 3565 4763 W System.err: at java.util.concurrent.FutureTa
sk.run(FutureTask.java:237)
01-15 10:25:05.564 3565 4763 W System.err: at java.util.concurrent.ThreadPo
olExecutor.runWorker(ThreadPoolExecutor.java:1113)
01-15 10:25:05.564 3565 4763 W System.err: at java.util.concurrent.ThreadPo
olExecutor$Worker.run(ThreadPoolExecutor.java:588)
01-15 10:25:05.564 3565 4763 W System.err: at java.lang.Thread.run(Thread.j
ava:818)
01-15 10:25:05.565 3565 4763 W CrashlyticsCore: Crashlytics is ignoring a requ
est to log a null exception.
01-15 10:25:07.931 222 706 D audio_hw_primary: disable_audio_route: reset an
d update mixer path: low-latency-playback
01-15 10:25:07.932 222 706 D audio_hw_primary: disable_snd_device: snd_devic
e(2: speaker)
01-15 10:25:25.784 222 706 D audio_hw_primary: out_set_parameters: enter: us
ecase(1: low-latency-playback) kvpairs: routing=2
01-15 10:25:25.787 3565 4744 E BitmapFactory: Unable to decode stream: java.io
.FileNotFoundException: /data/user/0/com.vsco.cam/files/cache/c0c430d0-927a-4543
-83ab-0a59e60d500f_FilterPreview_c1.jpg: open failed: ENOENT (No such file or di
rectory)
01-15 10:25:25.795 222 706 D audio_hw_primary: select_devices: out_snd_devic
e(2: speaker) in_snd_device(0: none)
01-15 10:25:25.795 222 706 D ACDB-LOADER: ACDB -> send_afe_cal
01-15 10:25:25.795 222 706 D audio_hw_primary: enable_snd_device: snd_device
(2: speaker)
01-15 10:25:25.806 222 706 D audio_hw_primary: enable_audio_route: apply and
update mixer path: low-latency-playback
01-15 10:25:25.815 3565 7147 V RenderScript: 0xb8283aa8 Launching thread(s), C
PUs 4
01-15 10:25:25.857 3565 7147 V RenderScript: Successfully loaded runtime: libR
SDriver_adreno.so
01-15 10:25:25.879 3565 7147 E RenderScript: Unable to open shared library (/d
ata/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/librs.processi
ngnew.so): (null)
01-15 10:25:25.931 3565 7147 V RenderScript: Invoking /system/bin/bcc with arg
s '/system/bin/bcc -unroll-runtime -scalarize-load-store -rs-global-info -rs-glo
bal-info-skip-constant -o processingnew -output_path /data/user/0/com.vsco.cam/c
ode_cache/com.android.renderscript.cache -bclib /system/lib/libclcore.bc -mtripl
e armv7-none-linux-gnueabi -load libbccQTI.so -fPIC -embedRSInfo /data/user/0/co
m.vsco.cam/code_cache/com.android.renderscript.cache/processingnew.bc -build-che
cksum 923f43d5'
01-15 10:25:26.071 7161 7161 F libc : Fatal signal 11 (SIGSEGV), code 1, fa
ult addr 0x18 in tid 7161 (bcc)
01-15 10:25:26.071 219 219 I DEBUG : property debug.db.uid not set; NOT wa
iting for gdb.
01-15 10:25:26.071 219 219 I DEBUG : HINT: adb shell setprop debug.db.uid
100000
01-15 10:25:26.071 219 219 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
01-15 10:25:26.172 219 219 F DEBUG : *** *** *** *** *** *** *** *** *** *
** *** *** *** *** *** ***
01-15 10:25:26.172 219 219 F DEBUG : Build fingerprint: 'google/occam/mako
:5.1.1/LMY48M/2167285:user/release-keys'
01-15 10:25:26.173 219 219 F DEBUG : Revision: '0'
01-15 10:25:26.173 651 884 W NativeCrashListener: Couldn't find ProcessRecor
d for pid 7161
01-15 10:25:26.173 219 219 F DEBUG : ABI: 'arm'
01-15 10:25:26.173 219 219 F DEBUG : pid: 7161, tid: 7161, name: bcc >>>
/system/bin/bcc <<<
01-15 10:25:26.173 219 219 E DEBUG : AM write failed: Broken pipe
01-15 10:25:26.173 219 219 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAP
ERR), fault addr 0x18
01-15 10:25:26.176 219 219 F DEBUG : r0 bee6c640 r1 00000018 r2 b8d3
df18 r3 00000002
01-15 10:25:26.176 219 219 F DEBUG : r4 00000018 r5 00000018 r6 b8d3
df18 r7 b8d3df79
01-15 10:25:26.176 219 219 F DEBUG : r8 b8d4889c r9 bee6c774 sl b8d4
6c88 fp bee6c748
01-15 10:25:26.176 219 219 F DEBUG : ip b6e2ea30 sp bee6c628 lr b6be
2c4d pc b6c66e68 cpsr 400d0030
01-15 10:25:26.185 219 219 F DEBUG :
01-15 10:25:26.185 219 219 F DEBUG : backtrace:
01-15 10:25:26.185 219 219 F DEBUG : #00 pc 008aee68 /system/lib/libL
LVM.so (llvm::SmallPtrSetImplBase::insert_imp(void const*)+7)
01-15 10:25:26.185 219 219 F DEBUG : #01 pc 0082ac49 /system/lib/libL
LVM.so (llvm::LLVMContext::addModule(llvm::Module*)+12)
01-15 10:25:26.185 219 219 F DEBUG : #02 pc 0083ef53 /system/lib/libL
LVM.so (llvm::Module::Module(llvm::StringRef, llvm::LLVMContext&)+310)
01-15 10:25:26.185 219 219 F DEBUG : #03 pc 002f9901 /system/lib/libL
LVM.so
01-15 10:25:26.185 219 219 F DEBUG : #04 pc 002f9881 /system/lib/libL
LVM.so (llvm::getLazyBitcodeModule(std::__1::unique_ptr<llvm::MemoryBuffer, std:
:__1::default_delete<llvm::MemoryBuffer> >&&, llvm::LLVMContext&, std::__1::func
tion<void (llvm:iagnosticInfo const&)>, bool)+80)
01-15 10:25:26.185 219 219 F DEBUG : #05 pc 0004528d /system/lib/libb
cc.so
01-15 10:25:26.186 219 219 F DEBUG : #06 pc 00045207 /system/lib/libb
cc.so (bcc::Source::CreateFromBuffer(bcc::BCCContext&, char const*, char const*,
unsigned int)+58)
01-15 10:25:26.186 219 219 F DEBUG : #07 pc 0000447d /system/bin/bcc
01-15 10:25:26.186 219 219 F DEBUG : #08 pc 00016651 /system/lib/libc
.so (__libc_init+44)
01-15 10:25:26.186 219 219 F DEBUG : #09 pc 0000326c /system/bin/bcc
01-15 10:25:26.267 219 219 F DEBUG :
01-15 10:25:26.267 219 219 F DEBUG : Tombstone written to: /data/tombstone
s/tombstone_02
01-15 10:25:26.268 651 675 I BootReceiver: Copying /data/tombstones/tombston
e_02 to DropBox (SYSTEM_TOMBSTONE)
01-15 10:25:26.271 3565 7147 E RenderScript: Child process "/system/bin/bcc" t
erminated with status 11
01-15 10:25:26.271 3565 7147 E RenderScript: bcc: FAILS to compile 'processing
new'
01-15 10:25:26.272 3565 4744 W System.err: android.renderscript.RSRuntimeExcep
tion: Loading of ScriptC script failed.
01-15 10:25:26.272 3565 4764 W art : Long monitor contention event with ow
ner method=android.graphics.Bitmap com.vsco.android.vsrs.VsRs.processNonGeometri
cEdits(android.content.Context, android.graphics.Bitmap, float[], int, int, int,
int) from VsRs.java:71 waiters=0 for 305ms
01-15 10:25:26.274 3565 4744 W System.err: at android.renderscript.ScriptC.
<init>(ScriptC.java:63)
01-15 10:25:26.274 3565 4744 W System.err: at com.vsco.android.vsrs.ScriptC
_processingnew.<init>(ScriptC_processingnew.java:42)
01-15 10:25:26.274 3565 4744 W System.err: at com.vsco.android.vsrs.ScriptC
_processingnew.<init>(ScriptC_processingnew.java:34)
01-15 10:25:26.274 3565 4744 W System.err: at com.vsco.android.vsrs.VsRs.<i
nit>(VsRs.java:40)
01-15 10:25:26.274 3565 4744 W System.err: at com.vsco.android.vsrs.VsRs.a(
VsRs.java:33)
01-15 10:25:26.274 3565 4744 W System.err: at com.vsco.android.vsrs.VsRs.pr
ocessNonGeometricEdits(VsRs.java:75)
01-15 10:25:26.276 3565 4744 W System.err: at com.vsco.cam.imaging.ProcessB
itmapAction.a(ProcessBitmapAction.java:1180)
01-15 10:25:26.276 3565 4744 W System.err: at com.vsco.cam.imaging.ProcessB
itmapAction.execute(ProcessBitmapAction.java:95)
01-15 10:25:26.276 3565 4744 W System.err: at com.vsco.cam.library.Thumbnai
lGenerator.generateFilterPreview(ThumbnailGenerator.java:119)
01-15 10:25:26.276 3565 4744 W System.err: at com.vsco.cam.fullscreen.da.ex
ecute(EditImageActivityNew.java:2349)
01-15 10:25:26.276 3565 4744 W System.err: at com.vsco.cam.fullscreen.da.ex
ecute(EditImageActivityNew.java:2318)
01-15 10:25:26.277 3565 4744 W System.err: at com.vsco.cam.executor.Action.
run(Action.java:108)
01-15 10:25:26.277 3565 4744 W System.err: at java.util.concurrent.Executor
s$RunnableAdapter.call(Executors.java:423)
01-15 10:25:26.277 3565 4744 W System.err: at java.util.concurrent.FutureTa
sk.run(FutureTask.java:237)
01-15 10:25:26.277 3565 4744 W System.err: at java.util.concurrent.ThreadPo
olExecutor.runWorker(ThreadPoolExecutor.java:1113)
01-15 10:25:26.277 3565 4744 W System.err: at java.util.concurrent.ThreadPo
olExecutor$Worker.run(ThreadPoolExecutor.java:588)
01-15 10:25:26.277 3565 4744 W System.err: at java.lang.Thread.run(Thread.j
ava:818)
01-15 10:25:26.277 3565 4744 W CrashlyticsCore: Crashlytics is ignoring a requ
est to log a null exception.
01-15 10:25:26.283 3565 7172 V RenderScript: 0xb7f19fd8 Launching thread(s), C
PUs 4
01-15 10:25:26.298 3565 7172 V RenderScript: Successfully loaded runtime: libR
SDriver_adreno.so
01-15 10:25:26.323 3565 7172 E RenderScript: Unable to open shared library (/d
ata/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/librs.processi
ngnew.so): (null)
01-15 10:25:26.323 3565 7172 V RenderScript: Invoking /system/bin/bcc with arg
s '/system/bin/bcc -unroll-runtime -scalarize-load-store -rs-global-info -rs-glo
bal-info-skip-constant -o processingnew -output_path /data/user/0/com.vsco.cam/c
ode_cache/com.android.renderscript.cache -bclib /system/lib/libclcore.bc -mtripl
e armv7-none-linux-gnueabi -load libbccQTI.so -fPIC -embedRSInfo /data/user/0/co
m.vsco.cam/code_cache/com.android.renderscript.cache/processingnew.bc -build-che
cksum 923f43d5'
01-15 10:25:26.455 7179 7179 F libc : Fatal signal 11 (SIGSEGV), code 1, fa
ult addr 0x18 in tid 7179 (bcc)
01-15 10:25:26.455 219 219 I DEBUG : property debug.db.uid not set; NOT wa
iting for gdb.
01-15 10:25:26.455 219 219 I DEBUG : HINT: adb shell setprop debug.db.uid
100000
01-15 10:25:26.455 219 219 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
01-15 10:25:26.557 219 219 F DEBUG : *** *** *** *** *** *** *** *** *** *
** *** *** *** *** *** ***
01-15 10:25:26.558 651 884 W NativeCrashListener: Couldn't find ProcessRecor
d for pid 7179
01-15 10:25:26.558 219 219 F DEBUG : Build fingerprint: 'google/occam/mako
:5.1.1/LMY48M/2167285:user/release-keys'
01-15 10:25:26.558 219 219 E DEBUG : AM write failed: Broken pipe
01-15 10:25:26.558 219 219 F DEBUG : Revision: '0'
01-15 10:25:26.558 219 219 F DEBUG : ABI: 'arm'
01-15 10:25:26.558 219 219 F DEBUG : pid: 7179, tid: 7179, name: bcc >>>
/system/bin/bcc <<<
01-15 10:25:26.558 219 219 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAP
ERR), fault addr 0x18
01-15 10:25:26.562 219 219 F DEBUG : r0 bee3e640 r1 00000018 r2 b8da
af18 r3 00000002
01-15 10:25:26.562 219 219 F DEBUG : r4 00000018 r5 00000018 r6 b8da
af18 r7 b8daaf79
01-15 10:25:26.562 219 219 F DEBUG : r8 b8db589c r9 bee3e774 sl b8db
3c88 fp bee3e748
01-15 10:25:26.563 219 219 F DEBUG : ip b6ec7a30 sp bee3e628 lr b6c7
bc4d pc b6cffe68 cpsr 400d0030
01-15 10:25:26.574 219 219 F DEBUG :
01-15 10:25:26.574 219 219 F DEBUG : backtrace:
01-15 10:25:26.574 219 219 F DEBUG : #00 pc 008aee68 /system/lib/libL
LVM.so (llvm::SmallPtrSetImplBase::insert_imp(void const*)+7)
01-15 10:25:26.574 219 219 F DEBUG : #01 pc 0082ac49 /system/lib/libL
LVM.so (llvm::LLVMContext::addModule(llvm::Module*)+12)
01-15 10:25:26.574 219 219 F DEBUG : #02 pc 0083ef53 /system/lib/libL
LVM.so (llvm::Module::Module(llvm::StringRef, llvm::LLVMContext&)+310)
01-15 10:25:26.574 219 219 F DEBUG : #03 pc 002f9901 /system/lib/libL
LVM.so
01-15 10:25:26.575 219 219 F DEBUG : #04 pc 002f9881 /system/lib/libL
LVM.so (llvm::getLazyBitcodeModule(std::__1::unique_ptr<llvm::MemoryBuffer, std:
:__1::default_delete<llvm::MemoryBuffer> >&&, llvm::LLVMContext&, std::__1::func
tion<void (llvm:iagnosticInfo const&)>, bool)+80)
01-15 10:25:26.575 219 219 F DEBUG : #05 pc 0004528d /system/lib/libb
cc.so
01-15 10:25:26.577 219 219 F DEBUG : #06 pc 00045207 /system/lib/libb
cc.so (bcc::Source::CreateFromBuffer(bcc::BCCContext&, char const*, char const*,
unsigned int)+58)
01-15 10:25:26.577 219 219 F DEBUG : #07 pc 0000447d /system/bin/bcc
01-15 10:25:26.578 219 219 F DEBUG : #08 pc 00016651 /system/lib/libc
.so (__libc_init+44)
01-15 10:25:26.578 219 219 F DEBUG : #09 pc 0000326c /system/bin/bcc
01-15 10:25:26.678 219 219 F DEBUG :
01-15 10:25:26.678 219 219 F DEBUG : Tombstone written to: /data/tombstone
s/tombstone_08
01-15 10:25:26.678 651 675 I BootReceiver: Copying /data/tombstones/tombston
e_08 to DropBox (SYSTEM_TOMBSTONE)
01-15 10:25:26.683 3565 7172 E RenderScript: Child process "/system/bin/bcc" t
erminated with status 11
01-15 10:25:26.683 3565 7172 E RenderScript: bcc: FAILS to compile 'processing
new'
01-15 10:25:26.684 3565 4764 W System.err: android.renderscript.RSRuntimeExcep
tion: Loading of ScriptC script failed.
01-15 10:25:26.684 3565 4764 W System.err: at android.renderscript.ScriptC.
<init>(ScriptC.java:63)
01-15 10:25:26.684 3565 4764 W System.err: at com.vsco.android.vsrs.ScriptC
_processingnew.<init>(ScriptC_processingnew.java:42)
01-15 10:25:26.684 3565 4764 W System.err: at com.vsco.android.vsrs.ScriptC
_processingnew.<init>(ScriptC_processingnew.java:34)
01-15 10:25:26.684 3565 4764 W System.err: at com.vsco.android.vsrs.VsRs.<i
nit>(VsRs.java:40)
01-15 10:25:26.684 3565 4764 W System.err: at com.vsco.android.vsrs.VsRs.a(
VsRs.java:33)
01-15 10:25:26.684 3565 4764 W System.err: at com.vsco.android.vsrs.VsRs.pr
ocessNonGeometricEdits(VsRs.java:75)
01-15 10:25:26.684 3565 4764 W System.err: at com.vsco.cam.imaging.ProcessB
itmapAction.a(ProcessBitmapAction.java:1180)
01-15 10:25:26.685 3565 4764 W System.err: at com.vsco.cam.imaging.ProcessB
itmapAction.execute(ProcessBitmapAction.java:95)
01-15 10:25:26.685 3565 4764 W System.err: at com.vsco.cam.imaging.ProcessI
mageIdAction.execute(ProcessImageIdAction.java:50)
01-15 10:25:26.685 3565 4764 W System.err: at com.vsco.cam.imaging.ProcessI
mageIdAction.execute(ProcessImageIdAction.java:15)
01-15 10:25:26.685 3565 4764 W System.err: at com.vsco.cam.executor.Action.
run(Action.java:108)
01-15 10:25:26.685 3565 4764 W System.err: at java.util.concurrent.Executor
s$RunnableAdapter.call(Executors.java:423)
01-15 10:25:26.685 3565 4764 W System.err: at java.util.concurrent.FutureTa
sk.run(FutureTask.java:237)
01-15 10:25:26.685 3565 4764 W System.err: at java.util.concurrent.ThreadPo
olExecutor.runWorker(ThreadPoolExecutor.java:1113)
01-15 10:25:26.685 3565 4764 W System.err: at java.util.concurrent.ThreadPo
olExecutor$Worker.run(ThreadPoolExecutor.java:588)
01-15 10:25:26.685 3565 4764 W System.err: at java.lang.Thread.run(Thread.j
ava:818)
01-15 10:25:26.685 3565 4764 W CrashlyticsCore: Crashlytics is ignoring a requ
est to log a null exception.
01-15 10:25:29.083 222 706 D audio_hw_primary: disable_audio_route: reset an
d update mixer path: low-latency-playback
01-15 10:25:29.083 222 706 D audio_hw_primary: disable_snd_device: snd_devic
e(2: speaker)
01-15 10:25:55.732 651 679 I PowerManagerService: Going to sleep due to scre
en timeout (uid 1000)...
01-15 10:25:55.734 651 679 I PowerManagerService: Sleeping (uid 1000)...
01-15 10:25:55.968 651 2532 W art : Long monitor contention event with ow
ner method=void com.android.server.am.ActivityManagerService.onWakefulnessChange
d(int) from ActivityManagerService.java:10508 waiters=0 for 220ms
01-15 10:25:55.991 3565 3565 W IInputConnectionWrapper: getExtractedText on in
active InputConnection
01-15 10:25:56.008 3565 3565 W IInputConnectionWrapper: getTextBeforeCursor on
inactive InputConnection
01-15 10:25:56.011 3565 3565 W IInputConnectionWrapper: getSelectedText on ina
ctive InputConnection
01-15 10:25:56.012 3565 3565 W IInputConnectionWrapper: getTextAfterCursor on
inactive InputConnection
01-15 10:25:56.012 1272 1272 E InputEventModelImpl: onStartInput event aborted
: com.touchtype.keyboard.c.ae: could not obtain extracted text (class com.toucht
ype.keyboard.c.ae)
01-15 10:25:56.046 651 661 I art : Background partial concurrent mark sw
eep GC freed 34629(3MB) AllocSpace objects, 96(2MB) LOS objects, 33% free, 17MB/
26MB, paused 1.312ms total 143.737ms
01-15 10:25:56.359 651 679 V KeyguardServiceDelegate: onScreenTurnedOff()
01-15 10:25:56.372 208 208 D SurfaceFlinger: Set power mode=0, type=0 flinge
r=0xb736ddf0
01-15 10:25:56.372 651 677 I DisplayManagerService: Display device changed s
tate: "Built-in Screen", OFF
01-15 10:25:56.547 651 860 D SurfaceControl: Excessive delay in setPowerMode
(): 175ms
01-15 10:25:56.548 228 240 E ANDR-PERF-LOCK: Failed to apply optimization fo
r resource: 4 level: 0
01-15 10:25:56.587 222 1293 D audio_hw_primary: adev_set_parameters: enter: s
creen_state=off
01-15 10:25:56.587 222 1293 E bt_a2dp_hw: adev_set_parameters: ERROR: set par
am called even when stream out is null
01-15 10:25:56.588 651 799 E WifiStateMachine: Fail to set up pno, want fal
se now false
01-15 10:25:57.052 1479 1479 D ChimeraCfgMgr: Loading module com.google.androi
d.gms.cast from APK com.google.android.gms
01-15 10:26:00.815 1038 1038 D TimeService: Updating widget using TimeTick
01-15 10:26:00.868 1038 7231 D ThemeWidgetDao: getWidgetTheme::widgetId = 1 an
d themeId in (select _id from Theme where type = 3 )
01-15 10:26:00.900 1038 7231 D ThemeWidgetDao: getWidgetTheme::widgetId = 1 an
d themeId in (select _id from Theme where type = 1 )
Click to expand...
Click to collapse
I think there are some errors.
tranced_ said:
While on CM13 I run a logcat:
...
Click to expand...
Click to collapse
I do not know that application. Could you try to get a logcat log, from where it is working (to be able to compare them).
hnl_dk said:
I do not know that application. Could you try to get a logcat log, from where it is working (to be able to compare them).
Click to expand...
Click to collapse
VSCO is a photography app.
Here is the log(sorry if it's long):
I/ActivityManager(15238): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.vsco.cam/.gallery.ImageGridActivity bnds=[235,636][377,799] (has extras)} from uid 10068 on display 0
D/PhoneStatusBar(15405): disable: < expand icons alerts system_info back home recent clock* search >
V/WindowManager(15238): rotationForOrientationLw(orient=1, last=0); user=0 USER_ROTATION_LOCKED
W/AlarmManager(15238): Suspiciously short interval 40000 millis; expanding to 60 seconds
D/WifiService(15238): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
I/Timeline( 6100): Timeline: Activity_idle id: [email protected] time:152436366
D/WifiService(15238): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
I/Timeline(15238): Timeline: Activity_windows_visible id: ActivityRecord{3b4efe41 u0 com.vsco.cam/.gallery.ImageGridActivity t1222} time:152436848
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/ClClient(16894): D 2016-01-21T08:07:42.795-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/ClClient(16894): D 2016-01-21T08:07:52.774-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/WifiService(15238): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
D/TimeService( 5374): Updating widget using TimeTick
D/ThemeWidgetDao( 5374): getWidgetTheme::widgetId = 1 and themeId in (select _id from Theme where type = 3 )
D/ThemeWidgetDao( 5374): getWidgetTheme::widgetId = 1 and themeId in (select _id from Theme where type = 1 )
D/WifiService(15238): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
D/ClClient(16894): D 2016-01-21T08:08:02.800-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
W/ctxmgr (16193): [AclManager]checkPermissionTypeStatus: no inject permission for { uid=10022, packageName=com.google.android.gms }. Returned permission was: PACKAGE_NOT_WHITELISTED for context name=POWER_CONNECTION, account=account#-517948760#
W/ctxmgr (16193): [AclManager]checkPermissionTypeStatus: no inject permission for { uid=10022, packageName=com.google.android.gms }. Returned permission was: PACKAGE_NOT_WHITELISTED for context name=POWER_CONNECTION, account=account#-517948760#
E/ctxmgr (16193): [PowerConnectionProducer]Could not write powerInfo=Plug state: 2 BatteryLevel: 0.3, status=Status{statusCode=unknown status code: 7503, resolution=null}
I/Timeline( 6100): Timeline: Activity_launch_request id:com.vsco.cam time:152463430
I/ActivityManager(15238): START u0 {cmp=com.vsco.cam/.fullscreen.EditImageActivityNew (has extras)} from uid 10079 on display 0
V/WindowManager(15238): addAppToken: AppWindowToken{18eb0e1 token=Token{16bafa48 ActivityRecord{26047ceb u0 com.vsco.cam/.fullscreen.EditImageActivityNew t1222}}} to stack=1 task=1222 at 1
W/AlarmManager(15238): Suspiciously short interval 40000 millis; expanding to 60 seconds
V/WindowManager(15238): Adding window Window{3bf9cfd5 u0 com.vsco.cam/com.vsco.cam.fullscreen.EditImageActivityNew} at 9 of 16 (after Window{29490bf9 u0 com.vsco.cam/com.vsco.cam.gallery.ImageGridActivity})
I/ActivityManager(15238): Displayed com.vsco.cam/.fullscreen.EditImageActivityNew: +741ms
I/Timeline( 6100): Timeline: Activity_idle id: [email protected] time:152464311
I/Timeline(15238): Timeline: Activity_windows_visible id: ActivityRecord{26047ceb u0 com.vsco.cam/.fullscreen.EditImageActivityNew t1222} time:152464602
I/ClearcutLoggerApiImpl(16193): disconnect managed GoogleApiClient
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/ClClient(16894): D 2016-01-21T08:08:12.795-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
I/art ( 6100): Background partial concurrent mark sweep GC freed 12025(889KB) AllocSpace objects, 111(24MB) LOS objects, 12% free, 112MB/128MB, paused 2.746ms total 117.706ms
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
D/WifiService(15238): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
D/WifiService(15238): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/ConnectivityService(15238): Failed to find a new network - expiring NetTransition Wakelock
D/ClClient(16894): D 2016-01-21T08:08:22.801-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
I/art ( 6100): Background partial concurrent mark sweep GC freed 892(46KB) AllocSpace objects, 9(18MB) LOS objects, 12% free, 115MB/131MB, paused 3.814ms total 105.041ms
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
D/ClClient(16894): D 2016-01-21T08:08:32.798-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/WifiService(15238): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
D/WifiService(15238): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/ClClient(16894): D 2016-01-21T08:08:42.803-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
I/art ( 6100): Background sticky concurrent mark sweep GC freed 1198(58KB) AllocSpace objects, 7(153KB) LOS objects, 0% free, 130MB/130MB, paused 8.605ms total 41.564ms
I/art ( 6100): Background partial concurrent mark sweep GC freed 569(25KB) AllocSpace objects, 9(18MB) LOS objects, 12% free, 112MB/128MB, paused 2.410ms total 181.152ms
D/ClClient(16894): D 2016-01-21T08:08:52.799-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
I/Timeline( 6100): Timeline: Activity_launch_request id:com.vsco.cam time:152514283
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
I/ActivityManager(15238): START u0 {cmp=com.vsco.cam/.gallery.ImageGridActivity (has extras)} from uid 10079 on display 0
W/ActivityManager(15238): Duplicate finish request for ActivityRecord{26047ceb u0 com.vsco.cam/.fullscreen.EditImageActivityNew t1222 f}
W/AlarmManager(15238): Suspiciously short interval 40000 millis; expanding to 60 seconds
I/Timeline( 6100): Timeline: Activity_idle id: [email protected] time:152514722
I/Timeline(15238): Timeline: Activity_windows_visible id: ActivityRecord{3b4efe41 u0 com.vsco.cam/.gallery.ImageGridActivity t1222} time:152514831
D/TimeService( 5374): Updating widget using TimeTick
D/ThemeWidgetDao( 5374): getWidgetTheme::widgetId = 1 and themeId in (select _id from Theme where type = 3 )
D/ThemeWidgetDao( 5374): getWidgetTheme::widgetId = 1 and themeId in (select _id from Theme where type = 1 )
D/WifiService(15238): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
D/WifiService(15238): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/ACDB-LOADER(14994): ACDB -> send_afe_cal
D/audio_hw_primary(14994): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary(14994): enable_audio_route: apply and update mixer path: low-latency-playback
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
D/ClClient(16894): D 2016-01-21T08:09:02.796-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
I/ActivityManager(15238): moveTaskToBack: TaskRecord{393e7dff #1222 A=com.vsco.cam U=0 sz=1}
V/WindowManager(15238): rotationForOrientationLw(orient=5, last=0); user=0 USER_ROTATION_LOCKED
D/PhoneStatusBar(15405): disable: < expand icons alerts system_info back home recent CLOCK* search >
I/Timeline(15906): Timeline: Activity_idle id: [email protected] time:152520250
I/Timeline(15238): Timeline: Activity_windows_visible id: ActivityRecord{19f8150a u0 com.teslacoilsw.launcher/.NovaLauncher t1213} time:152520526
W/OpenGLRenderer(15906): Incorrectly called buildLayer on View: agu, destroying layer...
W/ResourceType(15405): No package identifier when getting value for resource number 0x00000000
W/PackageManager(15405): Failure retrieving resources for com.vsco.cam: Resource ID #0x0
D/audio_hw_primary(14994): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary(14994): disable_snd_device: snd_device(2: speaker)
W/ActivityManager(15238): getRunningAppProcesses: caller 10098 does not hold REAL_GET_TASKS; limiting output
D/ClClient(16894): D 2016-01-21T08:09:12.781-0400 [ci=w5wUXGfC5P] pool-8-thread-1 ClClient Not sending keepalive. Current connection state=STOPPED
D/com.facebook.a.a(15767): Got unexpected exception: java.io.WriteAbortedException: Read an exception; java.io.NotSerializableException: org.json.JSONObject
Click to expand...
Click to collapse
tranced_ said:
VSCO is a photography app.
Here is the log(sorry if it's long):
Click to expand...
Click to collapse
is that when trying to do the same?
hnl_dk said:
is that when trying to do the same?
Click to expand...
Click to collapse
Yes, sir!
tranced_ said:
Yes, sir!
Click to expand...
Click to collapse
Okay, thanks.
Would not like to install it myself, but have tried to install this benchmarking tool, that is exactly testing RenderScript, and it is working fine.
https://play.google.com/store/apps/details?id=com.compubench.rs
Have you tried to check if the file: /data/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/librs.processingnew.so
is on your phone?
It could be located another place, but that the path is wrong.
hnl_dk said:
Okay, thanks.
Would not like to install it myself, but have tried to install this benchmarking tool, that is exactly testing RenderScript, and it is working fine.
https://play.google.com/store/apps/details?id=com.compubench.rs
Have you tried to check if the file: /data/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/librs.processingnew.so
is on your phone?
It could be located another place, but that the path is wrong.
Click to expand...
Click to collapse
I will try that myself tomorrow. It's a holiday here today and I don't feel like backing up, wiping, restoring, then wiping and restoring again.
tranced_ said:
I will try that myself tomorrow. It's a holiday here today and I don't feel like backing up, wiping, restoring, then wiping and restoring again.
Click to expand...
Click to collapse
Thanks.
Do you use a special filter when the crash happens?
Maybe that could make it possible to discover the problem.
hnl_dk said:
Thanks.
Do you use a special filter when the crash happens?
Maybe that could make it possible to discover the problem.
Click to expand...
Click to collapse
It happens with all of them and other tools too.
hnl_dk said:
Okay, thanks.
Would not like to install it myself, but have tried to install this benchmarking tool, that is exactly testing RenderScript, and it is working fine.
https://play.google.com/store/apps/details?id=com.compubench.rs
Have you tried to check if the file: /data/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/librs.processingnew.so
is on your phone?
It could be located another place, but that the path is wrong.
Click to expand...
Click to collapse
Weird, weird. In CM13 that path does exit, but the file is not there. In CM12.1 the path doesn't exit nor the file.
tranced_ said:
Weird, weird. In CM13 that path does exit, but the file is not there. In CM12.1 the path doesn't exit nor the file.
Click to expand...
Click to collapse
You can only check it, while it is in use... as it is a cache file, it will be removed.
hnl_dk said:
You can only check it, while it is in use... as it is a cache file, it will be removed.
Click to expand...
Click to collapse
You are right. After opening the app, the folder's created. Though the path is different:
CM13: /data/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/
CM12.1 /data/user/0/com.vsco.cam/code/com.android.renderscript.cache/
Although I cannot see the librs.processingnew.so file.
tranced_ said:
You are right. After opening the app, the folder's created. Though the path is different:
CM13: /data/user/0/com.vsco.cam/code_cache/com.android.renderscript.cache/
CM12.1 /data/user/0/com.vsco.cam/code/com.android.renderscript.cache/
Although I cannot see the librs.processingnew.so file.
Click to expand...
Click to collapse
It will most likely only be there while processing. But at least you have verified that the correct path exists.
Looking at the log again, and it looks like there is a place in bcc where there is a segmentation fault (bcc is trying to access memory it is not allowed to access). The report of the missing file, is before it is trying to create it (using bcc).
---------- Post added at 08:53 PM ---------- Previous post was at 08:41 PM ----------
hnl_dk said:
It will most likely only be there while processing. But at least you have verified that the correct path exists.
Looking at the log again, and it looks like there is a place in bcc where there is a segmentation fault (bcc is trying to access memory it is not allowed to access). The report of the missing file, is before it is trying to create it (using bcc).
Click to expand...
Click to collapse
as bcc is originating from LLVM, could the problem also be, that the Nexus 4, is using GCC and not LLVM (trouble with sensors).
So if bcc is not compatible with GCC/G++, could this be a problem.
---------- Post added at 09:37 PM ---------- Previous post was at 08:53 PM ----------
hnl_dk said:
It will most likely only be there while processing. But at least you have verified that the correct path exists.
Looking at the log again, and it looks like there is a place in bcc where there is a segmentation fault (bcc is trying to access memory it is not allowed to access). The report of the missing file, is before it is trying to create it (using bcc).
---------- Post added at 08:53 PM ---------- Previous post was at 08:41 PM ----------
as bcc is originating from LLVM, could the problem also be, that the Nexus 4, is using GCC and not LLVM (trouble with sensors).
So if bcc is not compatible with GCC/G++, could this be a problem.
Click to expand...
Click to collapse
I have tried to create a bugreport. If you have any comments, please add them:
https://jira.cyanogenmod.org/browse/NIGHTLIES-2384
Seems like that is not the correct place to report that bug. I do not know where that bug should be reported, so I will not do more (even though it should be reported).
Made a comment on your post on the cyanogenmod forum: http://forum.cyanogenmod.org/topic/120940-cm13-nightlies-and-renderscript-issue-with-vsco/
Please add your complete log there, where the details about bcc is included.
Thanks for all the help here. I didn't know how to canalize all these.
A week later and here I am. Been tough days over here for me.
I ran a logcat again and created an issue at Jira. I hope I did it right. I've decided to stay in CM13 despite not being able to use the app.

Phone freezing while calling/audio problem?

My phone is freezing while in call, neither I or my caller can hear each other while this happens.
From logcat it looks like some kid of audio problem but I don't know what is the real problem.
Could anyone better than me in logs reading tell me how the fix this or what's causing this?
Code:
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/FastMixerState(12846): sMaxFastTracks = 8
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/audioserver(12846): ServiceManager: 0xf5c18540
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
I/AudioFlinger(12846): Using default 3000 mSec as standby time.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
W/APM::ConfigParsingUtils(12846): loadOutput() invalid supported devices
W/APM::ConfigParsingUtils(12846): loadInput() invalid supported devices
W/APM::ConfigParsingUtils(12846): loadInput() invalid supported devices
I/APM::ConfigParsingUtils(12846): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/audio_hw_primary(12846): mixer_init: Failed to open mixer paths from /vendor/etc/mixer_paths_0.xml, retrying with legacy location
E/audio_route(12846): Control 'HPL Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPL Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'EP Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'EP Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPL Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCR Switch' doesn't exist - skipping
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
E/audio_route(12846): Control 'EP EP On' already exists in path 'fm_radio-speaker-headset'
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
V/audio_hw_voice(12846): voice_session_init: Forcing voice config: wide
E/audio_hw_primary(12846): Amplifier initialization failed
W/DeviceHAL(12846): Device 0xf5c3c400 get_master_volume: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 get_master_mute: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 set_master_volume: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 set_master_mute: Function not implemented
I/AudioFlinger(12846): loadHwModule() Loaded primary audio interface, handle 10
I/AudioFlinger(12846): openOutput() this 0xf5c3d000, module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 2
I/AudioFlinger(12846): HAL output buffer size 256 frames, normal sink buffer size 768 frames
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/ViPER4Android_v2(12846): Enter EffectGetDescriptor()
I/ViPER4Android_v2(12846): EffectGetDescriptor(), uuid = 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
I/BufferProvider(12846): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(12846): Using module 10 as the primary audio interface
W/AudioFlinger(12846): moveEffects() bad srcOutput 0
I/AudioFlinger(12846): AudioFlinger's thread 0xf4c83a00 tid=12862 ready to run
W/AudioFlinger(12846): no wake lock to update, system not ready yet
W/AudioFlinger(12846): no wake lock to update, system not ready yet
I/AudioFlinger(12846): openOutput() this 0xf5c3d000, module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 8
I/AudioFlinger(12846): HAL output buffer size 480 frames, normal sink buffer size 960 frames
I/AudioFlinger(12846): AudioFlinger's thread 0xf4603980 tid=12865 ready to run
W/AudioFlinger(12846): no wake lock to update, system not ready yet
W/AudioFlinger(12846): no wake lock to update, system not ready yet
I/AudioFlinger(12846): AudioFlinger's thread 0xf42032c0 tid=12867 ready to run
I/bt_a2dp_hw(12846): adev_open: adev_open in A2dp_hw module
I/AudioFlinger(12846): loadHwModule() Loaded a2dp audio interface, handle 18
D/vndksupport(12846): Loading /vendor/lib/hw/audio.usb.default.so from current namespace instead of sphal namespace.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/AudioFlinger(12846): loadHwModule() Loaded usb audio interface, handle 26
D/vndksupport(12846): Loading /vendor/lib/hw/audio.r_submix.default.so from current namespace instead of sphal namespace.
I/r_submix(12846): adev_open(name=audio_hw_if)
I/r_submix(12846): adev_init_check()
W/DeviceHAL(12846): Device 0xf4666640 set_master_mute: Function not implemented
I/AudioFlinger(12846): loadHwModule() Loaded r_submix audio interface, handle 34
D/r_submix(12846): adev_open_input_stream(addr=0)
D/r_submix(12846): submix_audio_device_create_pipe_l(addr=0, idx=9)
D/r_submix(12846): now using address 0 for route 9
I/AudioFlinger(12846): AudioFlinger's thread 0xf4203d80 tid=12871 ready to run
D/r_submix(12846): adev_close_input_stream()
D/r_submix(12846): submix_audio_device_release_pipe_l(idx=9) addr=0
D/r_submix(12846): submix_audio_device_destroy_pipe_l(): pipe destroyed
E/SoundTriggerHwService(12846): could not read implementation properties
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/Telecom ( 2955): InCallController: Sending updateCall [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
I/Telecom ( 2955): InCallController: Components updated: [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}]: [email protected]
I/Dialer ( 6324): CallList.onUpdateCall - [DialerCall_1, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:], children:[], parent:null, conferenceable:[], videoState:Audio Only, mSessionModificationState:0, CameraDir:-1]
I/Dialer ( 6324): InCallPresenter.onCallListChange - Phone switching state: OUTGOING -> OUTGOING
I/Dialer ( 6324): VideoPauseController.onStateChange - hasPrimaryCallChanged: false, videoCanPause: false, isInBackground: false
I/Dialer ( 6324): InCallFragment.setSecondary - SecondaryInfo, show: false, name: null, label: null, providerLabel: null
W/ResourceType( 6324): Failure getting entry for 0x7f100292 (t=15 e=658) (error -75)
I/Dialer ( 6324): InCallFragment.setCallState - PrimaryCallState, state: 6, connectionLabel:
I/Dialer ( 6324): InCallActivity.onPrimaryCallStateChanged
I/Dialer ( 6324): InCallActivity.showMainInCallFragment - shouldShowAnswerUi: false, shouldShowVideoUi: false, didShowAnswerScreen: false, didShowInCallScreen: true, didShowVideoCallScreen: false
W/ResourceType( 6324): Failure getting entry for 0x7f100292 (t=15 e=658) (error -75)
I/Dialer ( 6324): InCallFragment.setCallState - PrimaryCallState, state: 6, connectionLabel:
I/Dialer ( 6324): InCallActivity.onPrimaryCallStateChanged
I/Dialer ( 6324): InCallActivity.showMainInCallFragment - shouldShowAnswerUi: false, shouldShowVideoUi: false, didShowAnswerScreen: false, didShowInCallScreen: true, didShowVideoCallScreen: false
I/AudioFlinger(12846): systemReady
D/PermissionCache(12846): checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1000 => granted (1574 us)
E/AudioService( 2955): Audioserver started.
D/PermissionCache(12846): checking android.permission.CAPTURE_AUDIO_HOTWORD for uid=10181 => granted (340 us)
I/AudioFlinger(12846): AudioFlinger's thread 0xf3803c40 tid=12881 ready to run
I/audio_hw_primary(12846): adev_set_mode mode = 2
D/com.gsamlabs.bbm.lib.NotifyingService( 8880): ===:91:4309:41.4:1
V/audio_hw_voice(12846): prepare_voice_session: active_out_devices: 0x1
V/audio_hw_voice(12846): set_voice_session_audio_path: ril_set_call_audio_path(0)
I/rild ( 2512): type=1400 audit(0.0:1793): avc: denied { search } for name="12846" dev="proc" ino=87474 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=dir permissive=1
I/rild ( 2512): type=1400 audit(0.0:1794): avc: denied { read } for name="cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
I/rild ( 2512): type=1400 audit(0.0:1795): avc: denied { open } for path="/proc/12846/cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
I/rild ( 2512): type=1400 audit(0.0:1796): avc: denied { getattr } for path="/proc/12846/cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
D/audio_route(12846): Apply path: voice-earpiece-wb
D/audio_route(12846): Apply path: voice-earpiece-mic-wb
V/audio_hw_voice(12846): start_voice_session: Opening voice PCMs
V/audio_hw_voice(12846): start_voice_session: pcm_config wideband
I/ActivityManager( 2955): Killing 10371:com.google.process.gapps/u0a113 (adj 906): empty #17
W/zygote ( 2955): kill(-10371, 9) failed: No such process
I/chatty ( 2955): uid=1000(system) ActivityManager identical 2 lines
W/zygote ( 2955): kill(-10371, 9) failed: No such process
I/zygote ( 2955): Successfully killed process cgroup uid 10113 pid 10371 in 135ms
E/BufferQueueProducer( 2475): [com.socialnmobile.dictapps.notepad.color.note/com.socialnmobile.colornote.activity.NoteEditor#0] disconnect: not connected (req=1)
W/libEGL (12010): EGLNativeWindowType 0xd3c7e008 disconnect failed
V/audio_hw_voice(12846): start_voice_session: enabling two mic control
F/libc (12846): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x98 in tid 12889 (reader), pid 12846 (audioserver)
I/crash_dump32(12891): type=1400 audit(0.0:1797): avc: denied { noatsecure } for scontext=u:r:audioserver:s0 tcontext=u:r:crash_dump:s0 tclass=process permissive=1
I/crash_dump32(12893): obtaining output fd from tombstoned, type: kDebuggerdTombstone
I//system/bin/tombstoned( 2515): received crash request for pid 12846
I/crash_dump32(12893): performing dump of process 12846 (target tid = 12889)
F/DEBUG (12893): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG (12893): AospExtended Version: 'v5.8'
F/DEBUG (12893): Build fingerprint: 'samsung/s5neoltexx/s5neolte:6.0.1/MMB29K/G903FXXU1BQC1:user/release-keys'
F/DEBUG (12893): Revision: '0'
F/DEBUG (12893): ABI: 'arm'
F/DEBUG (12893): pid: 12846, tid: 12889, name: reader >>> /system/bin/audioserver <<<
F/DEBUG (12893): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x98
F/DEBUG (12893): Cause: null pointer dereference
F/DEBUG (12893): r0 00000000 r1 00000160 r2 00000001 r3 f32dc2fc
F/DEBUG (12893): r4 00000160 r5 f5c3ca88 r6 f5c3ca58 r7 f5c3c400
F/DEBUG (12893): r8 f52993f0 r9 00000002 sl 000002c0 fp f5c3ca00
F/DEBUG (12893): ip f511fefc sp f3182880 lr f51189dc pc f50f40c4 cpsr 80070030
F/DEBUG (12893):
F/DEBUG (12893): backtrace:
F/DEBUG (12893): #00 pc 000020c4 /system/lib/libtinyalsa.so (pcm_bytes_to_frames+39)
F/DEBUG (12893): #01 pc 000079d8 /system/lib/hw/audio.primary.universal7580.so (in_read+792)
F/DEBUG (12893): #02 pc 0001f45d /system/vendor/lib/hw/[email protected] (android::hardware::audio::V2_0::implementation::(anonymous namespace)::ReadThread::threadLoop()+216)
F/DEBUG (12893): #03 pc 0000d1b9 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+144)
F/DEBUG (12893): #04 pc 00047ecf /system/lib/libc.so (__pthread_start(void*)+22)
F/DEBUG (12893): #05 pc 0001af59 /system/lib/libc.so (__start_thread+32)
W/NativeCrashListener( 2955): Couldn't find ProcessRecord for pid 12846
E//system/bin/tombstoned( 2515): Tombstone written to: /data/tombstones/tombstone_21
I/BootReceiver( 2955): Copying /data/tombstones/tombstone_21 to DropBox (SYSTEM_TOMBSTONE)
W/AudioSystem( 3132): AudioPolicyService server died!
W/AudioSystem( 2955): AudioPolicyService server died!
W/AudioSystem( 2955): AudioFlinger server died!
W/AudioSystem( 3737): AudioPolicyService server died!
W/AudioSystem( 3737): AudioFlinger server died!
W/AudioRecord( 3737): dead IAudioRecord, creating a new one from obtainBuffer()
I/ServiceManager( 2341): service 'media.audio_flinger' died
I/ServiceManager( 2341): service 'media.audio_policy' died
I/ServiceManager( 2341): service 'media.sound_trigger_hw' died
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
W/BroadcastQueue( 2955): Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
W/BroadcastQueue( 2955): Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Xposed ( 3132): fsbi >> nc >> onDataChanged >> 0 > true > 75 > H+
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Xposed ( 3132): fsbi >> nc >> onDataChanged >> 0 > true > 50 > H+
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Telecom ( 2955): InCallController: Sending updateCall [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
I/Telecom ( 2955): InCallController: Components updated: [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}]: [email protected]
I/Telecom ( 2955): CallsManager: setCallState DIALING -> ACTIVE, call: [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]

OnePlus Two Wifi keeps turning off / don't won't get on

Dear All
Since long i use my op2 only anymore as a navigation system, since i use my P20 - however, thats not the problem.
My Problem is that the Wifi and the following hotspot function is not more working.
Since i am having only less knowledge about android but a generell understanding about linux, thats how i got the debug output of dmesg:
I used this to fetch the log
Code:
dmesg -w | grep -Ev 'healthd|smbchg|mdss' > wifi.log
Output Log
[53402.543651] ------------[ cut here ]------------
[53402.543692] WARNING: at ../../../../../../kernel/oneplus/msm8994/fs/proc/generic.c:345 proc_register+0xb8/0x140()
[53402.543698] proc_dir_entry '/proc/cld' already registered
[53402.543707] CPU: 1 PID: 437 Comm: [email protected] Tainted: G W 3.10.108-perf+ #1
[53402.543712] Hardware name: Qualcomm Technologies, Inc. MSM8994v2.1 MTP (DT)
[53402.543718] Call trace:
[53402.543728] [<ffffffc000088780>] dump_backtrace+0x0/0x290
[53402.543735] [<ffffffc000088b1c>] show_stack+0x14/0x1c
[53402.543745] [<ffffffc000d8873c>] dump_stack+0x20/0x28
[53402.543754] [<ffffffc00009ee08>] warn_slowpath_fmt+0xa4/0x114
[53402.543760] [<ffffffc0001ff9a0>] proc_register+0xb8/0x140
[53402.543766] [<ffffffc0001ffd60>] proc_mkdir+0x40/0x64
[53402.543775] [<ffffffc000a2d3d8>] athdiag_procfs_init+0x30/0xa4
[53402.543784] [<ffffffc000a335b0>] HIF_PCIDeviceProbed+0x1b0/0x548
[53402.543793] [<ffffffc000a372b8>] hif_pci_configure+0x2bc/0x2ec
[53402.543798] [<ffffffc000a378f4>] hif_pci_probe+0x508/0x78c
[53402.543808] [<ffffffc0005c1a1c>] cnss_wlan_register_driver+0x1e0/0x6c0
[53402.543814] [<ffffffc000a37304>] hif_register_driver+0x18/0x20
[53402.543824] [<ffffffc00088f700>] hdd_hif_register_driver+0x38/0x7c
[53402.543830] [<ffffffc00088f830>] hdd_driver_init+0xec/0x214
[53402.543836] [<ffffffc00088fa04>] kickstart_driver+0xac/0xc8
[53402.543842] [<ffffffc00088fac8>] fwpath_changed_handler+0xa8/0xe8
[53402.543851] [<ffffffc0000c2ed0>] param_attr_store+0x5c/0x88
[53402.543857] [<ffffffc0000c2e48>] module_attr_store+0x20/0x34
[53402.543865] [<ffffffc000208a0c>] sysfs_write_file+0xe0/0x160
[53402.543875] [<ffffffc0001a0274>] vfs_write+0xa8/0x1ac
[53402.543881] [<ffffffc0001a0448>] SyS_write+0x44/0x8c
[53402.543886] ---[ end trace 413274e4083bab5e ]---
[53402.555976] HIFDiagReadMem failure (0xf8b008f8)
[53402.556145] ath: hif_pci_configure: Target probe failed.
[53402.556154] ERROR: Target Stalled : Target CPU Intr Cause 0x0
[53402.556187] Reset Device
[53402.558214] hif_pci_probe: HIF PCI Free needs to happen here
[53402.558561] msm_pcie_disable: PCIe: Assert the reset of endpoint of RC1.
[53402.584801] msm_pcie_enable: PCIe: Assert the reset of endpoint of RC1.
[53402.588947] msm_pcie_enable: PCIe RC1 PHY is ready!
[53402.599006] msm_pcie_enable: PCIe: Release the reset of endpoint of RC1.
[53402.625841] msm_pcie_enable: PCIe RC1 link initialized
[53402.626234] hif_pci_probe:, con_mode= 0x0
[53402.626245] PCI device id is 003e :003e
[53402.626266] cnss_wlan_pci 0001:01:00.0: BAR 0: assigned [mem 0xf8a00000-0xf8bfffff 64bit]
[53402.627482] \x0a hif_pci_configure : num_desired MSI set to 0
[53402.627553] \x0a Using PCI Legacy Interrupt
[53402.647857] ------------[ cut here ]------------
[53402.647897] WARNING: at ../../../../../../kernel/oneplus/msm8994/fs/proc/generic.c:345 proc_register+0xb8/0x140()
[53402.647903] proc_dir_entry '/proc/cld' already registered
[53402.647913] CPU: 1 PID: 437 Comm: [email protected] Tainted: G W 3.10.108-perf+ #1
[53402.647919] Hardware name: Qualcomm Technologies, Inc. MSM8994v2.1 MTP (DT)
[53402.647925] Call trace:
[53402.647937] [<ffffffc000088780>] dump_backtrace+0x0/0x290
[53402.647944] [<ffffffc000088b1c>] show_stack+0x14/0x1c
[53402.647955] [<ffffffc000d8873c>] dump_stack+0x20/0x28
[53402.647965] [<ffffffc00009ee08>] warn_slowpath_fmt+0xa4/0x114
[53402.647971] [<ffffffc0001ff9a0>] proc_register+0xb8/0x140
[53402.647978] [<ffffffc0001ffd60>] proc_mkdir+0x40/0x64
[53402.647989] [<ffffffc000a2d3d8>] athdiag_procfs_init+0x30/0xa4
[53402.647999] [<ffffffc000a335b0>] HIF_PCIDeviceProbed+0x1b0/0x548
[53402.648007] [<ffffffc000a372b8>] hif_pci_configure+0x2bc/0x2ec
[53402.648093] [<ffffffc000a378f4>] hif_pci_probe+0x508/0x78c
[53402.648105] [<ffffffc0005c1a1c>] cnss_wlan_register_driver+0x1e0/0x6c0
[53402.648111] [<ffffffc000a37304>] hif_register_driver+0x18/0x20
[53402.648123] [<ffffffc00088f700>] hdd_hif_register_driver+0x38/0x7c
[53402.648129] [<ffffffc00088f830>] hdd_driver_init+0xec/0x214
[53402.648135] [<ffffffc00088fa04>] kickstart_driver+0xac/0xc8
[53402.648142] [<ffffffc00088fac8>] fwpath_changed_handler+0xa8/0xe8
[53402.648151] [<ffffffc0000c2ed0>] param_attr_store+0x5c/0x88
[53402.648157] [<ffffffc0000c2e48>] module_attr_store+0x20/0x34
[53402.648167] [<ffffffc000208a0c>] sysfs_write_file+0xe0/0x160
[53402.648178] [<ffffffc0001a0274>] vfs_write+0xa8/0x1ac
[53402.648185] [<ffffffc0001a0448>] SyS_write+0x44/0x8c
[53402.648190] ---[ end trace 413274e4083bab5f ]---
[53402.660409] HIFDiagReadMem failure (0xf8b008f8)
[53402.660481] ath: hif_pci_configure: Target probe failed.
[53402.660489] ERROR: Target Stalled : Target CPU Intr Cause 0x0
[53402.660546] Reset Device
[53402.662566] hif_pci_probe: HIF PCI Free needs to happen here
[53402.662926] msm_pcie_disable: PCIe: Assert the reset of endpoint of RC1.
[53402.688790] msm_pcie_enable: PCIe: Assert the reset of endpoint of RC1.
[53402.693705] msm_pcie_enable: PCIe RC1 PHY is ready!
[53402.703799] msm_pcie_enable: PCIe: Release the reset of endpoint of RC1.
[53402.730571] msm_pcie_enable: PCIe RC1 link initialized
[53402.730978] hif_pci_probe:, con_mode= 0x0
[53402.730989] PCI device id is 003e :003e
[53402.731012] cnss_wlan_pci 0001:01:00.0: BAR 0: assigned [mem 0xf8a00000-0xf8bfffff 64bit]
[53402.732246] \x0a hif_pci_configure : num_desired MSI set to 0
[53402.732297] \x0a Using PCI Legacy Interrupt
[53402.752899] ------------[ cut here ]------------
[53402.752949] WARNING: at ../../../../../../kernel/oneplus/msm8994/fs/proc/generic.c:345 proc_register+0xb8/0x140()
[53402.752960] proc_dir_entry '/proc/cld' already registered
[53402.752976] CPU: 1 PID: 437 Comm: [email protected] Tainted: G W 3.10.108-perf+ #1
[53402.752986] Hardware name: Qualcomm Technologies, Inc. MSM8994v2.1 MTP (DT)
[53402.752997] Call trace:
[53402.753016] [<ffffffc000088780>] dump_backtrace+0x0/0x290
[53402.753029] [<ffffffc000088b1c>] show_stack+0x14/0x1c
[53402.753046] [<ffffffc000d8873c>] dump_stack+0x20/0x28
[53402.753062] [<ffffffc00009ee08>] warn_slowpath_fmt+0xa4/0x114
[53402.753074] [<ffffffc0001ff9a0>] proc_register+0xb8/0x140
[53402.753086] [<ffffffc0001ffd60>] proc_mkdir+0x40/0x64
[53402.753104] [<ffffffc000a2d3d8>] athdiag_procfs_init+0x30/0xa4
[53402.753120] [<ffffffc000a335b0>] HIF_PCIDeviceProbed+0x1b0/0x548
[53402.753135] [<ffffffc000a372b8>] hif_pci_configure+0x2bc/0x2ec
[53402.753146] [<ffffffc000a378f4>] hif_pci_probe+0x508/0x78c
[53402.753164] [<ffffffc0005c1a1c>] cnss_wlan_register_driver+0x1e0/0x6c0
[53402.753175] [<ffffffc000a37304>] hif_register_driver+0x18/0x20
[53402.753194] [<ffffffc00088f700>] hdd_hif_register_driver+0x38/0x7c
[53402.753206] [<ffffffc00088f830>] hdd_driver_init+0xec/0x214
[53402.753218] [<ffffffc00088fa04>] kickstart_driver+0xac/0xc8
[53402.753230] [<ffffffc00088fac8>] fwpath_changed_handler+0xa8/0xe8
[53402.753246] [<ffffffc0000c2ed0>] param_attr_store+0x5c/0x88
[53402.753258] [<ffffffc0000c2e48>] module_attr_store+0x20/0x34
[53402.753272] [<ffffffc000208a0c>] sysfs_write_file+0xe0/0x160
[53402.753288] [<ffffffc0001a0274>] vfs_write+0xa8/0x1ac
[53402.753300] [<ffffffc0001a0448>] SyS_write+0x44/0x8c
[53402.753309] ---[ end trace 413274e4083bab60 ]---
[53402.765424] HIFDiagReadMem failure (0xf8b008f8)
[53402.765498] ath: hif_pci_configure: Target probe failed.
[53402.765509] ERROR: Target Stalled : Target CPU Intr Cause 0x0
[53402.765558] Reset Device
[53402.767586] hif_pci_probe: HIF PCI Free needs to happen here
[53402.768391] msm_pcie_disable: PCIe: Assert the reset of endpoint of RC1.
[53402.795198] msm_pcie_enable: PCIe: Assert the reset of endpoint of RC1.
[53402.799705] msm_pcie_enable: PCIe RC1 PHY is ready!
[53402.809861] msm_pcie_enable: PCIe: Release the reset of endpoint of RC1.
[53402.836825] msm_pcie_enable: PCIe RC1 link initialized
[53402.837290] hif_pci_probe:, con_mode= 0x0
[53402.837304] PCI device id is 003e :003e
[53402.837330] cnss_wlan_pci 0001:01:00.0: BAR 0: assigned [mem 0xf8a00000-0xf8bfffff 64bit]
[53402.838587] \x0a hif_pci_configure : num_desired MSI set to 0
[53402.838648] \x0a Using PCI Legacy Interrupt
[53402.858948] ------------[ cut here ]------------
Output lspci
00:00.0 Class 0604: 17cb:0300
01:00.0 Class 0280: 168c:003e
But my problem is, i aint know how to fix this has someone fixed the wifi already in generelly under android?
Have you tried to restore/reflash your op2 to stock OOS?
Yes without success
djc82k said:
Yes without success
Click to expand...
Click to collapse
Without success to restore or wifi still not working after restore?
lucyr03 said:
Without success to restore or wifi still not working after restore?
Click to expand...
Click to collapse
Yes i tried a restore but the wifi still not working
djc82k said:
Yes i tried a restore but the wifi still not working
Click to expand...
Click to collapse
https://forums.oneplus.com/threads/...ck-guide-for-a-hard-bricked-oneplus-2.347607/
Try method 2, if it's still not working you either have a corrupted EFS or faulty motherboard.
lucyr03 said:
https://forums.oneplus.com/threads/...ck-guide-for-a-hard-bricked-oneplus-2.347607/
Try method 2, if it's still not working you either have a corrupted EFS or faulty motherboard.
Click to expand...
Click to collapse
Update:
[20190405_16:21:26.449145]@1 type=1400 "NetworkMonitorN"
[20190405_16:21:26.469361]@3 audit: audit_lost=2317 audit_rate_limit=20 audit_backlog_limit=64
[20190405_16:21:26.469381]@3 audit: rate limit exceeded
[20190405_16:21:26.474291]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474532]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474609]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474673]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474736]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474796]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474854]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474912]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.474970]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475028]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475092]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475157]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475215]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475273]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475335]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475393]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475453]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475511]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.475569]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.475632]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.475694]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.475754]@0 type=1400 "ConnectivitySer"
[20190405_16:21:26.475834]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.476223]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.476293]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.476351]@0 type=1400 "WifiStateMachin"
[20190405_16:21:26.476408]@0 type=1400 "EthernetService"
[20190405_16:21:26.476865]@0 type=1400 "EthernetService"
[20190405_16:21:26.476989]@0 type=1400 "EthernetService"
[20190405_16:21:26.706368]@3 msm8994_quat_mi2s_snd_shutdown Quaternary MI2S Clock is Disabled
[20190405_16:21:26.706380]@3 msm8994_quat_mi2s_snd_startup: dai name qcom,msm-dai-q6-mi2s-quat.207 ffffffc0d7096010 substream = subdevice #0 stream = 0 bit width =2 sample rate =48000
[20190405_16:21:26.730975]@0 tfa98xx_dsp_system_stable(left): MTP0 1
Stockrom is now live, but wifi still not working
[email protected]:/ # uname -a
Linux localhost 3.10.84-perf+ #1 SMP PREEMPT Sat Jun 4 13:05:25 CST 2016 aarch64

Whatsapp can't record voice notes

EDIT: FIXED! Turns out I had the magisk module "Oneplus 6 stereo speaker mod" installed (not sure why I didn't have the 6t version, maybe that's part of the reason), after uninstalling that everything started working again.
Hey everyone,
so after updating to OOS10 I can't record voice messages in whatsapp anymore. Every other app works fine, even whatsapp calls work, just voice notes are broken.
I know there are a few similar threads but the only proposed solution there is to use WhatsApp Business, which I don't want to.
I've looked at the logcat while trying to record a message and there's a few error messages thrown by various audio drivers
Code:
01-04 20:34:42.610 824 29193 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 3
01-04 20:34:42.612 824 29193 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
01-04 20:34:42.612 824 29193 E ACDB-LOADER: Error: ACDB AFE returned = -19
01-04 20:34:42.699 824 29193 E msm8974_platform: platform_set_channel_map: Could not set ctl, error:-22 ch_count:2
01-04 20:34:42.793 961 1026 E SurfaceFlinger: screenshot by : /system/bin/surfaceflinger
01-04 20:34:43.024 961 1026 E SurfaceFlinger: screenshot by : /system/bin/surfaceflinger
01-04 20:34:43.134 824 11979 E audio_route: unable to find path 'speaker-dmic-endfire-whatsapp'
01-04 20:34:43.137 824 11979 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
01-04 20:34:43.137 824 11979 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
01-04 20:34:43.137 824 11979 E ACDB-LOADER: Error: ACDB AFE returned = -19
01-04 20:34:43.140 961 1026 E SurfaceFlinger: screenshot by : /system/bin/surfaceflinger
01-04 20:34:43.146 824 11979 E audio_hw_primary: start_input_stream: cannot set hw params: Invalid argument
01-04 20:34:43.148 824 11979 E audio_route: unable to find path 'speaker-dmic-endfire-whatsapp'
01-04 20:34:43.222 824 11979 E audio_route: unable to find path 'speaker-dmic-endfire-whatsapp'
01-04 20:34:43.225 824 11979 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
01-04 20:34:43.226 824 11979 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
01-04 20:34:43.226 824 11979 E ACDB-LOADER: Error: ACDB AFE returned = -19
01-04 20:34:43.233 824 11979 E audio_hw_primary: start_input_stream: cannot set hw params: Invalid argument
01-04 20:34:43.236 824 11979 E audio_route: unable to find path 'speaker-dmic-endfire-whatsapp'
01-04 20:34:43.242 961 1026 E SurfaceFlinger: screenshot by : /system/bin/surfaceflinger
01-04 20:34:43.311 824 11979 E audio_route: unable to find path 'speaker-dmic-endfire-whatsapp'
01-04 20:34:43.313 824 11979 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
These messages keep looping while trying to record the message, showing the the code just tries to connect to the mic in the background indefinitely but always fails.
Anyone have any idea what to do here? I've reinstalled Whatsapp already to no avail, rebooting didn't help either.

Random Media Pauses

I have a strange problem that started recently where media I'm listening to/watching will randomly pause. It happens both when playing on my phone and when playing over bluetooth to my car or headphones. Sometimes it happens when my phone is sitting on the counter and I'm not touching it. I've had it happen in both Pocket Casts and Youtube Vanced, but those are the only two media apps I use regularly.
I was able to grab a logcat where I started a podcast and then it paused a second or two after it started. I've tried to read through it but I can't really make sense of it. Here are two sections I think might be relevant, but I'm not really sure what it means:
Code:
02-14 17:19:29.537 5612 5612 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
02-14 17:19:29.537 5612 5612 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
02-14 17:19:29.538 1119 2261 D NuPlayerDriver: reset(0xeab4a500) at state 4
02-14 17:19:29.539 1223 4542 I AS.AudioService: releasePlayer: 39 currentPackageName:com.android.chrome
02-14 17:19:29.539 1119 7508 W AMessage: failed to post message as target looper for handler 0 is gone.
02-14 17:19:29.539 1223 4542 I OpAudioMonitor: MDM,stop.
02-14 17:19:29.540 1119 7508 D NuPlayerDriver: notifyResetComplete(0xeab4a500)
and
Code:
02-14 17:19:32.091 3918 3918 D TouchInteractionService: onInputEvent# ev: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=614.0, y[0]=715.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=109664, downTime=109664, deviceId=6, source=0x1002, displayId=0 }
02-14 17:19:32.096 3918 3918 I Surface : opservice is null false
02-14 17:19:32.096 3894 3894 I Surface : opservice is null false
02-14 17:19:32.097 921 1000 I SurfaceFlinger: surface flinger receiver command 20001 .....
02-14 17:19:32.098 921 1000 I SurfaceFlinger: surface flinger receiver command 20001 .....
02-14 17:19:32.123 816 2840 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
02-14 17:19:32.159 4019 4019 D MediaBrowserCompat: Connecting to a MediaBrowserService.
02-14 17:19:32.162 566 566 E SELinux : avc: denied { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1223 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
02-14 17:19:32.184 1223 4920 I MediaFocusControl: abandonAudioFocus() from uid/pid 10118/4019 [email protected][email protected]
02-14 17:19:32.197 566 566 E SELinux : avc: denied { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1223 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
02-14 17:19:32.205 4019 14234 D AudioTrack: ClientUid 10118 AudioTrack::pause
02-14 17:19:32.207 1223 4920 I AS.AudioService: playerEvent: 63 event: 3 isMusicActive:true device:2 currentPackageName:au.com.shiftyjelly.pocketcasts
02-14 17:19:32.207 1223 4920 I OpAudioMonitor: MDM,stop.
02-14 17:19:32.207 1223 4920 I OpAudioMonitor: MDM,stop startTime:1581729563 endTime:1581729572
02-14 17:19:32.208 1223 4920 I OpAudioMonitor: MDM, playing,device:5 lapse:9
02-14 17:19:32.208 1223 4920 I OpAudioMonitor: MDM,device:2 lapse:9 packageName:au.com.shiftyjelly.pocketcasts
02-14 17:19:32.208 1223 4920 I OpAudioMonitor: MDM,stop remove start time for:au.com.shiftyjelly.pocketcasts
02-14 17:19:32.208 1223 1786 I OpAudioMonitor: logMdm run preserveOsData tag:audio_connect
I can't post a link to the full logcat because I'm a new user, but if anyone wants to look at it let me know.
If anyone has any ideas as to what would be causing this I'd love to hear!
Thanks!

Categories

Resources