yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] Pottkopp:
wifi isn't working correctly for me on latest build.. defy says all the time "connecting" but doesn't take the next step.. (WPA/WPA2 network - Fritz! Box)
[Defy Android Development] erickxd:
I'm having the same problem here.

I give wipe date, 2x and yet still does not work.

Have also deletes the folder wifi, but did not work.
[Defy Android Development] RGB17:
Working fine here.

In fact all wifi functions are fast and smooth, good wifi driver update Quarx this end :good:
[Defy Android Development] sevenrock:
If the card is NTFS-formatted then it is a known problem.
[Defy Android Development] z3ro-grav1ty:
Unfortunately, I still have an SD card problem as I did when I was using ParanoidAndroid.

Basically I can't flash any updates from custom recovery as it can't mount the sdcard :( (I'm fairly sure the card is FAT32, because I formatted it whilst I was on ParanoidAndroid and had the same problem)

So for me to switch to Quarx's JB, I had to flash full sbf, then root my phone again, then install 2nd-init, then flash Quarx's build. And I don't want to have to keep doing that each time I update :(

Any ideas?
[Defy Android Development] ebol94:
I tried last nightli and wi-fi still don't work properli
[Defy Android Development] fairxda:
Maybe the following from User Danetsky could help.

Look ...

http://xdaforums.com/showthread.php?t=1852995&page=119

Edit:

I got some wlan abruptions.

So I had to reconfigure the wlan-section from my router in this way as User Danetsky told.

Will see and report ...

Edit 2:

User Danetsky again:

Oh yes ... The same here. Lol.

Edit 3:

After wlan abruption through Standby-Mode, wlan didn't come back automatically.

I had to go to wlan-settings, then wlan starts again.

???

Edit 4:

With the new wlan-drivers now I can use 802.11b+802.11g+802.11n. Before only 802.11b+802.11g.

But changed it again. Something wrong with. Very slowly, but should be faster.
[Defy Android Development] Husi10:
It don't work for me too.

I tried with WPA-PSK and open WiFi, with DHCP or static, stuck at "connection".

I have the same MAC address of you.
[Defy Android Development] XJeFX:
Latest release: WIFI not working.

Networks scan takes 30+ seconds to show results, when u try to connect a network it stays on "connecting".

Only 1 time I get it to connect (setting phone next to the router) but it got disconnected a few seconds later.

Something is wrong with the wifi signal strenght, just siting on my room as always says my network connection is "out of range", randomsly it "found" the network but stays on connecting.

Note: On settings "Wi-Fi region code", no matter what region u select it always go back to "europe". Some regions (like mine, Argentina) is completely missing.

Note 2: My defy now has the same MAC address as other users reported: "c8:aa:**:**:ce:46"

Other than that, rom seems really nice and fast!
[Defy Android Development] dereckzh:
updated from 3.18, the wifi is working after delete the /data/misc/wifi. My router mode is 11b/g mixed, wpa-psk encrypt.

but as the others reported the mac address became "c8:aa:**:**:ce:46".
[Defy Android Development] sepp.:
MAC address for wl12xx

from TI E2E community:

:rolleyes:

Edit:

So nvs file is actually /system/etc/firmware/ti-connectivity/wl1271-nvs.bin

and if you want (or need) another mac address edit the first bytes (marked red) with an binary editor:

0: 01 6D 54 46 CE 95 21 01 71 54 AA C8 00 00 00 00 .mTF..!.qT......
[Defy Android Development] ccav2000:
WiFi seems to work here, but with problems. Most notable, if I move to another room in the house it dies although it still appears connected. It only works in the same room the Access Point is located. With the old driver it was working in any room of my house. It seems that the new driver fails to adjust its speed and/or it's transmit power for weaker reception/larger distances from the AP. A WiFi that works only close to the AP/Router is not of much use, is it? This needs to be addressed.
[Defy Android Development] Bé Yêu:
Wifi can't work with last version 20130324 for me . Connecting ..... Scanning ...... connecting...... scanning ......loops:confused:
[Defy Android Development] bone101:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

Wifi work, but no icon in status bar before connection is established

MB525 red lense q.jb cm10
[Defy Android Development] ccav2000:
Took a look at Quarx's git, he added an nvs generator that also fixes the mac address issues. I just hope it also fixes the issue with the Wifi not working if you go far from the Access Point.
[Defy Android Development] sepp.:
Sorry for my dumb question: What is a

?:confused:
[Defy Android Development] niksy+:
It creates the NVS file (the file that contains the MAC address) after reading the MAC address of your chip.

Latest build is working great for me. Did a completely clean installation and no folder deletion was necessary, WiFi works great and so does the rest of the system :)

(p.s. 24/03 JellyX is available, too, and it's great, as well :) )
[Defy Android Development] FcukBloat:
just a question showing my deep ignorance :D (and I am not judging quarx's work or trying to tell him what to do of course, I'm just curious..)

why making new builds with new wi-fi driver (that has always worked fine for me in previous builds) when there are other (I think) most important things that could be fixed? (for example data drops, video recordig, battery consumption etc)

someone of you know that and can explain me?

I am asking this because for example I am still on 10-jan build + 21.01 cfs JellyX and it is simply great, the "only" problem are the frequent data drops.. but a part from this the build is wonderful! I would like to find last build with really stable connection.. if one exists of course.. and actually it is still not clear to me if it it a motorola bug, carrier problem, baseband problem or what else (I would exclude baseband problem as I tried default center europe and italy one, as I live in italy, and both give me problems, also soon I think I will be able to exclude also the carrier as I am switching these days from wind to 3.. will see if problem continue and in that case I will be able to exclued also the carrier I guess.. will report if someone is interested)

again I don't intend to offence or judge anyone, just making a consideration!
[Defy Android Development] popcorp:
With the new build i have about 33 % packet loss when pinging an AP sitting about two meters from me. According to the iwconfig, mode is abgn, but the rate displayed fluctuates between 1 - 5.5 Mb.

But it seems the response time crippling use of VoIP on my cell definitely improved.
[Defy Android Development] shangjiyu:
cm10.1 with 2.6. kernal is coming~~!

see title
[Defy Android Development] kapil_dheer:
While in custom recovery, there is mount and storage......select to mount the sd card.......the card mounts.......no need to go this long way.....hope it helps
[Defy Android Development] Quarx:
New build uploaded.

Some fixes in wifi, fixed MAC, WiFi-direct implemented:)
[Defy Android Development] Tjunkustc:
after install "After first boot: remove /data/misc/wifi and reboot" ,this also need?:fingers-crossed:
[Defy Android Development] Quarx:
If you already has wl12xx(previous build) or wipe, no need do it.
[Defy Android Development] Blechd0se:
Quarx, did you reverted to a .9 Kernel? If yes, do i need to change anything related to the kernel to bring it to .60?

Apart from your wifi changes, do you plan to support genlock in your roms? I did some commit about that, may be a better ICS&JB compatiblity;

https://github.com/Blechd0se/jordan-kernel/commit/b874df9f7fceb141a08d6d33ec67aea66ee09c67

Also i was able to compile our kernel with a newer toolchain, but couldn't get it to a booting stage, maybe something interesting for;

https://github.com/Blechd0se/jordan-kernel/commit/36e1388927ba737780e0c27a57aa0fbb0ba99bba

Just wanted to share it in case it helps somewhere.
[Defy Android Development] Tjunkustc:
get it~Thx!
[Defy Android Development] Quarx:
Yes, new build on .9

I read about genlock, but it's for adreno libs, not sure if this makes something on powerVR.
[Defy Android Development] Blechd0se:
Its designed mainly for graphics buffer in general, but could be also adapted to other resources. May something interesting since 3.0 still needs some work and a better jb compatibility doesn't harm :)

So if i want to use wifi direct with a .60 kernel i need to compile the hole rom?
[Defy Android Development] Quarx:
Yes, agree, anyway this not breaks anything.

You need just compile wifi modules for .60 :)
[Defy Android Development] sunnysays:
@Quarx i just installed your new build and did the same as you told but my wifi is not able to connect it just tells connecting.... i have deleted the data/misc/wifi after first boot and rebooted but of no use... wifi not able to connect

