Nitdroid easy install on EMMC

(categorize)
(Installing NITDroid 0.0.8 to EMMC)
Line 6: Line 6:
-
==Installing NITDroid 0.0.8 to EMMC==
+
==Installing NITDroid 0.0.9 to EMMC==
 +
 
 +
<ol>
 +
'''Download the image + the kernel to /MyDocs i.e. root dir. of N900:'''</ol>
 +
<ol>
 +
Image:http://downloads.nitdroid.com/e-yes/NITDroid-0.0.9.tar.bz2
 +
</ol>
 +
<ol>
 +
Kernel:http://www.mediafire.com/?zmh7gvj626c6lrp
 +
</ol>
 +
 
 +
----
<ol>
<ol>
Line 26: Line 37:
</li>
</li>
<li>
<li>
-
After the [http://maemo.org/packages/view/nitdroid-installer/ nitdroid-installer] package is installed, close X Terminal
+
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>
+
-
Install newer installer. [http://downloads.nitdroid.com/nitinstaller/nitdroid-installer_0.2.7_armel.deb nitdroid-installer_0.2.7_armel.deb]
+
-
<ol>
+
-
<li>
+
-
Copy it to the N900 and open it via App manager (for no formatting ext3 stuck hiccup), it will recognize it as a small update for your installer that you downloaded and installed in the second step.
+
-
</li>
+
-
<li>
+
-
Or Copy it and run <pre>sudo dpkg -i nitdroid-installer_0.2.7_armel.deb</pre>
+
-
</li>
+
-
</ol>
+
</li>
</li>
<li>
<li>
Line 43: Line 43:
<pre>
<pre>
root
root
-
nitdroid
+
cd /home/user/MyDocs
-
YES
+
bzip2 -d NITDroid-0.0.9.tar.bz2
-
</pre>
+
cd /home
-
</li>
+
-
<li>
+
-
After NITDroid ends installation (20 minutes on 70 kb/s download speed) '''don't yet reboot your phone to NITDroid'''! Tap the drop down top menu in X Terminal and click new and close the one before (the one that said NITDroid was successfully installed)
+
-
</li>
+
-
 
+
-
<li>
+
-
'''If you don't have a microSD:'''
+
-
<blockquote style="border: 1px dashed red; padding: 10px;">
+
-
 
+
-
{{ambox|text=Important: These are for overclocked phones, if you don't have kernel-power installed then wait someone make this for stock kernels.}}
+
-
 
+
-
Download these files:
+
-
 
+
-
http://downloads.nitdroid.com/nitinstaller/Packages/nitdroid-kernel-2.6.28-06_final1_armel.deb
+
-
 
+
-
http://downloads.nitdroid.com/nitinstaller/Packages/NitDroid-0.0.8-Popov.tar.bz2
+
-
 
+
-
<ol>
+
-
<li>
+
-
Copy downloaded files to MyDocs.
+
-
</li>
+
-
<li>
+
-
Open x-term and execute following commands:
+
-
<pre>
+
-
sudo gainroot
+
mkdir /and
mkdir /and
 +
cd /
mount /home /and
mount /home /and
-
apt-get install multiboot multiboot-kernel-power bzip2
 
-
cd /home/user/MyDocs
 
-
bzip2 -d NitDroid-0.0.8-Popov.tar.bz2
 
cd /and
cd /and
-
tar xvf /home/user/MyDocs/NitDroid-0.0.8-Popov.tar
+
tar xvf /home/user/MyDocs/NITDroid-0.0.9.tar
-
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-06_final1_armel.deb
+
dpkg -i /home/user/MyDocs/NITDroid-kernel-Mido.Fayad.deb
-
umount /and
+
</pre>
</pre>
</li>
</li>
-
</ol>
 
-
</blockquote>
 
-
</li>
 
-
<li>On your new X Terminal window, type the following commands:
 
-
<ol>
 
<li>
<li>
-
become root:
+
Edit the boot file:
-
<pre>root</pre>
+
<pre>leafpad /etc/multiboot.d/11(then tap the tab button, .item file will show, hit enter to open it in Leafpad)</pre>Edit '''ITEM_DEVICE''' in the file according to this:
-
</li>
+
A) If you have an MMC plugged in your N900, change '''ITEM_DEVICE''' to this:
-
<li>
+
<pre>
-
mount the partition:
+
-
<pre>mount /dev/mmcblk1p2 /and</pre>
+
-
</li>
+
-
<li>
+
-
Copy android system files over to <code>/home</code>
+
-
<pre>cp -rp /and/* /home</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 '''.item''' file to look like this:
+
-
<pre>ITEM_NAME="NITdroid on MMCp2 - 2.6.28.NIT.05"
+
-
ITEM_KERNEL=2.6.28.NIT.05
+
-
ITEM_MODULES=ext3 fat vfat
+
ITEM_DEVICE=${INT_CARD}p2
ITEM_DEVICE=${INT_CARD}p2
-
ITEM_FSTYPE=ext3
+
</pre>
-
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3
+
B) If you don't have an MMC plugged in your N900, change '''ITEM_DEVICE''' to this:
-
EOF</pre>
+
<pre>
 +
ITEM_DEVICE=mmcblk0p2
 +
</pre>
</li>
</li>
<li>
<li>
-
'''If you followed the manual installation guide and you don't have a microSD then:'''
 
-
<blockquote style="border: 1px dashed red; padding: 10px;">
 
-
change the '''.item''' file to:
 
-
<pre>ITEM_NAME="NITdroid on MMCp2 - 2.6.28.NIT.05"
 
-
ITEM_KERNEL=2.6.28.NIT.05
 
-
ITEM_MODULES=ext3 fat vfat
 
-
ITEM_DEVICE=mmcblk0p5
 
-
ITEM_FSTYPE=ext3
 
-
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3
 
-
EOF
 
-
</pre>
 
-
</blockquote>
 
-
</li>
 
Once editing is complete click the drop down menu on Leafpad and save then close Leafpad.
Once editing is complete click the drop down menu on Leafpad and save then close Leafpad.
</li>
</li>
<li>
<li>
-
Close X Terminal, reboot N900 and type ‘2’ for NITDroid
+
Close X Terminal, reboot N900 and type ‘2’ for NITDroid.
-
you'll notice that booting will take less time, and if you want you can remove the back cover and microSD to check. BUT you can't boot without something in the microSD slot, any microSD will work even empty ones.
+
</li>
</li>
-
</ol>
 
-
</li>
 
-
</ol>
 
-
'''If you're a power user:'''
 
-
Let’s assume you have installed or updated to latest kernel-power after installing NITDroid.
 
-
Note: kernel-power is compatible with multiboot starting from version 39.
 
-
 
-
1. make sure you have version 39 or later installed.
 
-
 
-
2. you MUST also have the zImage file from kernel-power.
 
-
It comes in an optional package kernel-power-bootimg. If in doubt, do this:
 
-
 
-
<pre>apt-get install kernel-power-bootimg kernel-power-modules</pre>
 
-
 
-
Now you can either manually modify the .item file, or you can let multiboot handle it automatically:
 
-
 
-
<pre>apt-get install multiboot-kernel-power</pre>
 
-
 
-
This will do everything for you
 
==Frequent errors==
==Frequent errors==

Revision as of 08:43, 16 March 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 0.0.9 to EMMC

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

  1. Enable all repositories from App manager (Extras-testing, Extras-devel, Extras and the default Nokia)
  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 just downloaded.
  5. Open X Terminal, and execute the following commands:
    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
    
  6. Edit the boot file:
    leafpad /etc/multiboot.d/11(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:

    A) If you have an MMC plugged in your N900, change ITEM_DEVICE to this:

    ITEM_DEVICE=${INT_CARD}p2
    

    B) 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.
  9. Frequent errors

    Guru Meditation:

    If you have NITDroid that ends in .06 and you are facing this error, change ITEM_DEVICE=mmcblk0p5 to ITEM_DEVICE=mmcblk0p2

    Root filesystem mmcblk0p5 NOT available!
    Guru Meditation #000000025.62017712
    Hit any key to panic!
    
    ITEM_NAME="NITdroid on MMCp2 - 2.6.28.NIT.06"
    ITEM_KERNEL=2.6.28.NIT.06
    ITEM_MODULES=ext3 fat vfat
    ITEM_DEVICE=mmcblk0p2
    ITEM_FSTYPE=ext3
    ITEM_FSOPTIONS=rw,noatime,errors=remount-ro
    

    If you didn't find maemo in multiboot:

    Type 0 to boot stock kernel.

    Some things you'll notice after installing it on the internal memory

    1. Runs much faster, even faster than a class 8 card.
    2. The battery doesn't drain as fast as with microsd. Had it off charger all day playing games and surfing the Internet and got it to only use 40% of the battery.
    3. Pretty good given now you can use it without it draining the battery!

    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 ApplicationsManage applicationsRunning (from Tab at top)
    • Scroll to select the Market app → press the Clear Cache button → 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 → press the Clear Data button → OK (to confirm) → 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..." → OK button
    • Shutdown by holding power button → Power OffOK
    • 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 gonna be fixed in later releases.

    Airplane Mode Fix

    For people who enabled airplane mode, fixes that are in here were tried by me:

    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

    1. You can download ready GUI's from the market for OCing
    2. Or use one of these profiles: http://forum.nitdroid.com/index.php?topic=116.0

    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:

    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