yashsingh1/xdaforums huggingface dataset:
[Moto G General] Hitorijanae:
The reason is because when I tried fastboot flash, it damaged the recovery partition, and since the stock images for the 4G LTE version haven't been released yet, I couldn't get a stock recovery image. So, recovery would just say "boot failed"
[Moto G General] ChavitoArg:
How did u "damage" recovery partition?

Enviado desde mi Moto G mediante Tapatalk
[Moto G General] Hitorijanae:
I probably should've stated that better. Basically, the image flashes, but going into recovery doesn't work anymore.
[Moto G General] roygbiv856:
EDIT: Nevermind. I figured it out and it worked great! Wahoo!

When I type in "cd /path/to/folder/with/recoveryandadb", it says "the system cannot find the path specified"?
[Moto G General] LewisAGarcia:
So after typing in exactly "fastboot boot recovery.img", it didn't work.

EDIT: Nevermind, got it to work. Not too confusing actually, thanks.
[Moto G General] bigjackt:
Worked! Restore ?

Hi

Your instructions worked properly on both G 4Gs I recently purchased.

However, one of the phones is having problems with the SD card. Keeps saying it was

removed unexpectedly.

I want to restore the phone to factory with boot loader locked so I can ship it back for warranty.

2 Questions:

How do I restore it?

Has unlocking boot loader and rooting it left a trace that the show ?

Thanks
[Moto G General] Triggeh:
Edit: worked on my xt1039 as a temporary solution If anyone is feeling experimental

The sdcard issue is a known problem with some cards, check this thread: http://xdaforums.com/showthread.php?t=2783238 supposedly motorola is working on a fix. Do note that this phone will not use UHS-1 or UHS-2 speeds so buying those cards is a waste of money. Check this out aswell:https://forums.motorola.com/posts/7e59cc7baf

If you still have your receipt maybe you can return the card for a different model and try it in store? Depending on how/when you purchased it also I would avoid class-10 or UHS cards as those seem to be less likely to work in this device currently.

1. Turn the phone off hold power and volume down for a few seconds let go and you should instantly see a menu pop up. Navigation: Volume down scrolls down then goes back to the top of the list, volume up selects power... reboots.

You voided the warranty when you unlocked the bootloader, unless your in UK you can't return it. Returning it probably won't fix the issue anyway, they did say they were working on a fix but until that is available I doubt they can help you.

2.You input your device code when you unlocked it on motorola's website unless there is a way to change that to a legitimate one then no, I highly doubt you can hide that you unlocked the bootloader.
[Moto G General] jensen2112:
XT1045?

I have the Moto G 4G LTE XT1045. This file is from the other Moto G, the original one (falcon). Doing this in my phone will not brick it?
[Moto G General] NWKENT:
Note for the new ones here:

XT1045 is code name "peregrine" the other Moto G's, with exception of the UK, and probably other 4G LTE..All other models are code name "falcon"..the two are NOT compatible..

Moto X code name is "ghost"

Droid Maxx code name is "obake"

The above mentioned are NOT interchangeable.. (UNLESS) you are a Dev and experienced in Porting..

Sent from my 4.4.3_21.23.4

(Unlocked) XT1045 Moto G 4G LTE

