yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] aradalien:
No i install stock for example then root and get twrp recovery installed,

then boot into twrp and completly wipe the data partition,

after that reboot recovery and the new folders are created,

data partition will show as 0mb after this reboot in the rom you previously installed,

then reboot to twrp and do a backup to test twrp is working as normal,

without data failed error.

BTW this has to be done every time we install a new rom or we get the data failed again.
[Moto G Android Development] smayor:
Question. I have this recovery on my Moto G and I'm trying to install via recovery the OTA zip file that came out some days ago. I had no lucky with that. Is there any change to do this via TWRP or not?
[Moto G Android Development] Pinktank:
Your phone will be stuck in recovery, you have to do the following and dont flash ota again

If you have ADB access, plug in your phone and run this:

Code:

adb shell

dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

Then you should be able to successfully reboot your phone via the TWRP menu option, or via a simple reboot command in adb.

If you DONT have ADB access (because of an early build of TWRP), you can simply use TWRP's awesome "terminal command" option to run the following:

Code:

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

You'll have to type that whole thing out, and be VERY careful with spaces and punctuation. One wrong letter and you could nuke your phone.
[Moto G Android Development] zarac:
I have a few more questions regarding this "data failed" issue.

I am hesitant to wipe my data partition because I have some internet banking apps installed that need activation every time they're installed (a trip to the bank). Titanium backup helps with this, but if its going to "corrupt" the data partition again, then I haven't done anything. Do you think TiBu can "corrupt" data partition by only restoring app/data backups?

Also, when I do "data wipe" in TWRP, does it wipe "sdcard" too (/data/media)? On my Nexus 7 2012 it does not - there is a "sdcard" entry in the wipe menu (is it the same as "internal storage" here?), but I wanted to ask anyways - better safe than sorry. In the PhilZ touch CWM thread I read it does not wipe it, and that is listed as a feature, so I just wanted to make sure if TWRP behaves the same.

Thanks.
[Moto G Android Development] smayor:
I have adb access via TWRP and also via my macbook if I connect my device. So I'll watch only first hypothesis.

I don't understand where I have to put the OTA file before this operation. SD card? After that I have to write one string at time and give enter command?

Please consider that I already resolved the problem with first abort installation with a dalvik and cache wipe, so this stuck problem is not for me! thanks
[Moto G Android Development] Pinktank:
I see, sorry, I thought you were stuck. The way I finally installed OTA was to flash philz touch recovery and run the ota in the stock rom as usual, cwm came up and asked me if I wanted to flash, I said yes, and that was that.
[Moto G Android Development] smayor:
not work for me. Just download the OTA zip, recovery ask me if I want install an untrusted zip, I say ok but appear an error! Do you have root access?
[Moto G Android Development] ahac85:
thanks for the recovery, i think it maybe a good idea if you also upload stock recovery just incase somebody wants to go revert it :)
[Moto G Android Development] a1Pha:
You can find stock images in this thread :)
[Moto G Android Development] rapunzel11:
Very good work! Here is only the stock recovery.img if someone needs.

https://mega.co.nz/#!vF8hhSRD!LiZjkA7MxWtvuq-5EqVbomae_WoLNDVZOTe4fVZo3Tg
[Moto G Android Development] Haggster66:
gr8

Thanks a lot for your good work! I was able to successfully flash CrossBreeder on my Moto G using your TWRP build.

One thing: it won't mount the data partition (had to copy the zip I was flashing onto some directory on /system as a workaround, reboot into TWRP and pick it from there to flash it). Might be that this is happening because my phone is encrypted, however on all my other devices TWRP is automatically asking me for my decryption password when booting into recovery, after which there are no further problems.

Looking forward to this becoming stable!
[Moto G Android Development] a1Pha:
Thanls for your feedback, will have a look at it later!
[Moto G Android Development] rapunzel11:
The Touchscreen is working after sleep and wake but it's still buggy.

Anyway i've made my first Backup and that is a great progress.
[Moto G Android Development] drfr:
Tip: we can change screen timeout in TWRP to a shorter value than 60.
[Moto G Android Development] ferreinf:
https://play.google.com/store/apps/details?id=com.cgollner.flashify is working fine, just tried, a bit buggy but i was able to make a backup.. :) thank you

Sent from my Moto G
[Moto G Android Development] a1Pha:
Thanks, this app looks great! Will attach it to OP.
[Moto G Android Development] lost101:
GooManager is an other option for flashing ROMs / gapps, that works well with TWRP.
[Moto G Android Development] ferreinf:
Flashify allows you to flash the recovery without using a pc, for me the best app to use, for backup, flashing zips is rom installer

