FORUMS

[APP] Wifi Band Switcher - Switch between 2.4GHz and 5.0GHz (ROOT required)

3,694 posts
Thanks Meter: 4,812
 
By madmack, Senior Member on 17th September 2012, 09:28 PM
Post Reply Email Thread
Ever since Samsung updated their initial LE8 ROM, I've lost the ability to specify which Wifi band I want my phone to use. Why would I want that? Well, because if I don't manually specify 5.0 GHz at work, the connection keeps dropping forever.

Anyways, I've flashed back the older rom, reverse engineered some of sammy's removed code from that advanced wifi menu and realized that they're really only using some standard AOSP hidden APIs. So I've created an app that uses these same hidden APIs. For this app to work however, it HAS TO RUN AS A SYSTEM APP! (i.e. apk file loaded in /system/app/ ) So basically you'll need a hacked recovery (clockworkmod) and you'll need to flash the attached file. It needs to run as a system app because it is modifying what android considers "secure" android settings. And normal apk privileges aren't sufficient to change those. There is probably a cleaner way to do this but I was too lazy to dig deeper into the function all the way up to the kernel wifi driver.

Sideloading the APK won't work!

After rebooting, you'll see a new app in your apps drawer, the app is very simple really:



I've tested it on ICS and JB, seems to do the job ! Now I can finally use these JB roms at work.


Note to rom cooks: please do contact me before bundling this app with your roms.
Attached Thumbnails
Click image for larger version

Name:	device-2012-09-17-155007.jpg
Views:	12929
Size:	12.3 KB
ID:	1334160  
Attached Files
File Type: zip wifi_band_switcher-CWM.zip - [Click for QR Code] (341.9 KB, 14485 views)
The Following 38 Users Say Thank You to madmack For This Useful Post: [ View ] Gift madmack Ad-Free
17th September 2012, 10:21 PM |#2  
turilo's Avatar
Senior Member
Flag Hamilton,Ont
Thanks Meter: 1,571
 
Donate to Me
More
Sounds good to me

Sent from my GT-I9300 using Tapatalk 2
19th September 2012, 07:14 PM |#3  
zoso28's Avatar
Senior Member
Flag East Coast
Thanks Meter: 72
 
More
Has anyone else tried this? I'm surprised there aren't more replies in this thread considering this is the only app I know of that does this. Anyway, i'm about to give it a shot & see how it goes.. Won't be able to test it out until tonight as we only have 2.4GHz here at work.
20th September 2012, 12:19 AM |#4  
jj92942000's Avatar
Senior Member
Thanks Meter: 1,309
 
More
Just extract apk and using root explorer paste in system/app set permissions .rw-r--r-- .. done no need to reboot or flash

Sent from my GT-I9300 using xda premium
23rd September 2012, 04:40 AM |#5  
Senior Member
Flag NYC metro
Thanks Meter: 108
 
More
Works as described. I have both 2.4GHz and 5GHz wifi. Not the prettiest thing, but it works

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
23rd September 2012, 08:02 AM |#6  
Member
Thanks Meter: 13
 
More
Just wanted to add that this worked for me as well...thanks so much! I work for a company that stricly does wifi distribution in publice venues and we're working on iHeartRadio right now and during some downtime i ran the OTA and couldn't get to any of my 5Ghz AP's. Lifesaver!
26th September 2012, 02:17 PM |#7  
baghera1979's Avatar
Senior Member
Flag Lansdale, PA (near philly)
Thanks Meter: 285
 
Donate to Me
More
This may sound stupid, but how do I delete this app? Can't uninstall from app drawer or from home screen using go launcher. I didn't see any files labored as wifi switcher in the "my files" app to delete from there

I'm just not sure since this is flashed thru cwm if its just a simple delete from my files or if there's another way

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
26th September 2012, 04:26 PM |#8  
madmack's Avatar
OP Senior Member
Flag Boston, MA
Thanks Meter: 4,812
 
Donate to Me
More
Quote:
Originally Posted by baghera1979

This may sound stupid, but how do I delete this app? Can't uninstall from app drawer or from home screen using go launcher. I didn't see any files labored as wifi switcher in the "my files" app to delete from there

I'm just not sure since this is flashed thru cwm if its just a simple delete from my files or if there's another way

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

use root explorer or ES file explorer (with root access) and then navigate to and delete: /system/app/WifiBandSwitcher.apk
The Following 2 Users Say Thank You to madmack For This Useful Post: [ View ] Gift madmack Ad-Free
26th September 2012, 05:59 PM |#9  
baghera1979's Avatar
Senior Member
Flag Lansdale, PA (near philly)
Thanks Meter: 285
 
Donate to Me
More
Quote:
Originally Posted by madmack

use root explorer or ES file explorer (with root access) and then navigate to and delete: /system/app/WifiBandSwitcher.apk

Thank you much


Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

---------- Post added at 12:59 PM ---------- Previous post was at 12:51 PM ----------

Did that using astro file and rebooted the phone, apk is still listed in the app drawer and in system/app folder as well. Did I do something wrong?

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
26th September 2012, 06:06 PM |#10  
madmack's Avatar
OP Senior Member
Flag Boston, MA
Thanks Meter: 4,812
 
Donate to Me
More
Quote:
Originally Posted by baghera1979

Thank you much


Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

---------- Post added at 12:59 PM ---------- Previous post was at 12:51 PM ----------

Did that using astro file and rebooted the phone, apk is still listed in the app drawer and in system/app folder as well. Did I do something wrong?

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

Astro is root capable? I'm not sure. use ES File Explorer instead.
The Following 3 Users Say Thank You to madmack For This Useful Post: [ View ] Gift madmack Ad-Free
26th September 2012, 06:57 PM |#11  
baghera1979's Avatar
Senior Member
Flag Lansdale, PA (near philly)
Thanks Meter: 285
 
Donate to Me
More
Quote:
Originally Posted by madmack

Astro is root capable? I'm not sure. use ES File Explorer instead.

I thought it was, I've used it before on my captivate but ill use your suggestion

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

---------- Post added at 01:57 PM ---------- Previous post was at 01:29 PM ----------

Es worked. Thanks again

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes