Reply
Thread Tools
Posts: 5 | Thanked: 19 times | Joined on May 2011 @ Poland, Wroclaw
#1
Meego + NITDroid + Meamo + power kernel + uboot on two SD cards - my way - work in progress!

Before you begin, make sure that the battery is fully charged. Make sure that you can make a reflash your device.


You need:
- N900.
- Clear pr1.3.
- Rootsh installed.
- SD card 1GB - NITDroid - 256MB or 512MB should work. But 128MB not!.
- SD card 2BG - meego.

Installing NITDroid:


1. Run Application Manager and activate Fremantle Extras, Extras Testing and Extras-devel - how to in maemo wiki. Wait for refreshing the directories. Close the Application Manager.

2. Insert the SD card (minimum 1GB) - all data will be removed from the card.
3. Run x-terminal (ctrl + shift + x) and enter:

Code:
	
# Get the root access
root

# To ensure that applications catalogs are refreshed
apt-get update

# Install nitdroid-installer. Answer "Y" to the question and wait.
apt-get install nitdroid-installer

# Run the installation nitdroid
nitdroid
Answer "YES" to the question and wait. It would take 30-45 minutes.
The installer downloads the necessary data and saves it in the directory:
Code:
"/home/user/MyDocs/.nitdroid."
Will be installed the necessary applications and kernel. Android system will be installed on the memory card. Entries will be added to the multiboot menu.

After installation You should have something like:
Code:
#in  /boot/multiboot:
vmlinuz-2.6.28-omap1
vmlinuz-2.6.28.NIT.06

#in /lib/modules/
/2.6.28-omap1
/2.6.28.NIT.06
~current -> 2.6.28-omap1" 

#in /etc/multiboot.d
00-Maemo-2.6.28-omap1.item
11-NITDroid-mmcblk1p2-2.6.28.NIT.06.item
4. Shutdown device
5. Power on device with slide open
keys "q" (1) and "p"(0) should boot maemo with 2.6.28-omap1 kernel
key "w" (2) should boot Android with 2.6.28.NIT.06 kernel
6. Test
Do not reeboot device! Shutdown it and power on - sometimes reeboot causes problems.
Always do full boot - shutdown device in PIN entry (maemo) - do not flash and set up kernel corectly.

Installing kernel-power 47

1. Connect to internet
2. Run x-terminal (ctrl + shift + x) and enter:
Code:
# Get the root access
root

# To install almost everything You need
apt-get install kernel-power-settings
Y

# To install boot image to /boot and memu.item for multiboot
apt-get install kernel-power-bootimg
After installation You should have something like:
Code:
#in /boot
/multiboot
zImage-2.6.28.10-power47

#in /boot/multiboot
vmlinuz-2.6.28-omap1
vmlinuz-2.6.28.NIT.06

#in /lib/modules/
/2.6.28-omap1
/2.6.28.10-power47
/2.6.28.NIT.06
~current

#in /etc/multiboot.d
00-Maemo-2.6.28-omap1.item
01-Maemo-kernel-power-2.6.28.10-power47.item
11-NITDroid-mmcblk1p2-2.6.28.NIT.06.item
3. Shutdown device
4. Power on device with slide open
5. Test

Installing Meego:

On PC
1. Go to "http://tablets-dev.nokia.com/meego-codedrop.php"
2. Enter Your IMEI and click send.
3. Accept the terms of the License Agreement.
4. Download "meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw.bz2" and unpack.
5. Format the SD card with Fat32.
6. Connect N900 to PC in data storage mode.
7. Go to N900 (not to SD) and create catalogue meego.
8. Copy raw image "meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw" to meego (/home/user/MyDocs/meego)
9. Disconnect device.
10. Insert SD Card - all data will be removed from the card.
On N900
11. Run x-terminal (ctrl + shift + x) and enter:


Code:
# Get the root access
root

# To umount sd card.
umount /media/mmc1

# To copy raw image to sd card
# All data will be removed from the card!             
dd bs=2048 if=/home/user/MyDocs/meego/meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw of=/dev/mmcblk1

# "2048" for 2GB, "4096" for 4GB card ect.
# Wait about 15-20 minutes.
# If You get error while enter dd command - repeat ummout
# and press arow up to quick select dd command,
# sometimes maemo after few seconds try again to mount sd card. 

# Mount 3'rd (FAT) partition to ex. /media/mmc1
mount /dev/mmcblk1p3 /media/mmc1

cd /media/mmc1
touch boot.scr
vi boot.scr
press "a" to edit
Fill with:
setenv atags ${nolo_atagaddr}
bootm ${nolo_kernaddr}
press "Esc" to exit editor mode
:wq Enter - to save and quit

Installing uboot-pr13

