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)

law138 2010-06-30 15:40

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
1 Attachment(s)
Im a newb what im i doing wrong ?

IzzehO 2010-06-30 15:47

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Oh come on.... look and think! You copied a shortened link! At least go to the effort of typing out the full url before posting problems.

Descalzo 2010-06-30 20:21

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
After using the installer.sh file, (just to test it out, and to try the new rootfs), I get this:
Choose bootup option:
2)MMC
9)Start a shell

I read up on this and it looks like people get this for poorly seated sd cards or bad .item files in bootmenu.d but I've checked them.

ToJa92 2010-06-30 21:23

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

Originally Posted by Descalzo (Post 736066)
After using the installer.sh file, (just to test it out, and to try the new rootfs), I get this:
Choose bootup option:
2)MMC
9)Start a shell

I read up on this and it looks like people get this for poorly seated sd cards or bad .item files in bootmenu.d but I've checked them.

Does it look like the MMC is mounted? After you see the menu try removing the battery cover, then put it back and see if you see any output regarding the memory card.

Descalzo 2010-06-30 21:39

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

Originally Posted by ToJa92 (Post 736150)
Does it look like the MMC is mounted? After you see the menu try removing the battery cover, then put it back and see if you see any output regarding the memory card.

Yep. I take it off and t saus cover is open, card is now inaccessible

I put it on and it says cover is closed, blah blah blah, it recognizes the size and it says on the last line
mmcblk0: p1 p2

I am puzzled, because I think that's what it's supposed to say.

I was thinking about doing it over from the start like I did with eclair and the second froyo build, but I think this might be useful in case this is a real problem with the script.

ToJa92 2010-06-30 21:45

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Weird... It works for some and it doesn't work for others.
Can you do
Code:

sfdisk -l
on your N900 in Maemo and give me the output?

ZogG 2010-06-30 21:53

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
i have problems with my sd card, when i create fat and than ext3 partions than i can't mount second one (tried on ubuntu/gentoo/maemo, the problem is in sd card). so i made 1.8 gib ext3 partion as first one and 6.2 gib fat32 partion second one, changed
ITEM_NAME="Android (external SD, partition 2)"
ITEM_ID="android2"
ITEM_DEVICE="${EXT_CARD}p2"
to
ITEM_NAME="Android (external SD, partition 1)"
ITEM_ID="android2"
ITEM_DEVICE="${EXT_CARD}p1"
but it doesn't boot. have some gotboot error where i have to choose betwen MMC and shell ? any ideas?

Descalzo 2010-06-30 21:56

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

Originally Posted by ToJa92 (Post 736188)
Weird... It works for some and it doesn't work for others.
Can you do
Code:

sfdisk -l
on your N900 in Maemo and give me the output?

Here goes:

Code:

Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/mmcblk0p1          1  884864  884864  28315648    c  W95 FAT32 (LBA)
/dev/mmcblk0p2    884865  950400  65536    2097152  83  Linux
/dev/mmcblk0p3    950401  974976  24576    786432  82  Linux swap / Solaris
/dev/mmcblk0p4          0      -      0          0    0  Empty

Disk /dev/mmcblk1: 121008 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/mmcblk1p1          0+  3199    3200-    102399+  c  W95 FAT32 (LBA)
/dev/mmcblk1p2      3200  121007  117808    3769856  83  Linux
/dev/mmcblk1p3          0      -      0          0    0  Empty
/dev/mmcblk1p4          0      -      0          0    0  Empty


ToJa92 2010-06-30 22:01

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

Originally Posted by Descalzo (Post 736209)
Here goes:

Code:

Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/mmcblk0p1          1  884864  884864  28315648    c  W95 FAT32 (LBA)
/dev/mmcblk0p2    884865  950400  65536    2097152  83  Linux
/dev/mmcblk0p3    950401  974976  24576    786432  82  Linux swap / Solaris
/dev/mmcblk0p4          0      -      0          0    0  Empty

Disk /dev/mmcblk1: 121008 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/mmcblk1p1          0+  3199    3200-    102399+  c  W95 FAT32 (LBA)
/dev/mmcblk1p2      3200  121007  117808    3769856  83  Linux
/dev/mmcblk1p3          0      -      0          0    0  Empty
/dev/mmcblk1p4          0      -      0          0    0  Empty


Can you do as root:
Code:

mkdir /and
Code:

