It works! Sort of
Wrote the file in /system/etc/vold.fstab as described in the updated version from Jinho You:
dev_mount sdcard /mnt/sdcard auto
... and my SD card is definitely registered in configuration panel, but, even with 160M free on the phone and 600M free on the sdcard, andappstore will not download onto the phone. It says not enough space.
I will investigate this further, I am using ext3 for phone and vfat for sdcard, maybe with a larger phone partition or by reducing "saved for root" space on my phone partition with tune2fs, I can make room to download.
Thanks for the patch!
Kingdon
I am going to produce the next build on martyfunkhouser.csh.rit.edu
without squashfs, in case end users will be able to install apps
through the browser with that change, so lets hear from anyone else
with a release blocker, I have limited space for 500MB images and can
only host so many builds.
My xen cluster administrator is only offering 5GB today.
Cheers,
Kingdon
In short, there is no problem to Install apps via browser
in Android-x86. But you need to have sdcard mounted.
(this is just a limit of the browser because
it needs to create temporary data on /sdcard)
2010/11/14 Yebyen (Kingdon) <xulru...@gmail.com>:
> Well, it works pretty well, and I read in this issue about a year old
> http://code.google.com/p/android-x86/issues/detail?id=14 that Remote
> ADB users can write to Android-X86 squashfs systems using ADB. I think
> this must not be right. Can anyone confirm, this is an easier way to
Check yourself before you doubt it.
> install apps? It sounds like a security issue, and if it is still
> true, let's hear also how to lock it down.
>
> I am going to produce the next build on martyfunkhouser.csh.rit.edu
> without squashfs, in case end users will be able to install apps
> through the browser with that change, so lets hear from anyone else
> with a release blocker, I have limited space for 500MB images and can
> only host so many builds.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
2010/11/14 Yebyen (Kingdon) <xulru...@gmail.com>:
> Well, it works pretty well, and I read in this issue about a year oldCheck yourself before you doubt it.
> http://code.google.com/p/android-x86/issues/detail?id=14 that Remote
> ADB users can write to Android-X86 squashfs systems using ADB. I think
> this must not be right. Can anyone confirm, this is an easier way to
<Untitled> Download unsuccessful
Could not be downloaded, free up some space on your phone and try again.
I can write to /sdcard and /mnt/sdcard, as well as /data, manually, no problem, but when I try to download apps in browser, I get this message. I will try a different app, this one may want some privilege that we do not have, AndAppStore is no longer included in the standard android-x86 tree; are there any favorite alternatives on the list?
Also wondering what I need to make the phone remember language settings; every time I reboot, I have to disable again the Onscreen Keyboard, Chinese input, and LIME since I unfortunately do not read and write much Chinese :(
Works great!
I feel sure that I am missing some features of the new vold, I still have to manually mount a USB stick through a command-line interface (I did see your alternative, Jinho) just to copy files in without a network connection. I will produce more builds on request at the RIT mirror, but for now, it works well, and the simple fstab update required in /system/etc/vold.fstab that required me to unsquashfs and resquashfs my system.sfs image, I can't say that it's secure for any "Void if Tampered" warranty policy, just for being compressed, but I don't know how to get in there through ADB as Chih-Weh has suggested.
So, adding that setting to the system.sfs image should be considered Hardware Vendor ISV Step #1 ;) I'll add it to my formal release acceptance checklist
Thanks for terrific support, guys!
Kingdon
Jinho You <l04...@gmail.com> wrote:
>--
>You received this message because you are subscribed to the Google Groups "Android-x86" group.
>To post to this group, send email to andro...@googlegroups.com.
>To unsubscribe from this group, send email to android-x86...@googlegroups.com.
>For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
I'm working on a final solution.
Please be patient for it.
PS. The main git server of android-x86 was down
due to some unknown reason.
I've asked the administrator for help.
2010/11/12 slajeune <stephane....@gmail.com>:
> Thanks Jinho!
>
> This patch works flawlesly for premounted partitions. This is really
> great!
>
> Cheers,
> Stephane.
>
> On Nov 11, 8:17 am, Jinho You <l04f...@gmail.com> wrote:
>> > in the condition that
>> > /system/etc/vold.fstab has the line,
>>
>> > dev_mount sdcard /mnt/sdcard
>>
>> above line has to be fixed:
>>
>> dev_mount sdcard /mnt/sdcard auto
>>
--
http://www.android-x86.org/documents/sdcardhowto
Comparing to other workarounds posted in the group,
the new implementation is cleaner.
It handles the SDCARD in cmdline directly
so the fake sdcard works exactly like
a real sdcard. For example, you can
umount, remount, or even format it from the GUI.
(except SDCARD=premount, which is marked as deprecated)
However, I still appreciate everyone who
discussed, worked and tested on this issue
so I can work out the final solution.
Note to take advantage of the new implementation,
you have to remove /etc/vold.fstab (if exists).
PS. Now we have only one release blocking issue for froyo-x86:
the camera crashing. Any volunteer?
2010/11/16 Chih-Wei Huang <cwh...@android-x86.org>:
> Thanks for everyone who worked and tested
> the vold issue.
> Jinho's patch is workable for fake sdcard,
> but I think it's still a workaround and not satisfying.
>
> I'm working on a final solution.
> Please be patient for it.
--
2010/11/25 slajeune <stephane....@gmail.com>:
> Thanks for the patch Chih-Wei.
>
> However, we would need to be able to use this AutoVolume with
> vold.fstab. The reason is that we might want to auto mount an
> internal SDCARD but at the same time, be able to use vold.fstab to
> enable auto mounting of a usb key. The current implementation doesn't
> seem to be able to do that. Would I be wrong?
--
I haven't tried a 2 card setup but the comments in vold.fstab seem to suggest that it supports it.
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 # dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1 |
|
|
That means, even you mount /sdcard1, /sdcard2, ...
the apps can't use them.
(unless you hardcoded the path in your apps)
2010/11/25 Suman Saraf <saraf...@yahoo.com>
>
> I haven't tried a 2 card setup but the comments in vold.fstab seem to suggest that it supports it.
>
> ## Example of a dual card setup
> # dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
> # dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
> Suman
--
You could also possibly symlink different namespaces (i.e. music, images etc.) to different sdcards - that should take care of not having to modify the apps? |
|