📜 ⬆️ ⬇️

Android on the N900

image
Requirements:
Android RootFS ( maemo.org user dj_steve )
Mirror
Kernel Image ( maemo.org user dj_steve )
Mirror
MicroSD card (minimum 1Gb)
Linux on the computer
Maemo flasher
The rootsh package on n900

To get started on the phone we get root
sudo gainroot

And execute the command
sysinfo-tool -g /certs/npc/esn/bt_id
received number we save

We break the flash drive into two parts:
1. I did the first with 1Gb (at least 256MB), the Fat32 file system
2. All remaining space, ext3 file system
I used gparted
image

Mount ext3 partition into folder (device name may differ)
mkdir temp
mount /dev/sdc2 temp


Go to the created folder and extract the RootFS
cd temp
tar xjvvpf ../Downloads/NITDroid-N900-0.0.1-Demo.tbz2

Attention: We extract only from under the root.
')
Being in the root of our flash drive, we need to edit the file system / bin / load_modules.sh
Find the line echo 0cddef0a0e6d and replace 0cddef0a0e6d with the number we received when executing the sysinfo-tool command
This is required for the correct operation of the bluetooth module.

Unmount our USB flash drive
umount /dev/sdc2

Next, take out the usb cable and turn off the phone
Clamp the letter u on the keyboard and insert the usb cable.
The phone should be transferred to the so-called flash-mode

Next, go to the folder with the maemo-flasher'om copy there zImage-NITDroid-0.0.1
And execute the command
flasher-3.5 --set-rd-flags=no-ext-wd,no-lifeguard-reset --enable-rd-mode -f -k zImage-NITDroid-0.0.1 -R

After that, the android download should begin.
A couple of photos:
image
image
To return everything to its place, you need to flash the old kernel.
I did this with the command ./flasher-3.5 --disable-rd-mode -f -k zImage -R
Where zImage is my overclocked kernel.
On maemo.org it is advised that if there is no kernel image, then download the original firmware and flash with the following parameters
flasher-3.5 --disable-rd-mode -f -F RX-51_2009SE_3.2010.02-8_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -R
Where RX-51_2009SE_3.2010.02-8_PR_COMBINED_MR0_ARM.bin is the firmware file


The text of authorship n4ela

Source: https://habr.com/ru/post/93866/


All Articles