[Submission] LineageOS Media
https://github.com/JonasCardoso/lineageos-media
Please note that the magisk mount for the bootanimation won't take place in time for it to have any effect. See simple mount in the documentation here: https://github.com/topjohnwu/Magisk/blob/master/docs/details.md#simple-mount-details It'd be best to get rid of it altogether.
Also, the issue from before with crediting the original devs and permissions in config.sh still remains. Since you're using the unity template, you'll need to change the $SYS in your set_perm_recursive statements to $UNITY$SYS. But really, those lines are completely unneeded since 0755 is default for folders and 0644 is default for files
This line:
$MAGISK && set_perm_recursive $MODPATH/system/etc/sysconfig 0 0 0755 0644
Should be:
$MAGISK && set_perm_recursive $MODPATH 0 0 0755 0644
It should never be changed
NOTE: If you don't respond within 48 hours, submission will be rejected without further notice.
@JonasCardoso If you can't reach the original dev for some reason, you can fork the unity template and start all over again. This way, there will be no work of original author.
About this line...@JonasCardoso
$MAGISK && set_perm_recursive $MODPATH/system/etc/sysconfig 0 0 0755 0644
Seem you copied from my module which it'll useless for you, here's the link:
https://github.com/gloeyisk/UniversalGMSDoze/blob/master/config.sh#L104
Doesn't my mean you can't copy/fork but I hopes you do personal testing first, when everything's working properly then you can join/apply to Magisk Online Repo. Thanks.
@gloeyisk This entire module is based on your another module SamsungMedia.
@gloeyisk This entire module is based on your another module SamsungMedia.
Well, So far those line doesn't make the module broken while those line still there. Will be removed (edited to default stats of MODPATH) when new build released. Thanks for reminds.
@gloeyisk Do you grant him the permission to use your work ??
@gloeyisk Do you grant him the permission to use your work ??
My project is Open Source, feels free to fork. But to be remember, for the Samsung stuff it's licensed. Anyway, for what those LineageOS Media if I'm running LineageOS on my phone? What's benefit?
@gloeyisk If you're already on LOS, this mod wouldn't do anything useful. It's more for users on different roms who want those LOS media files
@gloeyisk If you're already on LOS, this mod wouldn't do anything useful. It's more for users on different roms who want those LOS media files
Of course I know, but there's just a little difference between CAF sounds and LOS sounds. It'd be more better if he do something new but useful. I guess.
Please note that the magisk mount for the bootanimation won't take place in time for it to have any effect. See simple mount in the documentation here: https://github.com/topjohnwu/Magisk/blob/master/docs/details.md#simple-mount-details It'd be best to get rid of it altogether.
Also, the issue from before with crediting the original devs and permissions in config.sh still remains. Since you're using the unity template, you'll need to change the $SYS in your set_perm_recursive statements to $UNITY$SYS. But really, those lines are completely unneeded since 0755 is default for folders and 0644 is default for files
This line:
$MAGISK && set_perm_recursive $MODPATH/system/etc/sysconfig 0 0 0755 0644Should be:$MAGISK && set_perm_recursive $MODPATH 0 0 0755 0644It should never be changed
NOTE: If you don't respond within 48 hours, submission will be rejected without further notice.
https://github.com/JonasCardoso/lineageos-media/commit/d1b56fca0c371f82eb87dcaf030afc696fdc220e
@JonasCardoso
Great! Only thing left is the bootanimation. Easy way to fix this would be to move the bootanimation.zip to common folder, and add this to your install.sh:
if [ $MAGISK_VER_CODE -lt 1640 ]; then
cp_ch $INSTALLER/common/bootanimation.zip /cache/magisk_mount/system/media/bootanimation.zip;
else
cp_ch $INSTALLER/common/bootanimation.zip /data/adb/magisk_simple/system/media/bootanimation.zip;
fi
@JonasCardoso
Great! Only thing left is the bootanimation. Easy way to fix this would be to move the bootanimation.zip to common folder, and add this to your install.sh:
if [ $MAGISK_VER_CODE -lt 1640 ]; then cp_ch $INSTALLER/common/bootanimation.zip /cache/magisk_mount/system/media/bootanimation.zip else cp_ch $INSTALLER/common/bootanimation.zip /data/adb/magisk_simple/system/media/bootanimation.zip fi
https://github.com/JonasCardoso/lineageos-media/commit/2aeeff3205ff28a6b4ff5cfc401aa5f369a62a42
:)
New repo added: lineageos-media, please accept the collaboration invitation in your email