[Q] Why Android 2.3 and above can switch between 2G/3G - Android Q&A, Help & Troubleshooting

Hello!
I have been looking for it some time and I couldn't find anything specific.
I know that is not possible switch between 2G and 3G in a stock ROM except from Settings.
But I also know that some CyanogenMOD have a button than can switch in the status bar.
Why isn't possible switch between 2G and 3G using a widget or an app (even being root!)? Why is not possible emulate the Settings button? Is not possible even recompiling some parts of Android (and making an apk or something to install via Recovery)?
I know the short answer "because Google doesn't allow it", but I'm looking for a technical one.
Thank-you very much.

Thats a rather advanced feature, and most stock ROM's are set up for noobs. They dont put that feature in there because they dont expect the majority of users to use it.

BigSamE said:
Thats a rather advanced feature, and most stock ROM's are set up for noobs. They dont put that feature in there because they dont expect the majority of users to use it.
Click to expand...
Click to collapse
So, is it possible to make a custom STOCK rom that allows a widget or a program (like Tasker) to switch between 2G/3G?
Where could I find more information about this topic?
Thank-you very much for your answer and your time.

SOLUTION
I was able to do it in my stock rom by following this guide
give him a big thank

Related

[Q] Soft-key/widget for enabling data traffic?

I have a WT19i LWW and I'm running the CyMod, I'm just wondering if there's any kind of short-cut/widget/option to enable and disable data traffic instantly?
I usually have my data traffic disabled, but when I do enable it to use the web I have to go to Wireless & Networks->Mobile Networks->Click Data Enabled
and then I have to go to Accounts & Sync->Background Data if I'm running some app that needs to connect, so it's pretty annoying to have to do this all the time.
Is there some short-cut?
I wonder if THIS works on CM... don't think so, though.
Or you could try installing something like THIS, but again, I don't know where to find a CM compatible mod. Should search the forum.
Hmm, that second link is something like what I'm looking for, but I'm not entirely happy to install that without knowing if it's compatible.
I don't think it is, but maybe in development section you'll find something similar. i've never used CM, that's why I don't really know if it actually exixts.
That is OK, I'm considering upgrading to the ICS ROM anyhow, that way I can get some of the newer mod features which has it and many more.

[Q] Deactivated phone - possibly stupid question

I have an old Fascinate that is no longer in service that I'd like to give to my kids for games and geocaching.
Is there any way to permanently disable the phone/3G data features, or is there a custom ROM with these features removed?
I've tried googling around and found some ROMs for this, but nothing specifically for the Fascinate.
mbellot said:
I have an old Fascinate that is no longer in service that I'd like to give to my kids for games and geocaching.
Is there any way to permanently disable the phone/3G data features, or is there a custom ROM with these features removed?
I've tried googling around and found some ROMs for this, but nothing specifically for the Fascinate.
Click to expand...
Click to collapse
Id say start with THS Build 14, and delete Phone.apk, TelephonyProvider.apk, MMS.apk, and Contacts.apk. Id say that's it if its deactivated, because then they cant call and accidentally activate it somehow.
Take a look at the GeeWiz thread in the development section. DJP has a version of the ROM specifically designed for what you are trying to do.
Good luck.
Sent from my TeamDRH ICS for GTablet using XDA
Thanks to both of you.
I'll give GeeWiz a look, it's cool that someone is actually developing a ROM to utilize unused but otherwise great phones.
Short term I may try a variation on Cookiemonster's suggestion since the phone has CM7.2 on it now and removing those apks might be simpler than a complete wipe and rebuild.
:good:

[Question] why isn't possible to set used data traffic after flashing aosp/cm/aokp ma

Is not possible by mod or xposed?
I'm not an developer but is it so hard to implement?
For every one like me flashes more times a week would be great to have my used traffic on correct values...
I know it's possible at miui ROM
Thanks for an answer.
Best regards
Nobody knows?
I too would like to know this. There must be a file to edit or some way to change the amount of data used? I really want to be able to do this.

[Q] Using the setPreferredNetworkType method through reflection

