jensstein / oandbackup

backup manager for android
Other
543 stars 199 forks source link

cannot restore on omnirom-6, selinux blocks "sh" #130

Open fajabird opened 8 years ago

fajabird commented 8 years ago

Using the latest version from f-droid (0.2.11):

from the logcat I can see alarms like this:

sh : type=1400 audit(0.0:3292): avc: denied { write }

When I set selinux to permissive via root-shell (setenforce 0) then I can use oandbackup but it still sometime fails with: "cannot restore data without restoring apk, package is not installed:"

However - should oandbackup temporarily setenforce=0?

fajabird commented 8 years ago

Full Log:

05-30 13:56:24.614 961 3684 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@3a4a61a attribute=null, token = android.os.BinderProxy@c83c187 05-30 13:56:24.638 31855 31855 W sh : type=1400 audit(0.0:61): avc: denied { read } for path="pipe:[55307]" dev="pipefs" ino=55307 scontext=u:r:qti_init_shell:s0 tcontext=u:r:init:s0 tclass=fifo_file permissive=0 05-30 13:56:24.638 31855 31855 W sh : type=1400 audit(0.0:62): avc: denied { write } for path="pipe:[55308]" dev="pipefs" ino=55308 scontext=u:r:qti_init_shell:s0 tcontext=u:r:init:s0 tclass=fifo_file permissive=0 05-30 13:56:24.638 31855 31855 W sh : type=1400 audit(0.0:63): avc: denied { write } for path="pipe:[55309]" dev="pipefs" ino=55309 scontext=u:r:qti_init_shell:s0 tcontext=u:r:init:s0 tclass=fifo_file permissive=0 05-30 13:56:25.157 31855 31855 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 05-30 13:56:25.161 31855 31855 D AndroidRuntime: CheckJNI is OFF 05-30 13:56:25.173 31855 31855 W art : Unable to open /data/dalvik-cache/. to delete it's contents: Permission denied 05-30 13:56:25.158 31855 31855 W app_process: type=1400 audit(0.0:64): avc: denied { write } for name="system@framework@boot.art" dev="mmcblk0p28" ino=3375108 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0 05-30 13:56:25.158 31855 31855 W app_process: type=1400 audit(0.0:65): avc: denied { execute } for path="/data/dalvik-cache/arm/system@framework@boot.oat" dev="mmcblk0p28" ino=3375109 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0 05-30 13:56:25.173 31855 31855 W art : Unable to open /data/dalvik-cache/arm to delete it's contents: Permission denied 05-30 13:56:25.173 31855 31855 E art : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Attempted to use relocated version of /system/framework/boot.art at /data/dalvik-cache/arm/system@framework@boot.art generated from /system/framework/arm/boot.art but image failed to load: Failed to open oat file '/data/dalvik-cache/arm/system@framework@boot.oat' referenced from image /data/dalvik-cache/arm/system@framework@boot.art: Failed to allocate ElfFile reservation for /data/dalvik-cache/arm/system@framework@boot.oat: Failed to mmap at expected address, mapped at 0xb1187000 instead of 0x7012b000 : Requested region 0x7012b000-0x73749000 overlaps with existing map 0x7012b000-0x72010000 (/data/dalvik-cache/arm/system@framework@boot.oat) 05-30 13:56:25.173 31855 31855 E art : 0x7012b000-0x72010000 r-- /data/dalvik-cache/arm/system@framework@boot.oat 05-30 13:56:25.173 31855 31855 E art : 0x72010000-0x73749000 --- 05-30 13:56:25.173 31855 31855 E art : 0xb47a5000-0xb4bf2000 r-x /system/lib/libart.so 05-30 13:56:25.173 31855 31855 E art : 0xb4bf2000-0xb4bf3000 --- 05-30 13:56:25.173 31855 31855 E art : 0xb4bf3000-0xb4bfd000 r-- /system/lib/libart.so 05-30 13:56:25.173 31855 31855 E art : 0xb4bfd000-0xb4bfe000 rw- /system/lib/libart.so 05-30 13:56:25.173 31855 31855 E art : 0xb4bfe000-0xb4c00000 rw- 05-30 13:56:25.168 31855 31855 W app_process: type=1400 audit(0.0:66): avc: denied { read } for name="dalvik-cache" dev="mmcblk0p28" ino=3375105 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0 05-30 13:56:25.168 31855 31855 W app_process: type=1400 audit(0.0:67): avc: denied { read } for name="arm" dev="mmcblk0p28" ino=3375107 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0 05-30 13:56:25.173 31855 31855 E art : 0xb4d0a000-0xb4d0b000 r-- /data/dalvik-cache/arm/system@framework@boot.oat 05-30 13:56:25.173 31855 31855 E art : 0xb4d0d000-0xb4d2a000 r-- /data/dalvik-cache/arm/system@framework@boot.art 05-30 13:56:25.173 31855 31855 E art : 0xb4d2a000-0xb4d2d000 r-x /system/lib/libsigchain.so 05-30 13:56:25.173 31855 31855 E art : 0xb4d2d000-0xb4d2e000 r-- /system/lib/libsigchain.so 05-30 13:56:25.173 31855 31855 E art : 0xb4d2e000-0xb4d2f000 rw- /system/lib/libsigchain.so 05-30 13:56:25.173 31855 31855 E art : 0xb4d30000-0xb4d50000 r-- /dev/properties 05-30 13:56:25.173 31855 31855 E art : 0xb4d50000-0xb5761000 r-x /system/lib/libLLVM.so 05-30 13:56:25.173 31855 31855 E art : 0xb5761000-0xb5762000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5762000-0xb57ab000 r-- /system/lib/libLLVM.so 05-30 13:56:25.174 31855 31855 E art : 0xb57ab000-0xb57ac000 rw- /system/lib/libLLVM.so 05-30 13:56:25.174 31855 31855 E art : 0xb57ac000-0xb57b4000 rw- 05-30 13:56:25.174 31855 31855 E art : 0xb57b5000-0xb57ea000 r-x /system/lib/libbcinfo.so 05-30 13:56:25.174 31855 31855 E art : 0xb57ea000-0xb57eb000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb57eb000-0xb57ec000 r-- /system/lib/libbcinfo.so 05-30 13:56:25.174 31855 31855 E art : 0xb57ec000-0xb57ed000 rw- /system/lib/libbcinfo.so 05-30 13:56:25.174 31855 31855 E art : 0xb57ee000-0xb5846000 r-x /system/lib/libbcc.so 05-30 13:56:25.174 31855 31855 E art : 0xb5846000-0xb5847000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5847000-0xb5848000 r-- /system/lib/libbcc.so 05-30 13:56:25.174 31855 31855 E art : 0xb5848000-0xb5849000 rw- /system/lib/libbcc.so 05-30 13:56:25.174 31855 31855 E art : 0xb584a000-0xb5854000 r-x /system/lib/libcommon_time_client.so 05-30 13:56:25.174 31855 31855 E art : 0xb5854000-0xb5857000 r-- /system/lib/libcommon_time_client.so 05-30 13:56:25.174 31855 31855 E art : 0xb5857000-0xb5858000 rw- /system/lib/libcommon_time_client.so 05-30 13:56:25.174 31855 31855 E art : 0xb5859000-0xb5870000 r-x /system/lib/libprotobuf-cpp-lite.so 05-30 13:56:25.174 31855 31855 E art : 0xb5870000-0xb5871000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5871000-0xb5872000 r-- /system/lib/libprotobuf-cpp-lite.so 05-30 13:56:25.174 31855 31855 E art : 0xb5872000-0xb5873000 rw- /system/lib/libprotobuf-cpp-lite.so 05-30 13:56:25.174 31855 31855 E art : 0xb5873000-0xb5874000 r-- [anon:linker_alloc] 05-30 13:56:25.174 31855 31855 E art : 0xb5874000-0xb587b000 r-x /system/lib/libstagefright_avc_common.so 05-30 13:56:25.174 31855 31855 E art : 0xb587b000-0xb587c000 r-- /system/lib/libstagefright_avc_common.so 05-30 13:56:25.174 31855 31855 E art : 0xb587c000-0xb587d000 rw- /system/lib/libstagefright_avc_common.so 05-30 13:56:25.174 31855 31855 E art : 0xb587e000-0xb5881000 r-x /system/lib/libstagefright_enc_common.so 05-30 13:56:25.174 31855 31855 E art : 0xb5881000-0xb5882000 r-- /system/lib/libstagefright_enc_common.so 05-30 13:56:25.174 31855 31855 E art : 0xb5882000-0xb5883000 rw- /system/lib/libstagefright_enc_common.so 05-30 13:56:25.174 31855 31855 E art : 0xb5884000-0xb5888000 r-x /system/lib/libpowermanager.so 05-30 13:56:25.174 31855 31855 E art : 0xb5888000-0xb5889000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5889000-0xb588a000 r-- /system/lib/libpowermanager.so 05-30 13:56:25.174 31855 31855 E art : 0xb588a000-0xb588b000 rw- /system/lib/libpowermanager.so 05-30 13:56:25.174 31855 31855 E art : 0xb588c000-0xb58a9000 r-x /system/lib/libvorbisidec.so 05-30 13:56:25.174 31855 31855 E art : 0xb58a9000-0xb58aa000 r-- /system/lib/libvorbisidec.so 05-30 13:56:25.174 31855 31855 E art : 0xb58aa000-0xb58ab000 rw- /system/lib/libvorbisidec.so 05-30 13:56:25.174 31855 31855 E art : 0xb58ac000-0xb58b1000 r-x /system/lib/libstagefright_yuv.so 05-30 13:56:25.174 31855 31855 E art : 0xb58b1000-0xb58b2000 r-- /system/lib/libstagefright_yuv.so 05-30 13:56:25.174 31855 31855 E art : 0xb58b2000-0xb58b3000 rw- /system/lib/libstagefright_yuv.so 05-30 13:56:25.174 31855 31855 E art : 0xb58b4000-0xb58e1000 r-x /system/lib/libstagefright_omx.so 05-30 13:56:25.174 31855 31855 E art : 0xb58e1000-0xb58e2000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb58e2000-0xb58e5000 r-- /system/lib/libstagefright_omx.so 05-30 13:56:25.174 31855 31855 E art : 0xb58e5000-0xb58e6000 rw- /system/lib/libstagefright_omx.so 05-30 13:56:25.174 31855 31855 E art : 0xb58e7000-0xb5922000 r-x /system/lib/libopus.so 05-30 13:56:25.174 31855 31855 E art : 0xb5922000-0xb5923000 r-- /system/lib/libopus.so 05-30 13:56:25.174 31855 31855 E art : 0xb5923000-0xb5924000 rw- /system/lib/libopus.so 05-30 13:56:25.174 31855 31855 E art : 0xb5925000-0xb592c000 r-x /system/lib/libmediautils.so 05-30 13:56:25.174 31855 31855 E art : 0xb592c000-0xb592d000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb592d000-0xb592e000 r-- /system/lib/libmediautils.so 05-30 13:56:25.174 31855 31855 E art : 0xb592e000-0xb592f000 rw- /system/lib/libmediautils.so 05-30 13:56:25.174 31855 31855 E art : 0xb5930000-0xb5946000 r-x /system/lib/libdrmframework.so 05-30 13:56:25.174 31855 31855 E art : 0xb5946000-0xb5949000 r-- /system/lib/libdrmframework.so 05-30 13:56:25.174 31855 31855 E art : 0xb5949000-0xb594a000 rw- /system/lib/libdrmframework.so 05-30 13:56:25.174 31855 31855 E art : 0xb594b000-0xb596a000 r-x /system/lib/libRScpp.so 05-30 13:56:25.174 31855 31855 E art : 0xb596a000-0xb596b000 r-- /system/lib/libRScpp.so 05-30 13:56:25.174 31855 31855 E art : 0xb596b000-0xb596c000 rw- /system/lib/libRScpp.so 05-30 13:56:25.174 31855 31855 E art : 0xb596d000-0xb59ab000 r-x /system/lib/libRS.so 05-30 13:56:25.174 31855 31855 E art : 0xb59ab000-0xb59ac000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb59ac000-0xb59ae000 r-- /system/lib/libRS.so 05-30 13:56:25.174 31855 31855 E art : 0xb59ae000-0xb59af000 rw- /system/lib/libRS.so 05-30 13:56:25.174 31855 31855 E art : 0xb59b0000-0xb59b7000 r-x /system/lib/libspeexresampler.so 05-30 13:56:25.174 31855 31855 E art : 0xb59b7000-0xb59b8000 r-- /system/lib/libspeexresampler.so 05-30 13:56:25.174 31855 31855 E art : 0xb59b8000-0xb59b9000 rw- /system/lib/libspeexresampler.so 05-30 13:56:25.174 31855 31855 E art : 0xb59ba000-0xb59c3000 r-x /system/lib/libnbaio.so 05-30 13:56:25.174 31855 31855 E art : 0xb59c3000-0xb59c4000 r-- /system/lib/libnbaio.so 05-30 13:56:25.174 31855 31855 E art : 0xb59c4000-0xb59c5000 rw- /system/lib/libnbaio.so 05-30 13:56:25.174 31855 31855 E art : 0xb59c6000-0xb59d8000 r-x /system/lib/libpcre.so 05-30 13:56:25.174 31855 31855 E art : 0xb59d8000-0xb59d9000 r-- /system/lib/libpcre.so 05-30 13:56:25.174 31855 31855 E art : 0xb59d9000-0xb59da000 rw- /system/lib/libpcre.so 05-30 13:56:25.174 31855 31855 E art : 0xb59db000-0xb59e0000 r-x /system/lib/libwpa_client.so 05-30 13:56:25.174 31855 31855 E art : 0xb59e0000-0xb59e1000 r-- /system/lib/libwpa_client.so 05-30 13:56:25.174 31855 31855 E art : 0xb59e1000-0xb59e2000 rw- /system/lib/libwpa_client.so 05-30 13:56:25.174 31855 31855 E art : 0xb59e3000-0xb5a50000 r-x /system/lib/libGLES_trace.so 05-30 13:56:25.174 31855 31855 E art : 0xb5a50000-0xb5a51000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5a51000-0xb5a53000 r-- /system/lib/libGLES_trace.so 05-30 13:56:25.174 31855 31855 E art : 0xb5a53000-0xb5a54000 rw- /system/lib/libGLES_trace.so 05-30 13:56:25.174 31855 31855 E art : 0xb5a55000-0xb5ab9000 r-x /system/lib/libft2.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ab9000-0xb5abb000 r-- /system/lib/libft2.so 05-30 13:56:25.174 31855 31855 E art : 0xb5abb000-0xb5abc000 rw- /system/lib/libft2.so 05-30 13:56:25.174 31855 31855 E art : 0xb5abd000-0xb5ae2000 r-x /system/lib/libpng.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ae2000-0xb5ae3000 r-- /system/lib/libpng.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ae3000-0xb5ae4000 rw- /system/lib/libpng.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ae5000-0xb5ae8000 r-x /system/lib/libsync.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ae8000-0xb5ae9000 r-- /system/lib/libsync.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ae9000-0xb5aea000 rw- /system/lib/libsync.so 05-30 13:56:25.174 31855 31855 E art : 0xb5aeb000-0xb5afb000 r-x /system/lib/libunwind.so 05-30 13:56:25.174 31855 31855 E art : 0xb5afb000-0xb5afc000 r-- /system/lib/libunwind.so 05-30 13:56:25.174 31855 31855 E art : 0xb5afc000-0xb5afd000 rw- /system/lib/libunwind.so 05-30 13:56:25.174 31855 31855 E art : 0xb5afd000-0xb5b43000 rw- 05-30 13:56:25.174 31855 31855 E art : 0xb5b44000-0xb5b4d000 r-x /system/lib/libbase.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b4d000-0xb5b4e000 r-- /system/lib/libbase.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b4e000-0xb5b4f000 rw- /system/lib/libbase.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b50000-0xb5b55000 r-x /system/lib/libstdc++.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b55000-0xb5b56000 r-- /system/lib/libstdc++.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b56000-0xb5b57000 rw- /system/lib/libstdc++.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b58000-0xb5b5d000 r-x /system/lib/libeffects.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b5d000-0xb5b5e000 r-- /system/lib/libeffects.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b5e000-0xb5b5f000 rw- /system/lib/libeffects.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b60000-0xb5b63000 r-x /system/lib/libstagefright_http_support.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b63000-0xb5b64000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5b64000-0xb5b65000 r-- /system/lib/libstagefright_http_support.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b65000-0xb5b66000 rw- /system/lib/libstagefright_http_support.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b67000-0xb5b7f000 r-x /system/lib/libstagefright_foundation.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b7f000-0xb5b80000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5b80000-0xb5b81000 r-- /system/lib/libstagefright_foundation.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b81000-0xb5b82000 rw- /system/lib/libstagefright_foundation.so 05-30 13:56:25.174 31855 31855 E art : 0xb5b83000-0xb5cd6000 r-x /system/lib/libstagefright.so 05-30 13:56:25.174 31855 31855 E art : 0xb5cd6000-0xb5cd7000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5cd7000-0xb5ce3000 r-- /system/lib/libstagefright.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ce3000-0xb5ce4000 rw- /system/lib/libstagefright.so 05-30 13:56:25.174 31855 31855 E art : 0xb5ce5000-0xb5d50000 r-x /system/lib/libhwui.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d50000-0xb5d51000 --- 05-30 13:56:25.174 31855 31855 E art : 0xb5d51000-0xb5d54000 r-- /system/lib/libhwui.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d54000-0xb5d55000 rw- /system/lib/libhwui.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d56000-0xb5d59000 r-x /system/lib/libradio_metadata.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d59000-0xb5d5a000 r-- /system/lib/libradio_metadata.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d5a000-0xb5d5b000 rw- /system/lib/libradio_metadata.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d5c000-0xb5d60000 r-x /system/lib/libnativebridge.so 05-30 13:56:25.174 31855 31855 E art : 0xb5d60000-0xb5d61000 r-- /system/lib/libnativebridge.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d61000-0xb5d62000 rw- /system/lib/libnativebridge.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d63000-0xb5d67000 r-x /system/lib/libprocessgroup.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d67000-0xb5d68000 r-- /system/lib/libprocessgroup.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d68000-0xb5d69000 rw- /system/lib/libprocessgroup.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d6a000-0xb5d78000 r-x /system/lib/libminikin.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d78000-0xb5d79000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb5d79000-0xb5d7a000 r-- /system/lib/libminikin.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d7a000-0xb5d7b000 rw- /system/lib/libminikin.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d7c000-0xb5d86000 r-x /system/lib/libsoundtrigger.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d86000-0xb5d89000 r-- /system/lib/libsoundtrigger.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d89000-0xb5d8a000 rw- /system/lib/libsoundtrigger.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d8b000-0xb5d95000 r-x /system/lib/libradio.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d95000-0xb5d98000 r-- /system/lib/libradio.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d98000-0xb5d99000 rw- /system/lib/libradio.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d9a000-0xb5d9e000 r-x /system/lib/libnetd_client.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d9e000-0xb5d9f000 r-- /system/lib/libnetd_client.so 05-30 13:56:25.175 31855 31855 E art : 0xb5d9f000-0xb5da0000 rw- /system/lib/libnetd_client.so 05-30 13:56:25.175 31855 31855 E art : 0xb5da1000-0xb5daf000 r-x /system/lib/libimg_utils.so 05-30 13:56:25.175 31855 31855 E art : 0xb5daf000-0xb5db1000 r-- /system/lib/libimg_utils.so 05-30 13:56:25.175 31855 31855 E art : 0xb5db1000-0xb5db2000 rw- /system/lib/libimg_utils.so 05-30 13:56:25.175 31855 31855 E art : 0xb5db3000-0xb61c5000 r-x /system/lib/libpdfium.so 05-30 13:56:25.175 31855 31855 E art : 0xb61c5000-0xb61c6000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb61c6000-0xb61cf000 r-- /system/lib/libpdfium.so 05-30 13:56:25.175 31855 31855 E art : 0xb61cf000-0xb61d3000 rw- /system/lib/libpdfium.so 05-30 13:56:25.175 31855 31855 E art : 0xb61d3000-0xb61d4000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb61d5000-0xb61dc000 r-x /system/lib/libaudioutils.so 05-30 13:56:25.175 31855 31855 E art : 0xb61dc000-0xb61dd000 r-- /system/lib/libaudioutils.so 05-30 13:56:25.175 31855 31855 E art : 0xb61dd000-0xb61de000 rw- /system/lib/libaudioutils.so 05-30 13:56:25.175 31855 31855 E art : 0xb61df000-0xb61fa000 r-x /system/lib/libz.so 05-30 13:56:25.175 31855 31855 E art : 0xb61fa000-0xb61fb000 r-- /system/lib/libz.so 05-30 13:56:25.175 31855 31855 E art : 0xb61fb000-0xb61fc000 rw- /system/lib/libz.so 05-30 13:56:25.175 31855 31855 E art : 0xb61fd000-0xb6249000 r-x /system/lib/libharfbuzz_ng.so 05-30 13:56:25.175 31855 31855 E art : 0xb6249000-0xb624a000 r-- /system/lib/libharfbuzz_ng.so 05-30 13:56:25.175 31855 31855 E art : 0xb624a000-0xb624b000 rw- /system/lib/libharfbuzz_ng.so 05-30 13:56:25.175 31855 31855 E art : 0xb624c000-0xb6250000 r-x /system/lib/libusbhost.so 05-30 13:56:25.175 31855 31855 E art : 0xb6250000-0xb6251000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6251000-0xb6252000 r-- /system/lib/libusbhost.so 05-30 13:56:25.175 31855 31855 E art : 0xb6252000-0xb6253000 rw- /system/lib/libusbhost.so 05-30 13:56:25.175 31855 31855 E art : 0xb6254000-0xb628c000 r-x /system/lib/libjpeg.so 05-30 13:56:25.175 31855 31855 E art : 0xb628c000-0xb628d000 r-- /system/lib/libjpeg.so 05-30 13:56:25.175 31855 31855 E art : 0xb628d000-0xb628e000 rw- /system/lib/libjpeg.so 05-30 13:56:25.175 31855 31855 E art : 0xb628f000-0xb6320000 r-x /system/lib/libmedia.so 05-30 13:56:25.175 31855 31855 E art : 0xb6320000-0xb633c000 r-- /system/lib/libmedia.so 05-30 13:56:25.175 31855 31855 E art : 0xb633c000-0xb633d000 rw- /system/lib/libmedia.so 05-30 13:56:25.175 31855 31855 E art : 0xb633e000-0xb64b1000 r-x /system/lib/libicui18n.so 05-30 13:56:25.175 31855 31855 E art : 0xb64b1000-0xb64bc000 r-- /system/lib/libicui18n.so 05-30 13:56:25.175 31855 31855 E art : 0xb64bc000-0xb64bd000 rw- /system/lib/libicui18n.so 05-30 13:56:25.175 31855 31855 E art : 0xb64be000-0xb65d5000 r-x /system/lib/libicuuc.so 05-30 13:56:25.175 31855 31855 E art : 0xb65d5000-0xb65e0000 r-- /system/lib/libicuuc.so 05-30 13:56:25.175 31855 31855 E art : 0xb65e0000-0xb65e1000 rw- /system/lib/libicuuc.so 05-30 13:56:25.175 31855 31855 E art : 0xb65e1000-0xb65e5000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb65e6000-0xb6609000 r-x /system/lib/libssl.so 05-30 13:56:25.175 31855 31855 E art : 0xb6609000-0xb660b000 r-- /system/lib/libssl.so 05-30 13:56:25.175 31855 31855 E art : 0xb660b000-0xb660c000 rw- /system/lib/libssl.so 05-30 13:56:25.175 31855 31855 E art : 0xb660d000-0xb6660000 r-x /system/lib/libsonivox.so 05-30 13:56:25.175 31855 31855 E art : 0xb6660000-0xb6661000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6661000-0xb6662000 r-- /system/lib/libsonivox.so 05-30 13:56:25.175 31855 31855 E art : 0xb6662000-0xb6663000 rw- /system/lib/libsonivox.so 05-30 13:56:25.175 31855 31855 E art : 0xb6663000-0xb6668000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb6669000-0xb6677000 r-x /system/lib/libselinux.so 05-30 13:56:25.175 31855 31855 E art : 0xb6677000-0xb6678000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6678000-0xb6679000 r-- /system/lib/libselinux.so 05-30 13:56:25.175 31855 31855 E art : 0xb6679000-0xb667a000 rw- /system/lib/libselinux.so 05-30 13:56:25.175 31855 31855 E art : 0xb667b000-0xb6681000 r-x /system/lib/libhardware_legacy.so 05-30 13:56:25.175 31855 31855 E art : 0xb6681000-0xb6682000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6682000-0xb6683000 r-- /system/lib/libhardware_legacy.so 05-30 13:56:25.175 31855 31855 E art : 0xb6683000-0xb6684000 rw- /system/lib/libhardware_legacy.so 05-30 13:56:25.175 31855 31855 E art : 0xb6684000-0xb6685000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb6686000-0xb6689000 r-x /system/lib/libhardware.so 05-30 13:56:25.175 31855 31855 E art : 0xb6689000-0xb668a000 r-- /system/lib/libhardware.so 05-30 13:56:25.175 31855 31855 E art : 0xb668a000-0xb668b000 rw- /system/lib/libhardware.so 05-30 13:56:25.175 31855 31855 E art : 0xb668c000-0xb6690000 r-x /system/lib/libETC1.so 05-30 13:56:25.175 31855 31855 E art : 0xb6690000-0xb6691000 r-- /system/lib/libETC1.so 05-30 13:56:25.175 31855 31855 E art : 0xb6691000-0xb6692000 rw- /system/lib/libETC1.so 05-30 13:56:25.175 31855 31855 E art : 0xb6693000-0xb66a0000 r-x /system/lib/libGLESv2.so 05-30 13:56:25.175 31855 31855 E art : 0xb66a0000-0xb66a1000 r-- /system/lib/libGLESv2.so 05-30 13:56:25.175 31855 31855 E art : 0xb66a1000-0xb66a2000 rw- /system/lib/libGLESv2.so 05-30 13:56:25.175 31855 31855 E art : 0xb66a3000-0xb66ab000 r-x /system/lib/libGLESv1_CM.so 05-30 13:56:25.175 31855 31855 E art : 0xb66ab000-0xb66ac000 r-- /system/lib/libGLESv1_CM.so 05-30 13:56:25.175 31855 31855 E art : 0xb66ac000-0xb66ad000 rw- /system/lib/libGLESv1_CM.so 05-30 13:56:25.175 31855 31855 E art : 0xb66ae000-0xb670a000 r-x /system/lib/libEGL.so 05-30 13:56:25.175 31855 31855 E art : 0xb670a000-0xb670b000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb670b000-0xb670d000 r-- /system/lib/libEGL.so 05-30 13:56:25.175 31855 31855 E art : 0xb670d000-0xb6716000 rw- /system/lib/libEGL.so 05-30 13:56:25.175 31855 31855 E art : 0xb6716000-0xb6719000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb671a000-0xb677c000 r-x /system/lib/libsqlite.so 05-30 13:56:25.175 31855 31855 E art : 0xb677c000-0xb677e000 r-- /system/lib/libsqlite.so 05-30 13:56:25.175 31855 31855 E art : 0xb677e000-0xb677f000 rw- /system/lib/libsqlite.so 05-30 13:56:25.175 31855 31855 E art : 0xb677f000-0xb6780000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb6781000-0xb69d2000 r-x /system/lib/libskia.so 05-30 13:56:25.175 31855 31855 E art : 0xb69d2000-0xb69d3000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb69d3000-0xb69ed000 r-- /system/lib/libskia.so 05-30 13:56:25.175 31855 31855 E art : 0xb69ed000-0xb69ef000 rw- /system/lib/libskia.so 05-30 13:56:25.175 31855 31855 E art : 0xb69ef000-0xb69f3000 rw- 05-30 13:56:25.175 31855 31855 E art : 0xb69f4000-0xb69fc000 r-x /system/lib/libcamera_metadata.so 05-30 13:56:25.175 31855 31855 E art : 0xb69fc000-0xb69fd000 r-- /system/lib/libcamera_metadata.so 05-30 13:56:25.175 31855 31855 E art : 0xb69fd000-0xb69fe000 rw- /system/lib/libcamera_metadata.so 05-30 13:56:25.175 31855 31855 E art : 0xb69ff000-0xb6a23000 r-x /system/lib/libcamera_client.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a23000-0xb6a24000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6a24000-0xb6a2b000 r-- /system/lib/libcamera_client.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a2b000-0xb6a2c000 rw- /system/lib/libcamera_client.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a2d000-0xb6a68000 r-x /system/lib/libinputflinger.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a68000-0xb6a6b000 r-- /system/lib/libinputflinger.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a6b000-0xb6a6c000 rw- /system/lib/libinputflinger.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a6d000-0xb6a87000 r-x /system/lib/libinput.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a87000-0xb6a8b000 r-- /system/lib/libinput.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a8b000-0xb6a8c000 rw- /system/lib/libinput.so 05-30 13:56:25.175 31855 31855 E art : 0xb6a8d000-0xb6ad9000 r-x /system/lib/libgui.so 05-30 13:56:25.175 31855 31855 E art : 0xb6ad9000-0xb6ada000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6ada000-0xb6ae6000 r-- /system/lib/libgui.so 05-30 13:56:25.175 31855 31855 E art : 0xb6ae6000-0xb6ae7000 rw- /system/lib/libgui.so 05-30 13:56:25.175 31855 31855 E art : 0xb6ae8000-0xb6af5000 r-x /system/lib/libui.so 05-30 13:56:25.175 31855 31855 E art : 0xb6af5000-0xb6af6000 --- 05-30 13:56:25.175 31855 31855 E art : 0xb6af6000-0xb6af7000 r-- /system/lib/libui.so 05-30 13:56:25.176 31855 31855 E art : 0xb6af7000-0xb6af8000 rw- /system/lib/libui.so 05-30 13:56:25.176 31855 31855 E art : 0xb6af9000-0xb6b00000 r-x /system/lib/libnetutils.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b00000-0xb6b01000 r-- /system/lib/libnetutils.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b01000-0xb6b02000 rw- /system/lib/libnetutils.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b03000-0xb6b0a000 r-x /system/lib/libnativehelper.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b0a000-0xb6b0b000 r-- /system/lib/libnativehelper.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b0b000-0xb6b0c000 rw- /system/lib/libnativehelper.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b0c000-0xb6b0d000 rw- [anon:linker_alloc_vector] 05-30 13:56:25.176 31855 31855 E art : 0xb6b0d000-0xb6b21000 r-x /system/lib/libexpat.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b21000-0xb6b23000 r-- /system/lib/libexpat.so 05-30 13:56:25.176 31855 31855 E art : 0xb6b23000-0xb6b24000 rw- /system/lib/libexpat.so 05-30 13:56:25.209 31855 31855 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat 05-30 13:56:25.232 31854 31854 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 05-30 13:56:25.228 31855 31855 W main : type=1400 audit(0.0:68): avc: denied { write } for name="arm" dev="mmcblk0p28" ino=3375107 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0 05-30 13:56:25.235 31855 31855 E appproc : ERROR: could not find class 'com.android.commands.pm.Pm' 05-30 13:56:25.236 31855 31855 F art : art/runtime/thread.cc:1336] No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 05-30 13:56:25.236 31855 31855 F art : art/runtime/thread.cc:1336] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56) 05-30 13:56:25.236 31855 31855 F art : art/runtime/thread.cc:1336] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511) 05-30 13:56:25.236 31855 31855 F art : art/runtime/thread.cc:1336] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469) 05-30 13:56:25.236 31855 31855 F art : art/runtime/thread.cc:1336] 05-30 13:56:25.236 31854 31854 D AndroidRuntime: CheckJNI is OFF 05-30 13:56:25.238 31854 31854 W app_process: type=1400 audit(0.0:69): avc: denied { write } for name="system@framework@boot.art" dev="mmcblk0p28" ino=3375108 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0 05-30 13:56:25.280 31854 31854 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat 05-30 13:56:25.278 31855 31855 W main : type=1400 audit(0.0:70): avc: denied { ptrace } for scontext=u:r:qti_init_shell:s0 tcontext=u:r:qti_init_shell:s0 tclass=process permissive=0 05-30 13:56:25.278 31855 31855 W main : type=1400 audit(0.0:71): avc: denied { ptrace } for scontext=u:r:qti_init_shell:s0 tcontext=u:r:qti_init_shell:s0 tclass=process permissive=0 05-30 13:56:25.288 31854 31854 W main : type=1400 audit(0.0:72): avc: denied { write } for name="arm" dev="mmcblk0p28" ino=3375107 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0 05-30 13:56:25.288 31855 31855 W main : type=1400 audit(0.0:73): avc: denied { ptrace } for scontext=u:r:qti_init_shell:s0 tcontext=u:r:qti_initshell:s0 tclass=process permissive=0 05-30 13:56:25.304 31855 31855 F art : art/runtime/barrier.cc:90] Check failed: count == 0 (count_=-1, 0=0) Attempted to destroy barrier with non zero count 05-30 13:56:25.305 31855 31855 F art : art/runtime/runtime.cc:366] Runtime aborting --- recursively, so no thread-specific detail! 05-30 13:56:25.305 31855 31855 F art : art/runtime/runtime.cc:366] 05-30 13:56:25.305 31855 31855 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 31855 (main) 05-30 13:56:25.342 31854 31854 I Radio-JNI: register_android_hardware_Radio DONE 05-30 13:56:25.377 31854 31854 D AndroidRuntime: Calling main entry com.android.commands.am.Am 05-30 13:56:25.407 276 276 F DEBUG : * * * * * * * * * * * * * * * * 05-30 13:56:25.407 276 276 F DEBUG : Build fingerprint: '4.3/JLS36C/1390465867:user/release-keys' 05-30 13:56:25.407 276 276 F DEBUG : Revision: '0' 05-30 13:56:25.407 276 276 F DEBUG : ABI: 'arm' 05-30 13:56:25.409 961 2279 W NativeCrashListener: Couldn't find ProcessRecord for pid 31855 05-30 13:56:25.410 31854 31854 D AndroidRuntime: Shutting down VM 05-30 13:56:25.411 276 276 F DEBUG : pid: 31855, tid: 31855, name: main >>> app_process <<< 05-30 13:56:25.411 276 276 E DEBUG : AM write failed: Broken pipe 05-30 13:56:25.411 276 276 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 05-30 13:56:25.432 276 276 F DEBUG : Abort message: 'art/runtime/thread.cc:1336] No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]' 05-30 13:56:25.432 276 276 F DEBUG : r0 00000000 r1 00007c6f r2 00000006 r3 b6effb7c 05-30 13:56:25.432 276 276 F DEBUG : r4 b6effb84 r5 b6effb34 r6 00000002 r7 0000010c 05-30 13:56:25.432 276 276 F DEBUG : r8 b4bff800 r9 b4bfde44 sl b4ca44db fp b4be3450 05-30 13:56:25.432 276 276 F DEBUG : ip 00000006 sp bec633e8 lr b6c62bb9 pc b6c64fa8 cpsr 40070010 05-30 13:56:25.448 276 276 F DEBUG : 05-30 13:56:25.448 276 276 F DEBUG : backtrace: 05-30 13:56:25.448 276 276 F DEBUG : #00 pc 00041fa8 /system/lib/libc.so (tgkill+12) 05-30 13:56:25.448 276 276 F DEBUG : #01 pc 0003fbb5 /system/lib/libc.so (pthread_kill+32) 05-30 13:56:25.448 276 276 F DEBUG : #02 pc 0001c31f /system/lib/libc.so (raise+10) 05-30 13:56:25.448 276 276 F DEBUG : #03 pc 000194d1 /system/lib/libc.so (libc_android_abort+34) 05-30 13:56:25.448 276 276 F DEBUG : #04 pc 000174bc /system/lib/libc.so (abort+4) 05-30 13:56:25.448 276 276 F DEBUG : #05 pc 00333971 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+228) 05-30 13:56:25.448 276 276 F DEBUG : #06 pc 000f45fb /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226) 05-30 13:56:25.448 276 276 F DEBUG : #07 pc 000f08d1 /system/lib/libart.so (_ZN3art7BarrierD2Ev+216) 05-30 13:56:25.448 276 276 F DEBUG : #08 pc 0035b473 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3113basic_ostreamIcNS1_11char_traitsIcEEEE+162) 05-30 13:56:25.448 276 276 F DEBUG : #09 pc 00333a35 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+424) 05-30 13:56:25.448 276 276 F DEBUG : #10 pc 000f45fb /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226) 05-30 13:56:25.448 276 276 F DEBUG : #11 pc 0034f0b3 /system/lib/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv.part.170+378) 05-30 13:56:25.448 276 276 F DEBUG : #12 pc 00136aab /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+34) 05-30 13:56:25.448 276 276 F DEBUG : #13 pc 0029d4c1 /system/lib/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+812) 05-30 13:56:25.448 276 276 F DEBUG : #14 pc 00002251 /system/lib/libnativehelper.so (jniRegisterNativeMethods+20) 05-30 13:56:25.448 276 276 F DEBUG : #15 pc 0005ee39 /system/lib/libandroid_runtime.so 05-30 13:56:25.448 276 276 F DEBUG : #16 pc 0005f31b /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime8startRegEP7_JNIEnv+26) 05-30 13:56:25.448 276 276 F DEBUG : #17 pc 00060631 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+276) 05-30 13:56:25.448 276 276 F DEBUG : #18 pc 00001721 /su/bin/app_process 05-30 13:56:25.448 276 276 F DEBUG : #19 pc 00017369 /system/lib/libc.so (__libc_init+44) 05-30 13:56:25.448 276 276 F DEBUG : #20 pc 00001868 /su/bin/app_process 05-30 13:56:25.690 276 276 F DEBUG : 05-30 13:56:25.690 276 276 F DEBUG : Tombstone written to: /data/tombstones/tombstone_02 05-30 13:56:25.691 961 997 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE) 05-30 13:56:25.725 30760 31829 E oandbackup: cannot restore data without restoring apk, package is not installed: ru.sonic.zabbix 05-30 13:56:25.741 30760 31829 I oandbackup: return: 1 / Fehler! 05-30 13:56:25.816 961 2121 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@76bb896 attribute=null, token = android.os.BinderProxy@c83c187 05-30 13:56:26.227 30760 31874 E oandbackup: customlist0: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject 05-30 13:56:26.251 30760 31874 E oandbackup: oandbackup.log: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject 05-30 13:56:32.411 961 3792 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b49446e attribute=null, token = android.os.BinderProxy@c83c187

