yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] shabbypenguin:
ah yea i dont expect it to connect to a computer and allow transfer of files in recovery mode, usually taht requires the lun file and even then its iffy at best if it works.

1) mismatched just means it didnt match the exact size of the original.

2) thats very odd...

3) good to know, i did a quick google on how to enter recovery and saw the buttons so i figured that was it
[Moto G 4G Android Development] stephtban:
here is the md5sum for CWM-6.0.5.0-peregrine.img to avoid file corruption

fd058b2bc0aef105096369c60d07ad32
[Moto G 4G Android Development] eteles:
You have to boot into bootloader mode, go to recovery option with volume down key and select it with vol UP... Do not use power button to select it...
[Moto G 4G Android Development] Kahroo:
Is this a touch recovery?
[Moto G 4G Android Development] vpnair:
Haha indeed. I'm proper retard. Now it boots into recovery fine. But MD5 of CWM recovery is okay (@stephtban thanks for the suggestion though). Also tried Shabby's TWRP. No luck.

I guess i screwed something up by trying to mount it. :S Always open to suggestions, if anyone can come up with any. But for now, I'll say its just my phone that hates me and leave it at that.

Thanks Shabby. Swell guy. I'll donate once I get money next week. Hope others do too, for the time you've spent on this.
[Moto G 4G Android Development] shabbypenguin:
it should have swipe controls enabled, i suppose i should build a newer version that has a full touch recovery interface though :P

oh dear. is tehre another sdcard you can test with? i would feel terrible if it turns out it broke your sdcard
[Moto G 4G Android Development] vpnair:
I had the same thought as you, it seemed to be the only variable. It's a Samsung 32gb SD Card Class 10 MicroSDHC UHS-1 (like this).

I have read that Moto G does not suppoert UHS-1 speed, but that it is still compatible. And it does, works fine...except recovery! Swapped it for a 8gb Kingston MicroSDHC Class 4 and voila...working!

Interesting that the the the 32gb UHS-1 card does work once I boot up (so it isn't a hardware issue). Motorola need to address this.
[Moto G 4G Android Development] shabbypenguin:
oh ok, i thought i cost you some files. how is it formatted?
[Moto G 4G Android Development] vpnair:
No no, just couldn't access it in recovery. It's FAT32. Don't know where or when I last formatted it though (used it on my Galaxy S4). I formatted the Kingston (that I replaced it with) through Android. Just copying off the data from the Samsung UHS-1 and seeing if formatting it the same way will help. :) Will let you know results.

EDIT: No dice! Reformatting within Android (same process as Kingston MicroSD) did not change anything. Still unable to mount. Definitely the SD card. Maybe add into first post that certain SD cards(UHS-1?) may not mount, even if working under android. Not exactly a bug though.
[Moto G 4G Android Development] shabbypenguin:
alright i added it to teh OP. im compiling the touch cwm now, carbon rom just finished uploading and that will be posted along teh cm roms in my aosp thread. unless something major happens im gunna go ahead and take a break for a bit :P
[Moto G 4G Android Development] stephtban:
Have a good break... You deserve it! :)
[Moto G 4G Android Development] suhridkhan:
looks like my transcend class10 uhs1 sd card is not working...

however, I could use USB OTG to backup to a thumb drive. :good::)
[Moto G 4G Android Development] Trophynuts:
soooo....I got my device today. I'm having the same issue as VPnair. ...SD card works fine when the device is booted, but not in recovery. I'm using a G.Skill Class 6 16gb card. ..not sure if it is a UHS-1 card. Either way I worked around it. made a back up to device memory then moved the backup. Currently I'm rooted with exposed installed.
[Moto G 4G Android Development] Triggeh:
Nevermind
[Moto G 4G Android Development] suhridkhan:
can you make sure that the recovery img is there? looks like you are using 2 different files for those 2 commands...
[Moto G 4G Android Development] Triggeh:
Ahh I feel stupid now was trying to flash the non touch file but had them in different directories

