Random Media Pauses - OnePlus 6T Questions & Answers

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!

Related

Whatsapp crashes

I changed rom to smartisan and im trying to fix the whatsapp crash.
here is a logcat. any help will be super nice
Code:
I/ActivityManager( 589): Start proc com.whatsapp for activity com.whatsapp/.Main: pid=15856 uid=10063 gids={50063, 1015, 3003, 1006, 1028}
D/WindowManager( 589): 1st smartisan anim frame is drawn, mIsEnterSmartisanTransition = true
D/WindowManager( 589): onFirstSmartisanTransitionFrameIsDrawn: readyToFlip
D/WindowManager( 589): resumeFinishDrawingWindow: mPendingShowWins = []
D/WindowManager( 589): finishDrawingWindow(2): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null, mIsFirstFrameDrawn = true, mIsAppWindowDrawn = false
D/WindowManager( 589): finishDrawingWindow(1): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null
D/WindowManager( 589): onAppWinShown: win = Window{4286e590 u0 Starting com.whatsapp}, mIsInSmartisanTransition = true, mIsEnterSmartisanTransition = true
D/WindowManager( 589): TRY_HIDE_TRANSIT_ANIM: mIsInSmartisanTransition = true, mIsSmartisanAnimationEnded = false, mIsEnterSmartisanTransition = true, mIsAppWindowDrawn = true
D/WindowManager( 589): finishDrawingWindow(2): win = Window{427740f0 u0 SurfaceView}, win.mAttachedWindow = Window{426d7d70 u0 com.smartisanos.launcher/com.smartisanos.launcher.Launcher}, mIsFirstFrameDrawn = true, mIsAppWindowDrawn = true
D/WindowManager( 589): finishDrawingWindow(1): win = Window{427740f0 u0 SurfaceView}, win.mAttachedWindow = Window{426d7d70 u0 com.smartisanos.launcher/com.smartisanos.launcher.Launcher}
D/WindowManager( 589): finishDrawingWindow(2): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null, mIsFirstFrameDrawn = true, mIsAppWindowDrawn = true
D/WindowManager( 589): finishDrawingWindow(1): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null
E/AndroidRuntime(15856): FATAL EXCEPTION: main
E/AndroidRuntime(15856): java.lang.VerifyError: com/c
E/AndroidRuntime(15856): at com.whatsapp.App.onCreate(App.java:2489)
E/AndroidRuntime(15856): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
E/AndroidRuntime(15856): at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
E/AndroidRuntime(15856): at android.app.ActivityThread.access$1300(ActivityThread.java)
E/AndroidRuntime(15856): at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
E/AndroidRuntime(15856): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime(15856): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime(15856): at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime(15856): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15856): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(15856): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime(15856): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/AndroidRuntime(15856): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 589): Force finishing activity com.whatsapp/.Main
I/ActivityManager( 589): Process com.whatsapp (pid 15856) has died.
I/ActivityManager( 589): Start proc com.whatsapp for activity com.whatsapp/.Main: pid=15856 uid=10063 gids={50063, 1015, 3003, 1006, 1028}
D/WindowManager( 589): 1st smartisan anim frame is drawn, mIsEnterSmartisanTransition = true
D/WindowManager( 589): onFirstSmartisanTransitionFrameIsDrawn: readyToFlip
D/WindowManager( 589): resumeFinishDrawingWindow: mPendingShowWins = []
D/WindowManager( 589): finishDrawingWindow(2): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null, mIsFirstFrameDrawn = true, mIsAppWindowDrawn = false
D/WindowManager( 589): finishDrawingWindow(1): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null
D/WindowManager( 589): onAppWinShown: win = Window{4286e590 u0 Starting com.whatsapp}, mIsInSmartisanTransition = true, mIsEnterSmartisanTransition = true
D/WindowManager( 589): TRY_HIDE_TRANSIT_ANIM: mIsInSmartisanTransition = true, mIsSmartisanAnimationEnded = false, mIsEnterSmartisanTransition = true, mIsAppWindowDrawn = true
D/WindowManager( 589): finishDrawingWindow(2): win = Window{427740f0 u0 SurfaceView}, win.mAttachedWindow = Window{426d7d70 u0 com.smartisanos.launcher/com.smartisanos.launcher.Launcher}, mIsFirstFrameDrawn = true, mIsAppWindowDrawn = true
D/WindowManager( 589): finishDrawingWindow(1): win = Window{427740f0 u0 SurfaceView}, win.mAttachedWindow = Window{426d7d70 u0 com.smartisanos.launcher/com.smartisanos.launcher.Launcher}
D/WindowManager( 589): finishDrawingWindow(2): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null, mIsFirstFrameDrawn = true, mIsAppWindowDrawn = true
D/WindowManager( 589): finishDrawingWindow(1): win = Window{4286e590 u0 Starting com.whatsapp}, win.mAttachedWindow = null
E/AndroidRuntime(15856): FATAL EXCEPTION: main
E/AndroidRuntime(15856): java.lang.VerifyError: com/c
E/AndroidRuntime(15856): at com.whatsapp.App.onCreate(App.java:2489)
E/AndroidRuntime(15856): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
E/AndroidRuntime(15856): at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
E/AndroidRuntime(15856): at android.app.ActivityThread.access$1300(ActivityThread.java)
E/AndroidRuntime(15856): at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
E/AndroidRuntime(15856): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime(15856): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime(15856): at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime(15856): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15856): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(15856): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime(15856): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/AndroidRuntime(15856): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 589): Force finishing activity com.whatsapp/.Main
I/ActivityManager( 589): Process com.whatsapp (pid 15856) has died.