jensstein commented 8 years ago

hmm, i don't think the right solution is to change the selinux configuration even temporarily. it would open up security issues without the user being aware of it (and it's kind of like asking the user to disable their entire firewall when you need a single port).

i see this line in your log 05-30 13:56:25.432 276 276 F DEBUG : Abort message: 'art/runtime/thread.cc:1336] No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]', so perhaps pm is the problem. please try running pm install -r $apk on your device as root, where $apk is the path to an apk of a backed-up package. then try running runcon u:r:system_app:s0 pm install -r $apk also as root.

and could you please see if there is anything in oab's own logfile (oandbackup.log)?

fajabird commented 8 years ago

I think youre right. Running "pm" without any parameters already fails with "Aborted". Seems selinux does not allow pm to be running as root. Of course pm install -r $apk also fails with same error.

Running pm as normal user shows usage info. And running pm install fails with a security exception.

Am 30. Mai 2016 20:32:05 MESZ, schrieb jensstein notifications@github.com:

hmm, i don't think the right solution is to change the selinux configuration even temporarily. it would open up security issues without the user being aware of it (and it's kind of like asking the user to disable their entire firewall when you need a single port).

i see this line in your log 05-30 13:56:25.432 276 276 F DEBUG : Abort message: 'art/runtime/thread.cc:1336] No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]', so perhaps pm is the problem. please try running pm install -r $apk on your device as root, where $apk is the path to an apk of a backed-up package. then try running runcon u:r:system_app:s0 pm install -r $apk also as root.

