yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] raiderep:
Update: I'm getting an error when flashing cm7 nightly,something about the first line in the updater script when it is asserting getprop. I didn't have a chance to take a screen shot as I didn't have that setup yet, sorry. I can try and get it if you want. After switching back to my non modded recovery it worked fine.
[Nexus S Android Development] j_r0dd:
if you do any further testing, when you get an error or something isn't working go to advanced > report error. then copy&paste it from /sdcard/clockworkmod. thanks!
[Nexus S Android Development] raiderep:
I didn't even know it had that option, here you go...

/sdcard/MxBrowser/Downloads/cm_crespo4g_full-4.zip
Opening update package...
Installing update...
script aborted: assert failed: getprop("ro.product.device") == "crespo4g" || getprop("ro.build.product") == "crespo4g" || getprop("ro.product.board") == "crespo4g"
assert failed: getprop("ro.product.device") == "crespo4g" || getprop("ro.build.product") == "crespo4g" || getprop("ro.product.board") == "crespo4g"
E:Error in /sdcard/MxBrowser/Downloads/cm_crespo4g_full-4.zip
(Status 7)
Installation aborted.
mtd: successfully wrote block at 0
I:Set boot command ""
[Nexus S Android Development] j_r0dd:
ok this will be a simple fix. unfortunately i am going to have to make a second version just for the NS4G :(
[Nexus S Android Development] raiderep:
Sorry it means two versions but it is much appreciated :)
[Nexus S Android Development] j_r0dd:
no biggie lol. ns4g versions are now up in OP. enjoy!
[Nexus S Android Development] raiderep:
Just downed it and I am gonna try the cm7 nightly with it in a bit, thanx for the quick fix.

Edit: works fine now!
[Nexus S Android Development] mntbkr:
Ill try it as soon as I have the time and ill let you know. Between 2 jobs a 2 year old and the wife I barely have time to take a good dump..…

Just saw the op after posting. I appreciate your diligence.
[Nexus S Android Development] doug0365:
Stupid question but after flashing successfully 3101-cyan and its working great by the way but when you reboot your phone it does go away and you have to re-apply the CWM is it possible to copy the image file to my phone and flash it with out having to use a computer when I'm away? Can I use Rom manager from the android store to this for me?
[Nexus S Android Development] zero383:
3101 is not available from Rom Manager. It's a custom mod of Koush's CWM Recovery. Only way is through fastboot.

The reason why you lose it when you reboot is that your phone is executing a script called install-recovery.sh that restores the stock recovery. It's a really simple fix. Use Root Explorer, mount the /etc folder as Rewritable and rename the install-recovery.sh file to something like install-recovery.sh.bak. Reflash recovery and it will be permanent.
[Nexus S Android Development] j_r0dd:
hopefully i will get 3.2.0.0 out tomorrow ;)
[Nexus S Android Development] zero383:
Nice! =)
[Nexus S Android Development] Ok_Kaleidoscope5109:
can we please bring back the list of NOs for wiping? I mean how often do you wipe? Does an extra 2 seconds hurt? Especially if you're about to WIPE everything clean off your phone. I sometimes mispress with my Nexus S case ><

that's exactly why clockwork recovery had the list of NOs, just to make sure you don't make a mistake...
[Nexus S Android Development] zero383:
He already stated a few pages back that he won't be putting back the No's. It was one of the main reasons why this mod was created in the first place (to remove them).

Even if you mispress, you still have to hit the Down Vol to choose Yes before it will start wiping. The default selected choice is No.
[Nexus S Android Development] j_r0dd:
i already answered you a couple of pages back. http://xdaforums.com/showpost.php?p=13913137&postcount=184

BTW no time today for 3.2.0.0. i do have all the source merged, just building 6 different versions, uploading & getting md5's will take some time i don't have atm. hopefully this weekend guys
[Nexus S Android Development] mysql2779:
hey bro , I'm in progress of rooting my Nexus S.. I folo the link given in http://xdaforums.com/showthread.php?t=1007782 for the recovery image download.. There are lots of .img given there from you. so which .img shud I dl ? They all just differ from color right ?
[Nexus S Android Development] j_r0dd:
Different colors is all, but the last 3 are for the NS4G only.
[Nexus S Android Development] Borky_16:
hey genius ;)

