maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Android (https://talk.maemo.org/forumdisplay.php?f=54)
-   -   [Android] Guide to getting NITdroid to run. (https://talk.maemo.org/showthread.php?t=25736)

munkimatt 2009-01-12 22:35

Re: Guide to getting NITdroid to run.
 
Quote:

Device Boot Start End MiB #blocks Id System
/dev/sdf1 0+ 1919 1920- 1966079+ 83 Linux
/dev/sdf2 0 - 0 0 0 Empty
/dev/sdf3 0 - 0 0 0 Empty
/dev/sdf4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Do you want to write this to disk? [ynq] y
Successfully wrote the new partition table

Re-reading the partition table ...

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
umount: /dev/sdf1: not mounted
Creating filesystems...
mkfs.msdos 2.11 (12 Mar 2005)
umount: /dev/sdf3: not found
mke2fs 1.41.3 (12-Oct-2008)
Could not stat /dev/sdf3 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
Filesystems created...
mount: special device /dev/sdf3 does not exist


(SKIPPING FILE EXTRATCION TEXT HERE)

umount: /mnt: not mounted
Now flashing...
Unplug your tablet from all power sources and USB connections.
Plug in the USB cable without turning on the tablet.
Next, turn on the tablet with the USB cable plugged in by pressing
and holding the Home and Power buttons.
flasher v0.9.0 (Jan 19 2007)

Suitable USB device not found, waiting
USB device found found at bus 005, device address 023
Found device RX-44, hardware revision 0801
NOLO version 1.1.16
Version of 'sw-release': RX-44_DIABLO_5.2008.43-7_PR_MR0
Sending kernel image (1711 kB)...
100% (1711 of 1711 kB, avg. 11971 kB/s)
Flashing kernel... done.
The device is now in R&D mode
Beginning cleanup...
Cleanup complete.
matt@matt-desktop:~/Desktop$
Anyone else getting the feeling that the bit I've underlined is where I'm getting the problem...

BrentDC 2009-01-12 22:51

Re: Guide to getting NITdroid to run.
 
Hi,

Yeah, the underlined part seems to be the problem...

I am not familiar enough w/ Jake's script to tell you what went wrong with it, but I can tell you the way I got Android working:

Installed Gparted and partitioned my 2gb sd card as 1gb fat, 8mb unformatted, 1gb ext3.
Gained root in the terminal and moved rootfs tar to my ext3 partition. Untarred it, then flashed the Android kernel w/ flasher-3.0.

Instructions on the needed commands are on the NITdroid homepage.

And viola! It worked.

munkimatt 2009-01-12 22:56

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by BrentDC (Post 256996)
Hi,

Yeah, the underlined part seems to be the problem...

I am not familiar enough w/ Jake's script to tell you what went wrong with it, but I can tell you the way I got Android working:

Installed Gparted and partitioned my 2gb sd card as 1gb fat, 8mb unformatted, 1gb ext3.
Gained root in the terminal and moved rootfs tar to my ext3 partition. Untarred it, then flashed the Android kernel w/ flasher-3.0.

Instructions on the needed commands are on the NITdroid homepage.

And viola! It worked.

I'll tell you something, this is one hell of a way to learn how to use Linux!

Benson 2009-01-12 23:06

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by jakemaheu (Post 251617)
Now, to partiton, enter the following.
Code:

sudo sfdisk -uM /dev/sdc
,1024,C
,1,L
,,
,,

Then, when it asks whether or not to proceed, simply enter:
Code:

y
It will create partitons-- 3 of them.

From a glance at the script, it appears that the script still pauses to let sfdiskread from the console, so you should enter a partition table like (but adapted to your SD card size):
Code:

,1024,C
,1,L
,,
,,

It looks like you used the whole disk as partition 1, when you need three separate partitions as indicated...

munkimatt 2009-01-12 23:53

Re: Guide to getting NITdroid to run.
 
Yes, got it working! Cheers guys :)

jakemaheu 2009-01-16 03:44

Re: Guide to getting NITdroid to run.
 
Sorry I've been gone, I'm getting ready for midterms.

Yeah, you need to create 3 partions still. Also, yes. this was one hell of a way to learn Linux commands.

I want to thank lcuk for the sfdisk command that allowed me to run it and simultaneously run a umoumt after 10 seconds. Friggin' Ubuntu automounting.

EasternPA 2009-01-16 21:55

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by jakemaheu (Post 257981)
Sorry I've been gone, I'm getting ready for midterms.

Yeah, you need to create 3 partions still. Also, yes. this was one hell of a way to learn Linux commands.

I want to thank lcuk for the sfdisk command that allowed me to run it and simultaneously run a umoumt after 10 seconds. Friggin' Ubuntu automounting.

Don't know if this subtopic is still hot, but I did my conversion under CentOS 5 (actually my Rocks Cluster frontend). I had an issue where after running sfdisk I couldn't format the partitions until I disconnected and reconnected the cable from the NIT. Once I did that, my PC rescanned the Nokia and detected the new partitions, after which I was able to format. Also, the card came in as /dev/sda not /dev/sdc as it appears Ubuntu would have seen it.

rcadden 2009-01-23 03:27

Re: Guide to getting NITdroid to run.
 
I just did this on my N800, and was unable to get the onscreen keyboard to work. After chatting with Vid and solca on IRC, we figured it out:

Assuming you can boot into Android, and that adb works, you need to download v0.3.2 of the rootfs here: http://guug.org/nit/nitdroid/rootfs-...-0.3.2.tar.bz2. Untar this into a new directory.

Then, with the tablet connected, run:

[quote]sudo ./adb push rootfsnitdroid /nitdroid[\quote]

where 'rootfsnitdroid' is the subdir where you untar'd it. You should get a few error messages on the tablet while it's running, just ignore them. When the terminal stops working, disconnect and reboot, and wa-la!

namtastic 2009-01-23 12:46

Re: Guide to getting NITdroid to run.
 
For those of us who are willing to wipe new hardware, couldn't there be a single flashing image that could set everything up? (I'm sure I'm missing something, but when I flash OS2008 it modifies the file system too.) I know there's a lot of talk about back and forth, but seeing that the N810 is going for like $210 new, should there be a way to just "slap" NITdroid onto a device without having to worry about "dual-booting?"

jakemaheu 2009-01-23 20:05

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by namtastic (Post 259466)
For those of us who are willing to wipe new hardware, couldn't there be a single flashing image that could set everything up? (I'm sure I'm missing something, but when I flash OS2008 it modifies the file system too.) I know there's a lot of talk about back and forth, but seeing that the N810 is going for like $210 new, should there be a way to just "slap" NITdroid onto a device without having to worry about "dual-booting?"

I don't know right now (I'll look at the documentation later), but it should be possible to pack the kernel and rootfs into one bin. I wouldn't bother, personally, as Solca releases new ones so often.


All times are GMT. The time now is 22:29.

vBulletin® Version 3.8.8