yashsingh1/xdaforums huggingface dataset:
[HTC Desire C] calinorg:
yes we do:

1|root@android:/data/misc/wifi/wpa_supplicant # ls -la
ls -la
srwxrwx--- wifi wifi 2013-04-23 00:03 wlan0

it was that 's' permission file...

it is probably what cute price meant - socket...

check the user and group of this "file" or "socket" or whatever - it is wifi, wifi... are they the same in cm9 builds?

also, command for creating sockets should be mkfifo
[HTC Desire C] munjeni:
No wlan0 things about socket in booth ramdisks (cm9 and stock), and its anoyoing why there is no wlan0 in /data/misc/wifi/wpa_supplicant but exist in runing stock rom! Command mkfifo creating file but have no s flag :(

Allso I reverted back to CM9 libs and binaries and getting the same logcat for wlan0 instead of eth0, really strange :(
[HTC Desire C] calinorg:
Something stinks here.

Only thing i can imagine is that something else is running like wpa_supplicant:

E/wpa_supplicant( 816): [b]You may have another wpa_supplicant process already running[/b] or the file was
E/wpa_supplicant( 816): left by an unclean termination of wpa_supplicant in which case you will need
E/wpa_supplicant( 816): to manually remove this file before starting wpa_supplicant again.

is there anything strange in your ps output?
[HTC Desire C] munjeni:
Sory, I have no idea. Wpa service is only one in ramdisk *.rs files, so no doubled wpa_supplicant services... have no idea why getting these logcat message, its like supplicant crashing again gain again... sometimes I getting reboots
[HTC Desire C] cute_prince:
[MENTION=4120742]munjeni[/MENTION],

Interface wlan0 may be hardcoded in wpa_supplicant binary( I am talking about system/ bin/wpa_supplicant) itself.

Can someone run,

strings wpa_supplicant | grep wlan0

and

strings wpa_supplicant | grep eth0
[HTC Desire C] calinorg:
This is from stock rom (i hope you want that)

root@android:/system/bin # strings wpa_supplicant | grep wlan0
strings wpa_supplicant | grep wlan0
wpa_supplicant -D%s -iwlan0 -c/etc/wpa_supplicant.conf

eth0 comes up empty.
[HTC Desire C] cute_prince:
**** I was right, wlan0 is hardcoded

in the binary . Same version of wpa_supplicant binary is used in CM9 also. [MENTION=4120742]munjeni[/MENTION] to use eth0 interface you should pull wpa_supplicant binary from pico cm9 ROM.
[HTC Desire C] munjeni:
I think only problem here is wlan0 socket which is missing! I have no idea where these socket need to be stored | why wlan0 socket missing (unable to be created) in /data/misc/wifi/wpa_supplicant folder, it must be created there, but we getting ctrinterface[blablabla] failed to create wlan0, ...seems missing right permissions there or maybe something missing in kernel... :( I tried everything without any luck. Allso manyally created wlan0 in these folder but than getting "unable to comunicate | permission denied... etc

Sory guys, restored stock rom, in the morning I must to revert phone to my friend, I am :( because not got these anoyoing wifi, hope you get wifi working soon :(

Must to say, enjoy with everything which we done here! Big thanks to cute_prince and all other who helped here! Bye! :good:
[HTC Desire C] Shiftok:
Could you build new cm9 build, where wifi driver is loaded, but have wpa_supplicant service issues and other changes, like charging animation?
[HTC Desire C] munjeni:
Sory, no! To fix charging animations put /system/media/zchrd folder from stock rom into zip and charging animations will be working. For wifi, CM9 wifi libs and binaries not working, its fail to insmod ath6kl_sdio and getting wifi switch for about 100ms, fail to copy wpa_supplicant.conf to the /data/misc/wifi folders ...etc ...etc, definitelly everything fail. But using libraries and binaries from stock rom I getting some progress but wifi not working too (but ath6kl_sdio and other things is initiated, only missing wlan0 socket), so simple use next things from stock rom:

/system/bin/dhcpcd

/system/bin/hciattach

/system/bin/hostapd

/system/bin/netcfg

/system/bin/netd

/system/bin/netmgrd

/system/bin/netsharing

/system/bin/udhcpd

/system/bin/wpa_cli

/system/bin/wpa_supplicant

/system/etc/wifi/wpa_supplicant.conf

/system/lib/libdiag.so

/system/lib/libdsutils.so

/system/lib/libnetlink.so

/system/lib/libnetutils.so

/system/lib/libwpa_client.so

/system/lib/modules/ath6kl_sdio.ko

/system/lib/modules/cfg80211.ko

/system/lib/modules/compat.ko

/system/lib/modules/kineto_gan.ko

/system/lib/vendor/firmware/hdcp.keys
[HTC Desire C] Jelly Android:
Ok, but I said that we can port these files from stock rom.
[HTC Desire C] Shiftok:
Thanks!

But I replaced this files, and I keep getting this message in logcat:

E/WifiStateMachine( 198): DriverFailedState

How do you fixed it?
[HTC Desire C] munjeni:
Did you rebooted phone? Did you set permissions for replaced binaries iside bin folder... ?
[HTC Desire C] Shiftok:
Yes, I rebooted device, and make chmod 777 for all files, that I was uploaded.

Did you replaced all files or some ones?

Did I need change group/member for this files?
[HTC Desire C] munjeni:
You need to make the same ownership and groups, you need to replace all these files. This is my last post here, sory, I am unwatching this thread now.
[HTC Desire C] brnt:
They have the same owner and group as the other files, so this shouldn't be a problem.

And I'm really sorry that you obviously don't care about your work, since this was your last post. Don't get me wrong, I thanked every(maybe I've missed some) your posts and I'm thanking you again, I was left with false expectations, that's all.
[HTC Desire C] djpry:
CM 9.1 was released for most of the devices.Why don't we try porting that.It has all the missing libs and missing built props.It was a minor update but all the bugs were fixed with sum minor add on....
[HTC Desire C] immortal_yash:
[MENTION=4120742]munjeni[/MENTION]

you havent defined wifi related paths for your phone properly

eg- below is wifi related definations from htc explorer/pico in boardconfig.mk

# Wifi related defines

WIFI_BAND := 802_11_BGN

WPA_SUPPLICANT_VERSION := VER_0_8_X

BOARD_WPA_SUPPLICANT_DRIVER := NL80211

BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd

BOARD_HOSTAPD_DRIVER := NL80211

BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd

BOARD_WLAN_DEVICE := bcmdhd

WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko"

WIFI_DRIVER_MODULE_NAME := "bcmdhd"

WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcm4330.bin"

WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcm4330_apsta.bin"

WIFI_DRIVER_FW_PATH_P2P := "/system/etc/firmware/fw_bcm4330_p2p.bin"

WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"

WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/firmware/fw_bcm4330.bin nvram_path=/system/etc/calibration iface_name=eth0"

BOARD_LEGACY_NL80211_STA_EVENTS := true

---------- Post added at 11:01 AM ---------- Previous post was at 11:00 AM ----------

hope it helps and please just refer to it just dont copy paste :P
[HTC Desire C] nikhil16242:
Nah , he did do those changes already . These are the changes which I cloned from his device config. I think he updated his git again and removed them because it didnt work :)
[HTC Desire C] immortal_yash:
he still hasn't defined the FW paths

WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcm4330.bin"

WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcm4330_apsta.bin"

WIFI_DRIVER_FW_PATH_P2P := "/system/etc/firmware/fw_bcm4330_p2p.bin"

WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"

WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/firmware/fw_bcm4330.bin nvram_path=/system/etc/calibration iface_name=eth0"

these are important as the rom picks the fw files according to it :)
[HTC Desire C] nikhil16242:
Yep , I got you :) . But since we don't use a broadcom chip , those definitions will be a lot different. But I guess we have to wait for munjeni or cute_prince to reply.
[HTC Desire C] immortal_yash:
its obvious the definition will defer but you can find the files in etc/firmware of stock rom and wanted to ask the wifi chipset used in your phone ,is it used in any other phone?
[HTC Desire C] nikhil16242:
I know where I can find those files..The problem is I haven't seen any other device having the same wifi chipset and a working cm9 port for it so that we can compare with it.
[HTC Desire C] immortal_yash:
maybe your phone will be the 1st with it having cm9 working ;)
[HTC Desire C] mehmehmen:
there is a device running the same module dont know about cm but its a huawei 85032 or something like that google it
[HTC Desire C] me4488:
I want to test this ROM thoroughly, would you care to provide me with instructions on how to install Google Play store, because the one from the updated thread just force closes.