mount /dev/mmcblk1p2 /and
Code:

cd /and
Code:

ls -a
And see if you see alot directories.

ZogG 2010-06-30 22:23

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
ToJa92, is it possible to have first partion for android and second for fat32?

ZogG 2010-06-30 22:32

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
i get error
not foundit :/etc/boot/menu.d/android.ext.item: line 6:

getbootstate :Mounting mmcblk0p1 on /mnt/new_root failed: Nosuch device
"here unimportant info"
Choose bootup option
2)MMC
9)Start a shell

ToJa92 2010-06-30 22:43

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

Originally Posted by ZogG (Post 736263)
ToJa92, is it possible to have first partion for android and second for fat32?

Should be possible but Maemo will probably complain and possibly want to format the card. Anyway why would you want to do that?

ZogG 2010-06-30 22:51

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
as you we talked before, my card is acting wierd, so i can't create etx3 as second partion =(

Descalzo 2010-07-01 00:03

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

Originally Posted by ToJa92 (Post 736216)
Can you do as root:
Code:

mkdir /and
Code:

mount /dev/mmcblk1p2 /and
Code:

cd /and
Code:

ls -a
And see if you see alot directories.

Done. It has what looks like the same directories that eclair had. I eve looked in system/app and there is a bunch of apks in there and everything.

jkhilton 2010-07-01 05:34

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

Originally Posted by ZogG (Post 736278)
i get error
not foundit :/etc/boot/menu.d/android.ext.item: line 6:

getbootstate :Mounting mmcblk0p1 on /mnt/new_root failed: Nosuch device
"here unimportant info"
Choose bootup option
2)MMC
9)Start a shell

I got exactly the same error. Doublecheck your android entry in the /etc/bootmenu.d folder. I had just copied the text into the file and it added a few extra characters at the end of each line. I redid the file by typing each line in and Android booted straight away.

Hope that helps :)

Descalzo 2010-07-01 07:07

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Okay, on the boot menu selection screen, the entry for Android has what appears to be a musical note after it. I'm going to try re-typing everything in again.

datjomp 2010-07-01 08:23

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I'm thinking about buying a 16GB SDHC memorycard today to try install Android on it.
I found no specs on the site but this is how the 8GB looks like:
http://www.clasohlson.se/Product/Lar...134934_365.jpg

Do you think this card is ok?
Thanks

ToJa92 2010-07-01 08:33

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

Originally Posted by datjomp (Post 736749)
I'm thinking about buying a 16GB SDHC memorycard today to try install Android on it.
I found no specs on the site but this is how the 8GB looks like:
http://www.clasohlson.se/Product/Lar...134934_365.jpg

Do you think this card is ok?
Thanks

I have that 8GB card and it works perfectly.

dj_steve 2010-07-01 08:37

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
card should be fine but be aware fat32 would need to be about 14gb as we seem to have issues with larger than 2gb nitdroid partitions at min.

On a related note who would actually be interested in payin for pre-built microsd cards that are partitioned and loaded with most recent rootfs at time.

F2thaK 2010-07-01 08:40

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

Originally Posted by dj_steve (Post 736762)
On a related note who would actually be interested in payin for pre-built microsd cards that are partitioned and loaded with most recent rootfs at time.

someone offered to do that for me, but I wanted to nut it out myself..

but I guess some people would pay.....(?)

kingoddball 2010-07-01 09:00

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
DJ_Steve,
How much and (not NITdroid) can you get Fedora/Ubuntu and meego running?
I can't get any of those running, only nitdroid

datjomp 2010-07-01 09:12

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

Originally Posted by dj_steve (Post 736762)
card should be fine but be aware fat32 would need to be about 14gb as we seem to have issues with larger than 2gb nitdroid partitions at min.

On a related note who would actually be interested in payin for pre-built microsd cards that are partitioned and loaded with most recent rootfs at time.

Ok, thanks.
IŽll set the ext as 2048 and the 14GB's will then show up as available storage space when done?
HavenŽt really walked through the turtorial yet..

I think that could sell. A noobfriendly way to do it :)

mangal_sk8erboy 2010-07-01 09:37

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
hey guys, i have a question for who ever's got it working.
how is the framerate ??
please tell me its better than maemo.
i mite make a switch, or atleast choose between the both if androids got better fps.

ToJa92 2010-07-01 09:38

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

