yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] hackiee:
This is from the latest TWRP 3.0.0-6 from your [MENTION=3132221]sub77[/MENTION] afh folder.

And on installing zip file this is what we see.

Hope this might help
[Moto G Android Development] hackiee:
All are supporting XT1033 dude!!

But there are bugs to be fixed. And our friend is doing efforts to make it. :)
[Moto G Android Development] h2o64:
Look at my github I upgraded gpecheck
[Moto G Android Development] h2o64:
New build !

Hello,

new build is up !

It adds all the TWRP Team fixes on TWRP 3.0 (Especially the encryption bug I was really looking for)

With help of [MENTION=3132221]sub77[/MENTION] and Gabriele M I made some local changes :

Non-secure WIPE (as the name suggest, less secure, but faster)

New GPE Handling.

There are 3 cases

You have f2fs userdata,

then

you are using the encryption 16K footer and the f2fs magic on backups

You have ext4 userdata,

then

you are using the encryption 16K footer and the ext4 magic on backups

You have ext4 userdata AND YOUR DEVICE IS GPE OUT OF FACTORY,

then

you are using the encryption metadata partition footer and the ext4 magic on backups

All of those cases are commonized in a single build.

Download

twrp-3.0.0.0_2-falcon.img

Off topic

I said it and I'll say it again, I'm in touch with official maintener, I read everything I know what's happening on forums as well as gerrit. So please stop linking external builds on this thread.
[Moto G Android Development] kiodo1981:
OOPS!

no mirrors found.
[Moto G Android Development] h2o64:
I'll re-upload ..

UPDATE : Links updated
[Moto G Android Development] dark_knight_95:
Can I flash it using flashify?
[Moto G Android Development] insigma28:
Yes you can dude.
[Moto G Android Development] bogante:
The version number don't change in recovery, this is normal?

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] sub77:
[MENTION=4792450]h2o64[/MENTION], you better should use gabrieles gpe detection from twrp.me gerrit, it is confirmed working.
[Moto G Android Development] h2o64:
I know I saw his commits. But ext4 users stays embarrassed
[Moto G Android Development] lcc014:
I have 1st generation of Moto G (XT1032) and not rooted; only bootloader was unlocked, can I use this TWRP recovery ?
[Moto G Android Development] hanflang:
yes
[Moto G Android Development] lcc014:
Thank you. :)
[Moto G Android Development] faizxy:
Hey op am huge fan of ur work (especially after the 2.8.6.0 from official site soft bricked my phone) I have real noob q to ask can I install the new recovery within the twrp or is it necessary to use flashify or fastboot command

Thanks for ur awesome work I would have never installed a custom ROM without ur work
[Moto G Android Development] SalarX:
Yes you can. There should an option to flash img files in twrp. Choose your img file, it'll ask you two things - boot and recovery, select recovery. Done!
[Moto G Android Development] faizxy:
Wipe cache is fixed

Thanks it didn't broke anything :p and now wipe cache merely take seconds :fingers-crossed:
[Moto G Android Development] Papitz:
Help!

I am on cm12.1 bootloader version 0x4118 and when I try to do a factory reset the phone reboots and does the things it would normally after a cache wipe.

Edit: It rebooted but wipe was succesfull
[Moto G Android Development] SalarX:
Ah! So what else you want the factory reset to do?
[Moto G Android Development] dimlay:
Im at philz touch wanto to flash this twrp 3.0.0 via flashify, is it safe?
[Moto G Android Development] bogante:
Yes

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] radiofred:
I will tentatively corroborate this. I flashed SuperSU 2.4.0 stable, and it seems to be fine. BusyBox doesn't seem to be able to install, though. I don't think it's related to a bad flash because TB, AdAway, Greenify, etc. all work fine. I think I'll try to flash CM12 now.
[Moto G Android Development] Hir0xM:
Thanks for clearing up , I did however roll back a version since I encountered another issue while flashing the latest PA rom (not sure if available for others too) :