I could keep it for daily use since WI-fi isn't my priority or necessity, but installing apps is a must.

For now it runs super smooth. Any feedback is appreciated.
[HTC Desire C] brnt:
Да ги подразним малко да не разбират. :laugh:

Инсталирай ей тоя ГАппс и ще се появи. :)

And for the record:

Install these GApps and it'll show up.
[HTC Desire C] me4488:
Инсталирам го..... след 40 минути х.х Гаппс ме мрази ужасно много, както и да е, евала, опитах да взема няколко апкта от други ЦМ9 ромове но ми крашва точно преди да покаже "продуктите".

П.П по едно време те бях мярнал и мислех да ти пиша, но се отказах, защото нямам много познания във областта на андроид разработката. Но съм добър тестър. Така че ако има нещо пиши, дори може и да ме научиш на хитрости ;3
[HTC Desire C] penguin449:
got sent this by some dude you guys check it out? https://github.com/kvalo/ath6kl/commit/593fc9e6c68918e1bed23af539f64cc2e52bafae
[HTC Desire C] djpry:
check this guys.... RELOADED STATUS BAR.....

warning till version 1.5 works on our devices.....njoy

we can put this this in our cm9 built i guess.....to enable transparency on status bar....and toggle bar in a sub page...

LINK

http://xdaforums.com/showthread.php?p=23275045
[HTC Desire C] djpry:
project butter for ics

