yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] gohanSS:
I am running out of options with another phone: I have tried pretty much everything but recovery will not flash. I am getting the "no commands" error screen and pressing power btn and vol + it enters the stock recovery I think. Bootloader is 41.1A and of course unlocked. Any suggestion what to do next. Thanks.
[Moto G Android Development] timeo78:
Try earsing the recovery first with this command: fastboot erase recovery

and flash recovery afterwards.

You also may start a recovery which is not flashed with this command: fastboot boot RECOVERY_FILENAME.img
[Moto G Android Development] gohanSS:
I succeeded by shortening the filename to recovery.img. There must have been something that was not handled correctly with longer filename
[Moto G Android Development] n0ts0smart:
I am assuming you are flashing recovery through (m)fastboot but was thrown off by your mentioning holding power + volume down. If you are indeed using fastboot after flashing TWRP give the command to reboot to recovery through fastboot. If you flash TWRP and immediately reboot the phone without first rebooting to recovery it will produce the exact same issue you are faced with.
[Moto G Android Development] tonycstech:
What about windows computers ?
[Moto G Android Development] alfick3:
There are instructions for using Windows computers. Research it.
[Moto G Android Development] tonycstech:
Instructions:

How to install ? :
Do
Code:
sudo fastboot flash recovery twrp-3.0.0-falcon_gpe.img
or
Code:
sudo fastboot flash recovery twrp-3.0.0-falcon_gpe.img

Thats not the instructions i am used to and i dont see any other instructions on the 1st page.
[Moto G Android Development] alfick3:
Google how to get fastboot on Windows. Once you have fastboot everything is the same, except you won't need sudo, that's a Linux thing. Or, even search XDA, there are instructions to installing fastboot throughout the site.
[Moto G Android Development] Neal143:
I had CM11 installed and working perfect on my Moto G xt1033 until it switched off due to a critical battery level.

Now I am stuck at bootloader unlocked screen. I can boot into Cyanogen recovery but unable to wipe anything.

I tried booting into twrp recovery using "fastboot boot twrp.img" on version 2.8.7.0 there I get same error as you get.

E:Unable to wipe '/data'

Can't mount data partition.

Could you or someone from community help?
[Moto G Android Development] BryanByteZ:
Use the latest one official and flash using fastboot.
[Moto G Android Development] Neal143:
Thanks for the reply. I tried booting into v3.0.0.2 using fastboot boot twrp.img

I am stuck at twrp welcomescreen.

v2.8.7.0 is the only version I can boot into by above method.

Otherwise if rebooted; moto is booting in Cyanogen Recovery.

Actually I have tried all solutions from all posts here on XDA but none worked.

Looks like emmc is corrupted and hence read only.

Is there any guide to completely format and re partition "system partition"?

Or an automated script may be which can be executed through TWRP.

Edit: Also even if flashed so many times I can see all my data intact in TWRP file manager.

Hinting emmc is now read-only. Also cant copy roms to root on internal memory from USB-OTG in TWRP.
[Moto G Android Development] BryanByteZ:
Why you don't install instead of just boot? What I can think of is format from twrp or install latest stock ROM available for you.
[Moto G Android Development] Neal143:
I tried installing TWRP however when hit fastboot reboot. It boots into Cyanogen MOD recovery.

That's the reason I am using fastboot boot recovery_name.img

When I am trying to format from TWRP data parttion is not mounting.

It always says "E: Unable To Mount"

Thanks for sticking with me.
[Moto G Android Development] BryanByteZ:
You're using cm11 right? After formatting in twrp try to reboot to fastboot and boot again in twrp. In format part of twrp there is a option to change the partition type and repair. Try this or if doesn't work try another recovery like CWM or Philz
[Moto G Android Development] Neal143:
I flashed CWM from http://xdaforums.com/showthread.php?t=2563599. but it is not booting into recovery.

Should be searching for Philz recovery I think.

