Skip to main content

Questions tagged [partitions]

A partition is a division of either your internal storage or your sdcard.

Filter by
Sorted by
Tagged with
7 votes
1 answer
9k views

What special privileges "/system/xbin/su" does have w.r.t. root access?

This answer says: Because of the way directory/file permissions are configured on Android, you need to have the su binary on your /system partition in order for it to work. Putting elsewhere ...
Oren Milman's user avatar
14 votes
1 answer
3k views

Why are superuser permissions needed to acess /data partition?

The default account is normal user, and I used it to install Google Play Store APK (to /data). Then Google Play Store was opened using my current user's permissions, and it is used to download and ...
Livy's user avatar
  • 253
4 votes
1 answer
6k 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
12 votes
4 answers
25k views

How to list all major partitions with their labels?

I want to figure out all partitions on my device together with their resp. mount points or labels (i.e. to know which partition is holding system, recovery, boot, etc.). This needs to be device ...
Izzy's user avatar
  • 91.2k
35 votes
9 answers
184k views

How can I view the Android internal partition table?

I've rooted my device, put it in recovery mode, and have linked it to PC by adb shell. How can I view the list of storage devices and partitions? Note: fdisk doesn't work.
lovespring's user avatar
  • 1,195
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
23 votes
2 answers
35k views

SD card partitioning? why? how?

I am going to install cm7 and it seems to me that is 'good' to partition my SD card. I did some reading but I am not sure if ext partition will become accessible as mass storage when an Android phone ...
Radek's user avatar
  • 1,679
3 votes
2 answers
13k views

How to take full image backup of partitions or eMMC?

I have an Archos 55 Platinum here. There is also a unofficial TWRP, if this might help. I would like to make a backup of the storage of the phone, like dd for any partition, so I can inspect the ...
davidbaumann's user avatar
0 votes
1 answer
3k views

Any changes to files in root directory (/) are gone after reboot

On linux, "/etc/fstab" contains the directives how a partition should be mounted (fs type, flags etc.). On Android how it is determined? On my Nexus 7, I see a file called "fstab.flo" in "/" which ...
user45874's user avatar
9 votes
3 answers
81k views

Inconsistent UIDS and wiping a data partition

I've inherited my wife's Android phone (GT540) when she got a newer, shining one :-) We think to have factory reset it (via the privacy option), and in fact it has finally stopped to refer to her ...
Francesco's user avatar
  • 285
6 votes
3 answers
81k views

Repartitioning Internal Memory of Android Device

How can I repartition my device such that the storage for device internal usage (i.e application storage or internal memory) can be increased in lieu of decreasing the User available memory. ...
TSDCR's user avatar
  • 61
3 votes
1 answer
2k views

Why can I view files from "Internal Storage" WITHOUT entering password either in OrangeFox recovery or via USB cable on PC?

I was under impression that all user files are encrypted by default in Android using FDE. It was to my surprise that I can just run, for example, OrangeFox recovery and when it asks me for a password ...
Alexander Shukaev's user avatar
22 votes
4 answers
108k views

Resize /system partition of Galaxy S 2

I need to increase the size of my Galaxy S 2's /system partition from 503.4MB to... Well, anything possible. The (main) reason why I want to do this is because I want to install GApps 20140606, which ...
Bruno Finger's user avatar
6 votes
3 answers
96k views

How to restore my IMEI on Galaxy S if I don't have a backup of /efs?

I installed CyanogenMod 10 Nightlies on my Galaxy S1, coming from CyanogenMod 9. On every reboot I get the message: Warning! A problem was detected with your device. Your device IMEI number is ...
theodm's user avatar
  • 1,087
4 votes
2 answers
75k views

FastBoot recovery failed: partition 'recovery' not support flash

My mobile is Lenovo S920 running official Android OS 4.4.2. I am trying to install cwm recovery through fastboot. I tried executing the command fastboot flash recovery recovery.img But I am ...
Guna Sekaran's user avatar
3 votes
1 answer
4k views

Please explain the android partition structure to me?

I've tried finding the answer myself, but everything that I am able to see seems to miss out the really basic first steps. Here's my logic: FIRST Look at the phone's specification. Lets say Samsung ...
Maxcot's user avatar
  • 981
3 votes
1 answer
460 views

How to move 7GB ext4 partition on external SD card to 30GB partition on another SD card?

I had rooted my Android Lollipop 5.1.1 phone and installed Link2SD and linked installed apps on ext4 7GB 2nd partition of external SD card of 16GB size . The apps installed occupied 6.5GB space and I ...
Androidquery's user avatar
1 vote
2 answers
12k views

Remount /system rw

i'm new here, so i apologize in advance if this is a n00bish question: how could one remount /system (or any partition, for that matter) in rw and allow suid on a booted system via ADB wifi? here's ...
particlewave_delta's user avatar
0 votes
1 answer
2k views

