Related
Please read carefully!
A very good way of saving battery life is turning the 3G connection on only when needed.
Unfortunately there currently is no api that allows doing that, only two apps that use a workaround and require your special attention for signing.
The first app is Toggle 2G and is made by our fellow member TheMasterBaron and it requires custom signing.
The second one is JuiceDefender's addon "AOSP helper":
The AOSP helper might work on other "pure" AOSP custom ROMs - it just requires signing by the "cook". If you want the AOSP helper to work with your custom ROM, contact me - I'll send you the apk for you to sign.
Click to expand...
Click to collapse
If you are serious about rom cooking and want to prove so, please post the name and status(Working, which one of the 2 apps?/Not working) of your ROM.
Thanks for your interest
The final purpose of this addition to a custom rom is the ability to switch 3G on automatically(via Tasker or JuiceDefende) when starting preselected apps (like internet) and turning back to 2G mode when speed is no longer required, thus saving a lot of battery)
Please do not post or talk about useless apps like switchpro that is only a shortcut to mobile network settings or widgets that turn off the connection completely.
This is about api level implementation of this feature, if you don't know what that means please refrain from posting,
switchpro widget has workaround to swap 2G/3G
Juice defender is great control everything you need
Sent from my GT-I9000 using Tapatalk
Smoda widget does 2g/3g switching
This thread is for rom cookers only and is about switching from 3G to 2G (not turning internet off) automatically (not by entering the settings menu from a shortcut)
Would love the jd to work.
Funny thing - it actually works on froyo (at least jpc).
Try reading the setup log, AOSP plug-in install always fails (JPK).
Didnt use anything newer than JPC, but I installed and used AOSP helper on it (that was quite a long time ago). JD version was something like 2.1.8 (agcourse dont remember the exact version, just guessing).
This is certainly valuable info, there was a note somewhere about these two apps being able to work on leaked roms.
well, def doesn't work on JPK
I would love this though, I hate having to disable the APN or switch it to GSM just so my batt doesn't die in 12hrs. if it could go 3G only for internet/youtube etc and 2G for everything else that'd be awesome
Yup, that's what I want, but we have to get the cook's attention first
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Chainfire said:
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Click to expand...
Click to collapse
Awesome! can't wait
Chainfire said:
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Click to expand...
Click to collapse
Sweet.
Any chance for auto-2g/3g toggle when the screen goes off? That would be really nifty!
..and maybe a bit buggy too.
I'd rather have something I can use with Tasker to create my own rules.
Yup, a working app is all we need and Tasker can do the rest
I only want to use it for selected apps like the browser, market etc.
I also thin it would be best to have an app for on and one for off to ease the toggling process and not accidentally turn it on instead of off since I don't know if Tasker can check the GSM status this way (and if it does it would require a new rule making it more complicated)
Bec07 said:
Yup, a working app is all we need and Tasker can do the rest
Click to expand...
Click to collapse
What we really need is "Tasker" to be Android-native like it is on the iPhone. And control over communication without Google breathing down our necks too much. The whole existence of this topic is because Google set it up for 2-way data gathering with both parties (you and the application) having an equal say in the matter. Both parties can bend this mechanism to their liking somewhat in practice.
Ummm... google didn't provide the api, that's it... There's no issue with tasker.
There's plenty of alternatives(2 as far as I looked) for this particular "task" but the switch is what's missing.
Maybe we'll get the api in a later version and various coding tricks won't be required anymore.
Bec07 said:
Ummm... google didn't provide the api, that's it... There's no issue with tasker.
There's plenty of alternatives(2 as far as I looked) for this particular "task" but the switch is what's missing.
Maybe we'll get the api in a later version and various coding tricks won't be required anymore.
Click to expand...
Click to collapse
The point with Tasker (and alternatives) is that you get about 80% of what you want/ need (in
Eclair) which might be enough for what you want or totally inadequate. It cannot truly detect (let alone intercept) an application start or exit, but will in general always lag behind the facts. In Froyo this becomes especially clear as there are even less hookups for work-arounds causing pathetic behavior at times.
What good is it to have a 3G/2G switch if you cannot let it start before your browser, unless using a script + custom icon. How do you detect if you left the browser if Tasker (for instance) treats any change of application (even switching) as leaving the previous one? In Froyo this currently means that it actually waits till you start a new application before it "sees" the exit of the previous one, which you left a minute ago. You really want native control over these things as well.
But enough of this.
Ettepetje said:
It cannot truly detect (let alone intercept) an application start or exit]
Click to expand...
Click to collapse
Uh, how so? I used it for quite a while and I haven't seen any lags or issues in task execution.
You can't really ask it to predict your thoughts now can you
Android newbie with a tip;
install sgs toolbox; then go to secret codes then go to "switch 3g --- hspa" then tap "change hspa revision" then tap "release 5(hdspa only) and tadada improved speed. Alt, code *#301279# and follow steps.. original settings for all phones are release 6 (both hspa and hdspa) .
Rev6 allows for HSDPA and HSUPA for high speed down and up, Rev5 allows only HDSPA for downlink.
Rev6 theoretically is the fastest option allowing both fast upload and download
do you require root for this? i tried this and doesn't change anything.
I think this is useless if you have an umts contract @yourprovider
Sent from my GT-I9000 using XDA App
You can deactivate hspa to only 3g to have better battery life
Sent from my GT-I9000 using XDA App
OK, after the latest OTA I decided to jump in the pool and root my EVO. I did it using UNREVOKED.
I apologize for my rudimentary knowledge, but what do I do now? My goal was to get rid of the pre-installed programs, GENEROUSLY, placed on my phone by HTC and Sprint that I have NO intention of ever using (NASCAR app, NOVA game demo, Blockbuster App...etc. I don't wish to get rid of anything that could even remotely be considered necessary for the phone's function), if for no other reason than to keep my phone more "tidy".
Are there specific programs that will help me with this, or is this something I need to do on my own? I've noticed that I still don't have permission to uninstall things that came pre-installed or were subsequently given to me via OTA updates.
Thanks in advance for any and all input...
ok, i read the title, and i was going to give you a good -facepalm-, but it seems you had a reason for rooting. first, titianium backup is an insane tool that can uninstall ANYTHING and backup apps and their data. that is what you want.
second, root gives you an insane ability to change roms. a rom is the memory inside your phone. now with root and a custom recovery image, you can flash roms made by the insanely talented devs at the xda. may i reccomend myn's warm twopointtwo. you wont believe it is the same phone. like most other roms, myns has a bunch of tweaks already added, as well as almost all bloat apps removed.
if you need any other help, the evo irc is the best place to get it. just download an irc client app (on your computer) and browse it to irc.freenode.net in the room #htc-evo. everyone is helpful over there, including me (or so i like to think).
+1 for Titanium Backup. There is a free version but go ahead and go straight for the paid version, you'll use it often and be glad for the extra features.
Once you have it installed you can click on each app and "freeze" it (disables the app from running), "back it up" (just to be safe), and "remove" it (deletes it from the device).
There are other things you can do now that you are rooted, like install a custom ROM (e.g. specialized build of Android)... but I ended up just sticking with a stock ROM without the stock apps.
I would also recommend booting into recovery mode (power down, then hold the volume down and power buttons until you see the recovery screen) and using Nandroid to perform a full image of your phone. This way if you screw anything up you can just roll back to that image.
Long story short... rooting is whatever you make of it.
P.S. Don't apologize for the questions... I had the same questions you did. While the information exists here in XDA... it's not always easy to find.
both of you would be surprised on how great custom roms are. if i were you, i would try a few at the very least.
btw, the backup feature in titanium backup is for switching roms. it will backup all your apps and their data, and when you restore, add them back in and replace their market links.
dkdude36 said:
both of you would be surprised on how great custom roms are. if i were you, i would try a few at the very least.
btw, the backup feature in titanium backup is for switching roms. it will backup all your apps and their data, and when you restore, add them back in and replace their market links.
Click to expand...
Click to collapse
I would tend to agree. Once you go to a non-stock rom, stock won't ever be able to do it for you again.
i would suggest you use the "sprint lover" rom to start... get your feet wet.
it is very close to stock... with some tweeks and extras...(like free wifi tethering)
one of the big ones... the bloatware on it are uninstallable like other apps you installed.
under appliction managment.. in the main settings.
Vaelpak 3.0
Upload/Download speeds
Hey folks, does anyone have a resource where I can learn about managing my EVO to increase it's network connection speeds?
I'm rooted w/ RA recovery and stock ROM.
I have not yet flashed a new ROM because I am really trying to get the best speeds out of this phone and I have been searching XDA forums for the information to no avail.
Your insights are always appreciated, thanks for being the best EVO community on the net!
GrnEydGuy said:
Hey folks, does anyone have a resource where I can learn about managing my EVO to increase it's network connection speeds?
I'm rooted w/ RA recovery and stock ROM.
I have not yet flashed a new ROM because I am really trying to get the best speeds out of this phone and I have been searching XDA forums for the information to no avail.
Your insights are always appreciated, thanks for being the best EVO community on the net!
Click to expand...
Click to collapse
managing data connection not only requires hacking your phone and its radio partition, but it requires faking/hacking the network itself. this is dangerous and illegal. i would recommend ava's z1 rom. it has some nice data tweaks including auto roam and some other things. try myns.
dkdude36 said:
i would recommend ava's z1 rom. it has some nice data tweaks including auto roam and some other things. try myns.
Click to expand...
Click to collapse
When you say auto roam, does that mean it is running on Verizon's network?
I've read about the hack to force evo to run on Verizon's network but was unsuccessful in trying it.
there is a hack to force evo onto verizon's network but that isnt what i'm talking about. if you are under 2 (i think) bars it will automatically roam to verizon's towers. or something like that.
dkdude36 said:
there is a hack to force evo onto verizon's network but that isnt what i'm talking about. if you are under 2 (i think) bars it will automatically roam to verizon's towers. or something like that.
Click to expand...
Click to collapse
My office has a strange Sprint deadzone (right where my desk is of course) where I will dip to no bars. Occasionally it will jump over to Verizon (with a full 4 bars) and occasionally it will just sit there dead in the water with no connection.
There doesn't appear to be any pattern to when it roams and when it doesn't.
skylar.sutton said:
My office has a strange Sprint deadzone (right where my desk is of course) where I will dip to no bars. Occasionally it will jump over to Verizon (with a full 4 bars) and occasionally it will just sit there dead in the water with no connection.
There doesn't appear to be any pattern to when it roams and when it doesn't.
Click to expand...
Click to collapse
i would use ava z1 then. maybe theme it a bit. also try myns.
roaming on verizon...
there is that other shoe that might drop.
Roaming.. and data usage... there is a limit. I hear 250mb, then there might be additional charges.
high percentage of roaming over 90days.. they may cancel your contract and/or charge you for EFT. I hear it is 60% or more is where they start to look at your account.
yea i said it was dangerous. just saying the options. i didnt kno the details however.
Hboot 2.10 with unrevoked3 update
I just rooted my Evo 4g (Hboot 2.10) with the unrevoked3 update so I'm anxious to new ROMs but how do I know for sure when I will need to do any further flashing or downgrading of the kernel or PRI?
dkdude mentioned ava's and myn's ROMs are those good to go with my version? Right now I'm running MikFroYo and I like it but want to try different ROMs too.
New to rooting so I'm a lil nervous on this new investment of mine lol. Thanks for any advice guys.
yep ava is newest everything.
Probably of limited interest to the few of us in Japan with international Galaxy Note 2's who are also interested in recording FM Radio. I've found a bit of a roundabout way of doing so using the stock app.
I am in Japan, so the current stock FM app doesn't natively tune to Japan's FM band (76-90 Mhz). I started looking into the feasibility of tweaking the current FM radio app to scan for the Japanese band instead of only the Americas/European band, or look into tweaking an Xposed module or something. I installed the very old Galaxy S Radio Widget Location selector, and it works like a charm on my Galaxy Note II.
While I could have probably flashed the old FMradio app from the Galaxy S, I was more interested in tweaking the new one from the Galaxy Note II as it has FM recording built in. For anyone thinking 'try Spirit FM' I've bought it and use it and it works well. But it would still be nice to have the stock software tweaked to work on the Japanese FM band.
Now that I've discovered the old FM widget works, I was able to tune to local stations here in Japan. Then I open the FM Radio app and I'm able to not only save the scanned Japanese stations- I was even able to record using the current stock FM Radio app!! It's just what I was hoping would happen.
There are a few issues though:
-I still can't use the FM Radio app itself to tune in to those stations. I first have to tune to them using the widget, but once they're tuned in, I can record using the app!
-for some reason, the wav files I've recorded via the FM Radio app don't seem to play back quite right in any of my music apps. For example, I made a 4 minute recording from one station. It plays back perfectly fine in the FM Radio app itself. But when I try to play it in the stock music app, winamp, or recforge, it only shows up as 4 seconds long. The file is a full-size 44100Hz, 16-bit stereo recording (47mb). Not sure why it's not playing back in the other programs.
Anyway, it's not perfect, but much better than I expected! I can now listen to and record FM Radio using the stock app here in Japan!
I'm not software-development-level technically inclined, so if anyone with any know how is interested, the widget developer posted the source code on his blog back when he first created it. That was about 3 years ago, so the link to the source is dead now... but hopefully interest in this project isn't!
It would be great if we could get a tweak for either the widget to manually tune to stations and record, or the FM Radio app itself to tune to the 76-90 mHz band!
I've made a little progress with the stock FM Radio app. I can now tune to the Japanese FM band in program (without the widget).
The way I accomplished this is by adding these Csc features to /system/csc/feature.xml :
Code:
<!-- SEC FMRadio -->
<CscFeature_FMRadio_FrequencySpaceAs>50</CscFeature_FMRadio_FrequencySpaceAs>
<CscFeature_FMRadio_DefaultChannelAs>76.0</CscFeature_FMRadio_DefaultChannelAs>
<CscFeature_FMRadio_DisableRTPlusInfo>false</CscFeature_FMRadio_DisableRTPlusInfo>
<CscFeature_FMRadio_DeconstantAs>50</CscFeature_FMRadio_DeconstantAs>
<CscFeature_FMRadio_BandWidthAs>76000_90000</CscFeature_FMRadio_BandWidthAs>
I found these features here and adjusted them to the Japanese Band.
Honestly, I don't know what all FrequencySpaceAs or DeconstantAs features mean. If anyone knows, please share.
By entering these values, we can now scan through the Japan FM band range and record. There is a caveat though. It seems the buttons were programmed to not allow scanning for stations LOWER than 87.5 mhz. If you happen to be on 87.5, you can press the back button once and it will take you to the next available lower station (in my case 85.1), but after that, you can't use the back button. You can only use the forward scan button until it circles back around to the lower end of the band (in my case 76.5).
Again, It's not a huge deal and it doesn't hinder you from now finding stations on the Japanese band. But it would be better if both buttons could be used freely. Also, the programmed station buttons also won't tune to any station under 87.5. You can program any station you pick up onto the buttons, but when you press them they don't work.
I really would love to get some people's input who know more about this. Where would the 87000 minimum value for the back button and program buttons be placed? Would it be in an xml file or a smali file?
Also the first time I recorded, I'm almost sure it was a .wav file. But yesterday, it output a .m4a file. Any idea how or why this changed? Any idea how I might change the output file format/quality? Any idea how I might expand the settings menu?
I know this is in the general section where probably most devs don't really look, but I would REALLY appreciate some insight or input on this. Thanks for listening!
I did it!
...made more progress that is.
I figured it out. I decompiled the stock app and changed some of the smali code. And now I've managed to natively access Japanese FM bands in the stock app!!! There are still a few things I need to work out, such as when pressing the saved stations button, it still doesn't tune to the station if it's under 87.5. My next aim is to get those buttons working.
Also, the widget now tunes to programmed stations, even if they're in the Japan range. But the display will not show anything lower than 87.5. So I'll be working on that too.
I'll post my modded file(s) in a new thread in the apps forum. Hopefully then it can get a bit more exposure and input. This thread will just serve as a starting point. This is a system app, so you must be rooted to install. To install it, I simply uninstalled the stock app via Titanium Backup. Then using Root Explorer I copy this apk to the system/app directory, mount R/W, rename to FmRadio.apk, and restart. That should do it! You can now tune to bands below 87.5!
UPDATE: You can find the new thread and modded apk here.
Are there any APPs or MODs that would display the Modem/Radio Bands being accessed? Something that would work on both Stock and CM based ROMS.
SignalCheck Pro
https://play.google.com/store/apps/details?id=com.blueline.signalcheck