On Wed, 13 Jul 2022 14:18:37 -0400 "A. F. Cano via Replicant" <replicant@osuosl.org> wrote:
> I suppose these images can be mounted as loop devices. While the > phone was rooted I made tar balls of the cache, efs, sbfs, su and > system partitions. I'll investigate what's there at some point. > Couldn't tar the data partition as that was the only place I found > where I could put the tar file and the exclude option to tar (to > exclude the file I was creating) didn't work. The phone is now > returned for replacement since it had hardware issues. I'll continue > when I get the replacement. It depends on the images. For system, it usually can. The file utility can often (but not always) detect the image format. Some images (typically the boot and recovery images) often use the bootimg format, their content can be extracted with tools like abootimg (which is available in Parabola and Guix). Then the initramfs inside is probably under one of the usual formats for initramfs (cpio.gz, cpio.xz, etc). There is a lot of tutorials online to unpack and repack various image types. If you find tutorials that only use tools found in FSDG compliant distributions (like abootimg, cpio, gzip, xz, etc) like Guix and Parabola, it should be safe. > > ... > > As for rooting, I think it would be super useful to be able to do > > that with free software. And rooting software is not an issue for > > the guidelines if it's free software and has no nonfree > > dependencies. > > Mmm... Is what I've found above free software? For software to be free, it needs to have a free software licenses. So here you'd need to at least understand what's inside these binaries and find the respective licenses. The TWRP source code for instance is under GPLv3 but nobody looked yet if there is nonfree software in the resulting images being released. For instance it could have nonfree firmwares. Denis.
pgpjLO_f08ye0.pgp
Description: OpenPGP digital signature
_______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant