[Android Software Development] Ocwa:
EDIT: SOLVED by Diab Neiroukh in Pixel 5 / 4a 5G Development TG Group:

It's a FUSE bug.

su
rm -rf /data/media/0/WebviewSwitcher

Original Post:

I've got a really weird and annoying issue with this module. I tried to flash it on a pixel 4a 5g, protonaosp rom (q) and now I have a folder in my /sdcard called WebviewSwitcher that I can't delete!

Even if I try as root or with adb shell to delete it I get:

rm: install.log: Math result not representable

All that exists in the folder is: /sdcard/WebviewSwitcher/logs/install.log

I can't modify it or it says "permission denied" I tried chmod -R 7777 to change perms but it doesn't work!

Here are the contents of install.log:

+ ui_print '- Extracting module files'
+ true
+ echo '- Extracting module files'
+ unzip -o /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip -x 'META-INF/*' common/functions.sh -d /data/adb/modules_update/bromitewebview
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: .gitattributes
creating: .github/
inflating: .github/FUNDING.yml
creating: .github/workflows/
inflating: .github/workflows/greetings.yml
inflating: .gitignore
inflating: CHANGELOG.md
inflating: LICENSE
inflating: README.md
inflating: SECURITY.md
creating: common/
inflating: common/install.sh
creating: common/overlay10/
inflating: common/overlay10/AndroidManifest.xml
creating: common/overlay10/res/
creating: common/overlay10/res/xml/
inflating: common/overlay10/res/xml/config_webview_packages.xml
creating: common/overlay9/
inflating: common/overlay9/AndroidManifest.xml
creating: common/overlay9/res/
creating: common/overlay9/res/xml/
inflating: common/overlay9/res/xml/config_webview_packages.xml
creating: common/tools/
inflating: common/tools/aapt-arm
inflating: common/tools/aapt-arm64
inflating: common/tools/aapt-x86
inflating: common/tools/aapt-x86_64
inflating: common/tools/aria2c-arm
inflating: common/tools/aria2c-arm64
inflating: common/tools/aria2c-x86
inflating: common/tools/aria2c-x86_64
inflating: common/tools/zipsigner
inflating: common/tools/zipsigner-3.0-dexed.jar
inflating: config.txt
inflating: customize.sh
inflating: module.prop
inflating: post-fs-data.sh
inflating: sepolicy.rule
inflating: service.sh
creating: system/
inflating: system/placeholder
inflating: uninstall.sh
+ '[' -f /data/adb/modules_update/bromitewebview/common/addon.tar.xz ]
+ ls -A '/data/adb/modules_update/bromitewebview/common/addon/*/install.sh'
+ '[' ]
+ ui_print '- Removing old files'
+ true
+ echo '- Removing old files'
+ '[' -f /data/adb/modules/.bromitewebview-files ]
+ ui_print '- Installing'
+ true
+ echo '- Installing'
+ test -d /data/adb/modules/bromitewebview
+ '[' -f /data/adb/modules_update/bromitewebview/common/install.sh ]
+ . /data/adb/modules_update/bromitewebview/common/install.sh
+ mkdir /data/adb/modules_update/bromitewebview/logs
+ TRY_COUNT=0
+ VERSIONFILE=/sdcard/WebviewSwitcher/version
+ alias 'aapt="$MODPATH"/common/tools/aapt-"$ARCH"'
+ alias 'sign="$MODPATH"/common/tools/zipsigner'
+ chmod -R 0755 /data/adb/modules_update/bromitewebview/common/tools
+ test -f /sdcard/bromite
+ test '!' -d /sdcard/WebviewSwitcher
+ VEN=/system/vendor
+ '[' -L /system/vendor ]
+ VEN=/vendor
+ '[' -f /vendor/build.prop ]
+ export 'BUILDS=/system/build.prop /vendor/build.prop'
+ ui_print '- arm64 SDK 30 system detected, selecting the appropriate files'
+ true
+ echo '- arm64 SDK 30 system detected, selecting the appropriate files'
+ test 0 -ge 5
+ do_install
+ set_config
+ ui_print '- Setting configs...'
+ true
+ echo '- Setting configs...'
+ ui_print '- Make sure if you want/need a custom setup to edit config.txt and reflash'
+ true
+ echo '- Make sure if you want/need a custom setup to edit config.txt and reflash'
+ test -f /sdcard/WebviewSwitcher/config.txt
+ ui_print '- No config found, using defaults'
+ true
+ echo '- No config found, using defaults'
+ cp /data/adb/modules_update/bromitewebview/config.txt /sdcard/WebviewSwitcher
cp: can't create '/sdcard/WebviewSwitcher/config.txt': Permission denied
+ . /sdcard/WebviewSwitcher/config.txt
update-binary: .: line 64: can't open '/sdcard/WebviewSwitcher/config.txt': No such file or directory