https://play.google.com/store/apps/details?id=com.jrummy.apps.rom.installer

Sent from my Moto G
[Moto G Android Development] a1Pha:
I can confirm that backing up and restoring system partition is working ;) Had to restore /system a few minutes ago due to a failed flash of a custom ROM :)
[Moto G Android Development] seapoint:
Are you doing builds?

I can't wait! I'll gladly be your alpha/beta tester :laugh:
[Moto G Android Development] a1Pha:
I don't want to promise anything. My TWRP build was the first TWRP port I ever made for a device. My next target (besides of fixing touch in this TWRP build) is getting a CM to boot. It doesn't, yet - but I guarantee you, that if I don't succeed, somebody else will! :)

Stay tuned ;)
[Moto G Android Development] :
Mismatched partition size (recovery)

--Edit--

Its working great!

I'm an idiot!

I didn't realize vol up was the select button, I was hitting power and the phone was rebooting.

Plus I didn't search first, bad me.
[Moto G Android Development] ferossan:
Read post #6

http://xdaforums.com/showpost.php?p=48294073&postcount=6
[Moto G Android Development] Doublepranks:
Will I need to unlock bootloader before flashing it?Sorry for asking such a noob question, I know not much about it...
[Moto G Android Development] :
yes you will!
[Moto G Android Development] Doublepranks:
Flashed it and tried for awhile. It boots just fine yet everything looks fine till you touch the screen as well as we all already know.

I'll try porting CM 11 to this little baby starting today, it's my very first port and i'm completely knew to it, Well.. We all must start at some point right?
[Moto G Android Development] ferossan:
Yes, you must. Sadly, it will erase everything leaving the phone as you got it brand new.

Usual steps are:

1) unlock bootloader: follow this and/or this.

2) flash recovery: see first post in this thread

3) flash root: here is a very detailed guide for nexus 5, but is the same Moto G
[Moto G Android Development] aradalien:
It does wipe data/media because it an emulated partition not real, you could always backup your apps with titanium then do an adb pull of /sdcard/ that backs up the full emulated sdcard then at least you can see if a titanium reinstall works and doesnt mess up the fresh data partition.
[Moto G Android Development] Ja_som:
No problem for me.

I downloaded OTA when it asked me, installed. It reboots to TWRP, where was installatioon successful. Then wiped cache and rebooted to system.

Sent from my tablet. Odoslané z môjho tabletu.
[Moto G Android Development] zarac:
So, in fact, "wipe data" and "wipe internal storage" does the same thing in TWRP?
[Moto G Android Development] aradalien:
Wipe data in TWRP wipe the entire partition every other method does not, thats why the issue remain with data failed otherwise.
[Moto G Android Development] frojnd:
Users with encrypted phones can't use any custom recoveries at the moment :s mounting partitions for some reason fails in all the versions listed here.
[Moto G Android Development] wstruction:
For some reason usb otg doesnt work in twrp 2.6.3.0. Do you know how to get it to work? The flashdrive lights up but when I select install then select which storage, the falsh drive doesn't show up
[Moto G Android Development] Pinktank:
motog didn't have usbotg until the last ota, not sure if this affects recovery, but did you update?
[Moto G Android Development] wstruction:
I actually am running cyanogenmod 11, but I'm in a bootlooop. I decided to switch to cwm since it supports otg
[Moto G Android Development] Brutal_Master:
TWRP REFUSES to install the OTA update!! Every time i try i get this error:

error executing updater binary in zip '/cache/'

error intalling zip file '/cache/recovery/blu

and there's more which i can't even read since TWRP doesn't allow me to rotate the screen...

Can anyone help me?
[Moto G Android Development] Ja_som:
Save logfile, i think this option is in advanced menu.

