yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] lionheartpl:
superuser FC

whenever I try to open SuperUser it FCs, it first happened after installing Titanium backup, before that it would work flawlessly, ideas?

solved by clearing data from SU and titanium.
[Defy Android Development] Bay Harbor Butcher:
Thanks..I use CM in my Nexus One since feb 2010..I know very well the quality of this custom rom.

I just rooted this damned defy..I use mac at home and it is very hard to root not using windows.Anyway,superoneclic old version worked..

Now I flash rom,gapps and fix..I hope it is enough.

EDIT: I need to flash a recovery,where can I find the clockworkmode optimized?

Last questions before doing any damage..this Defy is US T-mobile branded,is it any kind of problem?do I need to flash something to debrand the phone?

Or just use a recovery and flash zip files?thanks..
[Defy Android Development] thomsch:
Quarx, do you use some program to Overclock your defy? or you have default settings ?

If you u use Setvsel or Milestone overlclock / set cpu can you tell me your settings?

thks
[Defy Android Development] marhensa:
Droidwall 1.5.1 error seems not a problem of this CM7 rom.

it gets error too on Official Froyo France.

error applying ip tables.
[Defy Android Development] marhensa:
defy has it own custom recovery,

stock recovery will not work with non-motorola zip.

if you are in froyo, i suggest you directly install bootmenu (there's 2ndinit and customrecovery inside that), this CM7 requires 2ndInit boot.

if you are on eclair install custom defy recovery here, BUT if you want to install this CM7, this custom recovery isn't enough. it needs 2ndInit...

so you have to update to froyo then install bootmenu to get CM7.

and please check this CM7 FAQs
[Defy Android Development] chen2008:
Updated 4 to 5.1

Used standard procedure as follows:

1. Install fix.zip

2. Reboot

3. Install 5.1 zip

4. Install google apps

5. Reboot

6. Done!!

Works great...indoors, 12th floor, no windows finds the location!!! which means aGPS is working..

Rest of the functions appear normal so proud to have 2.3.4 !!!!

Shame on Motorola for not releasing even 2.2 globally despite having thousands of developers and experts...

Quarx - you are great!
[Defy Android Development] lackyking:
Try this great app which is developed by LBE team from Chinese.

I think everyone will love it.

LBE home page
[Defy Android Development] danielck78:
Is it possible to use the original video camcorder of Defy on CM7 before the 720p video is fix?
[Defy Android Development] Maringer:
I'm well aware that CM offers power control to toggle 2G/3G. However, the advantage of the Toggle2G app linked is that it offers the option to switch off 3G automatically when the screen is off (plus various other options including keeping 3G running if data is being used over a certain threshold).

On my current Blade running CM7, 3G usage drains battery quite a bit more than 2G so it is handy to have the option to automatically disable 3G when it is not being used. Toggle2G automatically re-enables 3G as necessary when you start up the screen once again.

Perhaps CM7 on Defy doesn't have the same problem with excessive 3G battery drain? Hopefully, I'll be able to check myself later this week, once I've managed to get my phone unlocked. ;)
[Defy Android Development] Ph1b:
Do you have the same? In 5.1 each time my defy boots, I hear the lens focus.
[Defy Android Development] Jokerchris2000:
Yeah i noticed the same but i dont see a problem in it. what is this noise anyway? It is appearing too when u open the Camera App.
[Defy Android Development] ktsang:
You may use VM and use windows to do that.

Btw, how to do it in mac?
[Defy Android Development] Ph1b:
I think, it is the autofocus. Maybe that is the reason for the batterydrain?
[Defy Android Development] maniac103:
Thanks a lot :)
[Defy Android Development] woonaval:
I can confirm my battery drains faster since 5.1

