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)

RolePlayGame 2010-07-11 08:18

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Weeeeeell...
First, THANXS GUYS! BOOTING NITDROID ROCKS! Yes, a little bit slow (perhaps allowing us to overclock could help until GPU drivers ;) ) BUT...
After powering off nitdroid, trying to reboot, choosing again option 4... boot loader always stop after trying to access ext3, going again to boot menu!
Why first time it works but now, unable to boot nitdroid again??
I'm a lot of bits confused!

ANYWAY, THAT FEW MOMENTS WITH ANDROID ON MY SCREEN WERE WONDERFULL!! (Are you genious or somethig like that???)
Waiting for a lammer version , since I can't handle WHY only one Android boot for me.

moepda 2010-07-11 08:57

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
im downloading the new rootsh but its failed a few times. downloading now again but do i need to clean or remove the failed downloads ? if so where are they and how to do ? many thanks ...

jamiefuller 2010-07-11 09:35

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
moepda, if you have a failed attempt the send time you try to download wget will rename the file with a .1 on the end. and so on each time you try.

make sure there are no (bad) copies under MyDocs before running the wget command.

moepda 2010-07-11 10:15

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
cheers for that jamiefuller all sorted thanks for your help :) onto mac address stage now :)


update....

can now boot android so many thanks there but now notice that when using winscp in maemo5 my home/user/MyDocs folder has changed , i can not see default folders such as downloads etc, all folders previously visible on phone filemanager are not available on winscp. except DCIM...

really not sure why or how ?

is this normal ?

contro 2010-07-11 11:09

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Fixed your post @sepehrsfmech your code wasn't closed properly.
Quote:

Originally Posted by sepehrsfmech (Post 747817)
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).)



I recieved the same thing followed moepda's advice gonna try rebooting again. Here's my output though:

Code:

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

Disk /dev/mmcblk1: 490432 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+ 15325  15326-  15693816    c  W95 FAT32 (LBA)
/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+ 13299  13300-  13619199+  c  W95 FAT32 (LBA)
/dev/mmcblk1p2    13300  15325  2026    2074624  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).)
/home/user #

Ok UPDATE: Rebooted device and followed all the way where moepda direction's left me off posting code in a new post to show you what I did.

contro 2010-07-11 11:32

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

/home/user # umount /dev/mmcblk1p1
umount: cannot umount /dev/mmcblk1p1: Invalid argument
/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)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
129792 inodes, 518656 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=532676608
16 block groups
32768 blocks per group, 32768 fragments per group
8112 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 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
/home/user #


contro 2010-07-11 12:15

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Ok everything installed correctly but when I reboot my device it goes to maemo, Boot loader doesn't even come up is there something else that I have to do?

TNiga 2010-07-11 12:22

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

Originally Posted by contro (Post 748076)
Ok everything installed correctly but when I reboot my device it goes to maemo, Boot loader doesn't even come up is there something else that I have to do?

You need to have your keyboard out when you boot.

contro 2010-07-11 12:29

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

Originally Posted by TNiga (Post 748084)
You need to have your keyboard out when you boot.

Thanks I feel like such a noob.... Chose option 4 and I am in Android this is awesome!

RolePlayGame 2010-07-11 12:37

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Uninstalled ssh menu applet (one more cause of partitions error), reinstalled all nitdroid again, booting Nitdroid...
AND WHEN ANDROID ENDS LOADING, AUTOMATICALLY POWER-OFF ITSELF (battery icon showing a red bat, Android now didn't recognize my bat????)


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

vBulletin® Version 3.8.8