could you add at advance a backup /efs function? could prevent some software bricked people ;)
[Nexus S Android Development] j_r0dd:
i will look into adding that feature. although i would rather add it to the backup/restore menu. or more simply just including it in the nandroid backup.
[Nexus S Android Development] obsanity:
Unless we clearly understand all that gets put and/or changed into that folder I would suggest a separate backup option just like wimax backup in crespo4g recovery. I'm not sure that restoring this folder each time nandroid restore is performed is a good idea.
[Nexus S Android Development] Borky_16:
ok thanks nand thing sounds good ;)
[Nexus S Android Development] raiderep:
Nice, whenever you get it out I'll be playing with it. I am hungry and so is my android ;-)

sent from the nexus of the 4g universe
[Nexus S Android Development] 12MaNy:
Nice work OP. Unfortunately, can't use bottom keys to navigate. That is a must have for me.
[Nexus S Android Development] j_r0dd:
the back button navigates back through the menu. having the menu button and search moving through menus is extremely confusing and makes little sense to me at all
[Nexus S Android Development] j_r0dd:
lost+found

nv_data.bin

nv_data.bin.md5

those are the 3 files that have been modified on my device since December 7, 2010

What **** roms are you guys using anyways that would even touch this partition? Obviously, somebody that is just winzipping stuff up and doesn't really know what is even going on.
[Nexus S Android Development] Borky_16:
its the nexussense rom, he only made a nasty mistake :/ don't blame on him everyone makes a mistake, but i checked and saw that he is porting it from sgs weird.l system though.. so i doesn't flash it.. the function to back it up for an accident, so it is usefull ;D
[Nexus S Android Development] 12MaNy:
Not for me. I can wipe, and flash faster than sh*t with bottom keys. I have big hands and those tiny ass volume buttons on the NS4G are no bueno for navigating.
[Nexus S Android Development] j_r0dd:
alright well i guess i can add that back lol
[Nexus S Android Development] floomat:
any progress on the new version?

And Please do not include those No's , who can't handle this should not use your recovery-mod. can't figure out how someone can double tap while switching down between the taps. :D Or if you don't want people complain about this than make 2 versions.
[Nexus S Android Development] IT4ALii3EN:
There is the recovery clockworkMod v3.2.0.0 which arrived !

-> http://mirrorbrain.cyanogenmod.com/cm/recoveries/

v3.2.0.0 for the GalaxyS4G for example : http://mirrorbrain.cyanogenmod.com/cm/recoveries/recovery-clockwork-3.2.0.0-galaxys4g.zip
[Nexus S Android Development] j_r0dd:
Not making another version for the challanged users lol. I will hopefully update tonight. I reloaded ubuntu on my laptop and am just about done setting back up my environment.
[Nexus S Android Development] j_r0dd:
The source has been out for over a week now.

Updates in OP. Sorry for delay
[Nexus S Android Development] fleischbanane:
Don't want the No's too. Very happy not to switch to them any more. Updated to 3.2.0.0 and everything works fine.
[Nexus S Android Development] DoktorZero:
Thanks for your work
[Nexus S Android Development] 12MaNy:
Sheer f*cking awesomeness!

You're the man j_r0dd :D
[Nexus S Android Development] Mark2dp:
Thanks for your work.

How can I delete a backup?
[Nexus S Android Development] j_r0dd:
mount your phone to your pc and delete it from /clockworkmod/backup
[Nexus S Android Development] bigc_13:
does the latest version support the i9020a as well? or should i just use the 3.0.2.4 version floating around?
[Nexus S Android Development] j_r0dd:
Read the title.
[Nexus S Android Development] bigc_13:
commence massive facepalm and some sleep. Thanks man
[Nexus S Android Development] zyonee:
I made a Nexus One version of this here. Not taking any credit for the work and linked to this thread. Will do the same for HTC Desire (GSM). Won't be able to test the Desire version much, though.

