yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] kb7sqi:
Hi all,

Rumor has it I picked up a DEFY last week. ;) Most people in the community know me for my work on the cliq/backflip/cliqxt. It's been quite some time since I posted any mods/work here on XDA so here we go. First I'd like to say thanks to Koush & Tenfar for the work they've done. They laid the ground work. I simply needed/wanted to improve on it more. I wanted to include the latest 2.5.1.x version since it has some bug fixes/new features also. So here you go. This recovery includes the latest 2.5.1.8 ClockworkMod Recovery, fixed fix_permssions script, and updated adb that allows root access when using adb shell. All your backups, downloads will reside in the clockworkmod directory on your sdcard just like a standard clockworkmod recovery. If you haven't noticed the fix_permissions script don't run properly via the recovery on the DroidX/Droid2/Defy. I simply fixed the script so it does work properly. Thanks again to both Koush & Tenfar. I'm looking into resolving the problem when you have USB debugging enabled you can't boot into recovery mode properly. This release still has that issue, just FYI. If you choose to use this version over Tenfar's, you'll need to un-install his version, install this one, & choose the option to install recovery once. After that, it's works the same way. Take care.

UPDATE: I've uploaded a new version to my 4shared as well as included it here. This new version simply adds a power off option to the menu & was a quick attempt to try to resolve the USB debugging option. I'll give it another try when I have time, until then, I hope you like having the option to power off your Defy from the recovery menu. ;) I've also provided a link to the original version. Take care.

Steve, kb7sqi

Edit: Due to requests, I'm re-adding the link for this updated version. While I do have plans to come back to #android soon, until then, this will be unsupported by me till then. I'm glad it's been useful to others. Take care.

Latest Version:

Older version:

http://goo.gl/NtsTV

Steve
[Defy Android Development] racca:
Great work! Will try it out asap.
[Defy Android Development] S1dew1nder:
installed seems to be working fine btw whats key test?
[Defy Android Development] kb7sqi:
It's does exactly what it sounds like. ;) It simply returns the "key" value when you touch keys/buttons on your phone. It's handy if you're wanting to update a recovery to use certain keys if your phone has them. Perfect example, on the cliqxt the phone has a touch pad. So in the version I created for it, instead of needing to use the volume up/down, you could also use the touchpad for up/down/select as well. :) Take care.

Steve
[Defy Android Development] S1dew1nder:
thanks for the answer dude, just did a back up with it all went well only diff was it made a new folder btw it will restore older back ups right?
[Defy Android Development] racca:
How can I can quit key test?

Power+VolUp results in a black screen.
[Defy Android Development] S1dew1nder:
pull the bat?
[Defy Android Development] racca:
that's what i did. but would've been nice to have long press (power button) to quit instead of battery-pull.

Ah, well, wouldn't need to use it twice anyway.:D

I'm gonna try restoring an older img, report back in a few.
[Defy Android Development] kb7sqi:
Yeah, you should be able to restore other nandroid backups.
[Defy Android Development] kb7sqi:
You guys do know you don't have to pull the battery out right? You can hold down volume down button & hit the power button to turn the phone off while in the recovery. When you power the phone on, it'll boot up like normal. ;) Take care.

Steve
[Defy Android Development] morphin:
Restore doesn't work. "can't find directory"

I will switch back to the old version

Andy
[Defy Android Development] S1dew1nder:
try renaming the goapkrev folder on your sdcard to clockworkmod it should be able to find the directory then
[Defy Android Development] kb7sqi:
You took the words right out of my mouth. ;) I was just getting ready to type that. lol Thanks!

Steve
[Defy Android Development] racca:
ahhhhhh, i tried power+volup:o

thanks for the refreshment, and again for the great work!

now if only we can be rid of the annoying "debugging" bug. :cool:
[Defy Android Development] kb7sqi:
Thanks. I'm working on it. I got a little tired of rebooting my defy over 100 times yesterday when I was working on this. lol After I get my version done for the Motorola Charm, I'll get back to working on that. :)

Steve
[Defy Android Development] S1dew1nder:
lol np bud, btw is there any way to rename backup folders with out having a md5 miss match error?
[Defy Android Development] racca:
i have no such problem ever. renaming always works and no such info is stored in the md5 file
[Defy Android Development] S1dew1nder:
do you think it could of happened because i edited the file name via my computer while my phone was in usb mass storage mode?
[Defy Android Development] racca:
no pressure then, it's fine as it is.

