[FIXED] Any devs can compile a new wpa_supplicant for connecting to adhoc network - Desire General

Any devs out there building roms can compile up a wpa_supplicant as per http://szym.net/android/adhoc-wpa-supp.html

+1
Have to apply manual changes on wpa_supplicant.conf to keep my ad-hoc network working each time I add new wifi network.

daveba said:
Any devs out there building roms can compile up a wpa_supplicant as per http://szym.net/android/adhoc-wpa-supp.html
Click to expand...
Click to collapse
Code:
/system/etc/wifi/wpa_supplicant.conf
/data/misc/wifi/wpa_supplicant.conf
Manually ad your ad-hoc network in WiFi settings.
Turn off Wireless
Edit /data/misc/wifi/wpa_supplicant.conf
Code:
ap_scan=2
and
mode=1 (inside the network config in the same file)
Use PowerControl widget to turn off/on as going in to WifiSettings will mess up WPA_Supplicant.conf again.
Maybe doing a proper config in /system/etc/wifi/wpa_supplicant.conf via recovery mode will sort it permanently instead?

For anyone reading this thread, i just came across this and it works perfect. No manual editing of files. Just flash the wpa_adhoc zip attached.
http://forum.xda-developers.com/showthread.php?t=754961

Same here for the Milestone.
Can someone give me pointers on how the patch gets applied to the wpa_supplicant? I suppose it needs to be decompiled and then recompiled but I've never done that so I'm not sure how involved it is or what tools are needed.
Just in case it's a quick job for someone in the know like you here is a link for the Milestone wpa_supplicant http://dl.dropbox.com/u/904989/wpa_supplicant ;-)
Thanks !

Related

APN List

Can someone please tell me where the apn list is held when viewing a rom in WINRAR? I need to extract it from the stock rom (rooted) and input it to FroyoSense.
I have ran searches but cant find anything named 3g or apn.
found it...
If you could let everyone know where you found it that would be great.
It wont work as is, you need to edit it.
You need to change <apns version="6"> to <apns version="8">
This was posted in the FroyoSense (OpenDesire) thread.
The file your looking for is /system/etc/apns-conf.xml
Thanks for your input. I am trying to create my own update.zip that will push my BT apn settings to my phone as they are not included in any of the updates so far and I am using the latest FroyoSense Rom V1.0c.
Can someone please take a look at me file and tell me where I am going wrong? Cause it aint working yet it looks identical to others I have seen.
Any help appreciated.

Unknown group wifi

I want to change the group for file wpa_supplicant.conf which i edited for internal use of wireless of our school. After editing it gave the permissions to root, which i want to change to wifi.
When i do "chgrp wifi wpa_supplicant.conf" the outcome is: chgrp: unknown group wifi
How can i fix this as i dont know how to edit/make groups under Android system
I have exactly the same problem.
I have root access using "UniversalAndroot".
Anyone an idea how to change the group to wifi?
newgrp wifi does not work.
POSSIBLE FIX:
chown system.wifi wpa_supplicant.conf seem to work.
[Q] Unknown group wifi - Is there any solution?
I am doing this on my XPERIA X10 mini
I too am looking for a solution to this problem.
On editing the file, the permissions changed to root:root.
With the owner:group as root:root, I am not able to enable wifi.
I have changed the owner to system, but unable to change the group to wifi like it was (before I edited this file).
In case anyone has found out please let me know.
I shall look into this further and post my findings.
r/\\J35h
X10 mini - Rooted
Try "chgrp 1010 wpa_supplicant.conf".
For every group/user IDs look here: http://code.google.com/p/yaffey/source/browse/AndroidIDs.h

[Q] port Statusbar of CZLB4 to any other FW