I always activate airplane mode at night and tonight it consumed almost 10% of the battery (usually it's 1% or 2%)... :(
[Defy Android Development] binodnepal:
In my case the battery drain is mostly the display, not sure why in 5.1
[Defy Android Development] Sir Flashalot:
For disabling lockscreen: Settings -> CyanogenMod settings -> Tablet tweaks -> Disable lockscreen.

------

Noticed battery drain as well. Upgraded from PaYs-rom on the same 3.4.3-11 sbf and with the same apps installed. Had 3-4 days on this rom with light to normal use. Now with CM7 it's already at 30% after 24 hours of moderate use. That's way too much. Display is accounting for 33% of usage.
[Defy Android Development] Quarx:
Not IT...

Information security of telecommunication systems.

i use Setvsel.

300@18

600@33

1200@64

Git updated(android_frameworks_base, android_vendor_cyanogen)

I registered moneybookers: quarx2000@gmail.com :)
[Defy Android Development] ephumuris:
Does the device still sleep correctly with lockscreen disabled?

Sent from my Defy on EphuNord rom.
[Defy Android Development] viper.:
@Quarx I think that there is a bug in accelerometer .. when i try the Bubble app on CM7 defy its all laggy(like it doesnt responds on the move for ~0.5 second) but it works just fine on PayRoM 5.1 defy(no delay there).

P.S. Where is the option for calibration of compass in CM7 ? I cant find it in settings.:confused:
[Defy Android Development] Sir Flashalot:
I guess so, how can I check?
[Defy Android Development] binodnepal:
Anybody having problem with call waiting, in my case having some issue like can't continue the current call. It gets completely blocked by the incoming call.
[Defy Android Development] pl4cid:
There's no option anymore. Download 'compass' from market and calibrate
[Defy Android Development] AkkiandDefy:
My brothers studys the same...

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] binodnepal:
Anybody knows why the maps running in the background, even after doing a force close.just wondering why it should be running?
[Defy Android Development] aimsforu:
How can I setup a proxy and authentication over wifi? On stock froyo there is check/unchecked button while connecting wifi and will ask username and password on browser.

This ROM is great...
[Defy Android Development] ephumuris:
Try opening Latitude and disable any options s that you need to then log out. Should be better now.

Sent from my Defy on EphuNord rom.
[Defy Android Development] businessman9:
same problem...maybe this cause battery drain fast?
[Defy Android Development] marhensa:
yes, need this feature so much, since my university blocking facebook, only people with proxy authentication can access facebook.

_____

Sent from Motorola Defy using Tapatalk
[Defy Android Development] thomsch:
I notice that my battery drains a lot when i dont touch it. Seems that it doesnt sleep ok.

Enviado desde mi MB525 usando Tapatalk
[Defy Android Development] WIIstpM:
I'm SURE it's the auto-focus...

I first installed 5.1 and the sound didn't occur and the battery was just Great!!

But after some problems I had to install CM7 again and the camera sound is happening for me , and now my battery is getting drained soo BADLY!! :eek::eek::eek:
[Defy Android Development] Quarx:
Without GOOGLE Apps or Gtalk.... have camera sound?
[Defy Android Development] WIIstpM:
yes...

On first flash of CM7 didn't get these battery problems, on 2nd flash, getting these problems :(
[Defy Android Development] Quarx:
I removed new Gtalk and i dont have camera sound at boot.
[Defy Android Development] WIIstpM:
I don't have GTalk..
[Defy Android Development] Ph1b:
Removed GTalk and now no camera-sound. Solved!
[Defy Android Development] Quarx:
Maybe new gtalk 2.3.4 has bug?
[Defy Android Development] Epsylon3:
ive many warnings in dmesg when using SetVSel (v1.5)

look like module is not compatible or something like that...
[Defy Android Development] Epsylon3:
<4>[23797.726654] WARNING: at /localrepo/fdc376/JOREM_170_2/kernel/arch/arm/mach-omap2/clock34xx.c:830 omap3_noncore_dpll_set_rate+0x2f0/0x334()

<4>[23797.726928] Modules linked in: tiwlan_drv overclock vpnclient modem_pm_driver sec netmux_linkdriver netmux

<4>[23797.728363] [<c003ad0c>] (unwind_backtrace+0x0/0xd8) from [<c00694d8>] (warn_slowpath_common+0x48/0x60)