Originally Posted by mangal_sk8erboy (Post 736817)
hey guys, i have a question for who ever's got it working.
how is the framerate ??
please tell me its better than maemo.
i mite make a switch, or atleast choose between the both if androids got better fps.

It's worse since it doesn't do any HW accelerating yet..

bonkel 2010-07-01 09:51

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
little idea..
can anybody make a small tutorial to run adb with n900 (on wiki page)? please :D

mangal_sk8erboy 2010-07-01 09:57

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

Originally Posted by ToJa92 (Post 736819)
It's worse since it doesn't do any HW accelerating yet..

oh great..is there ANY WAY IN heaven to make the n900's framerate better?(for maemo!) thats the ONLY problem thats left!
ive changed a few transitions for the n900 .(transitions.ini etc)
those transitions make the phone look waaay better.
only thing thats left is the scrolling. contact scrolling, conversation scrolling etc. if only some one could fix that..

Dousan 2010-07-01 13:28

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
@dj_steve and toja92 really nice work with the install script. It works like a charm, just tried it this morning :) It's really easy to use after i've been strucling with virtual box and linux mint to get android to work.
One question whats the differnce between the newest nitdroid-zImage and zImage4? Mine is working fine with the old zImage4, but if theres some improvements i'm missing i will flash the new image ;)

Keep up the awesome work :D

ToJa92 2010-07-01 13:31

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
The "nitdroid-zImage" simply points to the url of the newest one, which is zImage4 ATM. Good to know that another one got it working, it doesn't work for some..

EDIT: Oh, and soon we might not require a computer to install NITDroid, you would simply run the script, answer the questions and everything should work without any problem.

Descalzo 2010-07-01 14:31

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I deleted the android.ext.item that the script put in, then retyped it all myself and it worked.

I don't get it.

ToJa92 2010-07-01 15:03

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

Originally Posted by Descalzo (Post 737170)
I deleted the android.ext.item that the script put in, then retyped it all myself and it worked.

I don't get it.

The android.ext.item may be created by DJ_Steve in Wordpad in Windows, which means the file is not really compatible with linux apps(they use different characters for carrige return amongst other things, IIRC).

I'll upload a new(working) one in a couple of hours. It did work for me though. Strange.

dj_steve 2010-07-01 15:34

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
ok heres a funny/cool little story of what happened to me today

Went up to newcastle nd paid a visit into the new crapple store. Had play with craphone 4 and of course the staff were all over trying to explain things about it. UNTIL i broke out my n900 and selected deliberatly slowly and in clear sight of about 4 staff the 'android' option then left it sat on counter next to ipads and iphone 4s while it booted then i connected up to apples freebie wifi and ran the same dbgtst demo site on 3 devices. N900 beat both easyily and i had 3staff asking about what the os im runnin is to which i answered......something much mmore stable and useful than ios and on a device without a sserious design flaw with antenna design. Then walked out


Muhahaha love windin apple fanboys up me

Descalzo 2010-07-01 15:37

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
You're a punk.

That's awesome.

dj_steve 2010-07-01 15:48

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
best bit is i heard comments from staff like i wish my iphone could do that(dual boot was one of them)

OptX 2010-07-01 15:48

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Looool
You should have taken a photo when they had their mouth wide opend hrhr

dj_steve 2010-07-01 15:53

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
i didn have chance to get me e63 out or would of :) usin e63 at min as n900 dead lol

Descalzo 2010-07-01 18:03

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
OK so I still am not getting Flashplayer to work.
Did I miss the post?

I copied Adobe Flash Player apk to system/app Now it says Calculating... in a different tab in the app manager screen.

dj_steve 2010-07-01 18:05

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
adb needs to be used to get flash

*Sonic* 2010-07-01 18:27

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

Originally Posted by dj_steve (Post 737291)
best bit is i heard comments from staff like i wish my iphone could do that(dual boot was one of them)

I thought you could dual boot iphone with Android as somone has already done it havent they ?

dj_steve 2010-07-01 18:29

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
yep but its not stable and the battery lasts about an hour on the 3g. (3gs/4 cant do it yet)

*Sonic* 2010-07-01 18:33

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ah right, I thought I had heard about it previously,

Quick question I have a completly vanilla n900 brand new that is a spare, what is the easiest way to try android out on it, do I need a memory card or can I install it without

I havent had time to read through all of the pages on the threads


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

vBulletin® Version 3.8.8