ElderDrivers / EdXposed

Elder driver Xposed Framework.
https://edxp.meowcat.org/
GNU General Public License v3.0
5.35k stars 619 forks source link

Dalvik cache arm64 folder empty #832

Open kobsmey opened 3 years ago

kobsmey commented 3 years ago

Edxposed works fine. But after wiping dalvik-cache, /data/dalvik-cache/arm64 fails to build. The folder is empty but apps work okay. This only happens from v0.5.2.0 with riru v23.4 Device: Pocophone ROM: MIUI by xiaomi.eu 11.0.9 | Stable

I am having same issue with new LSPosed

EdXposed v0.4.6.4 with riru v21.3 didn't have this issue

dasTohsy commented 3 years ago

Sorry for my bad english.

I habe the same problem. If i show in TWRP-Filmemanager no files are in the dalvik-arm64 cache. bit if i show in "root browser" in android i see files "for a short time", app crashes in this folder after some seconds.
the problem is, i only can log in android every 50 smartphone restart.

i use "adb logcat" in windows console. there i found this:

"EdXposed: Start to install Riru hook02-20 18:40:07.728 4197 4197 E xhook : strtab == NULL02-20 18:40:07.728 4197 4197 E xhook : elf init check failed."

and "02-20 18:59:38.777 3803 3803 E dex2oat : Failed to create runtime 02-20 18:59:38.790 3803 3803 I dex2oat : dex2oat took 27.141ms (14.508ms cpu) (threads: 8) 02-20 18:59:38.794 575 1348 E installed: DexInv: --- END '/vendor/app/MTKLoggerProxy/MTKLoggerProxy.apk' --- status=0x0200, process failed 02-20 18:59:38.794 575 1348 E installd: Failed to dexopt (512) 02-20 18:59:38.797 590 1353 I Proximity: processEvent value=2 02-20 18:59:38.799 1188 2884 W PackageManager.DexOptimizer: Failed to dexopt"

and

"02-20 18:59:58.122 334 334 I ServiceManager: service 'netstats' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'netpolicy' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'bluetooth_manager' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'connmetrics' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'netd_listener' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'notification' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'devicestoragemonitor' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'search' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'country_detector' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'location' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'cpuinfo' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'permission' died 02-20 18:59:58.122 334 334 I ServiceManager: service 'processinfo' died"

and

"02-20 18:59:06.745 3343 3343 W dex2oat : Unable to open /data/dalvik-cache/. to delete it's contents: Permission denied 02-20 18:59:06.746 3343 3343 W dex2oat : Unable to open /data/dalvik-cache/arm64 to delete it's contents: Permission denied 02-20 18:59:06.746 3343 3343 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Cannot relocate image /system/framework/boot.art to /data/dalvik-cache/arm64/system@framework@boot.art: Patching disabled. 02-20 18:59:06.746 3343 3343 E dex2oat : Attempted image: /system/framework/boot.art 02-20 18:59:06.759 3343 3343 E dex2oat : Dex file fallback disabled, cannot continue without image. 02-20 18:59:06.759 3343 3343 E dex2oat : Failed to create runtime 02-20 18:59:06.763 3343 3343 I dex2oat : dex2oat took 25.605ms (23.110ms cpu) (threads: 8)"

i use android 8, i mean newest riru, edxposed-manager and newest magisk.

no i must show, how i can uninstall magisk or edxposed without log in.

acually i cant use smartphone.

i hope you understood my bad english.

dasTohsy commented 3 years ago

Addendum.

Due to my poor knowledge of the English language, I write my text in German and translate it with "google translate". Then I'll try to adjust this translation a little.

I have now tested a lot and installed and tested many combinations of Magisk, RIRU core and RIRU edexposed.

Since I always been able to reproduce an error, I may me have been able to narrow down the source of the error.

If I use the app "root browser" from jummy, it always crashes when I go to the "dalvik-cache / arm64" folder. only then does it crash (in this folder).

This happens with ALL Magisk versions from and including version 21.0. This does not occur with version 20.4. The error also occurs when I disable riru-core.

So it could be a Magisk problem.

In combination with riru edexposed and the modules, everything then sometimes goes wrong. I can't even enter a PIN anymore.

I hope the riru programmer can discuss this with the Magisk programmer to test it. I am available for testing at any time.

Greetings from old Germany.

kobsmey commented 2 years ago

This issue still exist in Magisk 24.1 when zygisk is enabled. Any fix please?