i just need to remember, like really hard, to turn it off.

i wish i didn't make the same mistake not turning it off over and over again:o
[Defy Android Development] kb7sqi:
It's a good chance that could've caused it. I've had some wierd stuff happen doing things like that when in usb mass storage mode.
[Defy Android Development] kb7sqi:
lol. I work on this stuff in my free time as a hobby. I hate it as well though. I've gotten to the point as soon as I'm doing doing anything w/ adb, I shut it off now automatically. :) I'm counting the days till we have a way to unlock the bootloader. I really miss not being able to flash my own custom kernel on both my droid2 global & the defy. Take care.

Steve
[Defy Android Development] S1dew1nder:
thanks for the info dude ill see if renaming via the phones file manager proves more fruitful
[Defy Android Development] racca:
oh the dreaded bootloader, i'm burying my head in the sand, hoping maybe some day soon we'll see the light.
[Defy Android Development] S1dew1nder:
tried using the phones defult file manager but said it couldnt rename so d/l astro from the market renamed the file in astro went to restore same happened again md5 miss match anyone tell me what im doing wrong?
[Defy Android Development] chaihg:
Yeah a new developer to work on our device. Yay welcome and thanks.
[Defy Android Development] AgentSmith:
Hi Steve! Welcome to the Defy part of this forum and thanks for this first quick contribution. :) Looking forward to your roms.
[Defy Android Development] racca:
sorry but i can't exactly pin point your problem.

but to make things more clear, try this:

1. move one of your (expendible) backup to your computer

2. copy it back

3. rename and copy it back again

and tell us which one of those works (in my case both would work)
[Defy Android Development] S1dew1nder:
lol some nice guy on here pm'ed me and told me what my problem was you cant have any spaces in folder names so its all fine now
[Defy Android Development] racca:
damn, how did i not think of this?

i guess i assumed that you've tried different names first.
[Defy Android Development] Step666:
Sorry, this might be a slightly dumb question but will this install over the previous version of ClockworkMod I have or should I uninstall that first and then install this one?
[Defy Android Development] kb7sqi:
Nope, you have to un-install the previous version, then install this one. Then click on Install Recovery System once. After that, you'll be all set. :-)

Steve
[Defy Android Development] peetr_:
Just a thought, would it be possible to change the /system/bin/charge_only_mode to start the recovery on boot? This way it goes with the xRecovery on SE X10, there is used the /system/bin/chargemon file to start the recovery and more. I found that very useful, as I could quickly restore without reflashing, while the system was bricked.
[Defy Android Development] jakiej:
looks great!

however, is it possible to add a reminder at recovery boot for something like "unchecked the debugging" for now? forgot that so many times, and had to pull the battery out often...
[Defy Android Development] PaY87:
This would be great!

Also I wonder if SD mounting is working on this build? :)

/Edit:

SD mounting doesn't work for me here, too :(

Is there a way to fix this?

Would be great..

I guess the other mounting options don't work, too?

Also I wonder why the recovery ask for su request after a fresh reboot without starting it.

Is there somekind of autostart?

And last wish could you put more space between the buttons.

That would be nice ;)

To bad that the recovery isn't java, else I would put my hands on it :D
[Defy Android Development] reinsen:
cannot install recovery system, recovery app freezes immediately and crashes few seconds later.

/edit

flashed UK 2.2 and wanted to restore pays rom...
[Defy Android Development] racca:
I can assure you it works on all stock froyo releases (TMO UK PL CN). It does nothing less than the tenfar 1218 release. And both are much less buggy than tenfar 0119 release.
[Defy Android Development] beekung:
many many thanks for make my defy back to recovery by clockworkmod recovery.
[Defy Android Development] jakiej:
so sorry to hear about that, but good luck!
[Defy Android Development] racca:
Too bad, but I wish things go well with whatever you're dealing with and looking forward to the day you come back.
[Defy Android Development] woonaval:
I don't get why do you have to remove the links? If this recovery is better than tenfar's, you could at least leave the links up for the people that wants to install it.

Anyway thanks for your work and good luck :)
[Defy Android Development] cis.snakeman:
About it is possible to someone to send me a link to the latest version available by MP, please ?