Edit: I have been having an issue trying to navigate the touch recovery with volume/power buttons sometimes while trying to scroll through the list with vol buttons it selects something i didn't want to anyone else?

Touch controls and all features seem to work perfectly however.

Edit 2: Navigation in non touch recovery works perfectly with hardware buttons.
[Moto G 4G Android Development] tomlogan1:
Can't load recovery

My XT1045 is unlocked and rooted. Every time I try to enter recovery I get the "dead" android figure. Otherwise, the device functions perfectly. How can I get CWM installed if I have no base recovery? If I have to flash a new factory image, do I have to root over again?

Thanks.
[Moto G 4G Android Development] shabbypenguin:
did you fastboot flash recovery?

sorry about delays in things, got held up in personal stuff. im just going to throw my ugly ass device trees up on github tomorrow so peopel can fork them, contribute, fix things, and put out builds for roms that i didnt. i dont have the device so i must be honest the desire to get it 100% probably isnt as strong as the people who do have it :P but while the files may not be perfect or my commit history pretty. it will at least get em out and able for people to help, ive talked with dhacker and darkshado regarding the device and i imagine youll have full working roms before too terribly long. who knows, half the bugs may even just be caused by me :P.
[Moto G 4G Android Development] tomlogan1:
Used the Superboot Windows app found here on XDA:

"fastboot-moto-windows.exe boot boot.superboot.img"

Quotes added.
[Moto G 4G Android Development] shabbypenguin:
well from that you are just booting it once, you want to actually flash it.
[Moto G 4G Android Development] tomlogan1:
Thanks for the quick response. Is the img appropriate for a US XT1045? The phone still says peregrine, and I don't want to screw it up further.

So if I understand correctly, flash the img file from superboot, and then CWM? or just flash CWM?

Thanks agian.
[Moto G 4G Android Development] shabbypenguin:
i would sugegst stop trying to use tools and or scripts because when they dont work as intended you dont know where to go. in order to unlock your bootloader you needed to install teh sdk and use fastboot, just issuing the fastboot flash recovery "c:\path\to\recovery.img" will flash it for ya if your phone is in bootloader mode and conencted via usb.
[Moto G 4G Android Development] tomlogan1:
Thanks for the guidance, however, I unlocked the bootloader via Motorola's instructions. I picked up the superboot here on XDA. Just don't know why it blew the recovery. So my question remains: Flash CWM and use it as recovery?

Thanks.
[Moto G 4G Android Development] shabbypenguin:
whoops sorry, what you were seeing was actually stock recovery, but yes what you are wanting to do is flash cwm as your recovery.
[Moto G 4G Android Development] tomlogan1:
CWM installed and backing up to external SD
[Moto G 4G Android Development] shabbypenguin:
Device tree is updated with latest files, commit history and code looks like ass so please dont judge me off that :P

it needs a modded msm8226-common here is a quick commit of all the work needed to get msm8226-common to where i have it for the aosp builds ive posted. https://github.com/Shabbypenguin/an...mmit/b8f6ebe57217d04ec6b407df068005e4d50e4c9d with those two repos and the rest of teh dependancies file you should be able to build any of the aosp roms with the same level of bugs/issues/features as what i have. i was hoping to clean it up some but then i got hung up on personal stuff, now other people can help contribute :)
[Moto G 4G Android Development] eteles:
Really hopping someone picks this up and continue the work... Thanks [MENTION=2614663]shabbypenguin[/MENTION]!
[Moto G 4G Android Development] shabbypenguin:
not done just yet :P just taking my time with things now. there was a big rush and hurry building cwm and then cm my poor computer was maxxed out for a few days, i would do a build and then while its uploading try tweaking a few things and then recompile. ive got a few other devices im working on cwm for right now and when i get some time and a clear head ill take another whack at peregrine. truth be told, destiny beta starts tomorrow so it porbably wont be until after that is finished :P (i love me some bungie :D)
[Moto G 4G Android Development] eteles:
What is destiny?
[Moto G 4G Android Development] suhridkhan:
that's a million dollar question? (being philosophical! :) )
[Moto G 4G Android Development] tomlogan1:
No phone except over bluetooth