After backing up the current ROM , when I try to wipe something the recovery restarts and I'm sent to the main menu of it ... Not sure if anyone else experienced this . As far as I can tell , the wipe works as intended , it just , for some reason , resets the recovery o_o
[Moto G Android Development] remo0073:
For BusyBox flash one of these zips

1.22.1

Both are ok for GPE Lollipop 5.0.1

I prefer stericson

http://xdaforums.com/showthread.php?p=32612246

Sent from my Moto G
[Moto G Android Development] radiofred:
When wiping:

E: error sending message to add storage 65537

Otherwise, CM12 flash appears fine. No errors thrown when flashing this time.
[Moto G Android Development] reversegear:
Busybox stericson updated to 1.23.0
[Moto G Android Development] Brawn_Sg:
hey my errors are not going

see this

Generating master DTB... completed

Made DT image: /home/brawn/cm/out/target/product/falcon/dt.img

Target boot image: /home/brawn/cm/out/target/product/falcon/boot.img

/home/brawn/cm/out/target/product/falcon/boot.img maxsize=10543104 blocksize=135168 total=6135808 reserve=270336

Made boot image: /home/brawn/cm/out/target/product/falcon/boot.img

Import includes file: /home/brawn/cm/out/target/product/falcon/obj/EXECUTABLES/simg2img_intermediates/import_includes

target thumb C: simg2img <= system/core/libsparse/simg2img.c

target thumb C: simg2img <= system/core/libsparse/sparse_crc32.c

Import includes file: /home/brawn/cm/out/target/product/falcon/obj/STATIC_LIBRARIES/libsparse_static_intermediates/import_includes

target thumb C: libsparse_static <= system/core/libsparse/backed_block.c

target thumb C: libsparse_static <= system/core/libsparse/output_file.c

target thumb C: libsparse_static <= system/core/libsparse/sparse.c

target thumb C: libsparse_static <= system/core/libsparse/sparse_crc32.c

target thumb C: libsparse_static <= system/core/libsparse/sparse_err.c

target thumb C: libsparse_static <= system/core/libsparse/sparse_read.c

target StaticLib: libsparse_static (/home/brawn/cm/out/target/product/falcon/obj/STATIC_LIBRARIES/libsparse_static_intermediates/libsparse_static.a)

target Executable: simg2img (/home/brawn/cm/out/target/product/falcon/obj/EXECUTABLES/simg2img_intermediates/LINKED/simg2img)

target Symbolic: simg2img (/home/brawn/cm/out/target/product/falcon/symbols/system/bin/simg2img)

Export includes file: system/core/libsparse/Android.mk -- /home/brawn/cm/out/target/product/falcon/obj/EXECUTABLES/simg2img_intermediates/export_includes

target Strip: simg2img (/home/brawn/cm/out/target/product/falcon/obj/EXECUTABLES/simg2img_intermediates/simg2img)

Install: /home/brawn/cm/out/target/product/falcon/system/bin/simg2img

make: *** No rule to make target `/home/brawn/cm/out/target/product/falcon/system/bin/mkfs.f2fs', needed by `/home/brawn/cm/out/target/product/falcon/obj/SHARED_LIBRARIES/libbmlutils_intermediates/teamwin'. Stop.

#### make failed to build some targets (03:50 (mm:ss)) ####

i even tried

# F2FS

PRODUCT_PACKAGES += \

mkfs.f2fs \

fsck.f2fs \

fibmap.f2fs

# TARGET_USERIMAGES_USE_F2FS := true

in my boardconfig

then also no success plz help
[Moto G Android Development] h2o64:
Please use the CODE tool when you're quoting logs.

This thread isn't about helping/compiling. If you want help, ask on the Q&A section
[Moto G Android Development] remo0073:
I knew

http://xdaforums.com/showpost.php?p=57982967&postcount=49
[Moto G Android Development] rohmable:
Strange behaviour TWRP

Today I have installed TWRP and I had these two errors while wiping:

