maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] NITDroid V2 Help/Tutorial Topic - Updated (https://talk.maemo.org/showthread.php?t=56524)

cardiff-blues 2010-07-14 10:56

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ok 4GB card just arrived in post and now am gonna have a got at this today.

Ayle 2010-07-14 11:43

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Will it eventually be possible to just single boot?

titi974 2010-07-14 11:53

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
re typing here as no one anszers me -_-"

Quote:

okay, hello all, i was away for a while and i just installed the earlier NiTDroid build. All i can say is that it was very simple and fast ^^ but i have to say that it is very slow compared to eclair's build =S
and as already mentionned i think we can't mount the eMMC for now... but hey, good point for me as before android wouldn't even recognise it lool

and last thing : is there a way to re-map the keys ? i mean as i've a german keyboard on it, it is "qwertz" and not "qwerty" ... so i'd love to help you with the globalisation of keyboards

Ayle 2010-07-14 13:39

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by titi974 (Post 751396)
re typing here as no one anszers me -_-"

That's the keyboard mapping file: http://downloads.nitdroid.com/omap_twl4030keypad.kl . Modify it And just save it in /system/usr/keylayouts on the uSD card. Should be fairly straight forward.

cardiff-blues 2010-07-14 13:41

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ok anyone know the most up to date tutorial for installing android? I have a brand new 4gb card and would like to have a go.

Dousan 2010-07-14 14:07

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by cardiff-blues (Post 751509)
Ok anyone know the most up to date tutorial for installing android? I have a brand new 4gb card and would like to have a go.

If you don't mind xterm and doing it all on your N900 with one window open in the web browser and another window in xterm and then just copy paste, i would go for this one:
http://wiki.nitdroid.com/index.php?title=N900-install

cardiff-blues 2010-07-14 14:10

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I'll give it a go :)

cardiff-blues 2010-07-14 14:43

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Got to here in those instructions:

mke2fs -j -m0 /dev/mmcblk1p2

Then got this error:

Could not stat /dev/mmcblk1p2

No such file or directory

Dousan 2010-07-14 14:56

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
try this code, it's from another guide on how to partition on N900...

mke2fs -j /dev/mmcblk1p2 -m0

Or just try this link:
http://talk.maemo.org/showpost.php?p...postcount=1278
But dont mount the ext3 partition like this guide says, do like the NITdroid install ;)

Or try to redo it the first way :)

cardiff-blues 2010-07-14 15:15

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ok tried this but still failing. I have a brand new 4GB card as well.

Code:

/home/user # umount /dev/mmcblk1p1
umount: cannot umount /dev/mmcblk1p1: Invalid argument
/home/user # sfdisk -uM /dev/mmcblk1 << EOF
> ,< 2100>,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 121008 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/49/48 (instead of 121008/4/16).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 4 3781- 3778- 3868160 b W95 FAT32
start: (c,h,s) expected (3,23,33) found (1,2,3)
end: (c,h,s) expected (1023,48,48) found (960,48,48)
/dev/mmcblk1p2 0 - 0 0 0 Empty
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
trailing junk after number

sfdisk: bad input
/home/user # umount /dev/mmcblk1p1
/home/user # mkdosfs /dev/mmcblk1p1
mkdosfs 3.0.1 (23 Nov 2008)
37
#####################################/home/user # mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
/home/user #


dubzii 2010-07-14 15:20

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I think you have to remove the < and > around 2100 on the sfdisk command.

Dousan 2010-07-14 15:23

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
@cardiff-blues try this in xterm:

sudo gainroot 'enter'

sfdisk -l 'enter' (-L)

It should show your partitions on your internal (mmcblk0) and sdcard (mmcblk1) storage :)

cardiff-blues 2010-07-14 15:25

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ok, thanks! So far it has proved to be those pesky <> :)

Cobra 2010-07-14 15:44

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by cardiff-blues (Post 751630)
Ok tried this but still failing. I have a brand new 4GB card as well.

Code:

/home/user # umount /dev/mmcblk1p1
umount: cannot umount /dev/mmcblk1p1: Invalid argument
/home/user # sfdisk -uM /dev/mmcblk1 << EOF
> ,< 2100>,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 121008 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/49/48 (instead of 121008/4/16).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 4 3781- 3778- 3868160 b W95 FAT32
start: (c,h,s) expected (3,23,33) found (1,2,3)
end: (c,h,s) expected (1023,48,48) found (960,48,48)
/dev/mmcblk1p2 0 - 0 0 0 Empty
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
trailing junk after number

sfdisk: bad input
/home/user # umount /dev/mmcblk1p1
/home/user # mkdosfs /dev/mmcblk1p1
mkdosfs 3.0.1 (23 Nov 2008)
37
#####################################/home/user # mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
/home/user #






