EDIT: This fix is no longer required. No more bootloops, no more random reboots.
To uninstall leakplug, remove /system/etc/init.d/01_flimit and /system/xbin/flimit; but only do that after the you flashed an xposed_arm zip no older than alpha #4 2...
So here's how zygote's process tree looks with no Xposed installed: PID FILES TASKS CONTEXT EXECUTABLE
663 18 6 u:r:zygote:s0 /system/bin/app_process32_original
1422 250 111 u:r:system_server:s0 /system/bin/...
Guys, I take that back. The ferror() issue I found had nothing to do with the fix; the real fix is here.
Oh well, at least I still have the credit for having identified the root cause, for helping people get rid of the bootloops, with sonyfix, and...
I caught Xposed red-handed, leaking file handles like there's no tomorrow, in the system_server process.
This is a big problem for Sony systems, where the file limits are 1024 (soft) / 4096 (hard). I was able to put together a script ...
News:xposed-uninstall v1.1removes Xposed altogether (no parts left behind :D)removes the Xposed appremoves leakplug, leak_workaround and/or sonyfixwipes Dalvik cache and /cacheresets XZDR settings to no-initd / enforcing SElinuxxzdr-bu...