E: TWFunc::Remove_MTP_Storeage unable to locate partition for 0

and

E:error sending message to add storage 65517

After the last error the wiping of the cache took a long time, then it all went well
[Moto G Android Development] Kochoa940:
Is it possible for someone to make a xt1031 version of the latest TWRP?

[my phone iz better than urz]
[Moto G Android Development] vk2r:
You can use this recovery to install CM12 on GPE 5.0.1 ?
[Moto G Android Development] h2o64:
It's possible. I don't own one.

It's not compatible with 5.0 bootloader because of partition changes
[Moto G Android Development] modifan14:
Is there any custom recovery that I can use to flash Official Cyanogenmod 12 on my GPE 5.0.1 converted XT1033?Thanks..:confused:
[Moto G Android Development] h2o64:
Try CWM or PHILZ TOUCH because apparently, twrp get issues
[Moto G Android Development] lost101:
[MENTION=4792450]h2o64[/MENTION], An issue has been identified with the restore function in TWRP after flashing this Stock Lollipop ROM: http://xdaforums.com/moto-g/development/rom-retail-brazil-lollipop-soak-test-t2998793

NOTE: The problem occurs on phones with KitKat Bootloader v41.13.

After flashing this ROM, TWRP cannot complete the backup restore process. The workaround I have found is to move the TWRP backup to PC, wipe 'userdata' - fastboot flash stock firmware, transfer TWRP backup onto phone and then restore can complete successfully.

The issue seems to be something Lollipop is doing to one of the partitions; system or userdata.

Apparently Philz Touch CWM can successfully restore a backup under these circumstances.
[Moto G Android Development] h2o64:
Encryption issue.

TWRP manage it another way than CWM based recovery does.

Maybe Motorola changed partition size?

So it causing issues with the Kitkat bootloader (partition table)?

Can anyone provide a kmsg or even a recovery.log?
[Moto G Android Development] abhi0502:
Can anybody help me here

I have not able to use otg on lollipop 5.0.2 Asian soak test. Its not detecting and i have installed TWRP recovery , on the recovery it detects otg I can transfer files to internal memory but when I restart phone goes to file manager to open folder I have copied through otg it says some error
[Moto G Android Development] lost101:
Here are the gpt.bin files for 4.4.4 and 5.0.2, if you are able to compare them. I'm fairly sure now, that flashing the 4.4.4 gpt.bin is required to restore a KitKat backup.

I will try to provide a recovery.log soon.
[Moto G Android Development] h2o64:
Thanks you...

We still doesn't have the lollipop official img? It would be quiet useful.

It seems that they changed a lot of things on this bootloader
[Moto G Android Development] lost101:
No Lollipop img available yet.
[Moto G Android Development] sathvik07:
deleted
[Moto G Android Development] tutul2336:
where do I get twrp 3 themes?
[Moto G Android Development] tutul2336:
got it...

https://www.androidfilehost.com/?w=files&flid=49400

working absolutely fine...
[Moto G Android Development] tronmech:
I'm using a 16GB xt1034 that refuses to find system updates, so I installed the latest build. And instead of getting the TWRP signin, I got the Dead Android/no command Screen.

Note to self: after flashing the recovery, *do* not boot back to 4.4.4. You can watch your system bootloop.

After that, I still have the rolling graphic glitch, but I can at least boot and flash.

Found my major malfunctions:

Ancient bootloader + new TWRP bad, newest bootloader + newest TWRP good.

Umount system before flashing stock roms.
[Moto G Android Development] bankov:
Why i cant use USB OTG in recovery using "2.8.7.0-GPE no theme" and this cable[IMG="OTG cable"]http://usbtips.com/wp-content/uploads/2014/09/How-To-Build-A-USB-OTG-Cable.jpg[/IMG]
[Moto G Android Development] SalarX:
If your USB OTG is NTFS formatted, it won't he recognised
[Moto G Android Development] bankov:
What format shoud it be ? Fat32 ?
[Moto G Android Development] SalarX:
Yes
[Moto G Android Development] Naidu1605:
I'm on philz recovery, can I flash this directly through recovery mode? Will it cause any problem?
[Moto G Android Development] xenas:
Yes you can.