and could you please see if there is anything in oab's own logfile (oandbackup.log)?


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/jensstein/oandbackup/issues/130#issuecomment-222538590

jensstein commented 8 years ago

did you try runcon u:r:system_app:s0 pm install -r $apk? it's a command to run another command in a specific security context.

fajabird commented 8 years ago

I updates from stable to the latest beta superuser by chainfire and pm works now. Thanks very much for your fast support.

Am 30. Mai 2016 20:32:05 MESZ, schrieb jensstein notifications@github.com:

hmm, i don't think the right solution is to change the selinux configuration even temporarily. it would open up security issues without the user being aware of it (and it's kind of like asking the user to disable their entire firewall when you need a single port).

i see this line in your log 05-30 13:56:25.432 276 276 F DEBUG : Abort message: 'art/runtime/thread.cc:1336] No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]', so perhaps pm is the problem. please try running pm install -r $apk on your device as root, where $apk is the path to an apk of a backed-up package. then try running runcon u:r:system_app:s0 pm install -r $apk also as root.

and could you please see if there is anything in oab's own logfile (oandbackup.log)?


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/jensstein/oandbackup/issues/130#issuecomment-222538590

fajabird commented 8 years ago

No, I updated superuser and it works now. But if its important I can downgrade and run this command.

Am 30. Mai 2016 21:50:23 MESZ, schrieb jensstein notifications@github.com:

did you try runcon u:r:system_app:s0 pm install -r $apk? it's a command to run another command in a specific security context.


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/jensstein/oandbackup/issues/130#issuecomment-222546679

jensstein commented 8 years ago

well, if you can easily downgrade to test runcon then it would be nice to know. this problem probably affects other configurations with a different superuser app. but don't worry about it if it's cumbersome for you.