1. Connect to internet
2. Run x-terminal (ctrl + shift + x) and enter:
Code:
root
cd /home/user/MyDocs
mkdir uboot
cd uboot
wget "http://repository.maemo.org/extras-devel/pool/fremantle/free/u/uboot-pr13/uboot-pr13_1.0.2_armel.deb" -without quotes
dpkg -X uboot-pr13_1.0.2_armel.deb ex
cd ex/boot
flasher -u -F uboot-and-zImage-2.6.28-20103103+0m5.fiasco
cp zImage /boot/multiboot/vmlinuz-2.6.28-omap2
cd /lib/modules
cp -rf 2.6.28-omap1 2.6.28-omap2
cd /etc/multiboot.d
cp 00-Maemo-2.6.28-omap1.item. 02-Maemo-2.6.28-omap2.item
vi 02-Maemo-2.6.28-omap2.item

# In Vi press "a" to edit.
# Fill with:
ITEM_NAME="Maemo 2.6.20-omap1 with uboot"
ITEM_KERNEL=2.6.28-omap2
ITEM_MODULES=ext3

# Press "Esc" to exit editor mode
:wq Enter - to save and quit
3. Shutdown device
4. Power on device with slide open
5. Test

In uboot press any key to abotr.
Start Meego with:
Code:
run mmcboot
- wait for shutdown, power on and wait
Start Maemo with:
Code:
run noloboot
- wait for shutdown, power on and wait

Booting NIT is imposible after booting Megoo and vice versa
Always beetwean NIT and meego full boot maemo with 2.6.28-omap1 (not only to PIN entry)
Always have correct SD card inside and closed cover.

Enjoy

<------------------------ Edit 2011.05.18 ------------------------>
Problems:
1. Incorrect software version displayed in maemo
a) In the Phone application, enter "* #0000#
b) Go to System-> About
This procedure displays the version of the "<unknown"
To Fix it:
- Connect to the Internet
- Run x-terminal (ctrl + shift + x) and enter:

Code:
root
apt-get install --reinstall mp-fremantle-generic-pr
Y
reboot
OC in Android

Originally Posted by aikon800 View Post
can you overclock in android with this ??? please thank you
I think so.
1. Start maemo.
2. Insert the SD card from NITDroid.
3. Run x-terminal (ctrl + shift + x) and enter:
Code:
root
mount /dev/mmcblk1p2 /and
cd /home/user/MyDocs/.nitdroid
tar xvf oc-profile-500-700.tar
vi system/etc/power.conf
# In Vi press "a" to edit.
# Find  lines responsible for the frequency.
# Change to your frequency. By default, 500000-700000kHz
# Press the "Esc" to exit editor mode
:wq & enter - to save and quit
cp system/ /and/
cp init.nokia.rc /and/
umount /and/
Test


<------------------------ Edit 2011.05.23 ------------------------>

Installing 2'nd NITDroid on the eMMC

The operation probably a step more dangerous than previous ones.

Plan:
- Make a copy of "/ home / user / MyDocs"
- Make a copy of "/ home"
- Re-partitioned eMMC,
- Restoration of copies,
- Installation NITDroid.

Description will not be included (so far) detailed information. I do not have time today to describe the exact steps.


A copy of the "/home/user/MyDocs" - the folder visible when you connect your phone to your computer.
1. Connect your phone to PC and copy the data on your computer HDD.
2. After copying the data disconnect the phone and go to make a copy of "/home".
A copy of the "/home" - a copy of the message, and other settings.
1. Switch the phone to Offline mode or remove the SIM card - just for safety.
2. Run x-terminal.

root
umount "/home/user /MyDocs"

I will give details later

unmount all "/opt/ *" and "/opt/"
If "umount /opt/ *" does not work to use with the "-l"
("umount -l /opt/ *")
Copy all the data on SD card (formatted to ext2 or ext3, not FAT).
Or mount "/dev/mmcblk0p1" (MyDocs) somewhere outside of /home/" and unmount "/ home" (and "/home/user /MyDocs")

use:
example:
mkdir /somedir
mount /dev/mmcblk0p1 /somedir
"dd if = /dev/mmcblk0p2 of = /somedir/mmcblk0p2.raw"
unmount "/somedir"



Restart the phone
Connect to PC
Do copy of mmcblk0p2.raw to the PC.
Disconnect.