I have as you know, unlocked, rooted and installed CWM. My phone no longer works as a phone unless connected to bluetooth. I am really not sure where to go and sure could use some guidance. I am in the process of doing a hard reset, but all I get is the screen flashing on and off with the android character, He still is upright and the bar seems to be moving left to right, but any assistance appreciated.
[Moto G 4G Android Development] shabbypenguin:
sounds liek you need to flash the stock firmware, i havent own a moto phone in a couple of years so im not up to snuff on what all that involves, perhaps someone who has teh phone and has done it before can chime in.
[Moto G 4G Android Development] shabbypenguin:
http://www.destinythegame.com/

bungie, the creator of the halo games, has the public beta for their next big hit that just started :D
[Moto G 4G Android Development] tomlogan1:
Thanks again. I did a hard reset and somehow, the phone came back without erasing anything and the phone came back working well.

Let me know how to donate to you. You've earned it.

Thanks.
[Moto G 4G Android Development] shabbypenguin:
glad to hear it :)

over to the right there is a donate to me button or the link in my signature is the best ways, thank you so much for your donation :D
[Moto G 4G Android Development] vpnair:
Thanks Shabby for your work. We know you are busy, but help out when you can. Looking forward to further development on this phone. As I promised last week. ;) 5Y975555NT061823R
[Moto G 4G Android Development] shabbypenguin:
thank you so much :D
[Moto G 4G Android Development] vpnair:
Updated to latest KitKat 4.4.4 (21.1.46en.EU) and can confirm that it does not solve SD cards (my UHS-1 Samsung) being read by recovery. Not that I expected it to solve it, but one can hope when one isn't a developer.
[Moto G 4G Android Development] shabbypenguin:
recovery would have its previous kernel still, if they pushed 4.4.4 kernel source i can do a quick build tomorrow
[Moto G 4G Android Development] Triggeh:
The 4.4.4 update won't install and my device is constantly rebooting into recovery trying to instal lthe update It currently does this:

Boots into recovery > asks to install an untrusted package > see an error for a split-second before boot into android (still 4.4.3) > repeat.

Help?

Tried flashing TWRP - Same problem

Edit: redownloaded same issue
[Moto G 4G Android Development] vpnair:
If you want to stop the loop just clear the cache (fastboot erase cache). That will wipe the OTA and prevent it constantly restarting to update.

To get OTA to work follow this thread. The stock firmware I've linked in that thread is for the XT1039, so it will apply to you too. None of your data will get wiped when you reflash system partition.
[Moto G 4G Android Development] Triggeh:
Thanks, I'm guessing it's because I removed the unlocked bootloader warning well I'll just stay on 4.4.3 cause my SD card works and not much need to update.

Hopefully I won't have the same issue when custom roms come.
[Moto G 4G Android Development] tomlogan1:
Paypal 7F030636DC739723U
[Moto G 4G Android Development] evilinheaven:
Worked here! Flawlessy...

thanks a lot!

Root on my moto G 4G? Great times are comming...
[Moto G 4G Android Development] Somcom3X:
:)

Time to unlock the bootloader.

You mind if I post a rom shabby?
[Moto G 4G Android Development] eteles:
Since he's sharing his code work so people can contribute, I am sure he won't mind! Please post your ROM and just ask me if you need some testing to be done...
[Moto G 4G Android Development] walter79:
Thank for this recovery.

Some works on custom rom?
[Moto G 4G Android Development] Darius_AWS:
Do we have enough files to port cm ? I tries today but it end up with a lot of error while trying to build (I'm still a noob in dev) so I gave up for today

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G 4G Android Development] eteles:
Yes, we have the necessary files! There's already a working build of CM for our device, from shabbypenguin, but it's not suitable for daily use, since still there are major bugs to be fixed, like external SD card mount, stock music app and headphones not working properly, miracast and probably more...