---------- Post added at 06:41 AM ---------- Previous post was at 06:31 AM ----------

I am unable to boot into neither of them.
[Moto G Android Development] gohanSS:
Are you using the latest Motorola drivers and up to date fastboot and adb?
[Moto G Android Development] Neal143:
I am using mFastboot v2. and drivers from http://xdaforums.com/showthread.php?t=2550635 Will it be sufficient?
[Moto G Android Development] tonycstech:
Windows does not fastboot, phone does.

fastboot is a boot mode that allows to upgrade the phone using windows program.

Where do i get that program ? Or a ADB command to update the phone.
[Moto G Android Development] alfick3:
You're correct; Windows doesn't fastboot. However you need the fastboot and ADB drivers for Windows. This way you can go into a command command line and the computer will recognize your phone when it's in fastboot. Then you can type "fastboot flash whatever" and do what it is you want to do; flash recovery, flash all the system files so you can put the newest stock firmware on, etc. Now, there's something for Motorola phones called mfastboot. You might wanna search for that and use it instead. And like I said earlier, you'll have to search to see if the Verizon Moto G even was updated to 5.x. I don't know. I had the unlocked GSM XT1034. The Verizon is a different model; I believe XT1031, maybe 1028. I can't remember. But do your research.
[Moto G Android Development] rahulrajmishra36:
Can anyone confirm whether creating nandroid backup from TWRP recovery is working perfectly or not? Last time I tried creating it on v2.8.6 and I was stuck in bootloop.
[Moto G Android Development] gohanSS:
Have you updated twrp to newest version?
[Moto G Android Development] rahulrajmishra36:
Yes I am on the latest official version of twrp recovery v3.0.2.
[Moto G Android Development] BryanByteZ:
I am using the latest one and it works but ATTENTION DONT BACKUP AND DONT RESTORE PERSIST FOLDER if yes you can get a no wifi working phone so leave persist unchecked.
[Moto G Android Development] rahulrajmishra36:
Okay. Thanks for the info. Btw what do you mean by persist unchecked? I will just create Complete nandroid backup.
[Moto G Android Development] BryanByteZ:
In the part that you select what you want to backup uncheck /persit.
[Moto G Android Development] rahulrajmishra36:
One more question. Does the recovery(v 3.0.0.0 - 2)built by h2o64 too has this or any other bug?
[Moto G Android Development] BryanByteZ:
I guess that answer is yes because after you backup the persis folder when you will restore it wipes the persist folder to restore you backup but it get stuck so you cant restore and it already wiped.
[Moto G Android Development] Edilass7:
I can flash it without unlock boot loader??

I'm using ATT XT1045 with Kitkat 4.4.4 stock rom
[Moto G Android Development] BryanByteZ:
No
[Moto G Android Development] Edilass7:
I updated to lollipop 5.1 a few hours ago.

But now I want to root.. Is possible??
[Moto G Android Development] BryanByteZ:
You need to unlock the boooader first of all and it will era se everything on your phone
[Moto G Android Development] Vikrant Desai:
I've learnt that for flashing a ROM using twrp, first I have to take back up. Then I wipe system,data, cache, dalvik cache, internal memory. But in this wiping process won't my back up will get wiped? This is because I've only internal memory for moto g?
[Moto G Android Development] BryanByteZ:
You dont really need to wipe internal storange you can just wipe cache, dalvik, data and system but if the rom you want have substratum is best to check with file manager from twrp and delete that folder and if you want others too so the only remaining is you backup.
[Moto G Android Development] Hiraethic:
adb sideload does not work.when i select ad sideload,it keeps on saying starting ADB sideload feature and fails after some time.i have all the drivers installed.also when i use philz recovery, sideload works!!!

---------- Post added at 09:22 PM ---------- Previous post was at 09:11 PM ----------

did u get any solution?

---------- Post added at 09:34 PM ---------- Previous post was at 09:22 PM ----------

