<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/vendor_replicant-scripts, branch more-tools</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/'/>
<entry>
<title>Add crude python library and example programs to do automatic installations</title>
<updated>2021-07-14T15:00:22+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-09-28T15:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=b3b9dae5d21750bc281f4482235d84de19367b4a'/>
<id>b3b9dae5d21750bc281f4482235d84de19367b4a</id>
<content type='text'>
Here's how to test the Replicant 6.0 0004 RC5 data migration:
    $ cd tests/src
    $ ./test-replicant-6.0-0004-rc5-migration.py n7100
    [ OK ] Installed Replicant 6.0 0003
    [ OK ] Installed APKs on top of Replicant 6.0 0003
    [ OK ] Installed Replicant 6.0 0004-rc5-transition
    [ OK ] Installed Replicant 6.0 0004-rc5

There is still a lot to be done as the libraries still have many
things that are not implemented yet. For instance it doesn't support
yet all the Smartphones and tablets supported by Replicant 6.0 0003.

There is also a lot of TODO in the source code.

In addition, the loggin system isn't very flexible.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here's how to test the Replicant 6.0 0004 RC5 data migration:
    $ cd tests/src
    $ ./test-replicant-6.0-0004-rc5-migration.py n7100
    [ OK ] Installed Replicant 6.0 0003
    [ OK ] Installed APKs on top of Replicant 6.0 0003
    [ OK ] Installed Replicant 6.0 0004-rc5-transition
    [ OK ] Installed Replicant 6.0 0004-rc5

There is still a lot to be done as the libraries still have many
things that are not implemented yet. For instance it doesn't support
yet all the Smartphones and tablets supported by Replicant 6.0 0003.

There is also a lot of TODO in the source code.

In addition, the loggin system isn't very flexible.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add crude script to add root to boot.img</title>
<updated>2021-07-08T10:10:54+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-07-09T08:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=7e4e660803408d5ab01a1a72262797a054fa5fa4'/>
<id>7e4e660803408d5ab01a1a72262797a054fa5fa4</id>
<content type='text'>
This works but it's currently too fragile:
- For the zImages, it relies on the compressed image being smaller,
  if not we need to at least append the size of the compressed Image
  to the zImage
- It doesn't autodetect much, for instance we need to autodetect the
  compression type (xz, lzma, gzip, etc).
- The bootimages are not reproducibles (probably because a random ID
  is added to the image). This prevents adding some easy testing where
  we could automatically download some Replicant 6 images and add root
  to them and compare the result with some checksums.

The source code also has additional TODOs inside it.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works but it's currently too fragile:
- For the zImages, it relies on the compressed image being smaller,
  if not we need to at least append the size of the compressed Image
  to the zImage
- It doesn't autodetect much, for instance we need to autodetect the
  compression type (xz, lzma, gzip, etc).
- The bootimages are not reproducibles (probably because a random ID
  is added to the image). This prevents adding some easy testing where
  we could automatically download some Replicant 6 images and add root
  to them and compare the result with some checksums.

The source code also has additional TODOs inside it.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add scripts to reboot and off shutdown the device cleanly</title>
<updated>2021-03-12T14:32:27+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-03-12T14:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=4a29cc58608439ffe96c869145f4f0c97971826c'/>
<id>4a29cc58608439ffe96c869145f4f0c97971826c</id>
<content type='text'>
This can be convenient when using the shell.

Alternatively it could also help users with broken power buttons.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can be convenient when using the shell.