we can put this in cm9 builds..........although cm10 is cuming up soon ...still

http://xdaforums.com/showthread.php?t=1911327
[HTC Desire C] LaputaCake:
WiFi

We need to fix the infamous bug first but adding more little tweaks. We need that WiFi!
[HTC Desire C] Jaizu:
No, this is CyanogenMOD not a Custom ROM

And if you like that, install it you and make a custom ROM based on CyanogenMOD.

Please people, don´t make petitions, developers works if they like, don´t make pressure.
[HTC Desire C] russell664:
Cyanogenmod is a custom Rom distribution :)
[HTC Desire C] djpry:
FIRST GET UR CONCEPTS CLEAR DUDE......CM IS A CUSTOM ROM......

and stop throwing your attitude .....no-1 asked for ur expert comments....am a part of xda for a long time..

god bless:angel:
[HTC Desire C] Jaizu:
Please calm, I now cm is a custom rom, but unofficial cm has got the same aspects as officially cm.

If you like project butter you can install it manually or make a thread with your edited cm.

Enviado desde mi HTC Desire C usando Tapatalk 2
[HTC Desire C] Swaps100050:
OC ??

Is there any way we can use the 800MHz OC kernel on cm9 ??:confused:
[HTC Desire C] djpry:
yes nik is making an oc z kernel for cm9......our desire has Qualcomm MSM7225A Snapdragon Cortex-A5 cpu....it can run upto...800MHz as per factory specs....so pushing it 800MHz wouldnt be that much of a prob...moreover Desire C uses EMMC instead of NAND and can therefore theoretically withstand frequencies above 800MHz. on S1 platform.
[HTC Desire C] Gfhoihoi72:
Does everything in the miui rom works? wifi, audio etc.
[HTC Desire C] russell664:
No, MIUI is based on CM9 so all the bugs what are present in CM9 are in MIUI too.
[HTC Desire C] Shiftok:
About connecting to Bluetooth PAN network. When I try to connect at first - my Desire C is rebooting, but after reboot I try to connect, and it connecting successfully, but interface bnep0. I go to terminal emulator, type:

