yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] beer-p:
Wifi problems

I have been using the evervolv nightly roms for a while now and found that it basicly does everything I need it to exept for 1 issue. The Wifi does not seem to be working correctly all the time. I have been digging around stuff and have some usefull information that I like to share that may eventually lead to fixing the problem.

For starters I have been searching on the xda website and looking at different ROM's and searching comments on them everywhere Wifi-problems are reported and came to the following conclusion:

Here is a list of ROM's available for HTC Desire bravo users:

http://xdaforums.com/showthread.php?t=809328

ROM's are often based upon other ROM's so they can inherit problems from each other.

Some ROM's are based directly on AOSP, others on Evervolv or CyanogenMod.

Both Evervolv and CyanogenMod are based on AOSP.

Evervolv is sometimes borrowing features or tweaks from CyanogenMod (CM), but it is not based upon it's source.

Looking at the different threads I found that those ROM's that are using Evervolv, CM or are borrowing tweaks from CM are having wifi problems.

AOSP-based ROM's do not seem to have Wifi issues.

I am suspecting that some tweak(s) invented by CM developers is causing an issue with Wifi.

Then I have been poking around with options and found that Wifi auto-connect seems to work better when the option of saving power while Wifi is enabled is turned off. This option is found in the 'Wifi settings' where the wireless networks are listed, tap at the right buttom to open a menu and than tap the 'Advanced' menu-item. Clear the checkbox for Wifi optimalisation (thirth-last option).

Unfortunately this does not solve all the problems. A few days ago I disabled Wifi before I went to bed and enabled it again in the morning when I got up. Wifi would not work again, not even when turning Wifi off and then on again. I had to reboot the phone.

At the moment that Wifi is not working, there is no icon shown for wifi at the top of the screen (called the app drawer?). When looking at the networks listed in Wifi settings, my network is there and when I tap on it it shows that I am connected and I have an IP address. So then why is there no icon that shows how good or bad my connection is? Using the browser I get an error net::ERR_NAME_NOT_RESOLVED and no webpage is being loaded.

Knowning something is bad I had to go look at other information and I did so using terminal commands.

Using getprop I found 1 interesting piece of information: "t.svc.iprenew_wlan0]: [stopped]". "iprenew" may have something to do with DHCP?

Looking at 'cat /proc/net/route' when Wifi was not working came up 1 entry (and thus no default route).

After rebooting the phone and connecting to Wifi again, there where 4 entries including a default route that has 00000000 as destination.

Maybe after that DHCP has obtained an IP address, it is supposed to add ip route entries to the routing tables, but if it crashed it cannot complete that process and so Wifi gets stuck without showning an icon in the app drawer?
[Desire Q&A, Help & Troubleshooting] polac:
New theme manager please....!!!!
[Desire Q&A, Help & Troubleshooting] andy47:
With the dialer problem, I fixed this be setting 'Animator Duration Scale' to 0.5 in the Developer options. I had turned all three animation scale options to 'animation off' for a bit of extra performance, without realizing this seemed to affect the dialer, now this is working OK.

Only real problem for me with this ROM is that is doesn't always recognize when earphones are inserted. on gingerbread this worked every time and a 'headset' notification appeared, but Kitkat doesn't appear to do this. it seems to require several attempts to pull/re-insert the connection before the audio comes out the earphones.
[Desire Q&A, Help & Troubleshooting] stark_br:
Happier with my device every new rom version.

Tks Nikez
[Desire Q&A, Help & Troubleshooting] htc_desire_luke:
flashing nightlie builds

how to flash nightly builds..

I managed to download the build, but when I flash it and it goes to recovery, I cant flash it because it doesnt download to sd card??:confused:
[Desire Q&A, Help & Troubleshooting] maxens63:
Download it on your pc, then move it to sdcard. Then put your phone in recovery, do a Dalvik-Cache wipe, Flash updated rom, then flash gapps and finally reboot device.
[Desire Q&A, Help & Troubleshooting] weslyr:
Hi beer-p,

I applaud your research at the wifi problem as i'm experiencing wifi problems with me desire phone too. I noticed that sometimes a wifi connection cannot be made and when scanning for wifi the android system slows down/freezes and no wifi's can be found. But other times (most of the time after a fresh flash of a rom or a reboot) the wifi scan works fine and the connection can be made and works great.

