Nitdroid easy install on EMMC: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>schnecki
 
(22 intermediate revisions by 14 users not shown)
Line 16: Line 16:


2. Creating a custom 2GB partition on your eMMC: Cleaner - Requires a brain
2. Creating a custom 2GB partition on your eMMC: Cleaner - Requires a brain
 
'''Bold text'''




===Method 1===
===Method 1===
NOTE: It is highly [http://wiki.maemo.org/NITDroid_FAQ#My_memory_for_apps_is_getting_low.2C_what_can_I_do.3F recomended that you flash the modded 8GB 20GB eMMC image]. Nitdroid won't recognize/use/install anything if you have low memory in mmcblk0p2.
NOTE: It is highly recomended that you flash the [http://wiki.maemo.org/NITDroid_FAQ#My_memory_for_apps_is_getting_low.2C_what_can_I_do.3F modded 8GB 20GB eMMC image]. Nitdroid won't recognize/use/install anything if you have low memory in mmcblk0p2.
====Clean Installing of NITDroid====
NOTE on Note: there are other - probably better - ways to increase your /home partition's size.


1. Download the NITDroid Autoinstaller to ./MyDocs i.e. root directory of N900 and install it:
1. Download the NITDroid Autoinstaller to ./MyDocs i.e. root directory of N900 and install it:


http://talk.maemo.org/attachment.php?attachmentid=22707&d=1316433657
http://talk.maemo.org/attachment.php?attachmentid=22707&d=1316433657
2. Run the NITDroid installer app from your programs list.
====Upgrading from Previous Versions of NITDroid====
[['''<UNDER MAINTENANCE>
''']]
===Method 2===
As said before, this requires a brain and a bit of concentration, follow step-by-step, and use some logic.
'''NOTE: This will wipe all of your data, please BACKUP necessary data first.'''
# Download the archive + the kernel + Fdisk to /MyDocs i.e. root dir. of N900:
#* Image: http://downloads.nitdroid.com/e-yes/
#* Kernel: http://downloads.nitdroid.com/e-yes/nitdroid-kernel-2.6.28-07_rc4_armel.deb
#* Fdisk: http://ftp.de.debian.org/debian/pool/main/u/util-linux/util-linux_2.13.1.1-1_armel.deb
# Enable all repositories from App manager ([[Extras-testing]], [[Extras-devel]], [[Extras]] and the default [[User:Jebba/Repositories#Nokia_Official|Nokia repos]])
----
<ol>
<li>
Install Fdisk by executing the following commands in Xterminal:
<pre>
root
mkdir -p /home/user/util-linux /home/user/bin
cp /home/user/MyDocs/util-linux_2.13.1.1-1_armel.deb /home/user/util-linux
cd /home/user/util-linux
dpkg-deb -x util-linux_2.13.1.1-1_armel.deb root
cp root/sbin/fdisk /home/user/bin/
cd ..
rm -rf util-linux
</pre>
</li>
<li>
Unmount designated partition (./MyDocs):
<pre>
umount /home/user/MyDocs
</pre>
</li>
<li>
Launch Fdisk:
<pre>
/home/user/bin/fdisk /dev/mmcblk0
</pre>
</li>
<li>
Print your current partition table:
<pre>
p
</pre>
This table should show up:
<pre>
      Device Boot      Start        End      Blocks  Id  System
/dev/mmcblk0p1              2      884865    28315648    c  W95 FAT32 (LBA)
/dev/mmcblk0p2          884866      950401    2097152  83  Linux
/dev/mmcblk0p3          950402      974977      786432  82  Linux swap / Solaris
</pre>
</li>
<li>
Delete partition 1 (./MyDocs):
<pre>
d
1
</pre>
<li>
Create new re-sized primary partition:
<pre>
n
p
1
First cylinder: 2
Last cylinder: 800000
</pre>
<li>
Create new extended partition:
<pre>
n
e
First cylinder: 800001
Last cylinder: 884865
n
First cylinder: 800001
Last cylinder: 884865
t
1
76
t
5
76
</pre>
</li>
<li>
Point of no return - writing the table and syncing:
<pre>
w
reboot
</pre>
</li>
<li>
Ignore any errors. After the reboot, return ./MyDocs back and format the new NITDroid partition by executing these:
<pre>
root
/home/user/bin/fdisk /dev/mmcblk0
t
1
0c
w
reboot
mkfs.vfat -F 32 /dev/mmcblk0p1
mke2fs -L NITDroid -j -m0 /dev/mmcblk0p5
reboot
</pre>
If your device still has a flash memory on it, then lift your shoulders up as the hard part is gone!
<li>
Install Nitdroid on the new partition:
<pre>
apt-get update
apt-get install nitdroid-installer
mkdir -p /and
mount -o noatime,rw /dev/mmcblk0p5 /and
cd /home/user/MyDocs
rm -rf /and/*
bzcat Nitdroidarchivename.tar.bz2 | tar xvC /and
dpkg -i nitdroid-kernel-2.6.28-07_rc4_armel.deb
reboot
</pre>
</ol>
If you cannot boot into NITDroid because of an error like this one:
Try following:
Edit /etc/multiboot.d/11-NITDroid-mmcblk0p5-*.item with an editor of your choice (eg. nano).
<pre>
apt-get install nano
nano /etc/multiboot.d/11-NITDroid-mmcblk0p5-2.6.28.NIT.07.item  #check filename!
</pre>
And change the line ITEM_DEVICE={INT_CARD}p5 to:
<pre>
ITEM_DEVICE=mmcblk0p5
</pre>
reboot with opened keyboard and try to start NITDroid.


== Uninstalling NITDroid ==
== Uninstalling NITDroid ==
=== Method 1 ===
=== If Installed By Method 1 ===
Tap on the NITDroid-Uninstaller on your menu.
Tap on the NITDroid-Uninstaller on your menu.


=== Method 2 ===
=== If Installed By Method 2 ===
Open X Terminal and type the following commands:
Open X Terminal and type the following commands:
<ol>
<ol>

Latest revision as of 12:28, 12 October 2016

Some instructions here may cause serious problems. When unsure, see General precautions
Backing up your data is recommended. In case of trouble you might need to re-flash your device.


Under heavy construction


NITDroid Port


Installing NITDroid

This tutorial is specifically designed to install Nitdroid on the internal memory of the N900 (EMMC) and does not apply to installation on an external micro SD card. The main purpose of installing Nitdroid on the internal memory is that in most cases you will see an increased performance.

There are two ways of installing NITDroid:

1. Copy NITDroid's rootfs to /and in /home: Easier - Faster

2. Creating a custom 2GB partition on your eMMC: Cleaner - Requires a brain Bold text


Method 1

NOTE: It is highly recomended that you flash the modded 8GB 20GB eMMC image. Nitdroid won't recognize/use/install anything if you have low memory in mmcblk0p2. NOTE on Note: there are other - probably better - ways to increase your /home partition's size.

1. Download the NITDroid Autoinstaller to ./MyDocs i.e. root directory of N900 and install it:

http://talk.maemo.org/attachment.php?attachmentid=22707&d=1316433657

Uninstalling NITDroid

If Installed By Method 1

Tap on the NITDroid-Uninstaller on your menu.

If Installed By Method 2

Open X Terminal and type the following commands:

    root
    mount -o noatime,rw /dev/mmcblk0p5
    rm -rf /and/.
    

Then uninstall multiboot by anyway you prefer.