Sent from my tablet. Odoslané z môjho tabletu.
[Moto G Android Development] Seyaru:
Hi itry flash de twrp over new ota update but dont boot to recovery :(
[Moto G Android Development] michal89chz:
Is some way to flash it by stock recovery or terminal?

Wysłane z mojego XT1032 przy użyciu Tapatalka
[Moto G Android Development] zarac:
Let me just quote the OP:
[Moto G Android Development] michal89chz:
I see it and I know but I ask about secund way? On ace 2 i can do this by terminal, odin and by stock recovery so I ask about that ways in Moto G case....sory, I am 2 days with this phone
[Moto G Android Development] zarac:
I am not sure what you mean by "terminal." Fastboot commands are issued through terminal.

The other way is from within android itself using the flashify app (root needed.)
[Moto G Android Development] michal89chz:
terminal emulator app.

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------

flashify? Greate. I will not need pc, thanks (ai have root and unlocked bootloader)

---------- Post added at 03:48 PM ---------- Previous post was at 03:46 PM ----------

heh ... flashify is doing same thing like flashing by terminal emulator so my problem is solved.

http://xdaforums.com/showthread.php?t=1924846
[Moto G Android Development] zarac:
Ah, sorry. Didn't understand you were talking about the terminal emulator in android itself. No, as far as I know it is not possible, but i might be wrong here.

Yes, flashify is by far the easiest method if you have root acces.
[Moto G Android Development] CADude:
Can somebody explain why this TWRP is 2.6.3.1 and Dhacker's TWRP is at 2.6.3.3 on his CM thread?

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

We need a single, stickied thread for TWRP updates so people don't get stuck with an outdated TWRP.
[Moto G Android Development] a1Pha:
Thanks, updated OP to dhacker29s latest build. I am sorry for any inconvenience, I was not able to follow development the last weeks due to lack of time.
[Moto G Android Development] ferreinf:
Just me or 2.6.3.3 takes for ever to bakup ...

Example: 2.6.3.3 ~600seconds 2.6.3.1 ~270seconds
[Moto G Android Development] drfr:
Compression enabled?
[Moto G Android Development] ferreinf:
Yeah on booth builds

Sent from my Moto G
[Moto G Android Development] Ja_som:
Can we get latest TWRP 2.7?

Thank you :)

Sent from my tablet. Odoslané z môjho tabletu.
[Moto G Android Development] CADude:
Seconded.

http://www.androidpolice.com/2014/0...ed-to-version-2-7-with-a-ton-of-new-features/
[Moto G Android Development] J3RI3L:
2.7 Please! That'd be awesome!
[Moto G Android Development] wwjoshdew:
Touch screen is LIGHT YEARS BETTER in this update!

USB OTG is not working though. It doesn't even show up as an option when you go to change it. Only Internal Storage is there.
[Moto G Android Development] rfec:
Ok guys how to enter to recovery?

I try it but nothing happens.
[Moto G Android Development] gnowak84:
In bootloader highlight the Recovery option, then press vol-up and hold it till it vibrates.
[Moto G Android Development] =dgim=:
I had the same situation on 2.6.3.3. Process of backup was longer than 2.6.0. I prefered 2.6.0.0.

I've just installed TWRP v2.7.0.0 by GooManager and time of that process is now similar to 2.6.0 (86s with compression).
[Moto G Android Development] denzel09:
If you need atm to use otg through recovery i can advise you philz recovery. This last works really good with otg, all in real time without need to reboot and so on. ;)
[Moto G Android Development] wwjoshdew:
Correct. That is a great recovery, but I really am a Hardcore TWRP fan.
[Moto G Android Development] okaryn:
Hello,

You can find the XT-1032 TWRP 2.7.0.0 Flashable Zip here, and the IMG format with Fastboot tool here
[Moto G Android Development] readonly24:
Did you create the files?
[Moto G Android Development] okaryn:
Yes, with the official file download from the TWRP Manager application.
[Moto G Android Development] _JT:
Do I have to rename the downloaded file to recovery.img?
[Moto G Android Development] okaryn:
What is the file you have download ?
[Moto G Android Development] _JT:
TWRP-2.6.3.3-falcon.img
[Moto G Android Development] okaryn:
You can rename file or use the command :

fastboot flash recovery TWRP-2.6.3.3-falcon.img
[Moto G Android Development] _JT:
Ok thanks. Already thought it would work like that but fscking up recovery is big trouble obviously.
[Moto G Android Development] BobbaLouie:
Not really. It's the bootloader you need to treat with kid gloves.
[Moto G Android Development] jglm4u:
I get back up failed while the back up process get to" Backing up data " section . I get the same for cwm but I don't get that issue on philz .. What could it be ? I personally prefer twrp!! I already try reflashing it but same issue, I used moto tool to install this 3 recoveries.
[Moto G Android Development] vNa5h:
Why??

Any particular reason..

AFAIK philz also restores twrp backups..

Sent from THE motog
[Moto G Android Development] BarnOwl:
Thanks, works like a charm!
[Moto G Android Development] heynando:
so does the new 2.7 version fixes the backup? or is it still not working?
[Moto G Android Development] vNa5h:
Use philz recovery.. Best of both worlds

