yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] terrydaia:
This option active during a call has no interaction with global screen timeout.
[Defy Android Development] escrivel:
Quarx can you tell us what you are focusing your work right now? I wonder if you can fix the cam finally? :-)

For some reason I can smell a RC :-)
[Defy Android Development] ccav2000:
One question to the GPS users: in my DEFY it locks fast, but the position seems to be off by 40-50m, and using it from the same exact position I can see the same error always.

How accurate is the GPS? I'm interested for replies from every user of CM7.

I use Google Maps to test.
[Defy Android Development] maniac103:
Could you please be so kind and stop the spamming? Of your ~40 postings in this forum at least 30 are spam in this thread asking for 720p recording (which isn't even part of the official feature list) or new releases.

:rolleyes:
[Defy Android Development] jjp84:
I beg to differ, I had black swype, non beta on my previous rom by JBoogie. It is the stock swype, not the beta you download from the website.
[Defy Android Development] image.:
beta7 or RC?

next version will be thrilling...
[Defy Android Development] Sir Flashalot:
I have the same in Google Maps, 40-50m. When I check simultaneously in GPS Status the accuracy is 4-9m depending on the number of fixed satellites, usually 8/11 in good conditions. It's the best accuracy we can get in public gps, military gps is even more accurate but not available of course.
[Defy Android Development] ccav2000:
The accuracy report in GPS status is the accuracy it *thinks* it has, but it is off by 40 to 50 meters every time.
[Defy Android Development] ofmb:
Can someone confirm that smartass overclocking doesn't work?

it's probably the most advanced OC/UC technik out there, but for me it just stays at vsel3.

use bootmenu.

using CM7 cpu settings menu makes the phone lag A LOT

some reading:

http://xdaforums.com/showthread.php?t=843406
[Defy Android Development] gangreu:
Hello guys!

First, sorry about my english, second language.

Quarx u are amazing, nice job on CM7.

I was a CM7 user on my old HTC HERO, and i have some notes to do.

Battery always will be green on 90~91%

I was changing the values of brightness in CM Tool (Display>Automatic Backlight>Edit other levels) and I think light sensor is too weird.

In a room with almost no light (at night) sensor (filtered/raw) show me 3

In a room with normal light (at day but inside my house) (filtered/raw) show me 33

Outside with sun sensor (filtered/raw) show me +-9000

Is it ok?
[Defy Android Development] Sir Flashalot:
Tried this setting in CM7 settings and checked with Android System Info. Current Frequency is indeed vsel 3 (1100MHz in my case) at all times.
[Defy Android Development] coolwaves:
I have the same issue here. It doesn't matter how good of a GPS lock I have, the position is always off by a block.

I have had this problem in the past with every Eclair ROM I tested (and I tested a lot). It worked perfectly with any Froyo ROM and then it reappeared again when I moved to CM7, strangely enough as I flashed the official French Deblir Froyo ROM before flashing CM7... Maybe it is a configuration or driver issue...
[Defy Android Development] ccav2000:
Thanks for the report, so it is not specific to my defy only. Let's hope it can be improved at some point.
[Defy Android Development] ofmb:
Did you edit your post? i was sure you wrote at first that its fine.. :p

anyways - did some tweaking and reading etc'

changed the bootmenu overclock setting:

smt_min_cpu_load 40

smt_max_cpu_load 75

now i can see more often vsel2...

i'm not sure what are

smt_up_min_freq 1200000

smt_wakeup_freq 1200000

??

found the smartass OC early sources... taking a look

https://github.com/erasmux/hero-2.6...69473dfe82/drivers/cpufreq/cpufreq_smartass.c
[Defy Android Development] makakam:
Is "charging with the phone turned off doesn't work" still applicable to beta 6?
[Defy Android Development] ofmb:
okay now my settings are

smt_up_min_freq 590000

smt_wakeup_freq 1200000

smt_up_min_freq is the minimal jump. so default made the cpu jump every time to max speed

smt_wakeup_freq is the freq it jumps to when waking up. i leave it the same as its important in order not to loose calls.
[Defy Android Development] Khrushy:
It also depends on where you are, and where the satelites you're locking on to are, and the air quality.

If you're in an urbanized environment expect it to be out a bit due to gps only having a limited direct LOS between buildings, and the fact that the satelite signals also reflect off the buildings quite well (the GPS will think it has a lock on a satellite, but the "locked" signal bouncing off the building throws out the timing ever so slightly).

Now, if you're testing it out in a field, with nothing but clear skies above you, you should be getting a perfect lock.
[Defy Android Development] Sir Flashalot:
Yeah, I misread some values. :o
[Defy Android Development] ofmb:
changing settings directly in file & reloading module thru CM7 settings doesn't apply the new setting.

only restart does :/
[Defy Android Development] alberson:
Question:

What's the default baseband value that comes with our CM7? I changed to the one that fits my current carrier but it seems to make my battery drain faster.
[Defy Android Development] HomerSimpson07:
default is US T-Mobile 34.4.4
[Defy Android Development] Sir Flashalot:
In my case US T-Mobile 34.4.4 was default.
[Defy Android Development] calcop:
FM Tuner : crash when store a station in presets

happens only on my device? thanks
[Defy Android Development] peetr_:
If I give smt_up_min 600Mhz, then I 'll never get 1200. By the way it works great for me with defaults. Jumping 300 to 1200. Sleeping 300. Measured with Set CPU, System info and battery usage.

For GPS, I took it for a ride for about 3 hours today and... perfect. Shows exactly what it should, only max. 10 meters late. 1200 Mhz overclock and no restart, battery under 41°C fully charged connected to car charger.
[Defy Android Development] peetr_:
For me too, I'm using only autoscan. It saves without FC.
[Defy Android Development] Sir Flashalot:
Works fine here.
[Defy Android Development] alberson:
Thank you. I'll change and see if it does something to the batt life.

I flashed yesterday at 4PM with 50% battery, and it with medium use and wifi always on, it hit 15% only at 9:30pm, I think. Now I changed to "Brazil Claro 6.14.5" (my carrier) and battery gone down from 100% at 7AM to 60% now, at 11AM with light use. This was the only change I made, so I think there must be something to do with the battery. Will post feedback later.
[Defy Android Development] netrider01:
I know I currently repeat old questions, but hast anyone tried to rename this mediaserver.apk yet?

Its damn eatin lots of battery. Its totally useless and on my defy with 87% battery left using it only for a short phonecall and listening to music it drained nearly as much battery as the music player..
[Defy Android Development] iamnik:
Jesus, this is incredible development!
[Defy Android Development] tgzw:
The excited teared up,Great work,Was blown away
[Defy Android Development] AkkiandDefy:
@Quarx

Are aGPS and Video-Camera a big problem?

And should we wait for beta2, because it's gonna be released fast?
[Defy Android Development] Filipitripi:
Dont is a lot important, but we need change the phone model in bulid.prop to MB525..for example milestone overclock need it..

At the moment i will use this rom dialy... :D
[Defy Android Development] AkkiandDefy:
A Question: Is it without Overcloking still fast?

I'm installing it at the moment.
[Defy Android Development] Kaffeekranz:
There seems to be no data connection via 3g, can someone confirm this?

/e

Okay, for the first time I had to manually configure the APN.
[Defy Android Development] peetr_:
Great progress!

Maybe it´s me, but I have -

can´t chown/mod /system/xbin

(no such file or directory)

failure at line 6

set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
[Defy Android Development] Filipitripi:
You need to configure your APN manually....for me work perfect...
[Defy Android Development] yishisanren:
thanks to Quarx~~
[Defy Android Development] Filipitripi:
Yes is fast but i think we have 800mhz.....And 1000mhz with a good vsel is better.. :)
[Defy Android Development] Agge_:
This is the craziest development speed I've ever seen! Just a few days ago people thought Quarx was bullshitting his booting of CM7. Now he's almost got a fully functional version up for us.

