yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] fkrone:
As there is now an official version of CWM Recovery I updated this thread now. Thanks to everyone who used my version and helped me. I will keep on what I'm doing and maybe there will be other interesting things I will release.

The official CWM Recovery by Koush can be downloaded here:

Images to flash via fastboot

touch-version: http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.4.7-mako.img

nontouch-version: http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.4.7-mako.img

Flashable zips

touch-version: https://www.mediafire.com/?nx826v1jo0bdqdj

nontouch-version: https://www.mediafire.com/?69kmvtcvgooc0gv

For the fastboot images:

You can try this out and boot it via

fastboot boot recovery-clockwork(-touch)-6.0.4.7-mako.img

(only Android 4.2.X)

fastboot -c "lge.kcal=0|0|0|x" boot recovery-clockwork(-touch)-6.0.4.7-mako.img

(Android 4.3 and above)

If you want to flash it you can use

fastboot flash recovery recovery-clockwork(-touch)-6.0.4.7-mako.img

If you have the touch-version use this commands without '(' and ')' but with its content.

If you have the nontouch-version use this commands without '(' and ')' and its content-

Outdated as all new recoveries already provide this function.

I also want to present you my revert recovery disabler.

As you know if you flash CWM on Nexus 4 it reverts back to the stock recovery. This patch prevents this. This is not needed at the moment for CWM as CWM offers the possibly to disable the revert by itself.

You can download my revert recovery disabler here: http://www.mediafire.com/?78fkhdh5icz3zdg

This disabler is compatible with mskip's toolkit (uses the same methode).

To use it boot in CWM recovery and flash this as a zip.

If you want to restore the default option and make your Nexus 4 reverting back to the stock recovery you can flash the enabler: http://www.mediafire.com/?19enww985e2gpnc

Thanks to:

Stryder5 providing some information

Kstarz for some testing and providing information

mskip for his toolkit and giving me the idea to do this

pankaj88 for his sample update zip
[Nexus 4 Android Development] Stryder5:
To clarify, I can confirm the boot method will allow you to boot the recovery and flash a zip file. I did not attempt to flash this as my recovery yet.

---------- Post added at 12:53 AM ---------- Previous post was at 12:21 AM ----------

I tried to flash the recovery instead of booting from it, but that doesn't work. I ran the command:

fastboot flash recovery cwm-recovery-mako.img

When I try to boot into recovery after that, it'll show the Google logo twice, then proceed with the regular boot.

I think this is because Secure Boot is still enabled.
[Nexus 4 Android Development] StickyEyez:
Same thing here..recovery will not stick if flashed

Sent from my Nexus 4
[Nexus 4 Android Development] 0.0:
good news! :D https://plus.google.com/u/0/103583939320326217147/posts/CzstapsDpYf
[Nexus 4 Android Development] g33k3r:
What RAMDISK load address are you using? 0x81200000?
[Nexus 4 Android Development] HQRaja:
Thanks to the tip by Stryder5, I have updated my rooting guide with instructions for rooting via CWM, linking to this thread for the recovery and providing the due credit. =)
[Nexus 4 Android Development] fkrone:
If I could I would provide you that information but as I only used the CWM's online builder I can't tell you that. If you need some information you can pm me :)

To all: As there is a new update in the sources I am currently syncing the sources and building an new version. Furthermore I am working on a possibility to make the CWM permanent (and easy to do so even without root; I know already what I have to do).
[Nexus 4 Android Development] Stryder5:
Looking forward to it!
[Nexus 4 Android Development] shabbypenguin:
does anyone actually build cwm these days?
[Nexus 4 Android Development] DaX05:
Sweet!! So our Nexus 4 is codenamed "MAKO?"
[Nexus 4 Android Development] fkrone:
The hardware is calles mako, the software itself has the codename occam. As of my building methode it was automatically called mako ;)
[Nexus 4 Android Development] mskip:
Hey do you mind if I put this recovery in the Toolkit for now until koush has released the official cwm?

Is it touch or non touch? What version is it?

Mark.
[Nexus 4 Android Development] fkrone:
No problem at all. Just give credits and use it. This is a touch recovery.

If koush will release CWM for Nexus 4 it won't be different to this (except he changes some sources).
[Nexus 4 Android Development] mskip:
Thanks and of course :)

What version is it? V6.0.1.5?