No problems with that.
[Moto G Android Development] bankov:
Still doesent work, maybe im not going something right...
[Moto G Android Development] SalarX:
You might test your OTG once on some other phone. See if that helps
[Moto G Android Development] luciorasta:
I am on last version of TWRP and unable to do a backup.

Every time I have tried, using internal storage or OTG, the process stopped with this message: “createTarFork() process ended with signal: 9 Backup Failed”.

In the last line of log file I found this:

InfoManager saving '/data/media/0/TWRP/BACKUPS/TA93001QDS/2016-03-13--14-14-27_XT1032_Retail_US_5.1_Optimized_v1.0/data.info'

createTarFork() process ended with signal: 9 Backup Failed.

Any suggestions?

Thank you in advance.
[Moto G Android Development] vaib:
Can anyone give me a flashable file for 2.8.7.0 please? I don't use moto G and so I don't have drivers. Can't use fastboot mode.
[Moto G Android Development] BryanByteZ:
Use flashfy to flash the img file
[Moto G Android Development] Gabriele_Treglia:
It's there a 3.0.0.0 recovery without the slider bug? Everytime that I try to confirm something it takes 20 tries

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] Bhaskara Rao:
After sliding the finger from left to right, hold your finger at the right end for a second before lifting it off the screen. This works for me without fail.
[Moto G Android Development] XRACER:
Hello Everyone,

I just got a "new" Moto G and i am having some issues installing a recover.

Bootloader unlock, running Win 10

attempted to install TWRP 2.8.6.0, 2.8.7, 3.0.0 taken from TWRP site

fastboot devices

TA9500009XI

during the flashing of the recovery fastboot reports writing 'OKAY'

on the device i get this

cmd: flash:recovery

Mismatched partition size (recovery)

I have read most of this thread and it was said that it shoudl be no issue buth when trying to go into recovery i can't, it simply tells me

Boot up failed.

Booting in the system is no problem

Any help will be appreciated.

thanks,
[Moto G Android Development] tronmech:
Check your bootloader version. If it's too old, recovery acts strange. I had this happen to me on my first attempt to use TWRP.
[Moto G Android Development] jt12345:
Advanced wipe data causes reboot

UPDATE: Please IGNORE this bug report: I've just reflashed 20160331 (to get rid of the "MOD" April Fool's joke in 20160401) and this time, "Advanced Wipe" worked perfectly. I have no idea what happened, but the problem has now disappeared. A huge "Thank you" to h2o64 and all the other devs for all the hard work you guys put into keeping our phones up-to-date.

==

Just a quick bug report: Advanced wipe -> data (using "format/mkfs" rather than "rm-rf") makes my phone reboot.

Phone: xt1032

Bootloader version: 41.1A

Recovery version: twrp-3.0.0.0_2-falcon.img (md5sum: 9e1627c9b2bfff14596a9d3cf21f4313)

---------- Post added at 07:42 PM ---------- Previous post was at 07:26 PM ----------

Correction:

Advanced wipe -> data (using "format/mkfs" _OR_ "rm-rf") makes my phone reboot.

Strangely, if I use the "Format data" button instead of the "Advanced wipe" button, it says "Formatting data using mkfs.f2fs" and it works. But I didn't think that my data partition WAS f2fs!! I've succeeded in switching it back to ext4 using the "Repair or Change file system" button.

Phone: xt1032

Bootloader version: 41.1A

