yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] ADr0n:
Yes, I have this bug too. But when I turn off screen bug disappear :confused:
[Moto G Android Development] h2o64:
Guys. This recovery officially support Kitkat bootloader.

And I can't add lollipop bootloader support.

That's why there are bugs on it.
[Moto G Android Development] Snowers96:
Do you have an a possible explication for the screen bug?
[Moto G Android Development] h2o64:
The bootloader may have change the mmi mdss panel a bit
[Moto G Android Development] Sandivisi:
[MENTION=4792450]h2o64[/MENTION]

latest version is 2820 or 2830?

on link devhost it 2820?
[Moto G Android Development] h2o64:
2.8.2.0

2.8.3.0 is unstable
[Moto G Android Development] Sandivisi:
unstable only for gpe or also for stock?
[Moto G Android Development] h2o64:
Both.
[Moto G Android Development] sub77:
really?
[Moto G Android Development] ronin790:
Same for me but only if i'm using f2fs on data. On ext4 converted data partition i can restore any backups of cm based roms (cm12, euphoria, resurrection remix, etc.) without any errors or bootloop.

Ps: moto g xt1032, bl 4119, system/data/cache on ext4.

▪◾◼ Tapatalk ♦ Moto G ◼◾▪
[Moto G Android Development] indrasatrya:
I can't access mega, can you make a mirror link, sir?
[Moto G Android Development] Jevinruv:
cant flash the new version of twrp on moto g or even cwm

using twrp-2.8.5.0-falcon
[Moto G Android Development] h2o64:
It is.

It's Stabler.

PS : I'm absolutely not proud of this thread. I just want to sum up the twrp stuff for falcon
[Moto G Android Development] dorwoo:
So which recovery works fine now with backup/restore?

I'm on 41.18 bootloader.
[Moto G Android Development] diogobuique:
I installed here on my Moto G 2013 and is working fine!!! Thanks [MENTION=4792450]h2o64[/MENTION]
[Moto G Android Development] PeterImmel:
twrp-2.8.5.0-falcon.img - 10.0 Mo

