This is how to install the ARMEL (femtocell architecture) emulator scratchbox used by maemo on Ubuntu 10.10.


This howto is based the maemo doc.

  • get the scratchbox installer
chmod a+x ./
  • disable some virtual machine features (for Ubuntu)
sudo su
echo "vm.mmap_min_addr = 0" >> /etc/sysctl.conf
echo "vm.vdso_enabled = 0" >> /etc/sysctl.conf
sysctl -p
  • install scratchbox
sudo ./ -u $USER
  • create a group to be able for the user to launch it (have to logout)
newgrp sbox
  • repair xterm for the next step (bug)
sudo mkdir -p /usr/share/terminfo/x
sudo ln -s /lib/terminfo/x/xterm /usr/share/terminfo/x/xterm
  • install maemo sdk to get ARM emulator. runtime environment is sufficient (to select in the menu)
chmod +x ./


to run the emulator :


the first time you have to switch from x86 to armel architecture :

sb-conf select FREMANTLE_ARMEL


signature & encryption

copy the decrypt/signature checker, from the recovery rootfs, to the scratchbox environment :

cd <path to recovery rootfs>
cp lib/ /scratchbox/users/$USER/targets/FREMANTLE_ARMEL/lib/
cp lib/ /scratchbox/users/$USER/targets/FREMANTLE_ARMEL/lib/
cp usr/bin/ubcrypt /scratchbox/users/$USER/home/$USER/
cp usr/bin/sigcheck /scratchbox/users/$USER/home/$USER/
cp usr/bin/simcheck /scratchbox/users/$USER/home/$USER/
scratchbox.txt · Last modified: 2011/08/30 17:34 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki