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

why ext2 ? not ext4 #19

Closed
wv1124 opened this issue May 24, 2019 · 4 comments
Closed

why ext2 ? not ext4 #19

wv1124 opened this issue May 24, 2019 · 4 comments
Labels

Comments

@wv1124
Copy link

wv1124 commented May 24, 2019

wv@wv-mint:~/android/N960U$ file system.img
system.img: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=e47eeda7-b9a3-5aaa-9b6c-f0e5d865e7ef, volume name "system" (extents) (large files) (huge files)

@anestisb
Copy link
Owner

Some older low-spec Android devices preferred ext2 for performance reasons (e.g. no journaling) and lower writes (less reliable flash storages). To be honest I haven't seen/tested any system.img that is a sparse ext2. But from your output it seems that is a raw ext2 image and not a sparse one, thus no reason to run the tool. Just straight mount it to loopback.

@neo1949
Copy link

neo1949 commented Jul 21, 2020

system.img generated from MIUI12 ROM is ext2 format:

system.img: Linux rev 1.0 ext2 filesystem data, UUID=4729639d-b5f2-5cc1-a120-9ac5f788683c (extents) (large files) (huge files)

@HassanMirza01
Copy link

i was able to mount normal MIUI 12 system.img files with ext4 format, but ext2 imgs are unable to mount... it says wrong fs type, bad option, bad superblock on /dev/loop16, missing codepage or helper program, or other error.

Any help ??

@neo1949
Copy link

neo1949 commented Nov 22, 2020

i was able to mount normal MIUI 12 system.img files with ext4 format, but ext2 imgs are unable to mount... it says wrong fs type, bad option, bad superblock on /dev/loop16, missing codepage or helper program, or other error.

Any help ??

Use nlitsme/extfstools to extract system.img

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

No branches or pull requests

4 participants