[MOD][08.21.13][Hotspot AP mode fix - LIVE on android-wifi-tether site][GB/ICS] - HTC Rezound

RECENT NEWS: Fixed wifi tether on newest ICS rom, the problem was the exact same firmware issue from the original GB roms. HTC had two AP firmwares just as with the original GB roms. See notes below about the firmware for GB for more information, attached is a zip file that will replace the non-tether compatible firmware with the firmware that does work for tether. I found it interesting that HTC's firmwares from prior ICS versions worked fine without modifications, but the latest one required this hack just like the original GB HTC roms.
Looking to get your Gingerbread Rezound's wireless hotspot to work in Infrastructure mode?
Having problems with your Ice Cream Sandwich Rezound's wireless hotspot stuttering while playing online games in Infrastructure mode?
You found the right thread!
Con247 suggested I move the quick-start guide to the top of this thread.
WARNING: DO NOT FLASH THE ZIP FILE ON ICS ROMS, DO NOT FLASH THE ZIP FILE ON ICS ROMS!
I am now an official developer and committer for the Android-Wifi-Tether project. Now that is awesome!
See list here
---KNOWN ISSUES BEGINS HERE---
1. The file wifi_tether_v3_2-pre1.apk downloaded as wifi_tether_v3_2-pre1.zip?!?
This is actually a common issue when downloading any APK via a web browser and is a result of your web browser recognizing the file format for a ZIP file and the fix is very easy. Rename wifi_tether_v3_2-pre1.zip to wifi_tether_v3_2-pre1.apk and it will install.
2. When tethering to my phone over my 4G connection, the internet gets very laggy and unresponsive...but on 3G it works fine?!?
This is a common problem among those with 4G phones in 4G areas using tethering apps. Sometimes those devices are unable to operate both the 4G radio and the WIFI radio at the same time...either due to the amount of heat generated...power consumed...or possibly hardware required for both to operate that can not be shared. Unfortunately there is no fix to make it work over 4G without an issue if you are having problems. You maybe one of the lucky ones who can use it in which case this won't apply to you. If you have issues try tethering with a 3G connection, usually this will resolve the problems.
To my knowledge this is an issue that affects all tethering apps including Verizon's Hotspot. Reports on success or failures in this forum are appreciated.
3. Your post has too many words...Lots of words make things useless, can you reduce it to an index card size or just delete it all?
I'm glad you asked. You see as a person inclined to work with things on a technical level I often find myself browsing hundreds of thousands of pages of what the layman would consider "jiberish". While the "jiberish" is of no use to a layman, it is very important to other persons of the technical inclination such as computer programmers, software developers, and the like. We share details of our changes to the "jiberish" with each other openly to help further future discoveries and fixes in the realm of computer science. If I were to say remove half of the development blog attached at the bottom of this post then I would have done the equivalent of starting the next episode of your favorite tv show (ex: Jersey Shore) halfway through an episode you never saw. While missing half an episode of Jersey Shore might not seem very important, it might have been an episode that had Snookie conceiving a child with The Situation before the second half where they all go out drinking and eventually get in a fight over the way The Situation starts grinding on some other chick. Which too any Jersey Shore fan would have been monumental. The development blog is just as monumental to us technical types. I hope that my work in getting wifi tether working on GB Rezound can help others get wifi tether working on their on devices that may be having a similar problem. So in short, no I will not shorten the post.
Click to expand...
Click to collapse
---KNOWN ISSUES ENDS HERE---
---QUICKSTART BEGINS HERE---
Most problems with Wifi Tether not working are related to not replacing the firmware correctly or not uninstalling the old apk before installing the new one. Remember if your Wifi Tether is in system you will have to use a special app like Titianium Backup or Root Explorer to remove it before attempting to replace it with my patched version.
The EasyFix zip file will attempt to remove any original Wireless Tether (having it's original APK name ie: com.googlecode.android.wifi.tether-?.apk) installed if it exist, this will also fix any force close issues you are having from a incomplete or improper install of Wireless Tether as noted earlier in this thread that some have experienced. The script for EasyFix will perform a more complete fix. The update.zip contains the updated firmware and apk. It will copy the apk to your /data/app folder and the firmware to /system/etc/firmware. Enjoy!
WARNING: DO NOT FLASH THE ZIP FILE ON ICS ROMS, DO NOT FLASH THE ZIP FILE ON ICS ROMS!
EASYFIX for GB - How to enable wireless tether on the Rezound GB! In 10 EASY Steps!
1. You need GBOnly-WifiTetherComplete32P1.zip (includes my modified apk - attached) located at the bottom of this post, CleanROM 1.7+, access to terminal/adb, and root.
2. UNINSTALL ALL COPIES OF ANDROID WIFI TETHER
3. Reboot to recovery and flash GBOnly-WifiTetherComplete32P1.zip
4. Reboot back to Android.
5. Open Wifi Tether (That you just installed, It will know you using a Rezound and use NetD by default)
6. Enable encryption if desired (it works)
7. Check MSS Clamping and Routing fix (I used both in my work)
8. Check access control (if you want it)
9. Turn on Wifi Tether
10. PARTY!!!
EASYFIX for ICS - How to fix wireless tether stutter on the Rezound ICS! In 9 EASY Steps!
1. You need to download wifi_tether_v3_2-pre1.apk to your SD card (only the apk - attached) located at the bottom of this post, an ICS ROM, and root.
2. UNINSTALL ALL COPIES OF ANDROID WIFI TETHER
3. Install wifi_tether_v3_2-pre1.apk using your favorite file manager.
4. Open Wifi Tether (That you just installed, It will know you using a Rezound and use NetD by default)
5. Enable encryption if desired (it works)
6. Check Routing fix (Required)
7. Check access control (if you want it)
8. Turn on Wifi Tether
9. PARTY!!!
If for some reason you want AD-HOC tethering, simply change "Setup-Method" to WEXT (remember AD-HOC/WEXT does not support encryption). Typically everyone is wanting AP mode so Auto/NetD is likely what you are wanting.
Click to expand...
Click to collapse
---QUICKSTART ENDS HERE---
Development Blog Begins Here
I noticed that this device has 4 firmware images for the wifi radio in GB and 6 in ICS. I think part of our problem is restrictions placed in the firmware by HTC for VZW. In short you can find the firmware in /etc/firmware/fw_bcm*.bin and if you replace fw_bcm4330_apsta.bin with fw_bcm4330b2_apsta.bin (backup your firmware folder first!) you can now open an access point with wpa2 encryption. I however have not been able to get a complete connection, and it always gives up waiting on dhcp address and iptables shows no packets routed or dropped. I'll look into it further after the weekend is over right now all I have is my phone and development further than this might not be possible without my PC. I think the VZW hotspot is loading firmware b2 of the access point firmware (apsta) for it's work while standard android use loads the first firmware.
#2: ifconfig shows I have a valid interface and traffic on it but forwarding does not appear to be happening. (Packet count increases with attempts to visit website, I setup static Ip on the client to avoid DHCP failure during my tests.) Looks like I'm missing a route as well.
#3: and the interface has not been assigned an IPv4 address so that explains the lack of a route.
#4: I can get the Rezound to communicate to a (both ways if the Rezound initiates the connection/ping) tethered device but I can not get the tethered device to communicate with the Rezound (as if the data just goes into a black hole). But ARP routeing tables show correct information on both sides of the connection. I appear to have a missing route somewhere and it's getting late.
TO REPRODUCE:
You need Wifi Tether 3.1-beta 11, CleanROM 1.7+, access to terminal/adb, and root.
TURN OFF WIFI / TETHER APPS IF ON
Create a backup of /etc/firmware/fw_bcm*.bin
Replace fw_bcm4330_apsta.bin with fw_bcm4330b2_apsta.bin
Open Wifi Tether
Set device as Google NexusOne
Set method as NetD (master)
Enable encryption if desired (it works)
Change Lan (Select 192.168.2.0/24)
I have not determined if MSS Clamping or Routing fix are needed but my tests include routing fix.
Turn on Wifi Tether
in terminal do the following without qoutes:
"su"
"/system/xbin/ifconfig eth0 inet 192.168.2.254 netmask 255.255.255.0 mtu 1500"
On the device you want to connect to the hotspot with do the following
Set static ip information (DHCP will not work at this time)
IP: 192.168.2.103
Netmask: 255.255.255.0
Gateway: 192.168.2.254
DNS1: 192.168.2.254
DNS2: 192.168.2.254
Connect device to hotspot.
Device (not the Rezound) will show connected but have no network access at this time.
On the Rezound in the terminal you can verify the device is connected with ping
"ping 192.168.2.103"
You will see the ping replies! (Press volume down + "C" to stop once confirmed if using terminal)
WOOT! We're half way there! I think if Wifi Tether setup the interface with the IPV4 address properly instead of us having to go back and set it after the fact that this may work without any further trouble.
Once we have Wifi Tether resolved, I will have my dream device! ...at least for the next 6 months \\
#5: I HAVE IT! I will post a working fix/update within a few hours! It works!
#6: FINAL SOLUTION!
The problem was two fold, first the phone has two sets of firmwares and by default loads a non-accesspoint capable version when trying to setup an accesspoint. I've already explained that part in my first post. The second problem, the accesspoint interface firmware operates on eth0, which is NOT what wireless tether expects...so I either had to intercept tether's scripts and fix the interface name OR modify tether to use the proper interface name (which I did both, but the fix I am posting is a modified tether without scripts...it is simpler, and EASY FOR THE WIRELESS TETHER TEAM TO FIX).
ADVANCED FIX - How to enable wireless tether on the Rezound! In 12 EASY Steps!
Please scroll down to EASY FIX 2 for instructions on using con247's zip in recovery instead of moving files around in root explorer yourself.
Download the attached MODIFIED WIFI TETHER APK, it has the interface names for the networking accesspoint corrected to eth0 and not wl0.1 (which was the default for google nexus).
1. You need Wifi Tether 3.1-beta 11b2 (my modified version), CleanROM 1.7+, access to terminal/adb, and root.
2. TURN OFF WIFI / TETHER APPS IF ON
3. Create a backup of /etc/firmware/fw_bcm*.bin
4. Replace (existing) fw_bcm4330_apsta.bin with fw_bcm4330b2_apsta.bin in /etc/firmware
5. Install modified Wifi Tether
6. Open Wifi Tether
7. Set device as Google NexusOne
8. Set method as NetD (master)
9. Enable encryption if desired (it works)
10. Check MSS Clamping and Routing fix (I used both in my work)
11. Turn on Wifi Tether
12. PARTY!!!
For those with trust issues download apktool and decompile wifi tether yourself, open smali/com/googlecode/android/wifi/tether/system/Configuration.smali
using a NON DESTRUCTIVE TEXT EDITOR! I.E. one that will not change anything you do not specifically change! I used JEdit on Ubuntu, I read Notepad++ on windows will work good too.
Under ".method private setupSoftapGoogle()V"
Change line 2707:
.line 327
const-string v0, "wl0.0"
To:
.line 327
const-string v0, "eth0"
Save and rebuild & sign apk.
Have a great day!
This hack is all of my own work, please give me credit if you use this or include it in your rom/mod!
Donations are always welcome as I do appreciate a good beer ;-D
Update:
Questions about will it work on my ROM or Kernel, you will just have to try it. Remember to backup your firmware folder to revert incase you make a mistake. This method should work on any GB rom and should work on ICS as well. So long as the kernel/rom dev has not radically modified their ROM/Kernel in the wifi/tether department. Enjoy!
Also attached some nifty images with my chicken scratch on them to help point out the original file differences (in size) as well as what we are replacing in case there was any confusion.
EASYFIX 1/2 & INSTRUCTIONS REMOVED - PLEASE SEE EASYFIX
Enjoy, Thanks goto con247 who packaged up a recovery zip to move the firmware!
This fix has been updated and is now using Beta12 of Wifi Tether.
The patch is slightly different instead of patching Google's Nexus driver I just copied it to it's own routine patched the device name as indicated in the above patch instructions, renamed it to HTC Rezound GB and added it to the device menu. No more looking like a hack here. The Wifi Tether team could easily add this patch to their base code (I did this using a text editor on the smali code), but it would only benefit HTC Rezound GB users with rooted devices. Oh well...Enjoy Everyone!
Update 04/11/12: Fixed downloads...not sure what was wrong. Re-uploaded the files and all is well. Sorry for the inconvenience.
Update 04/12/12: Really fixed downloads...I do not know what has happened. I tested them when they first went up and they worked fine. Could be a browser issue maybe? I was using Chrome, this time FireFox. Never had any issues uploading before. I downloaded both files again completely to be sure this time, everything looks good. Again I apologize for the inconvenience.
Update 04/23/12: Updated patch to latest beta14.
Update 04/28/12: Corrected firmware/module file locations for Rezound. Removed SoftAP (does not work on Rezound GB profile anyway). Tested Wext on Rezound profile (works for those wanting Adhoc, note: encryption not supported on Adhoc). Added patch notice to App title bar so you know what is installed (default vs patched). Also gave myself credit for the patch in the about box and added a link to this thread for future reference and added a donation button in the about box for those who feel generous (Don't forget about the Wifi Tether team, without which non of this would be possible!). Enjoy! (Fixed Download: I forgot to sign the APK, sorry everyone!)
Update 05/02/12: Moved quickstart guide to top per con247's suggestion. Also note this fix is NOT needed for any ICS variants, only GB.
Update 05/18/12: Per feedback from Kidney Poker I have patched the Wifi Tether Application to include a Rezound ICS profile, in that profile I added correct ICS firmware folder/filenames (The Rezound's firmware/modules are in different locations than Google ICS), the result of which I believe caused some stuttering in the connection was running applications requiring a consistent and low ping (I.E. Online Games). I appreciate any additional feedback anyone would like to add on this matter, let me know if this patch improves your tethering experience or not. Thanks! ICS does not need firmware files moved for AP mode to work so do not flash the zip, you only need the apk of the patched Wifi Tether application. DO NOT INSTALL WifiTetherFixCompleteR14B.zip on ICS!!!
Update 06/01/12: Added beta15 PUBLIC TEST 1 UNOFFICIAL Wifi Tether with my changes that I am submitting to the Wifi Tether team. Give it a try, fiddle with the options, tell me how it works! Post your feedback and Thanks!
Update 06/02/12: Beta15 PUBLIC TEST 2: Fixed bug where Automatic quota shutdown appeared twice in settings. Configure ed keep-alive shutdown timer option to be disabled when keep-alive is set to retry indefinitely.
Update 06/27/12: Android wifi-tether now has an official download with my changes includes and some new features added! Woot Woot!
Update 07/14/12: I am now an official developer and committer for the Android-Wifi-Tether project. Now that is awesome!
Update 08/21/13: Updated post to include fix for latest ICS release, the firmware issue from GB returned to this version of ICS. Simply replacing fw_bcm4330_apsta_b1.bin with fw_bcm4330_apsta_b2.bin located in /system/etc/firmware/ and this change will enable wifi tether using android-wifi-tether. Updated zips to include latest non-experimental version v3.3 beta 2 and attached for direct download. GB firmware zip is intended only for GB roms, and ICS Latest zip is intended only for the latest ICS version v4.03.605.2 710RD. You will need a custom kernel to tether, the stock kernel will not work as it lacks the proper NAT layers to do so.
Click to expand...
Click to collapse
!!! STOP HERE - DOWNLOADS BELOW !!!

Wow. I'm impressed. Keep up the good work. It sounds like you're on to something.
Sent from my ADR6425LVW using xda premium

omg if you get this to work I will give you all the cookies your heart desires!!!

I understood about a total of 6 words in the OP, but I do know that this will be awesome if you can get it working. Nice work

any update on this?

Unfortunately I've not been able to resolve the routing issues yet, communication starting from the client towards the tether point (rezound) arrives but does not seem to get past the interface device (packets are counted but data is getting dropped after reaching the rezound. I am still trying to resolve this.

I got it, will post a working update within a few hours!
#2: MOD COMPLETE! ENJOY!!!

Fantastic work!

will this not work on ineffabilis 1.3?

It should work on GB roms.

will this work If im rooted and have ziggy's oc kernal but still on stock debloated (by me) vzw gb rom?

I looked in the firmware folder and I couldn't find the bcm* file to backup and both of the files I'm supposed to replace each other with are already in there.

antispiral said:
I looked in the firmware folder and I couldn't find the bcm* file to backup and both of the files I'm supposed to replace each other with are already in there.
Click to expand...
Click to collapse
I believe you are supposed to rename the one with the b2 in it to remove the b2 and let it replace the one that is already there WITHOUT the b2. if that makes any sense.

Regards to other roms/kernels:
You will have to try it yourself, but this method should work on all Rezound GB Roms as long as the firmware folder is there and the dev has not modified anything related to tethering/wifi in a radical way.

That is absolutely right! Replace the existing file fw_bcm4330_apsta.bin with the fw_bcm4330b2_apsta.bin file.

con247 said:
It should work on GB roms.
Click to expand...
Click to collapse
Con where's the flashable zip man? J/K but that would be awesome. This may make me go back to GB. Thanks for this
Sent from my ADR6425LVW using XDA

Doddzilla said:
Con where's the flashable zip man? J/K but that would be awesome. This may make me go back to GB. Thanks for this
Sent from my ADR6425LVW using XDA
Click to expand...
Click to collapse
This is one of the reasons I haven't went to ICS yet. I have everything I wanted (minus ICS) with this phone running Gingerbread now. Once ICS source is out, that may change.

SirGatez said:
That is absolutely right! Replace the existing file fw_bcm4330_apsta.bin with the fw_bcm4330b2_apsta.bin file.
Click to expand...
Click to collapse
so can't I just delete the fw bcm4330 instead of replace since the fw bcm4330b2 is already in the folder?

Confirmed working on Ineffabilis 1.3. Tethering to my Mac running Lion and I didn't have to change any settings in the Wifi Prefs. DHCP worked just fine.

antispiral said:
so can't I just delete the fw bcm4330 instead of replace since the fw bcm4330b2 is already in the folder?
Click to expand...
Click to collapse
Yes, delete fw bcm4330 (or backup to another location) and rename fw bcm4330b2 to fw bcm4330

Related

Tethering the Streak to another phone...

Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
gersztoff said:
Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
Click to expand...
Click to collapse
i use barnacle to connect with ipad.root necessary.
i have a US streak and im having issues getting it to tether to my HTC Aria (using wireless tether). Ive tried the original rom, the O2 1.6 and 2.1 rom. But still no luck, my laptop, and 2 friends ipods will connect through the aria, but the streak doesnt even see it.. So not sure whats going on!
I have a Sprint EVO 4G that can serve as a hot spot but haven't tried it with my Streak yet. But I plan to. I bought the Streak without activating the AT&T part. Don't need two cell phones.
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Yeah Barnacle works.
gersztoff said:
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Click to expand...
Click to collapse
the archos 5 will not tether if u are using adhoc. found out the hard way... (long time ago before the streak came out i thought i could use that and tether with my iphone and it didint work.. apparantally it doensnt support adhoc wifi. but bluetooth tethering worked fine on the archos 5
Maybe someone can get this to work?
Tried to connect to to my WM Omnia via WMWiFiRouter- No Dice.
tried using wpa_supplicant file attched below- i can see and connect to ad hoc network(s), but can not establish IP --> copied to /system/bin
the apk and files below look more promising but perhaps need editing by someone who actually knows what they are doing. the app installs and runs but there is a location mismatch.
then ran across this info here: http://www.slatedroid.com/pandigital-novel-android-tablet-discussion/4505-i-have-infrastructure-adhoc-working-same-time-do-you-want-look-here.html
"Okay, I'm not taking 100% credit for this because all I did was modify the work that this user did:
'Originally Posted by YasinSiddiqui
NOTE: I'm using Rogerbraun Custom ROM 5.1 on Rockchip APAD, but I don't see any reason why this shouldn't work on the PDN too.
Hi Guys,
Finally figured this out.
Since the wpa_supplicant.conf file is read-only, an Android app can't modify the file. Hence, we were having to go back to connecting the APAD to the PC and use DroidExplorer to overwrite the wpa_supplicant file everytime we wanted to enable Adhoc Wifi.
I realized that when you upload a file to the APAD using DroidExplorer, it gets write permissions
And once you have the file with write permissions, an app CAN modify the file.
So, I've created a small app for easy switching between Normal and Ad-hoc wifi modes.
Here are the steps:
1. Step removed because the files were replaced (see below!)
2. Use DroidEXplorer to copy the 3 files: wpa_supplicant.conf, wpa_supplicant.conf.adhoc and wpa_supplicant.conf.normal to /data/misc/wifi folder
3. Install AdhocAble.apk using any File Manager or even DroidExplorer
Now, start up adhoc wifi tethering on your phone (Barnacle Wifi Legacy on Android, JoikuSpot on Symbian, WMWifirouter on Windows Mobile, MyWi on IPhone etc.) and set the adhoc SSID to: adhocable with NO password.
Remember that you have to Turn wifi off and on everytime you switch modes.
For experts: How the app buttons work:
1. Switch to Ad-hoc Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.adhoc
So if you want to change the adhoc SSID or give it a password, edit the wpa_supplicant.conf.adhoc before copying it via Droidexplorer
2. Switch to Normal Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.normal
3. Backup Normal Settings: Overwrite wpa_supplicant.conf.normal with wpa_supplicant.conf
This allows you to avoid having to type the normal wifi passwords every time. But, remember not to use this button when you are in ad-hoc mode, otherwise you'll lose all your saved wifi passwords.
4. Do let us know: opens up an email compose window so that you can tell me whether you like the app or not. Do write your name, country and details of which devices and ROMs you have.
My modifications to these instructions are as follows:
Instead of the supplicant files supplied by the user above use mine
Also feel free to open "wpa_supplicant.conf.adhoc" and change the SSID to whatever you want, i.e. I called mine "AndroidTether"
Also I didn't bother with any security because I'm just using the access control feature on my tethering program, I'm not sure if they all have this feature but basically, my phone tells me when someone is trying to connect and asks if I want to allow the connection before the device is assigned an IP.
1. download: "wpa_supplicant_files_WORKING.zip and unzip
1.1 Open "wpa_supplicant.conf.adhoc" and edit SSID to whatever you want
2. place "wpa_supplicant.conf" , wpa_supplicant.conf.adhoc & wpa_supplicant.conf.normal into the sdk's "tool" folder (where adb.exe is)
3. download "AdhocAble_apk.zip" and unzip
4. Place "AdhocAble.apk" into the sdk's "tool" folder (where adb.exe is)
5. Open the command prompt and get to the folder where your adb.exe iscd c:/where_your_sdk_is/tools
6. enter: " adb push wpa_supplicant.conf /data/misc/wifi "
7. enter: " adb push wpa_supplicant.conf.adhoc /data/misc/wifi "
8. enter: enter: " adb push wpa_supplicant.conf.normal /data/misc/wifi "
9. check to see the files are there by entering " adb shell ls /data/misc/wifi "
10. install the apk, you can use my batch file to do this if you'd like here
11. unzip the file manager batch script and place it in the sdk's "tools" folder (where adb.exe is)
12. open the batch file (it should open a new cmd window)
13. select 2
14. select 1 (install an app)
15. it'll ask for the name of the apk. Enter " AdhocAble.apk " exactly, its case sensitive.
16. reboot the PDN
17. Start your cell phone tether and set the SSID to whatever you set in the .conf.adhoc file at the begining
18. Open up the AdhocAble app and select "backup your normal settings", this should save all of the remembered infrastructure network's SSIDs and passphrases
18.1 select Enable Adhoc, it will prompt you to make sure to turn your wifi connection off and back on.
19. Do so.
20. You should see your cell phone's SSID in the connection list (remember the SSID is hardcoded into the .conf.adhoc file so you have to set it to the same thing in the tether program or vice-versa.
21. If you don't see the tether connection enter it manually
To get back to infrastructure - simply open the app and select enable normal mode and turn the wifi off then back on again - after a short bit you should see the networks as usual. It might take a bit longer to obtain an IP, but it should work...if not reboot the PDN and try it again.
Another success - Flytouch2 / Eclair
What an adventure... I tried lots of different approaches to getting my 10" Flytouch2 running Eclair to my Moto Cliq the instructions in this thread formed a good basis for success. I had to make a few changes which I will describe.
First, I am using a rooted Moto Cliq (1.5 I think) running Barnacle to serve up Ad Hoc Wi-Fi. It worked great with my PC and iPad but I really wanted my Flytouch2 to have network access through the Cliq.
So far I have not yet been able to get the Flytouch2 to connect to my PC using ADB; this is a problem for another day. As such I was side loading until I realized that I could place APK's in Dropbox (great free app) and net-load?? them. I also had to get creative with Root Explorer and other file managers / editors to make the required changes
To accomplish this I did the following on my Flytouch2 (less the stuff that didn't work including a couple of bricking episodes)
- Rooted (permanent) painlessly using Z4Root
- Installed Root Explorer (essential for copying and renaming R/O system files)
- Installed TED to edit files
- Install ASTRO File Manager which is helpful for non root file manipulation activities
- Used Root Explorer to mark the /data/misc/wifi directory as R/W so files could be added/modified (the default is RO)
- Installed AdhocAble.apk which is nice but it turns out not really needed in my case
- Disabled Wi-Fi until done
- Installed the wpa_supplicant.conf.adhoc (after editing - attached and below)
- Renamed old wpa_supplicant.conf file as wpa_supplicant.conf.normal)
- Replaced wpa_supplicant.conf using wpa_supplicant.conf.adhoc (basically leaving backups of each in the directory)
After doing this and enabling Wi-Fi I was able to see and connect to my Cliq running Barnacle. I am also able to connect to my standard Access Point as well without any configuration change. The only issue is that I am not running any security but I think this is not a difficult update to the .conf file. I may add a second network SSID entry with a PSK and use "Wireless Tether" on my Cliq to test. For now I am just happy to connect and Barnacle allows me to screen and block all connection requests. The primary deviation from the great instructions earlier in this thread that got me up and running was the content of the wpa_supplicant.conf file. I used part of my original file and part of the file .adhoc file from earlier in this thread.
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=system
update_config=1
eapol_version=1
ap_scan=2
network={
ssid="JJJ"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}​
Obviously my SSID is set to JJJ (I like J's). I got my inspiration from a file I found buried in my Android file system (attached as ...notes.txt). It is not very interesting reading but it provides lots of clues and it explains the meanings of all the parameters.
So, Ad Hoc connection is possible possible on A Flytouch2 under Eclair.
Now, my rant... it is unconscionable that this is not supported natively in Android. I would speculate that this was a conscious decision by Google resulting from pressure from the big carriers. What I don't understand is how this capability is available in the iPad!? Apple would certainly bow to external pressure (witness the iPhone) from carrier relationships. They also come with $40/mo built in service... so go figure. Now I am delighted to use both my Android Tablet and my iPad with Ad Hoc WiFi served up from my Cliq on T-Mobile!
I hope my additional notes help someone else.
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
urphonesux said:
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Click to expand...
Click to collapse
Interested if it worked? please let me know what settings were needed on the Omnia/WmWiFirouter
Shadowphox said:
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
Click to expand...
Click to collapse
as a client? or you can create a network using your 3g->WiFi hotspot

[Q] Is it possible for a rooted GEN8 device to connect to an AD HOC wireless network?

Hello,
Is it possible for a rooted GEN8 device to connect to an AD HOC wireless network?
If yes, has anyone managed doing it?
Thanks
Root could open the door for trying the WPA Supplicant fix that is floating around. That fix involves editing a couple of files. Will it work?...I'm not sure.
Also, depending on the phone, you can use the 3G hotspot hack to connect you Archos. That's how I have my 101 tethered to my X.
My phone is the motorola Backflip loaded with custom rom (preclair - j-r0dd 1.3.1) which enables routing (by dedault backflip cannot route). The problem is that bluetooth tethering crashes my phone so my only solution is wifi tethering ... I dont think 3G hotspot hack will work in my phone or no ?? I am not an expert so any help is valuable for me.
thanks
I found this App it installs just fine on my a32 with an nice Ahoc setup . I am rooted on my archos and I allow it .. starts just fine looks like it is runing and working .
However I need to try and get it to connect to a Adhoc network . So I will test it tonight from my laptop and my WM phone ...
I will keep you updated ...
Here is the APK .
http://code.google.com/p/desire-adhoc/downloads/detail?name=desire-adhoc-0.0.1.apk
Update The program above did not work .. However There is a working FIX posted here I just tested it using wifirouter on my vx6800 WM phone and it works great my archos gen 8 a32 connects to AD-HOC and it's fast !
Here is the post http://forum.xda-developers.com/showthread.php?t=904291
Here is a copy of the steps by mindsurfer he posted :
Get root access:
1) Install SDE
2) Get the initramfs from this post (download the kernel+init.zip and extract it): http://forum.xda-developers.com/show...44&postcount=1
3) Replace the zImage with the new overclocked kernel
4) Boot into SDE recovery menu and copy the initramfs.cpio.gz and zImage through USB cable
5) Boot into SDE developer OS
6) You should get all your apps here and have superuser right now
Suddenly no wpa_supplicant was not working on mine, so you have to change configuration file wpa_supplicant.conf to get Adhoc:
1) get Rootexplorer
2) open root explorer and find /data/misc/wifi/wpa_supplicant.conf
Here is mine (second network is my normal router):
update_config=0
ctrl_interface=tiwlan0
ap_scan=2
network={
ssid="ardrone_108549"
key_mgmt=NONE
priority=1
mode=1
}
network={
ssid="BytecekG"
psk="PASSWORD"
key_mgmt=WPA-PSK
priority=1
}
4) overwrite wpa_supplicant.conf in Archos with new content
5) change rights to wpa_supplicant.conf to RW-RW-RW-
6) delete file tiwlan.ini
7) start drone and then wifi on Archos
When you restart you should repeat step 5 and step 6 and step 7.
__________________________________________________________
Great work !!!
The way I get my A70 to tether is as follows:
Root Android phone and flash Android 2.2 rom, which has wireless hotspot feature.
Create wireless hotspot on phone.
Tether A70 to phone wirelessly.
Never had any luck with bluetooth.
WIFI tether
I use the 3g hotspot of my HTC Legend 2.2 with my A70, and it's working great. I just had to change the user agent of the A70's browser in the settings, not to be charged by Vodaphone (SFR in France) extra connection fees.
I have the patched source files for wpa_supplicant based on the Archos Froyo source code with the fix from (i can't spell it right now, I know they/he/she wrote Barnacle Tether). I just do not have the means to compile it yet. I can post these when I get home if someone wants to compile the module. Should show adhoc networks in the list with an asterisk. The Nook Color group is using this mod.
Thanks a lot for this tethering method.
Works great on a A70it, latest 2.1.2 rom, rooted with Archangel.
I managed to have a thether connection with an LG GW620 running openetna and Barnacle Wifi Tether.
FYI enabling AdHoc in tiwlan.ini didn't work for me but this method of removing the tiwlan.ini worked like a charm.
Wireless Tether for rooted phones works in infrastructure mode. All you have to do to your tablet is connect. Just another option not mentioned.
The topic is about ad-hoc networks, let's try to stick to it.
Archos' firmware specifically disables ad-hoc networking, it seems enabling it back is as simple as editing a configuration file. So you need root (to have the right to edit that file) and you need to do it at every boot since the filesystem is read only.
At least that's what I've understood by looking on those threads.
Im trying write sh script to switch wpa_supplicant.conf files and turning wi-fi on/off.
How can i manualy with root right stop and start wi-fi?
example sh script for activate adhoc
Code:
#ifconfig wlan down ??
cp /data/misc/wifi/wpa_supplicant.conf /sdcard/wpa_supplicant.backup
cp /sdcard/wpa_supplicant_adhoc.conf /data/misc/wifi/wpa_supplicant.conf
rm /data/misc/wifi/tiwlan.ini
#ifconfig wlan up ??
do deactvate we need copy backup file back
4qu4rius said:
The topic is about ad-hoc networks, let's try to stick to it.
Click to expand...
Click to collapse
koukobin said:
My phone is the motorola Backflip loaded with custom rom (preclair - j-r0dd 1.3.1) which enables routing (by dedault backflip cannot route). The problem is that bluetooth tethering crashes my phone so my only solution is wifi tethering ... I dont think 3G hotspot hack will work in my phone or no ?? I am not an expert so any help is valuable for me.
thanks
Click to expand...
Click to collapse
I was actually trying to be helpful to the person who started this topic (which wasn't you). He did state that ANY help was valuable to him.
4qu4rius said:
It seems reading the first post of the topic is pretty often a good idea to know what the topic is about.
Click to expand...
Click to collapse
It is helpful to read ALL of the messages. As you can see from his other post, his objective is wifi tethering, and he may have been under the FALSE impression that ad-hoc networking was required for it to work.
ske714 said:
Wireless Tether for rooted phones works in infrastructure mode. All you have to do to your tablet is connect. Just another option not mentioned.
Click to expand...
Click to collapse
Only if the phone supports it. Some phones (like my Eris) do not do infrastructure, no matter which tethering app you try. Believe me, I've tried...
strongergravity said:
Only if the phone supports it. Some phones (like my Eris) do not do infrastructure, no matter which tethering app you try. Believe me, I've tried...
Click to expand...
Click to collapse
I assumed that most any phone would work in infrastructure once rooted, since that is native functionality used to connect with the phone to wireless access points. That's a bummer. Thanks for setting me straight.
In theory, at least with UrukDroid, this should be possible. I'm not home to test.
http://forum.archosfans.com/viewtopic.php?f=59&t=45943
computerfreek said:
I found this App it installs just fine on my a32 with an nice Ahoc setup . I am rooted on my archos and I allow it .. starts just fine looks like it is runing and working .
However I need to try and get it to connect to a Adhoc network . So I will test it tonight from my laptop and my WM phone ...
I will keep you updated ...
Here is the APK .
http://code.google.com/p/desire-adhoc/downloads/detail?name=desire-adhoc-0.0.1.apk
Update The program above did not work .. However There is a working FIX posted here I just tested it using wifirouter on my vx6800 WM phone and it works great my archos gen 8 a32 connects to AD-HOC and it's fast !
Here is the post http://forum.xda-developers.com/showthread.php?t=904291
Here is a copy of the steps by mindsurfer he posted :
Get root access:
1) Install SDE
2) Get the initramfs from this post (download the kernel+init.zip and extract it): http://forum.xda-developers.com/show...44&postcount=1
3) Replace the zImage with the new overclocked kernel
4) Boot into SDE recovery menu and copy the initramfs.cpio.gz and zImage through USB cable
5) Boot into SDE developer OS
6) You should get all your apps here and have superuser right now
Suddenly no wpa_supplicant was not working on mine, so you have to change configuration file wpa_supplicant.conf to get Adhoc:
1) get Rootexplorer
2) open root explorer and find /data/misc/wifi/wpa_supplicant.conf
Here is mine (second network is my normal router):
update_config=0
ctrl_interface=tiwlan0
ap_scan=2
network={
ssid="ardrone_108549"
key_mgmt=NONE
priority=1
mode=1
}
network={
ssid="BytecekG"
psk="PASSWORD"
key_mgmt=WPA-PSK
priority=1
}
4) overwrite wpa_supplicant.conf in Archos with new content
5) change rights to wpa_supplicant.conf to RW-RW-RW-
6) delete file tiwlan.ini
7) start drone and then wifi on Archos
When you restart you should repeat step 5 and step 6 and step 7.
__________________________________________________________
Great work !!!
Click to expand...
Click to collapse
beware, after reboot, you'll encounter problem connecting back to your normal wifi network again. There's a way to fix this by changing the permission of wpa_supplicant.conf after every reboot. This is gonna be a manual and painful process

