31
Android / Android Sl-c3x00 Image Updated
« on: January 19, 2008, 05:43:28 am »
Guys who already Android up on you Zaurus, you might want to check this.
Do you have tmpfs already mounted on somewhere in your file system? It's easy to check. On the text console, type;
[blockquote]# df -h[/blockquote]
If you see a word of tmpfs, you have one.
My Angstrom has;
[blockquote]tmpfs 30.3M 0 30.3M 0% /media/ram[/blockquote]
If you have tmpfs larger than 15MB or so, try to modify a little your android-root/a.sh;
[blockquote]Before
mount -t proc proc /proc
mount -t sysfs sysfs /sys
After
mount -t tmpfs tmpfs /tmp
mount -t proc proc /proc
mount -t sysfs sysfs /sys[/blockquote]
Yes. Just add a line to mount your tmpfs as /tmp. Then try boot Android up.
How is it? You'll notice a lot less HDD LED brinking than before. And a little bit faster.
The reason is Android generates shared memory as temporary files in /tmp. By mounting /tmp as tmpfs, we move the shared memory out to RAM.
I come up with this tip in the course of trying to bring Android up without chroot.
Android Zaurus: Boot Android up on Zaurus without chroot
http://androidzaurus.seesaa.net/article/79313160.html
Cheers,
Do you have tmpfs already mounted on somewhere in your file system? It's easy to check. On the text console, type;
[blockquote]# df -h[/blockquote]
If you see a word of tmpfs, you have one.
My Angstrom has;
[blockquote]tmpfs 30.3M 0 30.3M 0% /media/ram[/blockquote]
If you have tmpfs larger than 15MB or so, try to modify a little your android-root/a.sh;
[blockquote]Before
mount -t proc proc /proc
mount -t sysfs sysfs /sys
After
mount -t tmpfs tmpfs /tmp
mount -t proc proc /proc
mount -t sysfs sysfs /sys[/blockquote]
Yes. Just add a line to mount your tmpfs as /tmp. Then try boot Android up.
How is it? You'll notice a lot less HDD LED brinking than before. And a little bit faster.
The reason is Android generates shared memory as temporary files in /tmp. By mounting /tmp as tmpfs, we move the shared memory out to RAM.
I come up with this tip in the course of trying to bring Android up without chroot.
Android Zaurus: Boot Android up on Zaurus without chroot
http://androidzaurus.seesaa.net/article/79313160.html
Cheers,