![]() |
[Debian] How-To: running Android on Debian
Theas install instructions are now obsolete, but if you still want to try this out, here you go:).
This will allow you to run Android within Debian the old way, manualy installing Android. Basic requirements: root acsess bootable Debian bzip2 First, as root, you need to mount your Debian partition to your /opt directory, this will give your device acsess to Debian, just type this into x-terminal. mount /dev/mmcblk1p2 /opt that example assumes that your Debian partition is on the secod partition on your exturnal memory card. This is the first script that will start android, you shuld name this sandroid.sh sudo /usr/bin/android.sh Just place this script into /opt/usr/bin and give it execute permissions in x-terminal as root as shown below, assuming your moving the file from your MyDocs folder. mv /home/user/MyDocs/sandroid.sh /opt/usr/bin chmod +x /opt/usr/bin/sandroid.sh Next, you need to create a script that will launch Android, it will be named android.sh: #!/bin/sh /root/fb_update/fb_update_mode auto find /mnt/ -name mbcache.ko | xargs insmod 2> /dev/null find /mnt/ -name ext2.ko | xargs insmod 2> /dev/null export ANDROID=`find /media -name android.img 2> /dev/null` mount $ANDROID /android -o loop for i in `find /media/ -name *.apk` do mv $i /android/system/app done echo "Starting Android..." touch /etc/no_lg_reboots /etc/init.d/zzinitdone stop /etc/init.d/bme-dbus-proxy stop /etc/init.d/af-base-apps stop /etc/init.d/dbus stop /etc/init.d/libgpsbt stop /etc/init.d/bluez-utils stop /etc/init.d/product-code stop /etc/init.d/esd stop rm -rf /android/tmp/* #umount -l /proc #umount -l /sys #mount -t proc proc /android/proc #mount -t sysfs sysfs /android/sys #mount --bind /dev /android/dev #chmod -R 777 /android # if you know the exact permissions, email me umask 000 echo z > /proc/sysrq-trigger chroot /android /init echo z > /proc/sysrq-trigger Assuming you've placed that file in your MyDocs folder, Just run the following in x-terminal as root. mv /home/user/MyDocs/android.sh /opt/usr/bin chmod +x /opt/usr/bin/android.sh Next, you need to grab one of qwerty12's Android kernels from the Android forum and install a kernel flasher and run the following as root, assuming that you've extracted the kernel flasher into your documents folder and the kernel is in the same folder. cd /home/user/MyDocs/.documents/kernel_flasher ./kernel_flash n800zImage (or n810zImage) Now you need to extract the android.img.bz2 Android Image into your /media/mmc1 or mmc2 directory, assuming that the file is in your MyDocs folder, as root, run the following: mv /home/user/MyDocs/android.img.bz2 /media/mmc1 (or mmc2) bzip2 -d /media/mmc2/android.img.bz2 or bzip2 -d /media/mmc1/android.img.bz2 now to finish the install: mkdir /opt/android umount /opt shutdown -r now After your device reboots, boot into Debian and in a terminal as root, run the following: sandroid.sh I am trying to create a desktop file that is compatible with Debian so Android could just simply be launched from a menu item. If enyone has eny suggeststions, please share them. Also, if you want to install eny applications, the android.sh script will automaticly scan your mmc for eny files containing a .apk file ending so place eny Android application that you want to install on your mmc. Enjoy :D |
Re: How-To: running Android on Debian
EDIT: Added to server.
|
Re: How-To: running Android on Debian
1 Attachment(s)
The above post is now obsolete, just download the installer and install instructions from this link The instructions are provided. but if you want to read the install instructions right away, thay are provided at the bottom of this post.
I wanted to thank androidboards for his help, thank you. androidboards's wedsite homepage is here. |
Re: How-To: running Android on Debian
|
Re: [Debian] How-To: running Android on Debian
Is possible for me to install Android Market and Android Apps using Nokia N900 Maemo/Linux OS?:confused:
|
Re: [Debian] How-To: running Android on Debian
Quote:
|
All times are GMT. The time now is 11:51. |
vBulletin® Version 3.8.8