Closed Thread
Thread Tools
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#1
This thread has been started to help members install Android on their N900 and to (attempt) to help answer questions and solve some issues.

This is not a thread for Bugs - All bugs should be report @: bugs.nitdroid.com


Now onto setup and installation!!

At this point, please keep the Android partition under 2GB.
Don't worry about the smaller size as Android has access to your

Any 'code' boxes are what you need to enter in xterm/ssh and should be entered one line at a time followed by enter/return key

pre 1: you must be root for these steps so do this first:
Code:
Code:
root
pre 2: bootmenu-n900 is not compatible and must be removed also:
Code:
Code:
apt-get remove bootmenu-n900
1. Lets download the required files:
If you wish to download from primary server (downloads.nitdroid.com) commands are below:
Feel free to copy and paste
Code:
For the files2 mirror the commands are :
Code:
if you have a MultiBoot version other than 0.2.5 Installed currently please perform the below otherwise proceed immediatly to step 3,

2.
Download this file into /home/user:

Code:
Then run this as root On the device:
Code:
Code:
cd /home/user
tar xzvf remove-multiboot-0.1.x.tar.gz
chmod +x multiboot-remove
./multiboot-remove
rm multiboot-remove
rm remove-multiboot-0.1.x.tar.gz
Also, if you don't use Titans power37 kernel, you can manually delete the files:
Code:
Code:
rm /boot/vmlinuz-2.6.28.10power37
rm -r /lib/modules/2.6.28.10power37
3. Now lets get down to actually installing things starting with Multiboot:

Code:
Code:
dpkg -i /home/user/MyDocs/multiboot-extras_0.1_armel.deb
dpkg -i /home/user/MyDocs/multiboot_0.2.5_armel.deb
Thats the new Multiboot installed

4. Next up lets partition that MicroSD: first a bit of background info though
* NITDroid MUST be installed to a ext3 that is SMALLER than 2GB.

* The Rest of your memory card will be usable by Maemo totally normally but the nitdroid partition is not seen in file manager etc

* You need to decide how to best partition YOUR card, i personally have my card partitioned as ~6gb fat32 and rest (~1.9gb) as ext3

* Some suggested size ratios are (in MB fat32/ext3 layout): 2GB: 100/1900, 4GB: 2100/1900, 6GB: 4100/1900 8GB: 6100/1900, 16GB: 14100/1900, 32GB: 30100/1900

* in below command REPLACE the <SIZE> text with your choosen fat32 size

This can also still be completed using a Linux box and fdisk/Gparted and or mke2fs -j -m0 -L NITDroid /dev/sdb2 via terminal.

ignore errors when running umount its normal sometimes

Code:
Code:
umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,<SIZE>,C
,,L
,,
,,
EOF
Its always smart to REBOOT your n900 now to apply any partition changes so do that now by issuing the reboot command

5. Once your n900 is back up lets continue:
Old NITDroid users THIS IS REQUIRED for you aswell (well formating ext3 is not the vfat one)
Code:
Code:
umount /dev/mmcblk1p1
mkfs.vfat /dev/mmcblk1p1 -n sdcard
mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2
6. Thats the 2 partitions formatted. maemo should now be able to use the fat32 one. next lets mount the ext3 partition and install then extract required files:

Code:
Code:
cd /
mkdir /and
mount -t ext3 -o noatime,rw /dev/mmcblk1p2 /and
cd /home/user/MyDocs
bzip2 -d NITDroid-N900-the-flying-world.tbz2
cd /and
tar xvf /home/user/MyDocs/NITDroid-N900-the-flying-world.tar
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-05_final1_armel.deb
7. Now you should have most of nitdroid setup but you cant boot anythign as multiboot doesnt have an item file yet , lets go create that now

Code:
Code:
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
Write ITEM_DEVICE=\${EXT_CARD}p2 correctly and don't forget the =\$.

thats the item file built

finally: dont forget to umount android partition:
Code:
Code:
umount /dev/mmcblk1p2
8. that should be everything done, simply reboot with keyboard open to test

9. IF YOU USE Titans excellent power kernel then you need to do the following also :

Code:
Code:
cd /home/user/MyDocs
wget http://downloads.nitdroid.com/Jay-c/...power37.tar.gz
cd /
tar xzvf /home/user/MyDocs/multiboot-power37.tar.
Edit:

I have been requested to add more to this (requested by: Bec) as many people are needing this:



ok no more reboots but first nitdroid boot stops after
Code:

battery init with a _


Try to re-extract the rootfs...

Just do these steps again as root:

Code:

mount /dev/mmcblk1p2 /and
cd /and
rm -rf *
tar xvf /home/user/MyDocs/NITDroid-N900-the-flying-world.tar

Please add this to the first post in [Android] NITDroid V2 Help/Tutorial Topic - Updated since it seems most of the installs end with the stuck cursor issue.

