Questions tagged [ext4]

a journaling file system for Linux, and successor to ext3

What is ext4?

ext4 is a journaling file system. Being the forth generation of the Extended Filesystem (full name: Fourth extended file system), it is the successor to ext3, to which it is backward compatible. Its first stable release was introduced in October 2008.

On a 4k block filesystem, it features a maximum file size of 16 TiB, a maximum volume size of 1 EiB, and can hold up to 4 billion files on a single volume. Next to the size improvements, it also brings speed improvements over .

Related tags

  • : the second generation of the "extended file system"
  • : the third generation of the "extended file system"
  • : the forth generation of the "extended file system"
  • : A file system is the logical structure to organize (store, retrieve and update) data on a storage device.
  • : The command to make a storage device accessible
  • : a filesystem used on MS Windows systems
55 questions
21
votes
5 answers

Can I use ext4 on my SD card in a non-rooted phone?

I know that on a rooted phone, it's reasonably normal to create a small ext4 partition for App2SD to use, but I'm not asking about that case: I have a non-rooted HTC Desire running Froyo, and I'd like to format the whole of my SD card as ext4…
Andrew Aylett
  • 381
  • 1
  • 2
  • 9
20
votes
3 answers

How to recover a deleted file from /data partition on a rooted phone?

I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the /data partition so that I could run some recovery software…
K. Hatake
  • 315
  • 1
  • 3
  • 6
9
votes
4 answers

How can I mount an ext4-formatted SD card with correct permissions (with root)?

I see some mentions here of creating an ext4-formatted SD card, but no guide. This closely-related question suggests there is no way to do it, but my question differs in that my phone is specifically rooted. I formatted my card as ext4 (GUID…
Sparhawk
  • 335
  • 1
  • 5
  • 17
9
votes
1 answer

How would you use your ext4 formatted thumb drive via OTG on Android?

Is there a workaround to use an ext4 formatted thumb drives on Android phones? Right now when I plug it (thumb drive has micro usb end and phone supports thumb drives) Android says it doesn't recognize the file system. Android formats the micro SD…
user240891
  • 91
  • 1
  • 2
7
votes
4 answers

SD card not detected after re-partitioning it, FAT32 + EXT4

I followed the steps here to add an EXT4 partition on my 8gb sd card: http://www.addictivetips.com/mobile/properly-partition-sd-card-for-app2sd-android-roms/ Now I have 6.xGB FAT32 as the primary partition, and a 1GB EXT4 logical partition. But my…
d4ryl3
  • 609
  • 3
  • 8
  • 20
6
votes
1 answer

Mounting a ext4 formatted sdcard on Android Marshmallow

I trying to mount an ext4 sdcard on a Samsung Galaxy Tab a6 (sm-t580) running Android 6.0.1. It has the original ROM, but is rooted and has TWRP installed. I've tried the following commands on adb: mkdir /mnt/media_rw/0000-FFFF mount -t ext4…
MJ Walsh
  • 221
  • 2
  • 7
5
votes
1 answer

How to format /storage/sdcard0 in ext4

I tried to create a symbolic link on the "internal SD card" of my Galaxy SD2. It failed with "permission denied" and I quickly realized this file system is vfat. How can I reformat /storage/sdcard0 with a modern file system instead, like ext4? Are…
rds
  • 624
  • 3
  • 10
  • 19
5
votes
1 answer

Why do partitions get unmounted automatically after some time?

I have an Android phone running Oreo 8.1.0. I have two partitions in sdcard. One partition is ext4 formatted. I mount it using: mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/sdext2 But after some time, the partition gets unmounted automatically…
jonny789
  • 385
  • 1
  • 4
  • 18
5
votes
1 answer

SD card formatted to ext4 and permissions

I'm using CyanogenMod 7.1.0 RC1 on HTC Desire HD. I've formatted SD card to ext4, because I wanted to use Fedora through chrooting into it, and Fedora ARM image requires FS which can do symlinks. Now, when various applications try to save data…
Dr McKay
  • 153
  • 1
  • 5
4
votes
1 answer

Change File System of Internal Storage to EXT4

I have an Ainol tablet Novo 7, which has 16GB internal storage in FAT32 format. Due to the file system restriction, it can accept up to 4GB file size only. How can I format the internal storage to EXT4, which I can put bigger files inside? Can't use…
Raptor
  • 173
  • 1
  • 7
4
votes
2 answers

How to create and use multiple partitions on external SD card with different filesystems (Ext4, exFAT, NTFS)?

I want to create 4 partitions on external MicroSDcard through ADB shell commands, not on Windows or Linux. Also want to show all partitions in Android GUI (SETTINGS > STORAGE > SDCARD) and make them usable for all apps and file…
Androidquery
  • 477
  • 1
  • 6
  • 19
4
votes
0 answers

Mount an ext4 formatted sdcard on a stock Lolipop 5.1 rom (rooted)

I currently have a Sony Z1 Compact. Unfortunately, it has an unlockable bootloader. I typically install Cyanogen on my android devices, but in this case, I don't have that option (without messing around with packages and changing out some kernels…
djsumdog
  • 201
  • 1
  • 10
4
votes
1 answer

Does Android support the EXT (filesystem) for removable storage cards?

As the subject indicates, does Android support any of the Extended File Systems ("ext", "ext2", "ext3" and "ext4") for removable storage cards (such as Micro SDXC storage cards)? Android is a Linux-based operating system, so surely such filesystems…
Gregory Opera
  • 143
  • 1
  • 1
  • 5
3
votes
1 answer

Linux Deploy ext4 and Adoptable Storage

Edit: I created an issue in the Linux Deploy project. I have a smartphone with the following settings: And the following SD: Ok, it's not a good SD, but that's what I have for today... I was using SD as an extension to internal storage, and I…
3
votes
3 answers

External Ext4 card mounted only for root (!) on Android 5.1 64 bits

In short: if I mount my Ext4 8GB SD card, only root (SU) can see it. The rest of users (so, the rest of apps) don't detect it. As long as my Ext4 SD card is not correctly mounted (Android always yields Damaged SD card. Format it... blah blah blah),…
Sopalajo de Arrierez
  • 591
  • 5
  • 13
  • 20
1
2 3 4