And all I want to do is mount the encrypted partition so I can get some photos from it before I factory reset.
Unfortunately, I never enabled usb debugging, I don't have a custom recovery, I don't have an unlocked bootloader, and I don't have a backup app installed either! (lesson learned)
My device is a Motorola XT1254 and I have Ubuntu on my PC (although I also have other PCs with OSX and windows if that helps at all).
What I've tried so far is fastboot to twrp (found a version for my device here), like so:
sudo fastboot boot twrp-188.8.131.52-quark.img
That didn't work, and displayed this in the terminal:
OKAY [ 0.390s] booting... FAILED (remote failure) finished. total time: 0.392s
So yeah I presume that's because of the locked bootloader. And according to the motorola site, you must erase the internal storage to unlock the bootloader. Is my device rejecting the fastboot because of the locked bootloader, or should I just try a different version of twrp or something else?
Any other ideas? The default recovery for my device has an option to sideload updates from adb which is my only other idea. It sounds like sideload from adb can run a script in the zip file to automatically update specific files on reboot... maybe there's a way to revert the "force RTL" developer setting with it? Is it even possible to do adb sideload if my device is encrypted? Could I use it in some other way to access my encrypted partition?
Also forgive any ignorance on my part, note that this is literally the first time I've done anything technical with android! But I have a pretty decent understand of linux in general.
P.S. my device has no external SD card slot (which seems idiotic but whatever) so anything involving that is out of the question.