View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#74
Now squeezy is left behind and only packages on wheezy is used on device.

After these steps You can run HAM (hildon-application-manager) recompiled against wheezy's packages.



Start with just flashed phone (RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin)
*Install openssh-server via HAM

And then work over ssh

Code:
apt-get install wget rootsh
#upgrade to the PR1.3.1
apt-get install mp-fremantle-generic-pr
#upgrade these from extras (and uninstall mp-fremantle-generic-pr)
apt-get install libcurl3 libgcc1 libsdl-mixer1.2 libstdc++6 dtg-installer


#Add repositories
#wheezy/repo is for recompiled packages from debian-wheey
#wheezy/waemo is maemo packages compiled against wheezy.

echo "\
deb http://www.cs.helsinki.fi/u/rantalai/maemo5/wheezy/repo/ ./  
deb http://www.cs.helsinki.fi/u/rantalai/maemo5/wheezy/waemo/ ./ \
" > /etc/apt/sources.list
apt-get update



apt-get install libc6         #important to install earlier than busybox

apt-get install multiarch-support  #this is needed for wheezy packages
#run also manually this:
echo "/lib/arm-linux-gnueabi/
/usr/lib/arm-linux-gnueabi/ \
" >> /etc/ld.so.conf



#We need true tar. 
# Change busybox to the version without tar and install tar.
#Hack: Installing tar with apt/dpkg needs tar in path
wget http://www.cs.helsinki.fi/u/rantalai/maemo5/wheezy/tar
chmod a+x tar
cp tar /usr/bin/
apt-get install busybox-symlinks-busybox busybox tar
rm /usr/bin/tar


#new dpkg
apt-get install liblzma5
apt-get install libselinux1
apt-get install dpkg



apt-get install libffi5
apt-get install libglib2.0-0  #important to install earlier than glib-networking
apt-get install glib-networking-common
apt-get install libtasn1-3
apt-get install libxml2 zlib1g
apt-get install libgpg-error0
apt-get install libgcrypt11
apt-get install libp11-kit0
apt-get install libidn11
apt-get install libexpat1
apt-get install libdb5.1
apt-get install libsasl2-2
apt-get install glib-networking glib-networking-services libgnutls26 libsoup2.4-1 
apt-get install librtmp0
apt-get install libssh2-1
apt-get install libkeyutils1
apt-get install libldap-2.4-2
apt-get install ttf-dejavu-core
apt-get install ucf  #comes from maemo (version on wheezy needs too much)
apt-get install libssl1.0.0



#fontconfig needs hacking
#old fontconfig is splitted on two new packages: fontconfig-config and fontconfig 
#some files on new fontconfig-config are same than old fontconfig
# most simple way is just install them two times, where only first time gives error
# (another way could be dpkg -i --force-overwrite /var/cache/apt/archives/fontconfig-config_2.9.0-7.1_all.deb )
apt-get install libfontconfig1 fontconfig-config fontconfig 
apt-get install libfontconfig1 fontconfig-config fontconfig 


apt-get install libkrb5-3 libcurl3 libgssapi-krb5-2 libk5crypto3 libkrb5support0
apt-get install libcurl3-gnutls


apt-get install libstdc++6  #important to be earlier than apt


#apt needs hacking
#somewhere when installing apt it calls mktep with some weird parameters
#and because it is from busybox, it cause error

#download mktemp (from coreutils-gnu) and put it in PATH
wget http://www.cs.helsinki.fi/u/rantalai/maemo5/wheezy/mktemp
chmod a+x mktemp
cp mktemp /usr/bin/ 
#They must be in one bunch
apt-get install apt apt-transport-https libapt-pkg4.12 hildon-application-manager debian-archive-keyring
#FIXME: apt gives warning "run-parts: unrecognized option '--regex'"
rm /usr/bin/mktemp
Optionally to reboot to test that phone is not bricked.

HAM can be started from commandline (from menu it has problems) and it seems to work (it can refresh lists and install packages)
Code:
hildon-application-manager.launch
---
I have also installed these new packages without bricking (no other side effects yet tested).
base-files
libexif12
libfontenc1
libfreetype6
libgcc1
libgdbm3
wget
libltdl7
liboil0.3
libiw30
libjpeg62
libss2
libsysfs2
libspeexdsp1
ncurses-base
perl-base
liblocale-gettext-perl
libopenobex1
libpixman-1-0
libpopt0
libsofia-sip-ua0
libsofia-sip-ua-glib3
libxfont1
libxv1
libxdamage1
libxcomposite1
libxau6
base-passwd
desktop-file-utils
libenca0
libcomerr2
libelfg0
openssl
libkmod2
libtinfo5
libncurses5
libatk1.0-data
libatk1.0-0
 

The Following 22 Users Say Thank You to AapoRantalainen For This Useful Post: