Nitdroid easy install on EMMC

(Clean Installing of NITDroid)
(Installing NITDroid)
 
(84 intermediate revisions not shown)
Line 1: Line 1:
{{danger}}
{{danger}}
{{ambox|text='''Under heavy construction'''}}
{{ambox|text='''Under heavy construction'''}}
-
Original Talk Maemo thread:
 
-
http://talk.maemo.org/showpost.php?p=887394&postcount=1
 
-
= Installing Nitdroid =
+
[http://wiki.maemo.org/NITDroid_Port#Links 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.
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.
Line 15: 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==
 
-
===Clean Installing of NITDroid===
+
===Method 1===
 +
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.
 +
NOTE on Note: there are other - probably better - ways to increase your /home partition's size.
-
# Download the archive + the kernel to /MyDocs i.e. root dir. of N900:
+
1. Download the NITDroid Autoinstaller to ./MyDocs i.e. root directory of N900 and install it:
-
#* Image: http://downloads.nitdroid.com/e-yes/
+
-
#* Kernel: http://downloads.nitdroid.com/e-yes/nitdroid-kernel-2.6.28-07_rc4_armel.deb
+
-
# Enable all repositories from App manager ([[Extras-testing]], [[Extras-devel]], [[Extras]] and the default [[User:Jebba/Repositories#Nokia_Official|Nokia repos]])
+
-
----
+
-
<ol>
+
http://talk.maemo.org/attachment.php?attachmentid=22707&d=1316433657
-
<li>
+
-
Install [http://maemo.org/downloads/product/Maemo5/leafpad Leafpad] from the App manager and make sure that you have [[root access]]
+
-
</li>
+
-
<li>
+
-
Close App manager, open [[terminal|X Terminal]] and execute the following commands:
+
-
<pre>
+
-
root
+
-
apt-get update
+
-
apt-get install nitdroid-installer
+
-
y
+
-
y again if it asks again.
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
After the [http://maemo.org/packages/view/nitdroid-installer/ nitdroid-installer] package is installed, close X Terminal, but do '''NOT''' run the installer you have just downloaded.
+
-
</li>
+
-
<li>
+
-
Open X Terminal, and execute the following commands:
+
-
<pre>
+
-
root
+
-
cd /home/user/MyDocs
+
-
bzip2 -d nitdroidarchivename.tar.bz2
+
-
cd /home
+
-
mkdir /and
+
-
cd /
+
-
mount /home /and
+
-
cd /and
+
-
tar xvf /home/user/MyDocs/nitdroidarchivename.tar
+
-
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
Edit the boot file:
+
-
<pre>leafpad /etc/multiboot.d/11-NITDroid-mmcblk0p2-2.6.28.NIT.06.item</pre>
+
-
(then tap the tab button, .item file will show, hit enter to open it in Leafpad). Edit <code>ITEM_DEVICE</code> in the file according to this:
+
-
<ul>
+
-
<li>
+
-
If you have an MMC (micro SD card) plugged in your N900, change <code>ITEM_DEVICE</code> to this:
+
-
<pre>
+
-
ITEM_DEVICE=${INT_CARD}p2
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
If you don't have an MMC plugged in your N900, change <code>ITEM_DEVICE</code> to this:
+
-
<pre>
+
-
ITEM_DEVICE=mmcblk0p2
+
-
</pre>
+
-
</li>
+
-
</ul>
+
-
</li>
+
-
<li>
+
-
Once editing is complete click the drop down menu on Leafpad and save then close Leafpad.
+
-
</li>
+
-
<li>
+
-
Close X Terminal, reboot N900 and type ‘2’ for NITDroid.
+
-
</li>
+
-
</ol>
+
-
===Upgrading Previous Versions of Nitdroid===
+
== Uninstalling NITDroid ==
 +
=== If Installed By Method 1 ===
 +
Tap on the NITDroid-Uninstaller on your menu.
-
Note: CLEAN INSTALL IS HIGHLY RECOMMENDED. You have been warned.
+
=== If Installed By Method 2 ===
-
 
+
Open X Terminal and type the following commands:
-
# Download the image + the kernel 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
+
-
----
+
<ol>
<ol>
-
Open X Terminal, and execute the following commands:
 
<pre>
<pre>
root
root
-
cd /home/user/MyDocs
+
mount -o noatime,rw /dev/mmcblk0p5
-
bzip2 -d Nitdroidarchivename.tar.bz2
+
rm -rf /and/.
-
cd /
+
-
mount /home /and
+
-
cd /and
+
-
tar xvf /home/user/MyDocs/Nitdroidarchivename.tar
+
-
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
+
</pre>
</pre>
</ol>
</ol>
-
 
+
Then uninstall multiboot by anyway you prefer.
-
==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>
+
-
After the reboot, return ./MyDocs back and format the new NITdDroid partition by executing these:
+
-
<pre>
+
-
root
+
-
/home/user/bin/fdisk /dev/mmcblk0
+
-
t
+
-
1
+
-
0c
+
-
w
+
-
mkfs.vfat -F 32 /dev/mmcblk0p1
+
-
mke2fs -L NITDroid -j -m0 /dev/mmcblk0p5<
+
-
/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
+
-
</li>
+
-
</pre>
+
-
 
+
-
==Fixes==
+
-
 
+
-
===APP Market Fix===
+
-
 
+
-
# Open the '''Market''' app (from the Home screen or app launcher)
+
-
# Leaving the Market app running, return to the Home screen and open the '''Settings''' app again
+
-
# Within Settings select '''Applications''' &rarr; '''Manage applications''' &rarr; '''Running''' (from Tab at top)
+
-
# Scroll to select the '''Market''' app &rarr; press the '''Clear Cache''' button &rarr; then press the '''Force Stop''' button (Do not press the '''Clear Data''' button)
+
-
# Press the back button (to go back to the list of running apps)
+
-
# Scroll to select '''Google Services Framework''' &rarr; press the '''Clear Data''' button &rarr; '''OK''' (to confirm) &rarr; then press the '''Force Stop''' button
+
-
# Return to the Home screen
+
-
# Launch the '''Market''' app again, which will give an error "Attention an error has occurred..." &rarr; '''OK''' button
+
-
# Shutdown by holding power button &rarr; '''Power Off''' &rarr; '''OK'''
+
-
# Restart, wait for wi-fi to reconnect, open '''Market''' again  (You may have to reboot several times and check '''Market''')
+
-
 
+
-
The opening '''Market''' screen should no longer be blank, and many more apps (free & paid) should now be available. (Although apps can be downloaded, some may still fail to install or run properly)
+
-
 
+
-
===WIFI Fix (rare cases)===
+
-
 
+
-
Change the encryption from WPA2 to WPA from your Wireless Access Point. This is a compatibility issue hopefully going to be fixed in later releases.
+
-
 
+
-
===Airplane Mode Fix===
+
-
 
+
-
For people who enabled airplane mode, fixes are here:
+
-
 
+
-
<ol>
+
-
<li>
+
-
Enable the widget power control and turn airplane mode off
+
-
</li>
+
-
<li>
+
-
If this didn't work disable pin code in maemo
+
-
</li>
+
-
<li>
+
-
'''menu'''&rarr;'''devtools'''&rarr;'''terminal emulator'''
+
-
<pre>
+
-
su
+
-
rr
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
The technical solution:
+
-
<pre>
+
-
cd /and/data
+
-
rm -rf *
+
-
mkdir logs
+
-
chmod 777 logs
+
-
cd /
+
-
umount /and
+
-
</pre>
+
-
</li>
+
-
</ol>
+
-
 
+
-
===Google account sign-in===
+
-
 
+
-
Skip google sign-up in the first tutorial instead, sign up/in google once in NITDroid.
+
-
 
+
-
==Overclocking Nitdroid==
+
-
 
+
-
#You can download ready GUI's from the market for OCing: http://talk.maemo.org/attachment.php?attachmentid=16607&d=1293643705
+
-
#Or use one of these profiles: http://forum.nitdroid.com/index.php?topic=116.0
+
-
 
+
-
==Kernel Power installation==
+
-
 
+
-
For kernel-power multiboot entry:
+
-
http://www.mediafire.com/?t3mdemq1hj7v5ur
+
-
 
+
-
1. Unrar this archive to ./MyDocs, then:
+
-
2. On Xterminal, execute:<pre>root
+
-
mount /home /and
+
-
dpkg -i /home/user/MyDocs/multiboot-0.2.11-kernel-power-46-Android-Kernel/*
+
-
</pre>
+
-
3. Reboot your device, you shall see a new multiboot entry for kernel-power.
+
-
 
+
-
==Custom EMMC's==
+
-
 
+
-
Just in case you fear to run out of memory, here are custom EMMC's if you want to reflash with:
+
-
 
+
-
5GB app memory 24GB /MyDocs: http://www.mediafire.com/?j6srnaxwr3notaf
+
-
 
+
-
and/or
+
-
 
+
-
8GB app memory 21GB /MyDocs: http://www.mediafire.com/?5o1hkuuwhn8hh1c
+
-
 
+
-
== Uninstalling Nitdroid ==
+
-
Open X Terminal and type the following commands:
+
-
 
+
-
If on your mmc:
+
-
 
+
-
<pre>
+
-
root
+
-
mount /dev/mmcblk1p2 /and -o noatime
+
-
nitdroid-uninstaller
+
-
</pre>
+
-
 
+
-
If on your emmc:
+
-
<pre>
+
-
root
+
-
mount /dev/mmcblk0p2 /and -o noatime
+
-
nitdroid-uninstaller
+
-
</pre>
+
-
 
+
-
After it completes, simply format your microSD card, then using filebox delete nitdroid's installation folders and files that were copied to home:
+
-
bin, data, dev, etc (symlink), initrd, lib (symlink), mnt, proc, sbin, sdcard, sys, system, tmp, usr,default.prop, init, init.nokia.rc, init.rc
+
-
 
+
-
==Videos of NITDroid running on EMMC==
+
-
 
+
-
My video: http://www.youtube.com/watch?v=l_9kG81m-S4
+
-
 
+
-
Mr.NokiaTecs' video: http://www.youtube.com/watch?v=z7MIGu2POzY
+
-
 
+
-
Nokiatolo: http://www.youtube.com/watch?v=KYmOpftdtqg
+
-
 
+
-
Warlord1994's video: http://www.youtube.com/watch?v=UCVAho3_rDM
+
[[Category:Power users]]
[[Category:Power users]]
[[Category:N900]]
[[Category:N900]]

Latest revision as of 12:28, 12 October 2016

Image:Ambox_notice.png
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.


Image:Ambox_notice.png
Under heavy construction


NITDroid Port


Contents

[edit] 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


[edit] 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

[edit] Uninstalling NITDroid

[edit] If Installed By Method 1

Tap on the NITDroid-Uninstaller on your menu.

[edit] 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.