is it possible to port the statusbar with PacketData of CZLB4 to any other Firmware?
flo2204 said:
is it possible to port the statusbar with PacketData of CZLB4 to any other Firmware?
Click to expand...
Click to collapse
Quick Panel (status bar) is controlled by many files:
1) Rsrc1 > System > Rsrc > Black:
- QuickPanelBmp.rbm
- VoiceMemoQuickPanel.rbm (?)
2) ShpApp > SystemFS > SHP > QuickPanelApp.so (and also code in GeneralSoInfo.so.sig)
3) CSC (this is the problem! ) > CSCrcs > SystemCSC > String > QuickPanel.rsr
So, I try to change those files, but I'm not able to change status bar, maybe because there are other files that I don't know, or maybe because it's not possible to change those files (Wave loop, restart again and again).
Someone can help us?
Thanks!
thx for testing
did you tried to replace these files with the files of the CZLB4
sry can't test it myself at the moment
Tested.It gives boot loop
I tested it too. No problem with RCS (QuickPanel.rsr), and RC1(*.rbm) files
the problem is code in QuickPanel.so is not compatible with some others libraries
We can compare so from with and without 5th option and then edit code to fitbut who dares?
For me better option would be GPS on/off
How ? Just waiting for you
thx for testing
b.kubica said:
I tested it too. No problem with RCS (QuickPanel.rsr), and RC1(*.rbm) files
the problem is code in QuickPanel.so is not compatible with some others libraries
We can compare so from with and without 5th option and then edit code to fitbut who dares?
For me better option would be GPS on/off
Click to expand...
Click to collapse
I prefer "Data" But thanks for your work!
Do you think it's possible to make compatible QuickPanel.so? Thank you so much b.kubika!
in the QuickPanel.rsr of zclb4 is the "Data Button" called "IDS_QP_BUTTON2_DATA_ON_OFF"
this file should be somewhere
if we find this file we could add this to another fw
and in any other file should be something which load the command for enable or disable these things
Edit1:
what about to replace in the customFW "GeneralSoInfo.so.sig" the signature of the Custom with the ZCLB4 and then replace the "QuickPanelApp.so" with ne ZCLB4?
.rsr file is not the problem
I edited that file to make it support my own language and got the boot loop too
So please be quite for a while and let b.kubica do his magic
Yes it is .so file issue & I don't have enough skills to deal with it
Best Regards
its not a file, just string ID
Some steps:
1. change RCS - QuickPanel.rsr from ZC work on XX - only strings are missed but phone works
2. change RC1 - 2 *.rmb files - phones works normally, only graphics are missed
3. change *.so file - phone won't start normally - boot loop
some libraries from XX are not compatible with QuickPanel.so from ZC
that's all for now
b.kubica said:
its not a file, just string ID
Some steps:
1. change RCS - QuickPanel.rsr from ZC work on XX - only strings are missed but phone works
2. change RC1 - 2 *.rmb files - phones works normally, only graphics are missed
3. change *.so file - phone won't start normally - boot loop
some libraries from XX are not compatible with QuickPanel.so from ZC
that's all for now
Click to expand...
Click to collapse
Thanks kubika I'm sad
However I've got two Samsung Wave, one is the tester! If you want you can use it.
ok thx
Any News ?
i'd like to try somethink but i need the wave of my friend
maybe in 1 or 2 days...
Still no solution?
I have seen some CFWs that already added it, anyone know?

how to use ovpn config on galaxy w

hello there,
actually i am using openvpn hotspot sheild on pc having working .ovpn config files.
i wish to use them on my wonder. anyone here ever tried to config ovpn files on wonder.
please reply help appreciated.:angel:

A-GPS server

Hi,
Can someone tell me where I could find the way to modify the supl address used for a-gps?
No more gps.conf file or similar, is it made only with ROM build?
LineageOS 18.1
I think the only way is to edit gps.conf.
[Q] Disable A-Gps
Hello guys there is a way to complete disable A-gps from the system? Turn off data is not a solution for my situation i want to exclude any contact from internet and use only gps chip, not assisted in gps.conf can i do something? or i have to...
forum.xda-developers.com
BTW, I found another way to diable it:
Code:
settings put global assisted_gps_enabled 0
To which server would you change it?
The easy way was this gps.conf file when it was accessible.
Thanks for the info, the code ended with success but GPS still connect to some supl server.
I used similar functions to modify captive portal and NTP server and it worked fine.
Would be happy if I could just change to localhost, I don't need it and don't like all these connections spam.
evilorb said:
The easy way was this gps.conf file when it was accessible.
Thanks for the info, the code ended with success but GPS still connect to some supl server.
I used similar functions to modify captive portal and NTP server and it worked fine.
Would be happy if I could just change to localhost, I don't need it and don't like all these connections spam.
Click to expand...
Click to collapse
I can well edit gps.conf from recovery.

Categories

Resources