Nitdroid easy install on EMMC

(Upgrading Previous Versions of Nitdroid)
(Upgrading Previous Versions of Nitdroid)
Line 100: Line 100:
<pre>
<pre>
root
root
 +
cd /home/user/MyDocs
cd /home/user/MyDocs
 +
bzip2 -d Nitdroidarchivename.tar.bz2
bzip2 -d Nitdroidarchivename.tar.bz2
 +
cd /
cd /
 +
mount /home /and
mount /home /and
 +
cd /and
cd /and
 +
tar xvf /home/user/MyDocs/Nitdroidarchivename.tar
tar xvf /home/user/MyDocs/Nitdroidarchivename.tar
 +
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-07_rc4_armel.deb
</pre>
</pre>

Revision as of 17:30, 30 June 2011

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

Original Talk Maemo thread:

http://talk.maemo.org/showpost.php?p=887394&postcount=1


Contents

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

Way 1

Clean Installing of NITDroid

  1. Download the archive + the kernel to /MyDocs i.e. root dir. of N900:

  1. Enable all repositories from App manager (Extras-testing, Extras-devel, Extras and the default Nokia repos)
  2. Install Leafpad from the App manager and make sure that you have root access
  3. Close App manager, open X Terminal and execute the following commands:
    root
    apt-get update
    apt-get install nitdroid-installer
    y
    y again if it asks again.
    
  4. After the nitdroid-installer package is installed, close X Terminal, but do NOT run the installer you have just downloaded.
  5. Open X Terminal, and execute the following commands:
    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
    
  6. Edit the boot file:
    leafpad /etc/multiboot.d/11-NITDroid-mmcblk0p2-2.6.28.NIT.06.item

    (then tap the tab button, .item file will show, hit enter to open it in Leafpad). Edit ITEM_DEVICE in the file according to this:

    • If you have an MMC (micro SD card) plugged in your N900, change ITEM_DEVICE to this:
      ITEM_DEVICE=${INT_CARD}p2
      
    • If you don't have an MMC plugged in your N900, change ITEM_DEVICE to this:
      ITEM_DEVICE=mmcblk0p2
      
  7. Once editing is complete click the drop down menu on Leafpad and save then close Leafpad.
  8. Close X Terminal, reboot N900 and type ‘2’ for NITDroid.


Upgrading Previous Versions of Nitdroid

Note: CLEAN INSTALL IS HIGHLY RECOMMENDED. You have been warned.

  1. Download the image + the kernel to /MyDocs i.e. root dir. of N900:

Open X Terminal, and execute the following commands:

root

cd /home/user/MyDocs

bzip2 -d Nitdroidarchivename.tar.bz2

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

Fixes

APP Market Fix

  1. Open the Market app (from the Home screen or app launcher)
  2. Leaving the Market app running, return to the Home screen and open the Settings app again
  3. Within Settings select ApplicationsManage applicationsRunning (from Tab at top)
  4. Scroll to select the Market app → press the Clear Cache button → then press the Force Stop button (Do not press the Clear Data button)
  5. Press the back button (to go back to the list of running apps)
  6. Scroll to select Google Services Framework → press the Clear Data button → OK (to confirm) → then press the Force Stop button
  7. Return to the Home screen
  8. Launch the Market app again, which will give an error "Attention an error has occurred..." → OK button
  9. Shutdown by holding power button → Power OffOK
  10. 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:

  1. Enable the widget power control and turn airplane mode off
  2. If this didn't work disable pin code in maemo
  3. menudevtoolsterminal emulator
    su
    rr
    
  4. The technical solution:
    cd /and/data
    rm -rf *
    mkdir logs
    chmod 777 logs
    cd /
    umount /and
    

Google account sign-in

Skip google sign-up in the first tutorial instead, sign up/in google once in NITDroid.

Overclocking Nitdroid

  1. You can download ready GUI's from the market for OCing: http://talk.maemo.org/attachment.php?attachmentid=16607&d=1293643705
  2. 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:
root
mount /home /and
dpkg -i /home/user/MyDocs/multiboot-0.2.11-kernel-power-46-Android-Kernel/*

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:

root
mount /dev/mmcblk1p2 /and -o noatime
nitdroid-uninstaller

If on your emmc:

root
mount /dev/mmcblk0p2 /and -o noatime
nitdroid-uninstaller

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