Any 2.1 rom can support iprables?? for droidwall

hi, anyone know got which rom can support iptables? bcos i wan use droidwall , can some one help?
nini8888 said:
hi, anyone know got which rom can support iptables? bcos i wan use droidwall , can some one help?
Click to expand...
Click to collapse
last i read, its kernel related and cant be supported till the bootloader is cracked which will allow the dev's to load a custom kernel.
Yes they can be complied as kernel modules. The issue you have is not iptables but netfilter being loaded and configured. I've noticed the need as anyone who has installed Titanium backup has. Bin4ry is the kernel commando here.. maybe ask him for a custom kernel and buy him a case of beer
Sent from my X10a using XDA App
I'd love to see that too, just for Wifi Tethering (barnacle needs it too... :-( )
If you find something let us know, thx.
bbvg said:
I'd love to see that too, just for Wifi Tethering (barnacle needs it too... :-( )
If you find something let us know, thx.
Click to expand...
Click to collapse
Barnacle works fine including with WEP as-is without netfilter or iptables. The last couple of Barnacle updates have made it extremely reliable.
awojtas said:
Barnacle works fine including with WEP as-is without netfilter or iptables. The last couple of Barnacle updates have made it extremely reliable.
Click to expand...
Click to collapse
Wut??? That would be great...
I only manage to get it to work with https protocol, no http.. Tried with several different ROMs, always the same.
I'm gonna try to see if I can find any info on that.
bbvg said:
Wut??? That would be great...
I only manage to get it to work with https protocol, no http.. Tried with several different ROMs, always the same.
I'm gonna try to see if I can find any info on that.
Click to expand...
Click to collapse
It's always worked fine for me, except about 2 months ago there were a number of Barnacle builds where WEP didn't work. That's all fixed now.
Here's the settings I use:
- WEP: Enabled (ASCII)
- Custom Wifi Ad-hoc: none
- Skip wpa_supplicant: Yes
- Auto Associate: No
- WAN: rmnet0
- LAN: wlan0
A neat new feature is that you can have "Local Mode" where it doesn't need 3G/HSDPA so you can create your own little adhoc network for file sharing.
I then start SwiFTP and Gladinet (running in background) on my laptop maps the \sdcard\DCIM folder to Z:\Android in Windows Explorer so I can import my photos into Adobe Lightroom.
Or you could map \sdcard\music and sync with MusicBee or another music player that allows copying to network drives.
I quite like Barnacle
Unless this thread is about an active development idea, program or effort, it should not be posted in the development forum.
Moved To General as this thread does not involve above development requirements.
awojtas said:
It's always worked fine for me, except about 2 months ago there were a number of Barnacle builds where WEP didn't work. That's all fixed now.
Here's the settings I use:
- WEP: Enabled (ASCII)
- Custom Wifi Ad-hoc: none
- Skip wpa_supplicant: Yes
- Auto Associate: No
- WAN: rmnet0
- LAN: wlan0
A neat new feature is that you can have "Local Mode" where it doesn't need 3G/HSDPA so you can create your own little adhoc network for file sharing.
I then start SwiFTP and Gladinet (running in background) on my laptop maps the \sdcard\DCIM folder to Z:\Android in Windows Explorer so I can import my photos into Adobe Lightroom.
Or you could map \sdcard\music and sync with MusicBee or another music player that allows copying to network drives.
I quite like Barnacle
Click to expand...
Click to collapse
Thx for all the info, but i tried with your settings and mine, and i still have the same problem : all works fine in https, but i always get error 403 (permission denied) in http.
Slight difference with your settings : Barnacle shows an error message : NAT Restart : permission denied.
I'm starting to think it's my provider (SFR) that blocks this... possible?
EDIT : Think i'l open a new thread in the appropriate section if I can't find anything. Thanks for helping.

