suddenly won't boot - Nexus 10 Q&A, Help & Troubleshooting

My Nexus 10 is suddenly stuck in a reboot loop. It says 'starting apps' for a while and then starts up again, although it doesn't seem to completely reboot (I don't see the Google unlocked bootloader image each time).
I wasn't trying to flash it or anything. It's been running the same CM build for months. I just woke up and found it like this yesterday.
I have TWRP installed and used it to wipe the Dalvik cache, which didn't help. It boots in safe mode ok though.
Is there anything else I can do other than wipe it?

I got the log from boot up via adb, it ends with the following:
--------- beginning of crash
09-23 12:59:28.261 588 588 F libc : invalid address or address of corrupt block 0x279 passed to dlfree
09-23 12:59:28.262 588 588 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 588 (ndroid.systemui)
09-23 12:59:28.262 150 150 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
09-23 12:59:28.262 150 150 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
09-23 12:59:28.262 150 150 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
09-23 12:59:28.268 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.268 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.268 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -F st_clear_detect
09-23 12:59:28.278 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.278 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.278 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -F st_clear_detect
09-23 12:59:28.292 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.299 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.299 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_penalty_log
09-23 12:59:28.307 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.307 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.307 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_penalty_log
09-23 12:59:28.317 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.322 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.322 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_penalty_reject
09-23 12:59:28.332 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.334 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.334 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_penalty_reject
09-23 12:59:28.336 450 550 D wifi : set interface wlan0 flags (UP)
09-23 12:59:28.336 450 550 I WifiHAL : Initializing wifi
09-23 12:59:28.336 450 550 I WifiHAL : Creating socket
09-23 12:59:28.337 450 550 E WifiHAL : Could not find group vendor
09-23 12:59:28.337 450 550 I WifiHAL : Initialized Wifi HAL Successfully; vendor cmd = 103
09-23 12:59:28.337 450 550 D wifi : Did set static halHandle = 0xb77f56c8
09-23 12:59:28.337 450 550 D wifi : halHandle = 0xb77f56c8, mVM = 0xb7264408, mCls = 0x200782
09-23 12:59:28.337 450 550 D wifi : array field set
09-23 12:59:28.337 450 550 I WifiNative-HAL: interface[0] = wlan0
09-23 12:59:28.337 450 550 I WifiNative-HAL: interface[1] = p2p0
09-23 12:59:28.340 450 793 I WifiNative-HAL: Waiting for HAL events mWifiHalHandle=3078575816
09-23 12:59:28.340 450 793 D wifi : waitForHalEvents called, vm = 0xb7264408, obj = 0x200782, env = 0xb77b58d8
09-23 12:59:28.340 450 550 D WifiMonitor: startMonitoring(wlan0) with mConnected = false
09-23 12:59:28.341 450 550 E WifiHW : Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
09-23 12:59:28.348 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.351 450 478 I ActivityManager: Start proc 795:com.android.settings/1000 for broadcast com.android.settings/.widget.SettingsAppWidgetProvider
09-23 12:59:28.357 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.358 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_clear_caught
09-23 12:59:28.363 150 150 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-23 12:59:28.363 150 150 F DEBUG : CM Version: '13.0-20160820-SNAPSHOT-ZNH5YAO0J6-manta'
09-23 12:59:28.363 150 150 F DEBUG : Build fingerprint: 'google/mantaray/manta:5.1.1/LMY47V/1836172:user/release-keys'
09-23 12:59:28.363 150 150 F DEBUG : Revision: '0'
09-23 12:59:28.363 150 150 F DEBUG : ABI: 'arm'
09-23 12:59:28.363 150 150 F DEBUG : pid: 588, tid: 588, name: ndroid.systemui >>> com.android.systemui <<<
09-23 12:59:28.363 150 150 E DEBUG : AM write failed: Broken pipe
09-23 12:59:28.363 150 150 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
09-23 12:59:28.383 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.384 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.384 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_caught
09-23 12:59:28.388 150 150 F DEBUG : Abort message: 'invalid address or address of corrupt block 0x279 passed to dlfree'
09-23 12:59:28.388 150 150 F DEBUG : r0 deadbaad r1 7c6433a6 r2 00000000 r3 00001200
09-23 12:59:28.388 150 150 F DEBUG : r4 00000279 r5 00000281 r6 000000cf r7 bee076bc
09-23 12:59:28.388 150 150 F DEBUG : r8 bee076b8 r9 bee076b4 sl bee076c0 fp 00005808
09-23 12:59:28.388 150 150 F DEBUG : ip b6cc6618 sp bee07660 lr b6c90139 pc b6c90140 cpsr 600f0030
09-23 12:59:28.393 150 150 F DEBUG :
09-23 12:59:28.393 150 150 F DEBUG : backtrace:
09-23 12:59:28.393 150 150 F DEBUG : #00 pc 00034140 /system/lib/libc.so (dlfree+799)
09-23 12:59:28.393 150 150 F DEBUG : #01 pc 00015c01 /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+36)
09-23 12:59:28.393 150 150 F DEBUG : #02 pc 00016b87 /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+14)
09-23 12:59:28.393 150 150 F DEBUG : #03 pc 00016b61 /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
09-23 12:59:28.393 150 150 F DEBUG : #04 pc 00011d57 /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+274)
09-23 12:59:28.393 150 150 F DEBUG : #05 pc 00011dcf /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+54)
09-23 12:59:28.393 150 150 F DEBUG : #06 pc 000872d7 /system/lib/libandroid_runtime.so
09-23 12:59:28.393 150 150 F DEBUG : #07 pc 71fcac89 /data/dalvik-cache/arm/[email protected]@boot.oat (offset 0x1f67000)
09-23 12:59:28.412 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.420 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.420 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_clear_detect
09-23 12:59:28.429 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.436 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.436 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_detect
09-23 12:59:28.439 794 794 I wpa_supplicant: Successfully initialized wpa_supplicant
09-23 12:59:28.517 795 795 W System : ClassLoader referenced unknown path: /system/priv-app/Settings/lib/arm

