1. PVO's Avatar
    I am trying to find a solution for intercepting the data from the Native Android Mail Client, flagging it and then directing it to the SD Card so that the controller on the SD card knows that the data needs to be encrypted.

    This needs to work for all Mail Client Data as well as for Attachments.

    Any suggestions are welcome.

    04-22-2014 05:01 AM
  2. Vsweety's Avatar
    On what Android version and what device?
    04-22-2014 05:33 PM
  3. PVO's Avatar
    Specifically on HTC Devices (e.g.Desire 500) - Android Jelly Bean and upwards.
    Regards, Peter
    04-23-2014 03:37 AM
  4. Vsweety's Avatar
    "Upwards" will be a problem because starting with Kitkat Google/Android has seen fit to disable writing user-selected files to the external SD card.

    If that wasn't a pretty fundamental problem I would see if the apps Tasker or llama could execute what you want.
    04-23-2014 06:23 AM
  5. PVO's Avatar
    thanks - the directIO buffer alignment bug for KitKat has been fixed by google and will be rolled out by the OEM in OTA Updates so in the near future that will be solved - writing code that "manually" picks the data, flags it, then saves it on the SD card and then deletes the original data might be a workaround but leaves a lot of opportunity for a man in the middle to read all the data AND after deleting the original data, the mail client will not know where to look for its data anymore which leads to synchronization issues - ideally, there would be a mail client API that one can integrate with to define the storage path as well enabling an on the fly flagging of the data in order to allow the SD card controller to identify and encrypt the data that is coming in.

    Any Ideas where to start?
    04-23-2014 07:15 AM
  6. Vsweety's Avatar
    the directIO buffer alignment bug for KitKat has been fixed by google and will be rolled out by the OEM in OTA Updates so in the near future that will be solved
    What is your source for that?
    "In the near future" sounds like maana to me.
    So I'll believe it when I see it.
    04-23-2014 08:59 AM
  7. PVO's Avatar
    This fix was for directIO read buffer alignment:

    And this fix was for directIO write buffer alignment:

    It is now OEM dependent when the fix will be rolled out but failing to do so puts a complete smart SD card industry out of business.

    That is a complete different topic however, my problem remains unsolved...
    04-24-2014 08:58 AM
  8. Vsweety's Avatar
    Geeksoft beat 'm to the punch with the free app "Kitkat External SD card patch".
    04-24-2014 08:29 PM
  9. PVO's Avatar
    Sure - for rooted devices, not a very Enterprise Grade solution as many public administrations use Secure SD card solutions...
    04-25-2014 04:40 AM

Similar Threads

  1. Data usage is getting higher, need help.
    By zerrisk in forum Samsung Galaxy S5
    Replies: 10
    Last Post: 10-02-2014, 06:31 PM
  2. switching from BB Z10 to S5
    By bbmjack in forum Samsung Galaxy S5
    Replies: 0
    Last Post: 04-22-2014, 03:09 AM
  3. Photos saved to Photos not gallery SAMSUNG GALAXY NOTE 2
    By coralggs in forum Samsung Galaxy Note 2
    Replies: 0
    Last Post: 04-22-2014, 02:15 AM