How disk space is partitioned in an Android phone?

How does storage space in our phone is partitioned? How can we access our storage space?
Nguyễn Tiến Dương's user avatar
6 votes
4 answers
80k views

How to restore the IMEI number on the Samsung Galaxy S4 I9505? (IMEI=Unknown, Baseband=Unknown, Sim Card Not Detected)

Information: Hello, I lost my IMEI number on my Samsung Galaxy S4 GT-I9505 today and I would like to restore my original IMEI back to my phone. I still have my original IMEI of my phone written down. ...
Thomas Vos's user avatar
  • 3,990
5 votes
1 answer
4k views

Where is the baseband firmware stored and how does Android interact with it?

My searches on the web didn't provide suitable answers to these questions: 1) Where is the baseband firmware stored? My understanding is that this particular firmware is a RTOS built for the ...
Rand0mMan's user avatar
  • 355
2 votes
3 answers
21k views

How to run "parted" command in terminal emulator on my android smartphone

Updated question (2018/2/20) Thanks to grawity's answer and comment, my question can be updated. My final goal is to acquire detailed partitioning information (including the start and end address ...
huhiha's user avatar
  • 23
2 votes
3 answers
3k views

Partition MicroSD card to exFat and Ext 4 for link2sd?

I've been poking around using GParted on my 128GB microSD card so it can use two partitions for link2sd. Problem is, no matter what I do, each time I place the card in my phone, it says that the card ...
ConductedForce's user avatar
17 votes
1 answer
22k views

Why is there no option to choose size in TWRP's resize partition feature?

I'm trying to reflash an old Galaxy Note N5100 but I realized that the system partition is too big (~1.5GB). The current ROM uses only about 40% of the partition so I want to shrink it to make space ...
phuclv's user avatar
  • 356
9 votes
3 answers
14k views

Do I need to wipe anything before restoring a full nandroid backup?

I'm used to wiping everything when installing a new ROM, but I would like to know if a nandroid restore automatically wipes out the partitions it is recovering. When I run a restore, I see some ...
Stephen S's user avatar
  • 5,407
9 votes
2 answers
16k views

How to find the pathname of the swap partition on SD card?

