New answers tagged

2

I don't think I understand your question fully. It's not clear what and how you have tried so far and faced what constraints or limitations in achieving what you want to. But precisely answering your questions: Mount multi ext4 partitioned external card at boot time, as against manual mounting which I can do Mounting external SD card is handled by vold. ...


12

First to clarify only root (UID 0) isn't enough to get access to /data at least since Android 5. Discretionary Access Control based on traditional UNIX UIDs/GIDs alone doesn't fulfill the needs of modern complex OSes like Android. DAC is supplemented by Mandatory Access Control (MAC); SELinux in case of Android. So to access /data your process/user must ...


0

It's not possible to create filesystem or set label without root access. Block devices in /dev/block/ are created with ownership 0:0, mode 0600. Also apps aren't allowed to access SELinux context device or block_device set on /dev and /dev/block. You can use a rooted device or custom recovery like TWRP. Or use a PC (if available). On Linux and Android ...


1

Inside recovery mode, in TWRP, I found that I have partition sdcard1 that is 0 bytes in size. Maybe if I remove this partition it will fix my storage problem? In TWRP there's also USB OTG which would also be 0 bytes in size. Both are just mount points where external SD card and USB OTG are mounted (if available). This isn't relevant to your problem, neither ...


Top 50 recent answers are included