Jolla Phone (jolla-sbj)

From postmarketOS
Jump to: navigation, search
Jolla Jolla Phone
Jolla Phone
Jolla Phone
Manufacturer Jolla
Name Jolla Phone
Codename jolla-sbj
Released 2013
Original software Sailfish 1
Hardware
Chipset Qualcomm MSM8960 Snapdragon 400
CPU Dual-core 1.4 GHz Krait 300
GPU Adreno 305
Display 540x960 IPS
Storage 16 GB
Memory 1 GB
Architecture armhf
Non-Android based device
Features
USB Networking
Partial
Flashing
Partial
Touchscreen
Display
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls



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