
This time I will write about how to install Android 2.1 on the Nokia N900 in Dual Boot
Requirements
Android RootFSModified Maemo Core for DualBootLinux on a computer (For a Windows user, you can install
VirtualBox and any linux distribution such as
Ubuntu )
Maemo flasherMicroSD card (minimum 1Gb)
The rootsh package on n900
Kernel firmware
First we need to flash the kernel that allows you to load both Android and Maemo
To do this, turn off the phone, hold the letter
U on the keyboard and insert the usb cable.
The phone should be transferred to the so-called flash-mode
To do this, copy the zImage-0.0.3-a kernel to the folder with flasher'om and execute the command
./flasher-3.5 --set-rd-flags=no-ext-wd,no-lifeguard-reset --enable-rd-mode -f -k zImage-0.0.3-a -R
Flashcard preparation
Now we need to break our flash drive, for this we need to open the console (we will make the flash drive breakdown in the console because it definitely is in any distribution, if you want to work with the graphical interface you can use the gparted program).
To find out by what name the computer identified the flash card, we type:
dmesg
At the end we have approximately the following lines:

This means that our flash drive was defined as a device / dev / mmcblk0.
Next, proceed to the process of breaking the flash drive.
sudo fdisk /dev/mmcblk0
o
n
p
1
< enter>
+128M
t
c
n
p
2
< enter>
< enter>
w
With these actions we broke our flash drive into two partitions, one 128MB in size, the other took all the remaining space. Now it is necessary to format partitions for the necessary file systems.
The first section is formatted in vfat. This is done by the team
sudo mkdosfs /dev/mmcblk0p1
or
sudo mkfs.vfat /dev/mmcblk0p1
p1 - ​​means that we format the first partition, if your device is defined as sda, then most likely the first partition will be sda1.
The second section is formatted as follows:
sudo mke2fs -j /dev/mmcblk0p1 -m0
Now we need to unpack RootFS from the android to the second partition of our flash drive.
mkdir nokia
sudo mount /dev/mmcblk0p2 nokia/
cd nokia/
sudo tar xjvvpf ../Downloads/NITDroid-0.0.3-1-Eclair-WiFi.tbz2
cd ..
sudo umount /dev/mmcblk0p2
On this, our actions with the computer are finished, insert the USB flash drive into the phone.
Install and configure the Boot Menu
For Dual Boot, we will need nano packages (for editing files, you can use both mcedit) and bootmenu-n900 itself (for dual boot)
')
Programs can be installed either from the application manager or from the console. To install from the console, go to xterm and type:
sudo gainroot
apt-get install nano
apt-get install bootmenu-n900
Now we configure bootmenu (it is assumed that you are already in the console with root rights):
cd /etc/bootmenu.d/
nano android.ext.item
And enter the file:
ITEM_NAME="Android (external SD, partition 2)"
ITEM_ID="android2"
ITEM_DEVICE="${EXT_CARD}p2"
ITEM_MODULES="mbcache jbd ext3 fat vfat"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime"
Click ctlr + o, ctrl + x - this will save our changes to the file and close the editor.
To boot into Android, we need to turn off the phone, push the keyboard and turn it on again. When booting, a bootmenu will appear in which you can choose which OS to boot into, when shutting down with the keyboard pushed back, Maemo will be loaded.
In my opinion, in R & D mode there is one useless function, this is the flashing of the keyboard to disable it, just edit the / etc / pmconfig file on the phone, for this we execute the following commands in xTrem'e:
sudo gainroot
nano /etc/pmconfig
"sleep_ind 1" "sleep_ind 0".
:
*
*
*
* WiFi
* -
:
*
* GSM
*
* FM- FM-
*
, WiFi, , .
NITDroid Wiki(.)
(.)
sudo gainroot
nano /etc/pmconfig
"sleep_ind 1" "sleep_ind 0".
:
*
*
*
* WiFi
* -
:
*
* GSM
*
* FM- FM-
*
, WiFi, , .
NITDroid Wiki(.)
(.)
sudo gainroot
nano /etc/pmconfig
"sleep_ind 1" "sleep_ind 0".
:
*
*
*
* WiFi
* -
:
*
* GSM
*
* FM- FM-
*
, WiFi, , .
NITDroid Wiki(.)
(.)
sudo gainroot
nano /etc/pmconfig
"sleep_ind 1" "sleep_ind 0".
:
*
*
*
* WiFi
* -
:
*
* GSM
*
* FM- FM-
*
, WiFi, , .
NITDroid Wiki(.)
(.)
sudo gainroot
nano /etc/pmconfig
"sleep_ind 1" "sleep_ind 0".
:
*
*
*
* WiFi
* -
:
*
* GSM
*
* FM- FM-
*
, WiFi, , .
NITDroid Wiki(.)
(.)