HTC Desire (GSM) version here. (not tested yet by me, waiting for someone to confirm it's working)

Thanks again, j_r0dd for the nice mod, and of course to Koush for the recovery itself.
[Nexus S Android Development] Ramalama:
is this possible for galaxy s?
[Nexus S Android Development] zyonee:
Should be possible. I can try it later this afternoon and let you test it?

Edit: Building the Galaxy S (galaxysmtd) port now. Being an amateur at this, I haven't figured out how to build only the bootable recovery portion, so I'm just building the whole CM7 ROM with recovery included. Perhaps someone can point me to how to select parts to be compiled?

Edit 2: Can't get it to compile. It's complaining about libcamera.so, even though I've carefully put all required files in the proprietary files folder before compiling. Sorry.

Edit 3: It's compiling now. Seems like I put some proprietary files in the wrong directory. Oops.

Edit 4: Check your PM, you can be the first to test it before I make it public.
[Nexus S Android Development] bringonblink:
Ah thanks a lot for this , working well for me, flashing in terminal all is well
[Nexus S Android Development] Brotuck:
I did see the post on the i9000 version.

Is it suitable for any ginger rom ? Or only CM7 ?

And did you add RFS support ?
[Nexus S Android Development] zyonee:
I didn't change anything, only used the same source as used with the Nexus S version, compiled a kang for SGS and picked up the recovery.img. Nothing added by me.
[Nexus S Android Development] dgaf98:
man thx for this... its awesome
[Nexus S Android Development] wutang01:
I installed 3200-orange.img on my i9020A. But I'm a little concerned that when my Nexus S is wiping (factory settings), Clockwork would disappear (full black screen) and then reappear. I think it tends to happen when trying to wipe sd-ext?

Is this normal?

Pease forgive my ignorance.
[Nexus S Android Development] dgaf98:
so i flashed the cyan version. then installed the no confirm zip... is there any way to get confirm back?
[Nexus S Android Development] matt2053:
Flash the first img again.
[Nexus S Android Development] Maximilian Mary:
How to Flash j_r0dd's Recovery Without a Computer (via ROM Manager)

I successfully flashed this in the stock rom, without a computer.

0. Download the new hotness.

1. Open Superuser and "Forget" ROM Manager.

2. Open ROM Manager, and Flash ClockworkMod Recovery.

3. After it downloads, it'll ask for superuser. Uncheck "Remember," and Deny superuser access.

4. Go to /sdcard/clockworkmod/download/download.clockworkmod.com/recoveries/, and rename the file that just downloaded to [whateverItIs].img.real. (The next step will be easier if you copy the filename first.)

5. Copy the 4.2.0.2 hotness to this location & rename it to whatever the new ROM Manager download was called.

6. Open ROM Manager, and Flash ClockworkMod Recovery again.

7. This time, Allow superuser.

8. Pat yourself on the head, and grin at your cleverness.

Note: If you prefer, you could also use joeykrim's Flash Image GUI.

If you are on CyanogenMod, you can simply use

flash_image recovery yourrecovery.img
[Nexus S Android Development] brainmaster:
Any news on the new 4.0.0.0 Recovery?
[Nexus S Android Development] dgaf98:
doesnt work.. tried that. even tried re flashing regular cwm then this again and still the same.
[Nexus S Android Development] bringonblink:
Ok i have one TINY ass suggestion, it's gonna sound really lame and its not even that big of a thing lol...

But i noticed that not all of the options start with a capital lettter... and some of the wipe options do etc...

Well, if ya got time mayeb you can have a look, but if not don't worry already good work :)
[Nexus S Android Development] j_r0dd:
/sdcard/clockworkmod/.no_confirm needs to be deleted

Btw 4.0.0.0 code is merged. Just have to build
[Nexus S Android Development] Jonathon Grigg:
What major changes does 4 bring? Seems a major jump so there must be something!

Sent from my Nexus S
[Nexus S Android Development] Maximilian Mary:
Is there any chance you could change the selected text color in lime? Maybe it's just me, but white on green is a bit hard to read. Could you change it to black on green?
[Nexus S Android Development] j_r0dd:
If I do that you won't see any text in the recovery unless it's highlighted. I have thought about changing it to a more "android" green.
[Nexus S Android Development] mntbkr:
Flashed 3200 and is working well. Thanks for your work.
[Nexus S Android Development] Maximilian Mary:
Wait, pardon my incomprehension, but are you saying that changing the selected_text_color would require changing the normal_text_color (or does selected_text_color = negative (normal_text_bgcolor)?

Btw, I discovered an interesting "feature." If I scroll through the menu three times (press down 24x), I get a message saying "Back menu button disabled." Then reboot and power off just take me to a blank screen with the cwm logo. Tapping the power button gets me back to the main menu, then scrolling through three more times will give me "Back menu button enabled." -ns4g lime.
[Nexus S Android Development] j_r0dd:
The normal text & selected text color are the same thing in this situation. If I change to black you won't see the text because the background is black as well
[Nexus S Android Development] wutang01:
I also discovered this "feature" by starting with "reboot system now" highlighted, navigating up down up down up down. - i9020a, orange.
[Nexus S Android Development] zyonee:
Managed to compile 4.0.0.2 with j_r0dd's additions/mods and got it working with /sdcard and everything.

You can fetch it here. Please note that this is not a flashable zip, it's an img file.

For anyone interested, the source code for this one is here.

Confirmed working on my Nexus S i9023.
[Nexus S Android Development] j_r0dd:
4.0.0.2 is up lime has been replaced by a more android green.
[Nexus S Android Development] johnkim0011:
How do you flash this on command prompt? So I would connect my Nexus S to the computer and would I select USB debugging before entering codes?

So this replaces the CWM 3.0.2.4 when you go into the recovery?

Does this work for stock 2.3.4 ROM?

Thanks! :)
[Nexus S Android Development] antiochasylum:
Yes, connect it to PC, and at command prompt find your android sdk\tools folder.

for instance mine is d:androidsdk\tools

then adb devices - make sure your device is attached

adb reboot bootloader - it will then reboot into fastboot mode

fastboot devices - make sure your device shows up, if not you will need to download the PDA net drivers. If your device shows up then

fastboot flash recovery xxx-xxx.img - where xxx is the name of the recovery. Make sure you have the recovery image placed in your tools folder of the SDK.

Once done then

fastboot reboot - wait for it to reboot, it you want to see it then do this

adb reboot recovery and check out your shiny new recovery :)

