Support Can't write back to /system/etc

Discussion in 'Android Devices' started by Jackal1011, Oct 20, 2010.

  1. Jackal1011

    Jackal1011 New Member
    25

    Oct 20, 2010
    3
    0
    25
    Hi,


    I am a noob so please be kind. I have added a new location to the HTC Sense weather widget via the file WPDB.zip as explained in the below URL:

    [GUIDE] Add custom city to HTC Sense Weather - PPCGeeks

    My problem is writing this file back to /system/etc . My phone is rooted and when using root explorer, I make /system/etc RW and am able to delete the original file but this is where things get strange. The free space displayed at the top goes from 34MB to 0k, right after deleting the file. When I then try to copy and paste the modified file to this location, it of course says there is not enough free space.

    I then tried making /system/etc RW and simply overwriting the file with the new version, same thing, free space lists as 0k and it says not enough space.

    I've also tried setting RW on the location via root explorer and pushing via ADB and this has the effect of rebooting the phone. Copying the file from the sdcard while in the ADB shell also doesn't seem to work.

    Sorry for the long-winded post, hope someone can shed some light on this.


    J
     

    Advertisement

  2. SUroot

    SUroot Well-Known Member
    1,123

    May 25, 2010
    23,925
    5,304
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Once you have deleted the file, boot into recovery and wipe dalvik cache.

    Not sure if you need s-off for this to be easier
     
  3. applefruit

    applefruit Well-Known Member
    16

    Jun 9, 2010
    63
    3
    16
    Edinburgh
    Have you tried putting it in a zip file and flashing it from recovery manager? That's the 'standard' procedure for most mods and custom roms.
     
  4. SUroot

    SUroot Well-Known Member
    1,123

    May 25, 2010
    23,925
    5,304
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    I doubt its that easy
     
  5. Jackal1011

    Jackal1011 New Member
    25

    Oct 20, 2010
    3
    0
    25

    And this will have the effect of file being wiped for good? To boot into recovery I hold the volume down button while pressing power?
     
Tags:

Share This Page

Loading...