I noticed this problem occurs only when in South America (when I;m in Europe/Holland, then the wifi scan works fine all the time. Could it maybe be a temperature problem? I'm going to put the phone in the freezer to rule this out).

I too noticed that it is specific to certain roms.

I believe wifi is affected not by baseband or radio version, but instead by the kernel version (correct me if i'm wrong).

Therefore I believe we can say that the htc stock kernel is free of the wifi problem aswell as the CM7 kernel (that's based on my experience).

I think the problem mostly occurs with the latest evervolv kernel used in the android 4.x roms (which I'm currently using with the evervolv nightlies).

Do you have the same experiences?

I'm going to see if my catlogs turn out something weird and i'm also going to keep a look at the processes cpu usages during the problem.

I hope we can find something out.
[Desire Q&A, Help & Troubleshooting] beer-p:
I have never been in South America and I am still experienceing this problem from time to time. A reboot always solves the problem, but I don't want to continuesly reboot my phone every so many days.

I started using custom ROM's about 2 years ago and I also updated my radio back then, but never again afterwards. I have used an Android 2.3 based ROM for about a year and never had any problems with Wifi. The problems started when I started using the Kitkat-ROMs. I would agree that the radio version is not the reason for the problems I had with Wifi.

If many other users are not having problems with Wifi on their phones, maybe the problem is related to the access points the phone connects to in combination with the latest Evervolv ROM's? Anyway, I am having the problem on my phone right now.

Here some more information on my phone:

HBOOT-6.93.1002

MICROP-031d

TOUCH PANEL-SYNT0101

RADIO-5.17.05.23

In logcat I am seeing many messages: D/dalvikvm( 594): GC_CONCURRENT free ???K, 63% free 2994K/7888K, paused 3ms+4ms, total 31ms

Don't ask me what they mean. I looked when the Wifi problem was still there and after rebooting with Wifi working and at both times logcat had these messages.
[Desire Q&A, Help & Troubleshooting] weslyr:
I can concur that this problem is not with the CM7 roms nor the HTC stock roms. It seems to be with evervolv kernels only.

Does your phone also become sluggish (almost to the point of freezing) when you're having difficulties scanning for wifi?

I will be reporting with logcats next time too.

Also, does anyone know an Android 4.x custom rom for desire that doesn't use the evervolv kernel? That would be a good testcase...
[Desire Q&A, Help & Troubleshooting] stevesuk:
tethering

Could anyone please confirm whether the latest nightlies have working USB or bluetooth tethering?

Thanks!
[Desire Q&A, Help & Troubleshooting] beer-p:
I am not having problems scanning for Wifi. I can scan for Wifi and all wireless networks are being detected. I can connect to a Wifi network, but the connecting is not working correctly. When I connect to a Wifi network, the 'connection manager' to give it a name is connecting to Wifi and showing that it is connected. When I tap an the network I have the option to disconnect or forget the network and I can see that I have an IP address. BUT! There is no Wifi-icon showing up and Apps cannot connect to the internet.

There is a logical explanation for the problem of Apps not being able to connect to the internet, but it requires some higher level of understanding about networks and the IP protocol. The problem is that the phone should have several entries in it's IP routing tables, but it is having only one. The one entry that is there is for the local network only and so connecting to the internet is not working.

We seem to have different issues with our Wifi. My phone is not becoming slow, but I think power consumption is very high when I have the Wifi problem. If I get the problem in the morning, I need to recharge in the evening.

Anyway if you like to test other kitkat ROM's there are several listed here:

http://xdaforums.com/showthread.php?t=809328

PACMAN and OmniROM are based on AOSP directly and have no immediate connections to CyanogenMod or Evervolv.
[Desire Q&A, Help & Troubleshooting] genseng:
All Desire 4.0+ roms rely on Evervolv' kernel sources (so far as I know) which of course supply the driver modules for wifi. The network manager may come from upstream ROM sources but would likely be only part of the equation.
[Desire Q&A, Help & Troubleshooting] jukyO:
Hi,

Using nightly, latest one.

No issues with connectivity over wifi.

Only issue I noticed is when phone goes out of wifi range, once it gets back, does not connect automatically.

Do you have latest radio/ril?
[Desire Q&A, Help & Troubleshooting] PascalA:
About radio & RIL, I'm not sure "getting the latest version" is a point. Later versions were released, not as existing units upgrades, but as part of the newly manufactured units.

Hence, upgrading to the latest bravo RIL may be an issue itself ;)

Well, here is a question about Evervolv nightlies:

Does it support device and/or SDcard encryption?

In the "Settings > Security" panel, I can't see the related options, I mean not at all (they are not greyed out, they are just not present). Is this because the bravo firmware is too old and that it does not support it? Which is the firmware involved in those encryption features? Is that the RIL one (Android OS encryption would use the cryptographic features of the RIL firmware if so)?

A related non-device specific topic, which is unanswered yet:

http://xdaforums.com/showthread.php?t=2055214
[Desire Q&A, Help & Troubleshooting] kinky127:
Hi, I'm experiencing the same symptoms as you. Currently on n7105 omni rom.
[Desire Q&A, Help & Troubleshooting] PascalA:
** lobbying ** No need to do so, Evervolv is king! ** lobbying **
[Desire Q&A, Help & Troubleshooting] jukyO:
RIL (radio interface layer) does not have anything with encryption featuers.

The name says it all.
[Desire Q&A, Help & Troubleshooting] beer-p:
I have been busy this weekend, but did not give up on finding a solution.

I have just set up a new (second hand) wireless router with exactly the same settings for Wifi. My phone agreed and connected immediatly. So to rule out problems related to the access point/wireless router I am going to use this different wireless router for a few weeks.

Just to share the infomation with all: The old router was a D-Link running dd-wrt firmware, the new one is Linksys with the most recent firmware from Linksys available.

OmniRom and PACMAN have different kernels but are indeed using the Evervolv kernel sources. That means that there are really no ROM's not using Evervolv. I personally really like the Evervolv updating feature so I can keep up-to-date with the very latest firmware. Additionally I can choose for myself which software I would like to use, so why use a different ROM?

To answer the questions about radio/ril people should have been looking the the 'everthing desire is here' thread on xda-developers but anyway.

The latest radio for HTC Desire (bravo) can be found here: http://xdaforums.com/showthread.php?t=687464&highlight=radio

I posted my radio version earlier and it appears I already have the latest.

Updating RIL should not be neccesary: http://xdaforums.com/showthread.php?t=902752: "-RIL FILES ARE STORED IN ROM PART SO IF YOU WIPE & INSTALL ANOTHER ROM, PLEASE NOTE THAT NOTHING STAYS ON YOUR PHONE!"

You could try out different RIL's and see what happens. My version is (and so should yours be if you are using the latest nightly) HTC-RIL 1.6.1062G.

I am thinking the problem is not related to drivers but more to underlying software. The reason for this is that I can alway see all the networks and connect to them. When connected I can see my IP address, but the connection is not properly installed in the network/IP stack or something. Maybe there is a bug in the dhcp or ip routing part of Android/Evervolv. I have found on the web that the previous logcat entry I posted could have something to do with a memory leak, but I am not a software developer. It will require someone with more programming skills to figure it out.
[Desire Q&A, Help & Troubleshooting] Folrot:
Hi,

I'm having problems with flashing gapps.

I'm on AlphaRev Jelly Hboot (250/5/182) from here. I installed TWRP 2.7.1.0, did a wipe and flashed the latest Evervolv nightly from here (nightly-2014.07.16).

When I try to flash gapps mini modular package from here in TWRP, it fails because I don't have enough space on system (it tells me: 217142kb needed, available only 55080kb).

I booted into the ROM and ran "a2sd install" from terminal (which seemed to have worked properly). When I go to settings -> apps -> all, it tells me internal storage 5MB used, 178MB free. Still can't flash gapps in recovery.

What did I do wrong? I'm a little lost :(

Thanks in advance

Cheers,

Folrot
[Desire Q&A, Help & Troubleshooting] Saf98:
http://xdaforums.com/showthread.php?p=34610569

Try flashing minimal gapps but do a full wipe first.
[Desire Q&A, Help & Troubleshooting] PascalA:
Do you have some info regarding video recording working state through the stock android camcorder app?

State seems to be "ok but choppiness". In here, on HTC Desire bravo latest nightly, I can start the app, start recording, stop recording.

But no video file is created under the /storage/sdcard0/DCIM folder and subfolders.

Apps using camcorder are creating 3gp or mp4 files, but opening them with MX Player ends with an invalid file format error message or so. Reading known-valid mp4 and 3gp files through the same video player app works flawlessly.

Note: Some reminder link, for features working state, provided by Evervolv. Can't tell which column matches the current 4.4.4 nightly with a 2.x kernel.

https://docs.google.com/spreadsheet/ccc?key=0AmpI_2Mt5re2dGFtNnA5TFg4WjJnUWx4akhmRnRyYWc
[Desire Q&A, Help & Troubleshooting] kostelo:
This excel sheet is made by nikez and refers to his jelly bean rom only. So none of these columns refer to any KK versions.
[Desire Q&A, Help & Troubleshooting] beer-p:
Hallo everybody. It's been 2 weeks since the last post I made about the problems I have been experiencing with my Wifi connection.

Since that I have been using a different Wireless router with the same settings as the old one.

We also have a laptop connected wirelessly and it had no problems using the old or new router. I did not have problems with Wifi since I have been using the new wireless router. The old router also worked fine when I was still running an older Android 2.3.7 ROM on my Desire.

So it seems that there is nothing really wrong, but my old router and new custom ROM are not working together well.

Any suggestions besides not putting both together?
[Desire Q&A, Help & Troubleshooting] genseng:
Do you have a custom ROM on your router, like OpenWRT or DD-wrt? Check what channel your router is set to use or any country setting. Also check what country your phone is set to (advanced WiFi settings when connected). Might be you have an incompatible country code set in your phone or router. Not all countries allow the same frequency bands.
[Desire Q&A, Help & Troubleshooting] Saf98:
Try beanstalk or spezis carbon rom the wifi is improved so try that.
[Desire Q&A, Help & Troubleshooting] beer-p:
Both the old and new routers where set to use Channel 6 in Wifi and both where using 'Wide - 40 Mhz Channel'. There aren't many other wireless networks in the neighborhood, so interference should not be a problem. Country-specific settings should apply always, but my problem is that it is working often but not always. Still using dd-wrt which has many other options that can be adjusted maybe.

I'll put back the old router somewhere in the next days and try to figure out more.
[Desire Q&A, Help & Troubleshooting] nickolasemp:
In the messages apk, If I change the notification sound to a custom one, then the sound loops endlessly. Is there any other way to put a different notification instead of the system's default?
[Desire Q&A, Help & Troubleshooting] Saf98:
Use a file explorer.
[Desire Q&A, Help & Troubleshooting] nickolasemp:
I am! (ES File explorer). The sound keeps looping unless I put the default one.
[Desire Q&A, Help & Troubleshooting] PuffMaN:
Try using hangouts as message app. See if the problem occurs there

Swyped on my Nexus 5.
[Desire Q&A, Help & Troubleshooting] nickolasemp:
Nope it doesn't occur, you are right. But then, I don't have delivery reports...

Is that a known bug in messages app?
[Desire Q&A, Help & Troubleshooting] PuffMaN:
Meh, it's one or the other :p and no, I don't have that problem, but I'm still on 4.4.3 on my desire, haven't flashed any updates lately, because I had issues with a nightly that prevented me from sending texts. And now I gave u the advice I should have tried myself then.. oh irony. I restored my backup and everything was fine again. Should try a recent nightly, I'll look into it this weekend.

Swyped on my Nexus 5.
[Desire Q&A, Help & Troubleshooting] nickolasemp:
He he. Don't worry. But, yes, please provide more info on the topic.

Evervolv has given a breath of fresh air to my old Desire. It's almost as fast as Gingerbread. I can't try art yet, as some apps don;t work perfect yet and I heavily rely on Xposed framework

Keep up guys and thanks! :highfive:
[Desire Q&A, Help & Troubleshooting] PuffMaN:
So I installed nightly 8/1, in combination with gapps-kk442-20131211-core. Sending texts: ok, receiving texts: ok. No loop in notification sound. Dirty flash over a June nightly.

Swyped on my Nexus 5.
[Desire Q&A, Help & Troubleshooting] spezi77:
Hey there [MENTION=3678722]LaidbackNikez[/MENTION],

I am on latest nightly (ev_bravo-nightly-2014.08.01-squished) and I have observed two small issues with Torch:

- brightest setting not working

- LED turns off when screen shuts down

Both things can be fixed by reverting one commit:

https://github.com/spezi77/android_...mmit/e46cda595cc7b4b2fa5d45e0bba075e519869707

Other than that, I would like to personally thank you and your team for keeping our Desire alive and kickin on Kitkat! :highfive:
[Desire Q&A, Help & Troubleshooting] nickolasemp:
Hmmm, I don't understand why it does that to me. I remember using a different gapps. But the messages apk is not in the gapps, right?

Anyway, I will try the 8/1 and report back to you.

Thanks PuffMaN.

Edit:

The 8/1 with dirty flash, this thing doesn't happen (it only does with the scampering tone...). So problem solved.
[Desire Q&A, Help & Troubleshooting] slayer.1942:
can I flash this rom to my desire 310??

thx
[Desire Q&A, Help & Troubleshooting] kostelo:
No it's just for plain Desire (Bravo).
[Desire Q&A, Help & Troubleshooting] wq0913562:
Hello,

I just tried out the CyanogenMod 11.0 M10 HTC Desire (Bravo) custom ROM by spezi77 and also couldn't find a device encryption option so far.

Would there still be a way to encrypt the device?

Or is device encryption really not supported on the HTC Desire (Bravo)? And if yes: why?

Regards
[Desire Q&A, Help & Troubleshooting] paolo-red1:
It is not supported due to missing kernel modules/parts.
[Desire Q&A, Help & Troubleshooting] wq0913562:
Hello,

that's a pitty.

Will this change once Kernel 3 will be ready?

Regards
[Desire Q&A, Help & Troubleshooting] nickleby:
Hi, anyone tried to build the rom from source lately? The last time I compiled the rom for the Desire was in June or August, but I tried to compile it now and I'm getting a constant error about no rules to make javalib.jar

make: *** No rule to make target «/home/nickleby/android/system/out/host/common/obj/JAVA_LIBRARIES/tagsouplib_intermediates/javalib.jar», needed by «/home/nickleby/android/system/out/host/common/obj/JAVA_LIBRARIES/doclava_intermediates/javalib.jar». Stop

.

I've deleted everything and sync again but i'm getting the same error :confused:
[Desire Q&A, Help & Troubleshooting] ths@justremotephone.com:
Build fix

Checkout the correct version of platform/external/doclava into external/doclava. The git tag should be "refs/tags/android-4.4.4_r2" and not "master" as defined in the repo manifest. A fix is commited for review....
[Desire Q&A, Help & Troubleshooting] vgabbott@gmail.com:
GSM Radio Needed for Evervolv on Incredible 2

I am running Evervolv ev_vivow-eng 4.4.4 KTU84P on HTC Incredible 2 Verizon. Runs OK as long as I do not load phone up too much.

I have installed a GSM sim card for H2O Wireless (runs on ATT). The Evervolv version I downloaded does not have any radios.

I found a gsm.zip for this Evervolv version but links are broken.

Do you know where I can get the zip for the proper GSM radio for this phone?

Thank you.
[Desire Q&A, Help & Troubleshooting] cirapfc:
Have you tried new nightly?
[Desire Q&A, Help & Troubleshooting] quimbexa:
Camera is now present (FIXED) and browser works. Still no signal though.

I'm portuguese, and when I set Portuguese as the system language the quick settings icon on the notification drawer is dragged to the side of the screen by the date. The same happened to me on previous versions with the dismiss all button.
[Desire Q&A, Help & Troubleshooting] andyvdsteen:
No signal for me too. Need to find the telecomprovider after each reboot. Doesn't save APN-settings.

Wonder which Gapps to use. This one for sure isn't the correct one; this one only works until I want to download an app from the Play Store. App is not being downloaded/updated, and Play Store keeps crashing since that moment.
[Desire Q&A, Help & Troubleshooting] quimbexa:
I can't even find my network, I get and error when I try to search.
[Desire Q&A, Help & Troubleshooting] thif:
same for me
[Desire Q&A, Help & Troubleshooting] quimbexa:
Camcorder crashes gallery, can't make any videos.
[Desire Q&A, Help & Troubleshooting] TimHermans:
Download the latest gapps from goo.im here http://goo.im/gapps/gapps-jb-20121212-signed.zip they work.. I've tried.. :)

(think i got FC on first boot "google text-to-speech" no big deal..)

For those still wondering, you can't just jet use 4.2.1 nightly as daily rom.. :)

my experience:

(fully wiped flash)

no apn settings, so no mobile data

manually select carrier each boot

camera and pano work with some flicker

camcorder FC

clock in lockscreen is chopped.

stock launcher (can't remove permanent search bar)

But all in all this is a very good pre-pre-alpha, thnx Nikez nd Evervolv great work

Hope you guys get this rom functional and stable..

Grtz
[Desire Q&A, Help & Troubleshooting] 00zz:
very nice ROM <3 in my daily use since p06

thanks

3.2.0a1

no SIM-card access (german vodafone card)

-SIM-PIN code request missing

-> no mobile Date ->no APN -> no telefon/SMS-MMS
[Desire Q&A, Help & Troubleshooting] htc_softbank:
I gave my HTC desire to my sister a while back, but was wondering if all hboots is a feature we might see in the future.
[Desire Q&A, Help & Troubleshooting] alex18881:
Browser FC fixed. Chrome scrolling laggy. Can't save APN, auto carrier selection is not working. Russia, MTS
[Desire Q&A, Help & Troubleshooting] quimbexa:
new nightly!
[Desire Q&A, Help & Troubleshooting] TimHermans:
Same bugs.. :)
[Desire Q&A, Help & Troubleshooting] andyvdsteen:
Again a new nightly; again still the same bugs... :(
[Desire Q&A, Help & Troubleshooting] quimbexa:
At least we have nightlies ;)