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)

ericube 2010-07-25 15:24

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Need help at the 1st step partation the SD card

here is what I've got from Terminal on my Mac

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

Disk /dev/mmcblk1: 31000 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/5/4 (instead of 31000/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+ 968- 965- 987890+ 6 FAT16
start: (c,h,s) expected (410,4,4) found (4,2,30)
end: (c,h,s) expected (1023,4,4) found (984,4,4)
/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

It's been 2 days, same result...

PePPeN20 2010-07-25 16:04

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
guys PLEASE help me :(

Code:

~ $ root


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
> ,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 ...

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
umount: cannot umount /dev/mmcblk1p1: Invalid argument

what is wrong??:confused::(

dj_steve 2010-07-25 16:06

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
try continuing maemo doesn always mount p1 so you may be able to continue

PePPeN20 2010-07-25 16:13

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
thanks a lot dj steve :D

ok I report this:

Code:

Nokia-N900:~# mkfs.vfat /dev/mmcblk1p2 -n sdcard
mkfs.vfat 3.0.1 (23 Nov 2008)
37
#####################################Nokia-N900:~# mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Filesystem label=NITDroid
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
96000 inodes, 384000 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=394264576
12 block groups
32768 blocks per group, 32768 fragments per group
8000 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 38 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

all right??

PePPeN20 2010-07-25 16:35

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
oh damn :mad::(

Code:

Nokia-N900:~# mount -t ext3 -o noatime,rw /dev/mmcblk1p2 /and
Nokia-N900:~# cd /home/user/MyDocs
Nokia-N900:/home/user/MyDocs# bzip2 -d NITDroid-N900-0.0.5-4-Final.tbz2

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: No such file or directory
        Input file = NITDroid-N900-0.0.5-4-Final.tbz2, output file = NITDroid-N900-0.0.5-4-Final.tar

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: Deleting output file NITDroid-N900-0.0.5-4-Final.tar, if it exists.
Nokia-N900:/home/user/MyDocs# tar xvf /home/user/MyDocs/NITDroid-N900-0.0.5-4-Final.tar
tar: can't open '/home/user/MyDocs/NITDroid-N900-0.0.5-4-Final.tar': No such file or directory
Nokia-N900:/home/user/MyDocs#


dj_steve 2010-07-25 16:35

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
well you jus formatted same partition twice lol :) should be mkfs.vfat /dev/mmcblk1p1 and mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2

edit: courrpt download - btw theirs a newer rootfs than 5-4 now :)

ali-bjk 2010-07-25 16:37

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I will ask my questions in german

_______________

Ich habe paar Fragen:

1. Geht durch die Installation von NITDroid die Garantie des N900 weg?

2. Geht mit dieser Version auch SEHR schnell das Akku leer?

3. Kann man ganz normal alle Apps installieren?

4. Ist es in dieser Version schon zu empfehlen?

_____


I try to write these in english

1. Will the garranty lost if i install NITDroid?

2. Is the battery going empty fast?

3. Is it possible to install all Android apps?

4. Is a install in this version recommended?

PePPeN20 2010-07-25 16:51

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

Originally Posted by dj_steve (Post 764254)
well you jus formatted same partition twice lol :) should be mkfs.vfat /dev/mmcblk1p1 and mke2fs -j -m0 -L NITDroid /dev/mmcblk1p2

edit: courrpt download - btw theirs a newer rootfs than 5-4 now :)

Ohhh Thank you very much: D

then I have to wait for the new rootfs?

can you tell when it's ready?:rolleyes:

dj_steve 2010-07-25 16:55

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
rootfs is linked in post2 of dev thread lol

imperiallight 2010-07-25 17:03

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
This should be a forum sticky +1


All times are GMT. The time now is 21:49.

vBulletin® Version 3.8.8