[Q] Working Ad-Hoc for Gingerbread 2.3.4 - is it possible that nobody can solve it?!

Dear friends,
I have searched tens of forums and googled requested for a days,
but I didn't have chance that find any answer
And it seems that nobody speak so much about that problem here,
people are in race for newer and newer firmwares,
is it possible that nobody can't find the way to solve that problem and succeed to modify wpa_supplicant to work on new Gingerbread 2.3.4?
I can't belive that I have 500€ phone witout possibility to use ad-hoc WiFi at my home
Download this file - http://www.mediafire.com/?ap3alfyf2asu1ca
Disable the wifi...Copy-paste the file in system/bin using root explorer... reboot the phone...done, your phone running KG1 can connect to ad-hoc networks
oops.. i just tried on KG1. Didn't connect to an adhoc network setup with WEP.
I even set the properties of the file like:-
owner: Root Group: shell along with proper file permissions.
Still no working.
Huh, god knows, maybe it depends of type of installed ROM.
Galaxy S2, Lightning ROM 2.2, rooted, exchanged downloaded wpa-supplicant with original without changing any owner properties using Root Explorer and Mount R/W and R/O option,
and - it works, after reboot, sure.
I heard that gingerbread 2.3.x does not support ad-hoc wifi but froyo 2.2.x supports it!!!!
There is a file in the sticky thread. wtf it works fine. Im using it on M250S - 2.3.4
delete the file first ,than paste the new file back ,reboot
guys, is there any conclusion from this thread? i'm getting desperate too
chemychemy said:
guys, is there any conclusion from this thread? i'm getting desperate too
Click to expand...
Click to collapse
This is the conslusion-
Use this file- http://forum.xda-developers.com/showpost.php?p=15773095&postcount=44
Working on stock KG3, Litening(all versions),Villain(all versions), others i didn't test...
I tested using Bzeek wifi hotspot creator on windows Vista, if you can't connect to WEP, try Bzeek, its open network but password is needed to use it
I have the LG Optimus 3D and I wanted to use my old WinMo phone as an ad-hoc server. I searched a lot and finally found the solution:
First of all you need a rooted device.
Go to Market and install "ZT-180 Adhoc Switcher". Run this program everytime you want to connect to ad-hoc.
The device acting as server needs to have its SSID to "AndroidTether" and require no password.
Don't forget to revert back to "infrastructure" mode after ending your session otherwise you won't be able to connect to normal hotspots.
There is no guarantee that this will work on all devices. Just try and see...

