yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] ofmb:
BUG - Screen won't woke up if call is disconnected during ringing.

it has happened few times since the early beta's.

so many people reporting here and i wrote before that i suspect low signal is responsible for this.

so today it happened when i was near a computer.

in order to reproduce it i need simulate

"D/RILSWITCH( 1901): Vendor RIL ----> UNSOLICITED: 1009"

which i don't know how :/

lets say one know how to do it via adb shell etc' with "CELL_DISCONNECT" command:

1. call to your phone

2. let it ring 3/4 times.

3. send "CELL_DISCONNECT" command.

4. try to answer OR click power button.

5. Result: screen will not wake up, only softkeys will.

two logs attached:

1. radio buffer. you can see a lot of disconnecting before call. sms was my last interaction with phone.

http://pastebin.com/XV5WVVTM

2. phone buffer. i guess it has something with "wakeWhenReadyLocked"

http://pastebin.com/NvmN6eDF
[Defy Android Development] thiagold:
3G Watchdog not re-starting

Start using 3G with 3G Watchdog running ok.

Then I change to wifi connection than watchdog goes down.

When I switch back to 3G connection, watchdog do not raise back.

I will report this issue to Watchdog developer too.

I already report at github here.

Update: I started the 3GW manually and then I notice that it was working, but the icon was not being showed.
[Defy Android Development] klickig:
hi guys

i want report here a very specific problem with either cm7 and MIUI

I already posted my problem at github but didnt get any attention. Now its gone.

I use in my defy a dual simcard adapter which allows me to switch between two simcards. On 2.2 (Pay roms) this is no problem with the app simtoolkit wich automaticly appears in the appdrawer.

On CM7 an MIUI this dosent work anymore. I start the app choose the other simcard and nothing happens. I would love to have cm7 on my defy but i dont want to miss this feature.

Do anyone know what i could change in cm7 that this could work again?

should i post my problem at github again?
[Defy Android Development] schaggo:
I find it a good question as well. It works a little different on Motos than on, for example, HTC phones and I didn't quite get the hang of it yet. Anyone might quickly recap the answers to the questions and/or assumtions below?

As I understand, on HTC devices the bootloader loads the kernel and subsequently the system. Simple.

On Motos, the (locked) bootloader loads a (matching) Moto-kernel which loads the 2nd init module which in turn loads a custom kernel followed by a custo system. Correct?

Now, how does one SBF or another - especially a fixed one - change anything in this equation? It's still the 2nd init module which loads the custom kernel, the original and thus locked Moto-stuff has no say after the 2nd init stage, as I understand. But obviously this must be wrong since there wouldn't be a specific BOOT177 build if it worked that way and there wouldn't be a recommended SBF to start from.

So as I said, anyone might quickly explain how it works on a Moto and why a certain SBF is to be preferred?
[Defy Android Development] ccav2000:
Not quite correct. The 2nd-init proceeds to load the system, it does not load a second kernel. Hence, we are restricted to signed Motorola kernels *only*.

Regarding the .sbf that we flash, in some thread I saw the various blocks of it with descriptions and one of the blocks was marked as "radio firmware" or something similar, I wonder if there is really a part of the firmware stored elsewhere in the ROM.
[Defy Android Development] hottracks4:
Ok.. I used my phone on airplane mode with just wifi on.. Still more or less the same.. 1 hour 20 mins or so.. Should I try with wifi off?

Swyped using my Motorola Defy running CM7! :)
[Defy Android Development] schaggo:
I see, so no custom kernels (yet?). I don't exactly know which SBF my GF's Defy is running on, but I don't believe it's the 177... The last thing she ran before CM7 was MIUI and before that I believe it was the last barebones before barebones went CM7... I'd have to check.

Which part(s) of the firmware are you refering to? I mean I created fixed SBF's myself and the parts to be removed are the radio and the bootloader. It's quite a while though since I did this, I'd have to re-read again how to do it...
[Defy Android Development] woonaval:
I installed today's nightly and I'm getting weird translation problems (I tried catalan and english). For example the force close message, shows incorrect words, and references to variables. I cleaned dalvik and normal cache before installing latest nightly
[Defy Android Development] RexXxuS:
Ok, guys... after the 7th time or so it's annoying... cm7-110620-1635 has a big SD card problem... some of my pictures get destroyed by the power of the SD Card Error ~.~

