[ONE Android Development] nkk71:
[MENTION=5093942]KINGbabasula[/MENTION]

we (yep both of us) have a bug :cyclops:

actually [MENTION=6056266]randallstevens[/MENTION] was able to notice it, the restorecon option in multirom doesnt work

the reason being, we're both building off CynagonMod repo (in particular the busybox)

... acctually I'm using your multirom manifest, thanks for that :good:

Anyway, the problem is the CynagonMod busybox is SELinux enabled ("BusyBox v1.22.1 bionic"), but the restorecon in that busybox doesnt handle the -D argument.

whereas the OmniROM busybox is still JellyBean ("BusyBox v1.21.1-jb bionic"), and the restorecon in multirom.cpp uses the -D argument:

...
#if PLATFORM_SDK_VERSION >= 21
#define RESTORECON_ARGS "-RFDv"
#else
#define RESTORECON_ARGS "-RFv"
#endif
...

the restorecon in the system/core/toolbox/restorecon.c on the other hand does handle it:

...
case 'D':
flags |= SELINUX_ANDROID_RESTORECON_DATADATA;
...

however since the CynagonMod busybox is being used, the toolbox version will not be created:

...
# If busybox does not have SELinux support, provide these tools with toolbox.
# Note that RECOVERY_BUSYBOX_TOOLS will be empty if TW_USE_TOOLBOX == true.
...

and if you use the "TW_USE_TOOLBOX := true" flag, then

only

the toolbox will be created, which would make any installer-scripts using "busybox <function> ...." fail.

My workaround (before trying to switch to OmniROM repo), is to just edit the local_manifest.xml and used the busybox from omnirom:

<!-- Use OmniROM busybox -->
<remove-project path="external/busybox" name="CyanogenMod/android_external_busybox" />
<project path="external/busybox" name="android_external_busybox" remote="omnirom" revision="android-5.1" />

that seems to work, now I have

BusyBox -> BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.

and restorecon -> usage: restorecon [-DFnrRv] pathname...

