yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Thibaultvw:
How can I update it? I am using the CWM from mskip's toolkit.
[Nexus 4 Android Development] azrash:
You can either fastboot it, or update via Rom Manager or use the flashable zip provided by another user here

http://xdaforums.com/showthread.php?p=39945847

Flowed from my Nexus⁴
[Nexus 4 Android Development] TechXero:
No one having issues mounting SDcard from CWM? Am I only one?
[Nexus 4 Android Development] VivaErBetis:
The CWM recovery for n4 has been upgraded to version 6.0.3.1:

http://www.clockworkmod.com/rommanager
[Nexus 4 Android Development] TechXero:
Just flashed it. Still can't mount SDcard from Recovery... Seriously messed up xD
[Nexus 4 Android Development] azrash:
if you are look for using the Nexus 4 as a mass storage device in recovery mode, it is not possible.

Flowed from my Nexus⁴
[Nexus 4 Android Development] TechXero:
Why not? Is that a device limitation?
[Nexus 4 Android Development] azrash:
recovery-clockwork-6.0.3.1-mako.zip

md5 : 564910809e6f92ce5c7a694f10cd20b6

recovery-clockwork-touch-6.0.3.1-mako.zip

md5 : f99b5809c0aa37fd4644f5ccfc38a4c6

Copy the zip file to phone, reboot to recovery, and flash the zip file. You can reboot to recovery again and check the version number at the top.

Yeap, same reason why you can't use it as USB Mass Storage when the phone is boot up like normal. You have to use MTP. IINM, Nexus 4 is using ext4 partition, no FAT32 partition. Hence the reason why there is no USB mass storage mode. Correct me if I am wrong though

Flowed from my Nexus⁴
[Nexus 4 Android Development] AMDsn:
please tell me how to flash this .img update !

should I rename the file to .zip and update it from the recovery itself

Sorry for being so noop
[Nexus 4 Android Development] TechXero:
Hmm... On my One X I used to be able to. Nexus 4 is different? I just want to put ROM zip when in CWM xD

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Android Development] VivaErBetis:
No, the .img file isn't a .zip file so renaming it is useless. You can just use the .zip file (normal or touch) posted by azrash just one post before yours. That file can be installed from the recovery.
[Nexus 4 Android Development] trentreed:
Use adb sideload
[Nexus 4 Android Development] TechXero:
Or put it on device before rebooting into CWM xD

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Android Development] Thibaultvw:
So if I download ROM Manager from google play, I can just flash a new version of CWM without deleting the old one? Please take in mind that I am using the CWM from mskip's toolkit. Is that the one from this thread?
[Nexus 4 Android Development] azrash:
It will overwrite the recovery partition anyway. So you are good to go, just flash it from via the app, or fastboot, or use the flashable zip that I have just shared a few posts back for the latest version.

Flowed from my Nexus⁴
[Nexus 4 Android Development] Thibaultvw:
And just flash that zip without doing anything else?

Other question now you said this: Can I flash a flashable zip of the JDQ39 stock ROM and then flash the stock recovery to get OTA updates from Google again?
[Nexus 4 Android Development] casonswag:
I think itll have to be a odex stock rom and stock recovery i think yull get ota

NEXUS⁴
[Nexus 4 Android Development] azrash:
Your questions regarding OTA. refer here

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

[INFO] Nexus OTA Help-Desk

You don't need stock recovery, however you do need to be using fully stock image. Best bet is just to follow efrant’s guide to return to stock to ensure that you are fully stock, with or without custom recovery.

Flowed from my Nexus⁴
[Nexus 4 Android Development] azrash:
The CWM recovery has been updated to version 6.0.3.4:

http://www.clockworkmod.com/rommanager

update by flashing it in fastboot mode

or flash in any custom recovery using the flashable zips below

flashable CWM

recovery-clockwork-6.0.3.4-mako.zip

recovery-clockwork-6.0.3.4-mako.zip - mirror

md5 hash: 4b2ecb7fb74a7a3485c37c776d02ecf8

or md5 file recovery-clockwork-6.0.3.4-mako.zip.md5

flashable CWM touch version

recovery-clockwork-touch-6.0.3.4-mako.zip

recovery-clockwork-touch-6.0.3.4-mako.zip - mirror

md5 hash: 7ff2e5cac3dde6d2fcf45f2ea0397366

