jueves, 6 de enero de 2011

Improve Maemo step by step

Firmware

Settings, Control panel, About Product
(N800/810 last ver. v5.2008.43-7)

Download from:
http://bb5firmware.blogspot.se/2011/04/n800-rx-34.html


Add repositories 
Settings, Application manager, Tools, Application catalogue


Install repositories from
http://www.gronmayer.com/it/


or create by hand

Maemo Chinook
http://repository.maemo.org/
chinook | free non-free

diablo tools
http://repository.maemo.org
diablo/tools
free non-free
 
Maemo Hackers
http://maemo-hackers.org/apt

I hope they continue available in the future...


Install tools

rootsh (with application manager closed -deprecated method) 
or 
sudo gainroot  (new method)
apt-get update
apt-get install wget
apt-get update
apt-get install e2fsprogs



Note for file downloads
Internet browser downloads to
/home/user/MyDocs/.documents
(hidden folder from commandline)


Gparted
Download and install Gparted - Hacked
Manage partitions from a graphical interface

gparted-hack.deb (for N800/N810)
Open and install with Application manager or save to local folder( i.e Documents) and install with dpkg -i 

http://talk.maemo.org/showthread.php?t=24679&page=3


Install important packages
apt-get install python2.5-runtime

EmelFM2 (file explorer and file editor)


Install console-tools

http://talk.maemo.org/showthread.php?t=25714 (links console-tools.deb offline!!)
This installs also: fdisk - parted - cfdisk - wget - tar - bzip2 - e2fsprogs
Use with command 'pbeasy', or 'pb' advanced mode.


Backup Firmware (0pen Free Fiasco Firmware Flasher)


DOwnload "0xffff" v0.3.9 from
http://talk.maemo.org/showpost.php?p=654646&postcount=3

0xFFFF.static.gz

(in order to execute the file 0xFFFF.static, you must copy it to a folder in the main partition (Not FAT/FAT32))


cp 0xFFFF.static.gz /usr/local/sbin
cd /usr/local/sbin
gunzip 0xFFFF.static.gz
chmod +x 0xFFFF.static
mkdir /media/mmc2/mybackup0xfff
sudo ./0xFFFF.static -e /media/mmc2/mybackup0xfff/




Now you have some new files in /media/mmc2/mybackup0xfff
config.bin
initfs.jffs2
rootfs.jffs2
secondary.bin
xloader.bin
zImage

you can put in one tar file.

tar -cf /media/mmc2/myN810backup.tar .
(for me it is a 262Mb file)
And I copied the file to my PC

Notes:
To extract from tar file
tar -xvf myN810backup.tar

Partioning SD
sfdisk /dev/mmcblk0 -uM
0, 1900,06
,,,

0=begin
1900=end (MB)
06=fat
default=linux

verify with  sfdisk -l

format fat: mkdosfs /dev/mmcblk0

Add boot from SD
Download  initfs_flasher.tgz 
mkdir bin
and copy in /home/user/bin
tar zxvf initfs_flasher.tgz
cd  initfs_flasher
edit bootmenu.conf

./initfs_flasher
remove extra staff?: yes
install telnet for recovery? : yes
dropbear ssh for recovery? yes
(automatic reboot loading from flash )

Clone to SD

download script nupgrade.sh
and copy in /home/user/bin
grant execution rights with: chmod -x nupgrade.sh
( As script requires to find tar app file in same folder,
cp /bin/tar /home/user/bin )

sudo gainroot
./nupgrade.sh wipe

target p2? yes
reboot

if error "Unable to locate mbcache.ko - aborting"
copy /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko  /lib/modules/2.6.21-omap1


Useful Links
repositories
http://www.gronmayer.com/it/

No hay comentarios: