Questions tagged [partitions]
A partition is a division of either your internal storage or your sdcard.
377 questions
0
votes
0
answers
35
views
Unable to remount root partition: "Operation not permitted"
I have a device, rooted through the KernelSU. I granted root access to the Termux app using the KernelSU app. Now I have access to the su command, and theoretically should be able to use the mount ...
1
vote
1
answer
195
views
Is it possible to bypass the "OEM Unlock" feature in developers options menu by modifying the OEM_UNLOCK flag in the "persist" partition?
I have a Moto G9 Plus that is stuck in a bootloop. I’ve tried flashing the stock firmware multiple times without success, and I cannot boot into recovery or use a custom recovery ROM since none is ...
1
vote
0
answers
141
views
How are /dev/block/dm partitions determined on Android?
I was looking through my Android device's partitions and noticed that the root directory / is mapped to /dev/block/dm-5.
Cold starting and rebooting the device did not influence this partition number. ...
1
vote
0
answers
94
views
Redirect local WhatsApp directory to second partition ext4 in microSD in Android 10
I have googled from a month ago about on how to reach my goal, and I have found only How to bind mount a folder inside /sdcard with correct permissions?
My goal is to link the WhatsApp directory in ...
0
votes
1
answer
58
views
How to see my Android partitions via Linux machine terminal?
When I connect my Android device via USB into a Linux machine (be it Debian, Ubuntu, Arch, etc.) I am unable to find any trace of the device or partitions using cmds fdisk -l, lsblk, etc.
This is ...
0
votes
0
answers
88
views
Remount system partition for read and write permission without Magisk installed on a rooted Android 13
I have a rooted Android 13 device with dm-verity disabled. How can I remount the system partition for read and write permission without Magisk installed?
0
votes
0
answers
60
views
TWRP: Failed to mount '/rca' (invalid argument)
I just installed LineageOS 18 on a Sony Xperia X Compact. It was working fine except that I could not download apps from Play Store (they always stay on pending).
I saw a guy on the internet who said ...
0
votes
0
answers
552
views
Partition error on Samsung Galaxy M02 phone
I have a Samsung Galaxy M02 phone. It showed me the error suddenly, and then I flashed successfully with Odin, then the phone worked fine for a few hours and switched off, failed to boot, and showed ...
1
vote
0
answers
321
views
Using Parted, Gdisk, fdisk or other tools to re-format an Android device
I have a Lenovo Yoga tablet 2 Android version which uses an Intel chip.
I have managed to install TWRP on the device.
I need to use a tool in the TWRP command line environment to resize the partitions ...
0
votes
0
answers
75
views
Bootloop due to permission denied error with custom product EROFS partition
I am trying to build a custom product partition from the stock ROM of my device and have gotten it to
boot the kernel with the correct mkfs.erofs and lpmake settings, as below:
mkfs.erofs product.img -...
0
votes
0
answers
255
views
Can't flash stock ROM - cache - partition table issue
So I tried to flash LineageOS on a Redmi 8, and while doing this I had an issue. It fails to mount cache (Skipping mounting /dev/block/bootdevice/by-name/cache) then a few other errors related to ...
1
vote
1
answer
70
views
Can I mount dead phone's partitions in VM?
Dead phone. Have all partitions saved/read off internal memory including data partitions, all not encrypted, phone was rooted. Android 11 custom ROM, crDroid.
Need to mount data partition if possible, ...
1
vote
1
answer
243
views
Why is there a userdata partition in my /dev/block/mapper/ (which seems to mean that userdata is a dynamic partition)?
https://source.android.com/docs/core/ota/dynamic_partitions/implement
The supported dynamic partitions are:
System
Vendor
Product
System Ext
ODM
Note: Avoid placing userdata or any other permanent ...
0
votes
0
answers
49
views
Unmountable System Partition Issue (TWRP)
I'm currently in the throes of a complex issue with my Android device (Phone Model: [Micromax Canvas Juice 2], Recovery: TWRP 3.0). I've exhausted several troubleshooting steps, and here's a detailed ...
0
votes
0
answers
129
views
How to reduce GSI .img file size to flash in system partition?
I want to install a GSI to Huawei P10, but it does not accept big files to flash in the system partition: ProjectElixir_4.0_arm64_bgN-14.0-20240108-1305-OFFICIAL.
When I try to flash it via fastboot, ...
0
votes
0
answers
407
views
How to resize partition using TWRP, and is it safe?
I tried to flash an Android 12 GSI on my Samsung Galaxy Tab 4 8.0 (SM-T330NU) from here (system-squeak-arm32 binder 64-ab-vndklite-gogapps.img.xz), so I extracted the img file which was 1.8GB and ...
0
votes
1
answer
48
views
0-byte partition and storage being inaccessible on a Mediatek device
I have an Infinix Note 10 Pro. I would like to know if there is any way to fix the 0-byte partitions issue and storage being inaccessible. I saw this when I was trying to copy out the vbmeta and boot....
0
votes
0
answers
277
views
System and Vendor Partitions
If system partition of Android contains important binaries and vendor partition contains binaries and files related to vendor or manufacturer.
Then do all modification made by vendor or manufacturer (...
1
vote
1
answer
448
views
Qualcomm / others NAND partition table layout
For a new Android board, who defines the partition table layout?
Is it the SOC vendor or the customer of the board?
Which tools are used to make the partition in the QC board? Is it QPST?
In the AOSP ...
2
votes
2
answers
480
views
Mounting an extra partition as a fake external SD card
Nowadays, phones don't have SD cards anymore, but some have a ton of storage. So, I was thinking of creating a fake external SD card using an extra partition to be able to store all of your zip ...
1
vote
0
answers
343
views
Mkbootimg: Repacking Android recovery produce corrupted image
I want to replace the kernel inside twrp 12.1 recovery with my kernel that I built.
Now with only unpacking and repacking the recovery image I end up with an image of different size
The recovery image ...
0
votes
0
answers
138
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 ...
0
votes
0
answers
296
views
What tool in Termux can I use to move one partition on my USB drive to the start of the drive?
I had a problem where the TV that I needed to use to watch movies, kept recognizing the EFI partition as the only partition on the USB drive, And I couldn't get to the second partition.
I decided to ...
0
votes
0
answers
142
views
How to replace and sync(on the fly) EFS partitions via Termux instead of Fastboot or Recovery?
I have backup of my EFS partitions in raw and also in .Img format.
So now i want to:
replace my current EFS partitions via Termux/Terminal emulator app.
replaced EFS should also sync with modem ...
2
votes
0
answers
224
views
Can't read media files from mounted SD card partition
I have a tablet that I flashed with a modded (rooted) system partition. A side effect of this system partition is that it killed my 20gb SD card partition that is the main storage for the device.
I ...
1
vote
1
answer
574
views
How to mount a partition on an Android device that can be read by USB on a computer when plugged in
I have a tablet that I'm doing some hacky work on. This tablet comes from the factory with a small storage partition called USERDATA, that's about 5gb. It also comes with a large storage partition ...
1
vote
0
answers
377
views
I want to edit lk.img to support fastboot binaries
based on what i found
Oppo removed the fastboot binaries from my phone (Oppo A5s)
and since the lk partition is the one that have it by default
i would like to know how can i sort of inject the ...
2
votes
0
answers
940
views
How to increase recovery partition size?
I'm totally lost right now.
I want to flash TWRP 3.7 on my Galaxy S7 herolte. However, it won't work because the recovery partition is only 46MB. So I wanted to increase the size - a process I've done ...
1
vote
1
answer
225
views
Are Android framework and operating system the same thing?
I’m learning about the partitions of Android and in one place, they say that the system partition contains the Android framework (https://source.android.com/docs/core/architecture/partitions)
system ...
3
votes
0
answers
824
views
Which partitions to back up for a "complete" backup?
I have a Galaxy S10e running crDroid 13. I don't have TWRP on it (since it had to be installed from the custom LineageOS recovery), but https://stackoverflow.com/questions/29442630/copy-full-disk-...
3
votes
0
answers
1k
views
How to access all partitions of a USB drive OR how to choose which partition is displayed in file manager?
I'm on a OnePlus 8T on Android 13, and I've recently purchased a fingerprint encrypted USB. The way the USB works, is it has a Public and a Secure partition. When you insert the USB, only the Public ...
1
vote
0
answers
186
views
Is there a way to mount YAFFS partition?
I'm trying to recover data (contacts mostly) from an old phone (Xperia Neo V) that was running Android 2.3.4 and so far I managed to dd the data partition via adb. The partition is YAFFS one. I would ...
1
vote
0
answers
224
views
obtain partition size without root access
On my device, I can obtain a list of existing partitions by executing ls -al /dev/block/bootdevice/by-name via ADB. But I found no way to obtain the size of each partition without root powers: cat /...
2
votes
0
answers
2k
views
Resize /data on stock recovery
I'm on the BL6000Pro (with Magisk) which has no custom recovery (like TWRP) that I know of.
I run CAOS11 on it but the /system partition is already full while the /data partition is huge and empty.
I'...
1
vote
1
answer
365
views
Samsung A50 user data partition downsized from 128GB to 3.7GB after rooting and flashibg android 11
I have a Samsung A50 (A505F).
I flashed it with stock Android 11,
then rooted using Magisk,
then flashed again, using the magisk patched AP.
How can I restore this user data partition to maximum size ...
0
votes
2
answers
1k
views
Can't restore (Nandroid backup) data partition (using TWRP) because boot gets stuck on "Phone is starting..."
I embarked on a planned factory reset and hence started the procedure with a Nandroid backup (via TWRP) of all available partitions.
Following the reset, after restoring the data partition from the ...
10
votes
0
answers
13k
views
What is a vbmeta partition?
One of the optional steps of the Magisk installation steps says,
(Optional) If your device has a separate vbmeta partition, you can patch the vbmeta partition with command:
fastboot flash vbmeta --...
1
vote
0
answers
876
views
lpmake complaining about not having enough space
I am trying, following this tutorial, to re-package a super.img file, but am confused by lpmake.
I am trying to package the following 3 images:
partition
size
lineage-18.1-20220511-UNOFFICIAL-...
1
vote
1
answer
3k
views
How to get the size of the “super” partition on the device?
lpmake requires to get the size of the “super” partition on the device:
-d,--device-size - The size of the “super” partition on the device. It must match exactly, and it must be evenly divisible by ...
1
vote
0
answers
31
views
Some music metadata/tags dissapeared after copying to micro sd
I tried copying my large music library from my internal storage to my external micro sd card, only to find 50% of my album art went missing, some artist and album info is gone, while the songs ...
0
votes
0
answers
1k
views
Backing up a partition to desktop with adb and pv
I had once found a fast method to backup device partitions to a computer using adb and pv (provided by a TWRP temporary boot image). pv ran on the Android device and was called using adb, specifically,...
1
vote
0
answers
779
views
Using a Partitioned drive on an Android TV
I've got a partitioned drive - A USB drive, where i've got 2 of the partitions formatted ext3, one of the partitions as a FAT32, and the last one as FAT12. I wanted to access the FAT32 partition using ...
1
vote
1
answer
1k
views
GPT weird partitions, ROM dump problem, MTK phone
I used WWR MTK Tool and SP Flash Tool v5 to dump and analyze preloader and GPT from a new Oukitel K15 Pro phone with Android 11. Oukitel haven't posted the ROM for this model for some reason. Managed ...
0
votes
1
answer
984
views
Editing partition image
My Samsung phone lost its IMEI number. As far as i know it stored in /efs/sec_efs/SVC és !SVC files.
These files cannot be edited during running. My idea is that i "dd"-ed the efs partition ...
1
vote
0
answers
321
views
How should I partition my android device? Should I use gpt or msdos?
so I got myself into a really bad situation and I need to re-partition my device.
I already pushed parted and mkfs to /sbin (following this guide) and made them executable with chmod 777, i just need ...
1
vote
0
answers
77
views
according to following a post i tried to change system partition size ,now my storage is unuseable what should i do?
my cmd gone wrong here
i tried three times but failed(every time same problem)
now os is working in system folder but storage is not showing
is there any solution?
0
votes
0
answers
2k
views
How to make a really complete backup of an Android device?
AFAIK, all Android partitions are listed in /dev/block/by-name.
Assuming device encryption is turned on, if I backup all partitions with e.g. (one at a time)
for PARTITION in $(ls /dev/block/by-name)
...
1
vote
0
answers
46
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 ...
1
vote
0
answers
36
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 ...
1
vote
0
answers
172
views
flash boot.img to use the kernel
why to flash a kernel i need a zipper anykernel 3? i can't flash directly the boot.img of a rom, example (PixelExperience) to have oniichan kernel on (LineageOS)? i'm absolutely new in the world of ...