updated adb,still sideload wont start
[Moto G Android Development] Tridon:
Are you using the latest TWRP ?
[Moto G Android Development] x000x:
when I tried flashing the latest twrp to my xt1031 it gave me this message: "error: cannot load twrp"

I tried a 2.8x version and that didn't work either.

this is with stock 5.1

edit: I tried the one from here and it worked. Not sure why the one in this topic didn't work for me
[Moto G Android Development] antoniolcrd:
stuck without twrp or cwm

Hi, guys!

My xt1033 was on 5.1.1 and twrp 2.8.7. Then installed falcon aosp 6.0.1 and gapps via twrp recovery install. Though no problem with install, the gapps did not install. Now when i boot in recovery the early twrp from 5.1.1 had gone and only a default recovery is loaded wich has no install option (xt1033 has no sd card). I´ve tried to install twrp or cwm via adb and no success: only mismatched img size (something like this) though it flashes ok. I am sutck on this: falcon aosp 6.0.1 installed, no gapps, have deafault rom recovery and cant use it to install gapps and also cant install twrp or cwm via adb cos if fails. N clue to help me pls? Thnk u in advance.

Rgds.

;)

Edit: Hi, managed to solve: Flashed twrp 3.0.2 and took care to boot in recovery first prior to load room first boot. Voila!

Rgds;
[Moto G Android Development] coliito:
after flash the 3.0.2-2 my laptop dont recognize my falcon, make the sound when I plug in but never appears in the drives. how can i fix it?
[Moto G Android Development] Mister Muscle:
Reboot your moto g, and restart your laptop. Also use the other usb port
[Moto G Android Development] coliito:
already did that bro and nothing
[Moto G Android Development] coliito:
I have this problem on my moto g falcon sense updated to the last twrp, any fix?

For the last few weeks i cannot mount the usb OTG. I am using latest recovery 3.0.2-0

In TWRP i get the following message:

updating partition details...

E: Unable to mount '/usb-otg'

E: Unable to mount '/usb-otg'

E: Unable to mount '/usb-otg'

Any idea how to solve this issue? Am i missing any drivers?

Also in my laptop doesn't show any more the phone in the drives, sounds when i plug it in but don't show
[Moto G Android Development] coliito:
it looks like this no longer have support :/
[Moto G Android Development] sub77:
made one with android 7.0 branch yesterday, will share if back home later.
[Moto G Android Development] indrasatrya:
thank you.. i'll be waiting
[Moto G Android Development] sub77:
TWRP 3.0.2.8

twrp-3.0.2-8_falcon_20161117-1311.img | devicetree

* usb-otg with ext/exfat/ntfs support

* android 7.1 support
[Moto G Android Development] Mendibil:
Thanks a lot! Gonna try it when I arrive home.
[Moto G Android Development] DPX:
Everything's fine (unless at every start of twrp it shows a screen with many lines that's kinda irritating)! The red command-error is gone and flashing worked well!
[Moto G Android Development] HausiX10:
+1
[Moto G Android Development] indrasatrya:
thank you.. why not make a new thread for your TWRP? so everybody will know :D
[Moto G Android Development] sub77:
thats the low level console output of kernel messages.
[Moto G Android Development] Cr3sc3nt:
TWRP has officially been updated to 3.0.2-1
[Moto G Android Development] kamesh_kraken:
wait 3.0.2- 8 ?? They released 3.0.2-1 officially yesterday, right? How is it sub version 8?
[Moto G Android Development] Cr3sc3nt:
Version 8 was compiled/built by sub77 version 3.0.2-1 is official from twrp
[Moto G Android Development] coliito:
how can y flash this? sorry no expert :/

edit: al ready did it. thx. but still no otg suportfor me :/
[Moto G Android Development] sub77:
otg is working. what fs is you usb formatted with?
[Moto G Android Development] coliito:
Sorry, no changes for me, still no otg un the recovery. I don't know how to activated

