Jolla

From eLinux.org
Revision as of 05:49, 30 November 2013 by RzR (talk | contribs) (Where do I put .apk files)
Jump to: navigation, search

Jolla is a mobile Linux phone based on Sailfish OS and Mer.

Developing for Jolla

To develop applications for Jolla, you need to download the SailFish SDK.

Tech FAQ

See pirate pad for more

http://piratepad.net/JollaFAQ

How to connect to SSH over usb connection from PC

the usb is either usb_storage or usb_net

  1. enable developer mode
  2. enable SSH (it's openssh, not dropbear)
  3. set password
  4. goto usb settings
  5. change that to developer mode
  6. reconnect usb cable
  7. you should see the ip address of the device on the UI
  8. you should be able to ssh to that address from PC (set an ip address first)

How is The Other Half connecting to the Phone?

  • NFC (a unique ID)
  • I²C (bandwidth/pins unknown as of yet)
    • 1,8V I2C (400kHz default setting in kernel)
    • Other half expected to work in slave mode, phone is master
    • Dedicated INT GPIO (1,8V) for interrupts
  • power in (for charging)
  • power out (for using battery)
    • 3,3V VDD (max 300mA, preferrably < 150mA to avoid thermal issues)

and of course also

  • Bluetooth
  • Wifi
  • USB

Where do I put .apk files

RzR: the 'where to put .apk files', the second method listed there, could you remove that, and replace it by something like '


  1. download from web and choose install

or

  1. put apk into ~/ (home directory)
  2. launch it with "xdg-open `pwd`/${app}.apk" (where $app is your app name)

or other not encouraged way :

  1. go into developer mode
  2. put the .apk file into /data/app/ (chown to root)
  3. if icon doesn't show up automagically "systemctl restart apkd.service" (or reboot device)

How to install the Google Play Store

(From [1])

  1. Enable Jolla Developer Mode and allow SSH-connection.
  2. Download http://goo.im/gapps/gapps-jb-20121011-signed.zip and extract it.
  3. Plug your Jolla with USB to computer in normal mode.
  4. Copy system-folder from your extract files to Jolla.
  5. Open SSH-connection to your phone and login.
  6. Write "devel-su" and press enter. After that, write your password.
  7. Write command: rsync -av --ignore-existing /home/nemo/system /opt/alien
  8. Reboot phone
  9. Install Google Play services to Jolla
  10. Install Google Play Store to Jolla
  11. Start Play Store and do updates.

How is the software structured

  1. jolla hw adaptation for device
  2. mer
  3. nemo
  4. sailfishos middle layer
  5. sailfishos UI
  6. native apps or android app via emulator or html5 apps via browser(gecko engine)

What kind of new software is used

  • kernel 3.4
  • btrfs as rootfs
  • ext4 mounts
  • systemd with journal
  • pulseaudio
  • wayland
  • qt5.1
  • libhybris (load Android bionic libraries and HAL in a glibc system)

Jolla Hardware

This is a basic overview of the hardware subsystems of the Jolla phone. Please populate the items. See http://wiki.maemo.org/N900_Hardware_Subsystems for one suggested style.

  • Audio
  • Video
  • USB
  • User interaction
    • Touchscreen
    • Accelerometer
    • GPS
    • Magnetometer
    • Gyroscope
    • Switches
    • Proximity Sensor
    • Light sensor
  • Power managment
    • Battery
    • Charge meter
  • Phone
    • Phone module
    • SIM
  • CPU
    • Core System on Chip
    • RAM
    • Flash

EOF