`
ifoggy
  • 浏览: 23330 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

android设备调试遇到failed to copy ... Read-only file system

 
阅读更多

遇到需要将jar和so push到设备的情况,某些没有调整文件权限的设备可能会遇到

failed to copy ... Read-only file system 类似的提示。

 

对于root过的设备,可以按照如下的步骤修改文件的权限:

1.用 adb shell 命令进入到设备的文件系统;

2.用 su 命令切换到root用户(设备需要root);

3.用 mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system 重新挂载文件系统(如果没有这一步,即使修改了system文件夹的权限,也不能push成功);

4.用 chmod 777 /system 修改相关文件夹权限。

5.try again and good luck

 

分享到:
评论

相关推荐

    EurekaLog_7.5.0.0_Enterprise

    4)....Added "--el_injectjcl", "--el_createjcl", and "--el_createdbg" command-line options for ecc32/emake to inject JEDI/JCL debug info, create .jdbg file, and create .dbg file (Microsoft debug format...

    Senfore_DragDrop_v4.1

    * Virtual File Stream formats can only be pasted from the clipboard with live data (i.e. FlushClipboard/OleFlushClipboard hasn't been called on the data source). This problem affects ...

    gun tar for windows

    --ignore-failed-read do not exit with nonzero on unreadable files Handling of file attributes: --owner=NAME force NAME as owner for added files --group=NAME force NAME as group for added files --...

    BURNINTEST--硬件检测工具

    system/ device driver that prevents control being returned to the BurnInTest for that test. This was added for specialized serial port hardware that could lockup after several hours of testing. ...

    softap_ap6212a0_tinav2.1_验证通过_旧版本的系统_20170915_1223没有外层目录.7z

    rootroot@cm-System-Product-Name:/home/wwt$ tar zxvf tinaV2.1_wyb_20170302_patch_leo_20161102.tar.gz rootroot@cm-System-Product-Name:/home/wwt$ mv tinaV2.1 softap_ap6212a0_tinav2.1 rootroot@cm-System...

    mac php zip 扩展

    make install fails to install the extension, again because of the read-only file system. So instead I created an extension directory under /usr/local/php. mkdir -p /usr/local/php/extensions cp ...

    php.ini-development

    Expressions in the INI file are limited to bitwise operators and parentheses: ; | bitwise OR ; ^ bitwise XOR ; & bitwise AND ; ~ bitwise NOT ; ! boolean NOT ; Boolean flags can be turned on using ...

    Bochs - The cross platform IA-32 (x86) emulator

    devices (currently only used to set the speed reported by device and to specify an alternative redolog file of USB MSD disk image modes) - hard drive - new disk image mode 'vvfat' - ported the ...

    au3反编译源码

    To copy text or to enlarge the log window double click on it. Supported Obfuscators: 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.14 [June 16, 2007]' , 'Jos van der Zande AutoIt3 Source ...

    word自动转化为chm

    Now with Macrobject DocAuto products, you need only one copy of Word document to solve all the problems easily. Create CHM help files from Word documents in a few seconds with Word-2-CHM. Create on...

    acpi控制笔记本风扇转速

    Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the AcpiHwInitialize function - the FADT registers are now validated when the table is loaded. Added two new warnings during FADT ...

    计算机网络第六版答案

    These solutions are being made available to instructors ONLY. Please do NOT copy or distribute this document to others (even other instructors). Please do not post any solutions on a publicly-...

    Android渠道打包工具packer-ng-plugin.zip

     copyTo(originalFile, tempFile)  PackerNg.Helper.writeMarket(tempFile, market)  if (PackerNg.Helper.verifyMarket(tempFile, market)) {  copyTo(tempFile, finalFile)  }   }详细的实现...

    occam一维反演

    c Open startup file and read stuff. c (Startup and iteration files should be machine written, and so we do c not necessarily test the validity of the input data unless arrays are c involved (np and ...

    OutlookAttachView v2.73

    enough disk space to store the saved file. The drawback of this mode: You cannot sort the attachments according to the column you choose with /sort command-line option. * Version 2.30 o Added '...

    端口查看工具

    make it easier to read a single line. * Version 1.85: o Added command-line options to control the settings under the Options and View menus: /MarkPorts, /DisplayUdpPorts, /DisplayTcpPorts, /...

    曲线拟合工具CurveExpert 1.0

    reading system was implemented to read files with any type of (unspecified) delimiter between the data columns + if a data file was not read correctly, the filename in the status bar showed the ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    For example, if your header file uses the File class in ways that do not require access to the declaration of the File class, your header file can just forward declare class File; instead of having ...

    8-07-14_MegaCLI for linux_windows

    SCGCQ00459022 (DFCT) - System crashes when tried to issue command exceeding around 90- 100 characters in EFI Environment. SCGCQ00470761 (DFCT) - Megacli wrongly reports PCI bus number for 2208 based ...

    (重要)AIX command 使用总结.txt

    tcopy: Tape File: 1; Records: 1 to 251; Size: 2097152. ---磁带机文件头大小 tcopy: Tape File: 1; Record: 252; Size 344064. ---磁带机文件头大小 tcopy: File: 1; End of File after: 252 Records, 526729216 ...

Global site tag (gtag.js) - Google Analytics