[MOD] Pantech Burst - Native Hotspot/Tethering Enabled (Root)

I am able to get the native hotspot working on rooted JUUS06252012 and bypass the "dial 611" message. I'm posting this right now via wifi tethering, on a prepaid plan with a data package.
Before trying to get the native hotspot to work, I did try a few apps first. WiFi Tether for Root works in WPA mode (configured as Epic 4G Touch), but it broke wifi completely after tethering and wifi stayed broken even after a hard reboot. Logcat said a wifi driver file was locked and could not be loaded. I had to factory reset to get wifi working again. FoxFi seemed to work at first, but force closed whenever a client connected.
The mod: I found two values in settings.db to be modified. As we all know, there are many ways to update a sqlite database, but here is one easy way, keeping in mind that the Pantech Burst factory rom lacks many things like BusyBox or the commandline sqlite3. Yes, you need to be rooted:
1. Install Andsen's aShell and aSQLiteManager (not SQLiteManager).
2. Run aShell, check root, tap File Explorer, go to /data/data/com.android.providers.settings/databases, open settings.db, when prompted to open a copy, say yes and open with aSQLiteManager, tap table secure, tap data and tap "edit" for each of the below
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
Then tap back twice. When prompted to commit changes, say yes and exit aShell.
3. Reboot and you can now use the native hotspot. Install a toggle widget for convenience.
*EDIT: with this mod, turning on hotspot from the 2nd level "Portable Wi-Fi hotspot settings" page works reliably, whereas turning it on from the 1st level "Tethering & portable hotspot" page would show the "dial 611" message. Many hotspot widgets work reliably as well, such as HotSpot Toggle, Hotspot Widget or many others.
EDIT Read through the thread for ICS
------
Pantech Burst Love, Anyone? Anyone?
Pantech Burst Essentials
ty so much!
I got it to work with sqlighteditor in settings storage,secure and change entitlement_pdp _checked changed from 0 to 1 I have used this on many art phones with.prepaid Sims
Sent from my PantechP9070 using xda premium
lost_ said:
I am able to get the native hotspot working on rooted JUUS06252012 and bypass the "dial 611" message. I'm posting this right now via wifi tethering, on a prepaid plan with a data package.
Before trying to get the native hotspot to work, I did try a few apps first. WiFi Tether for Root works in WPA mode (configured as Epic 4G Touch), but it broke wifi completely after tethering and wifi stayed broken even after a hard reboot. Logcat said a wifi driver file was locked and could not be loaded. I had to factory reset to get wifi working again. FoxFi seemed to work at first, but force closed whenever a client connected.
The mod: I found two values in settings.db to be modified. As we all know, there are many ways to update a sqlite database, but here is one easy way, keeping in mind that the Pantech Burst factory rom lacks many things like BusyBox or the commandline sqlite3. Yes, you need to be rooted:
1. Install Andsen's aShell and aSQLiteManager (not SQLiteManager).
2. Run aShell, check root, tap File Explorer, go to /data/data/com.android.providers.settings/databases, open settings.db, when prompted to open a copy, say yes and open with aSQLiteManager, tap table secure, tap data and tap "edit" for each of the below
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
Then tap back twice. When prompted to commit changes, say yes and exit aShell.
3. Reboot and you can now use the native hotspot. Install a toggle widget for convenience.
*EDIT: with this mod, turning on hotspot from the 2nd level "Portable Wi-Fi hotspot settings" page works reliably, whereas turning it on from the 1st level "Tethering & portable hotspot" page would show the "dial 611" message. Many hotspot widgets work reliably as well, such as HotSpot Toggle, Hotspot Widget or many others.
------
Pantech Burst Love, Anyone? Anyone?
Pantech Burst Essentials
Click to expand...
Click to collapse
Did that and my phone is now stuck on boot screen. Removing battery didn't help either
_lost can you check to see if your guide can be updated for the new ICS release? or atleast put a warning up to let people know not to try if they are running ICS on their Pantech Burst?
After a lot of trial and error I have this working on ICS. I tried the free apps first and at first I couldnt even get the change to take. When I did by copying the file editing it then replaceing it the system would just hang on boot. I did get it to work though after having to wipe my device a few times. Now this may still work with the free programs im not realy sure as I figured id give the paid ones a try and got it working. I used the program root explorer. I copied the settings.db and pasted the copy in the same folder. Then I edited the copy in SQLite editor although it still couldnt edit the original.. Then in root explorer I renamed the old file by adding an extension to the end and renamed the new file to replace the old one. Then in root explorer i double checked that the permissions were the same as the old file and also..... (I THINK THIS WAS THE IMPORTANT THING BY THE WAY) I checked the ownership settings in root explorer it was already set to "system" just like the old file. I think the other programs may have been changing the owner of the new file causing issues. Anyway after rebooting it started right up and I can turn on wifi hotspot from either menu. On gingerbread it only worked from the one menu. I hope this works for you guys!!!!!!
by the way i used the original two edits from the first post
jkiwitt said:
I got it to work with sqlighteditor in settings storage,secure and change entitlement_pdp _checked changed from 0 to 1 I have used this on many art phones with.prepaid Sims
Sent from my PantechP9070 using xda premium
Click to expand...
Click to collapse
Hey thanks! This was the setting that did the trick for me on my Pantech Crossover (P8000). I had recently done the vendor upgrade to Gingerbread and lost root, but more importantly, SVTP's Wifi Hotspot & USB Tether Pro stopped working for me.
I rooted using pawaa's excellent guide and thought that would do the trip, but no such luck. Found this thread, bought SQLite Editor and made the aforementioned changes and all was well.
Guess I don't need SVTP anymore, but the widget works well, and I don't mind having paid for it for the month or so that it worked under Froyo. (Also, it was paid for out of my Nexus 7 $25 credit.) Anyways, just wanted to mention this in case anybody else was trying to get tethering working again on the Crossover after upgrading to 2.3.6.
I am having rooted JUUS03122012.
My Root/data folder is empty
lost_ said:
I am able to get the native hotspot working on rooted JUUS06252012 and bypass the "dial 611" message. I'm posting this right now via wifi tethering, on a prepaid plan with a data package.
Before trying to get the native hotspot to work, I did try a few apps first. WiFi Tether for Root works in WPA mode (configured as Epic 4G Touch), but it broke wifi completely after tethering and wifi stayed broken even after a hard reboot. Logcat said a wifi driver file was locked and could not be loaded. I had to factory reset to get wifi working again. FoxFi seemed to work at first, but force closed whenever a client connected.
The mod: I found two values in settings.db to be modified. As we all know, there are many ways to update a sqlite database, but here is one easy way, keeping in mind that the Pantech Burst factory rom lacks many things like BusyBox or the commandline sqlite3. Yes, you need to be rooted:
1. Install Andsen's aShell and aSQLiteManager (not SQLiteManager).
2. Run aShell, check root, tap File Explorer, go to /data/data/com.android.providers.settings/databases, open settings.db, when prompted to open a copy, say yes and open with aSQLiteManager, tap table secure, tap data and tap "edit" for each of the below
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
Then tap back twice. When prompted to commit changes, say yes and exit aShell.
3. Reboot and you can now use the native hotspot. Install a toggle widget for convenience.
*EDIT: with this mod, turning on hotspot from the 2nd level "Portable Wi-Fi hotspot settings" page works reliably, whereas turning it on from the 1st level "Tethering & portable hotspot" page would show the "dial 611" message. Many hotspot widgets work reliably as well, such as HotSpot Toggle, Hotspot Widget or many others.
------
Pantech Burst Love, Anyone? Anyone?
Pantech Burst Essentials
Click to expand...
Click to collapse
I even updated to rooted JUUS06252012 but could not find ' /data/data/com.android.providers.settings/databases' folder in root . Please somebody help.:angel:
For Android 2.3.
A simple method for switching on Tethering:
1. Install from market Secret Codes Revealer (play.google.com/store/apps/details?id=com.afp_group.software)
2. Search Codes
3. List Codes
4. Tap on "softapactivation"
5. Launch code
6. Now we on SoftapHiddenMenu
7. Check on all checkboxes
8. Save
9. Reboot
10. Enjoy full tethering
Sorry for my bad english
This works on the new ICS update on AT&T
Sent from my PantechP9070 using Tapatalk 2
Wifi tethering option is working fine with my PantechP9070 normally. I am on stock ICS rooted.
Tapatalking from my hTc Droid Incredible 2 on MTS
phillywiiman said:
This works on the new ICS update on AT&T
Sent from my PantechP9070 using Tapatalk 2
Click to expand...
Click to collapse
I tried all of the methods above in ICS and none of them work. Not only do they not work, but if you try to edit the com.android.provider.settings AT&T will block your incoming calls, disable all notifications for messages, and break the home button. I was not able to find away to fix this without reflashing the ROM. I tried repairing the permissions but it did not help. I could not simply change the settings back since it seems AT&T's program did that for me and nonetheless deactivated me.
I can't get this to work either. My phone was purchased as an unlocked device, I didn't realize some things are still locked. :'(
I tried multiple times. I am running the stock (rooted) Android version 4.04 Baseband version JUUS09032012. Everything was setup fresh, all I did was root the device, get my Google account logged in and install the Superuser app, aShell and aSQLiteManager. I didn't stop, disable or uninstall any apps. Then followed the instructions here carefully.
I also tried the "Secret Codes Revealer" method with no luck. But I did not get any popups requesting root access when trying that method, so I can't imagine it doing anything.
I really love the phone - it is everything I want other than the tethering restriction. Hopefully this will be figured out before I am tempted by the new Nexus phone to be announced soon.
I used root browser to make a copy of the database file, edited it with asqlite, then went back to root browser and renamed the copy to the actual database. Then I booted into cwm and selected fix permissions and it works fine. That was the only way I could get it to work.
Sent from my PantechP9070 using Tapatalk 2
thomasinnv said:
I used root browser to make a copy of the database file, edited it with asqlite, then went back to root browser and renamed the copy to the actual database. Then I booted into cwm and selected fix permissions and it works fine. That was the only way I could get it to work.
Click to expand...
Click to collapse
Thank you so much! That worked.
meivin said:
I tried all of the methods above in ICS and none of them work. Not only do they not work, but if you try to edit the com.android.provider.settings AT&T will block your incoming calls, disable all notifications for messages, and break the home button. I was not able to find away to fix this without reflashing the ROM. I tried repairing the permissions but it did not help. I could not simply change the settings back since it seems AT&T's program did that for me and nonetheless deactivated me.
Click to expand...
Click to collapse
i face the same problem but i decided to try it one more time
here is what I done
i use a sqllite editor premium
do a backup of the files
i use the root explorer and copy the settings.db and paste in the same folder
after that i used sqlite editor and then settings.storage
after that i change the following values
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
entitlement_pdp _checked changed from 0 to 1
than sve it and replace the settings.db by deliting or renaming the original one
than change the settings -copy.db to the settings.db
and delete all the other files that exist in that folder except settings.db (delete .db-shm and .db-wal also)
or
replace all the files in the data/data/com.providers.settings/databases from the attachment
Just download the attachment from Post# 17 and use Root Explorer to overwrite/replace all the files in the data/data/com.providers.settings/databases from the attachment.
It works like Charm.
Thanks irbaaz
Hmm... I didn't touch "entitlement_pdp _checked" but it all seems to work anyway.
almark said:
For Android 2.3 and 4.0
A simple method for switching on Tethering:
1. Install from market Secret Codes Revealer (play.google.com/store/apps/details?id=com.afp_group.software)
2. Search Codes
3. List Codes
4. Tap on "softapactivation"
5. Launch code
6. Now we on SoftapHiddenMenu
7. Check on the first 2 checkboxes
8. Save
9. Reboot
10. Enjoy full tethering
This works on rooted AND NON-ROOTED Pantech bursts.
This is so easy. I tested on 4 different bursts including mine. 2 rooted and 2 stock. , 3 on ics, 1 on gingerbread (just arrived) All unlocked. None using AT&T. 3 on Digicel Antigua 4GLte Network.
Thanks Almark for the lead. You're a life saver.
Sent from my PantechP9070 using xda app-developers app
Click to expand...
Click to collapse

Categories

Resources