Alternatively it could also help users with broken power buttons.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replicant_prepare_patch.py: fix Makefile bug</title>
<updated>2021-02-25T10:49:31+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-02-25T10:49:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=f111e65b7dccb06e40468f516cc57464594dbb13'/>
<id>f111e65b7dccb06e40468f516cc57464594dbb13</id>
<content type='text'>
Without that fix, the install target will fail if a file named
install is present in the same directory than the Makefile.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without that fix, the install target will fail if a file named
install is present in the same directory than the Makefile.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replicant_prepare_patch.py: Add Makefile for easy installation</title>
<updated>2020-11-09T14:54:17+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-11-09T14:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=5a920c7e62a48e835ec5b3667b91eb09da473b25'/>
<id>5a920c7e62a48e835ec5b3667b91eb09da473b25</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replicant_prepare_patch.py: fix crash when not using -C</title>
<updated>2020-11-08T00:42:26+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-11-08T00:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=24a169536bf6708bb18fa907fcc0157615665633'/>
<id>24a169536bf6708bb18fa907fcc0157615665633</id>
<content type='text'>
Without that fix we have:
    $ ./patches/replicant_prepare_patch.py HEAD 1
    Traceback (most recent call last):
      File "./patches/replicant_prepare_patch.py", line 231, in &lt;module&gt;
        repo = GitRepo(config, directory)
      File "./patches/replicant_prepare_patch.py", line 97, in __init__
        self.directory = re.sub('/+$', '', directory)
      File "/usr/lib/python3.8/re.py", line 210, in sub
        return _compile(pattern, flags).sub(repl, string, count)
    TypeError: expected string or bytes-like object

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without that fix we have:
    $ ./patches/replicant_prepare_patch.py HEAD 1
    Traceback (most recent call last):
      File "./patches/replicant_prepare_patch.py", line 231, in &lt;module&gt;
        repo = GitRepo(config, directory)
      File "./patches/replicant_prepare_patch.py", line 97, in __init__
        self.directory = re.sub('/+$', '', directory)
      File "/usr/lib/python3.8/re.py", line 210, in sub
        return _compile(pattern, flags).sub(repl, string, count)
    TypeError: expected string or bytes-like object

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cosmetics: modem&lt;-&gt;soc shared memory: move comments within if</title>
<updated>2020-11-03T15:58:38+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-11-03T15:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=c9dc0ecdcbb86e88954aa311f13c85160ed31cbe'/>
<id>c9dc0ecdcbb86e88954aa311f13c85160ed31cbe</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add that the Galaxy J7 has shared memory between the modem and the SOC</title>
<updated>2020-11-03T15:54:22+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-11-03T15:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=a2e456bae95289d6a988f17e29fa0f13d599eaf3'/>
<id>a2e456bae95289d6a988f17e29fa0f13d599eaf3</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump last LineageOS version</title>
<updated>2020-11-03T15:32:12+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-11-03T15:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=815a5764bd1fe9d6284b19b3fc2318822af98f88'/>
<id>815a5764bd1fe9d6284b19b3fc2318822af98f88</id>
<content type='text'>
At the time of writing, the last LineageOS version found in the
devices data is 17.1.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At the time of writing, the last LineageOS version found in the
devices data is 17.1.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to (deprecated) channels removal</title>
<updated>2020-11-03T15:30:26+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2020-11-03T15:25:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/vendor_replicant-scripts/commit/?id=ecb9971b035c057a11d06feeede644426fec5453'/>
<id>ecb9971b035c057a11d06feeede644426fec5453</id>
<content type='text'>
Since the following commit in the LineageOS wiki[1]:
    707b756411b5ea77aa4003c69f8d20d4436c1916
    707b75641 wiki: Remove deprecated channels
the channels field has been removed as it was replaced
by an empty maintainers field[2].

[1]git://github.com/LineageOS/lineage_wiki.git
[2]That commit says to "replace [channels: [discontinued]] with
   'device.maintainers == empty', where needed"

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the following commit in the LineageOS wiki[1]:
    707b756411b5ea77aa4003c69f8d20d4436c1916
    707b75641 wiki: Remove deprecated channels
the channels field has been removed as it was replaced
by an empty maintainers field[2].

[1]git://github.com/LineageOS/lineage_wiki.git
[2]That commit says to "replace [channels: [discontinued]] with
   'device.maintainers == empty', where needed"

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
