@Zackptg5
With latest magisk
API is down to 17...
Can you please update unity and other mods like bash to API 17?...
Thanks
@Zackptg5
i need small help to compile <100kb binary file from https://github.com/divinebird/pacextractor ...
It shows 1 error when compiling .. I dont know how to fix it...
please help sir
That's normal so don't worry about itHi @Zackptg5
Thanks for creating usefull tools,
I've recently tried your kernel sepolicy patcher &
I get a problem using your kernel sepolicy patcher.
It said
mv: can't rename 'boot-new-signed.img': No such file or directory
Do I have to uninstall magisk first to make it works or with magisk is ok ?
I'm on xperia m4 stock 6.0.1 twrp 3.2.1-0 & nautilus kernel.
I can't sent the actual log Idk why. xda app give an error
- Copying zip to temp directory
- Installing GNU_Coreutils_For_Android_(with_Advcpmv)-v1.1_(8.30).zip
- Current boot slot: _a
- Mounting /system, /vendor
- Device is system-as-root
Archive: /data/user/0/com.UZTw5Y35DInko0Kb/cache/install.zip
inflating: post-fs-data.sh
inflating: sepolicy.sh
inflating: service.sh
inflating: system.prop
inflating: unity_install.sh
inflating: unity_uninstall.sh
inflating: busybox
inflating: busybox
inflating: util_functions.sh
inflating: install.sh
inflating: module.prop
inflating: uninstall.sh
Unzipping files...
*******************************************
*GNU Coreutils For Android (with Advcpmv) *
*******************************************
* v1.1 (8.30) *
* by zackptg5 *
*******************************************
- MagiskSU detected
- Installing
Installing scripts and files for arm64 SDK 28 device...
- Setting Permissions
*******************************************
* Powered by Magisk (@topjohnwu) *
*******************************************
*******************************************
* Unity by ahrion & zackptg5 @ XDA *
*******************************************
It's supposed to generate symlinks for each coreutils applet but it should be installed to xbin if present. Only exception is mv and cp are symlinked to system/bin as well since they're the special advanced ones with progress bar and that won't break anything@Zackptg5
If I'm not mistaken then the coreutils module isn't supposed to generate links that would replace OEM modules. However the latest version [v1.1 (8.30)] is generating all 102 symlinks in /system/bin/
Pixel 3 XL, stock, Canary Magisk
Install was via Magisk and the install log showed nothing of interest.
xbin is not presentIt's supposed to generate symlinks for each coreutils applet but it should be installed to xbin if present. Only exception is mv and cp are symlinked to system/bin as well since they're the special advanced ones with progress bar and that won't break anything
You mean you have no xbin or is everything installed to bin? Can you add debug to the zipname, flash in twrp, then post debug log?
I have no xbin (which I think is becoming the norm with stock). I'll post the log in a bitYou mean you have no xbin or is everything installed to bin? Can you add debug to the zipname, flash in twrp, then post debug log?
Oh, ok. That's an odd trend. But if it's installing to bin, it should only create symlinks for coreutil applets when a binary of the same name doesn't already exist. Of a symlink does (like a toybox applet), then it'll still create the coreutils applet so that's by design. Coreutils ones are better anywaysI have no xbin (which I think is becoming the norm with stock). I'll post the log in a bit
Not so odd when you think about the fact that system is supposed to be strictly read only.Oh, ok. That's an odd trend. But if it's installing to bin, it should only create symlinks for coreutil applets when a binary of the same name doesn't already exist. Of a symlink does (like a toybox applet), then it'll still create the coreutils applet so that's by design. Coreutils ones are better anyways
Just installed GNU_Coreutils_For_Android_(with_Advcpmv)-v1.2_(8.31).zipUpdated bash to 5.0.7 and coreutils to 8.31 - sort and timeout binaries work now so coreutils is complete
/data/adb/modules_update/coreutils/system/bin:
[ expand nproc stat
b2sum expr numfmt stty
base32 factor od sum
base64 false paste sync
basename fmt pathchk tac
cat fold pinky tail
chcon ginstall pr tee
chgrp groups printenv test
chmod head printf touch
chown hostid ptx tr
chroot id pwd true
cksum join readlink truncate
comm kill realpath tsort
coreutils link rm tty
cp ln rmdir uname
csplit logname runcon unexpand
cut ls seq uniq
date md5sum sha1sum unlink
dd mkdir sha224sum uptime
df mkfifo sha256sum users
dir mknod sha384sum vdir
dircolors mktemp sha512sum wc
dirname mv shred who
du nice shuf whoami
echo nl sleep yes
env nohup split
So on some oneplus devices, some directories are mounted at boot as overlays (google overlay mounting if you're unsure of what it is). The problem here is that when an overlay is created, it effectively overwrites the destination which nullifies anything magisk has already mounted. So any modules that had files mounted to where the overlay is won't work.Could you please give an example of a situation. I still don't really understand
mount -t overlay -o ro,context=u:object_r:system_file:s0,relatime,lowerdir=/data/adb/modules/anothermod/system/priv-app
:/data/adb/modules/somemagiskmod/system/priv-app:/system/india/priv-app:/system/product/priv-app overlay /product/priv-app