Should work with stock 2.3.4 If your already running 3.0.2.4 then you'll be fine, and yes this will replace 3.0.2.4

Hope this helps.

This is another way to do it from the phone, however mine will not let me flash it, gives me errors, download terminal emulator, open it then

su - accept prompt

flash_image recovery /sdcard/xxx-xxxx.img - enter - where xxx-xxx is the name of your recovery.

I cannot guarantee this method will work, I had to reflash 3.2.0.0 after attempting this on my phone with fastboot. So your call :)
[Nexus S Android Development] NYYFan325:
Just flashed 4.0.0.2 on my 4g... all seems to be working great, thank you much!
[Nexus S Android Development] KnightMAREcrow:
Could you make a red version please
[Nexus S Android Development] johnkim0011:
Works great! I only knew how to flash the zip files, but now I learned how to flash img thanks to you :D
[Nexus S Android Development] jerrycycle:
This is how I install recovery since I don't have flash_image script on my rom currently installed. Plus not at a computer for fastboot.

Download recovery version of choice and move it to root of sdcard.

Backup current rom

Wipe all. Factory data/cache and dalvik

Flash cm7 no gapps

Once booted open terminal and then type

su press enter

flash_image recovery /sdcard/4002-xxx.img

reboot recovery

When back to recovery I do my restore.

All this takes me less then 5 minutes and done without computer. Really handy for me when not near a computer to do fastboot.
[Nexus S Android Development] belair56:
Nice, thanks

The new green is very nice. EZ to see.

Thank you :D
[Nexus S Android Development] shubu000:
Ignore .... fixed
[Nexus S Android Development] roadrun777:
Does this image have anything different than the ext4 updated from 3.0.2.8 ?

Reason I ask is another thread discovered that there where no ext4 format commands in 3.2.0.0 so they modded 3.0.2.8 and if this is just a colored version of 3.2.0.0 then I probably don't have any reason to update.

thanks!
[Nexus S Android Development] Maximilian Mary:
Awesome! Thank you.
[Nexus S Android Development] window7:
Exactly! For me, less than 1 minutes! LOL :p
[Nexus S Android Development] j_r0dd:
read the change log in the first post. if you think this is just a colored version then don't flash thanks!
[Nexus S Android Development] antiochasylum:
Flashing the recovery in terminal will not wipe your data. If it messes up just simply wait till a computer where you can flash with fastboot.
[Nexus S Android Development] jerrycycle:
@antiochasylum. I use miui rom now. It doesn't have flash_image script. I tried installing it but didn't work for me. Why I do the backup. I have always update recovery terminal way, all the way back to G1 days with Amon_Ra
[Nexus S Android Development] antiochasylum:
I don't follow what your saying. But ok lol.

sent from my next level S bacon apparatus
[Nexus S Android Development] bringonblink:
Latest version does not seem to work for me.

i do a flash _image recovery /sdcard/4002-xxx.img

and it says it flashes etc, but then sticks on google splash screen

EDIT

reflashed the organge one (had green) and it worked... seems like my phone don't like green lol
[Nexus S Android Development] steve.garon:
When I tried flash_image with the orange on my phone I got a bunch of out of memory error and booting to recovery sent me directly to fastboot. I had to use the fastboot command to recover what flash_image broke.
[Nexus S Android Development] naimsiddiq:
Rom Manager

Can't flash roms thru Rom Manager after flashing 4002-cyan, must reboot into recovery to flash roms now. Although Rom Manager ask if I want to install and reboot once I click continue it just ends up at the triangle exclamation point and little android figure screen, at this point must do a battery pull and flash thru recovery. Anyone else having this issue and did you resolve it.
[Nexus S Android Development] j_r0dd:
/!\ the triangle with the exclamation mark is the stock recovery. if you are using the stock rom this happens because of a script that re-flashes the stock recovery on boot. i do not remember what the name of it is, sorry.
[Nexus S Android Development] Jonathon Grigg:
Install-recovery.sh? Something like that anyway.

