[Title]
Enabling android-x86 upon ThinkPad Series with miscellaneous functions


[Summary]
As you see the same as what above, here's this topic mainly involved
in personal experiences under a series of thinkpad laptop/pc with
android -x86 by google in the cupcake branch of android's source tree
by virtue of miscellaneous ways, such as a android-bootable usb/hd or
a virtualization software (e.g. virtalbox/vmware) or others!!
Meanwhile, several special and further topics are also discussed, most
likely relating to the android's distro for laptop/pc, the community
of laptop and mobile phone under android. Additionally, many thanks to
these members in the community, namely android-porting, especially
those members in the following threads,
1> Android x86?
http://groups.google.com/group/android-porting/browse_thread/thread/ab553116dbc960da

2> Howto build Android full source for X86 Architecture like EeePC
(ASUS)
http://groups.google.com/group/android-porting/browse_thread/thread/66862bdb52dac936

3> x86 AndroidのUSBブートイメージを作成
http://d.hatena.ne.jp/naka-3/20081229/1230541175

Finally, any discussions or tips or suggestions or appendixes are
really appreciated!! In the meantime, please correct me anywhere I
have taken mistakes!!

-- Enjoying "brainstorm"!!


[Table of Content]
0. Introduction
1. Android source tree considerations
2. Booting up android from usb/hd
3. Booting up android by virtualization software
4. Distributions of android
5. Combination of laptop/pc and phone, both wireless and mobile


[0. Introduction]
0.1. Hardware
ThinkPad series with x86 architecture. In the case here, it's mainly
focusing on ThinkPad R60.
CPU: Intel(R) Core(TM)2 1.66GHz
RAM: 512 MiB
ROM: 60 GiB
Audio:Intel 82801G (ICH7 Family) HDAC
Display/Video: ATI Mobility Radeon X1300
Wired Network: Broadcom NetXtreme BCM5751M Gigabit Ethernet PCI
Express (rev 21)
Wireless Network: Intel PRO/Wireless 3945ABG Network Connection (rev
02)

0.2. Software
You can select what you prefer as your os running on one ThinkPad. In
the case here, it's primarily concentrating on Ubuntu 8.04 (Hardy)
$ uname -a
Linux samuel-laptop 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC
2008 i686 GNU/Linux

$ gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)


[1. Android source tree considerations]
1.1.Prerequisites
In order to set up your local environment upon your os before getting
and compiling successfully android source tree with more details,
please refer to the following link,
https://sites.google.com/a/android.com/opensource/download

1.2. Synchronization
$ mkdir ~/project/cupcake && cd ~/project/cupcake
$ repo init-u git://android.git.kernel.org/platform/manifest.git-b
cupcake
$ repo sync
$ vi ./.repo/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="platform/vendor/asus/eee_701" path="vendor/asus/
eee_701"/>
</manifest>
$ repo sync

1.3. Compiling android
$ TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true make -
j2 installer_img


[2. Booting up android from usb/hd]
2.0. Hardware
Mobile Disk (with usb 2.0): sdb | sdb1 | sdb2 | sdb3

2.1. Creating image
$ sudo su
# mkdir /mnt/andusb
# mount -t ext3 /dev/sdb3 /mnt/andusb
# cp -fr ./out/target/product/eee_701/root/* /mnt/andusb/
# cp -fr ./out/target/product/eee_701/system/* /mnt/andusb/system/
# cp -fr ./out/target/product/eee_701/data/* /mnt/andusb/data/
# mkdir /mnt/andusb/boot
# mkinitramfs -o /mnt/andusb/boot/initrd.img-2.6.27-android 2.6.27-
android
# cp ./kernel/arch/x86/boot/bzImage /mnt/andusb/boot/vmlinuz-2.6.27-
android
# chmod 666 /mnt/andusb/system/usr/keylayout/*
# rm /mnt/usb/system/app/SoftKeyboard.apk
# wget http://junkyard.googlecode.com/files/init.rc
# cp init.rc /mnt/andusb/

2.2. Grub installation
# mkdir /mnt/andusb/boot/grub
# grub-install --root-directory=/mnt/andusb --no-floppy /dev/sdb
# wget http://junkyard.googlecode.com/files/menu.lst
# cp menu.lst /mnt/andusb/boot/grub/

2.3. Reboot
# reboot

2.4. Checking booting order
First, going into the setting of biso during the startup before
checking your boot priority order, and then selecting the suitable usb
(like +USB HDD) as your first booting option!!


(TO-BE-CONTINUING)


P.S. it seems that i can't boot up android from mobile disk with
usb2.0 according to the instructions above!! please help me out!!





--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to