It looks like ther is a space before 2100. also try a smaller amount like 800. you might have a bad memory card.

edit: I ment 3200 not 800 :)

cardiff-blues 2010-07-14 15:49

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
It was those < >. Removed them like Dubzii suggested and everything going ok so far.

cardiff-blues 2010-07-14 16:07

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
At the end of this line from Step 3:

Code:

bzcat /home/user/MyDocs/NITDroid-N900-0.0.5-3-BIG.tbz2 | tar xvf -
I got a: tar error: read-only file system

Although it did seem to do a lot before it got there.

Dami 2010-07-14 16:20

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Hey guys,
I installed NITdroid as detailed herehttp://talk.maemo.org/showpost.php?p...postcount=2438

All went well (i think) but when I press boot option 4 I briefly get the message mODULES : EXT3
Device mmcblk0p2
FS Type: EXT3
FS opts : rw, noatime, errors=remount-ro,commit=3


Then I get the message
could not open '/lib/modules/2.6.28.NIT.03/ext3.ko

Then reboots. If I try this maybe 4-5 times it gets stuck in a reboot loop that runs a bunch of commands but then restarts after message
tw1430 watchdog close....something something. Only stops when I pull the battery out

Any ideas? I have reflashed my phone and done the process twice already

Also boot option 1 is the only one that works to go to maemo.

Very lost with this one

cardiff-blues 2010-07-14 16:32

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ok I formatted card again and tried install. Seemed to be going well until I got a: write error: No space left on device

All my rootfs has been eaten up... :(

I have exactly 0.0 Bytes Free

What's gone wrong anyone?

cardiff-blues 2010-07-14 16:45

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
When I look at the memory card in file manager on the N900 is does say Memory Card Format not supported.......is this connected with my problem?

cardiff-blues 2010-07-14 17:01

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
N900 won't boot up or do anything now. Even with the card pulled out. Help please!!

Dami 2010-07-14 17:10

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Think it might be time for a reflash mate. I'm having awful trouble with it myself. Got a bit further than you by the sounds of it tho :D

Use the guide here to reflash and start from scratch?

http://www.maemofanatics.com/how-to-...ur-nokia-n900/

cardiff-blues 2010-07-14 17:14

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
oh well. I gave it a shot but obviously it isn't meant for everyone just yet. Did follow the instructions to the letter though so not sure why the install messed up.

Dousan 2010-07-14 17:40

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by cardiff-blues (Post 751780)
oh well. I gave it a shot but obviously it isn't meant for everyone just yet. Did follow the instructions to the letter though so not sure why the install messed up.

I had the same problem, your rootfs on N900 got mounted instead of your sdcard, so it installed NITdroid there and the maemo OS already takes up alot of space + apps. Thats why you had 0mb's left there and you went out of space. You must never reboot your N900 when in 'trouble' it doesn't work like windows that some problems get fixed with a reboot. Just come back here in the forums and ask what to do if ever in a situation like this again ;)

Theres was a simple solution for your problem, if remember correct:

cd /and 'enter'
rm -r * 'enter'
And then start over with the mounting and extracting.
(somebody correct me if i'm wrong)

Sounds like a reflash :)

e: I correct myself, the correct code is:
cd /and 'enter'
rm -rf * 'enter'

Dami 2010-07-14 17:50

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Anyone know how to remove the partition on an SD card?

The Disk Manager tool on windows can see both partitions but I can only format, not delete

dubzii 2010-07-14 17:55

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by Dami (Post 751832)
Anyone know how to remove the partition on an SD card?

The Disk Manager tool on windows can see both partitions but I can only format, not delete

Try using an Ubuntu LiveCD and use gparted. Very easy to use.

Dami 2010-07-14 19:46

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by Dousan (Post 751814)
I had the same problem, your rootfs on N900 got mounted instead of your sdcard, so it installed NITdroid there and the maemo OS already takes up alot of space + apps. Thats why you had 0mb's left there and you went out of space. You must never reboot your N900 when in 'trouble' it doesn't work like windows that some problems get fixed with a reboot. Just come back here in the forums and ask what to do if ever in a situation like this again ;)

Theres was a simple solution for your problem, if remember correct:

cd /and 'enter'
rm -r * 'enter'
And then start over with the mounting and extracting.
(somebody correct me if i'm wrong)

Sounds like a reflash :)

Hey I was trying to reinstall and it ended up going on to my rootfs as well! The above command didn't work for me. Can someone correct if it's wrong plz?

df -h / says 227.9 used out of 227.9mb!

No reboot for me then till I get it sorted!

Dousan 2010-07-14 20:55

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by Dami (Post 751964)
Hey I was trying to reinstall and it ended up going on to my rootfs as well! The above command didn't work for me. Can someone correct if it's wrong plz?