By the Way thanks to kb7sqi for the job done :)
[Defy Android Development] S1dew1nder:
if its ok with kb7sqi i have the apk i d/l-ed when he first posted it id be happy to host a link to it but its up to kb7sqi as it his work so peeps please dont pm me asking for it i wont give it to anyone till kb7sqi says its ok
[Defy Android Development] chaihg:
I have this apk too. If someone needs it ping me.
[Defy Android Development] cis.snakeman:
MP sent ! ;)
[Defy Android Development] kb7sqi:
First post has been updated w/ link again. Like it says, for now, while I do have plans to come back to working on #android, till that time, this is unsupported. That's why the link was removed. I'm glad people have found it useful. Be back soon. :) Take care.

Steve
[Defy Android Development] beekung:
good news that heard you will back again
[Defy Android Development] nickonline:
Can you let me know how to go back to the original recovery mode? Thank you.
[Defy Android Development] Darmach:
What does this fix_permissions script do, exactly?
[Defy Android Development] kb7sqi:
The fix_permissions script does exactly what it sounds like. It's a standard script that's been included w/ recoveries for quite some time. It simply does a fix permissions on your apps/data. Take care.

Steve
[Defy Android Development] kb7sqi:
First post has been updated w/ a new version. This version adds the option to power off your Defy from the recovery menu. Simply upgrade your version/re-install your recovery. Enjoy. I also provided a link to the original version. Take care.

Steve
[Defy Android Development] kb7sqi:
First post has been updated again. I apologize for another update, but I forgot to include the updated fix_permissions script. New version has been fixed. Take care.

Steve.
[Defy Android Development] racca:
thanks for your update.
[Defy Android Development] jjp84:
Doh! Where'd it go?
[Defy Android Development] fritolays:
Should be back at some point . . .
[Defy Android Development] Darmach:
Could you please explain what permissions in there are in need of fixing? :)

And also - most important thing for me - Is there any way to enter this recovery instead of original one when phone is off?
[Defy Android Development] jboogie3:
No you can't.. this is a bootstrap recovery.so if u mess up you have to flash. Sbf
[Defy Android Development] madhuranand007:
Thats really a very bad :(
[Defy Android Development] evilc:
I tried installing this today and it did not work.

All appears fine during install, but when I reboot to recovery mode I just get a black screen.

I have had clockworkmod working before on my stock rom (Diff version tho, not sure where I got it, filename is defy_recovery-1218-0326-signed.apk)

I am in the process of trying to flash this 2.2 rom.

Someone in the xda IRC said to use "ROM Manager" from the marketplace as that installed clockworkmod, but when I installed that, it only listed the Milestone, Droid and Droid X. In trying to scroll the list to see if there was more, I accidentally clicked Milestone.

Now, when I try to install this version or the original (Known working on my stock 2.1 rom) version, neither work - I get a black screen in recovery mode.

Any ideas??
[Defy Android Development] Peglezn:
yes, disable usb debuging
[Defy Android Development] evilc:
Well after literally hours and hours of messing around, that one simple thing fixed it, thanks!
[Defy Android Development] kb7sqi:
If you have 3.0.1.4, please revert to 2.5.1.8

Hi all,

I posted a link on twitter yesterday for the new 3.0.1.4 clockwork mod recovery. Thanks to fritolays, I had let a nasty bug slip into the recovery in the recovery.fstab. After fixing that, I was re-testing a fresh build. After testing every function, eveything seemed fine, but I found another bad bug. This time, it didn't show up in the recovery.log. So, until I can make sure that is 100%, I'd ask that you please revert the current 2.5.1.8 build in the first post. Thanks & I'm sorry if you're one of the 14 people who downloaded/used 3.0.1.4!

Steve
[Defy Android Development] kirpeace:
text size is small for old recovery. can i again go back in custom recovery at startup for eg in htc tattoo old recovery is replaced
[Defy Android Development] fritolays:
Rabble, rabble, rabble, rabble, rabble. . . .

Peas and carrots, peas and carrots, peas and carrots. . . .
[Defy Android Development] danielgava:
Anybody can help? I'm stocked on a droid with exclamation point screen. the recovery doesn't opens.
[Defy Android Development] lanfearxt:
you should be using eclair right? try touching the bottom right of your screen when you see the exclaimation mark
[Defy Android Development] gregzeng:
You can hold down volume down button & hit the power button to turn the phone off while in the recovery. When you power the phone on, it'll boot up like normal.

DID ALL THE ABOVE.

Get two icons: Green Android underneath a yellow exclamation mark in a white triangle.

What next?

The first time I did this, it worked as expected, wiping the phone. (photos taken).

Then reboot. And bricked?
[Defy Android Development] markjh:
Thank you, for your work:)
[Defy Android Development] tmk2404:
Where can i download latest stable version? In the first post there is only old one and when can we expect new cwm? :)
[Defy Android Development] rainbow2112:
same problem... help please. thanks
[Defy Android Development] psicodelico:
Use this solution instead: http://xdaforums.com/showthread.php?t=1026853
[Defy Android Development] 1ric:
Thanks!I need the infomation!
[Defy Android Development] ceryus:
Hi all, im running the Poland Deblur 2.2.1 version on my defy, i did a nandroid backup of my stock rom before i flashed the PL one but now when im trying to restore, the openrecovery just doesnt seem to work :confused:. I tap 'Install Recovery System' which, after waiting for a bit, gives me the 'Installation successful' message.But then when i click Recovery boot, nothing happens?I would appreciate if someone could help me out.