Hopefully you get this garstling bug! :)
[Defy Android Development] ccav2000:
Found a camera bug, using cm7-110621-1406-NIGHTLY, SOC camera.

To reproduce:

Open camera, select 4MP. Double click on the image, zooms 4x.

Double click again, then select 5MP. Double click to zoom, camera freezes and must Force Closed. Camera remains unusable until reboot.

If instead of double click the zoom slider is used, the camera doesn't FC but the image preview freezes, camera app must be closed and reopened to be used again.
[Defy Android Development] RexXxuS:
oh no... have the old mega error again. The moto Icon doesn't go away... after flashing the new nightly it doesn't start... forgot the backup... damn >.<

*sigh*

Does anyone have a better idea except flashing everything new? ~.~
[Defy Android Development] 57op:
You should:

Wipe data/factory reset from stock recovery boot ( keep volume button down before press the power button, while phone is switched off ).

Flash a froyo version, which you can find here ( full sbf, be aware you'll lose downgrade ability to eclair; nordic version is ok ).

Root your phone ( with superoneclick )

Install Defy 2nd init ( 1.8 version is ok )

Boot clockwork recovery mod ( after installing defy 2ndinit, reboot and when the frontal led is blue press volume down, then recovery -> custom recovery ), wipe data+cache+dalvik, install zip files
[Defy Android Development] RexXxuS:
First of all: thank you!

buut I had the problem already and did your steps.

The real real big mega problem is... that my phone still doesn't reboot which brings me to the point to throw it out the window >.<

I'm flashing it with RSD Lite, but there it means "Please manually power up this phone/ Executed 100% /In progress...

And I see only the red moto icon and nothing else :confused:

*sigh* ... will be a long night... again...
[Defy Android Development] 57op:
What do you mean?

If you pull out battery, you can always restart your phone; even if it bootloop!
[Defy Android Development] RexXxuS:
I mean that it is always a freeze on the moto icon. Although I pull out the battery and insert it again... it doesn't go further...
[Defy Android Development] binodnepal:
I think you need to reflash sbf again.
[Defy Android Development] 57op:
And that's exactly the second step which i listed in my post ;)!
[Defy Android Development] hailmary:
M bootloop

remove battery..

press the power & volume down together-w/out the battery in...

now put the battery in & keep pressed for 5 secs--you will be in stock recovery...wipe all & back to square one;)
[Defy Android Development] ofmb:
Search in my latest posts and report back.

Right now I'm trying to see if removing gallery app helps also.
[Defy Android Development] mark-m:
I use the 110621-2214-NIGHTLY....

Camera works fine.:) Time stamp is now ok.

But no location stamp on video.

WIFI symbol is again not functional.

Mark....
[Defy Android Development] EdwardN:
I had this problem. I deleted the images I was trying to install and re-downloaded them, and it fixed it. Worth a try if you haven't tried that yet.
[Defy Android Development] RexXxuS:
Thanks to you guys! :)

very kind...

I know, it is hard to believe but I did that all! I put the battery out and in and wiped and format and flash sbf and and... it still freeze on red moto icon...

So annoying... I format now my complete SD Card... makes everything fresh and hope the best... ~.~

@ ofmb

yes... very good idea! I will test it. And you have my little word: the gallery app sucks! x)

@ EdwardN

yeah... bad... I have done everything flat x) Hopefully my older backup works... *sigh*
[Defy Android Development] EdwardN:
Okay, the other thing I tried that might help is not wiping until after flashing to cyanogen.
[Defy Android Development] RexXxuS:
little report for debugging maybe:

When I press volume up and down at the same time for stock recovery at the bottom are the lines:

E:Can't mount CACHE:recovery/command

E:Can't mount CACHE:recovery/caller

E:Can't mount CACHE:recovery/log

I'm still in the loop...

edit: ok... slowly I'm crawling to life with my Defy x)

First of all the firmware.sbf from the first post in this thread doesn't work for me... I found a old 2.2.2 sbf...

