Questions tagged [ext4]

a journaling file system for Linux, and successor to ext3

Filter by
Sorted by
Tagged with
0 votes
0 answers
90 views

How can I copy files from an ext4 partition on my USB drive to a fat32 partition on the same drive?

I tried mounting the ext4 partition as root, but it didn't work. My phone is rooted, but as it seems no one has managed to do what I want to do. I couldn't find any solution, that worked for me. How ...
RadoslavL's user avatar
0 votes
0 answers
62 views

Cloning encrypted ext4 partition

I have a micro SD card adopted by an Android 8 Oreo phone as internal storage extension, so it has two encrypted ext4 partitions: android_meta and android_expand. I've cloned those partitions into the ...
dandreye's user avatar
1 vote
1 answer
191 views

Shrinking encrypted ext4 partition

I have a micro SD card adopted by an Android phone as internal storage extension. While being adopted it was partitioned/formatted by the phone with two ext4 partitions: android_meta and ...
dandreye's user avatar
1 vote
0 answers
37 views

How to mount external µSD card partition filesystems on Moto g Power?

A µSD card has several partitions, but the phone mounts only the vfat partition, not the ext4 partitions. I see that there are existing internal ext4 filesystems, so it can handle that type. Is there ...
Ray Butterworth's user avatar
1 vote
0 answers
31 views

Will dumping the partition to enable `oem unlock` and flashing back the edited partition work for unlocking the bootloader on Huawei devices? [duplicate]

I'm trying to unlock the bootloader/FRP of several Huawei devices. But it is difficult because there is no support from the manufacturer and the oem unlock is not present in the system. So, I have ...
riccs_0x's user avatar
  • 151
2 votes
0 answers
1k views

Mount ext4 formatted sdcard on Lineage 18.1

I currently have Lineage 18.1 (20211007-microG-pioneer) loaded on a phone with Magisk 23. I have tried inserting an sdcard that has an /dev/sda1 partition formatted with ext4. In the past I've used ...
djsumdog's user avatar
  • 191
1 vote
0 answers
339 views

mount multiple ext4 partitions manually

I have rooted android phone running android 10. I have one ext4 partition created using : # dd if=/dev/zero of=/sdcard/ext1.img bs=1M count=1024 # mkfs.ext4 -F /sdcard/ext1.img which I mount ...
jonny789's user avatar
  • 365
4 votes
2 answers
7k views

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 ...
Androidquery's user avatar
1 vote
1 answer
8k views

How to read ext4 filesystem without mounting on a non-rooted device?