Recovery version: twrp-3.0.0.0_2-falcon.img (md5sum: 9e1627c9b2bfff14596a9d3cf21f4313)
[Moto G Android Development] Mau669:
is there a way to remove the horizontal lines that run across the screen?
[Moto G Android Development] tronmech:
Update the bootloader, that fixed it for me.
[Moto G Android Development] Mau669:
so i decided to do a test backup, it gave me an error, but it still restore the backup, BUT when i tried to turn wifi on, it simply doesnt work, i can't turn it on, i tried doing a factory reset, wiping cache, installing old backups, tried flashing kernel for 4.4.4 found here http://xdaforums.com/showthread.php?t=2649763 and it still doesnt work, any fix for this? :\
[Moto G Android Development] katurras:
I always have the same problem when I install an CM13 update. My wifi wont torn on.

my solution is, copy de file, from link, to /persist, and /system/etc/firmware/wlan/prima/, then reboot

http://xdaforums.com/moto-g-2014/general/fix-wifi-missing-file-t3007540
[Moto G Android Development] Mau669:
yes!!! this is what i did and it worked, i found another thread with this fix, thank god it worked, thank you.
[Moto G Android Development] sahil_arora05:
Hello, guys. I have my phone stuck on "Warning:Bootloader Unlocked" page and when I open "TWRP recovery" its stuck on the screen where "TeamWin" with blue background is shown.

The recovery isn't opening after that. Is there any way to make the recovery work again?

Can I flash new version of TWRP with any other method than flashing? (fastboot etc.)

Please help me out :)

