We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Lollipop, I sometimes get the following crash when installing the libraries:
E/WifiStateMachine( 2052): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.06 rxSuccessRate=0.04 targetRoamBSSID=ec:1a:59:1b:73:c5 RSSI=-54 E/WifiStateMachine( 2052): WifiStateMachine starting scan for "belkin.3c5"WPA_PSK with 2417 D/RoboInstaller( 9184): Make /system writable W/app_process32_o( 9221): type=1400 audit(0.0:93): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_actors_291.jar W/app_process32_o( 9240): type=1400 audit(0.0:94): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_actors_291_desc.xml W/app_process32_o( 9260): type=1400 audit(0.0:95): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_collection_291.jar W/app_process32_o( 9279): type=1400 audit(0.0:96): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_collection_291_desc.xml W/app_process32_o( 9298): type=1400 audit(0.0:97): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_immutable_291.jar W/app_process32_o( 9328): type=1400 audit(0.0:98): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_immutable_291_desc.xml W/app_process32_o( 9353): type=1400 audit(0.0:99): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_library_291.jar W/app_process32_o( 9373): type=1400 audit(0.0:100): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_library_291_desc.xml W/app_process32_o( 9396): type=1400 audit(0.0:101): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_mutable_291.jar W/app_process32_o( 9415): type=1400 audit(0.0:102): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file W/ProcessCpuTracker( 2052): Skipping unknown process pid 9396 I/RoboInstaller( 9184): Extracting file to /data/data/com.mobilemagic.scalainstaller/files/scala_mutable_291_desc.xml W/app_process32_o( 9435): type=1400 audit(0.0:103): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file W/app_process32_o( 9458): type=1400 audit(0.0:104): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file W/app_process32_o( 9458): type=1400 audit(0.0:104): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file D/RoboInstaller( 9184): Make /system read-only W/app_process32_o( 9481): type=1400 audit(0.0:105): avc: denied { write } for name="system@framework@boot.art" dev="dm-0" ino=105876 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file E/AndroidRuntime( 9184): FATAL EXCEPTION: Thread-606 E/AndroidRuntime( 9184): Process: com.mobilemagic.scalainstaller, PID: 9184 E/AndroidRuntime( 9184): java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Execution of cmd 'ln -s /data/data/com.mobilemagic.scalainstaller/files/scala_actors_291_desc.xml /system/etc/permissions/scala_actors_291_desc.xml' failed with exit code 1 E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller.performOperationOnSystem(RoboInstaller.scala:55) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller.installScalaLibs(RoboInstaller.scala:63) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.MainActivity$$anon$1$$anon$2.run(MainActivity.scala:18) E/AndroidRuntime( 9184): at java.lang.Thread.run(Thread.java:818) E/AndroidRuntime( 9184): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Execution of cmd 'ln -s /data/data/com.mobilemagic.scalainstaller/files/scala_actors_291_desc.xml /system/etc/permissions/scala_actors_291_desc.xml' failed with exit code 1 E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller$.sudo(RoboInstaller.scala:26) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller$$anonfun$com$mobilemagic$scalainstaller$RoboInstaller$$makeLinks$1.apply$mcVI$sp(RoboInstaller.scala:82) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller$$anonfun$com$mobilemagic$scalainstaller$RoboInstaller$$makeLinks$1.apply(RoboInstaller.scala:80) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller$$anonfun$com$mobilemagic$scalainstaller$RoboInstaller$$makeLinks$1.apply(RoboInstaller.scala:80) E/AndroidRuntime( 9184): at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34) E/AndroidRuntime( 9184): at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller.com$mobilemagic$scalainstaller$RoboInstaller$$makeLinks(RoboInstaller.scala:80) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller$$anonfun$installScalaLibs$1.apply$mcV$sp(RoboInstaller.scala:65) E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller.performOperationOnSystem(RoboInstaller.scala:51) E/AndroidRuntime( 9184): ... 3 more E/AndroidRuntime( 9184): Caused by: java.lang.RuntimeException: Execution of cmd 'ln -s /data/data/com.mobilemagic.scalainstaller/files/scala_actors_291_desc.xml /system/etc/permissions/scala_actors_291_desc.xml' failed with exit code 1 E/AndroidRuntime( 9184): at com.mobilemagic.scalainstaller.RoboInstaller$.sudo(RoboInstaller.scala:22) E/AndroidRuntime( 9184): ... 11 more W/ActivityManager( 2052): Force finishing activity com.mobilemagic.scalainstaller/.MainActivity E/WindowManager( 9184): E/WindowManager( 9184): android.view.WindowLeaked: Activity com.mobilemagic.scalainstaller.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{14c348 V.E..... R.....I. 0,0-450,489} that was originally added here E/WindowManager( 9184): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:363) E/WindowManager( 9184): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:261) E/WindowManager( 9184): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) E/WindowManager( 9184): at android.app.Dialog.show(Dialog.java:298) E/WindowManager( 9184): at android.app.ProgressDialog.show(ProgressDialog.java:116) E/WindowManager( 9184): at android.app.ProgressDialog.show(ProgressDialog.java:99) E/WindowManager( 9184): at android.app.ProgressDialog.show(ProgressDialog.java:94) E/WindowManager( 9184): at com.mobilemagic.scalainstaller.MainActivity$$anon$1.onClick(MainActivity.scala:14) E/WindowManager( 9184): at android.view.View.performClick(View.java:4756) E/WindowManager( 9184): at android.view.View$PerformClick.run(View.java:19749) E/WindowManager( 9184): at android.os.Handler.handleCallback(Handler.java:739) E/WindowManager( 9184): at android.os.Handler.dispatchMessage(Handler.java:95) E/WindowManager( 9184): at android.os.Looper.loop(Looper.java:135) E/WindowManager( 9184): at android.app.ActivityThread.main(ActivityThread.java:5221) E/WindowManager( 9184): at java.lang.reflect.Method.invoke(Native Method) E/WindowManager( 9184): at java.lang.reflect.Method.invoke(Method.java:372) E/WindowManager( 9184): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) E/WindowManager( 9184): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) W/WindowManager( 2052): Failed looking up window W/WindowManager( 2052): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@2e83679b does not exist W/WindowManager( 2052): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8412) W/WindowManager( 2052): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8403) W/WindowManager( 2052): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2558) W/WindowManager( 2052): at com.android.server.wm.Session.remove(Session.java:186) W/WindowManager( 2052): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:197) W/WindowManager( 2052): at com.android.server.wm.Session.onTransact(Session.java:130) W/WindowManager( 2052): at android.os.Binder.execTransact(Binder.java:446) W/OpenGLRenderer( 2556): Incorrectly called buildLayer on View: CellLayout, destroying layer... W/OpenGLRenderer( 2556): Incorrectly called buildLayer on View: CellLayout, destroying layer... E/WifiStateMachine( 2052): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.06 rxSuccessRate=0.06 targetRoamBSSID=ec:1a:59:1b:73:c5 RSSI=-57 E/WifiStateMachine( 2052): WifiStateMachine starting scan for "belkin.3c5"WPA_PSK with 2417
However, the scala files seem to be copied correctly to /system/etc/permissions/:
/system/etc/permissions/
# ls /system/etc/permissions/scala* < /system/etc/permissions/scala_actors_291_desc.xml /system/etc/permissions/scala_collection_291_desc.xml /system/etc/permissions/scala_immutable_291_desc.xml /system/etc/permissions/scala_library_291_desc.xml /system/etc/permissions/scala_mutable_291_desc.xml
Libraries themselves are also there:
# ls -l /data/data/com.mobilemagic.scalainstaller/files -rw-rw-rw- u0_a149 u0_a149 199101 2014-11-30 23:26 scala_actors_291.jar -rw-rw-rw- u0_a149 u0_a149 148 2014-11-30 23:26 scala_actors_291_desc.xml -rw-rw-rw- u0_a149 u0_a149 912468 2014-11-30 23:26 scala_collection_291.jar -rw-rw-rw- u0_a149 u0_a149 156 2014-11-30 23:26 scala_collection_291_desc.xml -rw-rw-rw- u0_a149 u0_a149 441863 2014-11-30 23:26 scala_immutable_291.jar -rw-rw-rw- u0_a149 u0_a149 154 2014-11-30 23:26 scala_immutable_291_desc.xml -rw-rw-rw- u0_a149 u0_a149 1262819 2014-11-30 23:26 scala_library_291.jar -rw-rw-rw- u0_a149 u0_a149 150 2014-11-30 23:26 scala_library_291_desc.xml -rw-rw-rw- u0_a149 u0_a149 372258 2014-11-30 23:26 scala_mutable_291.jar -rw-rw-rw- u0_a149 u0_a149 150 2014-11-30 23:26 scala_mutable_291_desc.xml
. But when I install an app using these libs via adb, I get Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY].
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On Lollipop, I sometimes get the following crash when installing the libraries:
However, the scala files seem to be copied correctly to
/system/etc/permissions/
:Libraries themselves are also there:
. But when I install an app using these libs via adb, I get
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
.The text was updated successfully, but these errors were encountered: