[Android Q&A, Help & Troubleshooting] Viggaaa:
Hey,

I'm pretty new here, so don't hate on my lack of knowledge^^

Maybe I'm even in the wrong sub-forum

(I think there was a sub-forum dedicated to moto x, but this isn't a device-specific issue, so here should be fine - no?)

Got the following problem:

My moto x (2nd gen) is stuck in a loop. I get to the logo-screen, then it goes to "Encryption unsuccessful" and when I click "Reset", it restarts and fails upon trying to reset.

How I got here:

1) A while ago I wanted to encrypt the phone for the lulz (using its' own encryption-tool)

Followed the simple steps, as in having it charged up, but the encryption did not go through.

Don't remember having it to reset at first, it just booted, even though it had bugs after that:

-whenever I charged it, I had problems turning it back on after charging, had to turn off and back on for it to actually work.

-those notifications on top which one can normally open via sliding down, that sliding down did not work after that.

Eventually I did a hard-reset and it fixed the sliding-problem.

Charging also worked fine at first until it did not.

2) I ended up stuck in a boot-loop that went to the logo-screen back and forth (got to logo-screen, restarted, got to logo-screen, restarted, ...)

Tried to soft-/hard-reset using the VOL- and POWER combo.

The hard-reset itself threw some errors at me, something like "can't delete [whatever]".

Still, after a few tries it eventually went past the logo-screen to the encryption-step.

After another few failed resets and emptied cache via recovery-screen, it somehow ignored the encryption-step and turned on the phone (was a fresh version).

3) Worked fine for 1 whole evening, no crashes/glitches/anything until I had to charge it up.

Then it was back to the broken state.

Note: during 2) I tried to boot with a custom recovery-mode(TWRP), but couldn't get it running.

Then I tried to flash it, but anything I tried to install failed.

I had my suspicions, but eventually I got it straightened out: my phone isn't rooted, and the bootloader is locked.

I did get the code to root it via some steps and the motorola service, but the code did not work as it wanted me to unlock the phone first.

From what I've read, to do that I need to get into the settings and unlock/root it...

Funny thing: I can not turn on the phone to get into the settings.

So - anyone got ideas?

Warranty is gone since apparently my tinkering with the locked bootloader and unrooted phone still was visible and they voided the warranty.

Not sure I broke much/anything with that, though, since it DID work at some point after that (even if it was for a few hours before needing recharging)

Therefore I'm open to any suggestions since the alternative stop would be throwing it into the bin^^

Can I unlock the bootloader without having a working system?

Can I root it somehow without having to get into settings (since I can not turn it on in the first place)?

I did a fair share of reading, but most times the guides just assumed that I already rooted it, or forwarded me to a guide where it said "go into settings and spam the build to get advanced options, then simply root/unlock that damn thing". Tried to find a way to unlock/root it without being able to turn it on, but did not get lucky with the search.

If I could unlock and root it, I probably could go from there. Guides are pretty specific and seem to work for most.

Also, I would try the original android version first before searching for any custom systems.

(that is the smartest way to do, right? since I'm just a user and dont plan on doing more hacking/breaking)

Hope all that above wasn't too much to read :D

Thx for any advice in advance.

Edit:

Well, after what feels like 50 restarts it miraculously did not send me to the "Encryption unsuccessful" but instead booted like it should (as a fresh version, though - so had to backup).

Now I've turned on the thing in the settings so next time it breaks, which I expect to happen by tomorrow, I can flash that sucker.

Still - anyone knows how to enable all that stuff one normally does via settings some way that does not involve successfully booting it?

I mean, there should be a way to root/unlock it without having to turn it on first, right?

Edit2:

As expected, the flashing part was pretty easy, so I'm now sitting with a fresh android 6.0.

Two days in and it's still working fine, haven't had any complications (except battery draining faster then at the very beginning, but I think that's due to it hanging too much on the usb-cable during all those sessions of me trying to fix it - and generally I've had it charge over night a few times to often)

Still would appreciate any advice on how to unlock developer mode and usb-debugging within the bootloader or recovery-mode.