Trying to fix OTA 2.1 issue.. need help with terminal command

Discussion in 'Android Hacks and Help' started by Jllaugh, May 10, 2010.

  1. Jllaugh
    Offline

    Jllaugh New Member

    Joined:
    Feb 16, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Been doing reading on this for a long time and I just can't figure out the right command. I can't use root file manager, it's just stuck on authorizing.

    So basically, I am trying to copy the recommended otacerts.zip to the system/etc/security folder..

    I'm using
    > su
    > cp /sdcard/download/otacerts.zip /system/etc/security

    It's telling me that the file exists, which I know of course. I don't know how to force the overwrite.. one thing I tried to do was simply delete the file, but it's read only and I'm not sure how to modify a file's permissions through the terminal.

    Really looking forward to getting this fixed, so your help is appreciated!dancedroid
     
  2. thatguychuck
    Offline

    thatguychuck Member

    Joined:
    Oct 31, 2009
    Messages:
    433
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    SD
    Ratings:
    +0
    You were on SG right? It's not the file that's read only, it's the whole system. Possibly try these commands through adb or terminal,

    sysrw
    cd /system/etc/security
    rm otacerts.zip
    cd /
    cp /sdcard/download/otacerts.zip /system/etc/security
    sync
    sysro
     
  3. Jllaugh
    Offline

    Jllaugh New Member

    Joined:
    Feb 16, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Yes, I am running on SG.. forgot to mention. Those commands worked perfectly, thanks so much. Problem solved!dancedroid
     
  4. thatguychuck
    Offline

    thatguychuck Member

    Joined:
    Oct 31, 2009
    Messages:
    433
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    SD
    Ratings:
    +0
    Did it work completely for you? I think I forgot a step, you may have to change the permissions of your new otacerts.zip file as well so it can execute it.