http://waynekent.com/page6.html
[Moto G General] Sleepy!:
XT1039 is Peregrene as well.
[Moto G General] Viqsi:
So far as I can tell, no. The command being used with that image is "fastboot boot", not "fastboot flash". The former is (so far as I can tell) a "download this image and use it to boot once" command; it (if I'm reading correctly) wouldn't actually overwrite the recovery on your phone. The latter, OTOH, would surely overwrite your recovery, and would probably be ill-advised here (judging by some other posts, the OP gave it a try and subsequently recovery on the OP's phone stopped working).

So unless that recovery image is so horribly broken that even just booting with it will release the magic smoke (unlikely, as I doubt TeamWin would release it in that state :) ), I suspect it'd be fine. Probably. Just make sure you get the command right!

DISCLAIMER: I'm not actually fully familiar with fastboot myself, but I've worked with similar utilities on similar devices before (in particular, for my old Nokia N900). Have seen similar distinctions between "use this image this one time only" and "flash this image to the device and use it", though, so I'm feeling good about what amounts to an educated guess here.
[Moto G General] vpnair:
Fully working CWM Recovery (Unofficial) Now Available Here for Moto G 4G/LTE. ie. can 'fastboot flash' this version.
[Moto G General] Guardian29:
Hey guys so I did this fully, seemed to work, but when I go back and launch bootloader and try to run recovery it says "boot failed"

Initially I installed SuperSU through TWRP like stated and functions, but I feel like I dont actually have a recovery installed..?
[Moto G General] jensen2112:
Thanks. I notice that once I did the process. "fastboot boot" only boot the device, it don't flash anything. In my case I only want the root, this works perfectly for me.
[Moto G General] spatuluk:
XT1039, here. Worked fine for me!

Now I can actually install apps without worrying about the internal memory evaporating. It's almost as good as Gingerbread! :silly:
[Moto G General] bezoomny:
install 4.4.4 after root.

Thanks for this guide it worked perfectly.

But what is the newbiest way to remove root, install 4.4.4 update.

And return to root. I tried using the supersu app to un-root but it didn't work.
[Moto G General] Brian D:
Has anyone tried this method? http://www.droidviews.com/root-moto-g-4g-lte/

Seems I am torn between fastboot boot as described in this tread, or the fastboot flash described in the droidviews instructions. Although I am not interested in ROMs, I do want the ability to backup and restore the way TWRP does it. I have TWRP on my Samsung Galaxy Tab 3 10.

The two files associated with this TWRP boot/flash are:

twrp-2.7.1.0-peregrine-201407161845.img (from droidviews instructions)

openrecovery-twrp-2.7.1.1-xt1032 (from this thread)

Thanks
[Moto G General] vpnair:
fastboot boot --> temporary boot from computer, no files modified on device

fastboot flash --> files are modified on device

This thread (OLD) --> The recovery in this thread is actually for Moto G (falcon). Do NOT fastboot flash - it will not work for our devie (Moto G 4G - peregrine). Only fastboot boot works. It was useful for installing SuperSu and gaining root (but you couldn't boot into custom recovery again without computer as it remained stock recovery)

Moto G 4G Development Thread on CWM, TWRP and Philz recoveries (NEW) --> These are fully functional recoveries specific for the Moto G 4G (peregrine) - Our device! Thus we can 'fastboot flash' onto our device and it will work. Droidviews has done a nice guide on how to 'Fastboot flash' with TWRP. But you can flash the otehr two recoveries too (just download the file from the thread and flash like droidviews says). Choose whichever you prefer!

You can then install SuperSU for root, and reboot into recovery at any time to install/backup/restore etc with recovery.
[Moto G General] Brian D:
Thanks, so the simple answer is to

fastboot falsh twrp-2.7.1.0-peregrine-201407161845.img (based on the info in this TWRP thread.)

and I should be good to go. There seems to be too much information that also seems to be outdated (as you mentioned).
[Moto G General] vpnair:
Nearly Correct. Dont forget to add 'recovery' before the recovery's file name - you are asking fastboot to flash the recovery section of your phone. Ive edited my previous response to include links to other recoveries. So choose any you like.

Fastboot flash recovery The-recovery-file-name.img

All okay? Let me know if you need further help. Yeah this is outdated. Usually newer information will come to the front page.
[Moto G General] Brian D:
Thank you!
[Moto G General] spatuluk:
I need to do the same.

SuperSU's unroot option didn't work, and doing a factory reset didn't work either.

I guess the only option left is to flash a stock ROM, which is a shame because I was trying to avoid flashing any ROMs (I've had bad experiences). :(
[Moto G General] spatuluk:
I bit the bullet and flashed a stock firmware using this thread.

I already had the Motorola drivers and adb installed from rooting the phone previously (I installed adb using the 15 second adb installer, so the adb and fastboot commands work from anywhere)

Download stock firmware for the phone from this thread (For my UK XT1039, I used Android 4.4.3 (Retail EU) KXB21.14-L1.31).

Extract the zipped firmware to the hard drive.

Open a command prompt and change directory to the extracted firmware location.

Reboot the phone into bootloader mode (turn off, hold volume down, tap power).

Plug in the USB.

Execute these commands in the command prompt to flash the firmware (it might work as a script, if you paste it into a .bat file. I preferred to do it line by line, in case an error occurred):

fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot

That's it, and it worked - it let me do an OTA update to 4.4.4. I suppose I could've done that by choosing a 4.4.4 firmware, but meh. :p

Naturally, my class 10 memory card STILL doesn't work. :rolleyes:
[Moto G General] bezoomny:
Thanks I will give it a try.

update:

Got it working :) I installed CWM recovery and flashed the rom you linked to.

It converted from GB to EU rom with no problem. didnt loose ant data or root.
[Moto G General] vpnair:
I didn't remove root before installing OTA. But I updated my EU version, and I only needed to reverse any modifications to /system partition and just flashed the system.img chunks in fastboot (without needing to reflash the modem, and erasing any data). (sounds like you converted en.UK to en.EU :))

Or, like you said, if you have a custom recovery, you can just flash a 4.4.4 firmware.
[Moto G General] spatuluk:
I'm not an EU sceptic. :)

Good to know for the next time! I was getting fed up by that point, and just wanted it over with. :p
[Moto G General] Baratino:
Alguém com o XT1040 retail br (Brasil) já testou esse tutorial para root no 4G LTE ? Funcionou?
[Moto G General] vpnair:
This will work for XT1040 also.
[Moto G General] bigtastie:
I'm having a problem after I did this - my phone gets stuck at the bootloop. Not sure what to do, I've tried the usual stuff with wiping cache and data. It's pretty hopeless at this point.
[Moto G General] Baratino:
Obrigado.
[Moto G General] valentepvh:
Tks. Worked in XT1040(claro);

Obrigado funcionou no XT1040(claro).
[Moto G General] |Renovatio|:
Sorry guys, but i've already update to 4.4.4 before root. What have i got do to now? Thanks
[Moto G General] vpnair:
This is an old thread that no longer is applicable.

Unlock your bootloader through Motorola website. Then follow this thread:

http://xdaforums.com/moto-g/4g-development/recovery-unofficial-cwm-6-0-5-0-t2818161
[Moto G General] |Renovatio|:
I'm on the motorola website, all things seems are gonna be ok, but can't receive the email, even i request the code! Please help...

The problem is when i push "request" (even above it appears the right button to do it...), the next page is all...white....nothing...ARGH
[Moto G General] |Renovatio|:
Please, if a leave here the super-long code to get the other 20 alpha-numeric characters, could someone try to obtain the code to unlock bootloader? Thanks...
[Moto G General] zacy5000:
Will this work for the XT1039? Its on android 4.4.4

EDIT: Never mind. Read that it works but the recovery will be temporary.
[Moto G General] M82A1-50:
The unlock process worked like a champ. I did discover the Motorola bootloader unlock site had a server error. After calling Motorola and pointing it out (not an easy task as they kept telling me it was my internet and Motorola.com worked so everything else works) they fixed the site next day.

tl;dr. Motorola bootloader unlock website is back up.

Also philz recovery works like a champ and recognizes my SD card.
[Moto G General] vpnair:
This is a very old thread. Refer here for fully functioning CWM --> http://xdaforums.com/moto-g/4g-development/recovery-unofficial-cwm-6-0-5-0-t2818161

There is also working Philz and TWRP recoveries at Android 4G Development.
[Moto G General] Hitorijanae:
Mods, please close this thread. The information, while functioning is outdated and better alternatives have been created.
[Moto G General] mefxes:
Well, thanks for the answers.

I just finished the unlock process through Motorola website, it worked nicely.

I have a 8GB XT1040 (4G south american).

Can you guys recommend wich recovery is best, and maybe a ROM?

Thanks for yous help!
[Moto G General] BathroomTile:
I'm using TWRP as my recovery (from this thread), and I'm staying with the stock ROM but am using Xposed, which adds a bunch of features to the phone (highly recommend the GravityBox module).
[Moto G General] yaconsult:
Me too! The Moto G version of kitkat has been modified to allow moving some things to the sdcard. Xposed and gravitybox allow for adding all the features you usually get from a cyanogenmod rom while still using the stock rom. The last time I looked, the cyanogenmod roms still had some issues on the moto 4G - make sure you read the notes carefully before you take the plunge.
[Moto G General] webvan:
Good to hear as I'm expecting my Moto G 4G today and was having a bit of a headache with the instructions in the first message here! Had a quick look for easier methods but haven't found much, do you have a link handy? Thanks!
[Moto G General] senzacionale:
this TWRP not working with the latest version of MOTO G LTE (KXB21.14-L1.56-1 CID7)

I can not click on "swipe to unlock". Is is possible to remove "swipe to unlock" from TWRP?
[Moto G General] NWKENT:
There is a known good, all functions v2.7.1.0-peregrine..here is a shot of one of my devices on the version..internal slot, OTG all functions working perfectly..I have NOT tested the current OP version, but I have tested the OP file with the same file name..and some functions where not available, but maybe since I tested, the OP file is OK..I have a 100% known good v2.7.1.0-peregrine, but will not post link here, due respect to the OP..

Sent from my 4.4.4_21.11.56_peregrine

(Unlocked) XT1045 Moto G 4G LTE #1

http://waynekent.com/page6.html

"Praise Jah" YOU people.!
[Moto G General] morepr:
Cricket Moto G 4 G LTE xt1045

Hello guys i just got the Cricket Moto G 4G LTE xt1045 running 4.4.4 kitkat those this rooting method will work ? can i flash the recovery or just fasboot boot recovery ?
[Moto G General] kario:
Anyone?

Any update on how to root the Cricket Moto G 4G LTE xt1045 running kitkat 4.4.4?

Thanks -
[Moto G General] Level99:
As far as I am aware, the Cricket variant XT1045 is unable to have an unlocked bootloader. Since Towelroot also fails to work, it doesn't look like there's any root methods for those devices at this time.
[Moto G General] Medical Cola:
Will this work with 4.4.4?

---------- Post added at 08:31 PM ---------- Previous post was at 08:25 PM ----------

Well that sucks.

*Darth Vader yelling no*
[Moto G General] toge64:
does this work with 5.1?
[Moto G General] Level99:
Moto G 4G LTE (Peregrine, XT1045) Lollipop 5.1 Root/Temporary Recovery Method

Moto G 4G LTE (Peregrine, XT1045) Lollipop 5.1 Root/Temporary Recovery Method

Note: I take no credit for any of the files or specific procedures in this guide, I just combbled them together and willed myself to have the cohones to try it out.

WARNING: I highly recommend you not actually flash this recovery over the stock recovery. This recovery was not specifically built for the peregrine, nor have I tested any kind of restoration operations with it. It does not support external_sd storage, and anything you do with it is at your own risk.

Required:

Unlocked Bootloader XT1045 on Stock Android 5.1

Latest SuperSu flashable zip, found at http://download.chainfire.eu/supersu (thanks Chainfire)

The twrp-2.8.6.0-falcon.img recovery from http://xdaforums.com/moto-g/development/recovery-twrp-2-8-2-0-touch-recovery-t2980621 (thanks h2o64)

adb and fastboot

the drivers for your phone

I'm fairly certain your bootloader needs to be unlocked for this method. My bootloader is unlocked, and I'm not goint to re-lock just to try it.

Steps:

1. Make sure Android Debugging is enabled on your device. Connect your device to your computer.

2. Copy the supersu flashable zip to the root of your device's storage (as of this writing, it should be v2.46, so that's what I'll be doing the commands for).

3. Copy the twrp-2.8.6.0-falcon.img recovery to the directory you will be issuing the adb and fastboot commands from.

4. Open a cmd prompt from the location where you will be issuing adb and fastboot commands from.

5. Type in the following:

adb reboot bootloader

6. Once the phone reboots into fastboot mode, issue the following command:

fastboot boot twrp-2.8.6.0-falcon.img

Your device should vibrate and reboot, most likely showing a "Powered by Android" image. The Teamwin splash image should show up before long, but give it a minute or two if it seems stuck.

7. Once TWRP is up, select Install and select the UPDATE-SuperSu-v2.46.zip file. Proceed with the install.

8. Reboot and you should have root, while leaving the rest of your stock intact.

I will modify or remove these instructions once a suitable peregrine recovery has been baked (I'm not an active code chef, despite my avatar, so I'm hoping that Somcom3X can accommodate).

Happy rooting on your sticky lollipops!
[Moto G General] motoseries:
how to root moto g lte xt1039???
[Moto G General] emmpii:
So at this stage, my computer just loads the image with Daemon tools and my device just stays on the boot load screen?
[Moto G General] _that:
No. Read what you quoted and do that, don't open the image file.
[Moto G General] emmpii:
i've realised i've been typing the command incorrectly. Supposed to be fastboot boot recovery [file name].img

but now I've got another problem. Since I messed up, I have SuperSU installed on the phone but can't access it since it says SuperSU binary not installed or whatever, I can't do a factory reset, it'll just take me to boot menu and from there as well if I click factory it starts off the phone and then I have a notification showing comms server started, If I click on it, I have no idea what to do

And I've tried to flash a new recovery image but the thing just says Mismatched partition size and then the phone starts as normal..

EDIT: Just tried some CF User thingy while already having done the above stuff, didn't reset anything but I've got access to SuperSU.. Should everything be fine or do I need to fix some things? Like tried to move Youtube to SD, but says it failed, But managed to move Whatsapp and Twitter so far. IS that normal or have I messed up somewhere?

(Above has been done without really having a recovery image nor did I get twrp boot up picture or anything at all..)
[Moto G General] Rushaan9912:
WIll it work if I have Marshmellow installed?

WIll it work if I have Marshmellow installed? If not could you please tell me wheres the tutorial for the marshmallow version?
[Moto G General] Rushaan9912:
Will this wwork for Marshmallow 6.0? If not couldd you please recommend a tutorial for it. Thanks.
[Moto G Q&A, Help & Troubleshooting] Shiro485:
Hello,

Ever since some app updates yesterday,

any kind of navigation on my phone causes it to go buck crazy with the message Unfortunately Exchange Services has Stopped.

My corporate Email account no longer syncs, and this repeated error message makes my phone damn near unusable.

I can not clear data in the app settings as that option is greyed out, I can clear the cache but to no avail.

This is super frustrating, and I need to be able to monitor my corporate email account at all times.

Has anyone experienced this and hopefully found a solution?
[Moto G Q&A, Help & Troubleshooting] srdempster:
You should try clearing the cache of the exchange app. Settings then apps select all scroll down to exchange services and touch clear cache, if it doesn't work 1st time then 2nd time around you'll need to also clear data as well. Once you clear data as well you'll need to reenter the account and password for your exchange account
[Moto G Q&A, Help & Troubleshooting] Shiro485:
I already treid this as indicated in my OP, but thanks....sigh this is frustrating >.<
[Glass General] patel4prez:
Hey all,

Just thought I'd share this interesting article I found:

http://www.theverge.com/2014/6/24/5...hardware-but-current-owners-wont-get-upgraded

Bad news is, no one with the old gear will be upgraded :(
[Glass General] TheManii:
If anyone gets a new 2gb unit, could you pull the build.prop for me?

I'd like to know if it's considered the same hardware model by the rom or a different one
[Glass General] hedsick:
I'm working on it... I have a friend who has the newer model.
[Glass General] hedsick:
Here is someone with 2gb and a buildprop in the comments:

https://plus.google.com/u/0/+JasonAllen1/posts/QMN8H72sCqw

http://pastebin.com/gW2eEb7E
[Glass General] IseeBrickedPhones:
I have a 2gb version - I am wondering if there will be a different branch of firmware for these newer devices? I assume over time, new features will stop coming to the 1gb versions...?

Currently I am stuck on 18.1 waiting for the 18.3 update... Is there specific firmware for the 2gb versions?

Should I side load it or could this break my device?
[Glass General] jtxdriggers:
From the build.prop comparison, it looks like there is no fundamental difference between the two versions, at least not as far as Android is concerned. Both devices appear to use the same exact images. While the 18.3 image is on these forums, it is not yet posted at https://developers.google.com/glass/tools-downloads/system; there's really no rush to get the new version, but you are free to sideload it if you wish. Assuming everything goes smoothly, it shouldn't brick your device. Just understand that flashing images to your device without waiting for OTAs voids your warranty.
[Glass General] XxCyberHackerxX:
Is there anyway to use wireless abd without connecting glass to the computer?
[Galaxy Note 10.1 (2014 Edition) Android Developmen] sbreen94:
Xposed Framework Install Instructions:

Along With Per APP DPI Settings and Custom theme Engine

Using the Xposed App:

Run the Xposed Installer - Tap "install/Update".

Tap "Modules" and check the App Settings tickbox.

Reboot

Use the Xposed App Settings

OR check this here: http://xdaforums.com/show...postcount=7082

Here are some settings you can use for xposed framework:

Youtube - 0 dpi, 800x1280, tablet unchecked

Chrome - 240 dpi, 800x1280, tablet checked

Settings - 200 dpi, 1000x1600. tablet checked (Reboot Required)

Better Battery Life Tips :

Disable auto sync for accounts

Disable GPS (and wifi gps) when not in use

Disable auto backup of Gmail account

Set wifi sleep policy to "Never"

Set brightness level to automatic

Disable motion

Check your apps settings and disable useless background sync
[Galaxy Note 10.1 (2014 Edition) Android Developmen] sbreen94:
Reserved for Later use!
[Galaxy Note 10.1 (2014 Edition) Android Developmen] sbreen94:
Reserved for later use
[Galaxy Note 10.1 (2014 Edition) Android Developmen] sbreen94:
Enjoy my take on how Touchwiz on the Note 10.1 2014 should be. Fully customizable user interface with the latest note pro software!:good::good:
[Galaxy Note 10.1 (2014 Edition) Android Developmen] icon123:
Thanks! Do you know if the note pro exchange email is working now or if this is any different than the beta.
[Galaxy Note 10.1 (2014 Edition) Android Developmen] Zerogamer100:
This looks great downloading now!