Thread Deleted

[Q] ADB fails to copy

OP maypo

Prev Previous Post   Next Post Next
10th March 2014, 02:57 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Jul 2011
I am trying to get Chrome to come up in desktop mode permanently. Multiple sources tell me that on an un-rooted device I need to use ADB to copy a file containing the line:

chrome --user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1"

to the /data/local directory.

So I dropped that line into a file (called chrome-command-line) on the root of my c: drive and run ADB like so:

c:\Android-SDK\sdk\platform-tools>adb push /chrome-command-line /data/local/chrome-command-line

It immediately fails with the following message:
failed to copy '/chrome-command-line' to '/data/local/chrome-command-line': Permission denied

Any idea how I can perform this ADB copy operation without rooting?
Thanks!
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes