FORUMS

Verified Commands

609 posts
Thanks Meter: 1,870
 
By Didact74, Recognized Developer on 7th July 2014, 02:33 PM
Post Reply Subscribe to Thread Email Thread
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 by Didact74; 7th July 2014 at 02:41 PM.
 
 
8th July 2014, 04:51 AM |#2  
Misterxtc's Avatar
Recognized Contributor
Thanks Meter: 2,187
 
More
Quote:
Originally Posted by Didact74

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.
8th July 2014, 05:13 AM |#3  
Didact74's Avatar
OP Recognized Developer
Flag Lake Shore, MD
Thanks Meter: 1,870
 
Donate to Me
More
Quote:
Originally Posted by Misterxtc

I can verify both commands work. Just tried them.

Thanks. Which device? I was hoping a few on different devices than the S5 could check as well.

I appreciate the feedback!
8th July 2014, 02:40 PM |#4  
Misterxtc's Avatar
Recognized Contributor
Thanks Meter: 2,187
 
More
Quote:
Originally Posted by Didact74

Thanks. Which device? I was hoping a few on different devices than the S5 could check as well.

I appreciate the feedback!

VZW S5 Retail
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes