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)

moepda 2010-07-10 22:44

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
update...

fixed problem, formatted 16gb sandisk card (14.8gb capacity) on win xp whilst in n900 using mass storage mode. rebooted n900 and opened xterm. opened new window and typed root. entered 13300 without < > in step 2 of guide and this was successful output. hope it helps contro ...

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# umount /dev/mmcblk1p1
Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,13300,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 486192 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 0+ 13099 13100- 13414399+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 13100 15193- 2094- 2143744 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 0+ 13299 13300- 13619199+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 13300 15193- 1894- 1938944 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 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.
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).)
Nokia-N900:~# umount /dev/mmcblk1p1
Nokia-N900:~# mkdosfs /dev/mmcblk1p1
mkdosfs 3.0.1 (23 Nov 2008)
37
#####################################Nokia-N900:~# mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
121200 inodes, 484736 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=499122176
15 block groups
32768 blocks per group, 32768 fragments per group
8080 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Nokia-N900:~#


bewrong 2010-07-11 00:30

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
i have some questions about running android on n900.
* so the phone will run in dual boot? (maemo and android) if so, will you be able to choose at boot?
* can this be uninstalled?
* if there was a problem in installing android will it brick the phone? is it possible to restore it again?

contro 2010-07-11 01:29

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

Originally Posted by moepda (Post 747595)
update...

fixed problem, formatted 16gb sandisk card (14.8gb capacity) on win xp whilst in n900 using mass storage mode. rebooted n900 and opened xterm. opened new window and typed root. entered 13300 without < > in step 2 of guide and this was successful output. hope it helps contro ...

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# umount /dev/mmcblk1p1
Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,13300,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 486192 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 0+ 13099 13100- 13414399+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 13100 15193- 2094- 2143744 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 0+ 13299 13300- 13619199+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 13300 15193- 1894- 1938944 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 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.
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).)
Nokia-N900:~# umount /dev/mmcblk1p1
Nokia-N900:~# mkdosfs /dev/mmcblk1p1
mkdosfs 3.0.1 (23 Nov 2008)
37
#####################################Nokia-N900:~# mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
121200 inodes, 484736 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=499122176
15 block groups
32768 blocks per group, 32768 fragments per group
8080 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Nokia-N900:~#


Thank you will try it later out with friends!

porselinaheart 2010-07-11 05:34

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
first off, kudos to dj steve, your work is awesome!!!

need some help, :P

I can't seem to get it to run with my OC kernel settings, so its really slow, any fix for this so i can run it nitdroid as fast as mameo??

do i have to change to another kernel?? lehtos or something else??

please help!

sepehrsfmech 2010-07-11 05:56

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
sfdisk -uM /dev/mmcblk1 << EOF
> ,5300,C
> ,,L
> ,,
> ,,
> EOF

so, is this right for a memory card that has 7.4 gbs capacity?

porselinaheart 2010-07-11 06:08

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

Originally Posted by sepehrsfmech (Post 747778)
sfdisk -uM /dev/mmcblk1 << EOF
> ,5300,C
> ,,L
> ,,
> ,,
> EOF

so, is this right for a memory card that has 7.4 gbs capacity?


go with 6100 bro. i tried 5300 ( or was it ( 5400 ) didn't work.i have the same size card ( 8gig) so go with 6100, :D

ryanl33x1511 2010-07-11 06:11

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
is the camera driver work ? i would like to try out fring on android, fring cames out with new version with video call to multi platform, so you could see other ppl using iphone,nokia and android. limited on supported version

RolePlayGame 2010-07-11 06:18

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
To the ones blocked at umount-mmcblk1p1 errors:

I was able to boot NITDroid today, doing this (I don't know if it's very adequate, but worked for me)

-umount mmcblk1 if you don't have mmcblk1p1. If you can't, read third line here.
-AFTER sfdisk, REBOOT.
-WAIT until tracker and tracker-indexer stop working (conky will help, these two process are the ones consuming 99% CPU for about 6 minutes after reboot, preventing you for umounting mmc!
-Then you will be able to mkdos and mke without errors

sepehrsfmech 2010-07-11 06:47

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
i need help with this:

[CODE] sfdisk -uM /dev/mmcblk1 << EOF
> ,6100,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 243200 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 0+ 7599 7600- 7782392 b W95 FAT32
/dev/mmcblk1p2 0 - 0 0 0 Empty
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 0+ 6099 6100- 6246399+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 6100 7599 1500 1536000 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 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.
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs

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).)[CODE/]

new_bee 2010-07-11 07:30

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
hi guys,
i m having trouble with bzip2. when i try to apt-get install bzip2, i get the messege that package bzip2 has no installation candidate. and is only available from other source. due to this i can not execute the step three which involves bzcat command. need some help here


All times are GMT. The time now is 16:52.

vBulletin® Version 3.8.8