Nitdroid easy install on EMMC
m (url to custom eMMC) |
m (→Clean Installing of NITDroid: there are could be item of diffrent versions (06,07)) |
||
Line 68: | Line 68: | ||
<li> | <li> | ||
Edit the boot file: | Edit the boot file: | ||
- | <pre>leafpad /etc/multiboot.d/11-NITDroid-mmcblk0p2-2.6.28.NIT. | + | <pre>leafpad /etc/multiboot.d/11-NITDroid-mmcblk0p2-2.6.28.NIT.</pre> |
(then tap the tab button, .item file will show, hit enter to open it in Leafpad).<BR><BR>Edit <code>ITEM_DEVICE</code> in the file according to this: | (then tap the tab button, .item file will show, hit enter to open it in Leafpad).<BR><BR>Edit <code>ITEM_DEVICE</code> in the file according to this: | ||
<ul> | <ul> | ||
Line 91: | Line 91: | ||
Close X Terminal, reboot N900 and type ‘2’ for NITDroid. | Close X Terminal, reboot N900 and type ‘2’ for NITDroid. | ||
</ol> | </ol> | ||
- | |||
====Upgrading from Previous Versions of NITDroid==== | ====Upgrading from Previous Versions of NITDroid==== |
Revision as of 19:50, 22 July 2011
Some instructions here may cause serious problems. When unsure, see General precautions Backing up your data is recommended. In case of trouble you might need to re-flash your device. |
Under heavy construction |
Contents |
Installing NITDroid
This tutorial is specifically designed to install Nitdroid on the internal memory of the N900 (EMMC) and does not apply to installation on an external micro SD card. The main purpose of installing Nitdroid on the internal memory is that in most cases you will see an increased performance.
There are two ways of installing NITDroid:
1. Copy NITDroid's rootfs to /and in /home: Easier - Faster
2. Creating a custom 2GB partition on your eMMC: Cleaner - Requires a brain
Method 1
NOTE: It is highly recomended that you flash the modded 8GB 20GB eMMC image. Nitdroid won't recognize/use/install anything if you have low memory in mmcblk0p2.
Clean Installing of NITDroid
- Download the archive + the kernel to /MyDocs i.e. root dir. of N900:
- Enable all repositories from App manager (Extras-testing, Extras-devel, Extras and the default Nokia repos)
- Install Leafpad from the App manager and make sure that you have root access
-
Close App manager, open X Terminal and execute the following commands:
root apt-get update apt-get install nitdroid-installer y y again if it asks again.
- After the nitdroid-installer package is installed, close X Terminal, but do NOT run the installer you have just downloaded.
-
Open X Terminal, and execute the following commands:
root cd /home/user/MyDocs bzip2 -d nitdroidarchivename.tar.bz2
(You can only uncompress the file once. So only do this step once!)
-
Open X Terminal (or use the same xterm as you used for the previous step), and execute the following commands:
cd /home mkdir /and cd / mount /home /and cd /and tar xvf /home/user/MyDocs/nitdroidarchivename.tar dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
-
Edit the boot file:
leafpad /etc/multiboot.d/11-NITDroid-mmcblk0p2-2.6.28.NIT.
(then tap the tab button, .item file will show, hit enter to open it in Leafpad).
EditITEM_DEVICE
in the file according to this:-
If you have an MMC (micro SD card) plugged in your N900, change
ITEM_DEVICE
to this:ITEM_DEVICE=${INT_CARD}p2
-
If you don't have an MMC plugged in your N900, change
ITEM_DEVICE
to this:ITEM_DEVICE=mmcblk0p2
-
If you have an MMC (micro SD card) plugged in your N900, change
- Once editing is complete click the drop down menu on Leafpad and save then close Leafpad.
- Close X Terminal, reboot N900 and type ‘2’ for NITDroid.
Upgrading from Previous Versions of NITDroid
Note: CLEAN INSTALL IS HIGHLY RECOMMENDED. You have been warned.
- Download the image + the kernel to /MyDocs i.e. root dir. of N900:
-
Open X Terminal, and execute the following commands:
root cd /home/user/MyDocs bzip2 -d Nitdroidarchivename.tar.bz2 cd / mount /home /and cd /and tar xvf /home/user/MyDocs/Nitdroidarchivename.tar dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
Reference Installation Videos:
-
Reference installation video:
http://www.youtube.com/watch?v=Bm6spW5yadk
-
Reference installation video (version 2, using N11 "Vostok"):
http://www.youtube.com/watch?v=uMHxo1ALXNE
Method 2
As said before, this requires a brain and a bit of concentration, follow step-by-step, and use some logic.
NOTE: This will wipe all of your data, please BACKUP necessary data first.
- Download the archive + the kernel + Fdisk to /MyDocs i.e. root dir. of N900:
- Enable all repositories from App manager (Extras-testing, Extras-devel, Extras and the default Nokia repos)
-
Install Fdisk by executing the following commands in Xterminal:
root mkdir -p /home/user/util-linux /home/user/bin cp /home/user/MyDocs/util-linux_2.13.1.1-1_armel.deb /home/user/util-linux cd /home/user/util-linux dpkg-deb -x util-linux_2.13.1.1-1_armel.deb root cp root/sbin/fdisk /home/user/bin/ cd .. rm -rf util-linux
-
Unmount designated partition (./MyDocs):
umount /home/user/MyDocs
-
Launch Fdisk:
/home/user/bin/fdisk /dev/mmcblk0
-
Print your current partition table:
p
This table should show up:
Device Boot Start End Blocks Id System /dev/mmcblk0p1 2 884865 28315648 c W95 FAT32 (LBA) /dev/mmcblk0p2 884866 950401 2097152 83 Linux /dev/mmcblk0p3 950402 974977 786432 82 Linux swap / Solaris
-
Delete partition 1 (./MyDocs):
d 1
-
Create new re-sized primary partition:
n p 1 First cylinder: 2 Last cylinder: 800000
-
Create new extended partition:
n e First cylinder: 800001 Last cylinder: 884865 n First cylinder: 800001 Last cylinder: 884865 t 1 76 t 5 76
-
Point of no return - writing the table and syncing:
w reboot
-
After the reboot, return ./MyDocs back and format the new NITDroid partition by executing these:
root /home/user/bin/fdisk /dev/mmcblk0 t 1 0c w mkfs.vfat -F 32 /dev/mmcblk0p1 mke2fs -L NITDroid -j -m0 /dev/mmcblk0p5 reboot
If your device still has a flash memory on it, then lift your shoulders up as the hard part is gone!
-
Install Nitdroid on the new partition:
apt-get update apt-get install nitdroid-installer mkdir -p /and mount -o noatime,rw /dev/mmcblk0p5 /and cd /home/user/MyDocs rm -rf /and/* bzcat Nitdroidarchivename.tar.bz2 | tar xvC /and dpkg -i nitdroid-kernel-2.6.28-07_rc4_armel.deb reboot
Uninstalling NITDroid
Method 1
Open X Terminal and type the following commands:
root mount /dev/mmcblk0p2 /and -o noatime nitdroid-uninstaller
After it completes, using filebox, delete nitdroid's installation folders and files that were copied to home: bin, data, dev, etc (symlink), initrd, lib (symlink), mnt, proc, sbin, sdcard, sys, system, tmp, usr,default.prop, init, init.nokia.rc, init.rc
Method 2
Open X Terminal and type the following commands:
root mount -o noatime,rw /dev/mmcblk0p5 rm -rf /and/*
Then uninstall multiboot by anyway you prefer.