View Single Post
Posts: 17 | Thanked: 22 times | Joined on Jun 2012
#125
ANOTHER NEWBIE TUTORIAL FOR OFFLINE INSTALLING

I had problems with offline installing, i.e it didn't automatically find the files even when I put them in .nitdroid folder. So here is my way for offline installing.

NOTE: There is a NEWER VERSION of nitdroid-installer here, still not in repositories. But I haven't checked it. Maybe that is easier than this one, I haven't tried. However this one simply works.

Download N12_UMay.tar.bz2 from here and RC7 kernel from here (I didn't check the final1 kernel btw).
Put them in MyDocs (i.e 27 GiB "usb flash drive").

Create a file named nitdroid.manifest in the same MyDocs folder (if you're under windows make sure there isn't .txt extention there) with these contents:

Code:
# Root filesystem tar balls
rootfs		file:///home/user/MyDocs/N12_UMay.tar.bz2					a5846b46bce11bebbe3d3b0dab1663d6

# Deb packages
package		file:///home/user/MyDocs/nitdroid-kernel-2.6.28-07_7-rc7_armel.deb		22b5eb2a0047bf131898a90774a70912
Make sure the MD5 of the files you downloaded matches the ones in the nitdroid.manifest file.

You need rootsh for the apt-get and sudo gainroot commands below. Install it from app manager or transfer its deb file to your N900 and install it.

Do the rest on your N900.
Now install nitdroid-installer (sudo gainroot then apt-get install nitdroid-installer). It's in Extras-devel (read here). This installs version 2.6. Open the file /usr/bin/nitdroid-installer with your favorite editor and go to line 390. (My favorite editor was nano, so you'll do it this way: apt-get install nano then sudo gainroot then nano /usr/bin/nitdroid-installer then press Ctrl + Blue Arrow + G type 390 and ENTER. In those lines you see if !check_md5 $file blah blah blah. Comment the next 4 lines by putting # marks at the start of the line. So it should like:

Code:
#            if !check_md5 $file $sum
#            then
#                FAIL "blah blah blah"
#            fi
Don't touch the other lines.

Now you're ready. Have an SD card inserted, in the terminal type sudo gainroot then nitdroid-installer file:///home/user/MyDocs/nitdroid.manifest (notice 3 slashes) and answer YES in upper case and enjoy.

Last edited by Hossein; 2012-09-21 at 11:17.