Yes, you may press the "Thanks" button



Edit: Please be mindful that none of this would be possible without all the hard work provided by: dj_steve, eyes, Jay-c and all else involved.
Also, Bec for the extra help other's needed.
Thanks for your hard work getting Android to work! THANKS!

Last edited by kingoddball; 2010-08-14 at 08:39. Reason: Updates - LONG OVERDUE
 

The Following 137 Users Say Thank You to kingoddball For This Useful Post:
aanckar, adamFsmith, agogo, ahmadamaj, ahmadka, Ait, alienhead, AlMehdi, anapospastos, Anarae, andrew_85, artron, AsiQue, atifhasan86, atilla, avinashsonee, Azure, b-man, bakuur, Bec, bingbings, borghal, browncaravan, bunanson, byte_76, cardiff-blues, casper27, CepiPerez, Chrome, Cobra, Coffee, cranc, crazy_agent, Crugath, Cue, CYPHERC, dabozz, dana.s, Dany-69, Darkmew, DaSilva, datjomp, dbrodie, Descalzo, devu, donaggio, Duke, e-yes, EE3547, egrims, Ehamloptiran, Enni, esthreel, fieryriver, Fumanchu, Fötus, ghzroy, gixx, gsever, hannu.mikkola, hardkorek, HellDragon, HellFlyer, Hmoobwarrior, ironm8, ivsu, jaimex2, Jef91, jkhilton, junionwoon, kamil365, kishan, kornolio, kulas, lachok, leetut, legendsohai, lostinmirkwood, ma-3x, Magik, Maj3stic, makel, Marklar, martie1, mikec, mike_shenoda, moepda, moparman, MrGrim, mrp, mr_xzibit, netoak, nikigo, nikul.padhya, NokiaRocks, OptX, OVK, pantera1989, PePPeN20, PhonoN900, qosmio, ramoncio, raven, RAZOR, redatim, rkstarnerd, rusban, saadgadit, sak500, scottadamsjnr, SimonGie, sky4vip, slender, Smooth-op, snookh, soredawg, stone17, Straycat, sula, teh, thundead, titi974, tlex26, Trestry, vabgeo, vkv.raju, Vormulac, wolverine, wotevah, xomm, yorg, Zelig87, Zibeb, ZogG
Posts: 17 | Thanked: 4 times | Joined on Jun 2010
#2
Very nice tutorial, thanks!
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#3
I've made an tutorial with screenshots which hopefully is a bit more noob-friendly, you can find it here: http://wiki.nitdroid.com/index.php?title=N900-install

Last edited by ToJa92; 2010-06-18 at 17:14.
 

The Following 19 Users Say Thank You to ToJa92 For This Useful Post:
Descalzo's Avatar
Posts: 369 | Thanked: 167 times | Joined on Mar 2010
#4
I've been instructed to post about app-installation problems in this thread, so here goes:

I've been reading up on why some people can't install apps and some people can. This is particularly odd because we all seem to be following the same directions.

I looked at one forum (http://forum.xda-developers.com/show...00154&page=332) and they said to try to install to a partition smaller than 2GB and see if that helps. I'm about to try that.

But I think it would be helpful if people told their partition sizes.
__________________
N900
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#5
I have a (8GB - 100MB) ext3 partition, I think I have ~5.3GB free memory on that partition.
 
Descalzo's Avatar
Posts: 369 | Thanked: 167 times | Joined on Mar 2010
#6
I shrunk my partition to just under 2GB and I can now install. I posted this in both threads. Sorry if that's a no-no, but I'm still used to the Development thread.
__________________
N900
 

The Following User Says Thank You to Descalzo For This Useful Post:
Descalzo's Avatar
Posts: 369 | Thanked: 167 times | Joined on Mar 2010
#7
Thanks for the tutorial. I'm going to refer my brother to it tonight (he also has the N900).

But you may want to add the part about sound.
__________________
N900
 

The Following User Says Thank You to Descalzo For This Useful Post:
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#8
This is a weird issue... It shouldn't have to be under 2GB..
May be a bug?

All of the Android settings (app settings) get saved to my N900 eMMC (MyDocs). Maybe it is not mounted in your setup? (should be automatic)

Thanks for that - I forgot about sound
 
Posts: 194 | Thanked: 1,019 times | Joined on May 2010 @ Moscow, Russia
#9
Originally Posted by kingoddball View Post
Edit: DJ_Steve has done all the hard work getting Android to work! THANKS!
Why not to recall person who made initial Android port?
(BTW, I bought N900 only after Proof-Of-Concept arrived)
Why not recall person who made dualboot/wifi/sound?
 

The Following 10 Users Say Thank You to e-yes For This Useful Post:
Posts: 120 | Thanked: 13 times | Joined on May 2010 @ turkey
#10
Sd card(2GB) in windows xp How do section.
 
Closed Thread

Thread Tools

 
Forum Jump


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