As this warns, you should not enable swap on the wrong partition or you can destroy your phone: OK before we go any further! previous phones had a partition layout where mmcblck0 was the SDcard (...
endolith's user avatar
  • 3,045
8 votes
3 answers
45k views

What is system partition? How its size is fixed? Can it be resized?

I have rooted LG P500 (Optimus One) running stock 2.3.3. I recently updated to unofficial CM10 (Android 4.1) and observed few serious issues. I observed that Google's My Location service was not ...
Narayanan's user avatar
  • 7,154
5 votes
7 answers
38k views

Partitioned sdcard not working with link2sd

I have a 4GB SD card which is partitioned into 3GB and 1GB (Well it's not 1GB it's approx. 750 MB) (I used it through my phone 'cause i didn't have a reader and i used mini tool partition wizard) then ...
Mohamed Essam's user avatar
5 votes
1 answer
4k views

how to use ext partition in my android?

I partitioned my MicroSD card and created 1GB ext3 partition. What is the next step so I can use it to make the performance of my android better? It seems to me that it is mounted into /sd-ext What ...
Radek's user avatar
  • 1,679
5 votes
2 answers
2k views

Apps missing after upgrading sd card

I have been searching for how to properly upgrade to new sdcard, and I did as this posts suggests. How to upgrade / swap SD card without losing data and installed apps?. But when inserting the new sd ...
Lucy Brennan's user avatar
5 votes
1 answer
3k views

Can I format SD to FAT32 from FAT16?

I saw that my SD card is FAT16 formatted. In order to improve performance, can I reformat it as FAT32? What filesystems does Android support for external storage?
Diogo's user avatar
  • 1,634
5 votes
4 answers
20k views

Use of swap size while partitioning?

I just rooted my phone (Android 2.3.6) and partitioned the sd card using CWM recovery. While partitioning, I noticed about swap size and while searching about it, different blogs (xda developers) ...
Sujan's user avatar
  • 363
5 votes
1 answer
5k views

How to switch sd cards when using a data2whatever (d2w) custom ROM?

I'm currently running MIUI XJ (Gingerbread 2.3.5) with d2w on my HTC Desire with the 4GB sd card it was shipped with, but as I found the joy of the occasional ROM-switch, I found myself running out of ...
Jemus42's user avatar
  • 243
5 votes
1 answer
9k views

How to resize the /data F2FS partition

Context: I wiped all the partitions from my Moto G device with the TWRP recovery and installed Cyanogen 13 on it. Then I had issues when enabling Encryption: the phone just restarts but does not ...
Marc.2377's user avatar
  • 494
4 votes
0 answers
5k views

Do I need a 'vbmeta' partition to install GSI?

Following the official GSI installation instructions from Google, they say to run fastboot --disable-verification flash vbmeta vbmeta.img. When I run that, I get the following message: Rewriting ...
Zachary Vance's user avatar
4 votes
1 answer
6k views

What is rootfs? Can I make persistent changes to my device's root filesystem?

When I open up a terminal emulator and run the mount command, it indicates that my Android device's root filesystem (/) is of filesystem type rootfs. What is rootfs? Can I write to it? Will my changes ...
unforgettableidSupportsMonica's user avatar
4 votes
4 answers
18k views

How to see other partitions using the Terminal Emulator and mount them?

I just installed Android on my netbook and it caused it to not see Linux Mint on my machine and I'm assuming it removed it from the GRUB. Now the first problem is how do I see the contents of my ...
user15225's user avatar
4 votes
2 answers
17k views

What are the /firmware and /efs partitions on Samsung devices

This is specifically the Galaxy s3. Out of curiosity what are these partitions exactly. Are they part of the android OS or something lower level than that? If I were to delete everything in these ...
user974896's user avatar
3 votes
1 answer
9k views

Creating App and Swap partition for Android

I have got Karbonn A5+. I dont know how much ROM, RAM it exactly have. When I go to Settings > Applications > Manage Application it shows 191MB used, 11MB free. But, when I open Advanced Task Killer, ...
Mahesha999's user avatar
3 votes
1 answer
4k views

Why can't all rooted phones be unlocked?

I enjoy modding my phone with custom roms, kernel patches, and custom bootloaders. I know that the bootloader/recovery can be overwritten, as can pretty much any partition that exists on the phone. ...
Stephen S's user avatar
  • 5,407
3 votes
1 answer
1k views

How to detect filesystem type of un-mounted partition?

These commands won't work: fdisk -l #outputs nothing... su; fdisk -l #nothing.. sudo fdisk -l #sudo not found... parted -l #parted not found... Is there any app that shows that easly? ...
Aquarius Power's user avatar
3 votes
2 answers
786 views

Where does the partition information in /proc/dumchar_info come from, on MTK devices?

If I want to resize partitions or restore a backup later, how do I make sure that /proc/dumchar_info reflects the changes? As far as I can tell, dumchar_info is not related to the MBR and EBRs, since ...
aaa's user avatar
  • 143
2 votes
1 answer
3k views

How to partition SD card in HTC One X?

I was trying to create ext2/ext3/ext4 partitions on the SD card. I tried ClockworkMod recovery and it didn't work. Nothing seems to have happened. I also tried using MiniTool and that also failed. I ...
Tianyang Li's user avatar
2 votes
2 answers
4k views

Is erasing the `misc` partition a solution to automatic/unnecessary boot into TWRP after having installed LineageOS 15?

I'm sure this question has been asked before, but I'm unable to find a good answer that I can understand, so bear with me: I've recently installed TWRP & LineageOS 15 on my Moto G5 (cedric), ...
Kelley van Evert's user avatar
2 votes
0 answers
711 views

Resize /system partition on Galaxy note 3 SM-N9005

I am trying to resize the partition /system using the parted and gdisk commands. But none of these commands succeed in changing mmcblk0 partitions after execution. The things I do are as follows: ...
Armin Absalan's user avatar
2 votes
1 answer
3k views

How to resize Prestigio PAP4044Duo's partitions?

I have a Prestigio PAP4044Duo with 4.1.1 Android on it. It has a Internal Memory of 786MB + Internal Memory Card of 1.77 GB. Since all the applications are stored in the Internal Memory I'm running ...
JaneD03's user avatar
  • 21
2 votes
1 answer
12k views

/data's data is garbled in TWRP. How to decrypt

So this is quite another android story but I promise to keep is as short n dry as poss. The issue was some of my Apps weren't able to access /extsd folders with non root & so I deicided to give ...
user1874594's user avatar
2 votes
1 answer
2k views

Link2SD working issues

I have installed the Link2SD application on my Samsung Galaxy Ace, everything is in place, now I dont understand how it works. I have allotted 1GB of space to my second ext3 partition, I have 2 doubts:...
Abbas's user avatar
  • 259
1 vote
0 answers
2k views

please explain the: >"adb shell sm partition disk:179,64 mixed 80" command

it is taken from I want to split one MicroSD card into two parts: part adoptable storage, and part normal storage. How can I do this? what is 80 at the end? 80%? I ran that on an Adoptable Storage ...
London's user avatar
  • 11
1 vote
1 answer
3k views

How to change random filesystem label on USB OTG?

I am without PC right now, but I need to Format USB Drive (to FAT32 or Ext4) with Samsung S8 (Android 9) and change label. But I can't find any app that can do this. I can format USB drive in Storage ...
Martin K.'s user avatar