FP2: upgrade from Q to R advisable?

Success!

Today, I started yet another attempt. Good news: Manually upgrading from Q to R is indeed possible without wiping data (at least on the #FP2). The important addition was to remove the locksettings.db when upgrading.

This is what I did:

  1. Backup data and media (via TWRP in order to be able to roll back in case something goes wrong); you may also want to place the phone into flight mode before doing so in order to not lose text or other instant messages
  2. Go to SettingsSecurityScreen lock and set it to None
  3. Shut down the phone and start TWRP
  4. This is important: remove /data/system/locksettings.db*. There are three files: locksettings.db, locksettings.db-shm, locksettings.db-wal; I removed all three of them; maybe removing just locksettings.db would be sufficient, I don’t know. But at least, I did not encounter any adverse effects after removing the three files.
  5. Wipe System, Cache, and Dalvik / ART Cache
  6. Sideload the ZIP file containing the Android R image. Note: I sideloaded e-1.8.1-r-20230206257804-dev-FP2.zip rather than going straight to 1.10: my phone was running e-1.8.1-q before, and I did not want to change too much in one step.
  7. Reboot to system
  8. Reinstall your lockscreen settings
  9. Do some initial testing to see whether there are any severe problems
  10. If everything looks good: Leave flight mode (see step 1)

Done!

3 Likes