[Replicant] 6.0 0004: unrecognised image signature, and dead link for recovery image
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Thu Jun 9 16:10:50 UTC 2022
Hi,
Sorry for the delay.
I had to find a way to backup the GNU/Linux system (Parabola) that I
installed on my GT-N7100 (I needed GNU/Linux for testing upstream
patches).
And given that adb pull cannot backup big partitions and that my
microSD slot was broken I ended up building the latest version of rsync
on the device to be able to use the new --copy-devices option and
setting the rootfs read-only before backing it up.
The issue here is that for some reasons the
replicant-6.0-0004-n7100.zip is incomplete:
> $ zipinfo replicant-6.0-0004-n7100.zip
> Archive: replicant-6.0-0004-n7100.zip
> Zip file size: 206835872 bytes, number of entries: 3
> warning [replicant-6.0-0004-n7100.zip]: 3062 extra bytes at
> beginning or within zipfile (attempting to process anyway)
> -rw-rw-r-- 3.0 unx 27 bx stor 14-Jul-02 12:53 desc.txt
> drwxrwxr-x 3.0 unx 0 bx stor 14-Jul-02 12:53 replicant/
> -rw-rw-r-- 3.0 unx 47575 bx stor 14-Jul-02 12:53
> replicant/vertical-720x1280.png 3 files, 47602 bytes uncompressed,
> 47602 bytes compressed: 0.0%
This is probably due to a lack of space on my build machine. I probably
went to release the images without seeing that.
The safest way to upgrade the GT-N7100 would be to upgrade to the
replicant-6.0-0004-rc5 images instead (at least until the next release).
The replicant-6.0-0004-transitions are images dangerous to use in the
long run as they modify critical files at each boot.
So if for some reasons the power goes off precisely at that moment you
end up with a situation where critical applications don't have access
to their data anymore so you can't even boot the phone properly anymore
(the launcher is one of these applications).
As some people tend to use older batteries I think that can happen
for real (I think that it happened to me during the early tests).
And this is also the reason why we have 2 images: It was not possible
to make an init script that deleted itself after running due to conflict
with the selinux base policy. And I really didn't want to have code
that critical that ran at each boot (given enough time it would
probably corrupt many installations).
Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20220609/1e2bd8b5/attachment.asc>
More information about the Replicant
mailing list