OnePlus One

My OnePlusOne from 2014 used to run on the CyanogenMod LineageOS version of Android.

Custom recovery

I use TWRP. Installing it through the official application (root required) has always failed me on CyanogenMod, so I do a manual fastboot install.

LineageOS

Coming from CM 14.1 nightly, I could follow the migration protocol for my OnePlus One:

  • first install the experimental migration build
  • then install LineageOS 14.1 nightly (bacon)

Besides a very long boot time at the end of the second install, the process was flawless. Subsequent OTA installation of nightlies was equally simple.

LineageOS has no root access by default, this is apparently intended to enable payment applications.

Screen Resolution

LineageOS now has a built-in setting for this

I previously used textdroider_dpi to set up the screen to my favourite 400 dpi resolution. Since the migration to LineageOS disabled root for applications, I found a perfectly working adb method instead. You obviously need to activate adb debugging on your device first.

sudo apt install adb
adb shell wm density 400
adb reboot

Backup

First method: through TWRP recovery, choosing backup and the options boot-system-data. The whole process is quite simple and generates compressed file that can be backed up to an external storage. Copying back those file on the device for recovery works well.

Data does not mean what you think it means.

Second method: through ADB. I found the resulting file extremely small, so I did not go further.

adb backup -apk -shared -all -f <filepath>

Encryption

Encryption is currently broken: do not try until this is solved for the OnePlusOne