Lekensteyn / lglaf

LG Download Mode utility and documentation
https://lekensteyn.nl/lglaf/
MIT License
137 stars 74 forks source link

show the bricked phone's content in sdcard #23

Open tapacpat opened 6 years ago

tapacpat commented 6 years ago

I can list phone's all directory with this command lglaf.py --debug -c '!EXEC ls\0' .. data dev ... sdcard storage ...

Can I further list one of the above directories, say sdcard, using the above command?

tuxuser commented 6 years ago

Yes sure, to list for example sdcard, use:

-c '!EXEC ls sdcard/\0' For photos there: -c '!EXEC ls sdcard/DCIM/\0'

Etc etc

However, for me it did not work to list sdcard in download mode, maybe it works for you though.

shinobisoft commented 6 years ago

Internal sdcard is located at /data/media/0. I'll have to check my notes as to the exact path of the external sdcard... Gimme a few.

External sdcard is at /storage/external_SD.

EXAMPLE1: To list internal sdcard contents lglaf.py --debug -c '!EXEC ls /data/media/0\0'

EXAMPLE2: To list external sdcard contents lglaf.py --debug -c '!EXEC ls /storage/external_SD\0'