su[enter]
busybox ifconfig bnep0 up 192.168.2.2[enter]
route add default gw 192.168.2.1[enter]

And after that I have internet on my desire c via Bluetooth PAN.

Has any ideas how to fix this?

PS: I hasn't now usb cable for get logcat, maybe it takes some information for fix it
[HTC Desire C] LaKsHaY1997:
Which kernel ?

Which kernel do I have to flash?
[HTC Desire C] russell664:
As far as I know Nikhil is working on a CM9 compatible kernel which is overclocked, that would be the one to flash mate.

Sent from my HTC Desire, running CM10.1
[HTC Desire C] Shiftok:
Now I have logcat:

When I first time try to connect to my bluetooth PAN network I have this:

http://pastebin.com/3hLepceM (copy-pasted part of logcat)

After that I have reboot. Now I try to connect, have no reboots, but ho have internet connection:

http://pastebin.com/tmKnnrHM (copy-pasted part of logcat)

Full logcat:

http://pastebin.com/2cZX1iN8

After I type that:

dhcpcd bnep0

Internet is works

From 19.04.2013 archive.

Any ideas how to fix this?

Thanks!

PS: I see that it try to tethering
[HTC Desire C] Shiftok:
I investigated our kernel sources, and not see there ath6kl module sources.

Can we copy source code for wifi module from here https://github.com/senthilb/ath6kl-compat-wireless/tree/master/drivers/net/wireless/ath (Here we have folder ath6kl)?

Can anything try it to compile?
[HTC Desire C] TheRedHunter:
Our developers tried that, why don't you try again ?
[HTC Desire C] Shiftok:
I haven't experienced successfully compiling kernel from sources, and I haven't configured environment for that.

If anyone can get me VirtualBox image with configured environment, I can try to compile it.

I tried compile it from mac, but not successfully because there was some errors.
[HTC Desire C] LaputaCake:
I have on for XP which i use with 7
[HTC Desire C] LaKsHaY1997:
YAP

I flashed it today and bugs are

WiFi( as you all know)

In gallery when you select details it brings us back to the app drawer

Video recording works but when you play it there are many green lines

