Hi everybody
I have a little question. I want to connect to a wifi ad hoc network. With my PC everything is ok, but (obviously) my Tattoo can't find the net. I read about modifying two files (tiwlan.ini and another one). But.. How can I do?
I have the original ROM (1.6) rooted and with amon ra recovery.
Thank you
Regards
not development related thread CLOSED ask in the Q & A thread or general section
Have you try to upgrade to Froyo or GingerB ?
mensesneg said:
Have you try to upgrade to Froyo or GingerB ?
Click to expand...
Click to collapse
I'll surely try GingerB as soon as the devs will finish their work on the camera.. what i'd like to know is how can i get and put the files in this location and how should i modify them.
BTW, every Froyo and GingerB ROM can connect to ad hoc wireless networks and send files over bluetooth?
Thank you
solution
The G1 does not connect to ad hoc networks through the wifi manager but we can hack it to allow scanning and connecting to ad hocs. I’ve been trying to figure this out for the longest time. Before you begin, you need to root your G1 and be comfortable using the command line. We will be editing tiwlan.ini and wpa_supplicant.conf. I will be showing you 2 ways to edit the files. Using vi and adb.
Settings
edit tiwlan.ini to read:
WiFiAdHoc = 1
dot11DesiredSSID = HydtechAdhoc (or whatever name u want)
dot11DesiredBSSType = 0
edit wpa_supplicant.conf to read:
ctrl_interface=tiwlan0
update_config=1
eapol_version=1
ap_scan=2 (tells wpa_supplicant to scan hidden networks)
network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}
feversanj said:
I will be showing you 2 ways to edit the files. Using vi and adb.
Click to expand...
Click to collapse
what adb commands should i use? I think that i have to
1) get the files (adb pull /directory_on_phone/tiwlan.ini tiwlan.ini)
2) modify it with notepad
3) set the system dir rw (
Code:
adb shell
$ su
# insmod tattoo-hack.ko
# mount -o rw,remount /dev/block/mtdblock3 /system
4) push the files on the phone.. but how? with adb push tiwlan.ini /directory_on_phone/tiwlan.ini ? Is this correct or when i type "exit" to come back to dos prompt the phone unmounts the partition?
feversanj said:
network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}
Click to expand...
Click to collapse
Is this for every ad hoc connection or i have to modify tiwlan.ini and wpa_supplicant.conf every time i change SSID or WEP KEY? what if i want to keep more than one ad hoc network in memory?
Thank you a lot
Hi guys this is my first tutorial on xda and i hope you enjoy it. This is a mini guide to put battery drain fix on CM7 by mik_os.
This is a thread for those that don't wanna search manually how to put fix in CM thread.
1.Download Gscript from market
2.Long-touch an empty space of your home:
-Add item
-Add shortcut
-Gscript Lite
4.Now a little screen will appear.Do not touch anything.
5.Press menu key and select add script
6.Now another little screen will appear.Set your script title,and ensure there's a tic on "Needs su" checkbox.
7.In "script"textbox type:
Code:
iwconfig wlan0 txpower 15
iwconfig wlan0 power on
10.Tap "save"and select your newly created script
11.Turn on Wi-Fi
12.Run script shortcut
DONE!
TIP:To ensure that you have fix on type this in Terminal Emulator:
Code:
iwconfig wlan0
With Wi-Fi always on check Power-Tx value. It must be under 20. If it is not,run again script and check again.
YOU MUST RUN SCRIPT EVERY TIME YOU TURN ON WIFI
Do you have any idea how the wifi is toggled? Maybe this can be added to it.
Is this useful for wifi tethering
Sent from my LG-P500 using XDA App
Txpower = 5 is ok?
ccdreadcc said:
Txpower = 5 is ok?
Click to expand...
Click to collapse
18-19 is the common value . 5 is too little and you don't save a lot of battery
the command to save battery is iwconfig wlan0 power on
Can't this script work with tasker ? For example when you enable WiFi, tasker will automatically enable the script. Hmmm..
badeaioan said:
Can't this script work with tasker ? For example when you enable WiFi, tasker will automatically enable the script. Hmmm..
Click to expand...
Click to collapse
through an app yes it works but it's always a workaround
It's an ugly workaround,but works
Sent from my LG-P500 using Tapatalk
this is the fix http://forum.xda-developers.com/showpost.php?p=12022556&postcount=1003
A semi-permanent fix to wifi battery drain is here: http://forum.xda-developers.com/showpost.php?p=12027166&postcount=1039
Hey, guys after hours of thinkering it seems i devised a fix (at least a temporary, i guess it can be better implemented), but still wifi works with turned on radio.
I will not be doing any scripts or whatever.
DISCLAIMER
THIS IS ALL ON A BASIS OF INFORMING PEOPLE
I AM NOT RESPONSIBLE FOR ANY DAMAGE, LOSS OF DATA, OR BRICKED DEVICES IN CONJUNCTION OF TRYING OUT THESE STEPS
DO IT ON YOUR OWN RISK.
K now the requirements:
1. nonworking sim card (or att sim card)
2. RSD lite 5.0
3. stock 4.1.2.6 SBF flash file
4. Installed drivers on the computer for rsd
5. GladRoot http://forum.xda-developers.com/showthread.php?t=1016060 than you very much Ririal
6. OTA update
7. Working adb shell (there are other ways too but i prefer this one so ill write how i did it)
8. SQL editor, i used SQLite database browser (get it online its freeware)
9. titanium backup (if you wish to backup things, YOU MUST NOT RESTORE the [SETTINGS/BLUETOOTH] Settings Storage 2.2.1 however.
10. turned debug mode on when using adb
The process:
1. backup your data
2. Flash the stock image with RSD lite as its written here http://forum.xda-developers.com/showthread.php?t=991072 thank you kennethpen
3. put in the nonworking/att sim turn on the phone use wifi to configure motoblur
4. do not download the update yet
5. obtain root as described here, use the 1.5.7 method tho since we will be updating the ota http://forum.xda-developers.com/showthread.php?t=1016060
thanks again ririal
6. download and install ota update
7. do the afterupdate with the GladRoot
8. still on wifi, set up google account, update market gmail etc.
9. use adb/root explorer to copy the /data/data/com.android.providers.settings/databases/settings.db file to your sdcard into a directory you made before (name doesnt matter) example:
Code:
adb shell
su
cp /data/data/com.android.providers.settings/databases/settings.db /sdcard-ext/test
10. put phone into airplane mode, turn off phone
11. put in your sim card, turn on
12. let it boot and wait a min or two
13. before sliding press and hold the off button and choose airplane mode (it is IMPERATIVE that airplane mode is turned on)
14. sign into motoblur again (wifi should still work - turn it on tho since your in airplane mode)
15. repeat step 9 but copy to a second directory (lets say test1)
16. turn airplane mode off - you will loose wifi and sign into motoblur again
17. repeat step 9/15 but copy to a third directory (lets say test2)
18. copy the files from test2 and test1 to your computer - obviously to two different folders (use mass storage setting or adb pull)
19. open up the settings.db with sqlite from the not working config (in our case the one in test2) go to browse data and table secure
20. find the entry wifi_country_code and the value will be the one of your country (at least so it was with me), change that value by double clicking on it to US
21. Save the file
22. copy to your sdcard via usb to a directory lets name it "works"
23.turn off your phone, and put in the nonworking/att sim card, power it up
24. register motoblur again blah blah (ye its annoying there are ways around but that comes later and we needed it for the ota update)
25. turn the airplane mode off (its imperative to do so)
26. now we use adb again:
Code:
adb shell
su
cd /data/data/com.android.providers.settings/databases
rm settings.db
cp /sdcard-ext/works/settings.db .
chown system settings.db
chgrp settings.db
chmod 440 settings.db
cd ..
chmod 555 databases
exit adb shell with ctrl+d (in linux dont know about windows)
27. turn off phone, put in your sim card, turn on phone, register motoblur
28. most probably wifi will work for a moment than it will stop working and youll get a notifiaction lost data connection and something on (at least so it was for me)
29. use the wifi toggle on/of button to turn off and on the wifi a few times, than at the third or fourth time turn it off than on than immediately go into the browser and click on refresh as soon as you see the wifi icon in the notification tab. WiFi should work now, you can even turn it off and on with the wifi toggle button and it still works.
30. ANOTHER WARNING THO, THERE ARE QUITE SOME DRAWBACKS TO THIS METHOD (WHICH I HAVENT DISCOVERED ALL YET, TO BE HONEST BUT IM SURE THERE ARE QUITE SOME - SINCE WE DO NOT ALLOW THE SYSTEM TO EDIT THE SETTINGS.DB ANYMORE - BY CHMODDING THE PERMISSIONS), AN ISSUE I SAW IS THAT YOU CANNOT GO INTO AIRPLANE MODE ANYMORE - that is because the airplane mode state is saved in the same settings.db as the setting that blocks wifi, and if you just change that one and dont write protect the file and the databases folder the system just overwrites it again, so for now this is it.
AGAIN this is all on your own RISK, i cannot bi liable for anything out of the ordinary that happens, damages or whatsoever your phone or even you.
So now im awaiting responses if it works for you guys.
Oh and a few of the steps are just for backup purposes
Many thanks goes to Azuzu aswell, he was of great help all the time.
What about for the Canadian Bell Atrix can you please help us.
When I insert non working sim card into the phone, wi-fi working only once, after booting. Then when phone is going to lock, wi-fi is sleep and never work again. Is it instruction help to work with wi-fi during the day without rebooting? Thanks for instruction!
---
All is fine with Wi-Fi when it in Motoblur...
What about GPS?
May be needed to add GPS ON in this instruction?
Thanks guys. Its work for me. But too much DRAWBACKS. GPS does not work, settings are not saved
my friends you figured it all out like i did after a day of testing.
As i already said before there are some rather big probles that arise with this method, however for now this is the only way i found to having a working sim +wifi working.
Basically all the issues arise from the settings menu, since the settings from there are stored in the setting.db file that we disallow changing, due to this fact, i have devised a rather simpler way to do all the above + apply your specific settings - however you still wont be able to change them once you change the permissions.
1. gps state cant be changed as reported
2. ringtone/notification tone cant be changed
3. USB mode is stuck in NONE mode or the one you changed it to before doing read only
4. Possibly you cant pair new BT devices (havent tried that but i assume it might happen)
5. cant change lockscreen type (so if you pick fingerprint afterwards it wont change the lockscreen)
6. more possible problems, still if you want wifi you will endure some of those, they are however rather easy to fix, for people who dont change things all the time.
7. i found out that you have to turn off and on wifi (with the widget or in the networks menu) 2 times to make it work and it stops working if your phone changes the network from 3g to 3g or vice versa, however you just turn wifi off and on again and its fine (eventually you can just set your phone to 2g only or 3g only - either the dialer method or edit a config file - ill post that another time)
8. airplane mode not changing as stated above
So i did it like this this time:
lets assume you already have the phone 1.5.7 rooted (you can even have 1.2.6 rooted but the ota update brings nice features like longer battery, better fingerprint reader etc) and activated. NOW THIS SHORTENS THE PROCESS BY FAR and improves on the things that werent working before, it might lower battery life minorly but, well mine is still at 70% after ~16 hours so )
YOU WILL HAVE TO DO THIS ONLY ONCE (well at least until you want to change your ringtone hahaha )
1. Put in your working sim (just into the rooted atrix and the databases dir has to be read write like before, if you followed my guide above you have to go with adb shell to /data/data/com.android.providers.settings and write chmod 755 databases)
2. turn on phone in normal mode
3. set all your settings as you like and i really mean all - ringtones notifications - everything you can think of
4. turn all the networks on - wireless (it wont work but the state has to be on), bluetooth, gps - the thing is you can always turn them off, but if you write protect the file with them off you cant turn them on properly
5. pair your bluetooth devices (all of them) - havent tried yet if necessary but i think it is
6. reboot phone into normal mode, assure yourself that all the things are as you like
7. connect phone in debug mode, and set usb to none (it will stay in the none state, but you can always copy stuff with adb over, to your sdcard/internal phone mem as opposed to choosing mass storage mode where you have no adb access to them, but that is your choice ( you can manually change the state in the settings.db before making it read only, but i wont go into those details now)
Code:
adb shell
su
cd /sdcard-ext/test
cp /data/data/com.android.providers.settings/databases/settings.db .
ctrl+c/d to exit shell
8. connect phone in mass storage mode, open the settings.db file in the /sdcard-ext/test with the sqlite editor go to the brose tab, and secure, change the wifi_country_code value to ALL (last time i wrote US but ALL works fine so its more relaxed), save it
9. change the usb connection mode back to none
10. failure to chown and chgrp the settings.db to system and chmod it correctly can results in a soft brick
Code:
adb shell
su
cd /data/data/com.android.providers.settings/databases
rm settings.db
cp /sdcard-ext/test/settings.db .
chown system settings.db
chgrp system settings.db
chmod 440 settings.db
cd..
chmod 555 databases
reboot
11. the phone shoudl reboot now with all the networks turned on, you can use the widgets (or int he wireless menu) to turn off wifi and bluetooth (tested it myself and it works), havent tested gps turning off yet, but its no problem since gps turns on itself only when apps use it (maps etc, weatherbug can use it aswell, so might check into it if its permanently turned on than)
12. turn wifi off and on 2-3 times, than turn it on, it should be working now
Thanks for testing this out to confirm that it works at least
Anyhow if someone might get a clue what issues the command to change the wifi_country_code hes encouraged to share, so we can only fix that problem and there wont be these side effects than
you can however change all the settings by just editing the settings.db with the sqlite editor manually, youd have to figure out all the parameters and values yourself (some are fairly easy - for instance for usb mode, some can be rather hard - for instance ringtones, cuz you must have the path and everything)
EDIT, YOU CAN LEAVE OUT THE PAIRING BLUETOOTH DEVICES STEP, pairing works, i just tried it with an apple bluetooth kb, and its fine.
RacecarBMW i cannot say anything with certainty, since i dont have one to test it on, but probably the same method would work for the bell atrix (use the method in the post above, with the ALL value for wifi_country_code), however you have no sbf to flash and its way more dangerous that you will create a softbrick, so please be very careful and its all YOUR RESPONSIBILITY. I AM AND WILL NOT BE LIABLE FOR ANY ADVERSE EFFECTS.
We need to lock only some rows in db file or creating daemon which would keep these lines in memory. Is it posible with SQLite?
crnkoj Please change on step 10 in listing:
cd /data/data/android.providers.settings/databases
to
cd /data/data/com.android.providers.settings/databases
I do all steps and my GPS works fine... Thanks
how can i undo this:
chown system settings.db
chgrp system settings.db
chmod 440 settings.db
chmod 555 databases
what's default settings?
loggin111 said:
how can i undo this:
chown system settings.db
chgrp system settings.db
chmod 440 settings.db
chmod 555 databases
what's default settings?
Click to expand...
Click to collapse
you can just enter to another folder to /data/data/ directory with cd and run ls -l to view directory permissions.
chmod 755 databases
and something like 755 for settings.db
thank you Jartyn, replaced that in step 10. And yes Jartyn exactly as you say we jsut have to keep this line permanent and everything else changeable (maybe there is an option in sqlite to block only 1 line? - i dont know so much).
I do however know now, which process is changing this:
it is the WifiStateTracker ( http://www.androidjavadoc.com/1.1_r1_src/android/net/wifi/WifiStateTracker.html ) from android.net.wifi , i however dont know where to find this on the phone.... we would most probably only have to change one line in the WifiStateTracker and it would work fine (however this still wouldnt be fixing the source, we would just fix the change in country code, yet the reference to which its compared is still unknown to me, but i think it would suffice for us) the funny thing here is the WifiStateTracker is not in the official android tutorial tho:
http://developer.android.com/reference/android/net/wifi/package-summary.html
so if anyone knows where to find this we could fix it easyly
1.5.2
crnkoj said:
thank you Jartyn, replaced that in step 10. And yes Jartyn exactly as you say we jsut have to keep this line permanent and everything else changeable (maybe there is an option in sqlite to block only 1 line? - i dont know so much).
I do however know now, which process is changing this:
it is the WifiStateTracker ( http://www.androidjavadoc.com/1.1_r1_src/android/net/wifi/WifiStateTracker.html ) from android.net.wifi , i however dont know where to find this on the phone.... we would most probably only have to change one line in the WifiStateTracker and it would work fine (however this still wouldnt be fixing the source, we would just fix the change in country code, yet the reference to which its compared is still unknown to me, but i think it would suffice for us) the funny thing here is the WifiStateTracker is not in the official android tutorial tho:
http://developer.android.com/reference/android/net/wifi/package-summary.html
so if anyone knows where to find this we could fix it easyly
Click to expand...
Click to collapse
hi
does it work with 1.5.2 rooted?
i flashed sbf back from unroot 1.5.7 to 1.2.6 , i didn't gladroot because i had not wifi for update & after update.bat
so i stopped @ 1.5.2 & i cannot update anymore, please help me to activate my wifi.....
zeidof you can do it on the 1.2.6 rooted aswell, use the same steps as described above, it should work fine.
hey guys what wifi issues? i have a ATT on vodafone UK and i dont seem to see any issues.
crnkoj said:
zeidof you can do it on the 1.2.6 rooted aswell, use the same steps as described above, it should work fine.
Click to expand...
Click to collapse
Hi can this fix be on a custom rom? i mean it will be included on a custom rom..
ronaldo, use search ... http://forum.xda-developers.com/showthread.php?t=1010942&page=3 lucky you arent one of us who have this issue.
emorej, if you read my first post, it says i wont be doing any scripts/cwm flashable updates/custom roms. If anyone wants to implement this in his rom hes free to do so, he has to be careful tho, since basiically the script that updates it, has to change only the wifi_country_code ALL and than make the databases folder read only, it must not copy over a generic settings.db since there are user specific things in it.
Jartyn and i are trying to figure a more source problem related fix for the issue, but that will take quite some time i fear.
Here is an even better solution from akizakian
http://forum.xda-developers.com/showthread.php?t=1058260
Simplest Solution
I had this same issue and the simplest solution is here:
1. Extract the attached zip file and you will get two files.
2. Turn off Wi-Fi, replace the two files in
/system/etc/firmware/wifi
This can be done using adb or Root Explorer.
turn Wi-Fi back on, and that's it!
Mate you are mistaken, its two totally different issues you and i are talking about, yours is that 5ghz isnt working, mine is that wifi isnt working in certain countries at all. by copying the files you supplied my wifi again stops working, because there is a country lock within the moto atrix wifi drivers (the version doesnt matter, may it be 1.2.6, 1.5.2, 1.5.7 or 1.8.3, the issue you fixed with your method is only the nonworking 5ghz on the 1.5.2. leaked sbf)
ceo.mtcl said:
I had this same issue and the simplest solution is here:
1. Extract the attached zip file and you will get two files.
2. Turn off Wi-Fi, replace the two files in
/system/etc/firmware/wifi
This can be done using adb or Root Explorer.
turn Wi-Fi back on, and that's it!
Click to expand...
Click to collapse
The LG Optimus wifi drivers fixed my simunlocked wifi problem in qatar.
The other solutions that were being thrown around did not.
seems moto is gonna fix it with an update:
https://supportforums.motorola.com/thread/50598?start=15&tstart=0
Hi, I installed GingerDX v14 7 days back into my Xperia X8i. This ROM is working fantastic and with all function. One problem I found that my phone can not connect with Adhoc Wifi connection with my laptop. When I try to connect the cell tries for 5 to 8 mins and reboots automatically. But with my Wifi router it has no problem. Can some one help me?
dipusen said:
Hi, I installed GingerDX v14 7 days back into my Xperia X8i. This ROM is working fantastic and with all function. One problem I found that my phone can not connect with Adhoc Wifi connection with my laptop. When I try to connect the cell tries for 5 to 8 mins and reboots automatically. But with my Wifi router it has no problem. Can some one help me?
Click to expand...
Click to collapse
same i am having the exact same problem i have the ginger dx 014 but i ahve stock kernal waht about you
Flypants101010 said:
same i am having the exact same problem i have the ginger dx 014 but i ahve stock kernal waht about you
Click to expand...
Click to collapse
@Flypants101010 : yes sir, I also have stock kernel with GingerDX v14. Still now we dont have any option to solve. I searched forum for the solution but I didnt find any. If you get some I request you to remember me please and share.
i have an idea we could change the tiwlan.ini in /system/etc/wifi like in the mod for faster
wifi (N standard mod) it says that the mod enables n standard and wifi adhoc im going to try it!
i use gingerdx 017 and i had try your sugestion, i change to faster mode wifi (n standard mode), but the problem was not solved.
I think gingerDX not yet support wifi hotspot. Can try app like Barnacle from market (saw somewhere in this forumn work well, haven't tried yet).
Well you're luck cuz I don't have any wifi or bt now (after installing GDX v17)
anyway, if you want to connect your phone with laptop I can help there is app called connectify (it's cool really) give it try.
I hope I helped
guys, nothing helped me. the problem remains same. ugraded to v17
do a clean install make sure u do a full wipe and all your wifi problems and bluetooth problems should have disappeared ive never had any problems with wifi or bt when using the method i just told you
Even after clean install of GDx V019, then full wipe, X8 fails to connect to Ad-hoc N/w on my laptop. It fails to get the IP address. But there is absolutely no problem in connecting with wifi.
try connecting to other wifi networks ? maybe its your laptop ?
leingod0923 said:
try connecting to other wifi networks ? maybe its your laptop ?
Click to expand...
Click to collapse
no dude, I also have exactly same problem as nima7 says. So both of our laptos have same problem?
Ad-hoc
I have same problem, phone reboot after screen timeout while connected to ad-hoc network but it doesn’t happen when I am charging my phone?? Any cure?
just installed gingerDX v021, and the problem goes on...
When connected with adhoc, when screen turns off, it reboot...
Any solutions?
AdHoc Problem
Hi,
I found out the solution, it worked gem for me. All new custom ROMs comes with Wifi N standard enabled and as per developers N standard does not support Adhoc connectivity. So simply we need to disable the N standard if you frequently use Adhoc or you don’t have N standard routers.
Follow this steps:
- Launch Root Explorer.
- go to: /system/etc and find a file named tiwlan.ini(Path for miniCM RC1 or CM6). For CM7 based ROMs the path may be /system/etc/wifi. And copy this file to SD card??
- Now copy(tiwlan.ini) file to your computer via USB cable. And open the file using Notepad.
- Look for these below mentioned lines and change them from 1 to 0 (use ctrl+f to search in notepad)
HT_Enable=1 ---> HT_Enable=0
BurstModeEnable = 1 ---> BurstModeEnable = 0
Single_Dual_Band_Solution = 1 ---> Single_Dual_Band_Solution = 0
(CAUTION: DO NOT CHANGE ANYTHING ELSE OR USE SPACE JUST REPLACE 1 WITH 0)
- Now copy the edited tiwlan.ini from your computer to your SD card, and then copy this to its original location by using root explorer with mount R/O enabled and replace the original file, and exit from root explorer without any further changes.
- Go to settings from menu and go to wireless & network>Wi-fi setting and clear all the network(SSID) name you used before by long pressing the name and then select forget network.
- Restart your phone and enjoy??
If useful pls hit the thanks button.
thanks dude worked charm for my friend x8
it worked for me after I unlocked my bootloader and flashed alfs 07 ics kernal and used gdx 22 and it works perfectly and better performance
Great to hear this some people successfully connected to Adhoc wifi.
GingerDX v29
Wasif_F1 said:
Hi,
I found out the solution, it worked gem for me. All new custom ROMs comes with Wifi N standard enabled and as per developers N standard does not support Adhoc connectivity. So simply we need to disable the N standard if you frequently use Adhoc or you don’t have N standard routers.
Follow this steps:
- Launch Root Explorer.
- go to: /system/etc and find a file named tiwlan.ini(Path for miniCM RC1 or CM6). For CM7 based ROMs the path may be /system/etc/wifi. And copy this file to SD card??
- Now copy(tiwlan.ini) file to your computer via USB cable. And open the file using Notepad.
- Look for these below mentioned lines and change them from 1 to 0 (use ctrl+f to search in notepad)
HT_Enable=1 ---> HT_Enable=0
BurstModeEnable = 1 ---> BurstModeEnable = 0
Single_Dual_Band_Solution = 1 ---> Single_Dual_Band_Solution = 0
(CAUTION: DO NOT CHANGE ANYTHING ELSE OR USE SPACE JUST REPLACE 1 WITH 0)
- Now copy the edited tiwlan.ini from your computer to your SD card, and then copy this to its original location by using root explorer with mount R/O enabled and replace the original file, and exit from root explorer without any further changes.
- Go to settings from menu and go to wireless & network>Wi-fi setting and clear all the network(SSID) name you used before by long pressing the name and then select forget network.
- Restart your phone and enjoy??
If useful pls hit the thanks button.
Click to expand...
Click to collapse
It was a good advice at the time of the writing, but GingerDX v29 already contains these modifications.
I tried wifi hotspot function using two X8 phones, both running GingerDX v29. As I also had "error" always when I tried to start it. Interesting thought my X10 mini Pro (also running GingerDX v29) was working as a hotspot using the same menu item.
Then I realised what is written in the first post:
GingerDX v029 (29-09-2012) - huuuuuuuuge update:
Based on MiniCM shakira device tree
CM nightly dated on 28/09/2012
New devices officially supported from now (Xperia X10 Mini, Xperia X10 Mini Pro, Samsung Galaxy Ace GT-5830 - thanks to CallMeVentus)
Updated Google Play Store to 3.8.17
Removed Nemus Launcher
Added Holo Launcher 1.2.4
Added Google Authenticator
Spare Parts/Dev Tools
Ultra-brightness
Ultra-brightness power toggle
Native WiFi tethering (custom kernel only)
Click to expand...
Click to collapse
Which was the problem the X8's had. As custom kernels require unlocked bootloader and they should be produced before 11w29 as the guide says:
If your phone's manufacture date is 11W29 or PAST 11W29, DO NOT ATTEMPT TO UNLOCK YOUR BOOTLOADER. IT WILL MOST LIKELY RESULT IN A HARD BRICK
Click to expand...
Click to collapse
So this can also be the reason. HTH
I have an original Samsung Galaxy Tab 7" and am having trouble connecting to my wireless network, as my router is set (on purpose) to channel 13. Due to congestion, I am unable to select a different channel (1-11).
Is there anything I can do to enable my GT-P9000 to support Channel 13? It's rooted & running CyanogenMod + cdesai's Jelly-Bean ROM (cm-10-20120730-EXPERIMENTAL-p1-cdesai). All my other devices (iPad/iPhone) appear to support Channel 13, so I just need to get this working now.
I'm sure it's probably just a matter of setting the device to support EU WiFi standards, but am unsure how to do this....
Any ideas?
strawdog74 said:
I'm sure it's probably just a matter of setting the device to support EU WiFi standards, but am unsure how to do this....
Any ideas?
Click to expand...
Click to collapse
Success!!
I solved my own question, for those stumbling across this thread, simply do the following :-
1. Install SSHDroid on the device
2. Install PuTTy on your computer (SSH terminal emulator)
3. Connect to your device by entering the HOSTNAME or IP address into PuTTy
4. Login using user=root password=admin
5. Paste the following command into the terminal :-
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name, value) VALUES ('wifi_country_code', 'EU');"
6. Restart wifi or Reboot device
I am now able to see my WiFi network on Channel 13 using WiFi Analyzer (a very useful app by the way).
Can't you just run terminal app rather than SSH from PC?
Sent from my GT-P1000 using xda app-developers app
''Wifix manager'' can set this without using the scripts, just type in the advanced ''EU'' or whatever country code you want.
Sent from my GT-P1000