No this does not require root.. Hm. Strange. If you want to test it again some day let me know. I wanna know some details then.
steadfasterX, I have an example of the same scenario that marek.ns encountered, and I can provide details of what happens.
(You responded a couple of days ago under my other thread so this will sound familiar to you. Am re-posting details for thoroughness here.)
I have an LG G4 Verizon / VS986 running marshmallow 6.0 and VS9862BA, and I accidentally deleted the folder containing all my photos and videos.
I'm trying to figure out possible ways to recover them (
LG G4 Verizon (VS986) - Recovering deleted photos/videos from internal memory on 6.0), but right now it's looking like the only possibility is to try to take a backup of the entire internal memory and then follow these instructions:
[GUIDE] Internal Memory Data Recovery - Yes We Can! by Wartickler.
- I stuck in my 64GB SDXC card, and then, using the very lovely FWUL, I can boot the G4 into download mode and connect to it with
LG LAF (auth).
- The SD card was initially formatted EXFAT, so I could not mount it with the -t ext4 switch (I believe it told me "No CSI structure available" ... can re-reformat my SD card and confirm if you'd like to see for sure), and I couldn't figure out any switch to use to mount that filesystem type (
is there a switch that will work to mount an EXFAT sdcard?).
- Took the card out, connected it directly to machine running FWUL, deleted the partition and created a new partition (using the fdisk inside FWUL), then mkfs.ext4 on the new partition. I mounted the ext4 partition inside FWUL to make sure it was writable (I wrote a test file to it).
- SD card in phone again, restarted G4 in DL mode with
LG LAF (auth). Now I can mount the ext4 partition, but I cannot still cannot write to it (tried dd and touch). Details here:
# uname -a
Linux localhost 3.10.84-g2d76c81-00004-g509e2f1 #1 SMP PREEMPT Thu May 25 11:00:52 CST 2017 aarch64
# ls /dev/block/mmc*
(just looking at what's there, and noticed all the "Permission denied")
/dev/block/mmcblk0p1: Permission denied
/dev/block/mmcblk0p11: Permission denied
/dev/block/mmcblk0p21: Permission denied
/dev/block/mmcblk0p23: Permission denied
/dev/block/mmcblk0p24: Permission denied
/dev/block/mmcblk0p25: Permission denied
/dev/block/mmcblk0p26: Permission denied
/dev/block/mmcblk0p27: Permission denied
/dev/block/mmcblk0p28: Permission denied
/dev/block/mmcblk0p3: Permission denied
/dev/block/mmcblk0p35: Permission denied
/dev/block/mmcblk0p38: Permission denied
/dev/block/mmcblk0p39: Permission denied
/dev/block/mmcblk0p4: Permission denied
/dev/block/mmcblk0p41: Permission denied
/dev/block/mmcblk0p42: Permission denied
/dev/block/mmcblk0p43: Permission denied
/dev/block/mmcblk0p46: Permission denied
/dev/block/mmcblk0p47: Permission denied
/dev/block/mmcblk0p53: Permission denied
/dev/block/mmcblk0p7: Permission denied
/dev/block/mmcblk0p8: Permission denied
/dev/block/mmcblk0rpmb: Permission denied
/dev/block/mmcblk1: Permission denied
/dev/block/mmcblk1p1: Permission denied
/dev/block/mmcblk0
/dev/block/mmcblk0p10
/dev/block/mmcblk0p12
/dev/block/mmcblk0p13
/dev/block/mmcblk0p14
[etc ... there are several more mmcblk0p* partition listings that do not return "Permission denied" to ls]
# mount -t ext4 /dev/block/mmcblk1p1 /storage/external_SD
(note, no errors)
# ls /storage/external_SD
(test123 is from when I had it mounted under FWUL)
lost+found
test123
# touch /storage/external_SD/mytest
touch: '/storage/external_SD/mytest': Permission denied
# ls -la /storage/external_SD
drwx------ root root 2017-08-08 20:55 lost+found
-rw-r--r-- root root 11 2017-08-08 20:58 test123
# ls -la /storage
drwxrwxrwx root root 2017-08-08 20:58 external_SD
#
And of course without the ability to write to the filesystem, dd fails as well:
# dd if=/dev/block/mmcblk0 of=/storage/external_SD/fulldump.img bs=1024
dd: /storage/external_SD/fulldump.img: Permission denied
#
Just in case there was something weird with ext4, I also performed the same thing with ext2, and no luck -- Permission denied.
Any suggestions?
Is there perhaps a way for the connected computer to present storage over the USB connection and to mount it?
Or, is there perhaps a way through this shell to enable the wireless NIC, and mount a CIFS/SMB share? (yes I know, a far shot in the dark)
Again, additional thanks and PayPal reward for anything that helps me recover my photos and videos.