Trying the guest user feature destroyed all my data

REPRODUCIBILITY (% or how often): ??
BUILD ID = OS VERSION (Settings > About product): 3.4
HARDWARE (Jolla1, Tablet, XA2,…): Sony Xperia XA2
UI LANGUAGE: Finnish
REGRESSION: (compared to previous public release: Yes, No, ?): No, new feature

DESCRIPTION:

I thought I’ll check out the new guest user feature. I switched to guest user and fiddled around a bit. Then changed back to device owner. The backgroud went black but the phone was usable otherwise. So I rebooted the phone and was greeted with the first use wizard. Had to do the whole tutorial wizard and setting up wlan.

After I got past all that I saw that the whole home directory was reset back to factory. All data from Sailfish side and Android side gone.

All the apps I had installed were still there, developer mode was still on. I updated to 3.4 through OTA so I was still using nemo as a user. nemo was still there in home. So it wasn’t a complete factory reset.

Luckily I had a image backup from a few days ago so I didn’t lose very much data (hopefully, I’m still in the middle of restoring).

I don’t use any patches. I have some apps installed from OpenRepos but these should all be user land stuff. Nothing that would mess up system files.

PRECONDITIONS:

Nemo as a user. Maybe important, maybe not.
Encryption not in use. Maybe important.
Update: I am using Battery Buddy which does use some background services.

STEPS TO REPRODUCE:

  1. Enable guest user
  2. Switch to guest user
  3. Switch back to owner
  4. Reboot

EXPECTED RESULT:

Reboot to my normal phone

ACTUAL RESULT:

Rebooted to empty phone

ADDITIONAL INFORMATION:

I dont’ have any logs anymore. I’m restoring my phone.

3 Likes