0% found this document useful (0 votes)
215 views6 pages

Installation of Nitroid

The document provides instructions for installing NITdroid, an Android system, on a Nokia N900 mobile device. It explains that the installation can be done directly on the N900 by copying and pasting commands from the page into the terminal. It warns to copy and paste carefully to avoid typos that could damage the system. It then provides step-by-step instructions for partitioning and formatting the memory card, installing required packages, downloading the NITdroid files, and configuring the boot menu to launch Android.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
215 views6 pages

Installation of Nitroid

The document provides instructions for installing NITdroid, an Android system, on a Nokia N900 mobile device. It explains that the installation can be done directly on the N900 by copying and pasting commands from the page into the terminal. It warns to copy and paste carefully to avoid typos that could damage the system. It then provides step-by-step instructions for partitioning and formatting the memory card, installing required packages, downloading the NITdroid files, and configuring the boot menu to launch Android.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

The whole installation can be done on the N900 it self, I suggest to read the instructions carefully then open

up the browser on your N900 and browse to this page and copy paste commands from each box into the terminal. If you do not copy paste you might do a type o that can ruin your system.

1 Step 1: Partitioning 2 Step 2: Installation 3 Tips & tricks o 3.1 Install .apk-files automatically o 3.2 Remove/Change Boot-Animation o 3.3 Updating an existing android o 3.4 Using NITdroid

To be able to install the "sudo gainroot" command you need to install a package called rootsh from the application manager first! 1. Open up the xTerm and become root with this command:
sudo gainroot

2. First un mount the microsd card


umount /dev/mmcblk1p1

3. For this step you need to know the capacity of your memory card. The Android partition can only be 2GB, so you need to create a FAT partition that is so large there will only be 2GB left. The number must be in MB, example some recommended sizes are 1, 100, 2100, 6100, 14100, 30100. If its 8GB you can choose a number like 6100MB, if its 4GB you can choose a number like 2100MB. If your memory card is 2GB or below, you can choose 1MB as a number If you do not do this correctly you will not be able to use Android Market!
sfdisk -uM /dev/mmcblk1 << EOF ,<YOUR NUMBER IN MB>,C ,,L ,, ,, EOF

4. Unmount microsd again as maemo sometimes tried to mount


umount /dev/mmcblk1p1

5. The actual formating!


mkdosfs /dev/mmcblk1p1 mke2fs -L NITDroid -j -m0 /dev/mmcblk1p2

Before you begin you need to add the extras devel repository like this: http://wiki.maemo.org/Extras-devel#How_to_activate_Extras-devel then install some packages using this command:
apt-get -y install wget bzip2 rootsh nano kexec-tools

wget http://files2.nitdroid.com/multiboot-extras_0.1_armel.deb wget http://files2.nitdroid.com/multiboot_0.2.5_armel.deb dpkg -i multiboot*.deb

Now you need to add a menu entry for Nitdroid in multiboot


cd /etc/multiboot.d cat > NITdroid-2.6.28.NIT.05.item << EOF ITEM_NAME="NITdroid on MMCp2 - 2.6.28.NIT.05" ITEM_KERNEL=2.6.28.NIT.05 ITEM_MODULES=ext3 fat vfat ITEM_DEVICE=\${EXT_CARD}p2 ITEM_FSTYPE=ext3 ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3 EOF

If you are using nano/leafpad/etc to create the menu item omit the backslash from ITEM_DEVICE, ie. it becomes ITEM_DEVICE=${EXT_CARD}p2!

mkdir -p /and mount -o noatime,rw /dev/mmcblk1p2 /and cd /home/user/MyDocs wget http://downloads.nitdroid.com/nitinstaller/Packages/NITDroid-N900-theflying-world.tbz2 rm -rf /and/* bzcat NITDroid-N900-the-flying-world.tbz2 | tar xvC /and

wget http://files2.nitdroid.com/nitdroid-kernel-2.6.28-05_final1_armel.deb

dpkg -i nitdroid*deb

Thanks to ramoncio for your easy to use perl command


btid=`sysinfo-tool -g /certs/npc/esn/bt_id` perl -pi -e "s/0cddef0a0e6d/$btid/g" /and/system/bin/load_modules.sh

5. unmount the /and partition:


cd / umount /and

Copy the apk to /system/app and android will install it on next boot (maybe need to change the owner with "chown 1000:1000 xyz.apk")

Remove/Change the file /system/media/bootanimation.zip

There is no guaranteed way to updated an existing android, you should reformat the ext3partition and extract the new tar-archive. WARNING: Format will delete all existing files! And be sure to format the right partition!

Hardware keys are assigned as follows:


Lock switch - Menu Camera(half) - Back Camera(full) - Home Power - Lock Power(hold) - Power options

Installation
You can install NITDroid Installer using Hildon Application Manager, fapman, or apt-get, it should be in the system category. After installation, use the icon in the menu to install NITDroid, after installation the icon will be changed to an uninstaller icon so you can, if you want, uninstall NITDroid. To install via apt-get: You need to have the rootsh package installed from the Application manager so you could run apt-get as root. Make sure that the Application Manager is closed, other programs that manage applications might also interfere Now open up the X Terminal and enter these codes:
root apt-get install nitdroid-installer

Wait for the installation of the NITDroid Installer to complete. Update the Nitdroid installer to the latest version from this link link Wait for the installation of the NITDroid Installer to complete then enter this:
nitdroid

Answer any question you might be asked If your installation hangs on [Formatting /dev/mmcblklp2 (ext3) ...] then follow the partitioning instructions here. Enjoy or Panic, whatever you might do now you are finished :) Reboot to get access to Android

Kernel Power for Maemo


kernel-power is compatible with Multiboot from version 39 and onwards of kernel-power To get access to the Enhanced kernel for Maemo please make sure you first have the newest version Enter this in the X Terminal:
root apt-get install kernel-power-bootimg

Now either make your own .item file for Multiboot or let multiboot handle it automatically:
dpkg -i /home/user/MyDocs/.nitdroid/multiboot-kernel-power_0.3_armel.deb

Using NITdroid

Hardware keys are assigned as follows:


Lock switch - Menu Camera(half) - Back Camera(full) - Home Power - Lock Power(hold) - Power options

Updates
You will be notified of updates in Maemo by the means of automatic checks, if you suspect that you have not been notified of the latest version you can manually query for updates by selecting Update in the Application Manager in Maemo.

You might also like