Active Topics

 


Reply
Thread Tools
b-man's Avatar
Posts: 549 | Thanked: 502 times | Joined on Feb 2008 @ Bowling Green Ohio (united states)
#1
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
__________________
I'm an advanced user and a bit of a modder.
----------------------------------------------
I am involved with Mer, Deblet, and NITdroid.
My ports/creations/hacks: GNOME (for Deblet), Cdeb2», Ubuntu, playable flash games in the "Get Started" app, DBS, ect...


enhanced fedora port has been canceled in favor of NITDebian (TBA)

Last edited by b-man; 2008-07-21 at 15:35.
 

The Following User Says Thank You to b-man For This Useful Post:
Posts: 2 | Thanked: 2 times | Joined on Jul 2008
#2
EDIT: Added to server.

Last edited by androidboards; 2008-07-21 at 14:54. Reason: Delete my e-mail addy
 

The Following User Says Thank You to androidboards For This Useful Post:
b-man's Avatar
Posts: 549 | Thanked: 502 times | Joined on Feb 2008 @ Bowling Green Ohio (united states)
#3
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.
Attached Files
File Type: txt Readme.Android-on-Debian.txt (2.0 KB, 676 views)
__________________
I'm an advanced user and a bit of a modder.
----------------------------------------------
I am involved with Mer, Deblet, and NITdroid.
My ports/creations/hacks: GNOME (for Deblet), Cdeb2», Ubuntu, playable flash games in the "Get Started" app, DBS, ect...


enhanced fedora port has been canceled in favor of NITDebian (TBA)

Last edited by b-man; 2008-07-21 at 15:22.
 
Posts: 2 | Thanked: 2 times | Joined on Jul 2008
#4
N810 tarball is up now, too: http://androidboards.com/applications

Great work b-man!
 

The Following User Says Thank You to androidboards For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on Sep 2009
#5
Is possible for me to install Android Market and Android Apps using Nokia N900 Maemo/Linux OS?
 
Posts: 76 | Thanked: 33 times | Joined on Oct 2009 @ Portland, Or
#6
Originally Posted by afrcblack58 View Post
Is possible for me to install Android Market and Android Apps using Nokia N900 Maemo/Linux OS?
Android Market....never ever(legally). Android apps, maybe perhaps someday but don't hold your breath.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:27.