EDIT: his build #2 from 7/31 has everything working great... Including MIRACAST (after including 1 line to build.prop)... Just the headphone audio sometimes plays from both earphones and loudspeaker...
[Moto G 4G Android Development] Somcom3X:
Mind linking me to your vendor/kernel shabby?

Cursed rom won't boot at all.

And I can receive your pm's, but replying never works for me. (I'm not ignoring you ;) )
[Moto G 4G Android Development] ahmadsamhann:
I accidentally create a backup to sdcard0. when I'm browsing with es file explorer / xplore it doesn't show the recovery folder in /clockworkmod. is that normal?
[Moto G 4G Android Development] Somcom3X:
Depending on the rom and recovery, it might be in storage/0/ on your sd.

---------- Post added at 03:09 AM ---------- Previous post was at 03:01 AM ----------

Well, I really can't do too much till Motorola updates the xt1045, till then, I've got a new vendor and I'm hoping to deunify the peregrine.

Once this starts working, I'll build you guys a custom kernel.
[Moto G 4G Android Development] Somcom3X:
[MENTION=2614663]shabbypenguin[/MENTION] : and bam https://github.com/MotorolaMobilityLLC/kernel-msm/commit/a3760ecf75920495571d06540d6900b2ac97849c
[Moto G 4G Android Development] Darius_AWS:
Does this mean that soon falcon ROMs will work on our device :D ?

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G 4G Android Development] shabbypenguin:
that wont happen, they are far too different than even originally thought. [MENTION=4802051]Somcom3X[/MENTION] good find man :) ill tinker tomorrow :)
[Moto G 4G Android Development] eteles:
It seems that falcon, peregrine and titan will each one follow a separate path from now on...
[Moto G 4G Android Development] Somcom3X:
Heh :)

Bunch of stuff broken, namely ril, wifi

I got the vendor booting.

By the way, the titan is a device leaked to come to Verizon with similar specs to the g 4g. Supposed to have some new version of lte or something.
[Moto G 4G Android Development] eteles:
Good news! What about external storage? Broken too?
[Moto G 4G Android Development] Trophynuts:
XLTE maybe?
[Moto G 4G Android Development] Somcom3X:
voLTE (voice over LTE)

http://www.droid-life.com/2014/06/05/motorola-codenames-xplus1-xwatch-uline-verizon-volte/
[Moto G 4G Android Development] Somcom3X:
I got audio and Bluetooth fixed, on to the ril
[Moto G 4G Android Development] eteles:
Nice... What about external storage? Is it working?
[Moto G 4G Android Development] Somcom3X:
Working on it.

More importantly:
[MENTION=2614663]shabbypenguin[/MENTION]

https://github.com/MotorolaMobilityLLC/kernel-msm/commit/0353facd2c1792e09dda3dd06d8d520fbf97b8f2

I wonder what could happen if this was reverted, too bad I don't have a high speed sd
[Moto G 4G Android Development] Somcom3X:
In case your all wondering, sdcard and gps work fine when built from source.

Wifi is the only thing really stopping it from being a DD.

Maybe it's time to work on the gyro libs,

So, the current bugs are:

orientation sensor

magnetic sensor

wifi

My ril change should increase the level of reception.

Shouldn't be too long till it's fully working.
[Moto G 4G Android Development] Somcom3X:
Fixed gyro. If only WiFi was that easy.
[Moto G 4G Android Development] Somcom3X:
Nupich @ androidforums got Wi-Fi working on his source built rom. I may have had a bad line somewhere on my tree(s) failing the driver.

I rebased back to the beginning and merged all of shabby's changes and carefully re-carbonized. Merged in the ril +sensors fixes and we should be on the same place now.

I'll let you guys know how it turns out tomorrow.

