Show size of biggest folders and files in system data


Question

1. Summary



I don't find, how I can view, which folders and files are the biggest in my system data. So I can manually decide which files to delete and which not.






2. Expected behavior



Ideally to have behavior as in SpaceSniffer Windows program.



SpaceSniffer



SpaceSniffer can show sizes of system Windows files.



I can't get similar behavior for Android.






3. Data




  • ASK Benefit S401

  • Android 5.1.1

  • CyanogenMod 12.1 ROM

  • Rooted



When I install CyanogenMod, system data size — ~700 MB; at the time — ~1,5 GB.



Several hundred megabytes — apps data, for which I would consider the possibility of removal.






4. Not helped



4.1. SpaceSniffer Android alterntaives



All doesn't show system data files and folders.





I don't find another DiskUsage alternatives, that can help me.






5. Do not offer




  1. Yes, I understand that operations with system Android files may be risky. I understand that I do actions at my own risk.

  2. Yes, I know about SD card partitioning, and I move all my apps to SD card use Apps2SD.

  3. Yes, I can view system data files, use any file manager, that support root — I use Amaze, — but I don't find file manager, that:




    • correct sort folders and files in system data

    • show files/folders size of all files in screen.







6. Related questions



My question is not duplicate for these questions; please look carefully.




Answer

Install Solid Explorer and grant it root access. This is the most feature filled file manager that I've tried. Visit the Root (/) partition, click three dots on top right and properties. There you can see a breakdown of the content, file types and top 20 files (it does take a while to index this).



Solid Explorer example



Alternatively with a terminal emulator use the common Linux tool du and sort by size:



du -ah(x) | sort -n -r | head -n (number_to_show)



I tried to find a build of ncdu for Android which would be ideal but no luck. If you have Ubuntu/Arch/some other system with a package manager installed you could simply apt-get it.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes