Hi! Here are some profiles for the paid app Tasker which switch your phone to mixed(2g/3g) mode automatically if you turn data connections on, and turn to 2g only if data is off.
Prerequisites:
-semcphone.apk which enable network mode switching, Many systemui mods contain this file, an example is:
http://forum.xda-developers.com/showpost.php?p=30409030&postcount=131
-root
-Tasker installed, basic knowledge of the app.
Install:
Extract and copy files from attachment to sdcard/Tasker/Profiles. Import profiles into tasker.
Test app by toggling data connection (by widget or in notification bar)
Tested in stock 587 ICS.
As a bonus the phone will boot with 2g only setting if you have data connections disabled, so the network setting bug in ICS is fixed with this mod also.
Thanks, but can this be done on CM10?
Sent from my Xperia Mini Pro
I am sure that it can be done in jb. But I have locked bootloader so I can't develop or test it.
miniuser123 said:
Hi! Here are some profiles for the paid app Tasker which switch your phone to mixed(2g/3g) mode automatically if you turn data connections on, and turn to 2g only if data is off.
Prerequisites:
-semcphone.apk which enable network mode switching, Many systemui mods contain this file, an example is:
http://forum.xda-developers.com/showpost.php?p=30409030&postcount=131
Click to expand...
Click to collapse
Do you think that this pre-requisite is met by official firmwares released by SE? (i have an xperia mini pro with gingerbread 2.3.4)
Night on the web said:
Do you think that this pre-requisite is met by official firmwares released by SE? (i have an xperia mini pro with gingerbread 2.3.4)
Click to expand...
Click to collapse
For GB the following mod contains the needed semcphone.apk I think. So you have to install this first (or only semcphone.apk from it)
http://forum.xda-developers.com/showthread.php?t=1306044
miniuser123 said:
For GB the following mod contains the needed semcphone.apk I think. So you have to install this first (or only semcphone.apk from it)
http://forum.xda-developers.com/showthread.php?t=1306044
Click to expand...
Click to collapse
Ok, thanks for the link. I won't install that entire MOD but i will just pick the semcphone.apk from it
Where is this .apk supposed to be copied?
Night on the web said:
Ok, thanks for the link. I won't install that entire MOD but i will just pick the semcphone.apk from it
Where is this .apk supposed to be copied?
Click to expand...
Click to collapse
Copy to /system/app. Change permissions to rw-r-r, then reboot phone.
Make a backup before if you are unsure.
miniuser123 said:
Change permissions to rw-r-r, then reboot phone.
Click to expand...
Click to collapse
How can i do this?
Night on the web said:
How can i do this?
Click to expand...
Click to collapse
In ES File Explorer long click on file, select Properties and click Change next to permissions.
miniuser123 said:
In ES File Explorer long click on file, select Properties and click Change next to permissions.
Click to expand...
Click to collapse
Thanks! I will give it a try for sure!!
Can you explain how to make tasker switch between 2g and 3g?
I found your thread because I can't get tasker switch mobile data 2g/3g i.e. New task->Add action->Net->Mobile Data 2G/3G. It says 'Sorry, that action is unavailable on this device'.
I'm on .587 ICS, Serenity ROM, and I have 2g/3g toggle working in my SytemUI's notification toggle.
anezch said:
Can you explain how to make tasker switch between 2g and 3g?
I found your thread because I can't get tasker switch mobile data 2g/3g i.e. New task->Add action->Net->Mobile Data 2G/3G. It says 'Sorry, that action is unavailable on this device'.
I'm on .587 ICS, Serenity ROM, and I have 2g/3g toggle working in my SytemUI's notification toggle.
Click to expand...
Click to collapse
1. Extract the files from attachment to sdcard/Tasker/Profiles.
2. Open Tasker
3. Long touch on "Profiles" tab
4. Select import
5. Select "Mobile data on" profile
6. Long touch on "Profiles" tab
7. Select import
8. Select "Mobile data off" profile
9. Click Green check in bottom left corner to exit Tasker and activate changes.
10. Test by toggling data connection (by widget or in notification bar). It takes a 2-3 seconds until Tasker makes the switch.
miniuser123 said:
1. Extract the files from attachment to sdcard/Tasker/Profiles.
2. Open Tasker
3. Long touch on "Profiles" tab
4. Select import
5. Select "Mobile data on" profile
6. Long touch on "Profiles" tab
7. Select import
8. Select "Mobile data off" profile
9. Click Green check in bottom left corner to exit Tasker and activate changes.
10. Test by toggling data connection (by widget or in notification bar). It takes a 2-3 seconds until Tasker makes the switch.
Click to expand...
Click to collapse
Thanks, so it's not possible to do it manually?
Sent from my SK17i using xda app-developers app
anezch said:
Thanks, so it's not possible to do it manually?
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
After importing my profiles, you can see 2 new tasks on Tasks tab: 3g and 2g. You can assign those tasks to any event in Tasker. But the change in data connection state is the best event for this in my opinion.
miniuser123 said:
After importing my profiles, you can see 2 new tasks on Tasks tab: 3g and 2g. You can assign those tasks to any event in Tasker. But the change in data connection state is the best event for this in my opinion.
Click to expand...
Click to collapse
You're right, i didn't check them out first before asking . Its working like a charm, thank you.. :thumbup:
Sent from my SK17i using xda app-developers app
Glad to hear!
how about for JB?
miniuser123 said:
Hi! Here are some profiles for the paid app Tasker which switch your phone to mixed(2g/3g) mode automatically if you turn data connections on, and turn to 2g only if data is off.
Prerequisites:
-semcphone.apk which enable network mode switching
Click to expand...
Click to collapse
Is there any chance anyone has the SmecPhone.apk that toggles 2G/3G (or Phone.apk, i think is the same) for JB 4.1.2? I'm also on stock ROM and locked bootloader, and would love this function available in my Tasker app. The one provided here is for ICS.
Hi, is an option to switch only 3G? The profiles can switch 2G / 2G+3G(prefered). This is super, but i nedd 3G only too. Sorry for my bad anglish.
THX !!!
jimi-m said:
Hi, is an option to switch only 3G? The profiles can switch 2G / 2G+3G(prefered). This is super, but i nedd 3G only too. Sorry for my bad anglish.
THX !!!
Click to expand...
Click to collapse
Hi, I solved it by overriding the script to the values found on the internet (Network mode 1 = 2G / 3G 2 = / = 0L 2G/3G pref), thanks for the script.
Can anyone confirm if this works on kitkat and if so where to find a working apk for it? Will this work on other devices? Tasker has 2g/3g switching but it only works under cyanogenmod based roms...all the stock rom's on my devices show the feature as unavailable so I'm trying to find an alternative. This looks like it would do the job...guess I'll just have to try it and see.
I'm not sure I understand the breakdown in previous post since it's all ran together....can you clarify the 2g/3g preferred and 3g only modes?
Related
Like topic title, so how can i do that think on gingerLOL??
-Flash cm7setting.zip doesnt work..
-using power widget doesn't have 2g/3g menu...
Sent from my LG-P500
cupliz said:
Like topic title, so how can i do that think on gingerLOL??
-Flash cm7setting.zip doesnt work..
-using power widget doesn't have 2g/3g menu...
Sent from my LG-P500
Click to expand...
Click to collapse
Go to setting-wireless-mobile network.
Choose WCDMA for 3g only
Choose GMS for 2g only
socialdistortion said:
Go to setting-wireless-mobile network.
Choose WCDMA for 3g only
Choose GMS for 2g only
Click to expand...
Click to collapse
No better way? Make it on notif screen or on power widget...
Sent from my LG-P500
Hope somebody answear this question...
Sent from my LG-P500
Not sure what version of Power Control widget gingerLOL is using, but my version in CM7 has that option.
When I add the power control widget, I get a config settings screen where I can choose what buttons appear. 2G/3G switching is one of them. You can also set up behaviour patterns like switching sync on when wifi is on, and sync off when wifi off.
Otherwise, search the market, there are many specific widgets that will do JUST the 2G/3G switch.
eigokyoukan said:
Not sure what version of Power Control widget gingerLOL is using, but my version in CM7 has that option.
When I add the power control widget, I get a config settings screen where I can choose what buttons appear. 2G/3G switching is one of them. You can also set up behaviour patterns like switching sync on when wifi is on, and sync off when wifi off.
Otherwise, search the market, there are many specific widgets that will do JUST the 2G/3G switch.
Click to expand...
Click to collapse
Ok, thx then my bro...
I try using cm7 setting but it make my setting force close... maybe wrong version, but i dont know wich version that i need..
So, i will search from market then.. thx alot..
Sent from my LG-P500
Ok so those of you who own the Photon have probably noticed Motorola buried the Data Toggle option deep in menus we're not used to finding them in. None of the current Toggle / Widget apps support access to this menu with a single click.
**3G always on tends to drain your battery as it constantly searches to connect to a data signal. Turning it off when not needed will increase your battery life. Please note, this is not a 4G toggle...that is separate. This toggle will switch off 2G/3G radio only.**
EarlyMon (Android Forums) pointed out a free Toggle App, that with some exploration and trial I was able to come up with a work-around that allows a single press Data Toggle.
Here's a quick tutorial:
1. Download Widgetsoid2.x and install.
2. Long-press on Home Screen, and select "Widgets"
3. Scroll down to Widgetsoid Switcher 1x1
4. 1st option on the toolbar down on the bottom is "Network" select that.
5. Select "Mobile Data"
6. Next go to Theme...and customize the look you want for the toggle.
7. Select Apply on lower menu bar
8. A menu will pop up asking if you want to "Edit Global Preferences"...Choose Yes
9. The first Tab from top is "Data Toggle Mode"
10. Select "Root Toggle"
11. Press your BACK key...and it will return you to your Home Screen.
Done... There's your Data Toggle!
Sorry for my ignorance but why would this be needed...
Sent from my MB855 using XDA Premium App
Yogi3 said:
Sorry for my ignorance but why would this be needed...
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Keeping your Data on consistently uses battery. The radio constantly cycles in search of data signal. Turning it off when you don't need it can boost battery life significantly.
Oh ok that makes sense... thanks for answering my question
Sent from my MB855 using XDA Premium App
I think this is especially helpful for those with poor signal quality that fades in and out all day long.
Good tip.
Data enabler on the market works for one touch
something i bought way back and I wasnt really impressed was switchpro widget
switchpro widget's data toggle doesnt work on photon. a shame
sweet, thanks. Is there any way to reduce the size of the icon? I couldn't find the option in Themes.
When adding it as a widget you can select its size. 1x1, 1x2, etc.
sub2k1 said:
When adding it as a widget you can select its size. 1x1, 1x2, etc.
Click to expand...
Click to collapse
Unfortunately, 1x1 is just a little too big
You could try using Multicon widget app and make them really tiny.
TS out
Just as a heads up, I recommend you guys download Tasker if you really want to have control over your battery usage. Its not free, but that 6 bucks is worth every penny. There have been multiple articles on Lifehacker regarding this tool. I used it to create many different tasks that help reduce power draw, including a basic Mobile Data On/Off Toggle. Its an extremely powerful tool.
rancherochido said:
Data enabler on the market works for one touch
Click to expand...
Click to collapse
Yes...but it's EFFIN ugly...lmao!
Also in Notification
If you do not like the app icon you have the option of not showing the widget on the home screen but in the notifications area, give it try.
carnageaf said:
If you do not like the app icon you have the option of not showing the widget on the home screen but in the notifications area, give it try.
Click to expand...
Click to collapse
Oh good find!
10 chars....
what about beautiful widgets? they have one for mobile or juice defender witch turns off data when ur screen is off and its free
I use Beautiful Widgets and the data toggle doesn't work. Most won't...have only found these two so far. I prefer a toggle over auto off on screen off, as I use my phone alot...and don't always need a data connection.
I followed OP's instructions to use Widgetsoid2.x and it worked like a charm. Thanks!
Cool - thanks developer - so this is the recommended way to "manually" turn off/on 3g? Why didn't the android OS have this built in like the other network things like, radio / wifi / bluetooth / 4g /etc?
I'm using Widgetsoid to switch between 2g/3g, but it still takes 4 total clicks. Is there a 1-click option available for rooted users?
Thx!
CM9 has a 2G/3G toggle in the power widget on the status bar. One click to go to 2G preferred, another click to set it back to 2G or 3G. Easy.
MistahBungle said:
CM9 has a 2G/3G toggle in the power widget on the status bar. One click to go to 2G preferred, another click to set it back to 2G or 3G. Easy.
Click to expand...
Click to collapse
Any other options? I have odexed lpg, stock
Looks like you're stuck with your widget then. Unless you use something like Tasker to have it switch to 2G or 3G under certain circumstances (time/whatever) or if certain conditions are met.
Use this
ketan_naik said:
Use this
Click to expand...
Click to collapse
Thanks, but that's still 4 CLICKS! Same as Widgetsoid.
I'm surprised there's no mod for this.....
Why don't you code one ? I'm sure the community would be eternally grateful.
MistahBungle said:
Why don't you code one ? I'm sure the community would be eternally grateful.
Click to expand...
Click to collapse
LoL! I couldn't code a shortcut.
Haha ;-) Me neither.
Edit - Honestly, Tasker is as close as you're going to get to what you want if you don't want to use CM9.
DanDroidian said:
LoL! I couldn't code a shortcut.
Click to expand...
Click to collapse
I couldnt find an app either. One simple work around though. After selecting GSM/WCDMA mode, press the home button. The rule is to keep the current settings page in background. Switch it as and when necessary. All you have to do is to launch the Task Manager (like holding home key) and select the desired network mode. Still takes less than 3 touches.
Simple, not a concrete one though!
You could give a try to for example AOKP custom rom. You can customize status bar icons, there's a button to switch between the two modes.
Xposed
Just download xposed and then gravity box you can make a shortcut in there. (NOTE: This requires a custom recovery like twrp or cwm. )
Hey,
Since as i understand 3G draing the battery much more then 2G.
Is there any option to auto switch to 2G when the phone is not in use?
Tnx
Yaniv
I use sgs2 cyanogenmod
No simple way to do it (this has been asked on here recently more than a few times). Your best chance is to get Tasker from Google Play & see if you can set up a task to run where the phone switches to 2G where certain conditions are met.
try root box rom
yaniv_sa said:
Hey,
Since as i understand 3G draing the battery much more then 2G.
Is there any option to auto switch to 2G when the phone is not in use?
Tnx
Yaniv
I use sgs2 cyanogenmod
Click to expand...
Click to collapse
In aokp roms like RootBOX & Resurrection Remix, a 2G toggle can be set in the notification screen.
settings -> Rom-Control -> (statusbar) Toggles -> Enabled toggles.
I use it from time to time
I never used cyanogenmod....
CM also have this option. AOKP roms are based on CM, so...
Having a toggle on the status bar isn't what the OP has asked. He's asked for a way to have the phone automatically switch to 2G when 'the phone is not in use' (reading is fun. honest).
yaniv_sa said:
Hey,
Since as i understand 3G draing the battery much more then 2G.
Is there any option to auto switch to 2G when the phone is not in use?
Tnx
Yaniv
I use sgs2 cyanogenmod
Click to expand...
Click to collapse
I remember that i ever provide some of battery saving apps have any feature to do that e.g. easy baterry saver or battery saver.. at it's network settings related..
Sent from my GT-I9100 using xda app-developers app
There is a good app for that, but I think it will work with CM only:
2G Auto Toggle
seba18 said:
There is a good app for that, but I think it will work with CM only:
2G Auto Toggle
Click to expand...
Click to collapse
I saw it got bad reviews in the google play.
did ya use it?
yaniv_sa said:
I saw it got bad reviews in the google play.
did ya use it?
Click to expand...
Click to collapse
Open the dial pad, type *#*#4636#*#*, if anything pop up, you can go to Phone information to switch preferred network type to "GSM only" for 2G.
You can also create an Activity shortcut on the home screen to do this in a faster way. The activity is under Settings -> Phone info.
For the sake of simplicity, install CM and use toggles.
ksilver89 said:
Open the dial pad, type *#*#4636#*#*, if anything pop up, you can go to Phone information to switch preferred network type to "GSM only" for 2G.
You can also create an Activity shortcut on the home screen to do this in a faster way. The activity is under Settings -> Phone info.
For the sake of simplicity, install CM and use toggles.
Click to expand...
Click to collapse
Can you tell me where the toggle is? I have an option of setting the preferred network but changing it to 2G will automatically toggle it back to 3G. I am not satisfied !!
---------- Post added at 02:48 PM ---------- Previous post was at 02:45 PM ----------
rmsalihdeen said:
Can you tell me where the toggle is? I have an option of setting the preferred network but changing it to 2G will automatically toggle it back to 3G. I am not satisfied !!
Click to expand...
Click to collapse
I feel like a retard to reply to myself. But just now I tried toggling it with my data off. It sticks. I have to select the preferred network and then I have to switch it on. Might help someone!
This is system dump of Xperia T, I think it is useful and no one post it here so I post it
Installation:
Just install like a normall apps or copy it to /system or /vendor and set the right permissions..
After installation your will not find it on your apps drawer or anywhere, so you need to install the application also attached below it is an app from Play Store.
So, launch it and search for the Location Based Wifi then create the shortcut for it.
It will available on setting menu if you are using settings.apk from Xperia T, but it will cause FC or reboot on some option(outside of Location Based Wifi setting)
Usage:
It will turn on/off your wifi based on your location. Detection of your location is based on your phone network coverage. So, it won't work if you are out of your network coverage or on Airplane Mode.
How to use:
Turn on your wifi on the location that you usually use the wifi network then connect like normally. After that, launch Location Based Wifi and set it on, press the back button or home button, you will see the Location Based Wifi icon on your status bar. It will always run on backgroud.
Tested on my Neo ICS stock .587 ROM, Night Elf kernel and stock kernel.
Should work on all Xperia 2011
Will this drain lots of battery?
AfiAzrael said:
Will this drain lots of battery?
Click to expand...
Click to collapse
I think no..
I don't feel any problem with the battery drain issue after using this app
Thanks for your contribution .
working on CM10 or the ones based on it??