Sent from my Nexus S
[Nexus S Android Development] Maximilian Mary:
Yup. /etc/install-recovery.sh .

Rename it to something else.
[Nexus S Android Development] naimsiddiq:
Thanks, where do do I find this image or do I just go to terminal and type install-recovery.sh. Thought I was running 3.2.0.0 recovery before I upgraded

Edit: flash CWM recovery thru rom manager and it took me back to 3.0.2.4
[Nexus S Android Development] Maximilian Mary:
This file will overwrite your custom recovery with the stock recovery when you boot the phone. If you want your custom recovery to stick, you have to move or rename this file. Then reflash the custom recovery.
[Nexus S Android Development] naimsiddiq:
Thanks,I think I got it.
[Nexus S Android Development] fleischbanane:
Just flashed CM7 nightly #102 with the rom manager abd everything wirks fine for me. Also make a backup at the same time. Everything fine.
[Nexus S Android Development] klone96:
I updated my recovery with rom manager and i tryed to flash a MIUI rom and when i go into fastboot mode it tells me i have 'NO BOOT OR RECOVERY IMG' i read the first 18 pages but didnt see any one with a problem like mine, i backed up my rom so the phones fine but i want to have a recovery image lol..
[Nexus S Android Development] Maximilian Mary:
Did you "boot into recovery" from rom manager? If so, a cold boot might be all you need. (Power down, then VolumeUp+power.
[Nexus S Android Development] klone96:
i boot in recovery from rom manager/ battery pull (Power down, then VolumeUp+power) and it gives me the same thing..

now when i boot into recovery i get a black screen and my soft keys stay lit up.. also when i pull battery and turn on phone i stay stuck in bootloader, been 5- 10 min..
[Nexus S Android Development] alain57:
do you share your source code somewhere ?

i find your clockwork nice, and i would like do some changes for my personnal use too ^^

like

a: change the logo (the color was a good idea ^^ )

b: add a full wipe and a partial wipe to the wipe menu

full wipe, will will all data, cache and so on

partial, will wipe cache, boot, system but will leave the user data ... so you will not need to reinstall apps or settings
[Nexus S Android Development] j_r0dd:
https://github.com/j-r0dd/android_bootable_recovery
[Nexus S Android Development] zyonee:
j_r0dd: I've been git-pulling this to a separate directory to keep in current, then copying it into ~/android/system/bootable/recovery and then restoring the original folder before each repo sync. Surely there must be a better way to incorporate your recovery fork into my sources. Could you please explain to me what steps I should take, or provide a link to some kind of wiki page that mentions this?

Sorry if this is the wrong place to ask this. I just want a more convenient way to keep in sync with your source included.
[Nexus S Android Development] morfic:
start a project

add your github or git as remote origin

add his github as a remote

fetch the files, modify them, commit them, git push to your origin

git pull hisreponick branch <--- each time will keep you uptodate, (pseudo syntax))

I did this once so far, so i need to find the link that helped me, once i do, i can add it here

http://www.kernel.org/pub/software/scm/git/docs/git-remote.html
[Nexus S Android Development] zyonee:
Thanks! I'll dig my teeth into it tomorrow. :)
[Nexus S Android Development] Maximilian Mary:
Just out of curiosity, is there any difference between the crespo & crespo4g versions other than "crespo" vs "crespo4g" in the build properties (ro.build.product et al)?
[Nexus S Android Development] j_r0dd:
that's it....
[Nexus S Android Development] Olli24689:
I was unable to completely restore my backup, which i made before with 4.0.0.2

It stopped directly after restoring /data.

Also the recovery restarts itself when i made a wipe/factory reset! Back to 3.0.2.5!
[Nexus S Android Development] Nizzay!:
I don't know what I'm doing wrong but mine says flash not found when its clearly there at the root of sd. Also granted Terminal SU permissions too...
[Nexus S Android Development] zyonee:
It can't find flash because you're typing flash _image. Remove the space and make the command line start like this: flash_image ....
[Nexus S Android Development] Nizzay!:
It still doesn't work unfortunately. Do I have to change the initial directory on the terminal to sdcard for it to work? I may have to flash it through the pc if I can't get it through terminal
[Nexus S Android Development] zyonee:
From the pc should be easier. Just make sure you are in the correct directory for the img file and that flash_image is in your path.