tarlte:/ # mkdir -p /mnt/userdata
ount /dev/block/platform/11120000.ufs/by-name/USERDATA /mnt/userdata <
mount: /dev/block/platform/11120000.ufs/by-name/USERDATA: need -t
1|starlte:/ # mount -t ext4 /dev/block/platform/11120000.ufs/by-name/USERDATA /mnt/userdata mount: '/dev/block/platform/11120000.ufs/by-name/USERDATA'->'/mnt/userdata': Invalid argument
1|starlte:/ # cd /mnt/userdata
starlte:/mnt/userdata # ls
starlte:/mnt/userdata # lsblk -f
/system/bin/sh: lsblk: inaccessible or not found
127|starlte:/mnt/userdata # blkid
/system/bin/sh: blkid: inaccessible or not found
I know these kind of situations … it feels like the solution is so “close” but something must be missing here, but what?
i can’t believe that the storage is really broken, because of a full disk.
If I click mount from the /e/recovery-GUI it indeed mounts (empty folders).
only use the proper recovery for the device - sorry if this was misleading. I just assumed the maintainers of both devices are the same or merge the same code.
For science… can you use an older starlte twrp, before January 2022? as in twrp-3.6.0
Recent reports show TWRP getting stuck at startup
logo because of a /data glitch, without further
posibility to do anything, on unencrypted phones.
Considering decryption was never working, or that
removing these flags fix the issue mentioned and
lead to a functional TWRP (unencrypted), let's
remove them for now.
Actually a possible /data - glitch does not really sound calming. Is the decrypt-function in this twrp a thread to the data?
At this point the subject is now a Samsung S9+. Some of the formatting is hard to follow, but the commands recommended do result in success. For orientation the Samsung S9+ is introduced at Post #17
Hi aibd,
thank yo for your help!
I am currently doing a backup of the S9+ and will try the “old” TWRP image with decrypt-functionality.
Actually I also came past the the FP3-Thread … but what command do you mean exactly?
I cannot see where I did something different so far?
Addon: To me it seems the key in solving this is to have a powerful recovery image that can decrypt and mount Samsung Phones (S9) even if they are somehow “broken” (Not sure if this is really true). Do you perhaps know if there is an even more advanced recovery (even than TWRP)?
Well @tcecyk pointed to the post leading to a solution in that case Post #28… but I felt you needed to follow the background Edit@jan545651 of getting started with adb.
That may not be the “only way” … I think it will be trial and error where you can get a mount point.
My experience with Samsung and TWRP goes back to Oreo where encryption seemed not an issue … encryption became a bigger issue at Android 10 (Q).
Just to be absolutely sure: Twrp already runs with root and with the highest permissions … correct? No need to do further escalation?
Addon:
I grabbed an “old” Fairphone lying around (I accedently unlocked the bootloader again which swiped the phones apps - I have a backup anyways) and tried to mount the storage.
It seems to work:
FP3:/mnt/userdata/data # find . -type f -size +500K
./PWTMKL7SzhnvhmAKAbWk7e8SCSF/V2rhV5xbmbCdemNmnhdxSA/xDVA7DzegrFrPOt7cyoMwC/GcOsxh3c9ikjQlqSoDEwmA
But here I cannot flash twrp for some reason …
But in /e/recovery the (encrypted storage seems to be mountable).
So could it be a problem only with Samsung Phones ?
if you go through the whole thread you will see that it’s a device-by-device question if the recovery can successfully mount the devices filesystems (FP3 has no problem doing so).
The recovery is a minimal linux with a kernel that is or isn’t the same as the system image kernel (which can mount the filesystems).
Hi tcecyk,
and for everyone else facing a similar problem.
There was absolutely no way to mount /userdata at all (at least I couldn’t find one and some other guy, that tried also).
I had to wipe everything and reinstall the system.
Weirdly: Now with the fresh installation, Encryption and PIN in place … it’s is no problem to mount the userdata-partition even though it is encrypted (with simply the normal /e/recovery).
This means it must be something else but not the /e/recovery kernel (and weirdly so my S9+ is still running … and here I still cannot mount).