P.S. I don't remember the current version of my TWRP because I used my device almost 2 months after as its screen was broken.
[Moto G Android Development] timeo78:
You may try "fastboot boot recvery.img". This way the phone will start the recovery you prefer without installing it. You can try different versions this way without flashing anything. After you have found a good working recovery, you may try to flash it.
[Moto G Android Development] alfick3:
Just to put this out there, the official TWRP on the TWRP web site does work well now. It has been updated to 3.0.2 and it no liners calls all the variants XT1032. It just calls them Falcon. I was using the unofficial version, and just flashed the recovery image from with in the older recovery. Then I rebooted the recovery and had my new recovery. My computer used to see my XT1034 as XT1032 but now it's seen as Falcon (while I was in recovery and had the USB plugged into the computer).
[Moto G Android Development] flotux:
Is there a changelog of this 3.0.2 version? Is this version recommended in comparison to the version provided here?
[Moto G Android Development] sahil_arora05:
I tried to "fastboot boot recovery.img" but it was also stuck at that screen. :( Is there any way to recover my internal data now?:(
[Moto G Android Development] n0ts0smart:
I had this happen a while ago and ended up flashing stock firmware through fastboot. Have you tried flashing just the recovery thru fastboot? If you do and that doesn't work you might have to start from scratch.
[Moto G Android Development] sahil_arora05:
Yes I tried flashing recovery through fastboot. Even I tried different versions of Recovery but none worked :(:(

Can you tell me how to install stock firmware through fastboot?

Also, will it delete my internal storage? If yes, is there anyway to recover it? :mad:
[Moto G Android Development] n0ts0smart:
First try in adb "fastboot erase recovery" before you give the command to flash recovery although I don't think it will make a difference but worth a shot.

http://xdaforums.com/showthread.php?t=2542219

The link is a good guide to explaining the process of flashing stock firmware. I don't know of a way to recover your internal data without a working recovery and flashing stock firmware will erase your internal storage.

I would recommend downloading and installing mfastboot as per the guide and when reaching the steps where you issue the system.img sparsechunk commands take note of the file names and numbers within your stock firmware file you have downloaded as they may differ or have additional files that differ feom the guides slightly.

I suspect your recovery partition is corrupted so when flashing the .gpt file it will take care of that. Good luck
[Moto G Android Development] sahil_arora05:
Thanks for this help. I will try to use it but I am just worried about my internal storage. :( I am working hard to get it back if its not possible to recover it then I would have to use this method which will delete all date.

Anyways if you can get any information about recovering internal storage then please do share. :)

Thanks
[Moto G Android Development] Debangshu:
Is the issue with nandroid backup fixed yet in twrp 3?
[Moto G Android Development] Mister Muscle:
too much time clear dalvik & cache :(
[Moto G Android Development] Bhaskara Rao:
Try latest version or Official 3.0.2-0
[Moto G Android Development] KaaMyA:
I'm quite confused ¿what's the difference between official 3.0.2-0 and the one posted here?
[Moto G Android Development] kamesh_kraken:
I successfully installed 3.0.2-0, no problems occurred so far. Went very well.
[Moto G Android Development] flotux:
Will I loose any data if I upgrade from the build here to the official 3.0.2 build?
[Moto G Android Development] alfick3:
Only if you wipe data. Flashing a recovery doesn't do that.
[Moto G Android Development] Gabriele_Treglia:
What's the difference between the last twrp here and the 3.0.2 official? And in the official one is the problem with the slider that works only some times solved?

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] KaaMyA:
I asked the same question without any response... then I flashed official 3.0.2-0.

No problems here, but I have to mention that I flashed the "Light" TWRP Materialised theme (since 3.0.1-0,TWRP flashes its own themes):D and all worked so fine.

http://xdaforums.com/showpost.php?p=66276401&postcount=2889
[Moto G Android Development] Gabriele_Treglia:
If it has the normal twrp theme I'm ok with it, I like the stock twrp theme. What about the slider? It works well?

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] skyrajparmar:
Ya it's working well......
[Moto G Android Development] biatche:
currentlly on 3.0.0.0 twrp

trying to update......

c:\android\adb>fastboot.exe flash recovery twrp-3.0.0.0_2-falcon.img

(bootloader) has-slot:recovery: not found

target reported max download size of 536870912 bytes

sending 'recovery' (9330 KB)...

OKAY [ 0.380s]

writing 'recovery'...

OKAY [ 0.336s]

finished. total time: 0.724s

what gives?
[Moto G Android Development] SH1M4BD3:
Just use fastboot flash recovery (named recovery).img
[Moto G Android Development] Cotopaxi42:
Does it work with encrypted devices?
[Moto G Android Development] UltraMaks:
I see that there are messages about twrp-3.0.2.0 but the last twrp I see here (March, 6) is for twrp-3.0.0.0_2-falcon.img (also mentioned in OP)

Where can I get the latest one 3.0.2.0 (not the 3.0.0.0_2)?
[Moto G Android Development] koshikas:
from the official TWRP site falcon page; https://dl.twrp.me/falcon/
[Moto G Android Development] UltraMaks:
I think this info could be posted into OP :) Thanks
[Moto G Android Development] alfick3:
I believe that the OP has stopped development on this, and so he's not going to update his thread with something that he hasn't done (the official TWRP isn't his, although he may very well have had a hand in its development). As was said though, the official version works great.
[Moto G Android Development] rk97:
Hi,

I just flashed the twrp-3.0.0.0_2-falcon.img file on my Moto G. I have a few questions:

1. I got a mismatched partition size error on flashing, but I'm able boot into recovery. Should I be worried? And why does that happen?

2. Does the backup and restore feature work perfectly? I was using 2.8.6.0 from the official site earlier.

3. The last time I took a backup, I was unable to boot into system after that. I was unable to restore backup too, as it got my phone into a boot loop when it was wiping data (except internal storage). I wiped internal storage separately, and then tried data wipe, but to no avail. And after this happened, it was unable to mount data, system and cache. I did an erase of those partitions through fastboot few times, and that's when they got mounted back.

Frustrated over that problem, I searched for a new recovery. That's when I saw this thread, and flashed this. Are there any such problems in this version?

Thanks in advance.
[Moto G Android Development] fonz93:
Sorry wrong thread
[Moto G Android Development] bpradana:
can i flash the latest version to my moto g with 5.0 stock rom?
[Moto G Android Development] vik@ram:
Yes you can
[Moto G Android Development] gohanSS:
is it normal that screen gets all fuzzy when I run twrp recovery? I stays fuzzy even after reboot, but it gets back to normal after several minutes

nevermind.... updated bootloader and now it's fine