df -h / says 227.9 used out of 227.9mb!

No reboot for me then till I get it sorted!

Sorry i did remember wrong this is the command to use:
cd /and
rm -rf *
Try that one it worked for me :)
I just forgot the f in the end ;)

ahmadka 2010-07-14 23:47

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Alright, sorry for asking this question again and again .. but I just want to sum it up altogether ..

Based on the answers I have previously recieved, it seems that the *official* Android Market *is not* available if I install Android 2.1 port, but it *is* available if I install the Android 2.2 port ......... correct .. ?

And which guide is the most up-to-date (since this thing is evolving so quickly!) .. ?

junionwoon 2010-07-15 07:40

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Hi,

I was trying to install with the commands based on :

http://wiki.nitdroid.com/index.php?title=N900-install

But, after the third command of :

sfdisk -uM /dev/mmcblk1 << EOF,6100MB,C,,L,,,,EOF

the xterm cursor is left with ">" and whatever i type has no more reactions ... did i miss out anything with the above command?

Please help. Thanks.

dj_steve 2010-07-15 07:46

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
your typed that wrong :) should look like :

Code:

sfdisk -uM /dev/mmcblk1 << EOF
,6100,C
,,L
,,
,,
EOF

press enter after each line

dubzii 2010-07-15 08:21

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by ahmadka (Post 752232)
Alright, sorry for asking this question again and again .. but I just want to sum it up altogether ..

Based on the answers I have previously recieved, it seems that the *official* Android Market *is not* available if I install Android 2.1 port, but it *is* available if I install the Android 2.2 port ......... correct .. ?

And which guide is the most up-to-date (since this thing is evolving so quickly!) .. ?

Correct. The eclair build did not include the Android Market. The latest build of Froyo however does.

junionwoon 2010-07-15 08:28

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by dj_steve (Post 752457)
your typed that wrong :) should look like :

Code:

sfdisk -uM /dev/mmcblk1 << EOF
,6100,C
,,L
,,
,,
EOF

press enter after each line

Thanks a lot... got that one working but .. when i typed:

bzcat /home/user/MyDocs/.documents/NITDroid-N900-0.0.5-3-BIG.tbz2 | tar xvf -

xterm shows:

/bin/sh: bzcat: not found
tar: short read

anything wrong again?

Thanks again!

dj_steve 2010-07-15 08:31

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
well assuming you did install bzip2 (apt-get install bzip2)

try this:
Code:

cd /and
bzip2 -d /home/user/MyDocs/.documents/NITDroid-N900-0.0.5-3-BIG.tbz2
tar xvf /home/user/MyDocs/.documents/NITDroid-N900-0.0.5-3-BIG.tbz2


junionwoon 2010-07-15 08:41

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
oops.. i missed the Bzip2 ... but when i tried to manually install, it keep showing errors .. did i download the wrong file "bzip2_1.0.4-2maemo5_armel.deb" ?

junionwoon 2010-07-15 08:44

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
ahhh,,, missing dependencies ... -_-"

junionwoon 2010-07-15 09:44

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Hi,

ermmm ... how do i boot up android after installation ?? -_-!!!!

cardiff-blues 2010-07-15 09:46

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by junionwoon (Post 752554)
Hi,

ermmm ... how do i boot up android after installation ?? -_-!!!!

Not sure but I think you open the N900 keyboard which gives you a boot menu.

junionwoon 2010-07-15 09:53

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by cardiff-blues (Post 752557)
Not sure but I think you open the N900 keyboard which gives you a boot menu.

Thanks for the help :)

need to reboot with keyboard open ... my bad for not reading properly ... :o

ahmadka 2010-07-15 11:09

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
OK, I just started following the guide here:

I'm at the 5th step. When I enter the first command, the command goes through (I see about 30 to 40 '#' characters ... But then when I enter the second command mentioned in the 5th step (which is 'mke2fs -j -m0 /dev/mmcblk1p2' without the single quotes), I get the error:

Quote:

Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly ?
Any clues on whats wrong here ?

Note: I entered the number 1 in step 3, since my microSD card is a 2GB one, which shows a capacity of 1.84GB in the N900

EDIT: here is the exact output from my N900 after running steps 4 and 5:

Code:

/home/user # umount /dev/mmcblk1p1
/home/user # mkdosfs /dev/mmcblk1p1
mkdosfs 3.0.1 (23 Nov 2008)
37
#####################################/home/user # mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
/home/user # mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
/home/user #


cardiff-blues 2010-07-15 11:13

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Check you haven't got square brackets around your card size like the following. If so try removing them.

sfdisk -uM /dev/mmcblk1 << EOF
,<6100>,C


All times are GMT. The time now is 17:11.

vBulletin® Version 3.8.8