Author Topic: Can't save attachements to extSDcard  (Read 5961 times)

skysi

  • Newbie
  • *
  • Posts: 1
Can't save attachements to extSDcard
« on: June 08, 2014, 02:05:34 pm »
I'm having this problem: Whatever folder on the external card I choose? Aqua tells me that the attachment can't be saved to this folder. How can I remedy this? Thanks!

g6agarwal

  • Jr. Member
  • **
  • Posts: 70
Re: Can't save attachements to extSDcard
« Reply #1 on: June 08, 2014, 09:44:53 pm »
No remedy... Check forum Admin already discussed the same..

Sent from my GT-I9500 using Tapatalk


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Can't save attachements to extSDcard
« Reply #2 on: June 08, 2014, 11:47:21 pm »
Is this with Android 4.4?

A Google policy. They ignored "real" microSd cards on devices that also have a large built-in storage area, and then, when they finally looked, locked down each app in a sandbox.

External Blues: Google Has Brought Big Changes To SD Cards In KitKat, And Even Samsung Is Implementing Them

http://www.androidpolice.com/2014/02/17/external-blues-google-has-brought-big-changes-to-sd-cards-in-kitkat-and-even-samsung-may-be-implementing-them/


Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

soadfan

  • Newbie
  • *
  • Posts: 17
Re: Can't save attachements to extSDcard
« Reply #3 on: November 27, 2016, 04:37:58 pm »
Is this with Android 4.4?

A Google policy. They ignored "real" microSd cards on devices that also have a large built-in storage area, and then, when they finally looked, locked down each app in a sandbox.

External Blues: Google Has Brought Big Changes To SD Cards In KitKat, And Even Samsung Is Implementing Them

http://www.androidpolice.com/2014/02/17/external-blues-google-has-brought-big-changes-to-sd-cards-in-kitkat-and-even-samsung-may-be-implementing-them/ [nofollow]

Is it possible to make AM to saves attachments ot ExtSdCard? I know it is, but how to to it?
I have Samsung Galaxy S4 (GT-I9505), running CM12.1 (Android 5.1.1) and AM saves files to extsdcrad just fine.
Also have Lenovo A5000 running stock ROM 4.4.2 (rooted) and also don't have any issues saving files on sd card (strange thing is that is called sdcard0, internal is called sdcard1 quite opposite to the normal)
And now i have this cheap tablet diva qc-703gn (as a gift from the carrier). Also rooted, running stock rom android 5.1 and can't save to sdcard which is inconvenient.
I tried /system/etc/platform.xml workaround, but no luck. Any suggestions?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Can't save attachements to extSDcard
« Reply #4 on: November 27, 2016, 06:29:19 pm »
Rooting has nothing to do with it. It's a permissions issue.

Google made the change in 4.4, but not all manufacturers started encoforcing it back then (I've got a Motorola that still allows write access to the microSd, on Android 6).

There are no plans at this time to implement the necessary workaround in Aqua Mail:

- when Google brought this ability back in 5.0 (if my memory serves), they made it so that accessing files on the microSd specifically requires all new functions (before, it was "a file is a file, no matter where").

- in addition, there is a "thing" that the user would need to do before writing is possible, and it's quite non-trivial ("when you tap this button, you'll see a screen with X and Y, please select X and then tap Y").

So this part of the app would need to be rewritten. Given that Aqua Mail is not a file manager, this is not a priority (when weighted against other work).

Please note that since version 1.6.2.9, Aqua Mail is able to "cache" attachments on the "real" microSd, starting with Android 6. "Cached" attachments are typically the bigger part of the app's storage requirements.

App settings -> look and feel -> Folder for caching attachments -> On the memory card
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

soadfan

  • Newbie
  • *
  • Posts: 17
Re: Can't save attachements to extSDcard
« Reply #5 on: November 27, 2016, 06:38:13 pm »
Rooting has nothing to do with it. It's a permissions issue.

Google made the change in 4.4, but not all manufacturers started encoforcing it back then (I've got a Motorola that still allows write access to the microSd, on Android 6).

There are no plans at this time to implement the necessary workaround in Aqua Mail:

- when Google brought this ability back in 5.0 (if my memory serves), they made it so that accessing files on the microSd specifically requires all new functions (before, it was "a file is a file, no matter where").

- in addition, there is a "thing" that the user would need to do before writing is possible, and it's quite non-trivial ("when you tap this button, you'll see a screen with X and Y, please select X and then tap Y").

So this part of the app would need to be rewritten. Given that Aqua Mail is not a file manager, this is not a priority (when weighted against other work).

Please note that since version 1.6.2.9, Aqua Mail is able to "cache" attachments on the "real" microSd, starting with Android 6. "Cached" attachments are typically the bigger part of the app's storage requirements.

App settings -> look and feel -> Folder for caching attachments -> On the memory card

Well, i know that rooting has nothing to do with permissions, but gives access for workarounds and etc

soadfan

  • Newbie
  • *
  • Posts: 17
Re: Can't save attachements to extSDcard
« Reply #6 on: November 29, 2016, 07:32:38 am »
fyi:
Yesterday i've edited office document with wps. When tried to save it the app returned error that has no access and i need to grant it. With some sort of file selector i've selected root level of the sdcard and hit "Grant". Now i'm saving opened files from sdcard just fine.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Can't save attachements to extSDcard
« Reply #7 on: November 29, 2016, 08:34:54 am »
Kostya,

I've been watching for a while people asking about Aquamail being able to save attachments to the external [micro]SD card, and keep wanting to add a comment about that.

I understand the technical part of that and that the code needs to be rewritten.
And I was thinking recently why I don't want to upgrade my phone running Android 4.1.2. Among those reasons is the problem for some apps to write to the SD card, and Aquamail is one of those.

But my comment about your argument that the newest phones no longer have an SD card. It seems that some time ago, it was a fad to get rid of the external card, but then manufacturers (Samsung, Motorola) realized that it was not reasonable, and went back to SD cards.
So, the phones with SD cards are back... Just saying...  ;)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Can't save attachements to extSDcard
« Reply #8 on: November 29, 2016, 09:49:16 pm »
Quote
But my comment about your argument that the newest phones no longer have an SD card. It seems that some time ago, it was a fad to get rid of the external card, but then manufacturers (Samsung, Motorola) realized that it was not reasonable, and went back to SD cards.
So, the phones with SD cards are back... )

Yes, I know... Sigh...

Google really wanted to get rid of microSd memory cards, and they made changes in Android that matched their expectations, but it just didn't work out that way.

Unfortunately this did not make Google go back and "oops, we made a mistake, users do want microSd's, let's revert the change so we don't complicate things for developers and users too much".

( everyone makes mistakes, it's how you react that's important )

Re: Just saying...  ;

I know, I know.

I would like to fix this, it's just not been at the top of the priority list (and it's been that way for quite some time).
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

soadfan

  • Newbie
  • *
  • Posts: 17
Re: Can't save attachements to extSDcard
« Reply #9 on: November 30, 2016, 10:35:47 pm »
Well, for now i've solved my problem with mv -v and *.sh file. Which is best solution after being able to write on sd card, because root explorer has built-in script executor of *.sh files, and you can do it with root privileges without have to su ::)