---------- Post added at 13:29 ---------- Previous post was at 13:23 ----------

My USB is FAT32
[Moto G Android Development] justbfree:
It is written: usb-otg with ext/exfat/ntfs support
[Moto G Android Development] coliito:
now I understand, sorry, i'm new. thx justbfree. re-formating mi USB and will try again

---------- Post added at 14:45 ---------- Previous post was at 14:20 ----------

ok, after i re-formating to ntfs still have no work mi otg
[Moto G Android Development] sub77:
can i get /tmp/recovery.log please. does it work with other recoveries or devices?
[Moto G Android Development] coliito:
How i do that?un the option "copy log to sd"? I did not try other recovery, just updated this from 2.8.3.0 or something like that. I have CM 14.1
[Moto G Android Development] sub77:
you can copy it with twrps internal file manager or do a adb pull /tmp/recovery.log after you plugged in the usb and tried to mount it.
[Moto G Android Development] coliito:
Copy where? the second i don't know how to do it
[Moto G Android Development] coliito:
I hope this is it

View attachment 3944054
[Moto G Android Development] coliito:
No solution yet mate?
[Moto G Android Development] sub77:
what solution, it is working, maybe it depends on your usb hardware.
[Moto G Android Development] ismail0100:
Is it up to date?
[Moto G Android Development] coliito:
I think the hard of my Falcón is the same of everyone, and have no OTG Support in the recovery

---------- Post added at 21:30 ---------- Previous post was at 21:28 ----------

You ask for my log and then no answer
[Moto G Android Development] methuselah:
He already gave you answer don't you think. He said it is working and it maybe your hardware that is causing the issues.... ?
[Moto G Android Development] coliito:
And I already say is not
[Moto G Android Development] BryanByteZ:
On the ROM otg works? Just the recovery that's not?
[Moto G Android Development] G0rg0ne:
Are you shure your OTG cable is good? Also, did you try with other USB stick? Not all USB sticks are working... It's strange you are the only one with this problem don't you think?
[Moto G Android Development] coliito:
Yes, only in the recovery doesn't work, AMD this only happens after update to 3.0 twrp

---------- Post added at 01:29 ---------- Previous post was at 01:28 ----------

I try everything, and yes, is rare, but is what happens liked or not
[Moto G Android Development] arslanejaz33:
(bootloader) has-slot:recovery: not found

error: cannot load 'twrp-3.0.0-falcon_gpe.img'

i am getting this when flashing bootloader is unlocked
[Moto G Android Development] BryanByteZ:
Try to flash a more recent version of the official one. If run on problems try flashify
[Moto G Android Development] Gabriele_Treglia:
I've just seen the new versions of the recovery in the twrp site? What do they add new? And do they have any bug?

Inviato dal mio XT1063 utilizzando Tapatalk
[Moto G Android Development] Cr3sc3nt:
If you scroll down the official download page there is topic called CHANGE LOG. Search before asking
[Moto G Android Development] steven817817:
hey can someone tell me what if any fix there is for screen to have tearing after installing recovery?
[Moto G Android Development] lucastracq:
flash latest twrp https://dl.twrp.me/falcon/
[Moto G Android Development] steven817817:
OK so I flashed the newest image and that did not fix the problem. If anything it is more pronounced. It stops after the phone has been on for a few minutes. The problem is the want to sell this phone and flashing screen and screen tearing at power on is a bad sign.
[Moto G Android Development] BryanByteZ:
What you bootloader version?
[Moto G Android Development] steven817817:
hey nothing I tried was fixing it so i just restored it to factory with house of moto tools. worked pretty good.
[Moto G Android Development] dejanf:
New version released 3.1.0.0 for falcon!

Now you can install official twrp application as system app direct from recovery (if you wish)
[Moto G Android Development] xenas:
Great news, but where is the file?