CM7 here we go again x)
[Defy Android Development] Bumble99:
Just going back to a topic mentioned a few posts ago, howcome on my htc desire I not have to select a baseband after flashing but on my defy I have to?
[Defy Android Development] EdwardN:
I think it's because the HTC desire doesn't have the same baseband options as the defy does.

HTC Desire specs:

HSPA/WCDMA: 900/2100 MHz

GSM: 850/900/1800/1900 MHz

Moto Defy Specs:

GSM: 850, 900, 1800, 1900

UMTS: 900, 1700/2100, 2100
[Defy Android Development] Bumble99:
So the baseband switcher is to select the correct UMTS frequency (as both have the same GSM frequencies)?

I actually had to buy a more expensive Desire as my carrier uses 850/2100 and the common Desire only supports 900/2100. It was like $100 more - many users bought the wrong model only to find it is not compatible with Telstra). So that may explain why it doesn't need a baseband switcher as HTC use different models for different frequency's. If I am on the right track then the Defy is not only the more robust phone (although mine has a dead pixel and my Desire does not) but also the more flexible with UMTS.
[Defy Android Development] superfastmonkey:
The same deal goes with the defy... more expensive for the Telstra model with 850MHz umts.

But it is interesting,, i never have to switch base bands on the desire.
[Defy Android Development] mill3000:
Hello. I installed this on my wife's phone and wow what an improvement on speed! She is complaining about the camera taking much worse picture. I gotta say they are noticeably worse. Any ideas or is this being worked on. Please do or I'll never hear the end of it. Also its not show 3g but maybe its where I am at. Thanks.
[Defy Android Development] superfastmonkey:
Is anyone else getting reboots? I'm getting 2 or 3 a day. On the 2106 14.. nightly, same with others. Mostly happens with bt on. I want to do a full sbf flash, but it is a particular pain for me as I have to rename sbfs and can only flash some as I have locked myself out somehow.
[Defy Android Development] paulle:
i too get some reboots per day. (RC0 installed).
[Defy Android Development] ccav2000:
I do not get reboots, but I *never* used Bluetooth with CM7 so far.
[Defy Android Development] AgentSmith:
My Defy is 850/2100 MHz. Bought it in Thailand for 13000 baht which is around 430 us dollars. Don't think that is very expensive for a phone like ours. :) Not sure if it also supports 1700 MHz now which is part of CM7's default baseband. No way for me to test it.

CM7 rc0 is still going strong. Gps fix is accurate and, for the first time on my Defy, very quick. It even works indoors now often. Guess before agps didn't work properly. If only the battery would last as long as it did with previous roms. Used to make it to 3 days with average use. Now it's only half that time. Not a big deal but it also means the battery probably wears out twice as fast. But I'm not complaining because I got a darn good phone in return! :)

Any progress on battery use with 3G?
[Defy Android Development] hitanshu:
I never needed any reboots. CM7 since 13May and 2 hours of daily BT usage. Its a bit slow in connecting but its okay (compared to nokia e63).

Tell me - would this 8GB SDcard work?

http://www.flipkart.com/mobiles/memory-cards/itmczcrqjfnkzhmr?pid=acccz4ffp9czdseh

Its a Transcend 8GB class 10 SDcard. Just wanted to check with your current micro SD card experience.
[Defy Android Development] ccav2000:
Impossible to be sure. I would suggest to look for a Sandisk branded card, they seem to be the best.
[Defy Android Development] pomah:
Is it just me or does the phone output all music through the speaker, no matter if headphones are connected or not.

PS: Nightly 1406
[Defy Android Development] hottracks4:
I have.. And i never get reboots.. Never got one till date.. On any build.. :)
[Defy Android Development] hottracks4:
Sandisk all the way bro.. Ebay!!! I got a 16Gb just last week.. Not having any problems at all.. :) Performing like a dream.. :)

Now if only i could solve my battery problem.. :-/
[Defy Android Development] stapuv:
have tried to give a wipe data (wipe all - data and cache) and then reinstall cm7? to me it happened after a nightly version, I think the fault was an application that no longer run correctly. In spare parts / battery hystory what value it is at running??
[Defy Android Development] hitanshu:
I had the same nightly before switching to MIUI. It definitely played the music through the headphones. oh and yes, I'm on UK SBF, India device, if that matters.

