maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   NITDroid on dedicated disk part (https://talk.maemo.org/showthread.php?t=101345)

Russanandres 2022-07-16 08:37

NITDroid on dedicated disk part
 
1 Attachment(s)
Warning! There is a chance of losing all data on the device. Wrong actions can lead to data loss and clean n900 firmware!

Thanks to dredlok706 for the installation instructions on the internal memory. Use it to avoid unnecessary risks.
All instructions are written through a translator, sorry if it's not very clear.

Advantages and disadvantages of installing on a dedicated disk volume:
+ MyDocs is used as internal storage (/mnt/sdcard).
+ You can allocate a place for android at will.
+ The /home folder will not be clogged with junk files in Maemo.
+ When formatting Maemo partitions (mmcblk0p1,2) android will not be erased.
- Some software in Maemo may not work with split MyDocs (guess, not tested).
- It is possible to lose all files on MyDocs, optFS and rootFS during installation.
- Need a memory card to install.

Requirements:
• SDCard (I used a 64GB.)
• Backups

1. Install Maemo Leste on a SDCard. Install gparted in Leste. Run it (sudo gparted in terminal)
2. Separate the partition (I separated 5GB) from mmcblk1p1. The MyDocs partition should shrink and the /dev/mmcblk1p4 partition will appear. Format it to ext3. Select mmcblk1p1 (Fat32 partition) -> click Partition -> click Check Partition.
3. Copy these files to your Nokia (eg MyDocs/nitdroid):
https://drive.google.com/file/d/1a85...ew?usp=sharing | Mirror on Archive.org
4. Enter these commands in the terminal:
Code:

root
mkdir /and
mount /dev/mmcblk0p4 /and
cd /home/user/MyDocs/nitdroid
bzip2 -d N12_UMay.tar.bz2
cd /and
tar xvf /home/user/MyDocs/nitdroid/N12_UMay.tar
mkdir /etc/multiboot.d
cd /home/user/MyDocs/nitdroid
cp init.nokia.rc /and
cp uImage /and
cp init_subsys /and/system/maemo/bin
dpkg -i nit[PRESS TAB ON SCREEN].deb
cp 50-android-sd.item /etc/bootmenu.d/
u-boot-update-bootmenu

The Android file system in Maemo must be available at /and. If not, type "mount /dev/mmcblk0p4 /and"
Reboot. NITDroid-SDCard should appear in the system list.
;)

PS. Thanks to dredlok706 for instructions and inspiration.

Maemish 2022-07-16 11:17

Re: NITDroid on dedicated disk part
 
Thanks for sharing!

dredlok706 2022-07-16 17:58

Re: NITDroid on dedicated disk part
 
I used this way :)
But after some time, I had an great, worthy of a lazy :D idea, that I do not want to partition my SD again and again after reflashing, breaking Android etc., formatting card, only dd-ing Maemo Leste and unpacking NITdroid to MMC.
However, it might be better, in terms of speed - SDHC/XC (N900 supports XC?) over MMC, and more disk space (/home partition is small :( until you partition it also).
However, thanks for nice tutorial and for mentioning me :D

Russanandres 2022-07-20 19:14

Re: NITDroid on dedicated disk part
 
Quote:

Originally Posted by dredlok706 (Post 1574399)
(N900 supports XC?)

Yes, it does. My 64GB memory card is marked class 10 and XC.


All times are GMT. The time now is 13:09.

vBulletin® Version 3.8.8