Thanks
[Moto G Android Development] dejanf:
Here you can download for falcon https://dl.twrp.me/falcon/
[Moto G Android Development] xenas:
Did you try it ?

I did ... and almost bricked my old Moto G ... didn't worked, lost my old TWRP recovery and my working ROM.

Maybe I did something wrong, but I don't see what ...

Anyone want to try ?
[Moto G Android Development] dejanf:
Im installed latest 3.1.0.0 and everything is fine. Installed also twrp app as system app from recovery...

This version is only for falcon xt1032!

Pls read my previous post
[Moto G Android Development] alfick3:
I installed it on my Moto G, XT1034, with no issues. I copied it to the storage and then flashed it from the old TWRP. Then I rebooted recovery and had the new version. I even made a backup from the computer over ADB. Once that was all done I flashed the experimental version of Lineage OS over the last CM 13,1 snapshot. Then ii updated to one of the nightlies. My old Moto G (that my 7 y/o is using as a WiFi device to play Minecraft on) is now running Lineage OS and the latest TWRP recovery.
[Moto G Android Development] jbanti:
New Update Tested Working Fine On XT1033 Dual Sim.
[Moto G Android Development] skyrajparmar:
How to do backup on adb
[Moto G Android Development] alfick3:
Follow this:

https://github.com/omnirom/android_bootable_recovery/commit/ce8f83c48d200106ff61ad530c863b15c16949d9
[Moto G Android Development] xenas:
For those who have installed the new version, when you are installing it, does it appear to you 2 choices for installation?

Install on the boot / or on the recovery?

(it does to me)
[Moto G Android Development] zibi305:
You have to choose recovey.
[Moto G Android Development] zibi305:
After install twrp 3.1.1.0 i get error "failed to validate recovery image".
[Moto G Android Development] mohammad.nomaan:
Hi

After install twrp 3.1.1.0 when i wipe cache and delvik I get error "Unable to Mount Storage"

no such issues in 3.1.0

Any suggestions???

Thnx
[Moto G Android Development] zibi305:
Try mount this partitions in Mount menu
[Moto G Android Development] Waancho:
I have latest TWRP installed on me XT1033. All works perfectly except: when i choose reboot to recovery in TWRP, i get stuck at the unlocked bootloader screen. I then have to power down, press vol down + power to get in TWRP. WHYYYYYYYY
[Moto G Android Development] Deses:
I'm trying to flash several versions of TWRP and all of them tell me they flash fine, but when I select "recovery" from the bootloader menu, it just boots to system... what am I missing?

Nvermind, I'm a dumb ass that can't read. I had to press VOL Up to select, not power. I'm used to press Power to select on other phones but falcon had to be the special one... :P
[Moto G Android Development] WOrld1:
Because Motorola use stock commands, your other phone have different non stock commands.
[Moto G Android Development] w arun kumar:
Sir, does this recovery works with moto g xt1033 asian retailer?
[Moto G Android Development] methuselah:
You have officially supported recovery
[Moto G Android Development] MagicSnake:
TWRP 3.2.1.0

Hey ho friends of customizing phones ^^

I have tried flash several Android Oreo on my XT 1032 with your TWRP 3.0.0.0, every time the same, that dosn´t working.

In the tutorials they don´t speak about the TWRP versions.

And I ask Google for any answer, how I can flash Android Oreo on my phone.

So I found that:

dl.twrp.me/falcon/twrp-3.2.1-0-falcon.img.html

It works very fine and fast.

When you put new Custom Roms in a thread, put the Custom Recovery too in that.

It´s mutch better than any one have to look where there can get it.
[Moto G Android Development] :
twrp 3.3.0 is out now: https://eu.dl.twrp.me/falcon/
[Moto G Android Development] benclark006:
Hi, i'm trying to install twrp 2.6 (i need it for the rom i'm using) and when i try to go into recovery it just shows the splash for a few seconds and then just boots into cm. Is there a fix for this?
[Moto G Android Development] AgentChaos:
.TWRP has been updated to version 2.8.4.0