What problem? Which SD card did you buy? i use 8GB kingston class 4 and transcend class 6 in my SLR and I couldn't be happier. I suspect most of sandisk on ebay to be fake :D

http://www.afterdawn.com/news/artic...l_sandisk_memory_cards_are_fake_says_engineer
[Defy Android Development] ccav2000:
I got my SanDisk brand new from Amazon.co.uk direct, not through ebay or other means. And it works fine, I can say that with confidence now since some days passed.
[Defy Android Development] 57op:
Just a little question...

Do you think i'll have any problems if i install cm7 over GingerBread ( 2.3.4 ) Leaked Sbf?

If anyone has tried, please let me know, else i'll try on my own!
[Defy Android Development] ccav2000:
I really don't know, but if you try use the BOOT177 version, otherwise you'll keep the leaked 2.3.4 kernel which doesn't work with CM7 for sure.
[Defy Android Development] 57op:
Ok, i let you know. Thanks.
[Defy Android Development] hottracks4:
71.3%!!! Is that good or bad??
[Defy Android Development] hottracks4:
I'm using a 16 Gb class 4.. And its great.. Not fake.. You just have to know your way around ebay.. Not recommended for noobs.. :P
[Defy Android Development] ccav2000:
Thats is very bad! It means you phone is not sleeping as it should, something keeps the CPU running continuously instead of going to power save mode.

Wipe everything and start clean, DO NOT install apps until you can see if it works with a clean system.
[Defy Android Development] hottracks4:
Cool.. Thanks.. I was getting pissed with the battery issue.. Yeah.. Now i can see that it's been running for 4 hours out of the entire 5 and half hours after changing the battery.. Thanks a ton guys.. Wiping now.. :)
[Defy Android Development] stapuv:
what temperature had the battery? I guess somewhere to 40
[Defy Android Development] RexXxuS:
QuickPic as solution?

Hi

After hours I have a complete fresh new nightly and I'm happy so far. :)

@ ofmb

I did your SD card problem guide, but maybe because I formatted my card I haven't problems in alogcat.

After taking photos etc. still everything is clear.

But as I mentioned I think the 3D gallery apk is just crap. So I deleted it with pleasure! :>

So I have a honest question to all of you great developers:

Can you try some nightlies without the 3D gallery apk and instead use the QuickPic apk??

I'm using it now and find it wonderful!

What do you think?
[Defy Android Development] ccav2000:
Unless I am mistaken, the gallery included with CM7 is the stock Gallery, not likely to be replaced as the CyanogenMod project has a goal to remain as close to the AOSP as possible with only a few tweaks.
[Defy Android Development] klickig:
No one?
[Defy Android Development] ccav2000:
@klickig

Don't expect quick responses, there are only few devs working on this ROM and the feature you are having problems with is hard to debug unless someone has the same kind of SIM, which I don't think any of our devs have.

Patience!
[Defy Android Development] hottracks4:
No.. Battery never goes above 32 when sitting idle.. While playing games or browsing maybe 36-40.. While listening to music also it remains normal..
[Defy Android Development] hottracks4:
Btw.. What's considered normal then??
[Defy Android Development] ccav2000:
No more than 5% to 10%, unless you are a very heavy user that keeps the screen on all the time! Low to Moderate users should in the single digits always.
[Defy Android Development] hottracks4:
Umm.. I have a lot of other programs syncing in the background.. What about with them on? Screen is not on then.. Lets see.. Umm.. auto-sync is never on but i have gtalk, trillian, xda, FB and twitter feeds and ebay constantly running in the background.. They like sync every hour or 2.. except the first 2 which are always online..

On the other hand.. The running time is decreasing rapidly so that's a good sign.. It's almost down to 40 now..
[Defy Android Development] hottracks4:
Ok.. Something weird just happened.. Battery level just dropped from 64 to 50 directly!

Swyped using my Motorola Defy running CM7! :)
[Defy Android Development] schaggo:
WTF?! I bought mine in ultraexpensive Switzerland and paid less. 379 CHF which is... well, USD considerably dropped since so it's "more" now but it was about 1-to-1 back then so less than 400 USD. In Switzerland. Insane.

