1. Download our Official Android App: Forums for Android!

File on internal SD memory that I cannot delete?

Discussion in 'Android Lounge' started by richardsoffice, Nov 20, 2014.

  1. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    A file (stock-toggles.zip) on my Note2
     

    Advertisement

  2. Pugs1957

    Pugs1957 Guest
    Rank:
    None
    Posts:
    0
    Joined:

    Toggles are shortcuts to settings like Wi-Fi etc. I doubt you would want to remove these even if you could. It's certainly not malware of any kind.
     
    richardsoffice likes this.
  3. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    Yes Toggles are, but I don't think this particular zip file is in any way required by my phone for implementing toggles, as I have just done a factory reset, wipe cache and installed a new (to my phone) ROM LiquidSmooth and therefore I wouldn't have thought this old file would be required by this new Kernel and ROM.
     
  4. dynomot

    dynomot Android Expert
    Rank:
    None
    Points:
    273
    Posts:
    1,902
    Joined:
    Dec 4, 2011

    Dec 4, 2011
    1,902
    909
    273
    Male
    Sheffield U.K
    Have you actually had a look what's inside the zip? Personally I'd leave it. It is unlikely it is used by your new ROM or would cause problems if you did delete it, but you never know. The fact you can't delete it is enough, for me, to leave it alone.
     
    richardsoffice likes this.
  5. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    Inside the Zip are two Directorys: META_INF and system.
    Inside META_INF there are three files: CERT.RSA, CERT.SF, MANIFEST.MF, plus a Directory: COM and inside this is another Dir. Google, and inside that another Dir. Android, and inside that two files Update-binary, and Updater-script.
    inside the System Dir. another folder: App and inside that SystenUI.apk

    I’m not likely to let this alien folder sit on my drive, and if necessary I will copy all the other files on that drive and then format the drive itself before coping the good files back again, but this is a bit formidable I’m sure there must be a way to un-protect this file and delete it. I’ll keep trying I don’t easily let things beat me if I can help it.
     
  6. jaymzway

    jaymzway Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    519
    Joined:
    Jul 4, 2012

    guess we will learn the hard way that some files are needed by the system files to make the rom work on your phone.
    your choice to delete them but. I highly advise keeping those files and go on google and learn what those files are before deleting anything...... again your choice to do as you please! good luck to ya..
     
    richardsoffice likes this.
  7. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    I often make a copy of all the files on the phones internal SD and I can see that this file only recently appeared probably after I had been trying a few new ROM’s however I reverted back to my original AOKP ROM and I feel sure this file is debris. Also I had been able to rename the DIR it came in and also move it to within another Dir which I called ‘Delete-me’ so If it was required surly this would have crippled my system?
     
    jaymzway likes this.
  8. EarlyMon

    EarlyMon The PearlyMon
    VIP Member
    Rank:
    None
    Points:
    5,218
    Posts:
    57,631
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,631
    70,445
    5,218
    New Mexico, USA
    You're describing what sounds like an update OTA file for the system UI.

    Take any updates lately and tell the system that you'd install later?
     
    richardsoffice, dynomot and jaymzway like this.
  9. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    "update OTA file"
    Yes that could be what it is. nice one, thanks for that.
     
    EarlyMon likes this.
  10. EarlyMon

    EarlyMon The PearlyMon
    VIP Member
    Rank:
    None
    Points:
    5,218
    Posts:
    57,631
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,631
    70,445
    5,218
    New Mexico, USA
    Lol pardon my dyslexia - I meant "OTA update file" lol. :eek:

    Let's explore. Apologies if I say anything you already know.

    So - on your Note 2, your internal storage, unlike an SD card, uses a more sophisticated filesystem that allows for ownership and permissions - just like on your pc.

    And Samsung is not above pointing at the internal storage two different ways, where that file might really be in a another folder, sharing the internal /sdcard folder space.

    In such a case, you may have to delete it from the original folder.

    Next -

    Are you rooted?

    I checked various dev projects and several files exist for the Note 2 by that name, either to enhance the stock toggles or return your phone to a stock rather than custom rom behavior.

    If that applies to you, it's maybe not an OTA file and you can delete it with a root-capable file explorer - I use X-plore.

    Either way, you've given a perfect description of an installer zip file.
     
  11. iowabowtech

    iowabowtech root@android:/ #
    Rank:
    None
    Points:
    1,493
    Posts:
    12,183
    Joined:
    May 2, 2010

    May 2, 2010
    12,183
    8,681
    1,493
    Making the Establishment nervous
    Iowa|USA
    Sounds like a flashable zip that either was leftover from previous rom dealings or was a byproduct of the LiquidSmooth updater script. If they added the stock toggles after the fact, the dev may have forced a secondary push & flash in recovery (rom.zip + the toggles.zip) rather than recompiling the rom to include it natively. Should be able to delete it with a root enabled file explorer as Early mentioned.
     
    richardsoffice and EarlyMon like this.
  12. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    Yes I am Rooted.

    I just tried using X-plore but still had no luck deleting this file; I had also previously tried deleting it with root-Explorer.

    As has been said I think its probably is a flashable zip that was left over from a previous ROM, but as I recently tried several I wouldn’t be sure which one left this detritus behind.

    Not sure how I could find and delete it from the original folder.

    Could I force a change of ownership property on this file somehow?
     
  13. EarlyMon

    EarlyMon The PearlyMon
    VIP Member
    Rank:
    None
    Points:
    5,218
    Posts:
    57,631
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,631
    70,445
    5,218
    New Mexico, USA
    If you couldn't delete it as root something is wrong. Did you set up X-plore like this and grant it rights from SuperSU?
     

    Attached Files:

    richardsoffice likes this.
  14. speem

    speem Newbie
    Rank:
    None
    Points:
    16
    Posts:
    22
    Joined:
    Nov 15, 2014

    Nov 15, 2014
    22
    1
    16
    Male
    computer engineering
    Iowa,USA
    Just try to connect to a computer ,but if you delet things on ad card you have to back up first,what I sincerely suggested
     
    richardsoffice likes this.
  15. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    Yes I have X-plore set up exactly as in the posted screen-shot.

    I have also connected to my PC and tried deleting this file but the failed as well.
     
  16. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
  17. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    In my screenshot, all the directories shown with the prefix xxx are soon to be deleted as I consider them as not required.
     
  18. EarlyMon

    EarlyMon The PearlyMon
    VIP Member
    Rank:
    None
    Points:
    5,218
    Posts:
    57,631
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,631
    70,445
    5,218
    New Mexico, USA
    Hmmm...
     
    richardsoffice likes this.
  19. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
  20. Davdi

    Davdi Android Expert
    Rank:
     #88
    Points:
    243
    Posts:
    1,124
    Joined:
    Jul 4, 2012

    Jul 4, 2012
    1,124
    512
    243
    Looking for a Job
    The Shire
    It certainly looks like some sort of (OTA?) update zip. You could try installing it (After taking a nandroid backup naturally)

    It's unlikely to be harmful, might even be useful. I share your suspicion, but with a Nandroid you can always revert to EXACTLY the state before you installed it.
     
    richardsoffice and EarlyMon like this.
  21. EarlyMon

    EarlyMon The PearlyMon
    VIP Member
    Rank:
    None
    Points:
    5,218
    Posts:
    57,631
    Joined:
    Jun 10, 2010

    Jun 10, 2010
    57,631
    70,445
    5,218
    New Mexico, USA
    Use adb shell, su, cd to that folder, rm that file, exit.

    And verify that X-plore was given SuperSU rights first - it's nuts that didn't work.
     
    iowabowtech and richardsoffice like this.
  22. richardsoffice

    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    14
    4
    16
    Male
    Retired
    Ipswich
    Finally I’ve done it!

    Using a Linux terminal would be a sharp learning curve for me (although I would enjoy the challenge, take me back to when I used to have to do MS-DOS commands in config.sys Etc.) so I decided to first try another option alluded to in this thread; restore my nandroid backup of LiquidSmooth ROM . . . and then I was allowed to delete the file.

    Thanks guys for all your support with my issue, it’s been much appreciated. :)
     
    jaymzway and EarlyMon like this.
  23. jaymzway

    jaymzway Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    519
    Joined:
    Jul 4, 2012

    I recalled at one point of time I renamed a file that had a .zip n changed it to .jpg n then it deleted. Lol
     

Share This Page

Loading...