How to install NITDroid on the Internal EMMC? (advanced users)
We’ve been looking on how to overclock NITDroid on the Nokia N900, but there have been many guides to install the NITDroid which is the Android port for the N900 on the memory card. Installing it on the EMMC which is also the internal memory would increase the running speed on the N900 itself. So today I’m gonna show you guys how to install the NITDroid directly onto the internal EMCC itself with explanations.
1. First you would need to install all these for it to work
rootsh from application manager and wget from the following command in X-Terminal
apt-get install wget
2.Make sure you have backed up all your necessary datas just in case you screw up as we are dealing with the internal EMMC.
3.Next is obtaining fdisk which is also the formatting disk utility. To get this type the following command in X-Terminal followed by a enter after each line of command
mkdir -p /home/user/util-linux /home/user/bin
cd /home/user/util-linux
wget http://ftp.de.debian.org/debian/pool/main/u/util-linux/util-linux_2.13.1.1-1_armel.deb
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
NOTE: note that the second last command is ” cd then 2 full stops”
4. This will put fdisk in /home/user/bin/fdisk
5. Unmount /home/user/MyDocs using the following command
umount /home/user/MyDocs
6. Launch fdisk and telling it which MMC to use using the following command. mmcblk0 is the main internal EMMC
/home/user/bin/fdisk /dev/mmcblk0
7. Press p and this would list the following. Note that it might differ from those who are had partitioned their EMMC before and also using a memory card in their device
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
8. /dev/mmcblk0p1 is the 27gb /home/user/MyDocs and this is the one we will be resizing.
9. Follow this commands closely
press “d” then it will ask which partition then press “1″ and enter
then press “n”
then “p” for primary partition
then it will ask start and end
start “2″
end “622721″
then press “n”
then press “e” for extended partition
then press “4″ for partition 4, we already have 2, and 3 so 4 is next.
start “622722″
end “884865″ (bigger or smaller depending on size you want)
then press “n”
then press “5″
start “622722″
end “775310″ (can omit to 884865 for making only 1 extra partition for 8gb) this will be /dev/mmcblk0p5 (5gb)
press “n” if you want then start be “775311″ and end be “884865″ (3gb) this will be /dev/mmcblk0p6
press “t”
then “1″
then type in “76″
repeat “t” for 5 and 6 to “76″
This is the last bit before the point of no return, after we do this the memory will be wiped and new partition table will be used. so you can press “q” to quit without saving.
10. Press “p” to see if everything is correct you should see this
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2 622721 19927040 76 Unknown
/dev/mmcblk0p2 884866 950401 2097152 83 Linux
/dev/mmcblk0p3 950402 974977 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 622722 884865 8388608 5 Extended
/dev/mmcblk0p5 622722 775310 4882840 76 Unknown
/dev/mmcblk0p6 775311 884865 3505752 76 Unknown (may not be there if you omit the 2nd partition before)
11. If everything looks the same and good then press “w” this will write the table and can’t return from here.
12. We then need to reboot the device to pick up the new partition table. Should be at terminal root command and type in “reboot” and let phone reboot.
13. need to run fdisk again and change partition back to 0c.
/home/user/bin/fdisk /dev/mmcblk0
press “t”
press “1″
type in “0c”
then press “w”
14. Should be in the terminal and need to format the partition to fat32
mkfs.vfat -F 32 /dev/mmcblk0p1
15. Reboot your phone and mount the /home/user/MyDocs using the following commands in X-Terminal
root
mount /home/user/MyDocs
16. Time to format the partition that you just resized
mke2fs -L NITDroid -j -m0 /dev/mmcblk0p5
17. Time to get the necessary files for installation
apt-get install nitdroid-installer
18. Once done it will have installed multiboot and other apps needed for this.
19. Now we going to create a directory and mount the mmcblk0p5 to this directory and download NITDroid package
mkdir -p /and
mount -o noatime,rw /dev/mmcblk0p5 /and
cd /home/user/MyDocs
wget http://downloads.nitdroid.com/e-yes/NITDroid-0.0.9.tar.bz2
rm -rf /and/*
bzcat NITDroid-0.0.9.tar.bz2 | tar xvC /and
20. Now we going to get the NITDroid kernel and install it. This will also create your multiboot file and everything so no need to create it yourself. If you have installed it on the memory card previously, just do the dpkg command.
wget http://downloads.nitdroid.com/Jay-c/kernel/nitdroid-kernel-2.6.28-06_final1_armel.deb
dpkg -i nitdroid*deb
21. Unmount /and and reboot using the following command
cd /
umount /and
reboot
22. Remember to slide keyboard open when turning on the phone to select the NITDroid boot.
23. For those having the guru meditation error when booting into NITDroid, boot back into Maemo and ssh into your phone and go to /etc/multiboot.d edit the NITDROID multiboot item to
ITEM_NAME=”NITDroid 2.6.28.NIT.06 no SD in slot”
ITEM_KERNEL=2.6.28.NIT.06
ITEM_MODULES=ext3
ITEM_DEVICE=mmcblk0p5
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro
24. Hope you get the installation guide well. NOTE ONLY FOR ADVANCED USERS!



Leave your response!