<4>[23797.728668] [<c00694d8>] (warn_slowpath_common+0x48/0x60) from [<c00494d4>] (omap3_noncore_dpll_set_rate+0x2f0/0x334)

<4>[23797.728942] [<c00494d4>] (omap3_noncore_dpll_set_rate+0x2f0/0x334) from [<c0042e1c>] (omap2_clk_set_rate+0x20/0x2c)

<4>[23797.729248] [<c0042e1c>] (omap2_clk_set_rate+0x20/0x2c) from [<c004f7b8>] (clk_set_rate+0x50/0xc8)

<4>[23797.729553] [<c004f7b8>] (clk_set_rate+0x50/0xc8) from [<c0049a3c>] (program_opp_freq+0x9c/0x124)

<4>[23797.729827] [<c0049a3c>] (program_opp_freq+0x9c/0x124) from [<c0049ba4>] (program_opp+0xe0/0x1c0)

<4>[23797.729980] [<c0049ba4>] (program_opp+0xe0/0x1c0) from [<c0049d90>] (resource_set_opp_level+0x10c/0x184)

<4>[23797.730285] [<c0049d90>] (resource_set_opp_level+0x10c/0x184) from [<c0049e48>] (set_opp+0x40/0x110)

<4>[23797.730560] [<c0049e48>] (set_opp+0x40/0x110) from [<c00585c0>] (update_resource_level+0x174/0x1a4)

<4>[23797.730865] [<c00585c0>] (update_resource_level+0x174/0x1a4) from [<c004991c>] (set_freq+0xf0/0x118)

<4>[23797.731140] [<c004991c>] (set_freq+0xf0/0x118) from [<c00585c0>] (update_resource_level+0x174/0x1a4)

<4>[23797.731414] [<c00585c0>] (update_resource_level+0x174/0x1a4) from [<c0056b44>] (omap_target+0x5c/0x80)

<4>[23797.731597] [<c0056b44>] (omap_target+0x5c/0x80) from [<c02e8ba8>] (__cpufreq_driver_target+0x28/0x38)

<4>[23797.731903] [<c02e8ba8>] (__cpufreq_driver_target+0x28/0x38) from [<c02eb128>] (do_dbs_timer+0x26c/0x2d0)

<4>[23797.732208] [<c02eb128>] (do_dbs_timer+0x26c/0x2d0) from [<c007a92c>] (worker_thread+0x17c/0x228)

<4>[23797.732482] [<c007a92c>] (worker_thread+0x17c/0x228) from [<c007e0dc>] (kthread+0x78/0x80)

<4>[23797.732757] [<c007e0dc>] (kthread+0x78/0x80) from [<c003699c>] (kernel_thread_exit+0x0/0x8)

what is this JOREM_170_2 ???
[Defy Android Development] WIIstpM:
uninstalled all google apps and still no luck...:'(
[Defy Android Development] zjfgavin:
Hi,Quarx

Sorry for wast your time

You know,the MIUI dev are making their ROM for defy.

They have planned to publish it last friday,but there is a serous bug.

The phone used MIUI ROM will always reboot when it try to change network standard.

And it always happen in the device which used WCDMA network,especially when you making a call or receive a call.

Many people in China are waiting for the ROM,but "reboot" is a serous problem.

I think,you may know how to fix it,just ask for your suggesion,Thanks.
[Defy Android Development] maniac103:
Ask Moto, it's their kernel, thus also their path names ;)
[Defy Android Development] Ph1b:
Download Root Explorer and rename Talk.apk in System/App/ to Talk.backup.
[Defy Android Development] Quarx:
You must use all proprietary "/proprietary/bin (xbin)" from my git.

aGPS work on MIUI?
[Defy Android Development] Epsylon3:
nevermind... it because ive set a value under 300 (233) for vsel 1... no more message at 300Mhz
[Defy Android Development] ccav2000:
Not sure, but before beta5.1 I did not have battery problems. I did have new GTalk, but it caused no problems for me.