Reset to factory defaults (and installed LineageOS 13.0 build). Boots ok, but then restoring my old apps causes the same thing to happen again.

Worked out that one of the latest app updates causes this. Removed it in safe mode and all is good. https://play.google.com/store/apps/details?id=au.com.realestate.app&hl=en

Related

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

WifiStateMachin Bug

Hey,
Issue: Once screen times out or is locked, the phone restarts. WiFi does not enable. Can reproduce every time.
Phone: N9005, BNL8 Modem/Bootloader, CM12 5.5 (same on every build though, since first builds).
Tried: Flashing back to stock then coming back, using KK Modem/Bootloader, Checking MD5.
The issue seems to be only with CM, as using any TW rom the Wifi works fine and the phone doesn't reboot.
Logcat: This is the whole 15 seconds before screen goes off http://pastebin.com/gVvxXzkj
Code:
--------- beginning of crash
01-17 18:39:58.686 696 847 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x5600001 in tid 847 (WifiStateMachin)
01-17 18:39:58.687 303 695 E audio_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
01-17 18:39:58.691 295 347 I ThermalEngine: Mitigation:CPU[1]:2496000 Khz
01-17 18:39:58.692 696 4675 I WifiNative-HAL: Waiting for HAL events mWifiHalHandle=-2088550336
01-17 18:39:58.693 696 4675 E wifi : getStaticLongField sWifiHalHandle 0x5c6bea1c
01-17 18:39:58.804 300 300 I DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 18:39:58.804 300 300 I DEBUG : Build fingerprint: 'samsung/hltexx/hlte:4.4.2/KOT49H/N9005XXUENC2:user/release-keys'
01-17 18:39:58.804 300 300 I DEBUG : Revision: '8'
01-17 18:39:58.804 300 300 I DEBUG : ABI: 'arm'
01-17 18:39:58.804 300 300 I DEBUG : pid: 696, tid: 847, name: WifiStateMachin >>> system_server <<<
01-17 18:39:58.804 300 300 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5600001
01-17 18:39:58.824 300 300 I DEBUG : r0 05600001 r1 781dfac8 r2 781d05cd r3 ffffffa8
01-17 18:39:58.824 300 300 I DEBUG : r4 05600001 r5 00000000 r6 781dfeb0 r7 6231e740
01-17 18:39:58.824 300 300 I DEBUG : r8 781dfad0 r9 6848d400 sl 781d05cd fp 131cb160
01-17 18:39:58.824 300 300 I DEBUG : ip b4cd1c94 sp 6231e718 lr 781d3d5d pc 781d3d5c cpsr 600f0030
01-17 18:39:58.825 300 300 I DEBUG :
01-17 18:39:58.825 300 300 I DEBUG : backtrace:
01-17 18:39:58.825 300 300 I DEBUG : #00 pc 00008d5c /system/lib/libwifi-service.so (getWifiHandle(wifi_interface_info*)+7)
01-17 18:39:58.825 300 300 I DEBUG : #01 pc 00008d65 /system/lib/libwifi-service.so (getHalInfo(wifi_interface_info*)+4)
01-17 18:39:58.825 300 300 I DEBUG : #02 pc 0000dd2d /system/lib/libwifi-service.so (wifi_get_link_stats+44)
01-17 18:39:58.825 300 300 I DEBUG : #03 pc 00004ed1 /system/lib/libwifi-service.so
01-17 18:39:58.825 300 300 I DEBUG : #04 pc 000379dd /data/dalvik-cache/arm/[email protected]@[email protected]
01-17 18:39:59.492 4678 4687 E cutils-trace: Error opening trace file: Permission denied (13)
01-17 18:40:03.535 300 300 I DEBUG :
01-17 18:40:03.535 300 300 I DEBUG : Tombstone written to: /data/tombstones/tombstone_02
01-17 18:40:03.552 696 726 I Choreographer: Skipped 285 frames! The application may be doing too much work on its main thread.
01-17 18:40:03.555 696 727 E libsuspend: Error reading from /sys/power/wakeup_count: Interrupted system call
01-17 18:40:03.551 847 847 W WifiStateMachin: type=1701 audit(0.0:268): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:system_server:s0 reason="memory violation" sig=11
01-17 18:40:03.561 696 719 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
01-17 18:40:03.565 696 2214 E SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
Bump

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.