or md5 file recovery-clockwork-touch-6.0.3.4-mako.zip.md5
[Nexus 4 Android Development] faddyie:
Touch recovery zip not available. Plus is there any differnce in flashing zip or fastboot img. I mean i always used fastboot never used .zip for recovery
[Nexus 4 Android Development] azrash:
that is for older version, 6.0.3.1. i have posted the latest touch 6.0.3.4 flashable zip just above your post.

nope, no difference. flashable zip is just useful if you don't have access to a pc for fastboot. now we have another alternative too, an app called Flashify can flash the recovery image too.
[Nexus 4 Android Development] faddyie:
Great. Good to know. Thanks!
[Nexus 4 Android Development] fkrone:
As you may can see it takes me to update this thread. The reason for this is that I personally use TWRP on my Nexus 4 and Nexus 10. But I got an idea today so that I can provide you faster and maybe better updates.

Thanks to all who inform me about new versions and even built flashable .zips.
[Nexus 4 Android Development] manfio:
i flashed the new recovery, but i have an issue

the recovery dpi is so small,,,i cant see the letter :|

anyone experience this?

if anyone can give the old recovery 6.0.3.1, i will thanks

thanks in advanced, and sorry my bad english
[Nexus 4 Android Development] azrash:
Try the touch version 6.0.3.4 that I posted, I use that interchangeably with TWRP.

If you still want the older non touch version 6.0.3.1, I'll link it up here http://xdaforums.com/showthread.php?p=40292286#post40292286

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] manfio:
I'm gone try... Thanks
[Nexus 4 Android Development] visceralpsyche:
Updated the CWM touch flashable version on the previous page.

It seems to work fine but it throws up an error:

WARNING missing File_Context

at the bottom of the screen. Anyone else see this and/or know what it means?

Cheers!
[Nexus 4 Android Development] mongonexus:
same here with the error message, im curious as to why also,,steve
[Nexus 4 Android Development] pa.pn2:
any idea where to find the fix permission option now in latest cwm touch 6.0.3.4?

cant find it anymore
[Nexus 4 Android Development] azrash:
if I am not mistaken, it has something to do with SElinux, but i am not sure. i have read about the explanation in another thread in xda somewhere. don't take my word for it too. best if someone that is more knowledgeable answer that.

it is removed. see here http://review.cyanogenmod.org/#/c/45945/ and here for the explanation by steve kondik aka cyanogen and koush http://review.cyanogenmod.org/#/c/45559/
[Nexus 4 Android Development] occtec:
Hi guys I am currently using twrp but always used to use cwm on my previous gs3. Just wondering if cwm is a worthy upgrade from twrp? I am currently on CM10.1.2 stable, is there a flashable .zip I prefer touch if possible, can anyone please post a link or is the link provided on first post current?

Cheers

Sent from the wizard of OZ
[Nexus 4 Android Development] azrash:
I use them interchangeably. TBH, people prefer TWRP because it has more features.

I say, you got to test them both and see which one you like. I have posted flashable zip of cwm for both versions here http://xdaforums.com/showthread.php?p=43952859

You can also flash back to TWRP using flashable zips here http://xdaforums.com/showthread.php?p=43392219

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] :
Hi!

Quick question - what is revert recovery Disabler for?

I've never had any problem with recovery flashing until now. I've flashed twrp and cwm(touch/non-touch), through fastboot command line. I flash them once, and they never revert to stock. I might be lucky, but why does it revert to stock for some people?
[Nexus 4 Android Development] occtec:
Thanks for the reply, are there any issues I should be worried about with using cwm, coming from twrp?

Cheers

Sent from the wizard of OZ
[Nexus 4 Android Development] fkrone:
It was needed in earlier releases as the recovery was reverted back to stock recovery every time you booted the device. Now all recoveries can disable the revert on their own.
[Nexus 4 Android Development] sspyed:
Just wanted to know: what exactly does fix permissions do? I'm asking because ever since I (accidentally) did, every time I try to reboot out of CWM I get the whole "ROM might try to flash stock recovery. Fix?" prompt.

Tried flashing latest CWM from here & I'm still getting the prompt along w the "No File_Contexts" error that's been reported for the last few pages. Any way I can 'undo' whatever happened when I fixed permissions or is this really nothing to worry about?
[Nexus 4 Android Development] azrash:
Okay the no file context error is indeed due to SELinux. So the error code is fine, unless you are using a SELinux enabled ROM, then it probably means that something is not properly setup with the SELinux part.

An excerpt from the link.

The file_contexts configuration is used to label files at build time (e.g. the system partition) and at runtime (e.g. device nodes, service socket files, /data directories created by init.rc, ...).

You can read more here, search for file_contexts

