maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] NITDroid V2 & Multiboot Development And Announcement Thread (https://talk.maemo.org/showthread.php?t=58890)

GEONXT 2010-08-12 10:59

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by gabby131 (Post 783974)
Hi!

installing NITDroid via the instructions on the first post of the thread is awesome! and made as simple as possible.

BUT:

* The Rest of your memory card will be usable by Maemo totally normally but the nitdroid partition is not seen in file manager etc
* You need to decide how to best partition YOUR card, i personally have my card partitioned as ~6gb fat32 and rest (~1.9gb) as ext3
* Some suggested size ratios are (in MB fat32/ext3 layout): 2GB: 100/1900, 4GB: 2100/1900, 6GB: 4100/1900 8GB: 6100/1900, 16GB: 14100/1900, 32GB: 30100/1900
* in below command REPLACE the <SIZE> text with your choosen fat32 size
Right thats enough crap now onto partitioning:
ignore errors whjen runnign umount its normal sometimes
Code:


Code:

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,<SIZE>,C
,,L
,,
,,
EOF

the partitioning part I cant make work! i get an error "Cant stat /dev/mmcblk1p2: did you blah blah it correctly?" i though that this part is gonna be easier for me coz i did successfully partitioned my 32gm mass storage to pump the applications memory size.

please help! :)

EDIT: im really enjoying this, even though i messed up the device twice now :D

Sounds like the partition did not work as it cant find the drive try the step below again. Note only change is from the original post u actually remove the symbol < > on boh sides of your number this should create the partition corectly.

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,<SIZE>,C
,,L
,,
,,
EOF

gabby131 2010-08-12 11:05

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by GEONXT (Post 784002)
Sounds like the partition did not work as it cant find the drive try the step below again. Note only change is from the original post u actually remove the symbol < > on boh sides of your number this should create the partition corectly.

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,<SIZE>,C
,,L
,,
,,
EOF

so i will do exactly like that? (except for <SIZE> i put 2100/1900 for 4 GB i think) no other in puts on

,,L
,,
,,
EOF

Thanks :)

EDIT: what does EOF stands for? End of F?????

mornage 2010-08-12 11:13

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by gabby131 (Post 784008)
so i will do exactly like that? (except for <SIZE> i put 2100/1900 for 4 GB i think) no other in puts on

,,L
,,
,,
EOF

Thanks :)

EDIT: what does EOF stands for? End of F?????

Just put the size of the fat partition. You need to type

Code:

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,2100,C
,,L
,,
,,
EOF

EOF = end of file (I believe)

p.s, there is a help thread you know ;)

gabby131 2010-08-12 11:18

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
@mornage

Awesome!!!! thank you!!! :)

gonna give it a try after re-flashing (my idiot instincts made me flash the n900 without reading a "how-to" uninstall multi-boot :D).

good thing there is the thread like this, the youtube videos requires me apc to do the partition !!

AlphaX2 2010-08-12 11:22

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by gabby131 (Post 783974)
Hi!

installing NITDroid via the instructions on the first post of the thread is awesome! and made as simple as possible.

BUT:

* The Rest of your memory card will be usable by Maemo totally normally but the nitdroid partition is not seen in file manager etc
* You need to decide how to best partition YOUR card, i personally have my card partitioned as ~6gb fat32 and rest (~1.9gb) as ext3
* Some suggested size ratios are (in MB fat32/ext3 layout): 2GB: 100/1900, 4GB: 2100/1900, 6GB: 4100/1900 8GB: 6100/1900, 16GB: 14100/1900, 32GB: 30100/1900
* in below command REPLACE the <SIZE> text with your choosen fat32 size
Right thats enough crap now onto partitioning:
ignore errors whjen runnign umount its normal sometimes
Code:


Code:

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,<SIZE>,C
,,L
,,
,,
EOF

the partitioning part I cant make work! i get an error "Cant stat /dev/mmcblk1p2: did you blah blah it correctly?" i though that this part is gonna be easier for me coz i did successfully partitioned my 32gm mass storage to pump the applications memory size.

please help! :)

EDIT: im really enjoying this, even though i messed up the device twice now :D

I had the some problem, it's easy to solve!
Instead of Replace <SIZE> with 4100 try: 4096 - that should work.

The thing is, my SD-card wants als MiB instead of MB - which producer is your sd-card from?!

AlphaX2


Tell me if this is working!

gabby131 2010-08-12 12:05

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
@Alphax2

yes! i have not come across of that problem but i already got a solution for it. Thanks!!!! cant wait to see android.......work mode :D

cricker 2010-08-12 13:27

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by gabby131 (Post 784008)
so i will do exactly like that? (except for
EDIT: what does EOF stands for? End of F?????

EOF match <<EOF. Basically this is saying from <<EOF, read the next lines as standard input (ie keyboard) until you see EOF.

You can also do <<LETSGETUSSOMEANDROID

and end with
LETSGETUSSOMEANDROID

But, EOF is the standard way of doing this, meaning "end of file".

AlphaX2 2010-08-12 13:50

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
I'll ask again:

Is there a way that NITDroid put all the android folders / app data (i.e. download folder, android folder, ...) not on Maemos "/home/user/MyDocs"?!

Maybe on the vfat sd-card partition or only ONE folder for all this stuff?! Cause on the one hand I don't like to have so much disorder and these intermixture of NITDroid and Maemo there, on the other hand I am a bit scared about removing the wrong files! :rolleyes:

AlphaX2

dj_steve 2010-08-12 14:50

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Simple way is open up system/etc/vold.fstab and change mmc0 to mmc1 this will make androjd mount microsd in theory but not tested

AlphaX2 2010-08-12 14:54

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Thanks Steve, I'll try! Reporting here later. :D

This is what it was original:

Code:

dev_mount sdcard /sdcard 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
dev_mount sdcard_ext /ext_sd 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0

What exactly have I to change?! I tried this:

Code:

dev_mount sdcard_ext /ext_sd 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
and also

Code:

dev_mount sdcard_ext /ext_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
But changed nothing, any ideas?!

Should also be possible to delete the hole 2nd line, isn't it? So it could take only use of the 2GB NITDroid Partition?!

AlphaX2


All times are GMT. The time now is 07:32.

vBulletin® Version 3.8.8