Bootloop fail - poss hardware or software radios?

Hi All,
Any experts on the initial boot stages (radio, I think of android).
Quick back story:
1) Found that on 28 Dec 2015 Nexus 4 dead overnight. Turned on got stuck in a boot loop I (and it's stock 5.1.1. LMY48T) found that it was hanging on first boot coloured dots or 'starting apps' after optimising apps. Prior to this it had been turning off randomly, unresponive with flashing notification light, loosing network when low on battery, asking for SIM pin. It came back on once a few days later, then same issue.
2) After trying many things (and failing as it's locked, unrooted and doing anything would wipe user data) - I managed to get logcat going and see what was going on - it seemed to hang due to audio issues.
3) Recently opened it up, checked all connections and added a new battery (just in case) - no change
3) Recently I got into the shell and pulled and then delete the DCIM folder to free up some internal space (it was very full). Then re-sidedloaded the OTA LMY48M > LMY48T (clearing caches).
3) After a few restarts it came back, but then after restarting after a successful boot back to square one - so this ruled out full storage as being the culprit.
4)Tried deleting caches again and after a few restarts it has just come back (now doing a full adb backup).
Looking through adbcat I'm now more convinced it's a hardware and/or software issue over the radios - as on a successful boot some kickstart stuff works out well (essentially completing the Sahara protocol for some ESF / MDM9K). On an unsuccessful boot something fails and keeps trying, rearing it's head further up the tree as audio policy issues.
I know in 4.3.3 and in 5.x of Android Nexus4 were having radio issues - so undecided if this is a software or hardware issue (or both).
SUCESSFULL BOOT:
Code:
- waiting for device -
--------- beginning of main
E/rmt_storage( 0): Remote storage service is not supported on mdm target
W/auditd ( 165): type=2000 audit(0.0:1): initialized
I/auditd ( 165): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
W/auditd ( 165): type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
I/kickstart-qcks( 172): PARAMETER VALUES
I/kickstart-qcks( 172): COMPORT_DLOAD=/dev/ttyHSL1
I/kickstart-qcks( 172): COMPORT_SAHARA=/dev/ks_hsic_bridge
I/kickstart-qcks( 172): PATHTOIMAGES=/firmware/image/
I/kickstart-qcks( 172): PATHFORRAMDUMP=/data/tombstones/mdm/
I/kickstart-qcks( 172): EFSRAW1=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1
I/kickstart-qcks( 172): EFSRAW2=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2
I/kickstart-qcks( 172): EFSRAW3=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3
I/kickstart-qcks( 172): Header1=efs1.mbn
I/kickstart-qcks( 172): Header2=efs2.mbn
I/kickstart-qcks( 172): Header3=efs3.mbn
I/kickstart-qcks( 172): Testing if port "/dev/mdm" exists
I/kickstart-qcks( 172): Trying to bring MDM9K out of reset
I/lowmemorykiller( 167): Using in-kernel low memory killer interface
D/QSEECOMD: ( 173): qseecom listener services process entry PPID = 1
D/QSEECOMD: ( 173): Parent qseecom daemon process paused!!
D/QSEECOMD: ( 187): QSEECOM DAEMON RUNNING
D/QSEECOMD: ( 187): qseecom listener service threads starting!!!
D/QSEECOMD: ( 187): Total listener services to start = 2
D/QSEECOMD: ( 187): Init dlopen(libdrmtime.so, RTLD_NOW) succeeds
D/QSEECOMD: ( 187): Init::Init dlsym(g_FSHandle atime_start) succeeds
D/QSEECOMAPI: ( 187): QSEECom_register_listener 11 sb_length = 0x5000
D/QSEECOMD: ( 187): Init atime_start ret = 0
D/QSEECOMD: ( 187): time services: Started
D/QSEECOMD: ( 187): Init dlopen(libdrmfs.so, RTLD_NOW) succeeds
D/QSEECOMD: ( 187): Init::Init dlsym(g_FSHandle fs_start) succeeds
D/QSEECOMAPI: ( 187): QSEECom_register_listener 10 sb_length = 0x5000
D/QSEECOMD: ( 187): Init fs_start ret = 0
D/QSEECOMD: ( 187): file system services: Started
--------- beginning of system
I/Vold ( 169): Vold 2.1 (the revenge) firing up
I/SurfaceFlinger( 170): SurfaceFlinger is starting
I/SurfaceFlinger( 170): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 170): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 170): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 170): loaded /vendor/lib/egl/libGLESv2_adreno.so
I/Adreno-EGL( 170): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
I/qdgralloc( 170): using (fd=13)
I/qdgralloc( 170): id = msmfb44_80601
I/qdgralloc( 170): xres = 768 px
I/qdgralloc( 170): yres = 1280 px
I/qdgralloc( 170): xres_virtual = 768 px
I/qdgralloc( 170): yres_virtual = 3840 px
I/qdgralloc( 170): bpp = 32
I/qdgralloc( 170): r = 24:8
I/qdgralloc( 170): g = 16:8
I/qdgralloc( 170): b = 8:8
I/qdgralloc( 170): width = 61 mm (319.790161 dpi)
I/qdgralloc( 170): height = 102 mm (318.745087 dpi)
I/qdgralloc( 170): refresh rate = 60.00 Hz
D/qdutils ( 170): DEBUG_CALC_FPS: 0
D/qdutils ( 170): period: 10
D/qdutils ( 170): ignorethresh_us: 500000
D/qdutils ( 170): DEBUG_CALC_FPS: 0
D/qdutils ( 170): period: 10
D/qdutils ( 170): ignorethresh_us: 500000
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb0
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb1
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb2
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb0
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb1
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb2
I/qdhwcomposer( 170): Initializing Qualcomm Hardware Composer
I/qdhwcomposer( 170): MDP version: 440
D/qdhwcomposer( 170): connectPPDaemon: CABL is disabled
I/SurfaceFlinger( 170): Using composer version 1.2
I/qdhwcomposer( 170): hwc_registerProcs
I/qdhwcomposer( 170): Initializing UEVENT Thread
I/qdhwcomposer( 170): Initializing VSYNC Thread
D/qdhwcomposer( 170): hwc_getDisplayAttributes disp = 0, width = 768
D/qdhwcomposer( 170): hwc_getDisplayAttributes disp = 0, height = 1280
I/SurfaceFlinger( 170): EGL information:
I/SurfaceFlinger( 170): vendor : Android
I/SurfaceFlinger( 170): version : 1.4 Android META-EGL
I/SurfaceFlinger( 170): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable
I/SurfaceFlinger( 170): Client API: OpenGL_ES
I/SurfaceFlinger( 170): EGLSurface: 8-8-8-8, config=0x5
I/SurfaceFlinger( 170): OpenGL ES informations:
I/SurfaceFlinger( 170): vendor : Qualcomm
I/SurfaceFlinger( 170): renderer : Adreno (TM) 320
I/SurfaceFlinger( 170): version : OpenGL ES 3.0 [email protected] [email protected] ([email protected])
I/SurfaceFlinger( 170): extensions: GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_sync GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_con
I/SurfaceFlinger( 170): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 170): GL_MAX_VIEWPORT_DIMS = 4096
D/SurfaceFlinger( 170): Set power mode=2, type=0 flinger=0xb8e40550
D/VoldCmdListener( 169): cryptfs mountdefaultencrypted
D/Cryptfs ( 169): crypt_ftr->fs_size = 27596800
I/Cryptfs ( 169): Using scrypt with keymaster for cryptfs KDF
D/SurfaceFlinger( 170): shader cache generated - 24 shaders in 658.543518 ms
D/libEGL ( 206): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 206): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 206): loaded /vendor/lib/egl/libGLESv2_adreno.so
I/Adreno-EGL( 206): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
E/BootAnimation( 206): couldn't find audio_conf.txt
I/kickstart-qcks( 172): EFS Prepend
I/kickstart-qcks( 172): File:'/firmware/image/efs1.mbn' is available for reading
I/kickstart-qcks( 172): File:'/firmware/image/efs2.mbn' is available for reading
I/kickstart-qcks( 172): File:'/dev/block/platform/msm_sdcc.1/by-name/m9kefs1' is available for reading
I/kickstart-qcks( 172): File:'/dev/block/platform/msm_sdcc.1/by-name/m9kefs2' is available for reading
I/kickstart-qcks( 172): File:'/firmware/image/acdb.mbn' is available for reading
I/kickstart-qcks( 172): File:'/firmware/image/mdm_acdb.img' is available for reading
I/kickstart-qcks( 172): Reading RAW EFS1 partition
I/kickstart-qcks( 172): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks( 172): Combining Header1 with RAW EFS1 partition
I/kickstart-qcks( 172): Running cat /firmware/image/efs1.mbn /data/qcks/temp.dump > /data/qcks/efs1.bin
I/kickstart-qcks( 172): Reading RAW EFS2 partition
I/kickstart-qcks( 172): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks( 172): Combining Header2 with RAW EFS2 partition
I/kickstart-qcks( 172): Running cat /firmware/image/efs2.mbn /data/qcks/temp.dump > /data/qcks/efs2.bin
I/kickstart-qcks( 172): Reading RAW EFS3 partition
I/kickstart-qcks( 172): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks( 172): Combining Header3 with RAW EFS3 partition
I/kickstart-qcks( 172): Running cat /firmware/image/efs3.mbn /data/qcks/temp.dump > /data/qcks/efs3.bin
I/kickstart-qcks( 172): Combining ACDB Header with ACDB binary
I/kickstart-qcks( 172): Running cat /firmware/image/acdb.mbn /firmware/image/mdm_acdb.img > /data/qcks/acdb.bin
I/kickstart-qcks( 172): Loading Sahara images
I/kickstart-qcks( 172): Testing if port "/dev/ks_hsic_bridge" exists
E/kickstart-qcks( 172): RUNNING: /system/bin/ks -w /data/tombstones/mdm/ -p /dev/ks_hsic_bridge -r 21 -s 2:/firmware/image/amss.mbn -s 6:/firmware/image/apps.mbn -s 8:/firmware/image/dsp1.mbn -s 11:/firmware/image/osbl.mbn -s 12:/firmware/image/dsp2.mbn -s 21:/firmware/image/sbl1.mbn -s 22:/firmware/image/sbl2.mbn -s 23:/firmware/image/rpm.mbn -s 28:/firmware/image/dsp3.mbn -s 16:/data/qcks/efs1.bin -s 17:/data/qcks/efs2.bin -s 20:/data/qcks/efs3.bin -s 29:/data/qcks/acdb.bin
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 21, file "/firmware/image/sbl1.mbn"
E/kickstart( 224): 117700 bytes transferred in 0.124s (0.91 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 23, file "/firmware/image/rpm.mbn"
E/kickstart( 224): 105696 bytes transferred in 0.024s (4.24 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 22, file "/firmware/image/sbl2.mbn"
E/kickstart( 224): 242376 bytes transferred in 0.032s (7.27 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 12, file "/firmware/image/dsp2.mbn"
D/QSEECOMAPI: ( 169): QSEECom_start_app sb_length = 0x2000
D/QSEECOMAPI: ( 169): App is not loaded in QSEE
D/QSEECOMAPI: ( 169): Loaded image: APP id = 1
I/Cryptfs ( 169): Signing safely-padded object
D/QSEECOMAPI: ( 169): QSEECom_shutdown_app
D/QSEECOMAPI: ( 169): QSEECom_shutdown_app, app_id = 1
I/Cryptfs ( 169): Enabling support for allow_discards in dmcrypt.
E/kickstart( 224): 32137174 bytes transferred in 2.900s (10.57 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 28, file "/firmware/image/dsp3.mbn"
E/kickstart( 224): 6334186 bytes transferred in 0.568s (10.64 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 8, file "/firmware/image/dsp1.mbn"
E/kickstart( 224): 2688527 bytes transferred in 0.276s (9.30 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart( 224): 786472 bytes transferred in 0.064s (11.76 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 17, file "/data/qcks/efs2.bin"
E/kickstart( 224): 786472 bytes transferred in 0.064s (11.76 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 20, file "/data/qcks/efs3.bin"
E/kickstart( 224): 786472 bytes transferred in 0.064s (11.76 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 29, file "/data/qcks/acdb.bin"
E/kickstart( 224): 2097192 bytes transferred in 0.160s (12.52 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 6, file "/firmware/image/apps.mbn"
E/kickstart( 224): 2630368 bytes transferred in 0.272s (9.23 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Sahara protocol completed
UNSUCESSFUL
Where it hangs either at first boot animations or at 'starting apps':
Code:
I/SystemServer( 585): Location Manager
I/SystemServer( 585): Country Detector
I/SystemServer( 585): Search Service
I/SystemServer( 585): DropBox Service
I/SystemServer( 585): Wallpaper Service
I/SystemServer( 585): Audio Service
I/ServiceManager( 585): Waiting for service media.audio_policy...
W/TelecomManager( 585): Telecom Service not found.
I/ServiceManager( 585): Waiting for service media.audio_policy...
I/ServiceManager( 585): Waiting for service media.audio_policy...
I/ServiceManager( 585): Waiting for service media.audio_policy...
I/ServiceManager( 585): Waiting for service media.audio_policy...
W/AudioSystem( 585): AudioPolicyService not published, waiting...
Where the errors are in very early boot:
Code:
E/kickstart( 583): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart( 583): ERROR: function: start_image_transfer:932 Invalid length 40 bytes request to be transmitted
E/kickstart( 583): ERROR: function: start_sahara_based_transfer:279 start_image_transfer failed
E/kickstart( 583): ERROR: function: main:305 Uploading Image using Sahara protocol failed
E/kickstart( 583): Wrote to /sys/power/wake_unlock
I/kickstart-qcks( 172): RetCode = 256
E/kickstart-qcks( 172): ERROR: ks return code was 256, something failed
I/kickstart-qcks( 172): Trying to bring MDM9K out of reset
I/kickstart-qcks( 172): Loading Sahara images
I/kickstart-qcks( 172): Testing if port "/dev/ks_hsic_bridge" exists
E/kickstart-qcks( 172): RUNNING: /system/bin/ks -w /data/tombstones/mdm/ -p /dev/ks_hsic_bridge -r 21 -s 2:/firmware/image/amss.mbn -s 6:/firmware/image/apps.mbn -s 8:/firmware/image/dsp1.mbn -s 11:/firmware/image/osbl.mbn -s 12:/firmware/image/dsp2.mbn -s 21:/firmware/image/sbl1.mbn -s 22:/firmware/image/sbl2.mbn -s 23:/firmware/image/rpm.mbn -s 28:/firmware/image/dsp3.mbn -s 16:/data/qcks/efs1.bin -s 17:/data/qcks/efs2.bin -s 20:/data/qcks/efs3.bin -s 29:/data/qcks/acdb.bin
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 21, file "/firmware/image/sbl1.mbn"
E/kickstart( 596): 117700 bytes transferred in 0.124s (0.91 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 23, file "/firmware/image/rpm.mbn"
E/kickstart( 596): 105696 bytes transferred in 0.016s (6.33 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 22, file "/firmware/image/sbl2.mbn"
E/kickstart( 596): 242376 bytes transferred in 0.024s (9.66 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 12, file "/firmware/image/dsp2.mbn"
E/kickstart( 596): 32137174 bytes transferred in 2.288s (13.39 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 28, file "/firmware/image/dsp3.mbn"
D/ACDB-LOADER( 247): send tabla anc data
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 74
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 74
D/ACDB-LOADER( 247): ACDB -> init done!
D/ ( 247): csd_client_init
E/ ( 247): csd_client_service_init: Invalid rx device 0, setting to handset
E/ ( 247): csd_client_service_init: Invalid tx device 0, setting to handset
E/QMI_FW ( 247): xport_open: socket creation failed - 1
E/Diag_Lib( 247): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
E/kickstart( 596): 6334186 bytes transferred in 0.460s (13.13 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 8, file "/firmware/image/dsp1.mbn"
I/SamplingProfilerIntegration( 256): Profiling disabled.
D/Zygote ( 256): begin preload
I/Zygote ( 256): Preloading classes...
I/art ( 256): Explicit concurrent mark sweep GC freed 798(36KB) AllocSpace objects, 0(0B) LOS objects, 95% free, 44KB/1068KB, paused 183us total 6.989ms
I/art ( 256): Counter: 1
I/art ( 256): Explicit concurrent mark sweep GC freed 547(33KB) AllocSpace objects, 0(0B) LOS objects, 94% free, 64KB/1088KB, paused 183us total 5.035ms
E/kickstart( 596): 2688527 bytes transferred in 0.239s (10.72 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart( 596): ERROR: function: start_image_transfer:932 Invalid length 40 bytes request to be transmitted
E/kickstart( 596): ERROR: function: start_sahara_based_transfer:279 start_image_transfer failed
E/kickstart( 596): ERROR: function: main:305 Uploading Image using Sahara protocol failed
E/kickstart( 596): Wrote to /sys/power/wake_unlock
Sahara Protocol...
Narrowing down the issue.
Decided to try and restart into safe mode and also with airplane mode on.
Surprise, surprise restarting and the same old error occurred. This time thought I would keep adb rebooting until I saw that the Saraha protocol was successful. Did this 4 times and on the 4th time seemed ok.
It went and optimised apps again (due to unsuccessful boot).
Found this thread about the Sahara Protocol: http://forum.xda-developers.com/showthread.php?t=2403798
zeewox said:
These logs come from legit qcks /ks binaries. They're used to load firmware images into SoC subsystems.
Code:
Usage:
-h --help Display this usage information
-n --noclosedevnode Don't close port since it's vanished
-v --verbose Print verbose messages
-m --memdump Force memory debug mode
-i --image Force sahara image transfer mode
-c --command Force command mode
-p --port Device name for USB driver
-o --old Use old PBL boot structure for Dload
-r --ramdumpimage Image ID which must be transferred before forcing memory dump
-w --where Path to store files received from target
-t --timeout Port timeout (in seconds) to use for Sahara transfer
-d <img_id:file_name> --dload <img_id:file_name> Use DMSS download protocol for loading the image
-s <img_id:file_name> --sahara <img_id:file_name> Use Sahara download protocol for transferring the image
Example usage:
sudo kickstart -p /dev/ttyUSB0 -d 10:dbl.mbn
sudo kickstart -p /dev/ttyUSB0 -s 11:osbl.mbn -s 2:amss.mbn
Click to expand...
Click to collapse
Further update...
Managed to get it into safe mode after four boots. Then turned off SIM Pin and restarted (to get back into normal mode).
Again took about 4 restarts before the Sahara protocol was successful and (after optimising apps agin due to incomplete boots).
Thinking this rules out previous things like storage being full, side-loading system update, resetting cache and installed App problems - as actually the successive reboots that some of these options created were perhaps the key to success - leaving:
* Firmware images on the boot partition corrupting / not being read properly (software fix)
* Hardware issue of the boot partition
* Hardware issue on the qualcomm chipset stopping firmware being loaded
As far as I can tell external hardware variables like temperature have no effect.

Trouble compiling 8.2.0 kernel from source for ShieldTV 2017

I am trying to compile the 8.2.0 Kernel for my Shield TV 2017. I am hoping to adding the Wireguard kernel module.
I downloaded the source linked from https://developer.nvidia.com/shield-open-source following the instructions links here https://nv-tegra.nvidia.com/gitweb/...7;hb=1a508fa42d6ae55ee0fe62a3e07559a484794108
The source code checks out fine. I set up my cross compiler by setting these environment variables
Code:
ARCH=arm64
SUBARCH=arm64
CROSS_COMPILE=/absolute/path/shield-open-source/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
I removed the CONFIG_SYSTEM_TRUSTED_KEYS="signing_key.x509" from the tegra_android_defconfig file
I then went to ~/shield-open-source/kernel/kernel-4.9 and ran
Code:
make mrproper
make tegra_android_defconfig
make -j4
There were a few warnings that got flagged as errors and caused the build to failed. I modified the make files so the warnings wouldn't be flagged as errors (ex: ccflags-y += -Wno-error=maybe-uninitialized)
There is one more error with ~/shield-open-source/hardware/nvidia/platform/t210b01/ers/kernel-dts/ers-platforms/tegra210b01-ers-common.dtsi in that it can't find <tegra210b01-cpufreq.dtsi>. I changed this to include "darcy-platforms/tegra210b01-darcy-cpufreq.dtsi"
I also added Wireguard by following the kernel instructions from https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
At this point I am able build the Image.gz file. I took the boot.img from the recovery images that NVidia provides and used AndroidImageKitchen (https://forum.xda-developers.com/showthread.php?t=2073775) to unpack the boot.img, swap out boot.img-Image.gz with the one Image.gz that I compiled and re-packed the boot.img I flashed this boot.img to my device using fastboot, and the device never boots.
I have some logs from the bootloop - here is the snipit that seems most relevant but I don't really know what I am looking for or how to determine what needs to change
Code:
09-12 22:00:42.120 3384 3384 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 1
09-12 22:00:42.120 3384 3384 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 1
09-12 22:00:42.120 3383 3383 E Netd : cannot find interface dummy0
09-12 22:00:42.120 3383 3383 I Netd : Initializing RouteController: 1.3ms
09-12 22:00:42.120 3384 3384 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 3384 (surfaceflinger), pid 3384 (surfaceflinger)
09-12 22:00:42.120 3383 3383 D XfrmController: Sending Netlink XFRM Message: XFRM_MSG_FLUSHSA
09-12 22:00:42.120 3383 3383 D XfrmController: Sending Netlink XFRM Message: XFRM_MSG_FLUSHPOLICY
09-12 22:00:42.120 3383 3383 I Netd : Initializing XfrmController: 0.2ms
09-12 22:00:42.121 3383 3383 I Netd : Registering NetdNativeService: 0.5ms
09-12 22:00:42.122 3383 3383 I Netd : Starting CommandListener: 0.1ms
09-12 22:00:42.123 3383 3383 I Netd : Registering NetdHwService: 1.0ms
09-12 22:00:42.123 3383 3383 I Netd : Netd started in 219ms
09-12 22:00:42.132 3378 3378 D Zygote : begin preload
09-12 22:00:42.132 3378 3378 I Zygote : Installing ICU cache reference pinning...
09-12 22:00:42.132 3378 3378 I Zygote : Preloading ICU data...
09-12 22:00:42.135 3379 3379 I Zygote : Accepting command socket connections
09-12 22:00:42.138 3378 3378 I Zygote : Preloading classes...
09-12 22:00:42.140 3436 3436 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
09-12 22:00:42.140 3184 3184 I /system/bin/tombstoned: received crash request for pid 3384
09-12 22:00:42.141 3436 3436 I crash_dump64: performing dump of process 3384 (target tid = 3384)
09-12 22:00:42.143 3436 3436 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-12 22:00:42.143 3436 3436 F DEBUG : Build fingerprint: 'NVIDIA/darcy/darcy:9/PPR1.180610.011/4079208_2235.1395:user/release-keys'
09-12 22:00:42.143 3436 3436 F DEBUG : Revision: '0'
09-12 22:00:42.143 3436 3436 F DEBUG : ABI: 'arm64'
09-12 22:00:42.143 3436 3436 F DEBUG : pid: 3384, tid: 3384, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
09-12 22:00:42.143 3436 3436 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
09-12 22:00:42.143 3436 3436 F DEBUG : Cause: null pointer dereference
09-12 22:00:42.143 3436 3436 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 00000025b1c537d0
09-12 22:00:42.143 3436 3436 F DEBUG : x4 0000000000000000 x5 0000007fe38db898 x6 0000000000000000 x7 0000000000000030
09-12 22:00:42.143 3436 3436 F DEBUG : x8 0101010101010101 x9 b72fc0062f2280b8 x10 000000005f647079 x11 0000000000000000
09-12 22:00:42.143 3436 3436 F DEBUG : x12 0000000000000001 x13 0000000000000000 x14 0000000000000001 x15 00000025b1c81a88
09-12 22:00:42.143 3436 3436 F DEBUG : x16 000000252f3b9e58 x17 00000025307de610 x18 0000000000000001 x19 00000025b1c537d0
09-12 22:00:42.143 3436 3436 F DEBUG : x20 0000000000000000 x21 0000000000000000 x22 000000252ed0c5e0 x23 0000000000000000
09-12 22:00:42.143 3436 3436 F DEBUG : x24 0000000000000001 x25 0000007fe38dbb00 x26 00000000000f4240 x27 0000007fe38dbb00
09-12 22:00:42.143 3436 3436 F DEBUG : x28 0000007fe38dba90 x29 0000007fe38db900
09-12 22:00:42.143 3436 3436 F DEBUG : sp 0000007fe38db8e0 lr 000000252f396f78 pc 00000025307de620
09-12 22:00:42.146 3378 3378 I PackageBackwardCompatibility: Loaded android.content.pm.OrgApacheHttpLegacyUpdater
Any pointers to what I am doing wrong, or how to further debug would be appreciated.
Also if there is already a kernel built with Wireguard support, a reference to that would be :good:
Hi, I've compiled kernel for Shield 2017 following your steps and I'm probably facing same issue. My boot hangs on Nvidia logo. I have a question - how you've obtained boot logs? ADB don't work from fastboot menu for me.
Hi, did you finally succeed in compiling a kernel for shield 2017 ?

Categories

Resources