inadequate blocking time during post-fs-data?
I tried to add some setprop entries in /magisk/v4a/post-fs-data.sh to get v4a more compatibility, which mainly was to disable deep_buffer.
setprop audio.deep_buffer.media false
setprop lpa.decode false
setprop tunnel.decode false
setprop tunnel.audiovideo.decode false
setprop lpa.releaselock false
setprop lpa.use-stagefright false
setprop persist.sys.media.use-awesome 1
After this post-fs-data.sh was added, I lost my xposed(your magisk version 86.6). The xposed was not active after reboot. From the magisk.log, it seemed late_start service mode ran before xposed was mounted completely.
post-fs-data: /magisk/v4a/post-fs-data.sh
post-fs-data: /magisk/xposed/post-fs-data.sh
Xposed: Mount: /magisk/xposed/system/lib64/libsigchain.so
Xposed: Mount: /magisk/xposed/system/lib64/libart.so
Magisk late_start service mode running...
Starting Magisk Hide
Xposed: Mount: /magisk/xposed/system/lib64/libart-disassembler.so
Xposed: Mount: /magisk/xposed/system/lib/libsigchain.so
Xposed: Mount: /magisk/xposed/system/lib/libart.so
Xposed: Mount: /magisk/xposed/system/lib/libart-compiler.so
Xposed: Mount: /magisk/xposed/system/bin/patchoat
Xposed: Mount: /magisk/xposed/system/bin/oatdump
Xposed: Mount: /magisk/xposed/system/bin/dex2oat
Xposed: Mount: /magisk/xposed/system/bin/app_process64
Xposed: Mount: /magisk/xposed/system/bin/app_process32
post-fs-data: /magisk/zzsupersu/post-fs-data.sh
Enabling systemless hosts file support
Mount: /magisk/.core/hosts
Bind mount system mirror
Mount: /system
Bind mount mirror items
While, when i moved these setprop entries to /cache/magisk/v4a/post-fs.sh, xposed was mounted and active. See the log below,
post-fs-data: /magisk/v4a/post-fs-data.sh
post-fs-data: /magisk/xposed/post-fs-data.sh
Xposed: Mount: /magisk/xposed/system/lib64/libsigchain.so
Xposed: Mount: /magisk/xposed/system/lib64/libart.so
Xposed: Mount: /magisk/xposed/system/lib64/libart-disassembler.so
Xposed: Mount: /magisk/xposed/system/lib/libsigchain.so
Xposed: Mount: /magisk/xposed/system/lib/libart.so
Xposed: Mount: /magisk/xposed/system/lib/libart-compiler.so
Xposed: Mount: /magisk/xposed/system/bin/patchoat
Xposed: Mount: /magisk/xposed/system/bin/oatdump
Xposed: Mount: /magisk/xposed/system/bin/dex2oat
Xposed: Mount: /magisk/xposed/system/bin/app_process64
Xposed: Mount: /magisk/xposed/system/bin/app_process32
post-fs-data: /magisk/zzsupersu/post-fs-data.sh
Enabling systemless hosts file support
Magisk late_start service mode running...
Mount: /magisk/.core/hosts
Bind mount system mirror
Starting Magisk Hide
Mount: /system
Bind mount mirror items
Does it mean bind mount of xposed and the setprops take too much time, or I just didn't do the setprop thing correctly at first?
I had a few set props in postfs that I got to work by disabling auto mount. Have you tried with auto mount off?
I made a getprop on my device OnePlus3. It seems maybe not all the properties are available on my device. Even when I just keep these two lines below, which have corresponding entries in my device, in post-fs-data.sh and it still not worked well.
setprop audio.deep_buffer.media false
setprop persist.sys.media.use-awesome 1
At last, I replaced a whole build.prop and added the setprop at the end, which worked finally.
Reopened by mistake. I just want to confirm that setprop during post-fs and post-fs-data is fixed in Magisk v8 only with SuperSU installed.