setools-android with sepolicy-inject

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 ...

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.

A5 2016 Wifi Won't turn on after recent official update

Restoring to factory didnt help.
Current firmware is: NRD90M.A510FXXS7CRJ6
When trying to turn on wifi it is showing circle of busy but nothing happens. Tried Airplane mode the same thing Tried emergency mode (the one with limited apps for power saving) same thing. Logcat output pertaining to wifi:
Code:
11-12 08:24:53.380 2840 2985 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:906 com.samsung.android.server.wifi.bigdata.WifiBigDataLogManager.sendBroadcastToContextFramework:366 com.samsung.android.server.wifi.bigdata.WifiBigDataLogManager.parseAndSendData:411 com.samsung.android.server.wifi.bigdata.WifiBigDataLogManager.-wrap2:-1 com.samsung.android.server.wifi.bigdata.WifiBigDataLogManager$MainHandler.handleMessage:471
11-12 08:24:58.388 2320 2823 I WifiHW : wifi_change_fw_path(): fwpath = /system/etc/wifi/bcmdhd_sta.bin
11-12 08:24:58.389 2320 2823 I WifiHW : wifi_change_nvram_path() = /system/etc/wifi/nvram_net.txt
11-12 08:24:58.390 2840 2985 E NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 42 Softap operation succeeded
11-12 08:24:58.394 2840 2985 E wifi : Could not read interface wlan0 flags: 19
11-12 08:24:58.498 2840 2840 D HS20StateMachine: Broadcast Received: android.net.wifi.WIFI_STATE_CHANGED
11-12 08:24:58.498 2840 2840 I WifiHs20Service: Broadcast received:android.net.wifi.WIFI_STATE_CHANGED
11-12 08:24:58.500 3105 3550 D NetworkController: onReceive: intent=Intent { act=android.net.wifi.WIFI_STATE_CHANGED flg=0x4000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } bqHint=1 (has extras) }
11-12 08:25:18.523 2320 2823 I WifiHW : wifi_change_fw_path(): fwpath = /system/etc/wifi/bcmdhd_sta.bin
11-12 08:25:18.523 2320 2823 I WifiHW : wifi_change_nvram_path() = /system/etc/wifi/nvram_net.txt
11-12 08:25:18.524 2840 2985 E NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 45 Softap operation succeeded
11-12 08:25:18.529 2840 2985 E wifi : Could not read interface wlan0 flags: 19
11-12 08:25:18.536 3105 3550 D NetworkController: onReceive: intent=Intent { act=android.net.wifi.WIFI_STATE_CHANGED flg=0x4000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } bqHint=1 (has extras) }
11-12 08:25:18.539 2840 2840 D HS20StateMachine: Broadcast Received: android.net.wifi.WIFI_STATE_CHANGED
11-12 08:25:18.539 2840 2840 I WifiHs20Service: Broadcast received:android.net.wifi.WIFI_STATE_CHANGED
11-12 08:25:28.563 2320 2823 I WifiHW : wifi_change_fw_path(): fwpath = /system/etc/wifi/bcmdhd_sta.bin
11-12 08:25:28.563 2320 2823 I WifiHW : wifi_change_nvram_path() = /system/etc/wifi/nvram_net.txt
11-12 08:25:28.566 2840 2985 E NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 48 Softap operation succeeded
11-12 08:25:28.575 2840 2985 E wifi : Could not read interface wlan0 flags: 19
11-12 08:25:28.586 2840 2840 D HS20StateMachine: Broadcast Received: android.net.wifi.WIFI_STATE_CHANGED
11-12 08:25:28.586 2840 2840 I WifiHs20Service: Broadcast received:android.net.wifi.WIFI_STATE_CHANGED
11-12 08:25:28.589 3105 3550 D NetworkController: onReceive: intent=Intent { act=android.net.wifi.WIFI_STATE_CHANGED flg=0x4000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } bqHint=1 (has extras) }
Is there anything I can do to fix it?