Since I upgraded to beta5.1 my battery is seem to deplete faster. I changed baseband and deleted battery stats, I will post here if the problem persists.
[Defy Android Development] Epsylon3:
about system/bin tools.... why ap_gain_france.bin is renamed aap_gain_france.bi ? there is a reason ?
[Defy Android Development] Epsylon3:
or maybe they spy inside appartments after the roads :^p
[Defy Android Development] zjfgavin:
I'm not a developer from MIUI,but they have said that they even not change the underlying code of CM7.

and why do you ask for aGPS?

edit:aGPS and GPS dont work

update:the problem seems to be solved,someone replace the file proprietary/xbin/ssmgrd,then ererything goes well,thanks very much,Quarx.

but the aGPS still not work and it spend very long time to find satellite even outside.
[Defy Android Development] ccav2000:
Tried a reboot, I can not hear any camera sound, is the sound loud? When the bug occurs? I have the green lens camera.
[Defy Android Development] thiagold:
I'm using beta 5 and having the two bugs below:

- some people say that they have wifi problems

- Microphone when the speakerphone is not working.

How may I help to fix this issues?

My wifi just diconnect if I left my cellphone in standby (lockscreen) for a while.

PS: Will be easier to understand if change the bug topic to "Microphone is not working when using the speakerphone"
[Defy Android Development] AkkiandDefy:
That problem with the wifi, you can solve in the settings, somewhere or with a battery booster, there you can set it.
[Defy Android Development] rennan.sato:
i tried to install the rom following the instruction im my brazilian firmware... after that the phone stucks in motorola's logo... i tried to install the kr firmware that you adviced us before to downgrade to eclair and the phone bricked. Now I have froyo retail br.
[Defy Android Development] :
2 post above, for the wifi stuff is not a bug, you must go to wifi press the menu button then click on advanced and on wifi suspension policy instead of being on when the screen goes off put never, you will save battery rather than using the data plan
[Defy Android Development] thomsch:
Quarx what do you thing about the battery drain problem? Have u? Have u any ideas.

In the usage i notice that somtletimes my battery drains wheb i dont touch it. But it is not always.

Enviado desde mi MB525 usando Tapatalk
[Defy Android Development] mcm_xyz:
battery drain

Do not know for sure but I noticed significant battery saving when turned wifi off. Note that mobile data was on, so it's not because some app was without internet connection. Maybe WIFI is not turned off when screen goes off (this is how the WI-FI sleep policy is set by default). Anyone knows how to check that?

With wifi off I got 60% remaining battery after 23h 40minutes.

With wifi on phone does not last for 24 hours.
[Defy Android Development] ofmb:
Wifi is turned off during sleep.

you can notice that when you unlock your phone it takes few seconds to see wifi icon.

Checked my router's client list just to make sure

p.s

there's a timer of few minutes until wifi turns off
[Defy Android Development] mcm_xyz:
Maybe the wifi connection is closed but there is no test to make sure the wifi radio is turned off. I strongly believe that wifi is the source of the battery drain.
[Defy Android Development] thiagold:
TKS! One "user bug" solved! :p

Isnt there any fix for microphone not working while using speakerphone?
[Defy Android Development] alberson:
@quarx

I was wandering around the forums and found that CrystalTalk isn't included in Beta 5.1. Can you please include it at the next releases?
[Defy Android Development] WIIstpM:
Thanks! It actually does the trick!

Does this fix the battery draining problem??
[Defy Android Development] pelopicopata1969:
Great Job !!!

Thanks.
[Defy Android Development] racca:
I think they did it on purpose.

BTW, MIUI team did screw up. They were using the wrong ssmgrd (actually battd according to them), no wonder I never had that nasty problem even for the brief time I had 3G access - I have always been using all proprietary files directly from GitHub.
[Defy Android Development] Bay Harbor Butcher:
Please give me a little help.

I want to flash cm7 on my sister's defy tmobile branded.

I installed Sndinit1.4.2 but I forgot to change SBF.

Which version should I install?Do I need to use a windows pc to flash it?