Theres more to check than just that. In the extended battery information dialog check if the device is considerably more often "Awake" than the screen is on, check example screenshot below of my device. The period from about half the screen to the right hand side, marked with arrows, is me sleeping (Bildschirm an = Screen on) and the device every now and then waking up to sync or so (Aktiv = Awake). It's where the device is "Aktiv" but the screen is off.

Then, also check the partial wake usage in Spare Parts, to be found under Spare Parts / Battery History / Partial wake usage. There the programs are listed which keep the device from sleeping or which wake it up to perform tasks. Screenshot attached below. On my example background tasks like Facebook syncing or Beautiful Widgets getting the weather is so small, it obviously has no impact on my battery while the device rests with screen off.

Less important but nonetheless interesting to see, would be what CPU Spy has to say. On my device for example I see that most time is spent in Deep Sleep and quite some time at 368MHz which I happen to know is the "sleep frequency" when the screen is off of the Smartass governor I use on CM7. So overall I'm happy to say, my device functions as intended :D

I'm an ultrahardcore poweruser then :p
[Defy Android Development] arpith.fbi:
i have weird problem...sometimes my battery gives around 1 hr for 1% drain...but sometimes it gives less than 20 min per percent at standby...any idea y?

deep sleep is around 65%..dunno why i have this kind of prob..i m on 2202 nightly

one Q...What are the symptoms coz of very less vsel value?
[Defy Android Development] Epsylon3:
cm7-110622-1734-NIGHTLY-Jordan.zip has cm7 wifi, like previous builds after RC0 (that fix the icon)

Yesterday build has the alternate one, was to check the wpa_supplicant bug with WPA2 (also named PSK2) on some routers
[Defy Android Development] ofmb:
in yesterday's u tried to disable ap_scam=2 ?

hmmm, funny typo :p
[Defy Android Development] Epsylon3:
yea, i deleted the file
[Defy Android Development] zencoran:
can someone tell me how to delete all my contacts?
[Defy Android Development] mick711:
I like the last wifi addon on Git .

If you would like to see (compile last Git is needed) :

Open terminal :

$ iwconfig

you can see the wireless in use ( tiwlan0 )

$ iwlist tiwlan0 scan

you can see lot of information .

Wikipedia : http://en.wikipedia.org/wiki/Wireless_tools_for_Linux

It's just for fun i have no problem for connect wifi .

Thanks

And my defy go to warranty speaker dead :rolleyes: , i'm very happy if i have a red lens :D
[Defy Android Development] xblosa:
I'm also using a dual SIM card in my Defy (MAGICSIM 3G). In Beta5 switching with SIMToolkit worked. But with all later versions SIMToolkit of Dualsim just does nothing. I have another SIMToolkit on one of my SIM for some services of my provider, this works fine, but not the Dualsim.

Most Dualsim support the 007 mode where you hide the SIMToolkit. Switching is done by saving a contact with number "001" or number "002" to Simcard.

I do this with the "CopyToSimcard" app. I have two contacts in phonebook and copy one of them to the simcard.

Enabling the 007 mode may be tricky if the SIMToolkit does not work, perhaps put the dual sim adapter in a different phone, set to 007 mode and plug it back into the Defy.

Unfortunately i always have a reboot after switching, but this was the same even with Eclair and Froyo and seems to depend on my SIMs.

("007" unhides the SimToolkit)
[Defy Android Development] Epsylon3:
BEWARE : There is a new BOOT179 nighly, to test lastest 2.2.2 kernel and modules (including wifi)

# modified: lib/modules/act_police.ko
# modified: lib/modules/cls_u32.ko
# modified: lib/modules/sch_htb.ko
# modified: lib/modules/tiap_drv.ko
# modified: lib/modules/tiwlan_drv.ko
# modified: lib/modules/vpnclient.ko

You will have problem with wifi on first install, delete /data/misc/wifi/wpa_supplicant.conf and reboot

If you install this nightly, and want to go back to a 177 based, you need to downgrade to boot177 before... or use a Manual Restore boot before

Benchmark performance seems a little bit lower than 177 kernel... but maybe not for all...
[Defy Android Development] hailmary:
Hmmm.whats in here...downloading.bootly179.:D installed now.

So whats difference in this knightly boot179?--so noob.;)