Quarx, you're truly amazing and a bright shining star on the XDA sky.

Keep up the phenomenal work and sort out the a donation account so you can enjoy all those tasty beers;)
[Defy Android Development] Blackcorsa:
this Beta works fine.

3G works good but i have a question.

How can i get Market App ?

Thank you so much
[Defy Android Development] ellendel:
Great work and fantastic news for the Defy. Thanks :)

The link of the Beta1 is not working, at least for me. I tried a few times but it seems to be broken.

Finally it works.
[Defy Android Development] demolition23:
sorry about my question, but does the audio works?
[Defy Android Development] add.thebad:
Beta 1 seems to be working nice for me still running nice and smooth plus a can txt now! All going very nice. Just need data now and I will b very happy. Nice work!
[Defy Android Development] narta:
http://goo-inside.me/gapps/latest/7/universal/

As per Quarx's first post yes.
[Defy Android Development] tgzw:
GPS cannot use
[Defy Android Development] bihariel:
Compatibility patch

Here is a compatibility patch that changes model to MB525 for better compatibility with apps(milestoneoverclock...) and games, also i attach the google apps that includes market and other stuff.

Thank you Quarks for your great work.

to install just flash .zip from bootmenu-custom recovery.
[Defy Android Development] AkkiandDefy:
make a Installing Guide! Please :D