Steam Link app not working on Lineage

I am using Lineage 17.1 no GAPS / no MicroG on a shield TV pro. When I launch the steamlink app I just get a blank screen. I thought maybe it needs gaps but I loaded it on to my OP9P with Linage 18.1 no gaps no micro-g and it works just fine. Logcat shows this for app startup. Any ideas? TIA!
01-28 10:32:50.149 5369 5393 D SteamLink: Added controller with mapping 030000005e0400001907000000006800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,
01-28 10:32:50.183 5369 5393 W Gralloc2: lock(0x2278db7d80, ...) failed: 5
01-28 10:32:50.183 5369 5393 W Surface : failed locking buffer (handle = 0x2278db7d80)
01-28 10:32:50.179 5369 5369 W MainThrd: type=1400 audit(0.0:480): avc: denied { open } for path="/dev/ashmem" dev="tmpfs" ino=3306 scontext=u:r:untrusted_app:s0:c44,c256,c512,c768 tcontext=ubject_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.valvesoftware.steamlink
01-28 10:32:50.183 5369 5393 W SteamLink: ANativeWindow_lock() failed! error= -38
01-28 10:32:50.249 5369 5393 W Gralloc2: lock(0x2278db9d00, ...) failed: 5
01-28 10:32:50.249 5369 5393 W Surface : failed locking buffer (handle = 0x2278db9d00)
01-28 10:32:50.249 5369 5393 W SteamLink: ANativeWindow_lock() failed! error= -38
01-28 10:32:50.253 5369 5393 W Gralloc2: lock(0x2278db9e80, ...) failed: 5
01-28 10:32:50.253 5369 5393 W Surface : failed locking buffer (handle = 0x2278db9e80)
01-28 10:32:50.253 5369 5393 W SteamLink: ANativeWindow_lock() failed! error= -38
01-28 10:32:50.559 5369 5393 I SDL/APP : Connected to Remote Client service with session 8489617317367984890
01-28 10:32:50.921 3660 3781 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
01-28 10:32:51.132 3660 4249 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
01-28 10:32:52.179 5369 5382 I tware.steamlin: ThreadFlipBegin blocked for 485.264ms
01-28 10:32:52.179 5369 5401 I tware.steamlin: IncrementDisableThreadFlip blocked for 34.931ms
01-28 10:32:52.190 5369 5382 I tware.steamlin: Background young concurrent copying GC freed 11156(3166KB) AllocSpace objects, 4(144KB) LOS objects, 95% free, 1167KB/25MB, paused 103us total 497.913ms
01-28 10:32:52.391 3660 3660 W WindowManager: removeWindowToken: Attempted to remove non-existing token: [email protected]
01-28 10:32:52.922 3660 3781 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
01-28 10:32:53.373 3364 5221 W nvaudio_hw: UNDERRUN DETECTED for hdmi-playback ret 0 avail 835
01-28 10:32:54.986 3660 3702 E LightsService: Light requested not available on this device. 2
01-28 10:32:58.811 3660 3660 W WindowManager: One touch play failed: 1

Categories

Resources