[Replicant] [replicant-scripts][PATCH 7/8] modem: setup.sh: fix adb push

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Fri Jun 19 15:35:08 UTC 2020


On Fri, 19 Jun 2020 06:08:48 +0200
Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org> wrote:

> Without that fix:
> - Copying the files to the device can fail with the
>   following error:
>       adb: error: failed to copy './device-files/modem.sh'
>       to '/system/bin/modem.sh': remote Read-only file system
> - using 'adb wait-for-device' instead of sleep 3 guarantees
>   that the device is available and doesn't wait longer than
>   necessary.
> - We re-set /system to read-only afterward and make sure
>   that everything is written back to prevent any possible
>   data corruption.
I should also add that:

The Failing copy due to read-only filesystem is due to this commit:
    ce8db3e networking: modem: setup.sh: use the same paths than Android.mk

Before that, /data/misc/modem was used and it worked fine because it
is already writable.

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/20200619/523c01b5/attachment.asc>


More information about the Replicant mailing list