Sent from THE motog
[Moto G Android Development] BarnOwl:
Yes it does.It was also on the other builds on my 1032.............(from 2.6)
[Moto G Android Development] heynando:
I'll thank you

thank you for reporting sir
[Moto G Android Development] Magissia:
Hello, i only managed to make the TWRP_falcon_44.img to boot, but i cannot flash it because it's more than 10 mb, every other recovery boot to the android that is down with the /!\ mark.

The devices was fully upgraded to the latest version before unlocking.
[Moto G Android Development] wwjoshdew:
BOOM! >>> 2.7.0.0
[Moto G Android Development] BarnOwl:
Already posted here #416.....
[Moto G Android Development] reversegear:
why MOTO G doesn't have brightness control in TWRP recovery..?

is that a hardware limitation / not yet implemented :)
[Moto G Android Development] phreephiber:
does this twrp come with otg?
[Moto G Android Development] wwjoshdew:
Nope. OTG still isn't working with TWRP (on this device). I can use my Leef Bridge 3.0 on my Moto G (using PhilZ recovery) just fine though.

They will eventually figure it out, hopefully. I really like TWRP.
[Moto G Android Development] delboy79:
tried 2.7.0 and flashin g carbon rom and slim kat both get stuck on boot logo
[Moto G Android Development] okaryn:
No problem for me with this rom and pac-rom, mk-rom, c-rom mix...

Do you wipe the /system and /data before flashing ?

What's your phone model ?
[Moto G Android Development] delboy79:
yes i got a xt1032 just restored stock tried again with philwiz recovery same roms still stuck on slimkat logo 8 mins plus. tried to restore my backup but won't restore system now have to restore from stock again wasted a day on this
[Moto G Android Development] Faruko:
I have the same problem with CWM, i once softbricked my phone trying different ROMS (meh...) so i had to restore from stock and since that day i just cant install custom roms (with any recovery)
[Moto G Android Development] delboy79:
Worked it out mine is google play edition so can"t install custom roms yet
[Moto G Android Development] killerBRs:
Don´t work

Mismatch partition size (Recovery) IN MOTO G Falcon....

HELP!!!!
[Moto G Android Development] ReDead93:
This is a normal message because the twrp recovery size isn't the same as stock, it should work

Gesendet von meinem Moto G mit Tapatalk
[Moto G Android Development] yoyocomeback:
Offiicial release

There is an official release of this on goo.im here

---------- Post added at 04:36 PM ---------- Previous post was at 04:31 PM ----------

There is an official release of TWRP 2.7 on goo.im here
[Moto G Android Development] dysoct:
Can someone teach me how to flash from cwm?
[Moto G Android Development] pedrofidalgo:
You guys managed to fix this? Having the same problems, all custom roms, like CM11, get stuck on the logo.. Can only flash stock firmwares.

What can i do?
[Moto G Android Development] denzel09:
I flashed cm11 the first time with philz recovery, based on last cwm, and flashed was good, not stuck on logo or bootloop. It's a strange problem. What model is your?
[Moto G Android Development] okaryn:
All is in my previous post :

For how to do with the Fastboot, just read the first message from this topic.
[Moto G Android Development] vikasb32:
i flashed 2.7.0.0 work fine but usb otg did not work in recovery and TWRP support usb otg.is this non bug?
[Moto G Android Development] Andromendous:
can i flash the 2.7.0tx1032.img on my boost mobile moto g? or is there a spacifi recovery for my device?
[Moto G Android Development] chairsz:
What's the average stock recovery size yinna be getting? Cuz twrp 2.6

3.... Failed to backup stock rom and I have the 8 gig reg edition with about 2.6gb free

sent from my pimptastic moto g
[Moto G Android Development] theepicflyer:
If you can don't backup your apps you can don't backup the data partition. Reduces the backup size by quite a bit.
[Moto G Android Development] chairsz:
What happens if you don't backup apps, I'm assuming ur meaning user apps

sent from my pimptastic moto g
[Moto G Android Development] case-sensitive:
mismatched partition size + can't get into recovery

I unlocked the bootloader of my moto-g -- I got the warning screen, and on the stock recovery screen it says unlocked as well. I tried to flash CWM and TWRP (from the OP and from the CM11 thread) and got the mismatched partition size error message. When I tried to go into normal boot/recovery/factor reset, the phone just turns into a black screen. I waited for more than 2 min but nothing happens. Eventually I long press the power button (2-3 seconds) and the phone boots up correctly. The normal boot option works before I flash customary recovery.

