Project

General

Profile

Actions

Issue #2296

open

Improve package libsamsung-ipc for Parabola

Added by _I3^ RELATIVISM about 2 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Category:
Telephony and mobile data
Target version:
Start date:
01/26/2022
Due date:
% Done:

40%

Estimated time:
3.00 h
Resolution:
Device:
Not device specific, Unknown
Grant:
Type of work:
Guix packaging

Description

Packages are needed for the 3 FSDG distributions (maybe 4 given this package might work on hyperbola as well) that are actually based on source code and not git for PARABOLAgnulinux.

Use git based package as a reference.
Cheers Irelativism

Actions #1

Updated by _I3^ RELATIVISM about 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 30 to 40
Actions #2

Updated by _I3^ RELATIVISM about 2 years ago

  • Subject changed from Package libsamsung-ipc for Parabola, based on source code not git to Improve package libsamsung-ipc for Parabola
  • Description updated (diff)
Actions #3

Updated by Denis 'GNUtoo' Carikli about 2 years ago

  • Category changed from Build system to Telephony and mobile data
  • Target version changed from Any version to libsamsung-ipc 1.0
  • Type of work Guix packaging added
  • Type of work deleted (Build system integration, System administration)

The issue is that libsamsung-ipc is not very useful for general GNU/Linux distributions at the moment because it requires a vendor kernel to work, and general GNU/Linux distributions don't ship such kernels.

libsamsung-ipc still has some tools, but they don't look that useful to have packaged:
  • ipc-modem and ipc-test only work with vendor kernels
  • nv_data-md5 can generate md5 files for the nv_data files, but regular users typically don't need to do that, even if their EFS is corrupted. This is because the md5 typically matches the file and there is also a backup nv_data and md5 file inside the EFS. That tool is however useful for experimenting with modifications to the nv_data file. And it also enables us to validate the code that handles the md5 with automatic tests.
  • nv_data-imei is not very useful either: so far I managed to print the IMEI a very old phones (I think it was the Nexus S) but not to change it, so it can't be used to repair phones (yet).

As soon as libsamsung-ipc has something that is really useful for more general purpose distributions, it would be a good idea to do a release and to add packages for it in general purpose GNU/Linux distributions.

Without something useful the packages would probably be rejected by the distributions.

And having the vendor kernels packaged in general purpose GNU/Linux distributions won't work: the vendor kernels used by Replicant are really old: the Galaxy SII and SIII use a vendor kernel that is based on Linux 3.0.101.

Because of that Parabola and Guix don't work and even if you use a chroot or a hello world build by Guix.
This is because their glibc versions and configuration requires a more recent kernel and in both distributions having multiple libc is not supported, so you'd need to make a port like if you were adding another architecture, and that's just too much work.

Some of the vendor kernel patches have been ported on top of 3.18, probably by chronomonochrome, but I've not tried that yet.

Actions #4

Updated by _I3^ RELATIVISM about 2 years ago

sounds good thanks for the aditional information on it :)

Actions #5

Updated by Denis 'GNUtoo' Carikli over 1 year ago

  • Parent task deleted (#1861)
Actions

Also available in: Atom PDF