Nitdroid easy install on EMMC: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
 
(169 intermediate revisions by 38 users 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 0.0.9 to EMMC===


# Download the image + the kernel to /MyDocs i.e. root dir. of N900:
==Installing NITDroid==
#* Image: http://downloads.nitdroid.com/e-yes/NITDroid-0.0.9.tar.bz2
#* Kernel:http://www.mediafire.com/?zmh7gvj626c6lrp


----
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.


<ol>
There are two ways of installing NITDroid:
<li>
Enable all repositories from App manager ([[Extras-testing]], [[Extras-devel]], [[Extras]] and the default [[User:Jebba/Repositories#Nokia_Official|Nokia repos]])
</li>
<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 just downloaded.
</li>
<li>
Open X Terminal, and execute the following commands:
<pre>
root
cd /home/user/MyDocs
bzip2 -d NITDroid-0.0.9.tar.bz2
cd /home
mkdir /and
cd /
mount /home /and
cd /and
tar xvf /home/user/MyDocs/NITDroid-0.0.9.tar
dpkg -i /home/user/MyDocs/NITDroid-kernel-Mido.Fayad.deb
</pre>
</li>
<li>
Edit the boot file:
<pre>leafpad /etc/multiboot.d/11</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 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>


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


# Download the image + the kernel to /MyDocs i.e. root dir. of N900:
2. Creating a custom 2GB partition on your eMMC: Cleaner - Requires a brain
#* Image: http://downloads.nitdroid.com/e-yes/gingerbread.tar.bz2
'''Bold text'''
#* Kernel: http://www.mediafire.com/?zmh7gvj626c6lrp


----


<ol>
===Method 1===
<li>
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.
Enable all repositories from App manager ([[Extras-testing]], [[Extras-devel]], [[Extras]] and the default [[User:Jebba/Repositories#Nokia_Official|Nokia repos]])
NOTE on Note: there are other - probably better - ways to increase your /home partition's size.
</li>
<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 just downloaded.
</li>
<li>
Open X Terminal, and execute the following commands:
<pre>
root
cd /home/user/MyDocs
bzip2 -d NITDroid-0.0.9.tar.bz2
cd /home
mkdir /and
cd /
mount /home /and
cd /and
tar xvf /home/user/MyDocs/NITDroid-0.0.9.tar
dpkg -i /home/user/MyDocs/NITDroid-kernel-Mido.Fayad.deb
</pre>
</li>
<li>
Edit the boot file:
<pre>leafpad /etc/multiboot.d/11</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 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>
 
=== Applying Gingerbread updates ===
Place all updates in MyDocs i.e. root dir. of N900.
 
'''Update 1:''' http://downloads.nitdroid.com/e-yes/gingerbread_update1.tar.bz2
<pre>
root
cd /home/user/MyDocs
bzip2 -d gingerbread_update1.tar.bz2
cd /
mount /home /and
cd /and
tar xvf /home/user/MyDocs/gingerbread_update1.tar
</pre>
'''Update 2:''' http://downloads.nitdroid.com/e-yes/gingerbread_superuser.tar.bz2
<pre>
root
cd /home/user/MyDocs
bzip2 -d gingerbread_superuser.tar.bz2
cd /
mount /home /and
cd /and
tar xvf /home/user/MyDocs/gingerbread_superuser.tar
</pre>
'''Update 3:''' http://downloads.nitdroid.com/e-yes/LatinIME.apk
<pre>
root
mount /home /and
cd /home/user/MyDocs
cp LatinIME.apk /and/system/app/
</pre>
'''Update 4:''' http://downloads.nitdroid.com/e-yes/gps.nokia.so
<pre>
root
mount /home /and
cd /home/user/MyDocs
cp gps.nokia.so /and/system/lib/hw/
</pre>


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


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


# Open the '''Market''' app (from the Home screen or app launcher)
== Uninstalling NITDroid ==
# Leaving the Market app running, return to the Home screen and open the '''Settings''' app again
=== If Installed By Method 1 ===
# Within Settings select '''Applications''' &rarr; '''Manage applications''' &rarr; '''Running''' (from Tab at top)
Tap on the NITDroid-Uninstaller on your menu.
# 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 that are in here were tried by me:


=== If Installed By Method 2 ===
Open X Terminal and type the following commands:
<ol>
<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>
<pre>
su
root
rr
mount -o noatime,rw /dev/mmcblk0p5
rm -rf /and/.
</pre>
</pre>
</li>
<li>
The technical solution:
<pre>
cd /and/data
rm -rf *
mkdir logs
chmod 777 logs
cd /
umount /and
</pre>
</li>
</ol>
</ol>
 
Then uninstall multiboot by anyway you prefer.
===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
#Or use one of these profiles: http://forum.nitdroid.com/index.php?topic=116.0
 
==Kernel Power installation==
 
For people who want to install Kernel-Power:
1. apt-get it:
<pre>
root
apt-get install kernel-power kernel-power-flasher
apt-get install kernel-power-bootimg kernel-power-modules
</pre>
2. Using filebox, navigate to /boot/
3. There you should find zImage-2.6.28.10maemoxx where xx stands for kernel-power version.
4. Rename it to vmlinuz-2.6.28.10powerxx, then copy it to /boot/multiboot/
5. Open Xterm and execute:
<pre>
cd /etc/multiboot.d/examples
leafpad Maemo-power39.item
</pre>
6. Change the values to
<pre>
ITEM_NAME="Maemo kernel powerxx"
ITEM_KERNEL=2.6.28.10powerxx
</pre>
7. On the N900's keyboard, ctrl s to save the file.
8. Returning to Xterm:
<pre>
cp /etc/multiboot.d/examples/Maemo-powerxx.item /etc/multiboot.d
</pre>
9. 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 apps 24GB mydocs: http://www.mediafire.com/?j6srnaxwr3notaf
 
and
 
8GB apps 21GB mydocs: http://www.mediafire.com/?5o1hkuuwhn8hh1c
 
== Uninstalling Nitdroid ==
If on your mmc:
Open X Terminal and type the following commands:
 
<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


[[Category:Power users]]
[[Category:Power users]]
[[Category:N900]]
[[Category:N900]]

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.