Mark.
[Nexus 4 Android Development] fkrone:
As I built it this afternoon (GMT+1) it is V6.0.1.5 with the latest bugfix which was released today.
[Nexus 4 Android Development] Devilman539:
Man I can't wait to see some custom ROM's outta here. The phone is sweet and snappy but I've had a few problems that I'm not sure if they're hardware or software related. Quadrant scores are around 4400-4900, the phone rings hot and I'm getting the worst speed test results. Like I get 11-18 MBS on my gs2 and I'm getting like 2-3mbs now. I got two weeks before I can return it so I hope it just needs to stettle. Anyhoo. Good luck guys! :)
[Nexus 4 Android Development] Arasthel:
Link to the new recovery (6.0.1.6-mako)

But assuming that I flashed it correctly with Rom Manager and fastboot, it isn't working, it didn't matter which way i flashed it.
[Nexus 4 Android Development] fkrone:
Flashing does not work at the moment. Only booting via fastboot even with official CWM Recovery.
[Nexus 4 Android Development] Arasthel:
Sorry, I misunderstood you. I thought this bugfix would allow us to flash the recovery in our devices, then I realized that the bugfix was what let us boot it, as you said a few messages back. Anyway, there you have the official build link.
[Nexus 4 Android Development] sjgore:
Can somebody please explain, in simple terms, why we can't flash this permanently yet? What do we need to enable us to flash it permanently?
[Nexus 4 Android Development] MarlinFF:
6.0.2.3 doesn't work with sideloading zips
[Nexus 4 Android Development] MaluNoPeleke:
Is a CWM flashable zip available?
[Nexus 4 Android Development] EddyOS:
Why when it's SO easy to flash via fastboot?
[Nexus 4 Android Development] mopss:
Hi All. Why just after flashing cwm comes in, and after a reboot off the android with a red triangle?
[Nexus 4 Android Development] n7of9:
for the same reason people buy orange juice when it's SO easy to juice an orange

n7'd from my n7
[Nexus 4 Android Development] kashsih93:
urgent help!

stuck on DOWNLOAD MODE box after rebooting!

please help! urgent!
[Nexus 4 Android Development] tsouza:
With fastboot another computer is still needed... CWM flashable is just download and flash.
[Nexus 4 Android Development] Stryder5:
So for anyone who updated to the latest version, are backups fixed?
[Nexus 4 Android Development] desiromeo719:
Is it just me or the the font for cwm recovery since 6.0.2.0 and the current one so small that its hard to read? I dont know why everything just shrank all of a sudden...
[Nexus 4 Android Development] 320flyboy320:
I noticed the same thing, so I switch to TWRP, a lot nicer.
[Nexus 4 Android Development] daverup:
I never had a problem with backups on 6.0.2.3 or previous versions.

If you don't want incremental backups, select the tar format, that will make moving them off the phone easier.

The dedup format makes more sense if you like to keep a few versions of incremental backups on the phone.

For me, 3 different backups using dedup takes up much less space than 3 tar backups.
[Nexus 4 Android Development] MidtownHD:
just updated to 6.0.2.3

Can't sideload, it says "something" closed
[Nexus 4 Android Development] davey11:
Can someone mirror the latest cwm. When I hit the link in the op, I get taken to a page with gibberish. Same thing happens on my computer.

Sent from my mako (:p)
[Nexus 4 Android Development] galaxys:
I get the same dump... Not sure what's up with these links?
[Nexus 4 Android Development] bamsbamx:
long click the link and select "save link"
[Nexus 4 Android Development] n7of9:
the Touch recovery is normal sized

mind melded via N4
[Nexus 4 Android Development] LateApex:
Help, I must be missing somehting.

Unlocked the bootloader, rooted the device, flashed CWM and it will load into CWM. However on a restart loading into fastboot and selecting recovery doesnt get me to CWM it gets me an android laying on its back with his hatch open and a red warning triangle.

If I use fastboot and flash CWM again it will load me directly into CWM.

Why cant I get into CWM by selecting it from the device in fastboot?

SOLVED: I didnt flash revocery, i just booted it. Flashed it and all is well.
[Nexus 4 Android Development] sga999:
I flashed CWM 6.0.2.3 and the revert disabler. However, now I'm in a "CWM loop", i.e. when I select 'reboot system now', it boots back to the same CWM screen. I tried flashing the stock recovery instead, and that does get installed, and I can go into stock recovery. But once I tell it to reboot, it boots back to the CWM recovery screen.

Can someone help me how to get out of this loop? And any ideas on how I might have caused it? I thought I followed the instructions closely.

