this post was submitted on 07 Sep 2024
0 points (50.0% liked)

Xiaomi

504 readers
1 users here now

Welcome to an Unofficial Xiaomi community on the Fediverse! This is a place to discuss everything related to Xiaomi devices, including news, reviews, tips, tutorials, rooting, and app discussions.

[email protected]

Rules

  1. Stay on topic: all posts should be related to Xiaomi devices, MIUI, or the Xiaomi ecosystem.
  2. Describe images/videos: when sharing images or videos, please provide an explanation in the self-post body. Memes are not allowed.
  3. No self-promotional spam: active community members are welcome to post their apps but should also participate in comments and discussions. Please do not post links to your own website, YouTube channel, or blog.
  4. No reposts/rehosted content: whenever possible, submit original sources. If the original source is not available in English, you may provide a translation. Reposts of the same content are not allowed.
  5. No editorializing titles: when submitting articles, do not change the titles. You may add the author's name if it is relevant.
  6. No piracy: sharing or discussing pirated content is strictly prohibited.
  7. No unauthorized polls/bots/giveaways: please do not create unauthorized polls, use bots, or organize giveaways without proper authorization.
  8. No offensive/low-effort content: avoid posting offensive or low-effort content that does not contribute positively to the community.
  9. No affiliate links: posting affiliate links is not allowed.

founded 1 year ago
MODERATORS
 

I'm looking for a way to dump raw data from an entire phone or at least the sda block to a PC, using a method other than adb pull.

When I run adb pull /dev/block/sda sdaDump.img, it creates a dump file. To find what I need, I have to search through this raw data using a Hex Editor. If the dump comes from a fully functioning phone, I can usually find what I’m looking for because all the data is still intact.

However, I accidentally wiped the metadata partition on my phone, so the decryption keys/files are gone. Now, because of that, some folders appear empty when checked with TWRP's File Manager, even though the actual files are still there.

If I create a dump now, the raw data in the file won't be the same as when the metadata was present, and those folders weren't showing as empty.

Running adb pull /dev/block/sda sdaDump.img now results in a dump where the Hex Editor shows zeroes (no data) where these files should be.

Is there any alternative method to create a raw data dump of the sda block or entire phone storage, that will capture that data as it is (not empty folders, but the data in them), even if it's encrypted?

I don't want to create the raw data dump onto the phone storage and then transfer it to a PC, but something that works like adb pull, in the sense that it pulls the data from the phone directly onto a PC.

Thanks a lot in advance to everyone!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here