Verified Commands

Search This thread

Didact74

Senior Member
Sep 2, 2010
609
1,877
Lake Shore, MD
Can anyone verify the following commands are universal via ADB? I want to make sure they work on multiple phones and not just specific to the S5.

Thanks,

To display phone partitions.....

adb shell su -c ls -l "/dev/block/platform/msm_sdcc.1/by-name > /sdcard/temp.txt" <- you will need to look at the file this creates on /sdcard called sdcard.txt and verify output is correct.

To display phones external storage path.....

adb shell su -c echo $SECONDARY_STORAGE <- This should output directly to the terminal window.
 
Last edited:
G

GuestK00143

Guest
Can anyone verify the following commands are universal via ADB? I want to make sure they work on multiple phones and not just specific to the S5.

Thanks,

To display phone partitions.....

adb shell su -c ls -l "/dev/block/platform/msm_sdcc.1/by-name > /sdcard/temp.txt" <- you will need to look at the file this creates on /sdcard called sdcard.txt and verify output is correct.

To display phones external storage path.....

adb shell su -c echo $SECONDARY_STORAGE <- This should output directly to the terminal window.
I can verify both commands work. Just tried them.