[Moto G Q&A, Help & Troubleshooting] citizen3rased:
Got LP running, but not CM12.1!

Hey William, I was able to get Lollipop running on both of my Moto G. A couple of weird things happened on the road to this. First, I followed this guy's posts:

http://xdaforums.com/showpost.php?p=61293339&postcount=15

http://xdaforums.com/showpost.php?p=61346260&postcount=2

I used TWRP, not PhilzTouch fyi and had already done those steps, so I started at number 2.

Then I did all of the formatting it says, rebooting to recovery several times, formatting each thing individually, and using TWRP's Format Data format which according to TWRPs site " formats to recreate the entire file system in case something goes completely wrong or to remove device encryption". - I think this is what helped the most. And don't forget to reboot to recovery after you use it and before you try to do anything else.

The wierd thing that happened though is when I was flashing the attached zip (falcon_LP_partition_II) I would get an error in the adb saying "This is for xt1031, not an xt1032" and it would fail. That's odd because I know for a fact both phones are from boost mobile and from my research all boost mobile Moto G's are xt1031's.

So I decide to skip that and try to just flash the debloated ROM he supplied. Got the same error about it not being an xt1031.

SO, I thought.. if it thinks it's an xt1032 for whatever reason then I'll just try flashing a rom that's for xt1032. So I did the same process on both phones and decided to try flashing these roms:

http://xdaforums.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510 - the Retail US 5.0.2 Stock ROM (optimized) under the XT1032 section.

I used adb sideload and guess what! It booted up and is working fine.

On the second moto G I followed all of the same initial steps, but decided to try flashing a 5.1 ROM. I found this Blisspop rom that said it can be used for 1031,32, and 33 variants, so I adb sideloaded this:

http://xdaforums.com/moto-g/development/rom-t3018246 and flashed the Gapps it recommended. IT's working fine!

Oh, and i had to go into the zip and remove the line that said it was only for the newer bootloaders to get it to flash as I have an older one and didn't want to update it.

Idk if it was all of the formatting that allowed it to work, or if it was simply an issue with the CM12.1 ROM by meticulous, but These have been running all night and today and I've been using them with nearly zero issues. The only issue I had on both was the graphical glitch when it first starts up ( I read somewhere it's from having an old bootloader) but once you press the lock button and turn it back on you won't experience the glitch anymore until you reboot the phone again. Not a big deal to me. I think I actually prefer how minimalist these 2 roms are compared to CM which shove a lot of their apps onto you.

I might try getting the cm12.1 running on one of these soon, but for right now I'm just glad they're running LP and they're running very smoothly too!

---------- Post added at 10:12 PM ---------- Previous post was at 09:53 PM ----------

Which part of the unlock process are you on? I had an issue with both parts of the codes. One of the issues was a copy and paste issue. You said you cant cop and paste the long strings of characters from motorola. The long string is the one you get from your phone, which you then paste to the Motorola website. This one is tricky. I was copy and pasting it to a notepad++ file and then fixing it and then pasting it to the website. For some reason something was getting chopped off so I had to copy and paste each individual line of the long code, then fix it. After that I still had an issue which is apparently an issue with my specific bootloader. After giving motorola the long code, they email you back with a shorter code called the UNIQUE_KEY. This is the one you use to unlock the bootloader. However, when I would use it, it wouldn't work. I found out it was because of my specific bootloader, so I had to do a temporary flash to a new bootloader, then unlock it and reboot back to the original bootloader (the temp flash doesn't stick, and that's on purprose) and then it will be unlocked.

The instructions for that are on here: I can't post outside links apparently, so go to the motorola forums link on this post: http://xdaforums.com/showpost.php?p=59966908&postcount=20

Under the section "MOTO G (1ST GEN ONLY) ON 4.4.4" where it says "download this ZIP file"

Follow the direction in the zip file and you should be fine.