Nitdroid easy install on EMMC: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>ammyt
 
(252 intermediate revisions by 44 users not shown)
Line 1: Line 1:
== '''The procedure of installing Nitdroid 0.0.8:''' ==
{{danger}}
1. enable all repos (testing,devel,extras,even the default nokia ones) download and install leafpad and o'course ur beloved rootsh from appman.
{{ambox|text='''Under heavy construction'''}}


2. close appman, open xterm:


root
apt-get update
apt-get install nitdroid-installer
y
y again if it asks again.
3. after the '''nitdroid-installer''' installs close Xterm, then install the attached installer, just copy it to ur N900 and open it via appman (for no formatting ext3 stuck hiccup) btw it will recognize it as a small update for ur installer that u just downloaded and installed at the second step.
4. open xterm
root
nitdroid
YES
5. after Nitdroid installs (took me 20 mins in 70 kb/s download speed) don't reboot ur phone to nitdroid, be patient!
6. tap the drop down menu in Xterm click new and close the one before (the one that said Nitdroid was successfully installed)
'''If you don't have a microsd:'''
Important: It's for overclocked phones, if you dont 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
1. Copy downloaded files to MyDocs.


2. Open x-term and do this:
[http://wiki.maemo.org/NITDroid_Port#Links NITDroid Port]


sudo gainroot


mkdir /and
==Installing NITDroid==


mount /home /and
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.


apt-get install multiboot multiboot-kernel-power bzip2
There are two ways of installing NITDroid:


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


bzip2 -d NitDroid-0.0.8-Popov.tar.bz2
2. Creating a custom 2GB partition on your eMMC: Cleaner - Requires a brain
cd /and
'''Bold text'''


tar xvf /home/user/MyDocs/NitDroid-0.0.8-Popov.tar


dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-06_final1_armel.deb
===Method 1===
umount /and
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.


3. Make the multiboot .item.
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


== '''The procedure of running Nitdroid 0.0.8 on your EMMC:''' ==
== Uninstalling NITDroid ==
=== If Installed By Method 1 ===
Tap on the NITDroid-Uninstaller on your menu.


1. Open xterminal
=== If Installed By Method 2 ===
Open X Terminal and type the following commands:
<ol>
<pre>
root
root
mount -o noatime,rw /dev/mmcblk0p5
rm -rf /and/.
</pre>
</ol>
Then uninstall multiboot by anyway you prefer.


a) mount the partition
[[Category:Power users]]
 
[[Category:N900]]
mount /dev/mmcblk1p2 /and
 
b) Copy android system files over to /home
 
cp -rp /and/* /home
 
c) edit the boot file
 
leafpad /etc/multiboot.d/11 (then tap the tab button, ur .item file will show hit enter to open in leafpad)
 
edit ur .item file to look like this
 
ITEM_NAME="NITdroid on MMCp2 - 2.6.28.NIT.05"
 
ITEM_KERNEL=2.6.28.NIT.05
 
ITEM_MODULES=ext3 fat vfat
 
ITEM_DEVICE=${[B]INT[/B]_CARD}p2
 
ITEM_FSTYPE=ext3
 
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3
 
EOF
 
OR
 
'''If you followed the manual installation guide with and u don't have a microsd:'''
 
change the .item file to:
 
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
 
2. Once editing is complete click the drop down menu on leafpad and save then close leafpad.
 
3. Close Xterm, then reboot ur N900 with keyboard open and type 2 for Nitdroid
you'll notice that booting will take less time, and if u want u can remove ur back cover and ur microsd to check. BUT u can't boot without something in the microsd slot, any microsd will work even empty ones.
 
 
== '''Frequent errors''' ==
 
'''Guru Meditation:'''
 
If u have NITDroid that ends in .06 and facing this error, delete the words highlighted in '''BOLD''' from your multiboot file:
 
Root filesystem mmcblk0p5 NOT available!
Guru Meditation #000000025.62017712
 
Hit any key to panic!
 
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_FSTYPE=ext3
 
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,'''commit=3
 
EOF'''
 
'''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 10 times faster, even faster than a class 8 card.
 
2. The battery doesn't drain fast. 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 'Applications' > 'Manage applictions' > 'Running' (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 Off' > '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 gonna be fixed in later releases.
 
 
'''Airplane Mode Fix:'''
 
For ppl 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 ur pin code in maemo
 
3. menu>devtools>terminal 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 outta 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[/url]
 
 
 
 
== '''Uninstalling Nitdroid:''' ==
 
Open Xterminal:
 
root
 
mount /dev/mmcblk1p2 /and -o noatime
 
nitdroid-uninstaller
 
after it completes, simply format your sd 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 TO WATCH:''' ==
 
My video: http://www.youtube.com/watch?v=l_9kG81m-S4
 
Mr.NokiaTecs' video: http://www.youtube.com/watch?v=z7MIGu2POzY

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.