Sent from my XT1045
[Moto G 4G Android Development] rpcll:
What does it take for a Recovery to become "official"? Some more testing?
[Moto G 4G Android Development] Somcom3X:
Official CM Nightlies.
[Moto G 4G Android Development] shabbypenguin:
ill request an official build later today
[Moto G 4G Android Development] cuttero:
..does that mean: "official CWM" needs "official CM Nightlies"?

Is CWM now working with SD-Card-Support?
[Moto G 4G Android Development] panhans:
I'm not able to update to 6.0.5.0. Always got partition mismatch. Is there a solution?
[Moto G 4G Android Development] augiem94:
XT1042 here. Got "Partition Mismatch" while flashing, but everything seems to work right. My only concern is that my backup folder is at /storage/sdcard0/0/clockworkmod, why is that? And why is there "legacy" and "0" under /storage/emulated? Sorry if its a stupid question, but I'm coming from a Gingerbread device :p . Also the other day, before I unlocked and rooted I had a 0 folder on my internal sdcard while I was mounted to my PC, I deleted it and it wiped my internal AND external sdcards!

EDIT: When using CWM Touch I don't get the /0/clockworkmod folder
[Moto G 4G Android Development] Schrotty35:
Whene i make a backup the date is wrong. It show 1970??

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] Somcom3X:
legacy is practically 0 but older apps might not have been updated to 0 so they use legacy.

Partition mismatch is generic for now, I'll fix it in the future.
[Moto G 4G Android Development] bkr32:
i get partition mismatch as well, even while using easyrecovery tool

entering recovery takes me to stock even after flashing
[Moto G 4G Android Development] TheFixItMan:
Flashed the touch version via fastboot

I didn't have any problems and created a nandroid backup again with no problems

Strange - my backup using the touch version shows the correct date

Other than trying to manually set your phoned date and time I don't know what to suggest with that one
[Moto G 4G Android Development] Bazilli:
I cant backup or restore from external sd. It freezes and nothing happens.
[Moto G 4G Android Development] TheFixItMan:
Yep me too - freezes on generating md5sum for me

Backup to internal is successful
[Moto G 4G Android Development] senzacionale:
Version is to old and not work any more on Moto G LTE (Peregrine). If I try recovery CWM just blinking. Can I get new version?
[Moto G 4G Android Development] Bazilli:
Works fine here. My only problem is that i can't backup to external sd.
[Moto G 4G Android Development] senzacionale:
Which version of ROM do you have? I am using the latest version: XB21.14-L1.56-1
[Moto G 4G Android Development] slugger09:
Not working here either just blinking
[Moto G 4G Android Development] mrps2:
Mine is blinking as well...

XT1040 - Retail Brazil - ROM_XT1040_RETAIL-BR-SS_4.4.4_KXB21.14-L1.56-1_cid12

When I do th comand to flash recovery it says on the phone (pink msg)

"Mismatched partition size (recovery)

And when I do the comand "fastboot boot cwm*.img" it boots in the recovery and you can navegate using the buttons but it quickly blanks the screen and can't do anything after that.

Hope it is easy to fix, does 4.4.4 has a different partition size for the recovery?
[Moto G 4G Android Development] sd_N:
hi

Works great here. XT1042(USC) with 128GB Class 10 SanDisk sd card. Thanks Shab.
[Moto G 4G Android Development] lmf:
worked for me, x1045, but twrp didnt. kept giving me partition mismatch
[Moto G 4G Android Development] sirxdroid:
Does CWM support an encrypted XT1045 device?
[Moto G 4G Android Development] martinisok:
Thanks for this recovery. I have a strange problem , I have a kingston 32gb sdhc card. When I boot into recovery It wont mount ext sd card. If I take the card out and put it back in it works. Not sure why it works then.
[Moto G 4G Android Development] jazon7:
i just flashed cwm and i get a black screen with some white blinking lines (sometimes) - can't navigate or do anything

stock eu 4.4.4
[Moto G 4G Android Development] martinisok:
Tried to restore backup up and got md5 error, tried to fix the file ended up with stuck on boot logo, had 3 backups all the same, luckily managed to install stock from fastboot. Now installed twrp, backup restore working.
[Moto G 4G Android Development] Travisholt92:
You're using an out of date recovery

