Device for netbook Sony Vaio VPCM12M1E and separate partition for /data

103 views
Skip to first unread message

Sergi Reyner

unread,
May 15, 2012, 10:03:17 AM5/15/12
to andro...@googlegroups.com
I thought I'd contribute this now, rather than waiting to finish it :)


Might work with other Sony Vaio (or not) netbooks, or it might not.

Features working:
- SMP enabled in kernel (though I don't notice any performance changes)
- Brightness control working
- Wifi
- Bluetooth (haven't tested it)
- SD card reader enabled in kernel. MemoryStick cards should also work, but I don't have any to test. They get mounted to /mnt/USB as expected.
- Placeholder for google apps, just put the apk files in gapps-ics/app/
- Red border disabled (almost)

Not working yet:
- Suspend
- Brightness keys
- Mute key
- Rotation lock to landscape, since it doesn't make much sense (at least to me) to use the machine in portrait mode. I'm thinking of including the Rotation Locker app but it's not an optimal solution :(

Additional:
- I added support (via device_mount_data in sony_info) to search for a partition containing a file named .android-x86-data in its root and mount it as /data. To use this feature, add AUTODATA=1 to your kernel command-line.

Comments, suggestions and bug reports are welcome.

Chih-Wei Huang

unread,
May 16, 2012, 7:53:21 AM5/16/12
to andro...@googlegroups.com
2012/5/15 Sergi Reyner <sergi....@gmail.com>:
> Additional:
> - I added support (via device_mount_data in sony_info) to search for a
> partition containing a file named .android-x86-data in its root and mount it
> as /data. To use this feature, add AUTODATA=1 to your kernel command-line.

Hi, could you explain more about this?
Why do you need to make this change?

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Sergi Reyner

unread,
May 16, 2012, 8:17:15 AM5/16/12
to andro...@googlegroups.com
El miércoles, 16 de mayo de 2012 12:53:21 UTC+1, Chih-Wei Huang escribió:
2012/5/15 Sergi Reyner:
> Additional:
> - I added support (via device_mount_data in sony_info) to search for a
> partition containing a file named .android-x86-data in its root and mount it
> as /data. To use this feature, add AUTODATA=1 to your kernel command-line.

Hi, could you explain more about this?
Why do you need to make this change?
 
Certainly.

I want to keep /data in its own partition. However, since I'm installing to a flash drive, I cannot rely on /dev/sdb2 always pointing to it; the device node might change. So I hacked in this feature.

It has also allowed me to use the same flash drive as both a Live USB and a "regular" install, just by inserting/removing a second flash drive with the /data partition.

Reply all
Reply to author
Forward
0 new messages