I'm looking for a method how to calculate partition size like USERDATA using only PIT file dumped form Heimdall.

I'm trying to create empty USERDATA image and flash using Heimdall, but to do this I need to figure out partition size to create a file using make_ex4fs.

Before you ask, I can't get that information using ADB/Google/Phone.

Thanks for any help!

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.