I've been going over the android sdk for the past year to find out if there is a way to change the network type(2g/3g/4g), in phones with root access.However I couldn't find any way to do this.Asking around,someone told me that I could do this using reflection,by calling a method on a phone instance.Looking through the source code,I did find a setPrefferedNetworkType(); method in the Phone Interface,inside the internal telephony package.Is there anyway I can use this to solve my problem.I can't seem to find a way to get an instance of a class that implements the interface.Or is there any other way to do it entirely?Please help :crying::crying:
If u are rooted why not use Xposed?
Sent from my GT-I9300
Not clear on exactly what you are trying to do... The settings to switch to different network types should be built-in. They are on MOST phones. This is a useful app for other situations where you can't access those settings:
https://dl.dropboxusercontent.com/u/9903887/Apps/tellinfo.apk
I don't think you guys got what I was talking about.I know that there are built in settings to change it.But I want to build a widget that makes it easier to switch between networks.So I need to know how to do this with the api.
es0tericcha0s said:
Not clear on exactly what you are trying to do... The settings to switch to different network types should be built-in. They are on MOST phones. This is a useful app for other situations where you can't access those settings:
https://dl.dropboxusercontent.com/u/9903887/Apps/tellinfo.apk
Click to expand...
Click to collapse
I have been wondering the same exact thing. Did you maybe find correct answer yet ?

[Q] AOSP Guidance

So I've posted in various forums on certain ROMs with questions about things, but I just haven't been able to seem to find the right fit yet.I love AOSP and the ability for customization, Active Display, etc. Maybe someone can help me out here if I say what I'm looking for. Perhaps someone knows if these things are in a certain AOSP ROM. Here's three things:
1.) Hotspot that allows me to see who's connected and maybe name the device that's connected (i have a few things that connect to the hotspot)
2.) Native SMS app that allows me to continue to type after reaching 160 characters (some stock apps stop progress at 160)
and
3.) I know it probably can't be native, but some sort of S-PEN functionality (I use "Screen Write" a lot)
Anyone have suggestions based on this? Thanks for your continued help and development!
sjr19 said:
So I've posted in various forums on certain ROMs with questions about things, but I just haven't been able to seem to find the right fit yet.I love AOSP and the ability for customization, Active Display, etc. Maybe someone can help me out here if I say what I'm looking for. Perhaps someone knows if these things are in a certain AOSP ROM. Here's three things:
1.) Hotspot that allows me to see who's connected and maybe name the device that's connected (i have a few things that connect to the hotspot)
2.) Native SMS app that allows me to continue to type after reaching 160 characters (some stock apps stop progress at 160)
and
3.) I know it probably can't be native, but some sort of S-PEN functionality (I use "Screen Write" a lot)
Anyone have suggestions based on this? Thanks for your continued help and development!
Click to expand...
Click to collapse
1. HotSpot usually has Access-Control which (when enabled) displays who is connecting or trying to connect (you can allow or deny)
2. I've never run into this. I am pretty sure Hangouts doesn't have this.I prefer 3rd party SMS anyway
3. For AOSP S-Pen use CM S Pen Add-on(ROOT)
I hope this helped some, good luck!
Thanks, but regarding your first point on aosp the only options for setting up the Hotspot are ssid, security type and password, is there another spot to bring up access control? Thanks for the other info!
Sent from my SM-N900P using XDA Free mobile app
sjr19 said:
Thanks, but regarding your first point on aosp the only options for setting up the Hotspot are ssid, security type and password, is there another spot to bring up access control? Thanks for the other info!
Sent from my SM-N900P using XDA Free mobile app
Click to expand...
Click to collapse
It is probably ROM dependent, which ROM are you using at the moment?
EDIT: you might try this WiFi Tether app, always backup first just incase.
https://code.google.com/p/android-wifi-tether/
jdelano said:
It is probably ROM dependent, which ROM are you using at the moment?
EDIT: you might try this WiFi Tether app, always backup first just incase.
https://code.google.com/p/android-wifi-tether/
Click to expand...
Click to collapse
I'm trying out the pac-man nightly by kenzolo, i'll try and see if that wifi tether app works for AOSP Thanks
You're welcome, I hope you're able to get your phone setup just the way you want it.

Categories

Resources