BQ Aquaris E 4.5 Ubuntu phone
  • Initial page
  • LANGS
  • Cosas que he aprendido al usar el teléfono BQ Aquaris E4.5, basado en Ubuntu
    • Summary
    • ¿Cómo configurar el acceso por SSH al teléfono a través de Wi-Fi?
    • Using IRC - the weechat application
    • El menú para comprobar el hardware
    • Compiling the MUA mutt and making a click app of it (UNFINISHED)
    • El cliente de correo Dekko
    • Compiling the Telegram client "telegram-cli" in the jail
    • Mandar mensajes SMS desde la línea de comandos (shell)
    • Installing an additional root FS and run 'mutt'
    • Desarrollar aplicaciones y el SDK (no revisado hasta ahora)
    • Instalación del firmware en el teléfono
    • Cambiar las aplicaciones (core-apps) mostradas en scope de aplicaciones
    • Historial del navegador Web
    • Acceso a registro (logs) del dispositivo BQ
    • Enlaces útiles
    • Histórico de llamadas y SMS
    • Cambiar las teclas de control de la aplicación de terminal
    • Importar y exportar contactos
    • Red inalámbrica: Usar el teléfono como punto de acceso (hotspot) a Internet
    • Leer contenido local de HTML con un navegador
    • Eliminar la información privada
    • Configuración en el ordenador(Linux/FreeBSD) usando el móvil conectado a Internet con tethering por
    • Other usefull commands (unsorted)
    • Reiniciar el escritorio Unity
    • Lanzar apps desde la línea de comandos del usuario phablet(shell)
    • Cortafuegos
    • Using ubuntu-device-flash
    • El archivo de configuración del GPRS
    • ssh localhost
    • Grabar la pantalla del teléfono(MIR) para presentaciones, charlas, etcétera hacia un ordenador(X11)
    • Exporting notes from app 'reminder'
    • Tareas de Cron
    • chapter30
    • GPS, maps && apps (uNav)
    • Red por USB: tethering
    • Notas sobre algunos aspectos del hardware
    • Dónde quedan guardados los ficheros (imágenes, documentos, etc.)
  • What I have learned about the Ubuntu mobile phone BQ Aquaris E4.5
    • Exporting notes from app 'reminder'
    • Cron jobs
    • chapter30
    • Summary
    • Using IRC - the weechat application
    • Import and export of Contacts
    • Wireles networking: The BQ as an AccessPoint (hotspot)
    • Some hints for your Linux/FreeBSD netbook using the BQ with USB tethering as a router to Internet
    • Firewall
    • Hardware test menus
    • Capturing the MIR screen for presentation, talks etc. on a X11 desktop
    • Compiling the MUA mutt and making a click app of it (UNFINISHED)
    • The MailUserAgent (MUA) Dekko
    • GPS, maps && apps (uNav)
    • Compiling the Telegram client "telegram-cli" in the jail
    • Sending SMS from shell
    • USB networking: tethering
    • Installing an additional root FS and run 'mutt'
    • Developmen and SDK (completely UNTESTED until now)
    • Notes about some hardware aspects
    • Flashing the device
    • How to alter presented apps in the app scope
    • Where the files (pictures, ...) end up
    • Webbrowser history
    • Access to logs in the device
    • How to get SSH access to the ubuntu-phone via Wifi
    • Usefull links
    • Call and SMS history
    • Reading local HTML content with a browser
    • Sanitisation
    • How to alter presented keyboard's Control keys
    • Other usefull commands (unsorted)
    • Restart the Unity UI
    • How to lauch apps from the phablet's cmd line
    • Using ubuntu-device-flash
    • GPRS config file
    • ssh localhost
Powered by GitBook
On this page

Was this helpful?

  1. Cosas que he aprendido al usar el teléfono BQ Aquaris E4.5, basado en Ubuntu

Installing an additional root FS and run 'mutt'

PreviousMandar mensajes SMS desde la línea de comandos (shell)NextDesarrollar aplicaciones y el SDK (no revisado hasta ahora)

Last updated 5 years ago

Was this helpful?

This is loosely based on (which is fine but does not work as given). We do this while ssh'ed into the device. If you later want to use this system from the terminal-app see below about the ssh into localhost. Install the chrooted system as:

$ wget http://cdimage.ubuntu.com/ubuntu-touch/vivid/daily-preinstalled/current/vivid-preinstalled-touch-armhf.tar.gz
$ mkdir myRoot
$ cd myRoot
$ sudo tar xzf ../vivid-preinstalled-touch-armhf.tar.gz
$ sudo chroot .
#

# echo "nameserver 127.0.1.1" > /etc/resolv.conf

I don't know why the addr must be 127.0.1.1, but it's used as this in the host system of the BQ; in any case, this should make network happy and we can test it with:

# ping www.muc.de

and go to install, best while connected via Wifi:

# apt-get update
# apt-get install mutt
# apt-get install libsasl2-modules     # mutt needs this
# apt-get install telnet
# apt-get install vim
# apt-get install tcpdump
# apt-get install traceroute
# apt-get install lynx

# apt-get install qtbase5-dev          # compile qt5, g++ ... stuff
# apt-get install g++

# apt-get install ubuntu-device-flash  # to get the image list
# su phablet
$ cd 
$ pwd
/home/phablet                          # which is in real ~/myRoot/home/phablet
$ mkdir tmp                            # needed by vim 
$ mkdir Mail                           # needed by mutt

I copied some files from my netbook into the chrooted system, files needed by mutt:

$ scp .muttrc               phablet@ubuntu-phablet:~/myRoot/home/phablet
$ scp -p .mutt-mail_aliases phablet@ubuntu-phablet:~/myRoot/home/phablet
$ scp -rp .elm              phablet@ubuntu-phablet:~/myRoot/home/phablet

configure .muttrc for SMTP and IMAP, i.e. the essential changes are

set record=+outboxBQ        # save copies of outgoing messages in +outboxBQ
# disable sendmail
# set sendmail="/usr/sbin/sendmail -oi -oem -f guru@unixarea.de -t"
# configure IMAP and SMTP as:
set smtp_url="smtp://XXXXXXXXXXXXX@smtp.1blu.de"
set smtp_pass="YYYYYYYYYYYYYYY"

Now we can run mutt as:

$ mutt -f imap://imap.1blu.de

Note: The terminal-app is limited in its permisions to access the file system. We need to use "ssh localhost" to get full rights into the session (see above chapter 12).

Start the terminal-app and do:

$ ssh localhost
$ cd myRoot
$ sudo chroot .
# su phablet
$ cd
$ mutt -f imap://imap.1blu.de

So. And now, what about running X11 applications?

For another way to set up a chroot see also:

Last updated: Sat Oct 17 16:11:03 CEST 2015

https://askubuntu.com/questions/620740
https://askubuntu.com/questions/620740/recommended-way-to-install-regularcli-deb-packages-on-ubuntu-phone/678031#678031