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

madmack

Senior Member
Dec 23, 2008
3,696
4,751
263
Boston, MA
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.
 

Attachments

Last edited:

zoso28

Senior Member
Feb 17, 2008
449
70
0
East Coast
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.
 

jj92942000

Senior Member
Jan 19, 2012
2,021
1,305
0
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
 

Colombiano80

Senior Member
Jan 18, 2011
88
13
0
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!
 

baghera1979

Senior Member
Jan 7, 2011
2,134
107
0
Lansdale, PA (near philly)
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
 
Last edited:

madmack

Senior Member
Dec 23, 2008
3,696
4,751
263
Boston, MA
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
 

baghera1979

Senior Member
Jan 7, 2011
2,134
107
0
Lansdale, PA (near philly)
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
 

madmack

Senior Member
Dec 23, 2008
3,696
4,751
263
Boston, MA
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.