currently this phone is running:

blur-version 3.6.360.mb525.T-mobile.en.us

I know I need froyo to flash cm7 5.1,is it possible to update it OTA with stock version?Is froyo for defy rootable with superoneclic?

If is it possible I'd prefer to flash a sbf already rooted..is it possible?

I come from a Nexus One,it is a quite easier to root and flash custom roms..
[Defy Android Development] marhensa:
for those who cannot use latest DroidWall,

here, version 1.5.0 works perfectly on this CM7.

http://droidwall.googlecode.com/files/droidwall-v1_5_0.apk
[Defy Android Development] nov.six@qq.com:
Camera bug, when shot as micro mode, the camera has bug, freeze, and i change fie

to moto file, /system/etc/mot_ise_imager_cfg.bin , it's OK

and can you fix it ?

thanks
[Defy Android Development] marhensa:
cannot reproduce your error,

it just fine here, with/without flash.

green lens.

-----edit:

i can reproduce your error on high contrast object or condition

http://xdaforums.com/showpost.php?p=13662285&postcount=3130
[Defy Android Development] mrfab14163:
First of all I must say, this new beta is just awesome! Thank you very much!

I just have one little problem which bugs me a lot. My network (Hspa, 3G or whatever is avalible) is appearing to the icon always connected, but a lot of times there is no network. Meaning the icon is there, but I cannot open any website or the market or anything. Actually the upward arrow is (most) always litten, but the down arrow is not. I already tried all baseband frequencies for europe etc (I'm in Germany) but no success.

My Wifi works fine. Anybody any ideas what to try next?

Thanks for any help.
[Defy Android Development] labsin:
Made a photo outside and i just got the upper lines with rest greyed or green. Doesn't save picture. Now inside house, i don't have this.

It seems to be on 5Mpix only. Change focus or auto-flash don't change anything.

Also afterwards options on the screen don't work and have to switch video and back.

ps.: made donation!! ^^

moneybookers was easier for me.
[Defy Android Development] mick711:
Hello

I use 3.4.2-164-003 Base rom with Beta 5.1 and the two fix .

When i use speaker my contact can't heart me, i would like find phone number and say .

Have you this problem ?

And for call recording, it's possible to enable this fonction ?

Thanks .
[Defy Android Development] AkkiandDefy:
Its a bug, read the first post.....man

Typed by my Defy using CM-7 beta 5 with the XDA premium App
[Defy Android Development] HomerSimpson07:
i did something really stupid, i forgot that beta 5.1 isn't able to charge when the phone is off, and yesterday evening my battery was on 5% and i didn't charge it. today the battery is completely empty, so the phone can't boot, and also can't charge to be able to boot again.

so, what do i do now?? i also can't flash an other sbf, cause i just can't turn the phone on.

did i brick my Defy??? :(

EDIT: problem solved, i tried to boot again several times, and suddenly it worked and now it is on and charging. phew...:)
[Defy Android Development] walter79:
use the macgyver method for charing your phone
[Defy Android Development] diamond_lover:
I had the same issue on froyo rom, if I apply the patch to less image compression. Maybe it's the same error, the camera shot an image not compressed and can't handle images with too many details (so too much data). Are you using Motorola Camera?
[Defy Android Development] Sir Flashalot:
I have a similar problem with the data icon, maybe it's related. I use Widgetsoid to toggle Data on/off on Homescreen, but the same happens when changing the it directly in Settings.

Behaviour is most of the time erratic, displaying the icon when data is off or vice-versa or reacting slow in appearing. Sometimes up/down arrows are lighting up grey in stead of green and no data is possible as well. On full reboot it's normal again and reoccurs after a while. Happens in both 2G and 3G. When using 2G network, the status bar is showing only two bars or none at home. Phone is unreachable then and emergency calls only. No problem on previous roms. I donthnk I need to fiddle around with baseband/APN. 3G is showing 4 bars.
[Defy Android Development] gubshi:
I also have this with stock camera :/ you might be right about the compression thing, the pictures were more compressed with the green lense, at least the file size is bigger now than it was on froyo BEFORE any camerapatch.
[Defy Android Development] Sir Flashalot:
So you just "kick-started" it until it got enough juice to boot? Cool. You just invented a Mc Gyver alternative, I guess.
[Defy Android Development] antony.ps:
Try to change your APN settings.

When the icon of HSDPA/3g or Wifi are white, there's connection to the network, but no to internet. When the icons are green, you are conected to internet.
[Defy Android Development] marhensa:
okay, it's true...

i can reproduce your error when capturing something with high contrast (like a lamp, lcd monitor, or outdoor capturing)

@Quarx, i think stock /system/etc/mot_ise_imager_cfg.bin is just fine.. it's more stable.

less compressed image is not neccesary enough,

we need reliable camera for a nice moment to capture...

imagine you suddenly saw ufo / superman / weird moment in the sky,

you take a picture but your camera freeze..

sorry for the dumb imagination :)
[Defy Android Development] Perilla_:
I think that the current "not working" (720p or wvga recording) should be an addon, because our phone don't support it officially. They could be a "to do" thing.
[Defy Android Development] terrydaia:
tun.ko