http://selinuxproject.org/page/SEAndroid

With regard to fix permissions, it was originally made by Steve when app to sd was not officially supported in android. Due to the files were moved to different partitions, the files might have different file permissions than it is supposed to have when it is in internal storage. Fix permissions just well, fix the permissions values of these files.

I think it is no longer necessary in our device, hence the removal of the functionality. You can read the comments by Steve Kondik and other cm devs regarding it in my previous posts, I have linked the Gerrit Code Review of the patch.

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] Thibaultvw:
Can I install the CWM touch zip when I am using for example TWRP or the CWM version which mskip has implemented in his toolkit?

And will I have to flash a recovery revert disabler?

Okay, I want to completely do it myself. :)

I think its done like so, but I want to make sure, so if I made a mistake, could you please correct it?

1.Place recovery.img in any directory

2.open command prompt in the directory the recovery is in

3.fastboot flash recovery clockworkmodrecovery.img

Like so? And I dont need to be rooted I guess? my bootloader is already unlocked :)
[Nexus 4 Android Development] azrash:
I do not use toolkits so I am not sure which version of custom recovery that Mskip is using. But if the toolkits is updated it should be one of the more recent ones for both CWM and TWRP.

Glad that you opted to do it yourself via fastboot, Yeap the command is correct. It is easier if you place the recovery img in the same folder that you placed fastboot.

1.Reboot your phone to bootloader mode.

2. Execute fastboot devices. (and check if it detects your device)

3. Then just fastboot flash recovery customrecovery.img

And you are basically done. You don't need to use a revert disabler anymore I think. And nope, no root is needed, all you need is an unlocked bootloader and reboot your phone into fastboot mode.

Also the flashable zips, can be flashed in both cwm and TWRP, I use both of them interchangeably.

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] Thibaultvw:
Uhm sorry but my fastboot files are in the toolkit I guess since I used that in the past, because installing drivers etc on windows 8 were a pain in the ass doing it manually. Could you send me a thread where is explained how to install fastboot files etc onto your computer?
[Nexus 4 Android Development] azrash:
since you have installed a toolkits, and I am assuming the driver installation by the toolkit went well and you have used the toolkit successfully before this, you don't need to reinstall the drivers again.

basically what you need is to install the drivers. then download the fastboot and adb binaries and you are done.

1. Drivers.assuming that we have not used any toolkits or installed any drivers, you can follow section A in efrant's guide here [HOW-TO] How to flash a factory image / return to stock / unlock / root # by efrant - xda-developers. you can either use the drivers listed there, or use Koush's universal drivers here Koush's Universal ADB (Android Debug Bridge) Driver for Windows I find koush's one is easier to install.

2. fastboot and adb binaries. are available in efrant's guide as an attachment at the first post of efrant's guide here [HOW-TO] How to flash a factory image / return to stock / unlock / root # by efrant - xda-developers or you can download from android sdk, but the download size would be bigger. btw, you can just use the fastboot and adb binaries from the toolkits, they should be the same.

profit.
[Nexus 4 Android Development] Thibaultvw:
Yeah I know drivers remain, but should I delete all the rest and install adb and fastboot in one directory, and then put the CWM.img into the same directory?
[Nexus 4 Android Development] azrash:
It is not necessary if you still want to use the toolkit. They won't affect each other anyway.

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] EddyOS:
Potential stupid question here but is anyone else having issues with 6.0.3.4 not reading the /sdcard? I've just flashed this build today as I was wanting to try the latest 4.3 build and I have been 100% stock for a while now. I can get CWM to open but it won't allow me to read the /sdcard to flash any files so just wondering if anyone can shed any light on things, or better yet have a link to 6.0.3.3 for me to test against?

EDIT: 6.0.3.1 was doing the same thing so have gone back to stock for now
[Nexus 4 Android Development] Thibaultvw:
But I dont want to use the toolkit anymore!
[Nexus 4 Android Development] n7of9:
so when you select <install zip> then <choose zip from sdcard> then <0/>, there is nothing there?
[Nexus 4 Android Development] fkrone:
As far as I know this is due to some security enhancements in Android 4.3. AFAIK there is one path which should work but I can't remember it.
[Nexus 4 Android Development] azrash:
The CWM recovery has been updated to version 6.0.3.5:

http://www.clockworkmod.com/rommanager

As usual, update by flashing it in fastboot mode

or flash in any custom recovery using the flashable zips below

flashable CWM

recovery-clockwork-6.0.3.5-mako.zip