Umount /opt/* & /opt/ & MyDocs & /home

Use the "sfdisk" to repartitioning eMMC.
in case of problems to force-f

"Sfdisk-f / dev/mmcblk0"
p1 mydocs fat32
p2 linux home
p3 swap
p4 linux

Example:
root
sfdisk-f / dev/mmcblk0
0 753792 c
7573792 131072 83
24576 82 884864
67584 83 909440
y

will be created
p1 - ​​23GB FAT32 Win
p2 - 3.9GB Linux
p3 - 756MB Swap
p4 - 2GB Linux


After re-part reboot phone and format the partitions

p4 format as follows:
"mke2fs-L NITDroid-j-m0 / dev/mmcblk0p4"

Restore the data.

mount / dev/mmcblk0p4:
"mount-o noatime, rw / dev/mmcblk0p4 / and"
unpack the file system partitions Android
example:
cd / and
tar xvf / home/user/MyDocs/android/N12_UMay.tar

extract the kernel and move it to partition p4:
example:
cd /home/user/MyDocs/android/kernel
dpkg-X nitdroid-kernel-2.6.28-06_final1_armel.deb ex
ex cd
cp -rf * /

add items to multiboot
cd /etc/multiboot.d
cp 11-NitDroid- mmcblk1p2-2.6.28.NIT.06.item 12-NitDroid- mmcblk0p4-2.6.28.NIT.06.item
vi 12-NitDroid- mmcblk0p4-2.6.28.NIT.06.item

in the first line change the mmcblk1p2 -> mmcblk0p4
in the fourth line change $ {EXT_CARD)p2 -> mmcblk0p4
NO ${INT_CARD}p4 or / dev/mmcblk0p4
open back cover to run NIT from mmcblk0

Last edited by zazun; 2011-05-23 at 20:51.
 

The Following 19 Users Say Thank You to zazun For This Useful Post:
Posts: 463 | Thanked: 103 times | Joined on Jul 2010 @ Mumbai, India
#2
seems possible...anyone giving this a try...i don't have another memory card to try this out.

Also just setup my N900 with NITDroid N12 after a full flash of rootfs & EMMC so don't want to start all over again unless it is worth it...
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#3
will try it tomorrow
__________________
N900 addicted :P

PC :
MSi K9N2 Diamond, AMD Phenom 9950 BE @ 3.2ghz, 2x2GO DDR2 G.Skill Extreme Pi Black PC8500, Sapphire ATi Radeon HD 4890 Vapor-X, Hitachi 1To sata II
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#4
this actually works ! just need to test the image, but usiing uboot and different kernels works !
__________________
N900 addicted :P

PC :
MSi K9N2 Diamond, AMD Phenom 9950 BE @ 3.2ghz, 2x2GO DDR2 G.Skill Extreme Pi Black PC8500, Sapphire ATi Radeon HD 4890 Vapor-X, Hitachi 1To sata II
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#5
Originally Posted by zazun View Post
[...]
11. Run x-terminal (ctrl + shift + x).
Enter:
root
umount /media/mmc1
dd bs=2048 if=/home/user/MyDocs/meego/meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw of=/dev/mmcblk1

"2048" for 2GB, "4096" for 4GB card ect.
Wait about 15-20 minutes

mount /dev/mmcblk1p3 /media/mmc1
One "bug" in your tutorial I noticed I will try that later, but with one repartitioned SD card
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#6
hum in fact, I always get a kernel panic... vfs can't sync and mount root fs with daily image of yesterday... also, I noticed that it says that it cannot read boot.scr even if I created it (but with leafpad)
help ?

oh and for the one willing to know, writing daily image with n900 is veeeeeryyyy slow... around 3 or 4 hours ! so prefer the win32 disk imager to do that lol

edit: i still have the can't read boot.scr message but now daily image of today seems booting... wait and see

edit: it works ! ui seems faster than before, but still as I don't have a very good micro sd card ... lol photos are taken but seems gray ?! lol
__________________
N900 addicted :P

PC :
MSi K9N2 Diamond, AMD Phenom 9950 BE @ 3.2ghz, 2x2GO DDR2 G.Skill Extreme Pi Black PC8500, Sapphire ATi Radeon HD 4890 Vapor-X, Hitachi 1To sata II

Last edited by titi974; 2011-05-18 at 15:02.
 
Posts: 1 | Thanked: 0 times | Joined on May 2011
#7
thanks zazun..

i finally got triple boot...

1. Maemo
2. Kernel Power 47
3. Meego 1.2 Developer Edition
4. NITDroid N12

Last edited by dweexfuad; 2011-05-18 at 15:39. Reason: -
 
aikon800's Avatar
Posts: 117 | Thanked: 43 times | Joined on Nov 2007
#8
can you overclock in android with this ??? please thank you
 
Posts: 435 | Thanked: 197 times | Joined on Feb 2010
#9
Originally Posted by zazun View Post
Meego + NITDroid + Meamo + power kernel + uboot on two SD cards - my way - work in progress!
Wow, this is amazing work zazun! Gratz on your guide! Unfortunately I do not have a USB port on my N900 anymore so I cannot try it out... but still is great work!

I do have a little question, out of curiosity, how come nobody seems to be able to dual or triple boot from the eMMC? Aren't we able to partition the 32gb to show up as multiple drives and install the different OS onto them?
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#10
yes of course

personally i've got :

1. Maemo omap1
2. Maemo kernel-power v47
3. NITDroid N12
4. Maemo omap with uBoot
5. Maemo kernel-power v46 with wifi bleeding edge drivers

edit : because install on eMMC is dangerous... you'll need to repartition it and it could corrup your system =S
__________________
N900 addicted :P

PC :
MSi K9N2 Diamond, AMD Phenom 9950 BE @ 3.2ghz, 2x2GO DDR2 G.Skill Extreme Pi Black PC8500, Sapphire ATi Radeon HD 4890 Vapor-X, Hitachi 1To sata II
 

The Following User Says Thank You to titi974 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:58.