EDIT: I reflashed boot.img, and things are okay now. Not sure how I caused this. Sorry for my mistake!
[Nexus 4 Android Development] jasonwc:
Does 6.0.2.3 still save backups to /mnt/shell/emulated? With an earlier version of CWM, I couldn't access the backups via MTP. I was able to copy the backups to a PC via ADB or by copying the CWM folder to /mnt/sdcard. Neither option is convenient. TWRP saves backups to /mnt/sdcard/TWRP which can be easily accessed via MTP.
[Nexus 4 Android Development] hey_malik:
It seems I still cannot mount sdcard.

That's quite annoying. How can I solve that?

Blabla Nexus 4 blabla Tapatalk 2
[Nexus 4 Android Development] Ok_Kaleidoscope5109:
can i flash this via ROM manager and get the touch version still?

i'm stuck on a work computer for 2 weeks with no admin rights so I can't really use the toolkit.

Any way to easily flash through the phone and not involving a PC?
[Nexus 4 Android Development] guest_2011:
is there a zip file for cwm 6.0.2.3? Currently have 6.0.1.9 seems to work. not sure if i should upgrade or stay with 6.0.1.9.
[Nexus 4 Android Development] Crenshaw-PCGH:
Is there no option to wipe battery stats? :o
[Nexus 4 Android Development] Slymobi:
Wiping battery stats ! This is not needed nor has any benefits for any reason known to me ?

Sent from my Nexus 4
[Nexus 4 Android Development] CMNein:
Charge your phone to 100%, boom, done, new battery stats will start being generated. :good:
[Nexus 4 Android Development] gessi2000:
I want to delete some backups but there's no more \clockworkmod folder on my sdcard. Where did this folder go as after a successful backup it used storage. I a confused.
[Nexus 4 Android Development] hey_malik:
I usually look for such stuff with the app "disc usage"

Blabla Nexus 4 blabla Tapatalk 2
[Nexus 4 Android Development] xShadoWxDrifTx:
Its under data/media/clockworkmod
[Nexus 4 Android Development] trueblueram:
Device not listed

Deleted. Problem solved :thumbup:
[Nexus 4 Android Development] xShadoWxDrifTx:
What does it say again?
[Nexus 4 Android Development] vikas_toad:
When exactly do i flash the revert recovery disabler?? After i have flashed cwm or nefore flashing cwm via loading cwm by fastboot.. then flash therevert recovery disabler zip then restart into fastboot and then flash cwm via pc???
[Nexus 4 Android Development] fkrone:
For CWM it is not needed any longer as CWM does offer you to do this automatically by itself on rebooting.
[Nexus 4 Android Development] powerdoesntrun:
I hate to ask a question about purchases because everyone gets up in a tizzy, but there are serious flaws with the purchasing system for the touch recovery. Not only is it a pay-per app feature, but it seems to be a pay-per use feature as well. I flashed a new ROM and next time I went to update the touch recovery, I was asked to pay again. I'm trying to support the developer here, but I can't use an app that requires me to pay every time. If I had known that this was the scheme, I would have just flashed it manually. Is there any way to fix this? It's kind of messed up. I've searched around and seen people mention that the per-device purchase is legit, which I still question, but I can't find a reasonable rationale for this situation.
[Nexus 4 Android Development] androidtoy09:
I believe there is a license recovery feature somewhere inside RomManager app itself. I personally prefer manual installation because I know what I am doing and I don’t depend on the apps entirely. You never know what could go wrong if the apps are buggy or misbehaving. Just my 2 cents

P.S: NVM, I misunderstood your question. I thought you were trying to recover Rom Manager license
[Nexus 4 Android Development] dkotoric:
kouch is the shlt
[Nexus 4 Android Development] cyrus_e:
Is there a reason why no flashable zip is available for this recovery???
[Nexus 4 Android Development] n7of9:
edit... wrong link removed
[Nexus 4 Android Development] aeox:
That link is for the Nexus 7. Please don't flash it.
[Nexus 4 Android Development] sga999:
If it is no longer needed by CWM, should that be mentioned in the first post? Or maybe you meant it is still needed by something other than CWM (like touch)? .
[Nexus 4 Android Development] n7of9:
oh crap... thanks for picking that up

n7'd from my n7
[Nexus 4 Android Development] MarlinFF:
Does anyone have recovery-cwmtouch-6.0.2.0-mako or 6.0.1.9? 6.0.2.3 doesn't work with sideloading anymore..
[Nexus 4 Android Development] nibrwr:
Here's touch 6.0.2.0 for Mako

