How To – Permanently Have Desktop Mode on Chrome Mobile for Android

If there’s one thing about Chrome for Android that I despise, it’s the lack of being able to permanently set the browser to desktop mode when browsing on our tablet or large phone. Data plans and larger screens allow for us to emulate carrying around a desktop, and it should provide us with a desktop experience without having to muck about with loading the mobile one first. Thanks to Google and it’s fantastic ability to search everywhere at once, we were lucky enough to stumble upon a solution on the Google Chrome Forum.

Launching chrome with a command line flag telling it to use a desktop user agent is simple and only requires pushing one file to a root directory – meaning that you’re going to need to be rooted. Simply grab the file from the link provided below and drop it into /data/local/ while settings the permissions to 755. This tells Chrome that it needs to run using a desktop user agent and therefor loading desktop sites no matter what; you are also able to replace the user agent inside the quotes with any from this site ( or any that you can find on the web ) to have your tablet display a tablet-like interface if you went with the iPad UA for example. Grab the file from below and drop it in to let us know how it goes. It’s worked on all of our devices so far running both ICS and JB.

Still skeptical or want a video walkthrough?

Heads up:

If the file downloads anything other than a blank file (eg: chrome-command-line.txt, chrome-command-line.bin) then rename it to only “chrome-command-line” and paste it in the correct location. 

chrome-command-line file download

ADB Instructions (for non-rooted devices)

Place the file in the root directory of your PC and make sure your device is connected to your computer. When connected, issue this command:

adb push /chrome-command-line /data/local/chrome-command-line

You can also set the path on your computer where the file is located by replacing the first ‘/chrome-command-line’ with the file location.

Source: Chrome Forums


  1. Ricardo Moura Rocha says:

    Awesome!!!!! Thank you so much, this “fixes” the biggest flaw on chrome for me!

    • droidnerds says:

      Our thoughts exactly! Chrome is a great browser, but really made browsing a huge PITA by having to click that every time.

  2. Tim Morrison says:

    Mine downloads to just text…on a large white field.
    Plus how

    • droidnerds says:

      If yours opens up as a text file in the browser, then copy the text into a blank file named “chrome-command-line” and follow the instructions above!

  3. DrJohnTheDayTripper says:

    Erm… isn’t it just a case of pulling down the menu from the top right hand corner and checking “request desktop site”?

  4. Rafael Soares Pinheiro says:

    You Sir, are a genious!

  5. Marc says:

    Awesome! Worked like a charm!

  6. neel says:

    Thank you so much. I was just tired of doing the ‘request desktop ua’ every time I open a new Tab.

  7. Chris Popely says:

    Excellent, thanks a lot for this super handy tip!

    My Nexus 7 is as good as perfect with Paranoid Android, Franco’s kernel and a plethora of little hacks and mods. LOVE Android!

  8. kokakoalak says:

    nice thanks. anything like that to make chrome full screen?

  9. fad says:

    where to put this string ?

  10. tt says:

    Call me a noob: While trying to push via adb it tells me: *daemon started successfully*, error: device not found. –> what do I need to do? The nexus 7 is correctly connected via USB…?

  11. hisuwh says:

    I get “Permission Denied” when I try to do this with my nexus 10

  12. peter says:

    Hi, even though this patch worked perfectly with my non-rooted ASUS TF101 on ICS, there is no way i can get it to work with my non-rooted ASUS TF700 (on JB). When i run adb it says “permission denied”. has anyone got this working on a TF700? and if so, what am i doing wrong?

  13. “adb push” without root gives “Permission denied”. Is there a fix? [Nexus 7]

  14. Jim Night says:

    Permission denied on Asus TF300 running unrooted Android 4.2.1

    Is there a fix for this issue?

  15. jumanji says:


    Could you embed a sample from your file into this post? Your Dropbox file is not accessible anymore.


  16. Ced says:

    I have a rooted GS4. My /data dir doesn’t have a local folder. I flashed the zip file you posted elsewhere and it works like a charm. Is there a way to remove the file? Or can you make a flashable file to remove the patch? :) THANKS.

    • Ced says:

      Dumb me. Figured it out. I was using ES File Explorer but didn’t grant it root permission. Simply open up the menu and click on “Root Explorer” and grant it permission. You’ll be able to see all your files. Hah. Face palm.

  17. blacky says:

    I am confused on how to change permission to 755. What file do I open to change?

  18. roebling says:


  19. goodboy3242003 says:

    thank you issues at first then realized u need to rename and remove .txt then works like a charm


  1. […] XDA, droidnerds var dd_offset_from_content = 40; var dd_top_offset_from_content = 0; […]

  2. […] ab EUR 200,00 119 Kundenbewertungen Mehr von HTC Europe Co Limited aufrufen → via droidnerds quelle […]

Speak Your Mind