![]() |
[Android] Guide to getting NITdroid to run.
NEWS: I've written a script that does everything!
NOTE: THIS GUIDE IS FOR THE N800. Alright guys, I know quite a few people are having trouble getting Solca's NITdroid port to work, so here's a nice guide I decided to put together. Also, before you start, BACKUP YOUR DATA! You need to backup the data on your tablet and your internal SD card. PREREQUISITES:
Now, assuming you have all of those, we can proceed. For this tutorial, we'll use the example of a 2GB SD card. Step 1: Acquire the files. Note: Download all files into the same directory. For the purpose of this tutorial, we'll use '/home/paul/Desktop/'. Go to guug.org/nit/nitdroid/ and download the following:
Now, go to http://tablets-dev.nokia.com/d3.php and download 'flasher-3.0-static' to the same directory. NEW: I've written a quick script for downloading all of the files. You'll need to go in and make it executable with: Code:
chmod a+x Code:
./nitdroid_downloader.sh Step 2: Create a filesystem. First, remove your external SD card. Then, turn on the tablet and then plug the usb cable into it. Once the computer detects and registers the tablet, open a terminal and type: Code:
dmesg Code:
[ 813.234547] scsi 5:0:0:1: Direct-Access Nokia N800 031 PQ: 0 ANSI: 2 Code:
[ 813.270464] sdc: sdc1 Before you create a filesystem, go to the terminal and check where the drive is mounted: Code:
mount Code:
/dev/sdc1 on /media/disk-1 Next, to unmount the card, run: Code:
sudo umount /dev/sdc1 To double check, type: Code:
mount Now, to partiton, enter the following. Code:
sudo sfdisk -uM /dev/sdc Code:
y Your OS will likely automatically remount them, so once they are created, you'll run these commands: Code:
sudo umount /dev/sdc1 Step 3: Extracting the filesystem. To actually create the filesystem, you'll do this: Code:
sudo mount -t ext3 /dev/sdc3 /mnt Code:
cd /mnt To extract the rootfs onto the partition, enter: Code:
sudo tar -xjpvf /home/paul/Desktop/rootfs-nitdroid.tar.bz2 Code:
ls -a Next, run these commands: Code:
cd .. Step 4: Flash the kernel. Finally, you're almost done! Now, use this: Code:
cd /home/paul/Desktop/ To flash the kernel, use the following command: Code:
./flasher-3.0-static -f -k zImage-nitdroid-n8x0 --enable-rd-mode -R This flashes the NITdroid kernel and activates R&D mode, then restarts the tablet. After it completes, unplug the USB cable and wait. You will see the Nokia logo screen with a little tablet beneath it. Next, the screen will turn black and then to the NITdroid logo. After this, it will flash black again and turn into a pulsating NITdroid logo. It will stay here for a few minutes, and then boot into Android. EDIT: I have written my second script. This will automatically flash the kernel when run. You will need to make it executable, as with the downloader. It is now downloaded when you use the downloader script. To invoke it, run: Code:
./nitdroid_flasher It will be located in the 'nitdroid' directory on your Desktop. Now, to get ADB working. To extract it, you use: Code:
bunzip2 adb.bz2 Code:
chmod a+x adb Code:
sudo ./adb command The hardware keys won't work, so to make them work, use the following commands. Code:
sudo ./adb push Internal_keypad.kl /system/usr/keylayout Code:
paul@paul-laptop:~/Desktop/android$ sudo ./adb push Internal_keypad.kl /system/usr/keylayout DISCLAIMER: I TAKE NO RESPONSIBILITY FOR THE CONSEQUENCES OF HUMAN ERROR. DOING THIS INCORRECTLY MAY CAUSE YOUR TABLET TO IMPLODE, A HOBO TO SODOMIZE YOUR DOG AND GRANDMOTHER, OR LCUK TO BURN HIS HAND MAKING BACON AGAIN. Credit goes to:
EDIT: I am in the process of writing a few scripts to automate this process. EDIT 2: Downloader script done! You can download it at the top of this post. EDIT 3: Flasher script done! When you use the downloader script, it is automatically downloaded. |
Re: Guide to getting NITdroid to run.
Thanks for posting the Guide, it is what I have been hoping for.
I am well placed, having a few spare SD cards and a partition running Ubuntu, so I shall give it a try shortly when I can pluck up the courage and necessary focus. In the meantime, user contributions posted here about their experiences will help fortify my resolve and save me from the embarrassment of asking dumb questions. I really want this to work. |
Re: Guide to getting NITdroid to run.
To unzip and use the ADB, these are the commands:
Quote:
Quote:
Besides, why you specified this works only for N800 ? These are the very same steps needed for the N810, right? |
Re: Guide to getting NITdroid to run.
So, is anyone working on a nice simple GUI wizard for this? Or is NITdroid not at the point yet where this high(ish) barrier to entry is a Bad Thing?
|
Re: Guide to getting NITdroid to run.
I was just going to ask for a completely new thread like this!
Is there also a pros and cons of NITDroid somewhere? e.g. Cons: no onscreen keyboard (is this true?), no Maemo access without taking drastic steps, RD mode (downsides?), no SSU Pros: A next-gen environment, Java, more apps, etc. Will this result in an actual first- or second-tier Android platform? Or would it be foolish to, for example, buy things from the Android market? Thanks again. |
Re: Guide to getting NITdroid to run.
Quote:
|
Re: Guide to getting NITdroid to run.
Quote:
|
Re: Guide to getting NITdroid to run.
Quote:
|
Re: Guide to getting NITdroid to run.
Quote:
Quote:
The advantage of a script - even on a Linux computer - is there's less chance of error and it makes support easier as you know how people have installed things. Certainly, if a user isn't paying attention in the steps above - and they use a SCSI or SATA drive - they could end up repartitioning one of their existing disks, rather than the SD card. Similarly, it could detect the sizes and suggest partioning schemes etc. |
Re: Guide to getting NITdroid to run.
Quote:
EDIT: It's not that it isn't ready for the masses-- it runs quite well (with a couple exceptions), but you need to be careful when flashing and such. |
All times are GMT. The time now is 04:02. |
vBulletin® Version 3.8.8