http://db.tt/GkCG98GC
[Nexus 4 Android Development] lazer155:
Can CWM flash roms and zips normally if I were to encrypt my N4? Or does the encryption not allow CWM to access the internal SD card to make changes like that? I am considering encrypting my device but want CWM to retain its abilities along with being able to use ADB completely.

I searched around and found mixed answers.
[Nexus 4 Android Development] rmartin0120:
Does anyone have a flashable zip for the stock CMW touch?
[Nexus 4 Android Development] AmarKumar:
Revert back to recovery problem SGH-T889

Hi friends, I am using T-Mobile Note 2 and facing the same issue. It always boots in stock recovery instead of CWM or TWRP recovery. Will this revert recovery patch work on T889? Can anyone please develop it for Note 2 T889. Thanks in advance.
[Nexus 4 Android Development] 0.0:
Wrong thread. This is for the nexus 4.

I don't think it will work since it was made for the nexus 4

Sent from my Nexus 4
[Nexus 4 Android Development] Lucena04:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Does anyone have a flashable zip for the 2.3 CMW touch?
[Nexus 4 Android Development] casonswag:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Here i made this https://www.box.com/shared/6dlt92gdear9so39qw7l

---------- Post added at 09:57 PM ---------- Previous post was at 09:56 PM ----------

Wait i think thats the nontouch what u can do is download the touch version .img rename it to recovery.img and replace it in this zip
[Nexus 4 Android Development] Agent5150:
I would like to copy cwm backups to my PC so I can delete them from the phone's storage. But I can't find the folder where cwm saves the backups. I am using root explorer but can't find the folder. :o

Probably a dumb question.. but this is the first time I am using a phone with no external sd card.

appreciate the help.

thanks,.
[Nexus 4 Android Development] freaksamael:
/data/media/clockworkmod/backup

Use root explorer or cm10.1 file manager with root access.
[Nexus 4 Android Development] mrpibb:
I updated CWM Recovery to 6.0.2.3 via Rom Manager and the text is so tiny now. It used to be perfect, now everything is so small. Is there a fix to this?
[Nexus 4 Android Development] Agent5150:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Thank you.
[Nexus 4 Android Development] Software Guru:
I noticed that as well last night

Needs my specs on to do anything now :(
[Nexus 4 Android Development] fkrone:
AW: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Have you tried flashing CWM via fastboot? Maybe something is broken with the installation via ROM Manager.
[Nexus 4 Android Development] reddv1:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

I know the non touch cwr has very small text compared to the touch version. Maybe you updated it with a non touch version, because to install the touch version of cwr through ROM manager you have pay for it.

Sent from my Nexus 4[/QUOTE]
[Nexus 4 Android Development] Lucena04:
Perfect, this information could be placed in the first post.

Thank you
[Nexus 4 Android Development] Ok_Kaleidoscope5109:
Just a question: After creating a Nandroid backup, if you rename the folder, does that cause md5 to fail? I only rename because after you have a few 2013-02-19 05:24:34 folders its hard to remember which backup is which....
[Nexus 4 Android Development] Slymobi:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

I think its fine to rename it. Well I have many times and never had an issue.

Optinostical
[Nexus 4 Android Development] ScumDroid:
yeah its fine, i rename my backups alot, never had an issue.
[Nexus 4 Android Development] mys3:
a quick newb question, im learning to root without the use of a toolkit. how do i download the recovery to my computer?

whenever i click on the cwm link it opens a page of what looks like code? i tried to save this but it doesnt save as a image file, what am i doing wrong please?
[Nexus 4 Android Development] sga999:
Did you look here? Go down to the Nexus 4.

http://www.clockworkmod.com/rommanager
[Nexus 4 Android Development] jadams212510:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

What's the path that i would use to update the recovery via terminal emulator?
[Nexus 4 Android Development] goraps:
Quick question, will flashing the enabler work if I accidentally set the option not to return to stock recovery, if I used the recovery straight from Koush in the OP. I really want to return to stock recovery. Thanks
[Nexus 4 Android Development] mys3:
my problem is that when i download from the cwm site, the image doesnt save as an image file it saves as a webpage & i dont have the option to save as an image file???

it saves as a mhtml file instead
[Nexus 4 Android Development] fkrone:
AW: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

As far as I know this does not work. If you want to get back to stock recovery there is an older one linked in the first post. Otherwise you have to extract the needed files from an OTA zip.
[Nexus 4 Android Development] goraps:
Thanks. I actually just found an old .zip from the restore stock thread and flashed the old recovery image. Thanks for your help anyway.
[Nexus 4 Android Development] thebrainkafka:
Almost unusable.

- no usb connection in cwm

- no sdcard/internal memory available for eg flashing files

- saves backups somewhere in nirvana, hard to get them on pc
[Nexus 4 Android Development] peschka:
Why the thread is not updated with the latest version ? Also the site of CWM doesn't show it ? Not a single problem using it.

CWM Recovery 6.0.2.7
[Nexus 4 Android Development] n7of9:
please add a note that this is NOT touch recovery :)
[Nexus 4 Android Development] VivaErBetis:
This is NOT the official CWN Recovery. It's a CWM based recovery that came with "Ubuntu Touch" preview.