I perfectly know it is not possible to mount an ext4 partition from a USB key without root. But in my case, I just need to read a password inside a .txt file (I don't have a PC right now and in the ...
user2284570's user avatar
0 votes
1 answer
1k views

how to extend support for EXT4 file system for microSD cards in stock or non lineage / CyanogenMod ROMS

As I am aware after Android 4.4 or some sort your storage card is no longer eXposed directly and needs to be carefully interfaced through specific Mount points that need to be aware through vold ...
user1874594's user avatar
1 vote
1 answer
772 views

Does Android 8 has journaling enabled in its ext4 files sytem?

Android 8 uses stackable file sytem called sdcardfs, which emulates FAT32 on ext4 on the data partition. Does sdcardfs recognize the ext4 file system and journaling? In other words, files written ...
Suresh Kumar's user avatar
0 votes
0 answers
2k views

app2sd link2sd nightmare ..all Fully Linked apps disppear

One advantage in using app2sd ( or link2sd ) was that if all your apps are totally linked when you swap out phones you would hope to 'carry' your apps with you and of course space savings to /Data ...
user1874594's user avatar
0 votes
0 answers
696 views

mounting multiple ext4 partitions in Android 7+

I am doing away with exFat for my Microsd card after all my pictures decayed , corrupted and the directory was locked. I cant seem to write into a specific directory. chkdsk will just plain abort ...
user1874594's user avatar
20 votes
3 answers
41k views

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 ...
K. Hatake's user avatar
  • 315
1 vote
1 answer
5k views

How to mount (or auto mount) a USB stick formatted with ext4 and be visible or working with apps on Android 5 Marshmallow and later versions?

The question appears in variant forms1 just to say it is ridiculous on Android that ext4 is the default file system that doesn't recognize USB pen drive formatted with ext4 (but Android 4.4 recognizes ...
Sérgio's user avatar
  • 131
1 vote
0 answers
93 views

Linux automount corrupts ext4 partitions of Android install?

I've been experimenting with dual-boot between Linux and Android on an x86 device which came with Android + Windows preinstalled (Chuwi Hi10 Pro). I soon found out that simply booting Ubuntu (either ...
Florian Echtler's user avatar
4 votes
1 answer
5k views

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 ...
jonny789's user avatar
  • 365
1 vote
2 answers
3k views

Can't create a primary, not a logical partition in SD Card

1. Summary I can't set primary, not logical partition in my SD Card. After my attempts, I can't write anything to SD Card. 2. Hardware and software 2.1. Smartphone ARK Benefit S401, Android 5.1.1,...
Саша Черных's user avatar
3 votes
1 answer
2k views

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 ...
Jedaias Rodrigues's user avatar
6 votes
1 answer
8k views

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: ...
MJ Walsh's user avatar
  • 211
0 votes
2 answers
1k views

How to use an ext4 formatted sd card as external storage with working app permissions?

I'm using LineageOS14.1 (Android 7.1.2) on a Moto G 3rd gen I'm using a 64GB sd and my phone technically doesn't support it, it worked fine until I put more stuff on it and then it started to ...
Dema's user avatar
  • 1
1 vote
1 answer
326 views

why non rooted android does not support sdcard formatted with ext4?

Prone to data loss, fat32 or exFat are the only options right? I just lost many files on a sdcard. Formatted on linux desktop, to ext4, android will not reconize the sdcard, despite it could. my ...
Aquarius Power's user avatar
0 votes
1 answer
1k views

Mounting external sd-card on rooted Android 7.1 tablet fails, but only if partition not empty

Edit: I have tried mounting the sd-card with an empty ext4-partition, and it worked just fine, but after I ran debootstrap on the sd-card, the problem reappeared with identical symptoms. I want to ...
townhall's user avatar
1 vote
1 answer
1k views

Make the internal SD card storage act like normal Ext4 storage (with file system permission management)

Some people have apparently managed to get Ext4 formatted SD cards to work in their Android devices, allowing them to get file system permission management. I don't have an SD card in my phone, but I ...
Forivin's user avatar
  • 327
0 votes
2 answers
262 views

Messed With Android Partition

I tried to partition my android phone and messed up the internal partition system. When I reset my system this message appears E:Can't open "/cache/recovery" E:Unable to mount "/cache" E:...
Pritom's user avatar
  • 1
0 votes
1 answer
335 views

Tricking the file system to mount a LINK2SD drive as mnt/extsd

I've got a device that is using the brilliant LINK2SD to expand the system memory onto the SD......all good. As part of the implementation, the app mounts the two SD card partitions as: FAT32 /mnt/...
tgeardavid's user avatar
0 votes
1 answer
337 views

My SD card is missing 2 GB of space

i have a 16 GB samsung SD card (~14.8 GB of usable space). As i have a rooted phone, i tried to partition my SD card into a 2GB ext4 and rest as the FAT16 partition, using MiniTool Partition wizard. ...
user177547's user avatar
0 votes
1 answer
942 views

Link2sd, partition unmounted itself, can't mount back

I have Sony Xperia M2 (D2303), and i have had Link2sd for quite some time. A while back I created a partition in Minitool and mounted it as ext4 in Link2sd. Sometimes it crashed, but usually waiting ...
Ikarus's user avatar
  • 1
1 vote
1 answer
1k views

How can I know which file system is used for my internal storage?

I want to know whether my internal storage is formatted as exFAT, FAT32, ext4, etc. How can I tell? I run rooted Android 5.0, if it matters.
Fiksdal's user avatar
  • 1,211
1 vote
1 answer
10k views

How to find out sd card partition in dev/block?

In order to mount an ext4-formated sd card in Android I followed this guide. In the bash script msd2.sh is followking command: mount -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard && sleep ...
goulashsoup's user avatar
2 votes
1 answer
1k views

Is it possible to convert the filesystem from ubifs to ext4?

because i want to install a custom rom for my smartphone (MT6572 based) i need my smartphone to be in ext4-fileformat (currently it is in ubifs) because all the ported ROMS for MT6572 are ext4-based. ...
binaryBigInt's user avatar
4 votes
0 answers
2k views

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 ...
djsumdog's user avatar
  • 191
3 votes
3 answers
11k views

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 ...
Sopalajo de Arrierez's user avatar
2 votes
0 answers
398 views

Is there any working method to mount Ext4 partitions on 64 bit Android 5?

Is seems that, as for today, there are no working methods (apps or hacks) to make Ext4 partitions work (read/write) on my Android v5.1 64 bits. My device is a Jiayu S3 with a Xtreme ROM (not stock, ...
Sopalajo de Arrierez's user avatar
2 votes
0 answers
2k views

Cyanogenmod works with ext4 filesystems on sdcard?

Basic reference: How can I mount an ext4-formatted SD card with correct permissions (with root)? I succeeded to make a partition with ext4 filesystem on the SD card, and I mounted successfully ...
Yai0Phah's user avatar
  • 225
9 votes
1 answer
7k views

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 ...
user240891's user avatar
4 votes
1 answer
17k views

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

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-...
Gregory Opera's user avatar
1 vote
1 answer
1k views

Wrong id and gid running /system/bin/sdcard

I am trying to use my ext4 sdcard properly in Stock rooted Android 4.4.4. For this, I run mount -rw -t ext4 /dev/block/mmcblk1p1 /mnt/media_rw/sdcard1 and then /system/bin/sdcard -u 1023 -g 1023 -...
Luis A. Florit's user avatar
1 vote
0 answers
5k views

How to mount an ext4 formatted external sdcard in stock Android 4.4.4?

I upgraded from the Note 1 with cyanogenmod 11 to the Note 4 (910C) with stock android (rooted). I want to use the ext4 formatted external sdcard, but Samsung does not added ext4 support for the ...
Luis A. Florit's user avatar
4 votes
1 answer
7k views

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 ...
Raptor's user avatar
  • 173
1 vote
0 answers
130 views

Will changing phone storage to EXT4 filesystem cause issues?

I've found out about the journaling features of EXT4.Will they prevent data loss if the usb cable gets unconnected?(the usb port doesn't hold cable well) I've also seen a few benchmarks and EXT4 ...
EXT4filesystem's user avatar
9 votes
4 answers
29k views

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 ...
Sparhawk's user avatar
  • 336
2 votes
0 answers
448 views

Extract DB from accidentally formatted /data

I had to factory reset my Samsung Galaxy Note i717 (1stGen AT&T), and I forgot to backup before formatting /data. I need to extract the messages DB from it, because I have many important messages ...
haneefmubarak's user avatar
5 votes
1 answer
19k views

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 ...
rds's user avatar
  • 614
2 votes
1 answer
6k views

How can I make it so that any user can chmod in my fuse-mounted ext4-formatted /sdcard?

I have an ASUS Transformer Pad TF101. I finally got round to rooting it just now. Important: /sdcard is not FAT32. It's a fuse filesystem based in ext4. So it is capable of using chmod. So that I ...
Chris Morgan's user avatar
1 vote
1 answer
881 views

Why is it that whenever I partition my sd card outside CWM it doesn't get recognized by my phone?

I have a Samsung Galaxy Ace, running on its official CM7 ROM. I have an 8gb sd card and I just want to make a clean install of everthing starting with the sd card's partition. I've had sd-ext ...
d4ryl3's user avatar
  • 609
2 votes
1 answer
5k views

Ext4 partition clockworkmod recovery backup

Successfully installed CM7 on ZTE Blade and simple2ext (S2E) made me excited. I've partitioned my SD in CWM recovery and I guess it was Ext3 partition. But one thing was mistake. I have checked in S2E ...
Крайст's user avatar
2 votes
2 answers
5k views

ICS Mount SD all EXT4

Want to know if ICS can mount an SD when formatted as EXT4 or does it still need a FAT32 partition like Gingerbread. Googled for 30+ mins, can't find an answer.
wzl's user avatar
  • 21
7 votes
4 answers
29k views

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 ...
d4ryl3's user avatar
  • 609
5 votes
1 answer
4k views

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. ...
Dr McKay's user avatar
  • 153