works for me (with 2.8.6.0 mI couldn't restore backups)
[Moto G Android Development] iBART:
The "how to" is wrong... sudo fastboot flash recovery twrp-2.8.6.0-falcon.img
[Moto G Android Development] h2o64:
Crap! Fixed : thank you
[Moto G Android Development] Kai Disobey:
"sudo" is only for Linux users, Windows users don´t use sudo command !!!
[Moto G Android Development] SammyP6:
he means the recovery part. in the OP it says "sudo fastboot flash twrp" it should be "sudo fastboot flash recovery twrp" or "fastboot flash recovery twrp" he forgot the recovery part.
[Moto G Android Development] h2o64:
I'm a Dev ^^ I use Linux only xD
[Moto G Android Development] :
Anyone using this on 41.19 bootloader? GPE 5.1 converted XT1032 here.
[Moto G Android Development] diogobuique:
[MENTION=4792450]h2o64[/MENTION] a crazy thing happen to me: my recovery isn't working anymore. It's showing, but the button swipe to apply didn't work anymore and i don't no why... if you can help me I apreciate a lot!

It's working!!! The problem is with The THEME!!! I removed the theme and it worked again!!!
[Moto G Android Development] h2o64:
As always I need logs.

I think that's may be a hardware issue
[Moto G Android Development] felipeap:
Updating CM12 via Settings > About > Cyanogenmod Updates won't work on 2.8.6 (it does on 2.8.5)... It leads to the recovery initial screen instead of installing the zip automatically. (Sorry if this already been reported).
[Moto G Android Development] diogobuique:
The problem was with Theme... I was using a old version of theme... when i change the version everything working fine!!!! :D
[Moto G Android Development] h2o64:
Update

Now I'm satisfied

Here we are with a new build (+1 mo) fully built from sources with the lastest Moto G 2013 kernel and the latest changes from CM.

It's the stablest I can make.

I didn't noticed any bugs so far, but report any bugs you face :) , now that I found what stuck me for so long xD I can even modify the recovery itself if you have feature ideas.

Downloads :

twrp-2.8.6.0-falcon_GPE.img - 10.0 Mo

twrp-2.8.6.0-falcon.img - 9.9 Mo

Thanks
[Moto G Android Development] methuselah:
Goona try now ....will report back
[Moto G Android Development] bannab:
Does it work on stock GPE 5.1? i need root
[Moto G Android Development] h2o64:
It should
[Moto G Android Development] bannab:
I need a confirm.. i think i'll w8 for somebody who can try on gpe 5.1 for me

(i can't brick the phone, is the only one i have)
[Moto G Android Development] h2o64:
It won't brick it for sure.
[Moto G Android Development] bannab:
it works, but no root :( i have rebooted and its asked me for install root, i have choosed to install but i dont see anything and supersu says that i dont have any SU... why?
[Moto G Android Development] h2o64:
Because you may need a special zip to flash? How did you try to install?
[Moto G Android Development] Kai Disobey:
Yes man, you made it, restore backup on my XT1032 now succesfully work :highfive:

Thanks for your work on TWRP :good:
[Moto G Android Development] ADr0n:
So, if I have installed optimized gpe 5.1 rom with ext4 file partition. I should install GPE version?
[Moto G Android Development] xpirt:
did you install gpe 5.1 on motorola firmware?
[Moto G Android Development] h2o64:
Yes you must

What's the difference ?
[Moto G Android Development] ADr0n:
Ok, thx :)
[Moto G Android Development] jonas210678:
Anyone know how i can fsf2 to ext4 in twrp?
[Moto G Android Development] ADr0n:
Go to Wipe>Advanced Wipe>Select-Data>Repair or Change File System>And select EXT4
[Moto G Android Development] h2o64:
Reboot in recovery --> Wipe --> Advanced Wipe --> Select the partion you want to swipe ("Data" I guess) --> Repair or Change the filesystem --> Change File System --> Select "EXT4" -->

Confirm

And here you are :)
[Moto G Android Development] jonas210678:
Thank you both :good:
[Moto G Android Development] methuselah:
Cyandelta update worked in latest cm12 fine. Well it is working on unconverted xt1033 dual sim

... Lollipop boot loader and finally congrats for your hundred hours of working for these products.. Lol I smell victory in your mind...lol...
[Moto G Android Development] taadow1030:
Many thanks on the time and effort you all have put in to provide us with a stable recovery. Back on the HTC Evo days, a developer created a very convenient recovery option to automatically reboot after a backup or restore. Smelkus recovery is the name, if I recall correctly. Just a future feature idea...if it is possible.
[Moto G Android Development] h2o64:
Actually I didn't search the issue during hours. I just tested a lot of builds.

And yesterday, I was investigating for another project, and I made research on Moto E LTE and I discovered that omni renamed some flags since Kitkat

I take notes
[Moto G Android Development] reversegear:
Instead of writing

Hit that fu**ing Thanks! Button for both of them
[Moto G Android Development] sjandroiddeveloper:
I guess some people just don't know how to press thanks

Someone wanna create a thread for that ! Huh!

Sent from falcon

PRESS THANKS IF HELPED?
[Moto G Android Development] jonas210678:
Sorry guys but in the moment i'm only using xda one app and there it is not possible to hit thanks...
[Moto G Android Development] lost101:
[MENTION=4792450]h2o64[/MENTION] - With the GPE version released today, I see the following message after flashing a ROM zip: (The install worked fine)

E:mount -o bind '/data/media/0' '/sdcard' process ended with ERROR=255​
[Moto G Android Development] h2o64:
Released today? Can you link me? I may now a fix : I'll upload a experimental build if you want
[Moto G Android Development] lost101:
I meant the version you made available today.

http://xdaforums.com/showpost.php?p=59927186&postcount=599​
[Moto G Android Development] h2o64:
Oh ?

Hmmm... Some flags may do that.

I'll do an experimental build quickly

EDIT : [MENTION=1006674]lost101[/MENTION]

Try this out twrp-2.8.6.0-falcon_GPE_EXPERIMENTAL.img - 9.9 Mo
[Moto G Android Development] jri3:
Maybe this happen when trying to mount a partition that already mounted.
[Moto G Android Development] SH1M4BD3:
Lost101 can you give some reviews for experimental build, am on gpe too
[Moto G Android Development] lost101:
Message still appears when flashing, also when formatting.

EDIT: Apologies, message did not appear when flashing. Only when having formatted 'data.'
[Moto G Android Development] h2o64:
Okay.

So the new build didn't changed anything?

Can you provide a recovery log?

I'll check the sources for this error code.
[Moto G Android Development] lost101:
The new build fixed the message appearing when flashing ROM zip. It's now appears when formatting 'data.' Recovery log attached.
[Moto G Android Development] h2o64:
SO ....

The error is that

I:Processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:TWFunc::Remove_MTP_Storage unable to locate partition for 0

This disbale any kind of backup on sdcard (OTG still possible)

In the sources, it's that line :

partition.cpp:1032:	string Command = "mount -o bind '" + Symlink_Path + "' '" + Symlink_Mount_Point + "'";

Wich basically refers to that function :

void TWPartition::Setup_Data_Media() {
LOGINFO("Setting up '%s' as data/media emulated storage.\n", Mount_Point.c_str());
Storage_Name = "Internal Storage";
Has_Data_Media = true;
Is_Storage = true;
Is_Settings_Storage = true;
Storage_Path = "/data/media";
Symlink_Path = Storage_Path;
if (strcmp(EXPAND(TW_EXTERNAL_STORAGE_PATH), "/sdcard") == 0) {
Make_Dir("/emmc", false);
Symlink_Mount_Point = "/emmc";
} else {
Make_Dir("/sdcard", false);
Symlink_Mount_Point = "/sdcard";
}
if (Mount(false) && TWFunc::Path_Exists("/data/media/0")) {
Storage_Path = "/data/media/0";
Symlink_Path = Storage_Path;
DataManager::SetValue(TW_INTERNAL_PATH, "/data/media/0");
UnMount(true);
}
DataManager::SetValue("tw_has_internal", 1);
DataManager::SetValue("tw_has_data_media", 1);
du.add_absolute_dir("/data/media");
}

However, that :

TW_INTERNAL_STORAGE_PATH := "/data/media"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"

Create the error, and when it's disabled, only create it on format.

The twrp.fstab is

# mount point fstype device

/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/pds emmc /dev/block/platform/msm_sdcc.1/by-name/pds flags=backup=1;display=PDS
/usb-otg vfat /dev/block/sda1 /dev/block/sda flags=display="USB OTG";storage;wipeingui;removable

Maybe I should add a flag for data (like

length=-16384
or
flags=encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata

?

Or maybe

BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_SDCARD_ON_DATA := true

is causing problems ?

I have no time to work on that. I just leave a bit of research here in case someone get it.
[Moto G Android Development] lost101:
It's really only a cosmetic thing, formatting and flashing is not affected.
[Moto G Android Development] h2o64:
I know. It happens because it's already mounted
[Moto G Android Development] stranxk:
Besides that cosmetic error message, is this recovery safe to use backing up and restoring?

I'm asking because not a long time ago some recoveries had a bug where you couldn't restore some backups from x roms when in x rom, and the device would enter in bootloop and SD would be wiped.
[Moto G Android Development] h2o64:
It's working like a charm
[Moto G Android Development] aouerfelli:
Yeah I had that in the past, but I gave it a shot and it works just like in the KitKat days. Working perfectly fine, give it a shot.
[Moto G Android Development] anzhaki:
Is it possible to downgrade from the latest to old version 2.8.6.0?

I just flashed the latest version over the old 2.8.6.0 for non-gpe and got problems with the screen while in recovery, like an interference from the bottom going upwards.

(I'm still on kk)
[Moto G Android Development] sjandroiddeveloper:
Technically there should be no problem while downgrading recovery because when you flash a recovery it overwrites the one already present hence its applied like a clean install and not as an update

Sent from falcon

PRESS THANKS IF HELPED?
[Moto G Android Development] MerlinMerlinMerlin:
Whats the difference between your version and the one on the TWRP official website?
[Moto G Android Development] indrasatrya:
[MENTION=4792450]h2o64[/MENTION] sir, can you mirror link last version?
[Moto G Android Development] akya22:
I am using the latest build, After finishing the backup, I rebooted and tried to browse the backup folder. ES file manager says /sdcard/TWRP not found. I am on Lollipop stock 5.0.2
[Moto G Android Development] sjandroiddeveloper:
Its a common problem on twrp and Philz for many users

Sent from falcon

PRESS THANKS IF HELPED?
[Moto G Android Development] remo0073:
Version by [MENTION=4792450]h2o64[/MENTION] works good

The official one has some problems with Lollipop:

- no backup and restore (bootloop)

- screen flickering
[Moto G Android Development] jri3:
Flash this file to access backup folder from PC or Files manager

fix-backup-perm-falcon.zip - 120.63 KB
[Moto G Android Development] sjandroiddeveloper:
Can you mirror it to Gdrive
[Moto G Android Development] legolas06:
Hi, I have the same problem. I am unable to access the backup folder on pc & in normal sdcard folder using file explorer, but when I try to browse /data/media/0/ I can find the TWRP backup folder.

Even after flashing the above file, I cannot access the backup folder on pc. Is there anything else I can try? TIA
[Moto G Android Development] Darkapolo:
Mine is OK after flash the zip fix.
[Moto G Android Development] kedar512:
Can anyone mirror latest version for non gpe phones ?

Thanks
[Moto G Android Development] roshan2989:
hello sorry for off topic here,what are the patches for screen flickering in 4.4.4 rom...?im planning to use kit kat with my own kernel
[Moto G Android Development] h2o64:
I suppose you should add mdss quick draw
[Moto G Android Development] miguelAr52:
+1
[Moto G Android Development] PeterImmel:
here: https://www.androidfilehost.com/?fid=95916177934553450

sorry, if I wasn't allowed to...
[Moto G Android Development] h2o64:
No problems ?
[Moto G Android Development] Pinktank:
Bug report from the pa gapps thread: I can confirm that multiple system wipe actually is a thing on TWRP (wtf??) I would get error code 40 flashing on a clean install telling me I can only flash their gapps it on top of a pa gapps installation when I didn't have any gapps installed yet. Somebody reported they had to wipe multiple times before it worked, and I thought that was silly but gave it a shot after their insistence, Factory wiped, advanced wiped the same things as factory, factory wiped again and it works.... this is silly but others reported the same for FCs resolving.
[Moto G Android Development] nithinte:
Does this cause boot loop if we take a NANDroid Back up? Please reply
[Moto G Android Development] Darkapolo:
No
[Moto G Android Development] nithinte:
XT 1033

Rooted

Bootloader unlocked

TWRP (Dont know which version, it is 7.9mb)

I have this configuration. Whenever I take a nandroid backup, my moto g fall in boot loop. Which version should download here? Please help, I am a newbie :(

---------- Post added at 08:21 PM ---------- Previous post was at 08:21 PM ----------

XT 1033

Rooted

Bootloader unlocked

TWRP (Dont know which version, it is 7.9mb)

I have this configuration. Whenever I take a nandroid backup, my moto g fall in boot loop. Which version should download here? Please help, I am a newbie :(

---------- Post added at 08:28 PM ---------- Previous post was at 08:21 PM ----------

twrp-2.8.6.0-falcon_GPE.img - 10.0 Mo

twrp-2.8.6.0-falcon.img - 9.9 Mo

What is the difference between both?

---------- Post added at 08:28 PM ---------- Previous post was at 08:28 PM ----------

twrp-2.8.6.0-falcon_GPE.img - 10.0 Mo

twrp-2.8.6.0-falcon.img - 9.9 Mo

What is the difference between both?
[Moto G Android Development] Darkapolo:
Use the last version. The gpe (Google play edition) version is for gpe or moto g with ext4 data partition . Download the last version at the first post.
[Moto G Android Development] h2o64:
One has been adapted for gpe. The other didn't
[Moto G Android Development] n_chuck:
XT1008

Is this recovery compatible with this model (XT1008)?

Also, I installed another TWRP version, it does the backups alright but after doing a backup, the phone get's bootloop and the data folders are all messed up, any idea what's going on?

Thanks in advance, cheers from México
[Moto G Android Development] h2o64:
It works on Moto G 2013. I never saw your model
[Moto G Android Development] Paliacci:
I think he has the Ferrari version. It's a different branch like the moto g 4g
[Moto G Android Development] h2o64:
It's not compatible with peregrine
[Moto G Android Development] Paliacci:
No dude, is for the most common versions like xt1031-33...

Cheers from Guanajuato xD

---------- Post added at 05:30 AM ---------- Previous post was at 05:26 AM ----------

I know that, I'm just saying that XT1008 is the Ferrari version, maybe it was just sold here in México...
[Moto G Android Development] h2o64:
I understood don't worry :)
[Moto G Android Development] nithinte:
I cannot see the back ups in Es File Manager or in PC ( when connected as Media device). So unable to move it to PC.

PS: I can see the backup folder through TWRP file manager. Please help.
[Moto G Android Development] aj38584:
How to take nandroid backup using twrp? I can't find any option like nandroid..
[Moto G Android Development] reversegear:
check in /data/media/0/TWRP
[Moto G Android Development] nithinte:
thank you for the reply

i can see the folder sdcard/twerp

but it is showing empty

But the contents in the folder is visible while i browse using File manager in twerp, did you get me?
[Moto G Android Development] tepar:
I once had that problem too, but i forget what i did to fix the problem. But u can move it from your sdcard to pc while in the recovery mode. It's now support mtp while in recovery, eventhough i haven't had the chance to try it. :)
[Moto G Android Development] aj38584:
Anybody please reply:confused::confused:
[Moto G Android Development] alfick3:
There's an option labeled backup. That's how you make a backup.
[Moto G Android Development] aj38584:
Okay...that is nandroid??
[Moto G Android Development] alfick3:
If nandroid is backup, yes. From everything I've ever read, you make a "nandroid backup" and I was told to do it with ClockWorkMod. Well, TWRP and CWM perform the same function so, to my understanding, yes nandroid is a backup. Of I'm wrong, or need correction, then please someone come in and help me. Please, do some reading and learning before you flash TWRP to your phone. You need to be clear about what yer doin'.
[Moto G Android Development] sjandroiddeveloper:
Can anyone surely confirm that backup restore is working in the latest build of this recovery
[Moto G Android Development] SammyP6:
This is only for the 2013 model of the moto g. there should be a separate forum for the 2015 model
[Moto G Android Development] h2o64:
This recovery is (as the op says) 100% working. No issues, no problems which can remove a feature has been reported.
[Moto G Android Development] igortomiatti:
I have a Galaxy S4 i9508 (jfltezm).

I can use the recovery of the Galaxy S4 jfltexx?
[Moto G Android Development] Darkapolo:
No.
[Moto G Android Development] sjandroiddeveloper:
Seriously!!!

What is wrong with people

It clearly says in OP that this is for falcon

Use your eyes
[Moto G Android Development] stranxk:
XT1008 is the Moto g forte (it's the same model but it came with a grip shell, that's the only difference, I know it because I have one). Everyone should threat XT1008 as a XT1032 for further reference, everything that works on XT1032 works exactly the same en XT1008.

Greetings from veracruz.
[Moto G Android Development] h2o64:
I looked here and googled it a bit

http://pdadb.net/index.php?m=pdacomparer&id1=6234&id2=5520

It seems like there isn't any issues to test this ROM.

XT1008 is similar to XT1034 it terms of firmware
[Moto G Android Development] sjandroiddeveloper:
[MENTION=4792450]h2o64[/MENTION]

I am having a weird issue on the latest build

I select logs 4-5 times each time going to main menu and then some of the buttons act differently like settings or advance options or other also take me too logs instead of their respective menus
[Moto G Android Development] einjelhart:
twrp

how to use this and install to my moto g xt1033

TWRP2.8.2.0.
[Moto G Android Development] ferchorama:
I upgraded my XT1033 to 5.0.2 via OTG so I ended up with 41.18 bootloader version, What custom recoveries are compatible with this version that allow USB mount and/or ADB sideload?
[Moto G Android Development] SammyP6:
Read the OP. If you don't know how to use recovery you might not want to try to install it as it voids your warranty and can mess up your device if you flash a bad ROM .
[Moto G Android Development] OTA_:
i experience issue with restoring data from backup

falcon, cm12.1-20/04 , twrp last version

akipapa explain the issue on this thread http://xdaforums.com/nexus-7-2013/nexus-7-2013-qa/twrp-restored-successfully-dataf2fs-t3079055

matcho13579 talk about new compression methode for last CM nightlies

can please help :)
[Moto G Android Development] h2o64:
I just experienced that bug : Many times that happend to me, always worried that something is broken. I took a look to the logcat at boot (when stuck on the bootloader) --> mass error, mass crash : data partition mistakes.

The only thing I can advice is too do a Wipe Dalvik Cache / Wipe Cache and then wait 10 minutes and if it's still stuck, force reboot.

I personnally like to see the logcat at the same time to make sure everything is fine.

I also noticed that lockscreen "stacks" when restoring or backuping (may fix that in the future)
[Moto G Android Development] OTA_:
wiping cashes, waiting : nothing... will try to get boot log

now i m downgrading to cm12, hope can restore data

btw thanks for the last version of twrp, my recovery sreen stop blinking after, glad ;)
[Moto G Android Development] OTA_:
for whom facing same pb as me, i resolve it whith elasticty and patience

how :

1 - install fresh cm12 >> boot

2 - restore data - only >>> boot (you will gets error and bootloop) ignore and reboot to recovery

3 - flash cm12.1 >> boot - yeaah, you see your data back

4 - for some reason gapps are erased - you have to reflash it

Enjoy data back
[Moto G Android Development] h2o64:
I noticed today that backup (or restore) doesn't deal with boot partition.
[Moto G Android Development] hhp_211:
if you need boot backups you can check out chainfires newest app Android-FlashFire

https://plus.google.com/communities/116661625291346007584

.
[Moto G Android Development] Mau669:
question: im using cwm as my recovery, if i flash twrp will i be able to restore backups created with cwm?
[Moto G Android Development] robt77:
No, if you flash twrp, make a new back up using twrp and check that it restores before deleting cwm one or better yet move it to external drive as back up.
[Moto G Android Development] h2o64:
Isn't there a compatibility feature?
[Moto G Android Development] robt77:
Maybe but if you go with recovery A and going to stick with it, back up with it, compatibility features for anything can he buggy, so I would if possible not rely on it for a nandroid. Or other option keep cwm backup and cwm recovery external drive and if compatibility feature doesn't work, move over both files flash cwm and restore back up. Best advice keep a tested working ROM zip on phone so there is always something tried and tested to flash
[Moto G Android Development] sjandroiddeveloper:
There are different formats in which cwm and twrp store their backup files so obviously backup made with one can't be restored with other

Although if you are using Philz touch it has a extra feature for backup called twrp mode which stores backup in twrp format so twrp can restore but not Philz itself
[Moto G Android Development] SH1M4BD3:
Doea all android things would and always be "Fragmented".. ??