And I need help, I installed the beta1 successfull, but the Camera is not working. Not Photo,not Video just a black screen!

Edit1:I realized, it can take Photos but no Preview?!

Is Widescreen photography possible?
[Defy Android Development] Kaffeekranz:
Just use clockworkmod.
[Defy Android Development] petrolin:
I had this problem with froyo, b5 fix it, but with b6 came back again

Enviado desde mi MB525 usando Tapatalk
[Defy Android Development] netrider01:
Cant reproduce the black screen issue but since my update from beta 5.1 to 6 the 2.3 screen fade out animation is gone. How is that possible? Anybody having the same issue?
[Defy Android Development] ccav2000:
I would agree if it happened only occasionally. Unfortunately, your theory is wrong because I can compare the DEFY with the much cheaper LG GT540. The LG shows my location exactly every time. The DEFY keeps showing me 50 meters away. There is something not right with the DEFY's GPS driver.
[Defy Android Development] ofmb:
i'm trying to find a setting so it'll hang on vsel2, as most times thats enough.

there's no point that when you just read something on the net or browse the app drawer cpu will be at vsel3.

it should at least "visit" vsel2 on the way to vsel3, if needed at all.
[Defy Android Development] iamoct:
Hi after install beta 6 + brightness fix (Nordic)

I've notice in battery use Display using most of battery. On Froyo Phone idle and Cell standby always come first may be we have a Display management bug ?

Anyway battery life is great.

Thanks.

INFO : 19h 42m 42s on battery

Display :26% Time on 1h 46m 55s (auto brightness on)

Phone idle : 11% 17h

Cell standby : 9% 13h
[Defy Android Development] peetr_:
But I am affraid, that there's almost nothing that you tap on Defy, that wouldn't cause the CPU to jump to 100 % of usage. And once it's loaded, it goes to min. freq. And don't you want to have the browsing pages loaded as quickly as possible? :-)
[Defy Android Development] antony.ps:
I think it's normal for Screen using most of the battery =)

@pettr_ @ofmb

Could you please post your complete settings for OC/UV in Bootmenu? I'm a little lost at these new settings, with setvsel i was using 18/300 - 33/600 - 54/1000 and was the only modifications that I made in bootmenu. Thanks!
[Defy Android Development] vick33:
if i start playing an mp3. /system/bin/mediaserver eats up 10-12% of the cpu. Can anyone else check it under stock froyo? If it is not present under froyo then i will report it as a bug.
[Defy Android Development] :
I've always had 40metres of precision in all the roms I've tested, I think it is a good precision and there are more important things rather than that! hehe
[Defy Android Development] ofmb:
D'oh!

only now i found out that editing the config file thru root explorer & restarting doesn't apply settings.

i must enter bootmenu & save settings ->then restart

I'll post settings once i get to some good results. its a long way full of restarts.

p.s

i think the problem is that it restricts ramp_up freq to 300000 so it never gets from 600 to 1000
[Defy Android Development] ccav2000:
The importance is a very relative thing my friend. Anyway, it is a bug. And 40 meters precision is not normal for a GPS, 10 meters is the official precision you can have.

Also, as I said I already compared to another Android phone. It is a problem of the DEFY and CM7.
[Defy Android Development] coolwaves:
+1

