[Replicant] access to storage (was: default rights on storage)
Fil Lupin
fillupin at protonmail.com
Sun Oct 24 22:08:59 UTC 2021
Hi,
trying to get back the content of my GT-I9100 internal memory, I failed into my attempts to dump sdcard0 and usbdisk0
It was installed with Replicant 4.2 and crashed.
Here are steps I tried:.
```
$ adb pull /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 sdcard0
adb: error: remote object '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0' does not exist
$ adb pull /devices/platform/s3c_otghcd/usb usbdisk0
adb: error: remote object '/devices/platform/s3c_otghcd/usb' does not exist
```
I found into /etc/vold.fstab config lines for mounting partition which seems to use `dev_mount`, but I can't find any binary named dev_mount.
Do you know how I could get access to my sdcard0 and usbdisk0?
Thank you,
- Fil Lupin.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, September 4th, 2021 at 2:48 PM, Fil Lupin via Replicant <replicant at osuosl.org> wrote:
> Hello,
> sorry for my first mail, sdcard0 and usbdisk0 are not mounted, my problem is obviously not a permission problem.
> I'll look this way to solve that.
>
> Happily, it could allow me to get back some data I lost while reinstalling since no data has been written on sdcard0 and usbdisk0, I could be able to get back data if it has not been wiped during installation.
> I read page https://redmine.replicant.us/projects/replicant/wiki/BackupTheDataPartition#Backing-up-the-data-partition and I get a backup (with adb pull) from every partition in /dev/block/platform/dw_mmc/ of my Galaxy S2. I imagine it could be sufficient to get my data back from sdcard0 and usbdisk0, I just need to understand how to access them. I you have any idea, I'm aware :)
>
> - Fil Lupin.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, September 3rd, 2021 at 12:00 AM, Fil Lupin via Replicant <replicant at osuosl.org> wrote:
>
>> Hi,
>> reinstalling replicant 4.2 worked !
>> However, I noticed that /storage is not configured the same for each mounting point :
>> -----
>> shell at android:/storage $ ls -la
>> drwxrwxr-x system system 2021-09-02 20:32 sdcard0
>> d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard1
>> drwxrwxr-x system system 2021-09-02 20:32 usbdisk0
>>
>> 1|shell at android:/storage $ df
>> Filesystem Size Used Free Blksize
>> /dev 395.2M 48K 395.2M 4096
>> /mnt/secure 395.2M 0K 395.2M 4096
>> /mnt/asec 395.2M 0K 395.2M 4096
>> /mnt/obb 395.2M 0K 395.2M 4096
>> /mnt/fuse 395.2M 0K 395.2M 4096
>> /system 503.9M 241.6M 262.3M 4096
>> /cache 98.4M 54.9M 43.5M 4096
>> /efs 19.7M 8.1M 11.5M 4096
>> /data 2G 805.4M 1.2G 4096
>> /preload 503.9M 96.1M 407.8M 4096
>> /storage/sdcard1 29.7G 13.1G 16.6G 32768
>> -----
>> Currently, I can only write into /storage/sdcard1
>> /storage/sdcard0 and usbdisk0 should be writable but does not seem to be recognised.
>> I wiped sdcard when installing.
>> Did I forgot some steps? (perhaps is it due to the encryption of the phone before reinstallation)
>>
>> Regards,
>>
>> - Fil Lupin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20211024/ef1abdc9/attachment-0001.html>
More information about the Replicant
mailing list