md5 hash: 981245ba2dbae14bc16b945f5d9f0078

or md5 file recovery-clockwork-6.0.3.5-mako.zip.md5

flashable CWM touch version

recovery-clockwork-touch-6.0.3.5-mako.zip

md5 hash: 92824917a8d42c27af671ab780b04737

or md5 file recovery-clockwork-touch-6.0.3.5-mako.zip.md5

Enjoy.
[Nexus 4 Android Development] EddyOS:
It was saying 'error: no /sdcard/' or something like that. It's probably something I've done so screw it up so will have a proper play about when I get a chance
[Nexus 4 Android Development] Thibaultvw:
Why actually would someone flash non-touch CWM?
[Nexus 4 Android Development] ameinild:
I just installed 6.0.3.4 on both my N4 and N7 - on both devices I get the message: Warning: No file_contexts, and the only change I can see is that I'm no longer able to mount SD-Card from recovery. Is this something I need to worry about?

EDIT: I gather from previous comments, that the warning message is probably not an issue, and that I would not have been able to mount my SD Card anyway, is that correct???
[Nexus 4 Android Development] EddyOS:
6.0.3.5 seems to working fine now, whereas 6.0.3.4 was giving me issues. This might be because this time I actually did the unlock procedure properly and not try to take short cuts! :D
[Nexus 4 Android Development] fkrone:
Ok guys, good news.

I wrote a script which runs on my server hourly. This will check if a new version of CWM is available and will then download it, put it in a flashable zip, signs these zips and upload them to Mediafire. Finally it will notify me via mail. So there will be faster updates by now.
[Nexus 4 Android Development] azrash:
Actually, for the version 6.0.3.5 that I have just uploaded, 24% of the downloads are for the non touch version as of this post.

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] v3rk:
Old school yo
[Nexus 4 Android Development] occtec:
Cause they love to wear out their hardware buttons ;)

Sent from the wizard of OZ
[Nexus 4 Android Development] :
The option to repair permissions in CWM 6.0.3.5 was excluded. :mad:
[Nexus 4 Android Development] Droid2drummer:
Really?? Well I'll answer so it may help someone in the decision later. Though its not likely it does happen the loss of touch via bad flash or etc. For some its just the pure feel of how it all began. As for me. I use twrp and keep cwm as well. Depends on what mod or ROM I'm currently testing. If its an alpha and highly buggy I choose cwm non touch. So. That's a couple I guess. Not that its too too big of a worry. Lol
[Nexus 4 Android Development] occtec:
Bummer, you do have the option to download Nandroid Manager, which will give you option to fix permissions also works well with CWM and Online Nandroid Backup ;) they can be downloaded via play store

Sent from the wizard of OZ
[Nexus 4 Android Development] Thibaultvw:
How do you mean? Can CWM Touch cause problems with a flashed rom?
[Nexus 4 Android Development] Remcotjuuh:
Anyone getting the line

no file_contexts

after booting into recovery with 6.0.3.5? Haven't experienced any trouble with it but the only thing I did with 6.0.3.5 was booting gehehe.
[Nexus 4 Android Development] ameinild:
I guess that's pretty normal - haven't experienced any trouble because of it. :)
[Nexus 4 Android Development] occtec:
After flashing latest CWM on my Nexus my battery levels have been playing up did all the stuff like wipe cache etc, tried it all. One minute my battery says I have 95% then after reboot I get 64% and so on and so forth. Went back to TWRP all fixed???? :banghead:

Sent from the wizard of OZ
[Nexus 4 Android Development] oska3:
if i flash cwm 6.0.3.1 with latest cwm touch is will be ok?
[Nexus 4 Android Development] Remcotjuuh:
I think it's safe, but I'm not sure; I would advise you to fastboot flash it.
[Nexus 4 Android Development] ksilver89:
He simply mean, if there's a new rom or android version coming up, say android 5.0, because of very early stage of development, he prefer the most simplified (less code, less bug) recovery in order to NOT mess things up. But CWM Touch it is safe, for Nexus 4.
[Nexus 4 Android Development] HellRazorGod:
Restore Stock Recovery and Kernel

Hi Guys,

So I'd rooted the Nexus 4 by unlocking the bootloader and flashing the rooted kernel. I didn't flash a custom ROM after that. So what I had was a 4.2.2 Stock ROM with a rooted kernel so I could use the root functions. Now I get a system update notification after it downloads the new stock 4.3 on its own on my phone. But now since I don't have the stock recovery, selecting " Reboot and install update" after the system update downloads just leads me to the CWM recovery and obviously I don't have a custom update.zip to flash.