Audio is good ( I am using nikhil's kernel)
[HTC Desire C] ev!denz:
So if I get it right on the Miui Wifi should work?
[HTC Desire C] brnt:
No.. MIUI is based on CM, if something doesn't work on CM, it won't work in MIUI also.
[HTC Desire C] LaputaCake:
Now weve almost got cm10 why dont we carry on with Cm9 all we need to do is fix some dependencies and we have wifi
[HTC Desire C] LaputaCake:
Fixed dependencies just a few more errors to fix
[HTC Desire C] Aman_Arora:
Not working

ROm does not boots stucks on boot animation for more than 10 mins
[HTC Desire C] noahvt:
1:Do full wipe

2: Install rom

3: boot phone in bootloader and select fastboot

4: open ROM zip on pc and extract boot.img

5: flash boot.img

hope it helps!
[HTC Desire C] Aman_Arora:
see i did that but will try again XD
[HTC Desire C] szilike93:
Hello. I flashed up the Rom and it boots in, but when I lock out the screen it writes a bug: miui mod homescreen not responding. I can only scroll down the status bar and go in menu, but when I want to select display settings I see the same bug: miui home not responding and it closes and stops. Some solve?:confused:
[HTC Desire C] SaM`:
flash the boot.img which i inside the rom.zip otherwise ull hav the problem !!! lots of people had the same problem if u dont flahs proper boot.img specified for rom u will get fc !!
[HTC Desire C] szilike93:
how to flash boot.img?
[HTC Desire C] aashay960:
Read the very first post in this thread..
[HTC Desire C] szilike93:
Thank you! It works. cool stuff man :):D:cowboy:
[HTC Desire C] webhijacker:
Can we get the wifi from the cdma version cause it has the same version of android ¿¿¿¿
[HTC Desire C] intel007:
I checked already, its the same source.

sent from my much loved ⊙N€ X
[HTC Desire C] Aman_Arora:
Can you use the CM10 fix for fixing CM9
[HTC Desire C] LaKsHaY1997:
I think Yes

As Cute_Prince already said that the fix also can be used with Cm9

But personally I think that nobody is gonna use CM9 when we have a Stable CM10:).
[HTC Desire C] LaputaCake:
+1
[HTC Desire C] Jaizu:
Yes, I can't understand why the people can´t choose into CM9 or CM10, probably some people does't like CM10 or like CM9, I think CM9 bugs must be fixed.
[HTC Desire C] LaKsHaY1997:
+1

SAME..:)

At least we should have a Stable Rom

If we have a stable Rom only then people will use it..But the problem is Munjeni left :eek:
[HTC Desire C] LaputaCake:
We could contact him to just update the thread
[HTC Desire C] Phenziox:
I already did that. He refused.

sent from CM10'd Desire C
[HTC Desire C] LaputaCake:
Someone should create a new thread or I could create a new thread if someone sends me cm9 with wifi fixed.
[HTC Desire C] Jaizu:
Will be any update the ROM?
[HTC Desire C] LaputaCake:
Im gonna try and update
[HTC Desire C] Aman_Arora:
Guys why don't you understand

that we still require CM9 even though we have CM10.

This is because all around the android world there are awesome roms based on ICS.

And for porting we need a good ICS CM base :D

So please port it.:crying:
[HTC Desire C] Phenziox:
Meh

sent from CM10'd Desire C
[HTC Desire C] for811:
someone try to add fix of cm10 in cm9 source?
[HTC Desire C] LaKsHaY1997:
RE:CM9

Can someone mirror this? There's no download link :eek:
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

Sakindia works for pico

Rest all left the development

Except Russell
[HTC Desire C] Jaizu:
You yourself can see that there are people interested in this phone, and the truth, it's a shame because it is a good terminal to take into account.
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

Audio can be fixed !!!!

If someone can try audio libraries from HTC explorers cm9 rom

If it gets succeed we can move forward
[HTC Desire C] Jaizu:
Nice try your rom fixed
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

???

Means
[HTC Desire C] Jaizu:
Stupid translator xD

I will not have problem to test your ROM
[HTC Desire C] russell664:
When I have time I will try out apex predators recommendations. :)
[HTC Desire C] iluhanich:
I think einstein.frat will also be glad to take part, no?
[HTC Desire C] Jaizu:
Only modder i know
[HTC Desire C] brnt:
I tried. Copied all the files having the word audio from /system/lib and the sub-folders. Didn't work.
[HTC Desire C] nikhil16242:
Just replacing those libraries in munjenis CM9 wont work.Some one needs to build CM9 again from source and do the modifications in boardconfig.mk and other files as how it is done in explorer.
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

Ya agree !!!!
[HTC Desire C] Phenziox:
Apex-Predator, you seem pretty serious about this!

If you and/or any other dev could get aosp-like ROM to work (CM, AOKP) I would be forever gratefull.

I was already starting to look at new phones... I guess that'd be postponed for a while with stable CM
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

Yes but I may not start workin now coz of my exams

I'll try my best after the exams

Bcoz after exams I have no work other than developing:D:D:D
[HTC Desire C] Phenziox:
Of course, of course!

Again, i'd be more than happy to beta test
[HTC Desire C] neoyoli:
Re: [DEV] ICS CM9 on HTC Desire C

An optimized CM9/10 would be omfg awesome!
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

Can someone post the logcat of.WiFi

I need to know where it fails to turn on !!!!
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

Someone needs to post WiFi logcat

Or else ill not be able to help u guys
[HTC Desire C] TheRedHunter:
I'll install the rom soon and send you a logcat.
[HTC Desire C] nikhil16242:
Guys I have successfully compiled Team Win Recovery v 2.4.1.0 for the Desire C. Its still a little buggy atm . Do you want me to upload the current version :) ?

For those who dont know about TWRP check this http://www.xda-developers.com/android/twrp-2-4-adds-impressive-new-feature-set/
[HTC Desire C] Phenziox:
Re: [DEV] ICS CM9 on HTC Desire C

Please upload it

sent from my HTC Desire C - the fastest budget phone in the world
[HTC Desire C] nikhil16242:
I will start a new thread soon. But it still has some bugs for now ;)

OK its uploaded , feel free to try it and provde feedback.
[HTC Desire C] ExonakiDev:
Re: [DEV] ICS CM9 on HTC Desire C

Ok I just compiled a fully stable working cm9.1 Rom for explorer and guess what its coming out in bout a week almost all things work(except some like WiFi hotspot).Guys I heard you need cm9 take it.BRACE YOUFSELF FOR THE RIDE!:D:):thumbup::thumbup::thumbup:

Please give thumbup I have worked hard for this...

Sent from my HTC Desire C
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

U made for explorer ???

Y u posting here ???

Post in explorer

And Ya explorer have the most stable

Cm9

sent from Apex Rom by Apex-Predator
[HTC Desire C] uchihasparky:
Re: [DEV] ICS CM9 on HTC Desire C

Wait. You got a wifi, sound, and camera working cm9 for desire c?? Or is it only explorer? :confused:
[HTC Desire C] ExonakiDev:
Re: [DEV] ICS CM9 on HTC Desire C

It is originally for explorer but I'm trying to port it very difficult.

Sent from my HTC Desire C
[HTC Desire C] brnt:
Re: [DEV] ICS CM9 on HTC Desire C

Why would you say it's stable and almost bugless if it's not even for Desire C? Aren't you a bit overenthusiastic?

Still, I hope you'll make something out of it.
[HTC Desire C] russell664:
Please us members with this great little phone wants developers who can pull a result out the bag, not just say they can. I'm pretty sure many other members will agree.
[HTC Desire C] ExonakiDev:
Re: [DEV] ICS CM9 on HTC Desire C

Guys how much time can u give me?my exams going to be over in a week.first I will develop for pico.

Sent from my HTC Desire C
[HTC Desire C] russell664:
Re: [DEV] ICS CM9 on HTC Desire C

Let me get one thing clear to both you and apex-preditor the pico is similar yes, but it isn't the same is it? Regardless if you port a Rom over (even if you do) WiFi will not work it will be the same as the other cm9 we have. Now if one of you too can fix the bugs presented in cm9 I will respect you a lot, including others on these desire c forums. However you won't earn any of that respect by just saying your doing it, when your really not. XDA does not work like that, it is to share your work and not troll the threads.

For me XDA is the share your work, help others, and make new friends and not do the above. I have made many friends here on these forums, and they will probably agree with what i am saying.
[HTC Desire C] neoyoli:
I say lets give them a chance and wait for those exams, we don't have anything to lose:fingers-crossed:
[HTC Desire C] Jaizu:
This comment has brought a ray of hope in me.
[HTC Desire C] Apex-Predator:
Re: [DEV] ICS CM9 on HTC Desire C

@Russell

Dude

Exam is more important than development

If u can't trust then

Y should I damn care .....

U may be not having any exams but I do

I cannot put my whole time in developing for a phone which does not even belong to me ...

But still I m working for ur phone

Since u guys don't have too many devs and ur development is really very slow

I thought of helping u guys .....

But u guys don't understand my problem........................
[HTC Desire C] iluhanich:
Apex-Predator, i think nobody urges you:) so work in free mode:D if you will release your work in a day i will be happy, but if you release your work in a month, i will also be happy :)

Good luck in your exams.