yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Anarkau:
Hi guys, im just noob sorry... How can i enter now on CWM after flash it? I cant... I tryed pressing all the buttons but nothing works... What button is to enter CWM? I feel so dumb right now... please sorry about this..

---------- Post added at 03:30 PM ---------- Previous post was at 03:22 PM ----------

OK sorry I done that. I had to push recovery option on motorola boot screen and then the device reboot itself and enter clockworkmod. I have a problem wiping dalvik cache, If you go to advanced options and then go back with "++++Go back++++" button, doesnt work and all the options are gone.
[Moto G Android Development] paulwollf:
Can you flash the recovery with flashify? because im not familar with adb and fastboot
[Moto G Android Development] zedaale:
Hi. I've read some threads searching for a way to get root without unlocking the bootloader. I finally came to this one. I've read the whole thread and didn't come to a real conclusion. Do I need to unlock the bootloader to flash this recovery so that I can get root, or is it conformed that i don't need to do anything else than flashing the recovery and supersu ? Thanks
[Moto G Android Development] PumaPerez:
+1

anyone, pls?

edit: i found it. its on root of our phone at /data/media/clockworkmod/backups/

i am using solid explorer so here is how you get there: jump/device/system root

you also want to enable "show hidden files" in solid explorer`s settings ;)
[Moto G Android Development] pedrofidalgo:
Can someone tell me where are placed the backups done with this recovery?

Cant find then on the sdcard.
[Moto G Android Development] chairsz:
how to move em to root of sd card storage?

when i try with root explorer it started to move a backup but failed after only 10MB moved
[Moto G Android Development] abhi0502:
Dont move, copy d backup file
[Moto G Android Development] chairsz:
I have the 8 gig version if I do a full backup of stock r with data and all, it's about a 2+ gig zippy file leaving me with about. 800 megs or so memory left if I try and copy it obviously I won't be able to hence fore me asking about the move alternative

If someone knows the adb command to push the file to my computer or copyit to computer that would be helpful cheers
[Moto G Android Development] alfick3:
If you have ROM Manager Pro, it includes a server to copy it to your computer from the computer's web browser.
[Moto G Android Development] vhngu930:
Does this have selinux support?
[Moto G Android Development] nitin.chobhe:
adb pull <locatio of file on phone> <location on PC>

---------- Post added at 07:37 PM ---------- Previous post was at 07:33 PM ----------

You need to unlock the bootloader to flash a custom recovery. To unlock the bootloader follow this guide: Motorola device unlock
[Moto G Android Development] ed-1980:
The only way I found to get the backup to my pc was to do:

adb pull /mnt/shell/emulated/clockworkmod/backup

Bit of a pain but it works at least.
[Moto G Android Development] alfick3:
So, to push the back up back to the phone, I assume it's adb push (file name) /mnt/shell/emulated/clockworkmod/backup? Can we push a folder, or just files?

Thank you.
[Moto G Android Development] romanoqz:
CWM dont work

Hey guys

I had a problem and did the downgrade to the original firmware, losing root and CWM. After upgrading to 4.4.3 via OTA, restarted the steps again to install custom recovery, root, etc..

I used to use CWM, but now it does not work. I tried CWM and TWRP, but I can not access any of them, even with the warning that everything was installed ok via ADB. I can only access stock recovery. I have tested the latest versions of CWM and TWRP here at XDA.

Does anyone is experiencing trouble so?

Is there any tip or trick to access the CWM after upgrading to 4.4.3?
[Moto G Android Development] metalmike6:
I am also curious about this. Please let me know if you find out anything
[Moto G Android Development] romanoqz:
I solved my problem. Thanks to LIVEROY (this post)I used the ADB commands:

After, I use Philz Recovery (link)

Works fine!
[Moto G Android Development] jbanti:
Great Job Dude.. i'll Try That Soon

Thanks a lot!

Sent from my XT1033
[Moto G Android Development] epivitor:
Hey guys, I took a backup with CWM 6.0.4.7 but when I tried to find it in the clockworkmod folder, the folder appeared to be empty but when I entered recovery the backup was there.

Why is this happening?
[Moto G Android Development] lohanbarth:
installs ESFILES grants him rights SU, then go in peripheral-mnt-shell-emulated-clocworkmod-backup : Rire:
[Moto G Android Development] suiller:
just my 2 cents Sir... .zip backup leaves image folder, used as temporary folder, totally populated, while I think should be more efficient to erase after .zip is completed

again should be convenient to use the same tar backup naming criteria as for zip backups, instead of just a generic "image.zip"

tar backups don't have correct date/time

for the rest thank you :good:
[Moto G Android Development] epivitor:
Thx mate it worked, although it's a bit inconvenient way to find the backup.

Hopefully in the next version it will be more easy to be found :fingers-crossed:
[Moto G Android Development] suiller:
please make touch version compatible with GPE, I love it!
[Moto G Android Development] uniku:
Help

twrp cannot mount sdcard and i have not Os installed

Help me pls
[Moto G Android Development] Bazilli:
This is CWM thread, dont ask TWRP releated problems here.
[Moto G Android Development] uniku:
Sorry !

Back to problem

I have the same problem with CMW i can't mount the sdcard

Any one can help me please ?
[Moto G Android Development] jbanti:
Same things happening with my friends moto Do u got any solution??

---------- Post added at 06:29 PM ---------- Previous post was at 06:25 PM ----------

Im flashed CWM On My friends moto g several times but on first hand it works fine but when later when i reboot phone again in recovery it shows stock recovery instead of CWM, any suggestions??
[Moto G Android Development] xenas:
When you choose reboot, does it asks if you want to fix system boot? - just choose No.

For me at first time I was having that problem because I have chosen Yes... Just try it.
[Moto G Android Development] jbanti:
SOLVED IT... Its because R/W protection on first hand, guyz just flash cwm n flash supersu through CWM (Put SuperSU file in Obb or in Android folder) tadaa its done... When u get superuser privileges it saves CWM As permanent Recovery... ;)
[Moto G Android Development] vikassoni:
I have Moto G xt3011 Indian model 4.4.4

BL unlocked

After flashed custom recovery cwm/twrp

Display blink in recovery mode

How to fix it

I have windows 8.1 pro

---------- Post added at 10:17 AM ---------- Previous post was at 09:58 AM ----------

I'm received brand new Moto G yesterday from [MENTION=332822]flipk[/MENTION]art

(Manufacturing date Aug 2014)

I wanna root my phone

Need twrp or cwm custom recovery tested solution for XT1033 Moto G 4.4.4 and updated ota update
[Moto G Android Development] kleytonhunter:
link off

links are not working,please someone fix it :(
[Moto G Android Development] lead3r1:
Hi bro I too got the phone from flipkart manufacturing month Aug 14 and i too gpt the same error(Display blinks in recovery mode) as a matter of fact none of the recoveries available under the moto g dev forum here at xda will work on our phones because our baseband is MSM8626P_1032.390.81.01P,ROW_DSDS_CUST and the recoveries arent updated to support this version but i guess once an update rolls out its bound to add support for us and hence we'd be able to get a working recovery good luck (y)
[Moto G Android Development] navjotjsingh:
What is the difference between CWM and CWM Touch? Which one to select?
[Moto G Android Development] jbanti:
1.CWM is operated by Hardware buttons.

2.In CWM u Can use touch interface or both...
[Moto G Android Development] Sandivisi:
No update for cwm facon? Because latest version cwm is 6.0.5.0
[Moto G Android Development] MarcusBremen:
hey. i need a cwm for the new moto g 2nd gen / 2014... can i use this instead ??
[Moto G Android Development] Juste300:
Can anyone please confirm is 6.0.4.7 version works/compatible with dual sim XT1033?

I read somewhere CWM is not compatible with the following baseband:

[IMG="version"]http://a.disquscdn.com/uploads/mediaembed/images/1268/6489/original.jpg[/IMG]
[Moto G Android Development] mrbojangle69:
It is so frustrating that I have never been able to mount the Moto G as an usb mass storage through the 6.0.4.6 CWM Custom Recovery, this function has saved me when I had some troubles like bootloops, etc.
[Moto G Android Development] Rohitagni:
Hey... Can you port this for Motorola Moto E XT1022?:confused:
[Moto G Android Development] Sandivisi:
No update for CWM?

Sent from moto g using Paranoid Android 4+ via Tapatalk
[Moto G Android Development] IGGYVIP:
i would pick cwm since you can control using touch to enter slide right , to select slide up and down , to go-back slide left

+1

[MENTION=709835]a1Pha[/MENTION] adb not working ? :eek:

is there fix ?
[Moto G Android Development] Puru007:
can we flash this using flashify or mobileuncle??
[Moto G Android Development] Sandivisi:
is there someone who can update the CWM with latest version?

please, i know [MENTION=709835]a1Pha[/MENTION] busy . so I'm hoping there is someone who can update
[Moto G Android Development] pappy97:
I just got this phone, Boost Mobile Version XT1031, baseband MSM8626P_1032.390.81.01P. I unlocked the bootloader just fine, but when I flashed this version of CWM 6.0.4.7, I just get a blank screen when I try to go into recovery. Has this issue not been resolved yet?

Thanks!
[Moto G Android Development] lost101:
a1Pha, backups are currently stored in '/mnt/shell/emulated/clockworkmod/backup' - is there any way to make them appear in the more obvious: /sdcard/clockworkmod ('/data/media/0/clockworkmod')?
[Moto G Android Development] Benowit:
Ok have download and install for second time and it's OK :) i think you should create a md5sum

I agreed with you :good:
[Moto G Android Development] rapunzel11:
Same problem here. German Retail Version.

I've also found out that mounting USB storage doesn't work
[Moto G Android Development] lost101:
That's not just in CWM, it's system-wide. The internal storage is EXT4, not FAT32, and everything is stored on it, not just data. There are utilities to mount as USB but they are awkward to use and read-only afaik.
[Moto G Android Development] rapunzel11:
Ok, thanks! That sounds logical.
[Moto G Android Development] lost101:
I just checked, it appears to use the filesystem 'f2fs' also like Moto X:

[anandtech]
[Moto G Android Development] nupi:
What happens if we format the USB storage as ext4? I think Moto just didnt want to license FAT32 from MS (rightfully so)
[Moto G Android Development] lost101:
I assume you mean format 'user data storage' as FAT32. Interesting question and I don't see a post where someone has tried it on XDA.

User Data Storage (currently):

Convert to FAT32:

Convert back to F2FS:

Can any dev suggest if this would work?
[Moto G Android Development] nupi:
Can't mount encrypted /data, anyone else has that issue?
[Moto G Android Development] a1Pha:
You would at least have to adjust the fstab file (and so would ROM developers in future ROM releases have to), I think I'll give it a try later.

Someone already wrote this, I guess encrypted file systems don't work yet. Will try to fix it in future builds.
[Moto G Android Development] nupi:
If you want to test it, be mindful that you cannot encrypt your phone while it is rooted (CWM can however stay on it).
[Moto G Android Development] aaopt:
At risk of stating the obvious, these commands will wipe existing data, so be careful.
[Moto G Android Development] josalaito:
I can add f2fs support to cwm if you want but i need device config from the dev

Enviado desde mi HUAWEI G510-0200 usando Tapatalk 2
[Moto G Android Development] obvious:
Just ran into a problem.

After downloading tillaz's rom (cheers tillaz) I did a cwm backup (all good) then a cwm wipe data/factory reset. It appeared to format data ok but hung on formatting cache.

On rebooting I found all the apps and data still intact.

Edit: Where's the CWM log located? It's not in cache/recovery or sdcard/clockworkmod

Edit2: Unlocked Tesco 16GB running stock UK.
[Moto G Android Development] Angel_Alonso:
i can´t open recovery, why?

edit: I could already enter the recovery, but I can not do factory reset
[Moto G Android Development] Doublepranks:
The vary same happened here, after Installing the ROM wipe/data factory appears to no long work properly. Retail Dual Sim 16GB.
[Moto G Android Development] lost101:
/mnt/shell/emulated/clockworkmod/backup/*/recovery.log
[Moto G Android Development] shaftenberg:
[MENTION=709835]a1Pha[/MENTION] Will there ever be a new release of CWM? Just asking, seems the development has stopped?
[Moto G Android Development] kyler084:
Be a bit more patient please, how has development stopped , its been like two days ?, devs are people with lives as well .
[Moto G Android Development] shaftenberg:
As people are nagging me privately to update my Mods with CWM packages, it is reasonable to ask the dev here. Think he does not need a spokesperson for giving an answer, but thank you for enlarging my viewing angle... :D
[Moto G Android Development] Wadu436:
Hi

CWM doesnt install. It says mismatched partition size (recovery) in the fastboot window. When i start up the recovery, it tells me No Command. Same happens with TWRP
[Moto G Android Development] reversegear:
Mismatched partition size is a common error you can ignore it

Try flashing again and directly reboot to recovery it should work
[Moto G Android Development] Wadu436:
Thanks! Now Let's see if it can restore the backup, and them i'm set :D

---------- Post added at 06:22 PM ---------- Previous post was at 06:05 PM ----------

:D My Custom ROM just booted, im so happy :D Thanks!!!
[Moto G Android Development] core720:
waiting update for 5.0
[Moto G Android Development] lohanbarth:
HELLO guys, here's the CWM 6.0.5.1 touch

it is the update of the cwm recovery 6.0.4.7
[Moto G Android Development] methuselah:
Just needed to flash via recovery ??? Are you sure that it is working properly? You got it from ???
[Moto G Android Development] lohanbarth:
This is not a flashable .zip.

installed with fastboot or flasify

I got by installing the recovery 6.0.4.7 touch and making the update recovery, by installing CM11.

I then extracted with Rashr.apk
[Moto G Android Development] methuselah:
So is this is created by source or what ?? I could see here image attached below....so how you updated from there :confused:
[Moto G Android Development] lohanbarth:
not create from the source.

in CM11 nightly> dev option> update recovery

when cm11 Rom and went from 4.4.3 to 4.4.4 the recovery was a change
[Moto G Android Development] core720:
Is old cwm recovery
[Moto G Android Development] derekokelly:
What's the latest CWM version currently? Still 6.0.4.7?
[Moto G Android Development] indrasatrya:
yes, sir
[Moto G Android Development] talhask:
Is this recovery compatible with CM12???
[Moto G Android Development] 2hipso:
Yes, but since I updated bootloader to delete screen flickering in ROM, I'm paradoxly getting screen flickering in CWM :D but working good
[Moto G Android Development] :
Does this work with 5.0.2?
[Moto G Android Development] :
For those of you who are having problems with the recovery disappearing after using it once and you keep seeing the

no command

error, try this. It worked for me:

Go to bootloader as normal (adb reboot bootloader or hold the Volume Down + Power for 10 seconds when you phone is off)

Flash the cwm recovery again as you normally do (ignore any partition errors)

On the phone bootloader screen, highlight Recovery (press the volume down button to move) and then press the volume up button to select.

Once in recovery, go to advanced -> reboot recovery.

Done! It should stop disappearing from now on.

Please add this to the first post to help others.
[Moto G Android Development] rithvikreddy.p:
it says mismatched partition size ??? tired alot of them it says the same . im using moto g 2013
[Moto G Android Development] :
It's normal for that message to pop up. That just tells you that you flashed it fine
[Moto G Android Development] Harpratap:
I keep getting the "no command" screen on every recovery I try to flash.

My bootloader version is 41.18 and model is xt1033 on 5.0.2. I just unlocked the bootloader.
[Moto G Android Development] poran123:
same problem here... i'm on 5.1 stock
[Moto G Android Development] pradeeppk:
Have you tried pressing power button for few seconds and tapping the vol up button?
[Moto G Android Development] Harpratap:
Yes. Its working now. :good:

I was on 5.0.2 and then I flashed the 5.1 OTA update and tried again with CWM Touch version and it worked.

So try flashing the stock rom via fastboot again and after flashing the recovery directly boot into it. Don't let the phone boot or it wipes the recovery partition.
[Moto G Android Development] happiy91:
same problem with me... I tried to flash it mfastboot and fastboot both.... After flashing this recovery, the system is still on stock system recovery... Bootloader is unlocked... M on 5.1. .

bootloader version 41.18
[Moto G Android Development] ayoubelhouche:
hi in the cmd it says remote failure . why ?
[Moto G Android Development] Doublepranks:
I think the right way maintain such important tool uptodade and constantly growing is to share its source code so anyone with the necessary knowledge could develop along.
[Moto G Android Development] rapunzel11:
[MENTION=2796045]shaftenberg[/MENTION]: First i have to say sorry, i had overlooked the introduction in the fastboot menu complete. And randomly it works for me. But your screenshot has disabuse me.

But I also think that a1Pha has stopped developing his own project. No one knows why? We are thankful for the great work. But life goes on.
[Moto G Android Development] irishpancake:
How on earth can you say that?? :confused:

After 3 days??

You have the patience of a gnat, honestly!! No offence.....:)
[Moto G Android Development] a1Pha:
Excuse my asking, but are you completely insane? It's been three days since my last post. I didn't throw my phone into a river or so - I will need a working CWM in future, too. So yes, I will continue working on it. But I also have my job, my girlfriend, a family and so on. And I moved to a new city 4 weeks ago.

The sources for Moto G are open, feel free to contribute.

My BoardConfig.mk:

USE_CAMERA_STUB := true

# inherit from the proprietary version
-include vendor/motorola/xt1032/BoardConfigVendor.mk

TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := msm8960
TARGET_CPU_VARIANT := cortex-a7
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true

TARGET_BOOTLOADER_BOARD_NAME := xt1032

BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags
BOARD_KERNEL_BASE := 0x00000000
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000
BOARD_HAS_NO_REAL_SDCARD := true
BOARD_KERNEL_PAGESIZE := 2048

# fix this up by examining /proc/mtd on a running device
BOARD_BOOTIMAGE_PARTITION_SIZE := 10485760
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 10485760
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1023410176
BOARD_USERDATAIMAGE_PARTITION_SIZE := 5930614784
BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_PREBUILT_KERNEL := device/motorola/xt1032/zImage-dtb
# TARGET_KERNEL_CONFIG := zanooda_defconfig

BOARD_HAS_NO_SELECT_BUTTON := true
BOARD_HAVE_BLUETOOTH := true
DEVICE_RESOLUTION := 720x1280
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TW_FLASH_FROM_STORAGE := true
HAVE_SELINUX := true
RECOVERY_SDCARD_ON_DATA := true
BOARD_HAS_NO_REAL_SDCARD := true
TW_NEVER_UNMOUNT_SYSTEM := true
TW_ALWAYS_RMRF := true
TARGET_USERIMAGES_USE_EXT4 := true
# TW_BRIGHTNESS_PATH := /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.144/leds/lcd-backlight/brightness

My recovery.fstab:

/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/modem /modem ext4 defaults defaults

Thank you.
[Moto G Android Development] ferreinf:
I guess there's to many newbies here on moto, maybe you should all read what dev means, this is development thread no gossip thread take it to general...

Thanks for the effort man we all are heager for a full stable recovery and something to flash on it :)

Sent from my Moto G
[Moto G Android Development] a1Pha:
Thank you very much!

Backups are stored under /data/media/clockworkmod, you can pull it via adb or copy it via root explorer. But I think I have an idea how to make it accessible on internal storage.

I have my PayPal donation mail in my profile, but I don't want anyone to donate me as long as this is not completely stable ;) Thank you for asking!
[Moto G Android Development] immortal_yash:
friend can you make a common github for motog dev where we can pull and push commits for future roms...i have cm11 and omni rom synced on my laptop if you can share the device tree that you have made till yet i can make changes in it and try compiling and changes will be added to that git :)
[Moto G Android Development] irishpancake:
Thanks for that:

Here is a screenie of my first backup, living exactly where you indicated......
[Moto G Android Development] a1Pha:
I will clean up the folder and commit it, but this won't be before monday evening since I'm in my familys town this weekend and I don't have the source with me ;)
[Moto G Android Development] immortal_yash:
not a problem my friend.. my aim is just for development of this phone and i know we all have a private life ;)
[Moto G Android Development] 7alvi:
Damn! you starting the party without me, Yash? :D

As soon as I get my hands on one falcon I'm building stuff for it. Leave something for too. Ok? ;)
[Moto G Android Development] immortal_yash:
Everyone is invited to the party ;) and everyone is invited to contribute to this device... Since I dint receive my device yet so will start from the basic of having a twrp recovery ;) I'll update my github as soon as I make a initial device tree for the recovery at least

[MENTION=293243]Moto[/MENTION] g users

Can some one provide me with egl.cfg from system/lib/egl.cfg please zip the file and upload
[Moto G Android Development] lost101:
Found in: /system/lib/egl/ - http://www61.zippyshare.com/v/19832296/file.html
[Moto G Android Development] immortal_yash:
thanks for the file :)

sorry my bad for the path of the file wrote it in a hurry :P
[Moto G Android Development] josalaito:
My device arrived this morning!

I'm working in a fully cwm build(f2fs support) and a cm10.2 repo, but i don't going to unlock bootloader now because i'm looking for a way to root with bl locked.
[Moto G Android Development] Doublepranks:
Can I have your repo link so I can follow you there? I'm currently working a cm 10.2 repo either but I'm just a beginner. My device is already unlocked/rooted .

Learning is so fun!!!
[Moto G Android Development] 7alvi:
If that's what you want, maybe you should concentrate on getting a recovery installed with the bootloader locked. I don't think that's possible but oh well..
[Moto G Android Development] josalaito:
A recovery maybe not, but a way to install custom roms based on stock using motorola flash system maybe will be easy
[Moto G Android Development] 7alvi:
Why you wanna even make stock based roms..the stock rom is near aosp..!
[Moto G Android Development] michalurban:
For myself perhaps? :D I prefer entirely AOSP ROMs, so near-AOSP is not good enough ... :D