failed to copy 'Browser.apk' to '/system/app/Browser.apk': Read-only file systemSupport


  1. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    help. trying to adb push and this is the error i get

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Lori>cd/

    C:\Documents and Settings\Lori>cd C:\Documents and Settings\Lori\Desktop\Android
    SDK\android-sdk-windows\tools

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>moun
    t -oremount,rw -t yaffs2 /dev/block/mtdblock4 /system
    'mount' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>rm /
    system/app/Browser.odex
    'rm' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push libmtwebcore.so /system/lib
    failed to copy 'libmtwebcore.so' to '/system/lib/libmtwebcore.so': Read-only fil
    e system

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push Browser.apk /system/app/Browser.apk
    failed to copy 'Browser.apk' to '/system/app/Browser.apk': Read-only file system


    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>

    Advertisement
  2. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    how does that help me?
  3. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    did you mean do this??? if so it still wont work

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Lori>cd/

    C:\Documents and Settings\Lori>cd C:\Documents and Settings\Lori\Desktop\Android
    SDK\android-sdk-windows\tools

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>moun
    t -oremount,rw -t yaffs2 /dev/block/mtdblock4 /system
    'mount' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>rm /
    system/app/Browser.odex
    'rm' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push libmtwebcore.so /system/lib
    failed to copy 'libmtwebcore.so' to '/system/lib/libmtwebcore.so': Read-only fil
    e system

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push Browser.apk /system/app/Browser.apk
    failed to copy 'Browser.apk' to '/system/app/Browser.apk': Read-only file system


    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    shell
    $ su
    su
    commands
    commands
    # commands: not found
    # Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Lori>cd/

    C:\Documents and Settings\Lori>cd C:\Documents and Settings\Lori\Desktop\Android

    SDK\android-sdk-windows\tools

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>moun

    Microsoft Windows XP [Version 5.1.2600]
    t -oremount,rw -t yaffs2 /dev/block/mtdblock4 /system
    'mount' is not recognized as an internal or external command,
    operable program or batch file.

    Microsoft: not found
    # (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Lori>cd/

    Syntax error: word unexpected
    # # C:Documents: not found
    # # C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>
    rm /
    system/app/Browser.odex
    'rm' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Documents and Settings\Lori>cd C:\Documents and Settings\Lori\Desktop\Android

    SDK\android-sdk-windows\tools

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>moun

    t -oremount,rw -t yaffs2 /dev/block/mtdblock4 /system

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push libmtwebcore.so /system/lib
    failed to copy 'libmtwebcore.so' to '/system/lib/libmtwebcore.so': Read-only fil

    C:Documents: not found
    # SDKandroid-sdk-windowstools: not found
    # # C:Documents: not found
    # t: not found
    # 'mount' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>rm /

    e system

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push Browser.apk /system/app/Browser.apk
    system/app/Browser.odex
    'rm' is not recognized as an internal or external command,
    operable program or batch file.

    failed to copy 'Browser.apk' to '/system/app/Browser.apk': Read-only file system



    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>C:\D
    ocuments and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push libmtwebcore.so /system/lib
    failed to copy 'libmtwebcore.so' to '/system/lib/libmtwebcore.so': Read-only fil

    e system

    C:\Documents and Settings\Lori\Desktop\AndroidSDK\android-sdk-windows\tools>adb
    push Browser.apk /system/app/Browser.apk
    failed to copy 'Browser.apk' to '/system/app/Browser.apk': Read-only file system



    Usage: mount [-r] [-w] [-o options] [-t type] device directory
    # operable: not found
    # # C:Documents: not found
    # system/app/Browser.odex: permission denied
    # rm failed for is, Read-only file system
    # operable: not found
    # # C:Documents: not found
    # push: not found
    # failed: not found
    # e: not found
    # # C:Documents: not found
    # push: not found
    # failed: not found
    # # #
  4. PerCompLLC

    PerCompLLC Well-Known Member

    Sorry, I made a bad post. The issue is that you are mixing commands... The mount command cannot be used unless you are in root. That said, I'm not the best resource for adb as it is relatively new to me as well. But you can do what you are trying to do from a terminal window directly on the phone itself...
  5. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    and how would i do that? put the files on the sd card and than what commands to what would i use?
  6. PerCompLLC

    PerCompLLC Well-Known Member

    Correct. Put the files on your sd card, detach your droid from your computer, open a terminal window and (for the Browser.apk):

    $ su
    $ mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    $ rm /system/app/Browser.odex
    $ cat /sdcard/Browser.apk > /system/app/Browser.apk
    $ mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    $ sync
    $ reboot[FONT=&quot]
    [/FONT]
  7. hockeyfreakb4

    hockeyfreakb4 Well-Known Member


    dont you need to add in

    $ cat /sdcard/libmtwebcore.so > /system/lib
  8. Redflea

    Redflea Well-Known Member

    You might want to try Root Explorer (in marketplace).

    It's a GUI folder/file browser for rooted phones, and will allow you to copy/paste the files where you want them, much like using Astro. No need to connect to your computer or use terminal commands...put the files on your SD card and launch Root Explorer and go.

    Paste function didn't work on previous versions but after a recent update it seems to work fine.
  9. PerCompLLC

    PerCompLLC Well-Known Member

    I was only giving you the commands for the one file to give you the idea... It all depends on exactly what you want to do - but the commands will work for whatever file you want to move.
  10. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    ya but when i get to rm /system/app/Browser.odex is says file does not exist... how is that possible?
  11. PerCompLLC

    PerCompLLC Well-Known Member

    Have you done an ls to make sure that it does?
  12. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    how do i do that? im just following the numerous guides that tell me it does exist?? if you havent caught on to what im doing yet, im trying to install that multitouch browser ported over from the milestone...

    ps. no one say why dont you just use dolphin browser or xscope... we all know why i dont. they suck!
  13. CRPercodani

    CRPercodani OFWGKTA VIP Member

    OK your already comfortable with ADB....you had just one thing wrong

    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

    instead of

    t -oremount,rw -t yaffs2 /dev/block/mtdblock4 /system
  14. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    got it to work.. didnt need to do that rm step..
  15. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    going to create a quick guide in droid section because all the ones out there are way more complicated than they need to be.
  16. CRPercodani

    CRPercodani OFWGKTA VIP Member

    The EASIEST way to do this though is to just put the 2 files on your sd card (browser.apk and libwebmtcore.so) and get a terminal app from the market. Then follow what the other guy said:

    su
    $ mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    $ rm /system/app/Browser.odex
    $ cat /sdcard/Browser.apk > /system/app/Browser.apk
    $ cat /sdcard/libwebmtcore.so > /system/lib
    $ mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    $ sync
    $ reboot[FONT=&quot]


    [/FONT]If you have busybox then you can just use the cp command instead of cat and >[FONT=&quot]
    [/FONT]
  17. CRPercodani

    CRPercodani OFWGKTA VIP Member

    Yes you do need to do the rm step. It will cause trouble down the road if you don't. Your leaving a odex in there that isn't correct or needed with the .apk it is matched upto.

    Don't forget to put your guide in the How-To section.
  18. PerCompLLC

    PerCompLLC Well-Known Member

    Thanks for jumping in - I didn't see that the space had been left out in the OP's original post...
  19. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    to make a another correction it is

    $ cat /sdcard/libwebmtcore.so > /system/lib/libwebmtcore.so

    not $ cat /sdcard/libwebmtcore.so > /system/lib/



    but the odex file does not exist, or atleast it doesnt show up in astro? if it doesnt exist than how does it conflict. im not sure how all this works.. i taught myself adb today and i did use the terminal emulator method by the way
  20. hockeyfreakb4

    hockeyfreakb4 Well-Known Member

    its not left out, it continues from the line before

Share This Page