Thanks
[Defy Android Development] Zinshin:
You need to uncheck USB Debugging
[Defy Android Development] ceryus:
Thanks Zinshin

tyvm :), i thought i had tried that but turns out i didnt on this one (i have 2 defy on me right now) ...much appreciated mate!
[Defy Android Development] nov.six@qq.com:
why don't you update this to the newest version of 3.0.2.8?

Will you ?

Thanks
[Defy Android Development] Bumble99:
Does this bring up the standard Motorola recovery? I also only saw the screen with the exclamation Mark and now with your help I pressed the bottom right and get to a screen that says Android system recovery <2e>. I am guessing that this is not the Clockwork Recovery screen as I do not have the option to Backup or Restore there.

I have installed the Custom Recovery app and it said it installed OK. However when I choose the option Custom Recovery. my phone simply reboots back to normal. I don't get a Recovery screen. I have set USB Debugging to Off.

Is there anyway that I can check if the Recovery has actually installed OK?

Is it safe to press the Install Recovery option again or could this lead to problems?

EDIT: Never mind I held my breath and pressed "Install Recovery" again and now it works.
[Defy Android Development] borjolujo:
Thanks!!!!!!
[Defy Android Development] samara1717:
i cant download it
[Defy Android Development] zeidof:
where is the file?

i cannot see any link to refer me to 2.5.1.8 cwm, there is only the older version at first post,

i need that, is there any link?:confused:
[Defy Android Development] mick711:
You can find source here : http://xdaforums.com/showthread.php?t=875233
[Defy Android Development] cheena:
I'm a bit confused, maybe someone can help. What is the latest version of clockworkmod recovery for Defy? Do the versions for Milestone work on Defy? Does version 3.x does not require USB Debug to be turned off?

Thanks!
[Defy Android Development] nadalzeal:
thanks for this very helpful :D
[Defy Android Development] crz6662:
Can't get to recovery

Having an issue getting into any recovery on my Defy. I've tried all the different ways to to get recovery and can never get to recovery unless I re-install SndInitDefy 1.9.apk and boot from there. Tried getting to recovery with System Recovery and paid version of Rom Manager. System Recovery just reboots the phone and Rom Manager takes me to the triangle/exclamation with the little green android, and yes I tried touching the lower right part of the screen.(and the left). Nothing. I've done the: Hold volume down/power button, Volume up/power button thing and just get boot screen or little android. Also installed ClockworkMod .apk with no luck. I'd prefer to use clockworkmod. Works great on my G1.

Anyone have any other suggestions. I'd hate to go through the recovery every time I boot the phone, but I can set the default boot (SndInitDefy) to do that and then boot the system but that would be kind of a pain in my ass. Help ?

Running: OTA 2.2.1 update, Version.34.4.9.MB525.T-Mobile.en.US - ROOTED.

Should I change Rom ? Planned on it but still looking for one I like. Suggestions on Roms ?

By the way, has anyone seen a ClockworkMod ver. 4.0.0.1. I swear I saw that version number on my phone in the past couple days.

Thanks.
[Defy Android Development] JohnnyP.akaJP:
I have a question. Im thinking about installing CM7. But I installed this....So...Can I install