And it's ADB sideload is still broken.
[Nexus 4 Android Development] thebrainkafka:
AW: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Twrp is way better.
[Nexus 4 Android Development] VivaErBetis:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

But it has a bad reputation because of thermal problems during backups...
[Nexus 4 Android Development] thebrainkafka:
AW: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

But its working.....

Havent observed this issue
[Nexus 4 Android Development] Zehlek:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Any way to flash this through android terminal instead of having to go through adb?
[Nexus 4 Android Development] thebrainkafka:
AW: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

You can fastboot flash the .img
[Nexus 4 Android Development] Zehlek:
Thanks, what about through Android Terminal?
[Nexus 4 Android Development] thebrainkafka:
AW: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Dont know. Hit THX if it helped.
[Nexus 4 Android Development] IndDoc:
Stock 4.2.2, rooted. The recovery keeps reverting back to stock. What to do?
[Nexus 4 Android Development] trueblueram:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Use option of set on boot
[Nexus 4 Android Development] port76:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

I just used GUI image flasher apk it flashes images no problem at all :cool::D
[Nexus 4 Android Development] IndDoc:
I tried that, doesn't work. Also tried the revert disabler zip. Doesn't work. Any ideas? Pls help!
[Nexus 4 Android Development] Ok_Kaleidoscope5109:
how come we're stuck at 6.0.2.3 while the CWM bundled with CM is 6.0.2.9? (and yes Iknow the Mako does't come with CWM for CM, but other phones like the galaxys2 do)
[Nexus 4 Android Development] vasumit:
Hi Friends,

Official CWM 6.0.3.0 both non-touch & touch updated for Nexus 4

http://www.clockworkmod.com/rommanager

. Happy Flashing

Cheers, Sumit
[Nexus 4 Android Development] VivaErBetis:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Thank you very much for the advice!

Is (at least) ADB sideload working with this new version?

Thanks and best regards.
[Nexus 4 Android Development] vasumit:
Hi mate, Yes, adb side loading works like a charm in 6.0.3.0, just got my nexus 4 few minutes ago. unclocked, rooted, flashed cwm via MSkip toolkit and then upgraded the recovery to this new one from official cwm site. I am so happy. have a nice day. Cheers, Sumit
[Nexus 4 Android Development] Thibaultvw:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Can I restore a nandroid backup without wiping anything? I mean just go into CWM recovery and restore a backup.

If I restore the stock rom , can I get OTA updates from Google? (Rooted)
[Nexus 4 Android Development] casonswag:
Re: [RECOVERY] Official CWM Recovery 6.0.2.3 for Nexus 4; revert recovery disabler

Yea thats.how.i always restore a backup i think it wipes for u but i always do that

NEXUS⁴
[Nexus 4 Android Development] builtboosted:
Do we have a flashable zip file of 6.0.3.0?

Sent from my Nexus 4
[Nexus 4 Android Development] casonswag:
Heres Nontouch https://www.box.com/s/i77oeqs1lwp7wykbkc94

Heres the Touch https://www.box.com/s/v3fi4m98ds2pdw4t30py

NEXUS⁴
[Nexus 4 Android Development] zyy757:
Can anyone tell me how can I see the backup files? Thanks
[Nexus 4 Android Development] fkrone:
They are under /data/media/clockworkmod/backup

You need an explorer app which can access the file system to see them or pull them via adb.
[Nexus 4 Android Development] TechXero:
I haven't been able to use the mount Sdcard option in CWM Recovery since I forever xD

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Android Development] Thibaultvw:
Is this the CWM that can be installed in mskip's toolkit? How can I install a newer version of the recovery?

Thanks in advance!
[Nexus 4 Android Development] Zenzic:
Can the TOUCH version just be flashed over the normal up to date version?

Thanks People
[Nexus 4 Android Development] azrash:
yes no problem there. Try it out.

Flowed from my Nexus⁴
[Nexus 4 Android Development] Zenzic:
Brilliant thanks.