lrwxrwxrwx root root 1970-01-01 00:00 [ -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 [[ -> busybox
-rwxr-x--- root root 313944 1970-01-01 00:00 adbd
lrwxrwxrwx root root 1970-01-01 00:00 adjtimex -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 arp -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ash -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 awk -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 base64 -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 basename -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 bbconfig -> busybox
-rwxr-x--- root root 17764 1970-01-01 00:00 bbootimg
lrwxrwxrwx root root 1970-01-01 00:00 blkid -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 blockdev -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 brctl -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 bunzip2 -> busybox
-rwxr-x--- root root 493040 1970-01-01 00:00 busybox
lrwxrwxrwx root root 1970-01-01 00:00 bzcat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 bzip2 -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 cal -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 cat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 catv -> busybox
-rwxr-x--- root root 157444 1970-01-01 00:00 chargeled
lrwxrwxrwx root root 1970-01-01 00:00 chattr -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 chcon -> toolbox[/COLOR][/B]
lrwxrwxrwx root root 1970-01-01 00:00 chgrp -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 chmod -> busybox
-rwxr-x--- root root 87672 1970-01-01 00:00 choice_fn
lrwxrwxrwx root root 1970-01-01 00:00 chown -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 chroot -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 clear -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 cmp -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 comm -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 cp -> busybox
-rwxr-x--- root root 9460 1970-01-01 00:00 cp_xattrs
lrwxrwxrwx root root 1970-01-01 00:00 cpio -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 crond -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 crontab -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 cut -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 date -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 dc -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 dd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 depmod -> busybox
-rwxr-x--- root root 87612 1970-01-01 00:00 detect_key
lrwxrwxrwx root root 1970-01-01 00:00 devmem -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 df -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 diff -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 dirname -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 dmesg -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 dnsd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 dos2unix -> busybox
-rwxr-x--- root root 34196 1970-01-01 00:00 dosfsck
-rwxr-x--- root root 17764 1970-01-01 00:00 dosfslabel
lrwxrwxrwx root root 1970-01-01 00:00 du -> busybox
-rwxr-x--- root root 5416 1970-01-01 00:00 dump_image
-rwxr-x--- root root 154592 1970-01-01 00:00 e2fsck
lrwxrwxrwx root root 1970-01-01 00:00 echo -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ed -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 egrep -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 env -> busybox
-rwxr-x--- root root 5416 1970-01-01 00:00 erase_image
-rwxr-x--- root root 99992 1970-01-01 00:00 exfat-fuse
lrwxrwxrwx root root 1970-01-01 00:00 expand -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 expr -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 false -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 fbsplash -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 fdisk -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 fgrep -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 find -> busybox
-rwxr-x--- root root 14671 1970-01-01 00:00 fix_permissions.sh
-rwxr-x--- root root 5364 1970-01-01 00:00 flash_image
lrwxrwxrwx root root 1970-01-01 00:00 flash_lock -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 flash_unlock -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 flashcp -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 flock -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 fold -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 free -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 freeramdisk -> busybox
-rwxr-x--- root root 46464 1970-01-01 00:00 fsck.f2fs
lrwxrwxrwx root root 1970-01-01 00:00 fsck_msdos -> dosfsck
lrwxrwxrwx root root 1970-01-01 00:00 fstrim -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 fsync -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ftpget -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ftpput -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 fuser -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 getenforce -> toolbox[/COLOR][/B]
lrwxrwxrwx root root 1970-01-01 00:00 getopt -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 getprop -> toolbox
lrwxrwxrwx root root 1970-01-01 00:00 getsebool -> toolbox
[/COLOR][/B]-rwxr-x--- root root 979480 1970-01-01 00:00 gnutar
lrwxrwxrwx root root 1970-01-01 00:00 grep -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 groups -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 gunzip -> /sbin/unpigz
lrwxrwxrwx root root 1970-01-01 00:00 gzip -> /sbin/pigz
lrwxrwxrwx root root 1970-01-01 00:00 halt -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 head -> busybox
-rwxr-x--- root root 416208 1970-01-01 00:00 healthd
lrwxrwxrwx root root 1970-01-01 00:00 hexdump -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 id -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ifconfig -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 inetd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 insmod -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 install -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ionice -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 iostat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ip -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 kill -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 killall -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 killall5 -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 less -> busybox
-rwxr-x--- root root 17596 1970-01-01 00:00 libaosprecovery.so
-rwxr-x--- root root 25836 1970-01-01 00:00 libbacktrace.so
-rwxr-x--- root root 108296 1970-01-01 00:00 libblkid.so
-rwxr-x--- root root 5256 1970-01-01 00:00 libbmlutils.so
-rwxr-x--- root root 591818 1970-01-01 00:00 libc.so
-rwxr-x--- root root 5268 1970-01-01 00:00 libcrecovery.so
-rwxr-x--- root root 13528 1970-01-01 00:00 libcryptfslollipop.so
-rwxr-x--- root root 1003828 1970-01-01 00:00 libcrypto.so
-rwxr-x--- root root 46484 1970-01-01 00:00 libcutils.so
-rwxr-x--- root root 9300 1970-01-01 00:00 libdl.so
-rwxr-x--- root root 29904 1970-01-01 00:00 libexfat.so
-rwxr-x--- root root 32244 1970-01-01 00:00 libext2_blkid.so
-rwxr-x--- root root 9408 1970-01-01 00:00 libext2_com_err.so
-rwxr-x--- root root 22520 1970-01-01 00:00 libext2_e2p.so
-rwxr-x--- root root 13556 1970-01-01 00:00 libext2_profile.so
-rwxr-x--- root root 21700 1970-01-01 00:00 libext2_quota.so
-rwxr-x--- root root 9408 1970-01-01 00:00 libext2_uuid.so
-rwxr-x--- root root 157468 1970-01-01 00:00 libext2fs.so
-rwxr-x--- root root 58612 1970-01-01 00:00 libext4_utils.so
-rwxr-x--- root root 9404 1970-01-01 00:00 libflashutils.so
-rwxr-x--- root root 357620 1970-01-01 00:00 libft2.so
-rwxr-x--- root root 9356 1970-01-01 00:00 libfusesideload.so
-rwxr-x--- root root 21704 1970-01-01 00:00 libgccdemangle.so
-rwxr-x--- root root 5316 1970-01-01 00:00 libhardware.so
-rwxr-x--- root root 197868 1970-01-01 00:00 libjpeg.so
-rwxr-x--- root root 21748 1970-01-01 00:00 liblog.so
-rwxr-x--- root root 91520 1970-01-01 00:00 libm.so
-rwxr-x--- root root 50736 1970-01-01 00:00 libminadbd.so
-rwxr-x--- root root 17604 1970-01-01 00:00 libmincrypttwrp.so
-rwxr-x--- root root 158080 1970-01-01 00:00 libminuitwrp.so
-rwxr-x--- root root 70980 1970-01-01 00:00 libminzip.so
-rwxr-x--- root root 9384 1970-01-01 00:00 libmmcutils.so
-rwxr-x--- root root 13508 1970-01-01 00:00 libmtdutils.so
-rwxr-x--- root root 9432 1970-01-01 00:00 libnetd_client.so
-rwxr-x--- root root 13416 1970-01-01 00:00 libopenaes.so
-rwxr-x--- root root 66756 1970-01-01 00:00 libpcre.so
-rwxr-x--- root root 152788 1970-01-01 00:00 libpng.so
-rwxr-x--- root root 50568 1970-01-01 00:00 libselinux.so
-rwxr-x--- root root 17692 1970-01-01 00:00 libsparse.so
-rwxr-x--- root root 9400 1970-01-01 00:00 libstdc++.so
-rwxr-x--- root root 214432 1970-01-01 00:00 libstlport.so
-rwxr-x--- root root 25796 1970-01-01 00:00 libtar.so
-rwxr-x--- root root 124640 1970-01-01 00:00 libtwrpmtp.so
-rwxr-x--- root root 9340 1970-01-01 00:00 libunwind-ptrace.so
-rwxr-x--- root root 50432 1970-01-01 00:00 libunwind.so
-rwxr-x--- root root 9352 1970-01-01 00:00 libusbhost.so
-rwxr-x--- root root 58632 1970-01-01 00:00 libutil-linux.so
-rwxr-x--- root root 83248 1970-01-01 00:00 libutils.so
-rwxr-x--- root root 99668 1970-01-01 00:00 libz.so
-rwxr-x--- root root 91902 1970-01-01 00:00 linker
lrwxrwxrwx root root 1970-01-01 00:00 ln -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 load_policy -> toolbox[/COLOR][/B]
lrwxrwxrwx root root 1970-01-01 00:00 losetup -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 ls -> toolbox[/COLOR][/B]
-rwxr-x--- root root 9460 1970-01-01 00:00 ls_xattrs
lrwxrwxrwx root root 1970-01-01 00:00 lsattr -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 lsmod -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 lsusb -> busybox
-rwxr-x--- root root 541936 1970-01-01 00:00 lz4
lrwxrwxrwx root root 1970-01-01 00:00 lzcat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 lzma -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 lzop -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 lzopcat -> busybox
-rwxr-x--- root root 13668 1970-01-01 00:00 make_ext4fs
lrwxrwxrwx root root 1970-01-01 00:00 man -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 md5sum -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mesg -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mkdir -> busybox
-rwxr-x--- root root 22328 1970-01-01 00:00 mkdosfs
-rwxr-x--- root root 46464 1970-01-01 00:00 mke2fs
-rwxr-x--- root root 19576 1970-01-01 00:00 mkexfatfs
lrwxrwxrwx root root 1970-01-01 00:00 mkfifo -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mkfs.ext2 -> busybox
-rwxr-x--- root root 174084 1970-01-01 00:00 mkfs.f2fs
lrwxrwxrwx root root 1970-01-01 00:00 mkfs.vfat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mknod -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mkswap -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mktemp -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 modinfo -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 modprobe -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 more -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mount -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mountpoint -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mpstat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 mv -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nanddump -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nandwrite -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nbd-client -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nc -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 netstat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nice -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nohup -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 nslookup -> busybox
-rwxr-x--- root root 1010704 1970-01-01 00:00 ntfs-3g
lrwxrwxrwx root root 1970-01-01 00:00 ntpd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 od -> busybox
-rwxr-x--- root root 300864 1970-01-01 00:00 offmode_charging
-rwxr-x--- root root 9508 1970-01-01 00:00 openaes
prwSrwS--- root root 2015-08-02 13:23 orsin
prwSrwSrw- root root 2015-08-02 13:23 orsout
lrwxrwxrwx root root 1970-01-01 00:00 patch -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pgrep -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pidof -> busybox
-rwxr-x--- root root 42444 1970-01-01 00:00 pigz
lrwxrwxrwx root root 1970-01-01 00:00 ping -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pipe_progress -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pkill -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pmap -> busybox
-rwxr-x--- root root 79416 1970-01-01 00:00 power_test
lrwxrwxrwx root root 1970-01-01 00:00 poweroff -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 printenv -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 printf -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ps -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pstree -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pwd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 pwdx -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 r -> toolbox
lrwxrwxrwx root root 1970-01-01 00:00 rdev -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 readlink -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 realpath -> busybox
-rwxr-x--- root root 5360 1970-01-01 00:00 reboot
-rwxr-x--- root root 407052 1970-01-01 00:00 recovery
lrwxrwxrwx root root 1970-01-01 00:00 renice -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 reset -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 resize -> busybox
-rwxr-x--- root root 34088 1970-01-01 00:00 resize2fs
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 restorecon -> toolbox[/COLOR][/B]
lrwxrwxrwx root root 1970-01-01 00:00 rev -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 rm -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 rmdir -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 rmmod -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 route -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 run-parts -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 runcon -> toolbox[/COLOR][/B]
lrwxrwxrwx root root 1970-01-01 00:00 rx -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sed -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 seq -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 setconsole -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 setenforce -> toolbox
lrwxrwxrwx root root 1970-01-01 00:00 setprop -> toolbox
lrwxrwxrwx root root 1970-01-01 00:00 setsebool -> toolbox
[/COLOR][/B]lrwxrwxrwx root root 1970-01-01 00:00 setserial -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 setsid -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sh -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sha1sum -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sha256sum -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sha3sum -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sha512sum -> busybox
-rwxr-x--- root root 9460 1970-01-01 00:00 simg2img
lrwxrwxrwx root root 1970-01-01 00:00 sleep -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sort -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 split -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 start -> toolbox
lrwxrwxrwx root root 1970-01-01 00:00 stat -> busybox
[B][COLOR="Blue"]lrwxrwxrwx root root 1970-01-01 00:00 stop -> toolbox[/COLOR][/B]
lrwxrwxrwx root root 1970-01-01 00:00 strings -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 stty -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sum -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 swapoff -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 swapon -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sync -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 sysctl -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 tac -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 tail -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 tar -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 taskset -> busybox
-rwxr-x--- root root 1 1970-01-01 00:00 teamwin
lrwxrwxrwx root root 1970-01-01 00:00 tee -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 telnet -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 telnetd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 test -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 tftp -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 tftpd -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 time -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 timeout -> busybox
-rwxr-x--- root root 17752 1970-01-01 00:00 toolbox
lrwxrwxrwx root root 1970-01-01 00:00 top -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 touch -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 tr -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 traceroute -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 true -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 ttysize -> busybox
-rwxr-x--- root root 34160 1970-01-01 00:00 tune2fs
-rwxr-x--- root root 5412 1970-01-01 00:00 twrp
lrwxrwxrwx root root 1970-01-01 00:00 ueventd -> ../init
lrwxrwxrwx root root 1970-01-01 00:00 umount -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 uname -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 uncompress -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 unexpand -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 uniq -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 unix2dos -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 unlzma -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 unlzop -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 unpigz -> pigz
lrwxrwxrwx root root 1970-01-01 00:00 unxz -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 unzip -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 uptime -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 usleep -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 uudecode -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 uuencode -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 vi -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 watch -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 watchdogd -> ../init
lrwxrwxrwx root root 1970-01-01 00:00 wc -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 wget -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 which -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 whoami -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 xargs -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 xz -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 xzcat -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 yes -> busybox
lrwxrwxrwx root root 1970-01-01 00:00 zcat -> busybox
-rwxr-x--- root root 682896 1970-01-01 00:00 zip

and restorecon worked (extract):

Running restorecon on ROM's /cache
I:Running cmd "restorecon -RFDv /cache"
SELinux: Loaded file_contexts from /file_contexts
SELinux: Relabeling /cache/recovery from u:object_r:cache_file:s0 to u:object_r:recovery_cache_file:s0.
SELinux: Relabeling /cache/backup from u:object_r:cache_file:s0 to u:object_r:cache_backup_file:s0.
SELinux: Relabeling /cache/backup/1/_full from u:object_r:cache_file:s0 to u:object_r:cache_backup_file:s0.
SELinux: Relabeling /cache/backup/1/_delta from u:object_r:cache_file:s0 to u:object_r:cache_backup_file:s0.

No adverse side effects that I can detect at the moment, but i didnt do any extensive testing.

just wanted to let you know, and sorry for the rather long post :eek:

.

---------- Post added at 17:59 ---------- Previous post was at 17:31 ----------

@TheStrix, are you also using CynagonMod, if so check this too