"2ndInit Recovery"?? Will it mess it up?
[Defy Android Development] remuseu:
just hold the volume down key when the blue led flashed and u`ll be in boot menu..after that chose recovery (latest or stable) and ur done
[Defy Android Development] crz6662:
I don't have a problem getting recovery the first time, after installing SndInitDefy, it's all the attempts after that. Once I boot the system normally, every attempt after that results in fail.
[Defy Android Development] Badwater55:
No blue LED blinking while boot up, what is the trick?

From SystemRecovery app. (ClockworkMod_2.5.1.8.zip installed) I am able to enter Recovery Boot, but how to enter the mode while boot up, blue LED is not visible.

Dbg is disabled!

Thanks, BW
[Defy Android Development] samorgs:
That's because you have System Recovery installed, to get the blue LED you need 2ndInitDefy installed.

Not sure what problems if any you would have if you tried to install 2ndInitDefy with System Recovery installed.

Cheers
[G2 and Desire Z Q&A, Help & Troubleshooting] wtang:
I took a bunch of photos today. Looking them over on my computer monitor this evening I noticed something odd. All my photos are blurry on the left side but sharp in the center and on the right side. This is for the photos taken with the phone sideways (landscape). Photos that were taken with the phone vertical (portrait) show blurriness on the top of the phone but the middle and bottom look sharp. I checked the camera lens and it is clean, no dirt or smudges. Anybody else have this problem?
[G2 and Desire Z Q&A, Help & Troubleshooting] rand0m_insanity:
I just checked mine to be sure. Nope, no problem with mine. I might be a hardware defect or something. How about pictures taken using a different camera app?
[G2 and Desire Z Q&A, Help & Troubleshooting] turboyo:
http://xdaforums.com/showthread.php?t=933522 in case anyone else is having this problem it seems like its an htc hardware thing
[G2 and Desire Z Q&A, Help & Troubleshooting] ianp62:
blurry pictures

I am having the same problem?
[EVO 4G General] Homefix:
Lets take advantage of irc://irc.freenode.net:6667/#xda-devs

(im using konversation on my UbuntuEvo)

http://xdaforums.com/showthread.php?t=932754&page=12
[EVO 4G General] DoctorComrade:
wat? already in the chat...
[myTouch 4G Themes and Apps] Crazydaddy:
Anyone know if there is a way to get a smaller google search widget? Preferably without root? If it's possible..
[myTouch 4G Themes and Apps] ringnutz:
If you use launcher pro you can resize it. Just long press on the widget and drag it to resize
[myTouch 4G Themes and Apps] Crazydaddy:
Cool, I will check that out!
[myTouch 4G Themes and Apps] williamsonoma:
thanks for the tip!
[Vibrant Q&A, Help & Troubleshooting] Kyoteey:
I recently installed the bionix 1.5 on my phone today and installed some stuff on the market...then one by one each of my programs stopped working such as the web wouldnt even load up and etc. So i decided to restore my phone back my last saved point pre bionix upgrade, now my phone is stuck on the sweep the screen to unlock with the top right saying searching.

Any help?
[Vibrant Q&A, Help & Troubleshooting] Mr. Apocalypse:
you mean Bionix-V 1.2 right??

try re-flashing the ROM....try the wiping version
[Vibrant Q&A, Help & Troubleshooting] Kyoteey:
If you mean re-flashing the ROM by going into clockwerk mode? - if not then i cant reflash since my phone is stuck on the screen lock. I decided to do the recovery and restore back to my phones condition right before i put bionix on it. But that didnt seem to do anything besides put my phones old wallpaper back on the screen but still stuck at phone lock screen with the top right still saying (searching)
[Vibrant Q&A, Help & Troubleshooting] dohandrew:
i had the same problem try taking out the battery and then put it back in but before u turn it on hold both volume buttons and when the vibrant logo comes up let go of the power button should bring u into clockword recovery. also it seems u can only revert it the firmware is the same or something am not sure everytime i revert it does what ur describing lol.
[Epic 4G General] Homefix:
Lets take advantage of irc://irc.freenode.net:6667/#xda-devs

(im using konversation on my UbuntuEvo)

http://xdaforums.com/showthread.php?t=932754&page=12
[HTC Inspire 4G] jaw2012:
I have a few questions regarding the screen on the Inspire, hopefully some of you can help!

1st - How does the S-LCD screen perform in direct sunlight? I currently have a Captivate, and it's pretty good in direct sunlight but not the best. So I'm hoping in direct sunlight the Inspire at least performs just as good as the Captivate's Super-AMOLED.

2nd - My Captivate hardly shows fingerprints! I almost never have to wipe the screen, I'm not sure if that is because of the Gorilla Glass or what but I love it! I'm hoping anyone can comment to the Inspire's screen and how it shows fingerprints?

Also is the Inspire's screen Gorilla Glass as well? Thanks all!