I'd like to start a discussion and hear some ideas about what we can do to keep skype installed (or install it by force) in order to keep root working. Feel free to add your ideas so that we can try and be ready
Methods proposed:
1. Intercepting the communication between TV and store and rewriting the responses to keep skype listed as an APP.
Problems:
a) communication with the store is done using HTTPS. One would have to inject a certificate into the firmware in order to be able to use a permanent HTTPS proxy to modify the communication.
b) I'm not sure if we know what messages we can expect from the communication, but we could monitor regular communication and make an assumption. There was a thread around here that discusses this, but I can't find it right now.
2. Changing skype's permissions to make it unremovable. This could be done, for instance, by marking the files immutable (chattr +i):
A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file
and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability
can set or clear this attribute.
It would make the file(s) read-only and undeleteble (even by root). It requires that the files are stored on a ext2/3/4 filesystem, but I guess they already are. In theory, when the time comes the TV will get the order to delete skype, it will try and fail. What happens next I have no idea, but it's easy to implement (once you know where all the files are).
Let's hear other proposals! Be creative!