Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 23 of 23
Like Tree8Likes
  • 2 Post By draconianchaos
  • 1 Post By David Lessnau
  • 1 Post By HoffmanMobile
  • 1 Post By VoltaicShock
  • 1 Post By gidgiddonihah
  • 1 Post By srkmagnus
  • 1 Post By gidgiddonihah
  1. Thread Author  Thread Author    #1  

    Default Defragment Nexus 5 Internal Storage?

    I'm superstitious about the health of the internal storage after writing files to it, deleting files, etc.

    On Windows, the hard disk gets fragmented and has to be regularly defragged. Is it similar with Android? Is there anyway to refresh the internal memory without wiping it entirely? Thanks.

    Sent from my Nexus 5 using Tapatalk 2
  2. #2  

    Default Re: Defragment Nexus 5 Internal Storage?

    I remember hearing that defragging flash memory is bad for it. The reason to defrag an hdd is due to the read write head to compartmentalize and localize data in order to access it quicker. Flash has no moving parts and the quick Google search I did seemed to intimate that writing to flash memory degrades it ever so slightly and as defragging performs a great amount of write operations this would lead to quicker degradation of the storage.

    Sent from my Nexus 7 (2013) using AC Forums mobile app.
    Thanked by:
    mrsmumbles and ibramadhan like this.
  3. Thread Author  Thread Author    #3  

    Default Re: Defragment Nexus 5 Internal Storage?

    Oh thanks, I didn't know this (obviously). So, degrades slightly, what would that mean in terms of repeated adding and deleting files? How long can I expect the phone to stay snappy and spry? Thanks. And should I just avoid writing, deleting, and rewriting files, over and over?

    Sent from my Nexus 5 using Tapatalk 2
  4. #4  

    Default Re: Defragment Nexus 5 Internal Storage?

    1. The storage in the phone is solid state: there's no point to defragging it (the access time is independent of location)
    2. Pointlessly defragging will just degrade the memory for no gain.
    3. The storage will last far longer than you'll own the phone. Just use it and forget about the innards.
    Thanked by:
    mrsmumbles likes this.
  5. Thread Author  Thread Author    #5  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by David Lessnau View Post
    1. The storage in the phone is solid state: there's no point to defragging it (the access time is independent of location)
    2. Pointlessly defragging will just degrade the memory for no gain.
    3. The storage will last far longer than you'll own the phone. Just use it and forget about the innards.
    Thank you! That's what I hope to hear.

    Sent from my Nexus 5 using Tapatalk 2
  6. #6  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by mrsmumbles View Post
    I'm superstitious about the health of the internal storage after writing files to it, deleting files, etc.

    On Windows, the hard disk gets fragmented and has to be regularly defragged. Is it similar with Android? Is there anyway to refresh the internal memory without wiping it entirely? Thanks.

    Sent from my Nexus 5 using Tapatalk 2
    I believe this was addressed in android 4.3 with addition of TRIM.

    Google Quietly Added Built-In TRIM Support In Android 4.3 – Should Fix Most Storage-Related Device Slowdowns
    Thanked by:
    mrsmumbles likes this.
  7. Thread Author  Thread Author    #7  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by HoffmanMobile View Post
    Thank you! This looks like a good read.

    Sent from my Nexus 5 via Tapatalk 2
    Try The Thank You Button, Thank You!
  8. #8  

    Default Re: Defragment Nexus 5 Internal Storage?

    Not sure if this will help but Android being Linux you shouldn't have to defrag

    HTG Explains: Why Linux Doesnt Need Defragmenting

    I bought a SSD and the first thing I did was turn of Defrag in Windows.
    Thanked by:
    mrsmumbles likes this.
  9. Thread Author  Thread Author    #9  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by VoltaicShock View Post
    Not sure if this will help but Android being Linux you shouldn't have to defrag

    HTG Explains: Why Linux Doesnt Need Defragmenting

    I bought a SSD and the first thing I did was turn of Defrag in Windows.
    Thank you, good to know.

    Sent from my LG870 via Tapatalk 2
  10. #10  

    Default Re: Defragment Nexus 5 Internal Storage?

    What made Android phones slow over time was the accumulation of junk that wasn't deleted properly. TRIM takes care of this and was recently added to Android. Defragging a computer means you are reordering files for a hard drive to access faster. As flash memory doesn't have a spinning platter and has basically zero seek times this is unnecessary. As you access flash based memory you are wearing it down over time - there is limited read/write cycles which is determined by several complex factors. Defragging spikes the write and read cycles which increases overall wear of the module. As its pointless it's probably not a good idea to defrag :-).

    Good articles on TRIM:
    http://www.tomshardware.com/reviews/...ware,2800.html
    http://www.tomshardware.com/reviews/...ce,3081-8.html

    Good article on defragmentation on flash based storage:
    http://www.pcworld.com/article/20475...-your-ssd.html

    Edit - apparently I was beat to the punch. Guess I reiterated quite well .

    Sent from my Nexus 5 using Tapatalk
    -Retired -
    8GB Toshiba Thrive
    AT&T Apple iPhone 3G
    AT&T Samsung Galaxy S2 SGH-i777

    -Current-
    Google Nexus 5 32GB Black
    Apple iPad 4 64GB Black
    Thanked by:
    mrsmumbles likes this.
  11. Thread Author  Thread Author    #11  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by gidgiddonihah View Post
    What made Android phones slow over time was the accumulation of junk that wasn't deleted properly. TRIM takes care of this and was recently added to Android. Defragging a computer means you are reordering files for a hard drive to access faster. As flash memory doesn't have a spinning platter and has basically zero seek times this is unnecessary. As you access flash based memory you are wearing it down over time - there is limited read/write cycles which is determined by several complex factors. Defragging spikes the write and read cycles which increases overall wear of the module. As its pointless it's probably not a good idea to defrag :-).

    Good articles on TRIM:
    http://www.tomshardware.com/reviews/...ware,2800.html
    http://www.tomshardware.com/reviews/...ce,3081-8.html

    Good article on defragmentation on flash based storage:
    http://www.pcworld.com/article/20475...-your-ssd.html

    Edit - apparently I was beat to the punch. Guess I reiterated quite well .

    Sent from my Nexus 5 using Tapatalk
    Thank you, and yes, you did! :thumbup::beer:

    Sent from my Nexus 5 via Tapatalk 2
    Try The Thank You Button, Thank You!
  12. #12  

    Default Re: Defragment Nexus 5 Internal Storage?

    PSA: No, You Don't Need To Defragment Your Android Device And Yes, Android Defrag Apps Are Nothing But A Scam

    "as suspected, defragmentation was indeed pointless on Android devices even if it weren't pointless, it would not be possible for an app to do so anyway"
    Thanked by:
  13. Thread Author  Thread Author    #13  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by Shilohcane View Post
    PSA: No, You Don't Need To Defragment Your Android Device And Yes, Android Defrag Apps Are Nothing But A Scam

    "as suspected, defragmentation was indeed pointless on Android devices even if it weren't pointless, it would not be possible for an app to do so anyway"
    Thanks. I'm glad I asked here first before looking for a defragging app!

    Sent from my Nexus 5 using Tapatalk 2
  14. #14  
    srkmagnus's Avatar

    Posts
    11,041 Posts
    Global Posts
    11,045 Global Posts
    ROM
    Stock 4.4 (KitKat)

    Default Re: Defragment Nexus 5 Internal Storage?

    Seems like you have already found your answer. Thanks to everyone who replied with such helpful information.

    The only time I have ever had an issue with device memory was with my HTC Hero...and it was my fault. lol Repartitioned the memory to create more internal storage and I suspect that led to it's eventual brick state.
    Thanked by:
  15. Thread Author  Thread Author    #15  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by srkmagnus View Post
    Seems like you have already found your answer. Thanks to everyone who replied with such helpful information.

    The only time I have ever had an issue with device memory was with my HTC Hero...and it was my fault. lol Repartitioned the memory to create more internal storage and I suspect that led to it's eventual brick state.
    Did you write and rewrite to system memory constantly? Files, I mean.

    Sent from my Nexus 5 using Tapatalk 2
  16. #16  
    srkmagnus's Avatar

    Posts
    11,041 Posts
    Global Posts
    11,045 Global Posts
    ROM
    Stock 4.4 (KitKat)

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by mrsmumbles View Post
    Did you write and rewrite to system memory constantly? Files, I mean.

    Sent from my Nexus 5 using Tapatalk 2
    No, it was the actual repartitioning of the internal memory. It was a mod/hack.
    Thanked by:
  17. Thread Author  Thread Author    #17  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by srkmagnus View Post
    No, it was the actual repartitioning of the internal memory. It was a mod/hack.
    OK. I won't be rooting and ROMing on this (at least not until it and I are older) but I'm already moving a lot of files around and that's why I worry. No sign of worse performance yet though, knock wood.

    Sent from my Nexus 5 using Tapatalk 2
  18. #18  
    srkmagnus's Avatar

    Posts
    11,041 Posts
    Global Posts
    11,045 Global Posts
    ROM
    Stock 4.4 (KitKat)

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by mrsmumbles View Post
    OK. I won't be rooting and ROMing on this (at least not until it and I are older) but I'm already moving a lot of files around and that's why I worry. No sign of worse performance yet though, knock wood.

    Sent from my Nexus 5 using Tapatalk 2
    Yeah, you'll need not to worry. Though, still practice regular backups or syncing to make sure your files are saved elsewhere just in case something happens.

    Sent from my Nexus 5 using AC Forums mobile app
    Thanked by:
    mrsmumbles likes this.
  19. #19  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by mrsmumbles View Post
    OK. I won't be rooting and ROMing on this (at least not until it and I are older) but I'm already moving a lot of files around and that's why I worry. No sign of worse performance yet though, knock wood.

    Sent from my Nexus 5 using Tapatalk 2
    The phone's memory (as long as there isn't a manufacturing defect) will last far longer than anything else on the device no matter how heavily you move things around. Quality flash memory should last at least 4 - 5 of seriously heavy usage. It's much more reliable and durable than its alternatives (though some would be to differ, they would be wrong as they have had bad luck - manufacturing defects would be the only cause of premature failure) I bet you will have moved on to at least one other device by that time.

    I would be much more concerned over the battery's lifespan than your internal memory. And even that shouldn't be a concern for a while.

    Sent from my Nexus 5 using Tapatalk
    -Retired -
    8GB Toshiba Thrive
    AT&T Apple iPhone 3G
    AT&T Samsung Galaxy S2 SGH-i777

    -Current-
    Google Nexus 5 32GB Black
    Apple iPad 4 64GB Black
    Thanked by:
    mrsmumbles likes this.
  20. Thread Author  Thread Author    #20  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by srkmagnus View Post
    Yeah, you'll need not to worry. Though, still practice regular backups or syncing to make sure your files are saved elsewhere just in case something happens.

    Sent from my Nexus 5 using AC Forums mobile app
    Words to live by, thanks.

    Sent from my Nexus 5 using Tapatalk 2
  21. Thread Author  Thread Author    #21  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by gidgiddonihah View Post
    The phone's memory (as long as there isn't a manufacturing defect) will last far longer than anything else on the device no matter how heavily you move things around. Quality flash memory should last at least 4 - 5 of seriously heavy usage. It's much more reliable and durable than its alternatives (though some would be to differ, they would be wrong as they have had bad luck - manufacturing defects would be the only cause of premature failure) I bet you will have moved on to at least one other device by that time.

    I would be much more concerned over the battery's lifespan than your internal memory. And even that shouldn't be a concern for a while.

    Sent from my Nexus 5 using Tapatalk
    This is reassuring, thanks. I was hoping this might be the case. Maybe if I'm more careful it will stay fine even longer. Thanks much.

    Sent from my Nexus 5 using Tapatalk 2
  22. #22  

    Default Re: Defragment Nexus 5 Internal Storage?

    So we do not have to do nothing?

    Sent from my Nexus 5 using AC Forums mobile app
  23. Thread Author  Thread Author    #23  

    Default Re: Defragment Nexus 5 Internal Storage?

    Quote Originally Posted by AndroidDario View Post
    So we do not have to do nothing?

    Sent from my Nexus 5 using AC Forums mobile app
    That's right. It's a big relief.

    Sent from my LG870 via Tapatalk 2

Similar Threads

  1. Can't wipe or factory reset Nexus 7 (2102) using multiple methods
    By barrymcsorley in forum Google Nexus 7 Tablet (2012)
    Replies: 19
    Last Post: 07-30-2015, 02:16 AM
  2. How Do I increase storage available for apps for my Dad's Nextbook Tablet?
    By topazcat in forum Android 4.0 Ice Cream Sandwich
    Replies: 4
    Last Post: 06-29-2015, 06:43 PM
  3. please help!!! my Nexus 4 wont take screen shots
    By Troothdotcom in forum Google Nexus 4
    Replies: 14
    Last Post: 05-31-2015, 08:08 AM
  4. nexus 2013 wont turn on after connected to mhl adapter
    By lovo in forum Google Nexus 7 Tablet (2013)
    Replies: 3
    Last Post: 04-03-2014, 12:30 PM
  5. A question about SIM switching into a Nexus 5
    By Gerryinbc in forum Google Nexus 5
    Replies: 5
    Last Post: 12-28-2013, 11:25 PM

Posting Permissions