Sent from my Moto G 4G LTE (XT1045) Retail US variant

ROM: Mokee MK51.1 (5.1.1) 4/28 build

Kernel: Spirit Kernel V3

Carrier: Cricket Wireless
[Moto G 4G Android Development] martinisok:
What do you mean out of date? This is the latest recovery isn't it?
[Moto G 4G Android Development] Travisholt92:
http://xdaforums.com/showthread.php?t=2996266

[COLLECTION] Somcom3x's Experimental Corner this is 6 months newer.

Sent from my Moto G 4G LTE (XT1045) Retail US variant

ROM: Mokee MK51.1 (5.1.1) 4/28 build

Kernel: Spirit Kernel V3

Carrier: Cricket Wireless
[Moto G 4G Android Development] martinisok:
That's the one I'm using now. It's just a problem with cmw and not able to restore my backups.
[Moto G 4G Android Development] Travisholt92:
It can't be the one you're running if you're running cwm. What I linked you is twrp, there is no up to date cwm for our device (at least on this forum)

Sent from my Moto G 4G LTE (XT1045) Retail US variant

ROM: Mokee MK51.1 (5.1.1) 4/28 build

Kernel: Spirit Kernel V3

Carrier: Cricket Wireless
[Moto G 4G Android Development] jazon7:
Travis, you are my hero. with the twrp you linked i managed to install custom recovery, finally!

charging the battery so i can try flashing custom rom :)
[Moto G 4G Android Development] Travisholt92:
You're welcome. And I highly recommend a 5.1.1 based ROM. They are very stable. Make sure to do a full wipe of data and internal storage, also don't forget gapps. I use slim gapps 5.1 myself.

Sent from my Moto G 4G LTE (XT1045) Retail US variant

ROM: Mokee MK51.1 (5.1.1) 4/28 build

Kernel: Spirit Kernel V3

Carrier: Cricket Wireless
[Moto G 4G Android Development] cptechnik:
same at my device...

Transcent 32GB, xt1038, cwm-v6.0.4.8 (filename says v6.0.5.0)

reboot, install zip, choose from /external_sd : "E:Can't mount /external_sd"

go back to main menu, pull and pull sdcard...

... install zip, choose from /external_sd ...10 seconds later... sd mounted...

...twrp works with sd without problems, but not with ota-cm-update, not with scripts from custom rom... thats because i testet cwm...
[Moto G 4G Android Development] DragonHunt3r:
I tried using "fastboot boot CWM-6.0.5.0-peregrine.img" but the device simply boots up into system instead of recovery... ? :rolleyes:
[Moto G 4G Android Development] ssirK:
try : fastboot flash recovery CWM-6.0.5.0-peregrine.img
[Moto G 4G Android Development] Travisholt92:
If you want ota cm just use the cm recovery. You can install it through the roms developer settings
[Moto G 4G Android Development] cd492:
Anyone got a Mirror Link for the CWM-6.0.5.0?
[Moto G 4G Android Development] Eramian:
Also looking for a fresh upload for CWM-6.0.5.0-peregrine.img file...
[Moto G 4G Android Development] DPX:
Maybe there (https://download.cyanogenmod.org/?device=peregrine)?!
[Moto G 4G Android Development] MukulGamer:
link doesn't work anymore :/
[Moto G 4G Android Development] aha360:
Here you go - ClockworkMod 6.0.5.1 non-touch and touch recoveries for the Moto G LTE:

https://1drv.ms/f/s!Agj5mSliZ57Fhjb7cIYmel1P6fWC

SOURCE: http://www.htcmania.com/showthread.php?t=861938
[Moto G 4G Android Development] mt12345:
I flashed CWM and few versions of TWRP but still can't get into recovery. I see MOTO logo then the phone switches off. What's wrong? Phone is running Lollipop bootloader unlocked.