So my question is..How do I flash back the stock recovery and hence lose root and update to 4.3 without flashing the STOCK ROM back, thereby keeping my existing apps on 4.2.2. intact? So what I wanna do is flash the stock kernel which restores the stock recovery...Let the stock system update itself to 4.3 and then maybe Root the phone again..

Could someone kindly direct me to a solution?

Would appreciate a quick response

Cheers!
[Nexus 4 Android Development] fkrone:
New version 6.0.3.6 is out.

I see some trouble with my script as I needed to run it manually this time. I hope I can fix this when I'm back home.

Furthermore I will try to add two things when I'm back:

The first thing is an advanced device check. In the current version this check relies on the information stored in the device's system partition. So flashing this recovery zips over a wiped system fails at the moment.

I also will add the command needed to boot recovery images via fastboot on 4.3 as this works a little bit different.

That's all for now.
[Nexus 4 Android Development] occtec:
Are we able to restore backups made with twrp with this new version?
[Nexus 4 Android Development] mynickname:
backup failed

I am getting a message "error while making a backup image of /data" with the new released version.
[Nexus 4 Android Development] liorra3:
same here. its an issue with 3.0.3.6 recovery :confused:
[Nexus 4 Android Development] fkrone:
Wrote Koush (creator of CWM) on G+ about this issue. Hope this will be fixed soon. I will try to find the old zips and provide a link to them till this issue is fixed.
[Nexus 4 Android Development] liorra3:
if some one want some old files:

http://xdaforums.com/showthread.php?t=2198942
[Nexus 4 Android Development] smirkis:
first thing i did after updating was make a backup. no issues here, but i flashed mine through cwm since i paid koush for the touch version. he deserves it
[Nexus 4 Android Development] Droid2drummer:
Adb fastboot boot IMG or use the simple wugfresh toolkit
[Nexus 4 Android Development] occtec:
Is the latest update a worthy upgrade from previous or even twrp?
[Nexus 4 Android Development] occtec:
Obviously NOT :confused:
[Nexus 4 Android Development] manpildo:
Read last page. Apparently 6.0.3.6 is faulty, use 6.0.3.5 as the latest stable one.
[Nexus 4 Android Development] obzilo:
Why the font is so small on CWM 6.0.3.6? Is there a way to change it? :/
[Nexus 4 Android Development] fkrone:
Flash the touch version and font will be bigger.
[Nexus 4 Android Development] Emama:
Where can I find the 6.0.3.5 now
[Nexus 4 Android Development] azrash:
I have posted a flashable zip here. http://xdaforums.com/showthread.php?p=44101885#post44101885

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Android Development] fkrone:
They are also available in the OP. I edited it so it is more clear.

About my script creating the flashable zips and notifying me: at the moment it is inactive. It caused some troubles and reported me several times that version null is available. I am currently working on it to find a solution but keep in mind it is a bash script and my bash knowledge is a little bit limited.
[Nexus 4 Android Development] Drmol:
I'm experiencing the very same thing? I had no idea recovery can cause something like that, any suggestions on how to fix this?
[Nexus 4 Android Development] occtec:
Apparently flash 6.0.3.5 see provided link above ;)

NEXUS 4 | PA3.99 | FAUX JWR[M]
[Nexus 4 Android Development] genkralyz:
Thanks for the flashable zips. worked for me ;)
[Nexus 4 Android Development] Sir_gpm:
Sorry if this question is not in the right place. The other day I found a post that I lost,to how to backup your apps into a flashable zip to recover later just using CWM instead of others apps in playstore like titanium backup. So how could I do that zip to flash once I installed the new rom. Thnks
[Nexus 4 Android Development] occtec:
You could use helium here is the play store link https://play.google.com/store/apps/details?id=com.koushikdutta.backup
[Nexus 4 Android Development] ameinild:
Any news on when 6.0.3.7 will be available from recovery builder?
[Nexus 4 Android Development] fkrone:
As I only pull the recoveries released by koushik I can't tell you anything about that.
[Nexus 4 Android Development] ameinild:
Thanks anyway - guess we'll just have to be patient. :)
[Nexus 4 Android Development] kafe4ever:
still issues on new 6.0.3.8 ??
[Nexus 4 Android Development] manpildo:
When I try to flash 6.0.3.8 it gives me a status 6 error.
[Nexus 4 Android Development] genkralyz:
you can use "Flashisfy", download the recovery .img, and flash the recovery file using flashify...