Forums - Failed to move files from the Host machine to RB5

2 posts / 0 new
Last post
Failed to move files from the Host machine to RB5
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Mon, 2020-10-05 20:46

Hi Team,
I tried to move the AWS greengrass certificates after successfully installing of greengrass on RB5.

sysadmin@sysadmin-Lenovo-B490:~$ adb push test.py /data
failed to copy 'test.py' to '/data/test.py': Read-only file system

  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Mon, 2020-10-05 20:51

Hi,
Resolved this issue mentioned.  The device was mounted with read-only permissions and also the dm-verity is enabled.  I disabled the dm-verity and remounted the device with 'rw' permissions.

Executed the below commands in the Host machine once the device detected in adb devices list,

 
(Developer host)$ adb disable-verity
(Developer host)$ adb reboot
 
After reboot
 
(Developer host)$ adb shell
(Developer host)$ mount -0 rw,remount /
  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.