Jump to content

Jolla Phone (jolla-sbj)

From postmarketOS Wiki
Revision as of 10:44, 26 October 2018 by JLIT99 (talk | contribs)
Warning WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it.
The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
Jolla Jolla Phone
Jolla Phone
Jolla Phone
Manufacturer Jolla
Name Jolla Phone
Codename jolla-sbj
Released 2013
Hardware
Chipset Qualcomm Snapdragon 400 MSM8960
CPU Dual-core 1.4 GHz Krait 300
GPU Adreno 305
Display 540x960 IPS
Storage 16 GB
Memory 1 GB
Architecture armhf
Software
Original software Sailfish 1
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Partial
USB Networking
Partial
Internal storage
No data
SD card
No data
Battery
No data
Screen
No data
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

  • MartijnBraam
  • PureTryOut

Backup the Jolla system

If you want to flash postmarketOS to your phone itself rather than an sdcard, it might be smart to first backup your system.

Backup:

  1. Shutdown the device and remove all cables and the battery
  2. Insert the battery while holding down the volume down button
  3. While still holding down the volume down button, press the power button till the phone shakes. If done correctly, the Jolla logo will be shown constantly in combination with the led lighting up white
  4. Plug in the phone to a PC with telnet installed
  5. On your PC, open a terminal and use telnet to get into the recovery
    telnet 10.42.66.66
  6. A menu will be shown, press 4 and enter to get a shell. The device will ask for your devicelock code
  7. Insert a sdcard into your phone with a partition on it big enough to fit the system (make sure it isn't FAT32 formatted, as it can only store files up to 4GB big which might be too small). The sdcard will show up as "/dev/mmcblk1"
  8. Mount the sdcard partition to a directory.
    mkdir /tmp/phone-backup; mount /dev/mmcblk1p1 /tmp/phone-backup
  9. dd your system to an image file on the sdcard.
    dd if=/dev/mmcblk0p28 of=/mnt/backup/jolla-fullBackup.img
  10. When the disk image is made, unmount the sdcard.
    umount /tmp/phone-backup

Restore:

  1. Telnet to the device like before
  2. Mount the sdcard to a partition again
  3. dd the backup image to the device
    dd if=/mnt/backup/jolla-fullBackup.img of=/dev/mmcblk0p28
  4. Reboot

Flashing mode

The Jolla phone uses fastboot from the Mer project rather than Android. To enter fastboot shut down the device, then plug in the USB lead while holding down volume down.

USB connection

The USB connection works, but needs some manual configuration (as found here).

First, find the interface name using ip a. Then, we have to assign the device a mac address (replace the interface name with what you found from the previous command).

# ip l set enp1s0f0u3 address 12:12:12:12:12:12

An IP address will be assigned automatically.

You can now use SSH to connect to the device on 172.16.42.1.

Links