Post Reply

Verified Commands

OP Didact74

7th July 2014, 02:33 PM   |  #1  
Didact74's Avatar
OP Recognized Developer / Recognized Contributor
Flag Lake Shore, MD
Thanks Meter: 1,852
 
609 posts
Join Date:Joined: Sep 2010
Donate to Me
More
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
Senior Member
Flag Syracuse, NY
Thanks Meter: 1,060
 
1,133 posts
Join Date:Joined: Dec 2013
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 / Recognized Contributor
Flag Lake Shore, MD
Thanks Meter: 1,852
 
609 posts
Join Date:Joined: Sep 2010
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
Senior Member
Flag Syracuse, NY
Thanks Meter: 1,060
 
1,133 posts
Join Date:Joined: Dec 2013
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Verizon Galaxy S 5 Q&A, Help & Troubleshooting by ThreadRank