If I choose "normal boot" from the stock recovery screen the phone does boot correctly.

I am aware that there are a number of posts in this thread (and the CWM thread) with the same issue. The solutions there either don't work (wait a while, use CM11 recovery) or not applicable (my phone is unlocked). I appreciate your help.
[Moto G Android Development] XUTOS-83:
Amazing work, unfortunately the G don't have an SD card so i need to change to a recovery who can mount an OTG usbdrive. Hope i can change back to TWRP soon.
[Moto G Android Development] Mister Muscle:
I'm noobs, sorry. This permanently installed for the first time? or having to reinstall every flash.zip? :D
[Moto G Android Development] remo0073:
It is permanent, unless you install another recovery or another version of the same recovery

If you prefer this is the last version from dhacker29

http://crackflasher.com/twrp-2-7-0-0-falcon-img-moto-g-dhacker29/

It works good on my Moto G XT1032 EU
[Moto G Android Development] Cameron581:
That's the wrong platform delete that and double check what you have installed
[Moto G Android Development] Kochoa940:
Can we get a flashable zip. No computer for me...

HE>I
[Moto G Android Development] reversegear:
If you are rooted you can use apps like rashr to flash img file
[Moto G Android Development] antarix:
updated to 2.7.1.0
[Moto G Android Development] reversegear:
Here is the link for 2.7.1.0

http://goo.im/devs/OpenRecovery/xt1032//openrecovery-twrp-2.7.1.0-xt1032.img
[Moto G Android Development] Stefano187:
Hello,

I've installed TWRP 2.7.1.0 today via twrp app... I've tried just a few things: backup, wipe cache and dalvik, some settings, and install a zip file (latest faux kernel). Everything seems works except for File Manager. Does it is only a my problem? Thank you in advance

Regards

Stefano

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] Ja_som:
Now I tested File Manager, works without problem

Sent from my tablet./Odoslané z môjho tabletu.
[Moto G Android Development] alfick3:
Does this new version have the date correct? On the old version, the date always said 2024 for the year. It allowed me to correct the date/time, but it never stuck. For that reason alone I went back to CWM.
[Moto G Android Development] Stefano187:
Yes now it works

Inviato dal mio XT1032 utilizzando Tapatalk

---------- Post added at 08:54 PM ---------- Previous post was at 08:49 PM ----------

You are right... I've restarted recovery and now it works. Sorry for the stupid question that i asked before...

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] remo0073:
What about with OTG USB with this new version?
[Moto G Android Development] Carlos_EVH:
It doesn't work
[Moto G Android Development] abhi8569:
Will this work with xt1033?
[Moto G Android Development] andogeek10:
Yes it will work. I'm currently using it and have already flashed a few files and there have been no problems so far.
[Moto G Android Development] koopakid08:
I'm seeing something weird with 2.7.1.0, I'm trying to make a backup but it won't let me because it says my data partitions is 8001638774119 MB Anyone have any ideas for a fix?
[Moto G Android Development] NWKENT:
Sir..you must use the specific TWRP for Moto G..the falcon version..

Sent from my 4.3_14.14.14

(Unlocked) XT1028 Moto G

http://waynekent.com/page6.html
[Moto G Android Development] koopakid08:
So there is no 2.7 twrp for XT1034?
[Moto G Android Development] remo0073:
Maybe you could try this one

http://crackflasher.com/twrp-2-7-0-0-falcon-img-moto-g-dhacker29/

by dhacker29

It should work on every Moto G

Possibly you could try also this one

http://xdaforums.com/showthread.php?t=2759058
[Moto G Android Development] alfick3:
I can confirm that both versions work; 2.7.0.0 and 2.7.1.0 on my XT1034. I tried both, but didn't like that it gave a date of 2024, and I couldn't figure out how to change the date. I was able to make backups (never tried to restore so can't confirm that) and was even able to do CM11 nightly updates.
[Moto G Android Development] Stefano187:
Just for information: on TWRP site is available a new version of TWRP 2.7.1.1 and USB OTG is now supported for backups. You can install it via fastboot or via TWRP app on play store.

Regards

Stefano

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] reversegear:
Download link for 2.7.1.1

http://goo.im/devs/OpenRecovery/xt1032/openrecovery-twrp-2.7.1.1-xt1032.img
[Moto G Android Development] satanas17:
Thx for link, mate...Teamwin servers are totally overloaded at this time for me...

Cheerz ;)
[Moto G Android Development] Isley_:
How can I install this recovery by CWM?