How to grant write access to external SDcard using ADB in Android tv?












0















I can't get ES file explorer and winrar to write (copy or cut from internal storage and paste to external storage) to SDCard external storage in Android TV. It says that there will be an "open from" window where I can enable it, but the window won't appear like it did in my android tablet. Is there an ADB command to grant writing access to external SDCard?



I tried to use these commands:



adb shell appops set com.estrongs.android.pop WRITE_EXTERNAL_STORAGE allow
adb shell appops set com.estrongs.android.pop READ_EXTERNAL_STORAGE allow


That was the code for es file explorer, for winrar I just replace com.estrongs.android.pop with com.rarlab.rar The codes executed with no errors, however, I still can't write to the external SDcard, the suggestion to enable it in the supposedly upcoming popup window still appears and the popup window still did not appear. Please help










share|improve this question













migrated from superuser.com Jan 23 at 13:34


This question came from our site for computer enthusiasts and power users.























    0















    I can't get ES file explorer and winrar to write (copy or cut from internal storage and paste to external storage) to SDCard external storage in Android TV. It says that there will be an "open from" window where I can enable it, but the window won't appear like it did in my android tablet. Is there an ADB command to grant writing access to external SDCard?



    I tried to use these commands:



    adb shell appops set com.estrongs.android.pop WRITE_EXTERNAL_STORAGE allow
    adb shell appops set com.estrongs.android.pop READ_EXTERNAL_STORAGE allow


    That was the code for es file explorer, for winrar I just replace com.estrongs.android.pop with com.rarlab.rar The codes executed with no errors, however, I still can't write to the external SDcard, the suggestion to enable it in the supposedly upcoming popup window still appears and the popup window still did not appear. Please help










    share|improve this question













    migrated from superuser.com Jan 23 at 13:34


    This question came from our site for computer enthusiasts and power users.





















      0












      0








      0








      I can't get ES file explorer and winrar to write (copy or cut from internal storage and paste to external storage) to SDCard external storage in Android TV. It says that there will be an "open from" window where I can enable it, but the window won't appear like it did in my android tablet. Is there an ADB command to grant writing access to external SDCard?



      I tried to use these commands:



      adb shell appops set com.estrongs.android.pop WRITE_EXTERNAL_STORAGE allow
      adb shell appops set com.estrongs.android.pop READ_EXTERNAL_STORAGE allow


      That was the code for es file explorer, for winrar I just replace com.estrongs.android.pop with com.rarlab.rar The codes executed with no errors, however, I still can't write to the external SDcard, the suggestion to enable it in the supposedly upcoming popup window still appears and the popup window still did not appear. Please help










      share|improve this question














      I can't get ES file explorer and winrar to write (copy or cut from internal storage and paste to external storage) to SDCard external storage in Android TV. It says that there will be an "open from" window where I can enable it, but the window won't appear like it did in my android tablet. Is there an ADB command to grant writing access to external SDCard?



      I tried to use these commands:



      adb shell appops set com.estrongs.android.pop WRITE_EXTERNAL_STORAGE allow
      adb shell appops set com.estrongs.android.pop READ_EXTERNAL_STORAGE allow


      That was the code for es file explorer, for winrar I just replace com.estrongs.android.pop with com.rarlab.rar The codes executed with no errors, however, I still can't write to the external SDcard, the suggestion to enable it in the supposedly upcoming popup window still appears and the popup window still did not appear. Please help







      storage adb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 23 at 10:52









      yuliusyulius

      1




      1




      migrated from superuser.com Jan 23 at 13:34


      This question came from our site for computer enthusiasts and power users.









      migrated from superuser.com Jan 23 at 13:34


      This question came from our site for computer enthusiasts and power users.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Android Marshmellow (API 23) or above you need to grant runtime permission. This can be done through an adb shell with the command:



          adb shell pm grant com.your.app.package android.permission.WRITE_EXTERNAL_STORAGE


          If you ever need to revoke the permission the use this command:



          adb shell pm grant com.your.app.package android.permission.READ_EXTERNAL_STORAGE





          share|improve this answer
























          • Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

            – yulius
            Jan 25 at 13:09











          • Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

            – yulius
            Feb 7 at 14:30













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "139"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fandroid.stackexchange.com%2fquestions%2f206865%2fhow-to-grant-write-access-to-external-sdcard-using-adb-in-android-tv%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Android Marshmellow (API 23) or above you need to grant runtime permission. This can be done through an adb shell with the command:



          adb shell pm grant com.your.app.package android.permission.WRITE_EXTERNAL_STORAGE


          If you ever need to revoke the permission the use this command:



          adb shell pm grant com.your.app.package android.permission.READ_EXTERNAL_STORAGE





          share|improve this answer
























          • Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

            – yulius
            Jan 25 at 13:09











          • Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

            – yulius
            Feb 7 at 14:30


















          0














          Android Marshmellow (API 23) or above you need to grant runtime permission. This can be done through an adb shell with the command:



          adb shell pm grant com.your.app.package android.permission.WRITE_EXTERNAL_STORAGE


          If you ever need to revoke the permission the use this command:



          adb shell pm grant com.your.app.package android.permission.READ_EXTERNAL_STORAGE





          share|improve this answer
























          • Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

            – yulius
            Jan 25 at 13:09











          • Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

            – yulius
            Feb 7 at 14:30
















          0












          0








          0







          Android Marshmellow (API 23) or above you need to grant runtime permission. This can be done through an adb shell with the command:



          adb shell pm grant com.your.app.package android.permission.WRITE_EXTERNAL_STORAGE


          If you ever need to revoke the permission the use this command:



          adb shell pm grant com.your.app.package android.permission.READ_EXTERNAL_STORAGE





          share|improve this answer













          Android Marshmellow (API 23) or above you need to grant runtime permission. This can be done through an adb shell with the command:



          adb shell pm grant com.your.app.package android.permission.WRITE_EXTERNAL_STORAGE


          If you ever need to revoke the permission the use this command:



          adb shell pm grant com.your.app.package android.permission.READ_EXTERNAL_STORAGE






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 24 at 6:44









          Bo LawsonBo Lawson

          1,946916




          1,946916













          • Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

            – yulius
            Jan 25 at 13:09











          • Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

            – yulius
            Feb 7 at 14:30





















          • Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

            – yulius
            Jan 25 at 13:09











          • Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

            – yulius
            Feb 7 at 14:30



















          Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

          – yulius
          Jan 25 at 13:09





          Hi Bo, I have not yet been able to try out your suggestion but once I am able to, I will report back. Thank you so much for answering.

          – yulius
          Jan 25 at 13:09













          Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

          – yulius
          Feb 7 at 14:30







          Hi Bo, Sorry I just managed to try out your suggestion. unfortunately it does not work. Here's the exact code: adb shell pm grant com.estrongs.android.pop android.permission.WRITE_EXTERNAL_STORAGE Any other ideas?

          – yulius
          Feb 7 at 14:30




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Android Enthusiasts Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fandroid.stackexchange.com%2fquestions%2f206865%2fhow-to-grant-write-access-to-external-sdcard-using-adb-in-android-tv%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]