GithubHelp home page GithubHelp logo

Comments (3)

mexmer avatar mexmer commented on August 18, 2024

TotalDataAvailable supposedly should be value of maximum storage available for user data (which also includes applications), excluding reserved space.
what it means in reality, and how it matches with what you see on device UI, you would need to ask apple engineers.
information provided change overtime, for example this stats you would get on iOS 3

WebAppCacheUsage : 0
PhotoUsage : 0
CalendarUsage : 110592
TotalDiskCapacity : 16239927296
CameraUsage : 0
AmountCameraAvailable : 15510867968
TotalDataAvailable : 15678640128
TotalDataCapacity : 15715639296
MobileApplicationUsage : 0
NotesUsage : 32768
AmountDataReserved : 167772160
MediaCacheUsage : 0
AmountDataAvailable : 15510867968
TotalSystemAvailable : 76472320
TotalSystemCapacity : 524288000
VoicemailUsage : 28672

and same device with iOS 4 (notice difference not only in ammount of information provided, but also even in total capacity)

TotalSystemAvailable : 76587008
AmountDataReserved : 167772160
TotalSystemCapacity : 713031680
MobileApplicationUsage : 154529792
TotalDataCapacity : 15527268352
TotalDiskCapacity : 16240300032
AmountDataAvailable : 14855102464
TotalDataAvailable : 15022874624

mind this value is queried directly from device OS, so whatever it reports, libimobile is not responsible for accuracy of this value.

from libimobiledevice.

evalamerr avatar evalamerr commented on August 18, 2024

thanks for your answering and showing me the differences between each iOS version's usage info.

However I don't know how to transfer this value to match what I see on device UI, maybe I need the computational formula...

For now, I just can use idevicesyslog to search system log and find the value of device UI when I occasionally tiggerered perference refresh( open General->About ). And this way is quiet inconvenience for me.
for example:

Preferences(CacheDelete)[340] : 659 publicClientAvailableSpaceForVolume kCacheDeleteAvailableSpaceClassEssential 38864684890 (38.86 GB) = freespace 30884282368 + purgeableSpace: 7980402522
Preferences(CacheDelete)[340] : CacheDeleteCopyAvailableSpaceForVolume result: 38864684890

from libimobiledevice.

mexmer avatar mexmer commented on August 18, 2024

honestly, i have no idea either, that's why i said, you would need apple engineer. for anyone else, it's just guesswork, unless you have information from their internal DK, this stuff is not documented anywhere.

from libimobiledevice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.