yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] marhensa:
the best workaround for GPS bug

for all you guys who complaining about GPS (just like i always did before :rolleyes:)

i tried HomerSimpson07 workaround about GPS

and pl4cid suggest to change that workaround files permission.

GPS now is WAAAAAY BETTER! :)

i get much satellite, and only about 8 seconds to get fixed location (on outside)

even inside my room which have a thick concrete wall with no window :confused:, i could get 10-20 m accuracy.

here what i did.. (credits for HomerSimpson07 and pl4cid)

-get the attachment files from this post

-extract it, copy to sdcard

-turn off GPS

-open RootExplorer or your favorite root file manager, delete "location" folder on /data

-paste the new "location" folder to /data

-open location folder

-set "gpsdata.nvs" permission,

check permission to: user=read,write (unchek the others which i don't mention)

-set "LEARN_STORE.BIN permission,

check permission to:user=read,write. group=read,write. others=read,write (unchek the others which i don't mention)

-set "location.cfg" permission,

check permission to:user=read,write. group=read,write. others=read,write (unchek the others which i don't mention)

-turn on GPS

-reboot two times

-download GPSTest, GO OUTSIDE, open GPSTest, PLEASE WAIT untill you get much satellite, and good accuracy. once you get it, it's done.

-close GPSTest app, then try to open it again, you will get fixed location and much sattelite in seconds.

try to reboot, and open GPSTest again, you should still get fixed location in seconds

and try open other Maps application, it should works much better now.

thanks a bunch guys.
[Defy Android Development] :
post above should be posted in a sepparate thread or at the first page of this thread!! can someone edit his message and post it? it is very helpful!!
[Defy Android Development] marhensa:
um.. i just describe what i did,

credit to HomerSimpson07 and pl4cid, because of that, i should not create a new thread.
[Defy Android Development] thiagold:
I'm using the file manager that already come with CM7, and the "/data" directory is empty. It's ok or I'm missing something?
[Defy Android Development] neival:
yes, i also tried this... i forgot to write it! i've tried a couple bands of the defy baseband and the problem persists...

i really don't know what to do.
[Defy Android Development] ofmb:
FOUND SCENARIO FOR WIFI PROBLEMS!

It goes like that:

1. Find a WPA (2? EAP AUTH?) network

2. Disable wifi

3. Goto wifi settings where you see scanned networks

4. Enable wifi, then immediately when you see "connecting " disable wifi

5. (Not always necessary) repeat 1-4 few times

Result :can't connect to cancelled network, sometimes wifi broken to any network

It's reproducible every time.
[Defy Android Development] adi4motion:
you need root permisions...try root explorer
[Defy Android Development] ofmb:
Use root explorer
[Defy Android Development] 9Lukas5:
I have two questions:

1. Does this rom having any bugs at the moment anymore? So i mean, is it similar with a FINAL?

2. Is there a detailed how two what i need if start from zero and what i have to do exactly?

thx
[Defy Android Development] Quarx:
Update to Beta5:

Before update you need install fix.zip and after reboot you can flash new version.

If you do not, then you get an error when installing the new version. And you will need to reflash with RSD.

Fixes:

Added SIM Toolkit app

Fm-Radio

Re-Reworking sensors.

Some changes in Wifi and Video codec's.

Stock Torch APP/Widget.

Update to 2.3.4 -> CM 7.1.0-RC0:

- DSP Manager: equalizer presets

Maybe even have forgotten ...

Note:

The gtalk voice/video chat needs updated google apps package, which has not been released by CM team yet

Download Beta5
[Defy Android Development] :
Quarx for PRESIDENT :D:D
[Defy Android Development] ofmb:
Crap I really ****ed wifi... even resets doesn't fix it easyly.

only airplane mode combined with shutdowns :-\
[Defy Android Development] ephumuris:
I'm guessing we don't need the fix.zip if we do a clean install of beta 5? Doesn't make sense to install that before.
[Defy Android Development] Quarx:
Fix.zip need only for 4.0 & 4.1... For clean install or update.
[Defy Android Development] sunoldman:
The busybox in beta4.1has some problem
[Defy Android Development] edition-:
For me is not working, but there are others applications that do the same.
[Defy Android Development] AkkiandDefy:
Flashed it and must say: Thank you very much Quarx :D

What's about the Donation App??!! I will DONATE!

PS.:Edit the thread name, because now we have Android 2.3.4 :D:D
[Defy Android Development] gubshi:
the compass and acceleration in games or gps-apps is smoother now at beta 5, I'll try some more testing :)
[Defy Android Development] makakam:
Is wipe needed when going from 4.1 to 5?
[Defy Android Development] WIIstpM:
YOU ARE THE BEST!!!

I wonder what's left to fix...

Can you provide the to-do for the next update?
[Defy Android Development] ccav2000:
Did it without wipe, still waiting in the CM7 Logo, I think it's rebuilding the dalvik-cache now.
[Defy Android Development] viper.:
You could set up moneybookers account it same service as paypal but with that you can accept money in Russia on your bank account.

http://www.moneybookers.com/send-money/country-list/
[Defy Android Development] AkkiandDefy:
But I must say that we need a gapps

Update because of 2.3.4 because it has improvements like 3D on Google Maps etc....
[Defy Android Development] thiagold:
TKS marhensa! I got a accurate of 4.7 meters and about 9 satellites
[Defy Android Development] alberson:
Did you succeed?
[Defy Android Development] thiagold:
Please, attach the fix.zip at first post.
[Defy Android Development] ruphert:
Is possible to include this fix in beta6?
[Defy Android Development] ofmb:
Fix for that:

click the SSID you cancelled and hit forget.

Enter credentials again and Viola!

I guess its corrupts the file or something ..

will check beta 5 now for this issue

edit:

if you have wifi backup in titanium backup you can restore it also
[Defy Android Development] ccav2000:
Yes, booted successfully. All settings remain, I only had to select my Baseband again (I use UK).

To recap: flash fix.zip, reboot, flash beta 5 and gapps and then reboot, you're set!
[Defy Android Development] edition-:
mine took about 5,6min but is fine :)

Upgraded from 4.1.
[Defy Android Development] alberson:
There is one already, at the end of the post.
[Defy Android Development] gubshi:
I did succeed, no wiping. Just the fix.zip. booting takes a long time, and you have to flash the gapps again.
[Defy Android Development] lanfearxt:
So no need to lose all your apps and data?

I hate backing up apps and restoring them one by one. Any apps to do so?
[Defy Android Development] alberson:
Downloading the beta 5. Thanks for the info.
[Defy Android Development] racca:
1. did i say i REMOVED it? sure it has its usefulness. but relying upon someone else's work WITHOUT explicit license agreement may cause trouble down the road somewhere.

2. just to be clear, i was unhappy about the "tar" approach. it's not easy to modify zip files and it's not compatible with old bootstrap, or CwM 3.0+ we might have in the future.
[Defy Android Development] viper.:
Titanium Backup

https://market.android.com/details?id=com.keramidas.TitaniumBackup&feature=search_result
[Defy Android Development] racca:
titanium backup
[Defy Android Development] edition-:
Titanium backup is the best, but you don't lose any apps during this upgrade, just follow Quarx steps
[Defy Android Development] thiagold:
Should I do WIPE before go to beta 5 ?
[Defy Android Development] edition-:
If you are already on 4.0 or 4.1, just flash the fix.zip provided by Quarx, reboot and then flash beta5 and gapps

no need to wipe :)
[Defy Android Development] racca:
it doesn't concern you if you can only see it that way.

the original zip is

incompatible with certain Bootstrap/CwM

incompatible with future CwM 3.0+

you can't edit it with ease

it uses bootmenu to initialize the system where as i think it's not proper to use it for that as of its current state

installing Sndinit is one step more than Bootstrap as i understand
[Defy Android Development] WIIstpM:
BugList:

- Microphone when the speakerphone is not working.

I don't understand this error...

Can anyone explain me this??

Is this bug present in Beta5??
[Defy Android Development] AkkiandDefy:
Only at some or maybe just one people
[Defy Android Development] maniac103:
Quarx,

can you perhaps post a short readme on how to create the update.zip from the files generated by 'make'? I need some custom patches for my BT handsfree to work, and it would be great if I could make my own ROM version.

I also had a look at the files posted by racca, but am not entirely sure what exactly to do there either.

Thanks :)
[Defy Android Development] neival:
happens to me too
[Defy Android Development] supergenio2:
to me works fine.....
[Defy Android Development] playboyfunny:
Which Baseband Version should i take?
[Defy Android Development] WIIstpM:
okay :) I just hope that I won't get this bug when I'll install CM7 this weekend!
[Defy Android Development] Dude-01:
And no .wma file support at all. Sad, that i cant listen to my music...:(
[Defy Android Development] alberson:
Just flashed new version and got a message in recovery

Cant access \recovery.log

Here's what I did:

Flashed Fix.zip

Reboot

Reboot into recovery

Flashed CM7 and GApps

Now it's in CM7 loading screen, hope it goes well.
[Defy Android Development] playboyfunny:
Why the Facebook APP doesnt work?
[Defy Android Development] edition-:
works fine here, did you reflashed google apps update.zip?
[Defy Android Development] playboyfunny:
I#ve reinstalled Facebook App and now it works
[Defy Android Development] ccav2000:
That error is normal, I got it too. You must be OK.
[Defy Android Development] Jakethepeg:
anyone having problems with the fm radio? or am I missing something.

Just sticks at the is loading menu for me.
[Defy Android Development] ephumuris:
Will test for you now...

On a side note have you tried the TuneIn radio app? Awesomesauce it is.
[Defy Android Development] ccav2000:
I just tried it, works fine here. It was already working with beta4.1 + update for me.
[Defy Android Development] alberson:
Yup, it's fine. Working like a charm. I will test the GPS fix previously mentioned now.
[Defy Android Development] r3flux:
FM Radio

Same here on Beta 4.1

I'll try upgrading to Beta 5 and let you know if there is a difference.
[Defy Android Development] DOCIOHN:
Same here; FM- Radio sticks... I'm on Beta 5. The rest works perfect.
[Defy Android Development] Rhyr:
I've installed the radio fm app of stock droid and works really fine!!!
[Defy Android Development] ccav2000:
I'm reading the thread since it began and one thing I don't get is why some bugs appear only to some people and not in others. I wonder if there are hardware differences, besides the known difference that we already know, newer production models have better camera.

Some people suggested that the base sbf may affect things, but seems an unlikely scenario, the kernel is included in the CM7 zip.

Anyway, I'm not a dev, I hope eventually all these problems will be solved.
[Defy Android Development] Jakethepeg:
must be cavv, everything else works fine.

Cheers for the tunein radio tip Ephumuris, thats soo much better than stock radio :D
[Defy Android Development] ephumuris:
FM works for me too sorry mate lol. Yeah tunein is sick although I only ever bang on radio one.

On a side note beta 5 is butter.

Sent from my Defy on CM7 Beta 5.
[Defy Android Development] FrozenData:
I miss the stock camera. :(

It had the ability to flash before taking the photo when it's dark to focus properly.

Today, I took so many picture in a pub and all are out of focus since it can't see what to focus on.

Is there any 3rd party app or something which can turn on flash and the focus and take the picture?
[Defy Android Development] abhi.eternal:
Try Vignette... Demo | Paid
[Defy Android Development] alberson:
The cam recorder doesn't focus. It seems to be in "macro" mode when filming. I'm uploading a sample to YouTube, will post shortly.

Link: http://www.youtube.com/watch?v=IZKW9J5x_2A
[Defy Android Development] xtrmshadow:
Hey Chaps,i just flashed This ROM and looks great ^^ Just one problem,Camera and Videos >< , Photos are taken,video is recorded but i just cant see the previews :s I got no idea what camera i got but i cant see the preview nor any movie on my phone.Guess its a decoder issue.

Any tips?Thanks :3
[Defy Android Development] pinkllama:
hi all,

i'm currently on [ROM]JBoogie3 BlurGinger (4/9/2011) which is based on the korean rom.

i've installed and enabled 2ndinit.

when i decide to flash cyanogenmod7 do i just follow the instructions below, or do i need to flash a nandroid/sbf first?

1. Copy *.zip to sdcard

2. Reboot your device in BootMenu/ClockWork

3. WIPE (wipe data/factory reset + wipe cache partition)

4. Install the *zip

5. reboot
[Defy Android Development] Dodge93:
Multiupload-Mirror

Nice Work!
[Defy Android Development] AkkiandDefy:
Seems like i must wait because I need RIL and Video

But cool that you will add 720p camera
[Defy Android Development] quzo:
Fast mirror

http://kabacior.pl/update-alpha2-cm7.0.0-15.04.10-Defy.zip
[Defy Android Development] zjfgavin:
I'm glade to see the alpha2 released,but i really need RIL worked for normal use

Waiting for your next update,thanks

My English is poor ;(
[Defy Android Development] adi4motion:
i'm trying it now...seems very promising...i can't wait for ril
[Defy Android Development] breezasib:
Great work!

Will test Alpha2 with my bluetooth parrot car kit tonight.
[Defy Android Development] fabianowerner:
Do calls work on Alpha2?
[Defy Android Development] demolition23:
No..we have to wait a little for that..

Sent from my MOTO Defy :-)
[Defy Android Development] f4lkon:
Lol everybody is talking about that ril is not working and you ask if calls are working....no words for that. @ master Quarx: Photo preview is not working for me in alpha 2
[Defy Android Development] zjfgavin:
it's very fast,even i'm in china,thank u very much
[Defy Android Development] Quarx:
Try reboot with 2nd-init by default/auto (not choose manualy).

It bug 2nd-init...
[Defy Android Development] m11kkaa:
Thank you very much for alpha2!

Only a few things:

- At first boot the system music player crashed, and usb wadn't working. Second time everything worked fine.

- I have to manualy select 2nd-init, otherwise it hangs in Motos bootlogo.

- Instead of the Cyanogen bootanimation there is only a black screen while booting
[Defy Android Development] ofmb:
there's a new version for Android BootMenu v0.5.0

http://cafe.naver.com/androiders.ca...19929459&search.menuid=461&search.boardtype=L

i don't have access, but they read your posts here.

you can ask for it on the first message and someone will send it to you, me, or post it here.
[Defy Android Development] adi4motion:
same here...
[Defy Android Development] qwerttaa:
给力!牛逼!

my xt702 was broken

so i want to buy a defy now

3 days later, my defy will be come in

at that time, i hope ril is fully working

maybe somedays this rom will be final

maybe miui team will be join in

in 中国, lots of people using defy now

lots of people will know a big man named Quarx :)

thank you

and f_pasha, thank you too
[Defy Android Development] Simplestas:
Making RIL work took month of several developers' work for Milestone. You're too demanding people. Quarx is really being an altruist while he could make some decent money on this :p
[Defy Android Development] fabianowerner:
if i know what RIL is i wouldnt ask. thanks for your polite answer.
[Defy Android Development] m11kkaa:
I know, that RIL is much mor important than that, but I fond a new bug:

If the Zoom in the camera-App is set >=5, the preview looks very crazy.
[Defy Android Development] Simplestas:
That's camera library bug which is noticeable with lgcamera on stock firmware, too.
[Defy Android Development] ofmb:
If someone else had force closes on android.service.media like I had..

You should go to settings- applications - manage - all - media

Then clear data

Restart twice

then everything will work
[Defy Android Development] gled:
b5 is a great update, mp3 bug is gone, photos are saved, flash led works, fm radio works.

wifi still doesn't work with french FREEBOX router ( but it may be related to http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=147#c24, since we can't access that setting I can't test ).

noticed it's a little bit slower than beta4 (1404 instead of 1721 in quadrant) but it should be related to the underlying system.

Did no test on GPS.

A big Thanks for the improvement !

Edit: No more speed issues after a few reboot, I forgot about the time for things to settle ;) same perfs as beta4
[Defy Android Development] alberson:
Oh yeah! My ID3 tags aren't messed anymore! :)
[Defy Android Development] adi4motion:
press menu when on stock camera and check pre-focus;)
[Defy Android Development] mick711:
GPS work very very well for me much better than Beta3 because in Beta4 4.1 GPS bug, first fix less than two minutes ;)
[Defy Android Development] xtrmshadow:
Also i should say that neigher in Games i cant see the intro videos (Neigher GameLoft nor Game's own Video). So yep,its definetly a Codec problem.

Anyone know anything about this?:p

Thanks in advance

EDIT : Magically it works now o.O After 2-3 reboots,all is well ^^

A bit laggy in ADW Launcher EX i must say tho,but i guess it has to settle down,thanks ^^
[Defy Android Development] adi4motion:
I'm very happy with this Rom, very nice and smooth till now.

- same old video playback missing frames and jumping backward bug (and video recording a bit choppy) - i've played a Xvid video (house md episode) with mobo player and played very nice, not skipping frames

but everything seems to be working just nicely...i'll test GPS navigation tomorrow

GPS workes for me before too but navigation was laggy...let's see this time:) fingers crossed
[Defy Android Development] rrhg:
Hi

If i'm doing clean install, how about fix.zip ? Directly flash beta5 after wipe or need to flash beta4, beta4.1, fix.zip and at the end beta5.

Thks

Sent from my MB525
[Defy Android Development] je198ß:
RSD?

Moto-Recovery: Wipe

Then flash Nordic. Root. Install Defy 2nd Boot. Wipe in CWM. Install Beta5. Install Gapps.
[Defy Android Development] rrhg:
I'm on sbf 3.4.3-11

Ok i need 2.2.2 nordic before beta5.

Thks.

Sent from my MB525
[Defy Android Development] FrozenData:
Does what i want, but the flash is weak with this app. Any suggesions?
[Defy Android Development] FrozenData:
That doesnt turn on flash while focusing. :(
[Defy Android Development] rrhg:
But Nordic is essential ? Can i stay on 3.4.3-11 uk ?

Sent from my MB525
[Defy Android Development] adi4motion:
really?! for me it does:-??
[Defy Android Development] Kaffeekranz:
Meh.. I flashed fix.zip directly before the new update and I got the error.

I guess I should have booted the phone once after installing the fix.
[Defy Android Development] drsouly:
try redownloading the zip-file
[Defy Android Development] FrozenData:
Yeah, it takes the photo with flash, but doesnt focus with flash on.:(

Works For others also?
[Defy Android Development] binodnepal:
I am on the UK one not Nordic and no issues at all.
[Defy Android Development] rrhg:
Great i'm staying 3.4.3-11. Report install after downloading beta5 and new gapps.

Thks

Sent from my MB525
[Defy Android Development] alberson:
Faster fix never opens, even after I've updated busybox. Run GpsFix and now GPS fixed after 30sec or less. A-gps would be great, though.
[Defy Android Development] drsouly:
getting 100% cpu usage with beta 5...
[Defy Android Development] Kaffeekranz:
I had to reflash with a Froyo Rom anyway, because I was stuck in bootloop afterwards.

So at least I just have to flash one file now.

/e Though now I seem to be stuck in a constant loop, no matter what Rom I flash.
[Defy Android Development] binodnepal:
Try data wipe cache wipe. Get into defy recovery and do the wipe.
[Defy Android Development] racca:
I'm seeing a very peculiar behaviour with beta5 (or maybe it was in previous betas too), when wiped with some versions of stock recovery, I'm stuck at M logo. So I went straight back to the oldest one I can find, the one from uk2.21 eclair, wipe again, it boots without any issues.

ps. I know it's not 2nd-init related since you might have figured out -- I don't have bootmenu.
[Defy Android Development] Kaffeekranz:
I figured that out on my own, and indeed, the phone worked again.

Though that's been the first time something like this happened to me.
[Defy Android Development] businessman9:
web market on pc said i dont have a device with this account?!
[Defy Android Development] Zinshin:
So...

I got cocky, and flashed Beta5 without seeing the .fix zip (I was on the XDA app, the text is so small heh). And lucky me, I haven't done a back-up of my stuff in like over 2 weeks. -sigh- No one's fault but mine.

As I'm redownloading 3.4.3-11 from Pays-ROM, (the nordic rom is down?) I'm wondering what .sbf is the majority of the people here using? What .sbf did Quarx base CM7 on?

Maybe a poll should be made?
[Defy Android Development] alberson:
What drivers are you using for RSD? After I flashed CM7 my device isn't recognized anymore. Alway fail to install MTP Device and phone keeps changing into Portal & Tools mode.
[Defy Android Development] gled:
Quark is on UK 3.4.3-11

I'm on fixed only 3.4.2_177-05 without any issues now, everything said to work does as expected ( minus some undiscovered bugs ;) )
[Defy Android Development] zzj0402:
I do not know where you pop up the idea of saying me calling Quartx a nerf.I am just replying to the person who attached a link from China claiming that the dude there would develop a CM7 mod on Defy.A fully jive who just steals CM and Quarx.I DO think there is something massed up with your interpretation and your imagination herein.

If you call IE in Windows a feature,then comercial addons inside MIUI,which remods CM abit and shamely claimed that everyone should flash it,are great FEATURES then.Everyone can add better ones from the Market.I do believe that a person,who add some staffs,even their commercials, to mods from other dev(like Quartx)then release a new "mod" frogetting its original name"CM7 by Quartx",is the one who deserves veges and eggs throwing at.Indeed,they want the shemering fame or the shiny more than the convinience to the commue."Dude,look,I make a mod""If you want a premium,buy a serial from my mod store" I wanna say,everyone,who is able to flash something inside the rom and to restore it as a zip,can release a "mod"in this style.So,plz stop fooling around if there is no fruit inside your shiny"mod".We would not donate to a deceiver with idea brain-damages the noob.

Devs pay efforts to their mods,whether violating the overprotected copyrights or not.People should regard those devs' payment and should NOT repack their works into theft's delights.