http://techerrata.com/file/twrp2/xt1032/openrecovery-twrp-2.8.4.0-xt1032.img
[Moto G Android Development] h2o64:
I'll update the thread as soon as possible
[Moto G Android Development] Taikun hearth:
Is true is update but hace the same error and make bootloop im my phone
[Moto G Android Development] Ænimal:
Works fine here (official 2.8.4.0/xt1032/41.13 bootloader)

Still getting MTP message, though
[Moto G Android Development] iPanther:
Which one for xt1033 running 5.0.2?
[Moto G Android Development] lost101:
I've found that TWRP 2.8.1.0 would not consistently be able to perform a factory reset. Now in 2.8.4.0, performing a factory reset results in a reboot on XT1032.

EDIT: On further thought, this could be related to flashing a Lollipop ROM.
[Moto G Android Development] h2o64:
Yes. Custom recovery on STOCK LOLLIPOP seems dangerous for now.
[Moto G Android Development] abhi0502:
Here the the log
[Moto G Android Development] h2o64:
I'll check it out on Saturday
[Moto G Android Development] bepfranco:
HowTo?

I have Lollipop on my device (xt1032) and the 41.18 bootloader. Is there a way of installing a custom rom such as CM? I can't find a working recovery for flashing zips.. I have read that TWRP is unstable on stock Lollipop but, I could do and restore a backup.. Sould I format the partitions via fastboot (via -last- TWRP it reboots)? should I the zip via sideload (TWRP gives me an error)?
[Moto G Android Development] Carlos_EVH:
So if I'm running stock 4.4.4 with the kit kat bootloader and update twrp from 2.8.1.0 to the latest versions (2.8.3.0 or 2.8.4.0) I'll have issues with backups & restore or flashing CM12, won't I? A few weeks ago I backed up and flash the unnoficial CM12 and I didn't have any issue with twrp 2.8.1.0 so I don't know what to do.
[Moto G Android Development] h2o64:
You shouldn't

Hmmm... I don't understand your problem.
[Moto G Android Development] bhanusharma595:
twrp2.8.2unified

It is keeps restarting after wiping data.

And which recovery is best to flash lollipop roms on XT1033
[Moto G Android Development] lost101:
[MENTION=4792450]h2o64[/MENTION], if it's in any way helpful, this is what I have established:

Model: XT1032

Device: KitKat Bootloader (41.13)

After flashing a Lollipop ROM, something changes regarding 'userdata.' TWRP can no longer perform a Factory Reset, but can do: Format Data. Once that has been done, Factory Reset is functional again.
[Moto G Android Development] h2o64:
Lollipop ROMs encrypt the userdata partition with an algorithm.

This is absolutely normal.

Formatting is the only way to wipe userdata now
[Moto G Android Development] bepfranco:
I have the lollipop bootloader (41.18) and TWRP doesn't flash zips.. It only makes and restores bakcups.. When I try to format the data partition, the recovery reboots.

Is this normal? I think it is for only this bootloader..

My question is.. How do I install a custom rom if I have these problems?
[Moto G Android Development] h2o64:
Try the CWM based recovery but we warned you up before : upgrading the bootloader have a lot of dark sides
[Moto G Android Development] lost101:
I may have been misinformed, but I was under the impression that encryption was only enabled on devices that come with Android 5.0 Lollipop 'out-of-the-box.' It's also up to the vendor (HTC, Motorola etc) to decide to use it or not.

I also see no performance degrade with Lollipop on Moto G, as has been reported on encryption-enabled devices with weaker cpus.
[Moto G Android Development] h2o64:
Sure.

Every lollipop ROMs (on Moto G) seems to have encryption by default
[Moto G Android Development] lost101:
In a way that's good news - disabling it should give a performance boost. I believe that requires a custom kernel.
[Moto G Android Development] h2o64:
Probably