Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add f2fs filesystem support for the great testdisk (not photorec) #137

Open
cangling opened this issue Aug 4, 2023 · 1 comment

Comments

@cangling
Copy link

cangling commented Aug 4, 2023

I accidentally deleted all the files in a folder in my android phone. I used dd to make a mirror image of the data partition. The system uses FBE encrypted files, so all the files in the disk image are encrypted, and I cannot use testdisk on the computer restore files.

The phone storage is eMMC, and the file system is f2fs.

The files in TWRP recovery are decrypted, I need to use testdisk in TWRP recovery to restore the files in the specified directory,

I use testdisk from testdisk-7.2-WIP.arm-none-linux-gnueabi in TWRP recovery, prompting "./testdisk[1]: syntax error: unexpected '('"

I found this

[EXE] Static Linux binaries for ARM/Android (Cryptsetup, EncFS, F2FS-Tools, Testdisk, PhotoRec,..)

https://forum.xda-developers.com/t/exe-static-linux-binaries-for-arm-android-cryptsetup-encfs-f2fs-tools-testdisk-photorec.3709380/

This testdisk can run normally in TWRP recovery and see storage, prompt

Hint: Intel partition table type has been detected.
Note: Do NOT select 'None' for media with only a single partition. It's very rare for a disk to be 'Non-partitioned'.

But the partition is not recognized.

I tried photorec, but it doesn't have the files I want.

Please support using testdisk in TWRP recovery
Please support eMMC storage
Please make testdisk support f2fs file system

Thank you!

@erkinalp
Copy link

I 💯 need this. I have a corrupted user profile partition formatted as f2fs which cannot be repaired by fsck.f2fs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants