Support of installing apps on SD Card

4 views
Skip to first unread message

vendor.net

unread,
Mar 14, 2009, 1:44:11 PM3/14/09
to android-platform
Is there any info about a feature support of installing apps on the SD
Card?
I know, that there were topics before about this, but is there any
progress and is it in the todo list?

Thanks for the info!

Jean-Baptiste Queru

unread,
Mar 14, 2009, 1:57:58 PM3/14/09
to android-...@googlegroups.com
You can look at some work that has been done to extend the handling of
storage devices:
http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=vold;h=c174f2578dc5db4406e608cc7a05f8e454f54c1b;hb=cupcake

Also, this bug will need to be fixed in order to be able to have apps
on the SD card, as it's important that system_server can properly
close all files it might have on the SD card when the card is ejected:
http://code.google.com/p/android/issues/detail?id=1854

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

vendor

unread,
Mar 14, 2009, 4:10:57 PM3/14/09
to android-...@googlegroups.com
The last report is from Jan 26, 2009 . Means that there is no update on the problem?

I saw some code for encryption. Will be there a virtual encrypted volume?

Thanks!

On Sat, Mar 14, 2009 at 7:57 PM, Jean-Baptiste Queru <j...@android.com> wrote:

You can look at some work that has been done to extend the handling of
storage devices:
http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=vold;h=c174f2578dc5db4406e608cc7a05f8e454f54c1b;hb=cupcake

Also, this bug will need to be fixed in order to be able to have apps
on the SD card, as it's important that system_server can properly
close all files it might have on the SD card when the card is ejected:
http://code.google.com/p/android/issues/detail?id=1854

JBQ

Jean-Baptiste Queru

unread,
Mar 14, 2009, 6:44:30 PM3/14/09
to android-...@googlegroups.com
There's been no update on the problem since Jan 26 indeed. In fact
it's been in our internal bug database for longer than that and
there's been no update since Nov 4. But as far as I know it hasn't
been fixed.

Yes, the plan to store private information (including apps) on SD is
to create an encrypted filesystem image on the SD card, so that.

JBQ

On Sat, Mar 14, 2009 at 1:10 PM, vendor <vendo...@gmail.com> wrote:
> The last report is from Jan 26, 2009 . Means that there is no update on the
> problem?
> I saw some code for encryption. Will be there a virtual encrypted volume?
> Thanks!
>
> On Sat, Mar 14, 2009 at 7:57 PM, Jean-Baptiste Queru <j...@android.com>
> wrote:
>>
>> You can look at some work that has been done to extend the handling of
>> storage devices:
>>
>> http://android.git.kernel.org/?p=platform/system/core.git;a=tree;f=vold;h=c174f2578dc5db4406e608cc7a05f8e454f54c1b;hb=cupcake
>>
>> Also, this bug will need to be fixed in order to be able to have apps
>> on the SD card, as it's important that system_server can properly
>> close all files it might have on the SD card when the card is ejected:
>> http://code.google.com/p/android/issues/detail?id=1854
>>
>> JBQ
>>

vendor

unread,
Mar 15, 2009, 3:33:16 PM3/15/09
to android-...@googlegroups.com
I am new to the source code and it is big, but you know that. I did
not found something about a private key for the encryption. Do you
know where and how is this key stored, because I have a solution (it
may be not so good) for this part, but I would like to see how it is
done.

P.S. So nobody works on this fix or it is very hard to fix this issue?
I will try to study the problem harder.

vendor

unread,
Mar 15, 2009, 5:15:41 PM3/15/09
to android-platform
I am new to the source code and it is big, but you know that. I did not found something about a private key for the encryption. Do you know where and how is this key stored, because I have a solution (it may be not so good) for this part, but I would like to see how it is done.

P.S. So nobody works on this fix or it is very hard to fix this issue? I will try to study the problem harder.

On Sun, Mar 15, 2009 at 12:44 AM, Jean-Baptiste Queru <j...@android.com> wrote:

There's been no update on the problem since Jan 26 indeed. In fact
it's been in our internal bug database for longer than that and
there's been no update since Nov 4. But as far as I know it hasn't
been fixed.

Yes, the plan to store private information (including apps) on SD is
to create an encrypted filesystem image on the SD card, so that.

JBQ
- Show quoted text -

Jean-Baptiste Queru

unread,
Mar 15, 2009, 5:32:21 PM3/15/09
to android-...@googlegroups.com
I don't know where the code is that would generate and store the encryption key.

As for the bug, I simply haven't had time to work on it. I'm not
familiar enough with that area of the system myself to know how hard
it'll be to fix.

JBQ

vendor

unread,
Mar 15, 2009, 6:09:56 PM3/15/09
to android-...@googlegroups.com
I saw that the code is found on the cupcake branch. Means that in the official release of cupcake, there will be such a feature?

On Sun, Mar 15, 2009 at 11:32 PM, Jean-Baptiste Queru <j...@android.com> wrote:

I don't know where the code is that would generate and store the encryption key.

As for the bug, I simply haven't had time to work on it. I'm not
familiar enough with that area of the system myself to know how hard
it'll be to fix.

JBQ
>>>> On Sat, Mar 14, 2009 at 10:44 AM, vendor.net <vendor.net@gmail.com>

Jean-Baptiste Queru

unread,
Mar 15, 2009, 9:21:15 PM3/15/09
to android-...@googlegroups.com
There's no guarantee that code that's present in a given codeline ends
up as an official feature of releases created out of that codeline. In
some cases, some features have to be pulled in at the last moment
because e.g. stability or performance reasons. In other cases, some
long-term code is written in the mainline out of which releases are
created in the shorter term.

Right now, cupcake doesn't contain everything that'd be necessary to
support apps on the SD card. The bug I mentioned is one of the issues,
but in the bigger picture there are some significant features missing.

JBQ

On Sun, Mar 15, 2009 at 3:09 PM, vendor <vendo...@gmail.com> wrote:
> I saw that the code is found on the cupcake branch. Means that in the
> official release of cupcake, there will be such a feature?
>
> On Sun, Mar 15, 2009 at 11:32 PM, Jean-Baptiste Queru <j...@android.com>
> wrote:
>>
>> I don't know where the code is that would generate and store the
>> encryption key.
>>
>> As for the bug, I simply haven't had time to work on it. I'm not
>> familiar enough with that area of the system myself to know how hard
>> it'll be to fix.
>>
>> JBQ
>>

>> >>>> On Sat, Mar 14, 2009 at 10:44 AM, vendor.net <vendo...@gmail.com>

Reply all
Reply to author
Forward
0 new messages