wlan0: direct probe to 00:15:c1:d6:fe:dc (try 1/5)

do_cmd_proc_msg: Acquisition cycle length overflow

wlan0: direct probe to 00:15:c1:d6:fe:dc (try 2/5)

wlan0: direct probe to 00:15:c1:d6:fe:dc (try 3/5)

wlan0: direct probe to 00:15:c1:d6:fe:dc (try 4/5)

wlan0: direct probe to 00:15:c1:d6:fe:dc (try 5/5)
[Defy Android Development] measel:
I think it could help Quarx if a log would be attached.
[Defy Android Development] sunnysays:
can u tel me how to fetch the log :confused:
[Defy Android Development] measel:
I use catlog. I know it can be achieved differently via ADB shell, but for me catlog is the simplestest ;)

Ah and Q asked for dmesg as well (open terminal and type dmesg): http://xdaforums.com/showpost.php?p=39514283&postcount=15969
[Defy Android Development] ennarr:
Tried all the builds with new Wlan driver... but still cant connect to my wifi network :(

it tried once or twice to connect, and then shows my network unavalaible!
[Defy Android Development] sunnysays:
Tried the new build too still facing the same problem
[Defy Android Development] mr_5kool:
Can't connect, too

Deleted data/mics/wifi, but it only shows "Connecting..."
[Defy Android Development] sunil_defy:
the gallery app works with shuffle all images..but not with the single image or even "an album" seems to be a bug not addressed so far.
[Defy Android Development] ccav2000:
Updated to the latest build of March 25th, Wifi is still very unreliable when moving away from the access point. The driver fails to compensate for low signal situations by dropping the link speed and increase the transmit output.

---------- Post added at 04:47 PM ---------- Previous post was at 04:36 PM ----------

Update: it appears that it does drop the link speed, and the problem appears if the speed drops below 11Mbps. Perhaps some issue with the transmit power or incompatibility with the slow link speeds.
[Defy Android Development] Quarx:
Need check params in /system/etc/wifi/TQS_D_1.7_127x.ini TQS_D_1.7.ini

Maybe something wrong.
[Defy Android Development] ccav2000:
Ok, if you find anything we can test by changing the .ini files I'll be glad to test it.

One other thing I noticed, when the WiFi stops working while still connected, if I turn it off and back on, the network is not detected. I have to go closer to the access point for it to be detected. It's like there's a filter which cut off all signal below certain db, but that filter is badly configured.
[Defy Android Development] Proverbs2:
Forgive me if this is a dumb question, but have you tried un-checking the 'avoid weak connections' setting under wifi advanced settings?
[Defy Android Development] ccav2000:
Better to ask than having doubts. The answer is that I always make sure that check box is always unchecked. I'm using the same exact settings as before the builds with the new WiFi driver.

---------- Post added at 05:48 PM ---------- Previous post was at 05:38 PM ----------

One thing I forgot to add: my Access Point is a 802.11n one, supports speeds up to 300Mbps. The DEFY correctly connects with HTMIX to it but has the problems mentioned.
[Defy Android Development] ofmb:
maybe try to put the AP in b/g only mode. defy always had problems with N networks.
[Defy Android Development] ccav2000:
Actually I never had a problem with my Access Point in N mode with the Motorola drivers. I can try to set it in b/g mode for test, but cannot leave it to b/g permanently, there are laptops connected to it that need the speed.
[Defy Android Development] ofmb:
that's reasonable not to leave it like that, but doing it just for few minutes could narrow down the root problem.
[Defy Android Development] ccav2000:
I just tried it. No difference in behavior at all, when the signal strength drops below a certain range the WiFi is useless, used to work with the previous driver in the same spot though.

So using 802.11n is not the issue.
[Defy Android Development] Krokogator:
Confirm, WIFI is useless at low signal (even with 2 bars showing on my WiFi icon). It doesn't connect when signal is weak (when earlier build works like a charm), but when you move closer to Router and then go back it stays connected (unfortunately WiFi is useless then, it stays connected but transfer is equal to 0 )

PS. Big performance boost comparing to 07.03 build.
[Defy Android Development] 2Pints:
Battery life also seems to be signifficantly shorter using this version ( as opposed to previous ) - thats with Wifi off, and 3G on ( no access to wifi, or 2G )

biggest culprit : Android OS
[Defy Android Development] bone101:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

No wifi problem with older gapps

The newest gapps break wifi

Now i have gapps 20121102 with no wifi problem
[Defy Android Development] Sir Flashalot:
g/n works on reboot w/ wifi enabled. Dis/Enabling causes it to toggle between Not in range, Saved and and finally Connected after a long time authenticating. Still connected after screen off/sleep. On second enable it works almost instantly. On third it's dodgy again but still connects..
[Defy Android Development] Franivelius:
Awesome new update! Is camera rec fixed now?
[Defy Android Development] gkkovacs:
No, of course it's not. It has not been touched for half a year I think.

For some reason Quarx nowadays likes to fix things that aren't broken (like wi-fi or rngd), and disregards major problems that are unsolved for many months, like:

- unstable and low quality camera recording

- high battery consumption by Android OS (usb driver wakelock, even if usb is not used at all)

- heavy lags after a day of uptime (system_ui / system_server memory leaks)

- mobile data and call disconnects

Don't get me wrong, I respect Quarx (and all the other devs) for putting a lot of work into CM10 on the Defy, and don't want to tell them what to do in their free time. But imho CM10 is now bigger than a single developer, it would need the combined effort of more people to go ahead, both in controlled testing and bugfixing.

But it seems that instead of cooperation (prioritizing tasks and dividing up between them), everyone just goes alone, creating unplanned, untested and incompatible forks of an otherwise great project (Epsylon, Quarx, YAFU, sevenrock, Blechd0se, Kayant, etc.). It's sad to see a lot of this talent and energy getting wasted...
[Defy Android Development] TJKV:
About the camera, He has mentioned somewhere what the problem is and that it can be fixed only in CM10.1 with the 3.0.8 kernel. Search his posts to see what I am talking about.

Second one, again Quarx has said something about that before. Search it out and see for yourself. As far as I can see, battery life is good in general irrespective of what is being reported under the Battery usage details.

The third one is a problem.

Fourth one (I'm assuming you are talking about the RIL bug) is definitely Motorola's fault, pretty sure Quarx can't do anything about proprietary stuff needed for our phones and any bugs that come with them. Read into the issue and you will see that I am talking about, for example that the problem exists on Froyo ROMs too, and Motorola's solution was to automatically reboot the phone without warning.

So that is just one problem you are talking about now...nothing worth complaining about in the dev thread.
[Defy Android Development] z3ro-grav1ty:
I have done this multiple times and each time it says E:/ can't mount storage (or something along those lines) main reason I changed to Quarx was to see if the error still persisted and it did.

Here is a thread I started back in Q&A when I first had the problem with Paranoid Android : [Help]Flashing zip files off sdcard

When I installed second init, the bootmenu screen was blue and the custom recovery was orange. After flashing a custom ROM, the bootmenu is blue but with touchscreen interface and the custom recovery in blue as well. Is that the problem?

Main reason I'm asking is otherwise I'd have to go through a really long process just to update the ROM (or change it ._.). Should I change to a different bootmenu/custom recovery? Mainly, how do I do that?

Also @people with camera problem, My camera and video recording work fine?! What's the problem with it?
[Defy Android Development] gkkovacs:
Regardless of how you try to downplay these issues, they are real problems.

- Video recording worked fine on Gingerbread, MS2Ginger offered amazing 720p video recording and playback, I'm not sure why we can't have that if we are running the same kernel (or at least a kernel that's based on the GB kernel)

- Battery life is just as bad as the stats are saying: on Gingerbread, I was able to get 2 days of uptime, on recent CM10 releases I have to charge 2 times a day. Hardly an imaginary problem.

- I'm not sure it's the RIL problem, I'm talking about a multitude of call and data connectivity issues (spontaneous hangups, data drops, weird sounds, etc.) that actually got a bit better lately.

But what I was actually complaining about was not the issues themselves: I was expressing my dissatisfaction over the fact that the developer community was busy creating different forks of CM10 (everyone going alone) instead of cooperating on solving these problems.
[Defy Android Development] Quarx:
Abot video rec.

Android 4.x uses new api of camera, moto libs uses gb api, which not available in 4.x. Our camera closed libs used deprecated color format and we convert color in realtime, this uses so much cpu and it's cause lags in video recording.(encoding+convert).

About RIL, data drops.

Our moto libs is closed and writed for gb api. it's cause many problems in debug.

I'm sure that moto roms has this bugs too, but moto made many workarounds in fraemwork.
[Defy Android Development] cyrusct82:
About the RIL bug.

The problem exists in every Rom: stock, CM7,CMX,CM10......Every Rom that I have tried till now.

It can be solved only with bp_panic daemon(auto restart) already implemented by Quarx in CM10.
[Defy Android Development] TJKV:
Looks like Quarx explained the problems himself above.

Well yes sevenrock and YAFU have made forks but that was specificaly to iron out the audio bug. And they did just that, even squashing some other bugs. Now I can't speak for them but they never intended to continue putting efforts into their forks and provide full fledged nighlties llike Quarx does, their goal was just fixing some specific bugs. So they only contributed and helped Quarx. Which is also what you apparantely want them to do, so what's the problem? :)
[Defy Android Development] sunil_defy:
wifi problem persists.. as for the directory /data/wifi it doesn't exist on my phone ?
[Defy Android Development] ccav2000:
Wrong path, it is /data/misc/wifi/.
[Defy Android Development] sunil_defy:
no..the /data/ doesn't contain the misc folder itself...

it just has imagedownloaded
[Defy Android Development] ccav2000:
After a fresh battery charge overnight, today the DEFY seems to drain too much battery with the 25/03/2012 build. 20% in 2 hours. This is much higher than usual, and in the stats the culprit appears as "Android OS". I'm suspecting the new WiFi drivers, or some other new change in the kernel.
[Defy Android Development] fairxda:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

Battery overnight only 2% in ca. 5 hours. Batterydrain seems to be very different ...

Working with WLAN: In 15 minutes 3%.
[Defy Android Development] eugenchr:
For mi kernel 9 is most

batery frendli

25-03 build

Defy+ bl7
[Defy Android Development] sepp.:
CM10-20130325-NIGHTLY-mb526

and with latest build:

<3>[ 19.431793] init: cannot find '/system/bin/bp_ptc', disabling 'bp-ptc'
<3>[ 19.509399] init: cannot find '/system/bin/panic_daemon', disabling 'panic_daemon'

:confused:
[Defy Android Development] ccav2000:
Let me add that the battery observations I mention are with WiFi and 3G always on. Android OS keeps the device awake. Could be because this was a clean install and the battery daemon needs to record the battery stats. If that is the case, it should go down after the next charge. Have to wait and see.
[Defy Android Development] javlada:
I have exactly the same problem. Using one of the recent builds there is an extreme battery drain caused by "Android OS". My phone won't even last one day with normal usage (a couple phone calls and 1 hour of browsing/e-mails/games). But I think this already happened with the 18/03 build. I'm not sure if it already contained the new wifi drivers.
[Defy Android Development] woodman:
18/03 build does not contain the new wifi drivers. Quarx created a branch called 2.6.32-wl12xx. His first ROM from this branch was 23/03.
[Defy Android Development] javlada:
In this case the battery drain is not caused by the WiFi drivers but something else. Do you have any how can I find out what is causing it?
[Defy Android Development] sepp.:
I was a whole week on 0318 and had no issues with battery drain. 2G/3G/WiFi in use and a whole week at work.
[Defy Android Development] woodman:
Apart from reading carefully previous pages on this thread ("Android OS" on top of batt stats is an old observation), I don't know how to find out the cause. In my case I already had "Android OS" on top in recent builds but despite this, my battery consuption was normal !
[Defy Android Development] FcukBloat:
I don't know how that bp_panic daemon works exactly, but if that workaround really reboots the phone always in case of data drops, I don't find it very useful.. I mean.. I have many data drops here on my phone during the day, the phone would have to reboot at least 4-5 times a day! not a very good solution..

Also considering I am on 10th Jan build + 21.01 JellyX and when the data drop occurs, 80% of the times I can fix the problem just toggling airplone mode on/off and switching data connection 2g/3g sometimes..

@ quarx: thanks for the explanations on both bugs, especially the video rec. so it seems there are not so many chances to fix that because of the closed api's, I didn;t know so I can almost resign myself.. I thought it was just a pending thing in the todo list and you were focusing on other problems just because they were someway priorital for you.. pardon me sir!
[Defy Android Development] measel:
That is not how the panic daemon works. Instead the phone reboots ONLY in the condition where the telephony is totally lost, not only the data connection. So you cannot call and noone can reach you, you don't get text messages and so on. (yes and than the data connection is lost as well ;) )
[Defy Android Development] chrisul:
Big Wifi connect problems at 24 and 25 mar.

Hi,

update my defy green lens from 20130318Nightly to 24 and today to 25 Mar. but very unstable wifi-connection. By the last 25Mar. no stable wifi connect.

Go back to 20130318Nightly.

Thanks Chrisul
[Defy Android Development] Quarx:
Some updates with wifi:)
[Defy Android Development] chrisul:
Hi Quarx,

thanks for your hard work but i have many problems to have stable wifi by my defy green lens at:

CM10-20130325-NIGHTL..> 25-Mar-2013 16:38 152M

Wipe Dalvik and Cache....

Chrisul
[Defy Android Development] measel:
^logs + dmesg?
[Defy Android Development] Quarx:
No need logs until next build. I think all problems will be solved.
[Defy Android Development] ccav2000:
Updated to the 26/03/2013 build, Wifi problems are fixed! The calibration tool Quarx added does its job!