I used my HTC magic for comparison. The HTC shows my position exactly, with the same number of satellites in use the Defy is off by a block.
[Defy Android Development] maniac103:
The power consumption data (how much does the CPU draw per second, how much does the screen draw per second etc.) is provided in an XML file in framework-res.apk. The data provided in _any_ Motorola ROM is completely bogus (they just used the example, there's no meaningful data in there), which means that the statistics shown by any stock Motorola ROM is completely meaningless.

The data currently used in the CM7 Defy ROM is a copy of the Milestone data. Definitely not optimal, but still far better than the original data.

That different power profile data explains the difference you're seeing.
[Defy Android Development] peetr_:
Just change -

Status - Enable

Load all modules - enable

Governor - smartass

Clk1 - 300000

2 - 600000

3 - 1000000

Vsel1 - 18

2 - 32

3 - 54

smt_min... - 40

smt_max... - 80

smt_awake_min... - 300000

smt_sleep_max... - 300000

smt_up_min... - 1000000

smt_wake_up_... - 1000000

smt_ramp_up_step - 300000

- better than using SetVsel I think.
[Defy Android Development] ofmb:
i need to write

smt_ramp_up_step 400000

to /sys/devices/system/cpu/cpu0/cpufreq/smartass/ramp_up_step

only way is to change bootmenu.sh?

root explorer FC when i try

enable 1

load_all 1

scaling 5

clk1 300

clk2 600

clk3 1000

vsel1 22

vsel2 31

vsel3 54

smt_min_cpu_load 30

smt_max_cpu_load 80

smt_awake_min_freq 300000

smt_sleep_max_freq 300000

smt_up_min_freq 300000

smt_wakeup_freq 1200000

smt_ramp_up_step 300000
[Defy Android Development] peetr_:
But my practical showcase with 3 hours ride tells something else. :-) 10 meters error in location. Even in the tunel (don't know how) :-)

But I am using gps.conf for Czech Republic from HTC HD2 forum (don't remember link)

Sygic Aura with data turned on.
[Defy Android Development] pjcons:
GPS is fixed on my defy running CM7 beta 6. I'm getting within 5m accuracy and the other day when trying to get some bus timetable info, I physically had to walk away from the bus stop as my locality icon was right on top of it!

CM7 is great... must be hardware issues for those having issues... :)
[Defy Android Development] mick711:
Me to just scan and save but when i would like to save an other station the FM apps close and i can't open again .
[Defy Android Development] ofmb:
found a way to do write it but it still doesn't help

will post when i make a progress
[Defy Android Development] pomah:
Could someone tell me if the gapps for this CM are the same as for the official? The link for gapps is down and I was thinking to download the original zip for CM
[Defy Android Development] neuralboy:
Installed beta 6 and the battery life is much better. No other problems so far.

A point on the earlier discussion about there being more than one build version of the defy: I can confirm that.

My wife has a defy too and it's definitely built different:

It's slightly smaller, the cream strip on the back is a different shade, and her screen it's definitely better-more vibrant, colorful and brighter.

The software also responds slightly different: her battery has always lasted longer by at least 30% regardless of the android version, and I upgrade them together (I test it on mine first to avoid the strife)

Hers seems a little more responsive and handles a larger workload better like downloading and installing the google apps over in the beginning. Mine slows and becomes jerky until I give it a break.

Lastly, hers boots faster (considerably).

This might explain the differences in outcomes for others with each new update.

Luckily though, neither phone has had any real software issues with any of the cm 7 betas, although she doesn't use hers for much more than texting and calling.

Anyway, thanks dev!
[Defy Android Development] ccav2000:
There seems to be a misunderstanding here about the GPS accuracy. The DEFY will report down to 4m accuracy. But if you look around where you actually are you are 40 meters away!

Very simply, I am saying that the "accuracy" reported is false. The fix is 40 to 50m away from where it should be in reality.

Don't trust what is says, trust your eyes!
[Defy Android Development] ephumuris:
Yeah they are all the same make sure you het the cm7 gapps and all is fine.
[Defy Android Development] peetr_:
I meant it right so. With Aura, 10 meters error max. Comparing the street with navigation.
[Defy Android Development] ofmb:
okay i leave it for now. can't make it work right.

to anyone who wants to try:

config file is at /system/bootmenu/config

you can know current settings by looking at

/sys/devices/system/cpu/cpu0/cpufreq/smartass/

i couldn't edit it when phone is on. maybe someone else can, possibly with an app similar to setVsel.

if the following settings works so you expect to see cpu freq go from 300->600->1000->600->300 and not directly 300->1000->300

i tried to use smt_ramp_up_step 400000 to make the first jump to 700 which is less then 1000 so cpu will stay on 600 for a while.

there's a limit in bootmenu smt_ramp_up_step 300000 max, so just change it in root explorer, save, enter bootmenu->overclock->save

thats an annoying workaround...

overclock.sh source:

https://github.com/Quarx2k/android_device_motorola_umts_jordan/tree/gingerbread/proprietary/bootmenu

smartass source:

https://github.com/erasmux/hero-2.6...69473dfe82/drivers/cpufreq/cpufreq_smartass.c

it looks like a bug in the module. cpu_freq should go up until it gets to >600 then if cpu load still high so cpu_freq should go up >1000

line 306
[Defy Android Development] ccav2000:
I see. Is this app made for car navigation? Such software has special algorithms to make the fix more precise. I use only Google Maps which uses no correction at all.
[Defy Android Development] nisamtetreb:
Maybe it has to do with the ntp entry for north-america. I'll try to change it to another server.

You'd have to edit /etc/gps.conf and use an ntp server near you. You can find the address on http://www.pool.ntp.org/

For me GPS is better than before, but sometimes it's off by a block. It could be related to ntp using a distant server for aGPS?

I tried GPS tracking apps.
[Defy Android Development] ccav2000:
Interesting observation, but the DEFY does not use /etc/gps.conf if I remember right. The configuration for the GPS is in another file, can't remember right now the exact file.
[Defy Android Development] peetr_:
Yes it is, but now I tried to ride with google maps and it's almost the same, except for some streets, that are badly drawn in the map when I compare with satellite image. With the image it's accurate.
[Defy Android Development] Sir Flashalot:
You mean this thread? I think ccav2000 is right about the gps.conf file.

http://xdaforums.com/showthread.php?t=953630
[Defy Android Development] Sir Flashalot:
Do you (also) have Use wireless networks enabled in Location & Security when using gps?
[Defy Android Development] gunichou:
Hi guys.

Same problem with the update from beta 5.1

I installed the beta 6 and gapps. Reboot the phone.

5 minutes ans my phone is restarted.

But iv'e got a problem when the phone is started: i can't do anything because the phone is very slow... i don't know why. I can't receive or make a call ...
[Defy Android Development] koltzu:
Working just fine. I live near the intersection of a railroad line and an underpass. I went exactly where they cross each other and the GPS is spot on with Google Maps
[Defy Android Development] ccav2000:
That's a *no*. I use GPS only.
[Defy Android Development] ccav2000:
Happy that it works for you, but here it is not :(.
[Defy Android Development] ccav2000:
Enable autobrightness. It is a known bug, you need to install the fix. Look at the FAQ thread.
[Defy Android Development] Sethrix:
mirrors

http://blutstein.eu/Rom/Defy/CM7/gapps-gb-20110503-signed.zip

http://blutstein.eu/Rom/Defy/CM7/update-cm-7.1.0-jordan-beta6-signed.zip

and

http://blutstein.eu/Rom/Defy/CM7/FixBrightness.zip
[Defy Android Development] ccav2000:
One last update: I just went to outside to try again. The result was that the fix kept changing locations, around the same area. It just can't seem to decide on a proper fix. very strange.
[Defy Android Development] peetr_:
I think it is the thread.

And I think it uses gps.conf, because I have completely different numbers of satellites with different gps.conf files. And why would it be included from Quarx?

With gps.conf for CZ, I have the same numbers as without a-gps. With default gps.conf from Quarx, those numbers are different.
[Defy Android Development] Sir Flashalot:
Checked again at home (I live in a city downtown) and Google Maps shows an accuracy of 9m radius. The blue arrrow is max 10-15 meters away from my exact physical location when using Use wireless networks and/or Use GPS satellites. This afternoon I had an accuracy radius of 40-50m at work, outside town.

Edit: I also noticed altering of the GPS position in Google Maps. I had the same with Maverick on another rom
[Defy Android Development] ccav2000:
One thing I would like to try is to set my own ntp server. But not sure in which file those settings are.
[Defy Android Development] peetr_:
gps.conf, trust me :-)
[Defy Android Development] arthurlage:
Hi everyone.

I Had CM7 beta 6 installed on my defy, and I stupidly tried to update 2nd init, so now the cell phone is bricked.

actually I can enter on bootloader and on stock recovery, but I´m not able to flash any room.

I tried to make a factory reset and flash rooms in rsd 4.9 but the following error is shown: failed flashing process. Unable to retrieve initialization values from INI file. (0x7029); phone conected.

My battery is full, I wiped, and tryed nordic rom, JRDNEM_U3_3.4.2_164, JRDNEM_U3_2.51.1_ I get the same mistake everytime.

some guy here had a problem when he installed 2nd init in cm7 just like me, but he was having other problem and solved flashing french rom. it didn´t worked for me.

any ideas??
[Defy Android Development] ccav2000:
Trying now, found the file for my country from the thread for the HTC.
[Defy Android Development] ccav2000:
Lol, good thing I had not much work today, so I could test the damn thing.

So, my conclusion is that DEFY's GPS is too sensitive to surrounding buildings, perhaps a driver issue, or even hardware design. I just don't know.

The gps.conf seem to do one difference. It locks in 3 seconds now! Wow!.
[Defy Android Development] Andrew-droid:
I had this black screen after a call too. Tried everything a n only battery removal fixed it.
[Defy Android Development] avers:
I had the same problem in the morning. I wiped the cache from the custom recovery, and looks ok now. Try it, and please let me know about the result.

I'm really curious, because it isn't logical, but helped for me.