Hi you all,
I have the same problem : my fairphone 4 shuts down and reboots into recovery. I just can see a message box saying “espace de stockage bientôt saturé” (storage space is almost full). I have not even the chance to type my pin code. I just had the time to try rebooting into safe mode but I land on recovery again.
Bootloader is unlocked, I use adb on windows, but I can’t access to heavy files. I don’t have TWRP
Here is what I have.
>adb shell
FP4:/ # ls -lhS
total 1.4M
-rw-r--r-- 1 root root 1.2M 1970-01-01 00:00 sepolicy
-rw-r--r-- 1 root root 92K 1970-01-01 00:00 vendor_file_contexts
-rw-r--r-- 1 root root 75K 1970-01-01 00:00 plat_property_contexts
-rw-r--r-- 1 root root 40K 1970-01-01 00:00 plat_file_contexts
-rw-r--r-- 1 root root 21K 1970-01-01 00:00 prop.default
-rw-r--r-- 1 root root 20K 1970-01-01 00:00 vendor_property_contexts
-rw-r--r-- 1 root root 6.2K 1970-01-01 00:00 system_ext_property_contexts
drwxr-xr-x 12 root root 3.6K 1970-01-02 00:56 dev
-rw-r--r-- 1 root root 3.4K 1970-01-01 00:00 system_ext_file_contexts
-rwxr-x--- 1 root root 1.9K 1970-01-01 00:00 init.recovery.qcom.rc
-rw-r--r-- 1 root root 1.6K 1970-01-01 00:00 product_property_contexts
-rw-r--r-- 1 root root 306 1970-01-01 00:00 product_file_contexts
drwxr-xr-x 2 root root 240 1970-01-01 00:00 odm
drwxrwxr-x 10 root system 200 1970-01-02 00:56 mnt
drwxr-xr-x 5 root root 100 1970-01-01 00:00 system
drwxrwxr-x 2 root shell 80 1970-01-02 00:56 tmp
drwxr-xr-x 2 root root 60 1970-01-02 00:56 linkerconfig
drwxr-xr-x 2 root root 60 1970-01-01 00:00 odm_dlkm
drwxr-xr-x 3 root root 60 1970-01-01 00:00 res
drwxr-xr-x 2 root root 60 1970-01-01 00:00 vendor_dlkm
lrwxrwxrwx 1 root root 50 1970-01-01 00:00 bugreports -> /data/user_de/0/com.android.shell/files/bugreports
drwxr-xr-x 2 root root 40 1970-01-01 00:00 acct
drwxr-xr-x 2 root root 40 1970-01-02 00:56 apex
drwxr-xr-x 2 root root 40 1970-01-02 00:56 cache
drwxr-xr-x 2 root root 40 1970-01-01 00:00 data
drwxr-xr-x 2 root root 40 1970-01-01 00:00 data_mirror
drwxr-xr-x 2 root root 40 1970-01-01 00:00 debug_ramdisk
drwxr-xr-x 2 root root 40 1970-01-01 00:00 metadata
drwxr-xr-x 2 root root 40 1970-01-01 00:00 oem
drwxr-xr-x 2 root root 40 1970-01-01 00:00 postinstall
drwxr-xr-x 2 root root 40 1970-01-01 00:00 product
drwx------ 2 root root 40 2023-09-13 20:11 root
drwxr-xr-x 2 root root 40 1970-01-01 00:00 sdcard
drwxr-xr-x 2 root root 40 1970-01-01 00:00 second_stage_resources
drwxr-xr-x 2 root root 40 1970-01-02 00:56 sideload
d---r-x--- 2 root sdcard_r 40 1970-01-02 00:56 storage
drwxr-xr-x 2 root root 40 1970-01-01 00:00 system_ext
drwxr-xr-x 2 root root 40 1970-01-01 00:00 vendor
lrwxrwxrwx 1 root root 17 1970-01-01 00:00 d -> /sys/kernel/debug
lrwxrwxrwx 1 root root 16 1970-01-01 00:00 init -> /system/bin/init
lrwxrwxrwx 1 root root 12 1970-01-01 00:00 default.prop -> prop.default
lrwxrwxrwx 1 root root 11 1970-01-01 00:00 bin -> /system/bin
lrwxrwxrwx 1 root root 11 1970-01-01 00:00 etc -> /system/etc
lrwxrwxrwx 1 root root 11 1970-01-02 00:56 sbin -> /system/bin
drwxr-xr-x 5 root root 0 1970-01-02 00:56 config
-rw-r--r-- 1 root root 0 1970-01-01 00:00 odm_file_contexts
-rw-r--r-- 1 root root 0 1970-01-01 00:00 odm_property_contexts
dr-xr-xr-x 453 root root 0 1970-01-01 00:00 proc
dr-xr-xr-x 13 root root 0 1970-01-02 00:56 sys
FP4:/ # ls -l $(which mount)
lrwxrwxrwx 1 root root 6 1970-01-01 00:00 /system/bin/mount -> toybox
FP4:/ # toybox --help | head -n1
Toybox 0.8.4-android multicall binary: https://landley.net/toybox (see toybox --help)
FP4:/ # mount /data
mount: '/dev/block/bootdevice/by-name/userdata'->'/data': Invalid argument
1|FP4:/ # ls -l /dev/block/bootdevice/by-name/userdata
lrwxrwxrwx 1 root root 16 1970-01-02 00:56 /dev/block/bootdevice/by-name/userdata -> /dev/block/sda11
FP4:/ # mount -t auto /dev/block/sda11 /mnt/userdata
mount: '/dev/block/sda11'->'/mnt/userdata': No such file or directory
1|FP4:/ # cat /etc/fstab
/dev/block/by-name/metadata /metadata ext4 discard 0 0
/dev/block/bootdevice/by-name/userdata /data f2fs discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,inlinecrypt 0 0
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 barrier=1 0 0
/dev/block/bootdevice/by-name/modem_b /vendor/firmware_mnt vfat shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 0 0
/dev/block/bootdevice/by-name/dsp_b /vendor/dsp ext4 barrier=1 0 0
/dev/block/bootdevice/by-name/bluetooth_b /vendor/bt_firmware vfat shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 0 0
FP4:/ # find . -type f -size +10M
find: ./proc/2/task/2/exe: No such file or directory
find: ./proc/2/exe: No such file or directory
find: ./proc/3/task/3/exe: No such file or directory
find: ./proc/3/exe: No such file or directory
find: ./proc/4/task/4/exe: No such file or directory
[...]
find: ./proc/605/exe: No such file or directory
./mnt/system/system/apex/com.android.permission.capex
./mnt/system/system/apex/com.android.art.capex
./mnt/system/system/apex/com.android.vndk.current.apex
./mnt/system/system/apex/com.android.i18n.apex
./mnt/system/system/app/MagicEarth/oat/arm64/MagicEarth.vdex
./mnt/system/system/app/MagicEarth/MagicEarth.apk
[...]
1|FP4:/ # rm ./mnt/system/system/app/MagicEarth/MagicEarth.apk
rm ro ./mnt/system/system/app/MagicEarth/MagicEarth.apk (y/N):y
rm: ./mnt/system/system/app/MagicEarth/MagicEarth.apk: Read-only file system
1|FP4:/ # ls -lh ./mnt/system/system/app/MagicEarth/MagicEarth.apk
-rw-r--r-- 1 root root 58M 2009-01-01 00:00 ./mnt/system/system/app/MagicEarth/MagicEarth.apk