submission icon indicating copy to clipboard operation
submission copied to clipboard

[Submission] LineageOS Media

Open JonasCardoso opened this issue 8 years ago • 14 comments

https://github.com/JonasCardoso/lineageos-media

JonasCardoso avatar Oct 14 '18 22:10 JonasCardoso

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.

Zackptg5 avatar Oct 15 '18 01:10 Zackptg5

@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.

ghost avatar Oct 15 '18 06:10 ghost

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 avatar Oct 15 '18 08:10 gloeyisk

@gloeyisk This entire module is based on your another module SamsungMedia.

ghost avatar Oct 15 '18 08:10 ghost

@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 avatar Oct 15 '18 08:10 gloeyisk

@gloeyisk Do you grant him the permission to use your work ??

ghost avatar Oct 15 '18 08:10 ghost

@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 avatar Oct 15 '18 08:10 gloeyisk

@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

Zackptg5 avatar Oct 15 '18 15:10 Zackptg5

@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.

gloeyisk avatar Oct 15 '18 15:10 gloeyisk

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.

https://github.com/JonasCardoso/lineageos-media/commit/d1b56fca0c371f82eb87dcaf030afc696fdc220e

JonasCardoso avatar Oct 15 '18 16:10 JonasCardoso

@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

Zackptg5 avatar Oct 15 '18 17:10 Zackptg5

@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

JonasCardoso avatar Oct 15 '18 17:10 JonasCardoso

:)

Zackptg5 avatar Oct 15 '18 17:10 Zackptg5

New repo added: lineageos-media, please accept the collaboration invitation in your email

MagiskBot avatar Oct 15 '18 17:10 MagiskBot