I had a flash of wisdom reading the thread #960642 (this is my first post and I'm not allowed to post the link and I hope you will find it)

assuming CyanogenMod installed on a Froyo base and froyo should share the same kernel.

After verification it is the same: 2.6.32.9, thus openvpn works with the tun.ko proposed above.

For installation follow the same modus operandi as for 2.1 or 2.2 (ie I grope for hours until it work ...)

Considering that busybox is installed in /system/xbin :

Install openvpn with openvpn 2.1.1 install in /system/xbin

Choose /system/xbin/bb for ifconfig path

Copy a directory /sdcard /openvnp configuration files of your vpn: ca.crt and xxx.ovpn

Then

mount-o remount,rw /system

ln-s /system/xbin/route /system/xbin/bb/route

ln-s /system/xbin/ifconfig /system/xbin/bb/ifconfig

ln-s /system/xbin /system/xbin/bb (to deceive the enemy in case)

After using Openvpn Settings, just configure all the paths and set the dns on 8.8.8.8 (a menu is hidden behind a long pression on the connection name) and it rolls.

Of course there might be ways to use the files provided with CM7 but I could not find them (no more openvpn than tun.ko).
[Defy Android Development] binodnepal:
This still has some issue while applying iptables I get error code -1. Same as the new version.
[Defy Android Development] Quarx:
Video frame drops fixed.:) but work only 640*480
[Defy Android Development] 0708yc:
You are briliant, keep going!
[Defy Android Development] psicodelico:
Is it possible to take widescreen photos?
[Defy Android Development] thomsch:
Good notice !

Some news or ideas about the battery drain?
[Defy Android Development] danielck78:
Nice!!! When can you post the fix?
[Defy Android Development] Epsylon3:
just tagged a working up-to-date busybox : 1_19_0_cm71_20110511

binary : busybox-1.19.0-cm71.bionic.20110511.tar.gz
[Defy Android Development] mrfab14163:
Thanks alot that did the trick!
[Defy Android Development] escrivel:
In 3 weeks I will be on a trip to Turkey and therefore it would be so perfect if the 720p recording will work until then :-)

Please Quarx, held us defy-user to record in that quality :-)
[Defy Android Development] drsouly:
including "Google music 3.0" would be a nice feature :)
[Defy Android Development] daawen:
thank you quarx for this rom.

i'm in china,need to access internet over the GFW.

i use "SSH Tunnel",it's connected,but browsers does't use the proxy.

is there somthing wrong with iptables?
[Defy Android Development] woonaval:
I think exactly the same ^

It's not a non-working thing, it's a hack that just works on red camera lenses, never had it officially (and never will)
[Defy Android Development] escrivel:
Well a question right now:

-I have a red lense. Does this 720p recording hack works with CM7? If yes i think quarx should add this "hack" to CM7 too, because its not bad for people with green lense and its perfect for people with red lenses.