[Magisk] Aaren:
Can't install any apk's

Hi,

I'm on a Fairphone 2, LineageOS 15.1

Whenever I install Magisk and flash boot.img, i'm not able to install any apk files, no matter how. (fdroid, file manager, adb)

adb gives: failed to install somefile.apk: Error: failed to write; readlink failed: EACCES (Permission denied)

logcat when installing from phone:

19 22:49:57.303 2932 3007 W zygote : Checksum mismatch for dex SystemUI.apk

10-19 22:49:58.166 7113 8851 E InstallInstalling: Could not write package

10-19 22:49:58.166 7113 8851 E InstallInstalling: java.io.IOException: readlink failed: EACCES (Permission denied)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at java.lang.reflect.Constructor.newInstance0(Native Method)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at java.lang.reflect.Constructor.newInstance(Constructor.java:334)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.ParcelableException.readFromParcel(ParcelableException.java:56)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:82)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:80)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.Parcel.readParcelable(Parcel.java:2852)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.Parcel.readException(Parcel.java:2000)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.Parcel.readException(Parcel.java:1951)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.content.pm.IPackageInstallerSession$Stub$Proxy.openWrite(IPackageInstallerSession.java:232)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.content.pm.PackageInstaller$Session.openWrite(PackageInstaller.java:806)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at com.android.packageinstaller.InstallInstalling$InstallingAsyncTask.doInBackground(InstallInstalling.java:343)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at com.android.packageinstaller.InstallInstalling$InstallingAsyncTask.doInBackground(InstallInstalling.java:327)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.AsyncTask$2.call(AsyncTask.java:333)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at java.util.concurrent.FutureTask.run(FutureTask.java:266)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

10-19 22:49:58.166 7113 8851 E InstallInstalling: at java.lang.Thread.run(Thread.java:764)

10-19 22:49:58.183 7113 8579 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE

10-19 22:49:58.185 7113 8579 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.

10-19 22:49:58.185 7113 8579 E linker : readlink("/proc/self/fd/46") failed: Permission denied [fd=46]

10-19 22:49:58.185 7113 8579 E linker : warning: unable to get realpath for the library "/vendor/lib/hw/gralloc.msm8974.so". Will use given path.

10-19 22:49:58.192 765 778 I ActivityManager: START u0 {dat=file:///data/user_de/0/com.google.android.packageinstaller/no_backup/package8640157887279057314.apk flg=0x2000000 cmp=com.google.android.packageinstaller/com.android.packageinstaller.InstallFailed (has extras)} from uid 10039

10-19 22:49:58.242 7113 7113 D InstallFailed: Installation status code: 1

10-19 22:49:58.266 7113 8579 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE

10-19 22:49:58.268 7113 8579 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.

10-19 22:49:58.268 7113 8579 E linker : readlink("/proc/self/fd/40") failed: Permission denied [fd=40]

10-19 22:49:58.268 7113 8579 E linker : warning: unable to get realpath for the library "/vendor/lib/hw/gralloc.msm8974.so". Will use given path.

10-19 22:49:58.289 765 985 I ActivityManager: Displayed com.google.android.packageinstaller/com.android.packageinstaller.InstallFailed: +69ms (total +185ms)

10-19 22:49:59.806 8542 8641 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE

10-19 22:49:59.809 8542 8641 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.

10-19 22:49:59.809 8542 8641 E linker : readlink("/proc/self/fd/35") failed: Permission denied [fd=35]

10-19 22:49:59.809 8542 8641 E linker : warning: unable to get realpath for the library "/vendor/lib/hw/gralloc.msm8974.so". Will use given path.

10-19 22:49:59.977 765 783 I ActivityManager: Killing 6512:com.android.carrierdefaultapp/u0a46 (adj 906): empty #17

10-19 22:49:59.982 765 785 W zygote : kill(-6512, 9) failed: No such process

10-19 22:50:00.018 765 785 W zygote : kill(-6512, 9) failed: No such process

10-19 22:50:00.019 765 785 I zygote : Successfully killed process cgroup uid 10046 pid 6512 in 37ms

10-19 22:50:05.025 765 1130 E LightsService: Light requested not available on this device. 2

10-19 22:50:11.948 7808 7837 I Finsky : [262] com.google.android.finsky.bo.ad.run(5): Stats for Executor: BlockingExecutor com.google.android.finsky.bo.ae@7731671[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 6]

10-19 22:50:11.950 7808 7837 I Finsky : [262] com.google.android.finsky.bo.ad.run(5): Stats for Executor: LightweightExecutor com.google.android.finsky.bo.ae@93d2c56[Running, pool size = 3, active threads = 0,queued tasks = 0, completed tasks = 37]

10-19 22:50:12.312 7808 7837 I Finsky : [262] com.google.android.finsky.bo.ad.run(5): Stats for Executor: bgExecutor com.google.android.finsky.bo.ae@31244d7[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 8]

10-19 22:50:35.489 765 865 I WifiService: requestActivityInfo uid=1000

10-19 22:50:35.490 765 865 I WifiService: reportActivityInfo uid=1000

10-19 22:50:35.490 765 865 I WifiService: getSupportedFeatures uid=1000

Thank's in advance