Hi people.
One way to get longer battery life is to disable HSPA and just use 3G. 3G (UMTS) is not as slow as EDGE/GPRS but doesn't use as much power as HSPA.
Here's a quick comparison of *typical* download speeds:
GPRS: 48 kbit/s, EDGE: 150-200 kbit/s, 3G: 384 kbit/s, HSDPA: 1000 kbit/s
After some searching, I've found a method that actually works for our Galaxy S:
Go to the phone dialer pad and enter this code: *#301279#
Click [2] CHANGE HSPA REVISION
Click [1] RELEASE 99 (HSPA OFF)
Then you should see something like:
CHANGE_R99
HSDPA OFF, HSUPA OFF
Done!
Press the BACK button to exit, or press MENU button then END.
The setting should take effect shortly after you exit the menu. To be sure that the setting take effect, toggle Flight/Airplane mode.
You could store that number in your phone book or speed dial for a quick way to toggle HSPA.
The setting STAYS ACROSS REBOOTS!
If you want to enable HSPA again just go back to the same menu and choose [3] RELEASE 6 (HSDPA/HSUPA).
Just tested it with the XXJPP radio and it really works.
Longer battery life at last!
EDIT: Deleted the earlier method of using local.prop / build.prop which doesn't work on the Galaxy S. Ignore posts #1 to #15 as they are regarding the earlier method.
Very interesting - I have 3G shut and use 2G for precisely this reason. I always presumed the drain was because of the WCDMA mode - will definitely try this.
ashwinds said:
Very interesting - I have 3G shut and use 2G for precisely this reason. I always presumed the drain was because of the WCDMA mode - will definitely try this.
Click to expand...
Click to collapse
Yes we want to achieve something like just using 2G, but 2G on its own is pretty slow, and on 2G, sometimes while you are transferring data, people cannot call you.
Moreover in certain countries like Singapore where they don't have EDGE, but only GPRS and 3G/HSPA... setting the phone to 2G mode makes mobile data so slow, its virtually unusable.
I agree... 2G is a ridiculous compromise - but necessary given the rapid drain. Anyway, tried the patch and I have:
# getprop | grep ro.ril
[ro.ril.hsxpa]: [0]
[ro.ril.gprsclass]: [12]
But the indicator still shows the H - does that mean anything? I expected to see 3G instead.
AFAIK the power required for the radio is linked 100% to connectivity to tower, and swapping between 3G or HSDPA should have zero effect on battery life. Just disabling HSDPA really shouldn't affect power supply to the radio on the device.
Of course if someone could do some heavy testing so we could know for sure, that would be great. Would need to be some very good testing, perhaps with a multimeter? Because if there is any difference in power draw, it's going to be very hard to make out in regular usage.
(You will still see the H at the top, because you are really still connecting using the hsdpa radio (it's the same radio as the 3g one), and the tower you're connecting to supports hsdpa. But your downloads speeds should be less.)
Thats kind of what I was worried about - my understanding is that 3G/HSDPA need to connect to more than 1 tower concurrently and stay connected.
Just the warm feeling when I switch to WCDMA makes me wary
Heat => Energy => Battery Drain
ashwinds said:
But the indicator still shows the H - does that mean anything? I expected to see 3G instead.
Click to expand...
Click to collapse
Me too, indicator says H but speed should be slower. 3G (non-HSPA) speeds top out at around 384kbit DL / 64kbit UL.
RyanZA said:
AFAIK the power required for the radio is linked 100% to connectivity to tower, and swapping between 3G or HSDPA should have zero effect on battery life. Just disabling HSDPA really shouldn't affect power supply to the radio on the device.
Click to expand...
Click to collapse
I'm quite sure that limiting it to 3G instead of HSPA speeds will save significant battery, because HSDPA/HSUPA use multiple radio channels to get those high speeds. It's sort of like MIMO, but not really. More channels = more power required.
And I think one of the reasons why the XXJPP modem is a battery killer while surfing, is probably because it supports faster HSPA speeds than the older modems.
Darn. It doesn't seem to limit the speed for me (at least not from /data/local.prop). I'm gonna try to put the no-hspa values into /system/default.prop and /system/build.prop and see what happens.
Tried myself... no luck...
Phone still use HSDPA/HSUPA...
Tested with build.prop - again no luck...
Darn. It doesn't work even if I put it in /system/build.prop.
Maybe those props only work for HTC radios. Would be great if someone could figure out whether the Samsung radio has a similar setting.
Tried it with setprop... doesnt work - makes me wonder how local.prop worked...
# getprop | grep ro.ril
[ro.ril.hsxpa]: [0]
[ro.ril.gprsclass]: [12]
# setprop ro.ril.hsxpa 2
# setprop ro.ril.gprsclass 12
# getprop | grep ro.ril
[ro.ril.hsxpa]: [0]
[ro.ril.gprsclass]: [12]
ashwinds said:
Tried it with setprop... doesnt work - makes me wonder how local.prop worked...
# getprop | grep ro.ril
[ro.ril.hsxpa]: [0]
[ro.ril.gprsclass]: [12]
# setprop ro.ril.hsxpa 2
# setprop ro.ril.gprsclass 12
# getprop | grep ro.ril
[ro.ril.hsxpa]: [0]
[ro.ril.gprsclass]: [12]
Click to expand...
Click to collapse
Past a certain point in the boot phase, I think certain props cannot be edited.
Sent from my GT-I9000 using XDA App
The Samsung way of doing this would probably involve assigning CONSTs to the props in some unexpected places. Been going over the source for the last two weeks and it aint pretty. Samsungs' QA department seems to rather not be bothered by Android code.
I need high speed
I am in need of high speed. Could anyone suggest how to do it on a rooted SGS 2.2
Can I make a local.prop file with the below specification and save to /data/local.prop on the rooted SGS 2.2 (as the HSDPA is 7.2 Mbps & HSUPA is 5.6 Mbps):-
ro.ril.hsxpa=2
ro.ril.hsdpa.category=7
ro.ril.hsupa.category=6
ro.ril.gprsclass=12
ro.ril.enable.3g.prefix=1
hi_bye said:
I am in need of high speed. Could anyone suggest how to do it on a rooted SGS 2.2
Can I make a local.prop file with the below specification and save to /data/local.prop on the rooted SGS 2.2 (as the HSDPA is 7.2 Mbps & HSUPA is 5.6 Mbps):-
ro.ril.hsxpa=2
ro.ril.hsdpa.category=7
ro.ril.hsupa.category=6
ro.ril.gprsclass=12
ro.ril.enable.3g.prefix=1
Click to expand...
Click to collapse
These commands don't work on the sgs. Just use the xxjpp modem, it's fast.
Sent from my GT-I9000 using XDA App
Good news! I found a setting that works from the service menu. Details in the 1st post.
Thanks hardcore! Its really useful. Hope chainfire can implement it on supperpower app. So its finally tested that 3g spends less battery?
Sent from my GT-I9000 using Tapatalk
hardcore said:
Good news! I found a setting that works from the service menu. Details in the 1st post.
Click to expand...
Click to collapse
Nice, this worked for me. Testing now how this affects to battery life.
Change required a reboot to properly activate. Maybe just flight mode off/on works too.
I prefer speed, cince 3g can suck pretty hard here in london, whereas H is very-very fast.
I'm sorry but I'm insanely confused lol.
In Singapore, we have GPRS(G), HSDPA(H) and 3G(3G) right? correct me if I'm wrong!
so... what is HSPA lol. I've done some Googling but I'm still crazily confused, any help is appreciated. Thanks!
Related
Check the thread pages to see results from other users who have had much better results than the ones I got.
This solution was discovered while I was checking out the CDMA Hero forum, so I don't take credit for discovering the method.
http://forum.xda-developers.com/showthread.php?t=651848&highlight=cell+standby
Goto dialer and dial *#*#4636#*#* (DO NOT press send) wait a second and you will get the test menu.
In the test menu choose 'Phone Information'
scroll down and choose on the first drop down - GSM auto (PRL) (for high speed data) or GSM only (You may get 3g if not use GSM auto (PRL))
Back out to test menu then back into 'Phone information' to see if it sticks (if not try again) then back all the way out.
You might want to reboot, but I found the settings worked straight away.
Edit 3 - I don't take any responsibility for step 6 - 6) Try other settings on the dropdown if you are brave as I don't know the consequencies of using settings like "EvDo only" and "unknown" as they may be better depending on the way your provider provides information.
Edit 4 - can't seem to select the other settings like EvDo and unkown anyway.
Edit 3 - TBH - GSM auto (PRL) is working for me with HSDPA and I will try
(PRL) instead of GSM auto (PRL) <- edit - previously it mistakenly said GSM only
the CDMA and WCDMA settings later to see what other effects there are.
This way I managed to get 5½ hrs and only lose 10% battery (GSM Only)! (Edit 3-) Slightly more drain with GSM auto (PRL) but still better than before.
Previous to this I lost 35% in the same amount of time with the same use (sometimes even more when I didn't even use the phone all night).
Hope the devs can make use of this (maybe mess with other settings in there to improve battery more.). I did notice that the GSM auto (PRL) uses a bit more battery than GSM only, but that is to be expected.
Edit: Actually you might need to set it on each reboot, not sure, the settings stayed when I rebooted
Edit 2: When you change roms (or re-install a rom) you will need to do this again, but should stay after a normal reboot as it does for me.
============================
Results:
Your results will vary depending on the rom, but it should improve battery performance - some have had better results than me using this.
GSM only <---- If you don't get 3g with this it is the same as 2g setting then use GSM auto (PRL) if you want faster than 2g (as some people are getting 3g on GSM only - I will investigate. (if you don't use internet or don't need fast internet)
5½ Hrs - lost 5% Battery - This one is same as running 2g as you don't get HSDPA, but using Opera browser makes browsing fast even using this. If you want Higher speed data use the one below.
GSM auto (PRL) <---- Recommended if you want High speed Internet and save battery
1:40am to 2:00pm (12hrs 20 mins) - lost 40% battery with moderate use a bit of surfing at HSDPA speeds, a few calls and messing with a few apps. Other people have had even better results than me though, so I might change my rom and try again. (I would usually about this amount of time I would have lost about 70-75% - and yes it was that ridiculous - I had to find something to stop this).
" WCDMA Only"
2:06pm to 11:37pm - (9hrs 31mins) lost 46% battery again moderate use and a reboot
This one might be useful if you live in a place that has low GSM signal like the chap in post #10 as it does give HSDPA - but this is only a suggestion as I cannot test it in Iceland. Anyway
" WCDMA preferred"
6:02am to 2:51pm - (8hr 49mins) lost 41% battery this time with less use that the WCDMA use and no reboots.
=============================
Conclusion: (For me anyway)
SO my preference is GSM auto (PRL) some people have got some excellent results with this. You may, however, require one of the other options depending on your service provider signals.
===========================================
EXTRA OPTIONS :
Other settings you can change: (You may have tried this already)
If you don't get GSM auto (PRL) then if you press the menu button on your phone in the 'phone information' page and select 'radio band', you may be able to change it to Automatic or one of the other settings and then you might get GSM auto (PRL).
Available Radio Bands * You may get others depending on the radio you have installed, but I haven't confirmed this*
Automatic
EURO Band
USA Band
JAPAN Band
AUS Band
AUS2 Band
There are other settings there that I haven't messed with, maybe someone with more knowledge may be able to help
Thanks to those who found out what PRL stood for, I will try to update this info in the instructions soon.
========================
I think the reason this works is because it prevents the phone from constanly looking a round for various networks types as it I did notice that the Cell standby time is always high and using this method the cell can standby without constantly searching for a signal thereby wasting power. ALso using this method my "Awake time" is a LOT LOT lower than my "Up time" - about 1200% less (is that right 12 times lower (Up 12hrs - Awake 1hr) ?) - before this the two times were most of the time the same and some times slightly lower. - I'm sure someone will let me know if this theory is incorrect - and I'm open to and welcome that.
This is my experience you can read other peoples who have achieved a lot better than me, and I'm glad I spotted this and let you guys know. (Those who are saying that you've known about this test menu thanks for letting me know that you knew about it before, but a lot of other people didn't know about it. ALso I don't think people have used this as a tool for increasing battery in the GSM section of the forum. As I mentioned at the top of this post I noticed it in the CDMA section as a way of increasing battery performance. - credits to them for thinking it up in the first place.) -
All I am saying though, is to test it out yourself.
.
.
Just tried this. If it works i'll kiss you.
petsasj said:
Just tried this. If it works i'll kiss you.
Click to expand...
Click to collapse
Well in that case I don't know whether I want it to work now, LOL, unless you're a fit babe.
I went back to 1.5 for battery problems, let me know if it works so i can go to 2.1 roms
This is just using 2g instead of 3g, isn't it?
xangma said:
This is just using 2g instead of 3g, isn't it?
Click to expand...
Click to collapse
Like I said in the first post GSM (auto) PRL gives you 3g/hdspa but not as brilliant battery as GSM only, but is better than before.
I am now unplugged from fully charged. Will report back in the morning and throughout the day to let you know if this works.
About PRL, here's what some telecom website says:
The term PRL actually refers to file stored in your phone. This file directs the phone to find alternative networks to operate on when the primary operator cannot be reached. Updating the PRL will store in the phone which are the most up to date, current networks to operate on. In order to operate on another carrier’s network your primary service provider must have a roaming agreement with other carriers.
Almost all phone carriers, such as Oxygen, Locus, Cingular, Verizon, etc. have roaming agreements with other major service providers.
Click to expand...
Click to collapse
So I guess it's useful?
Suppose so.
I am on a fairly small operator in Iceland and my phone started roaming when I did this.
I lost 3G connection and went over to Edge...
Switched back to the WCDMA Preferred.... My provider has a little limited coverage but has no roaming charges on the GSM network.
Any ideas what setting I should use for my phone other then WCDMA preferred
Yea mine is on Wcdma preferred when i go into it. Im on t-mobile uk. Ive left it for now as dont really know how long this battery is lasting. Going to give it a few days to see an average
skimminstones said:
Yea mine is on Wcdma preferred when i go into it. Im on t-mobile uk. Ive left it for now as dont really know how long this battery is lasting. Going to give it a few days to see an average
Click to expand...
Click to collapse
I'm on T-Mobile UK and GSM auto (PRL) gives me 3g/H and GSM only gives me gprs. Like I said, both give me loads of battery time (GSM auto PRL is a bit less than GSM only though).
Interesting, I may have done this accidentally a few days ago...
I just checked and it was already on GSM auto PRL, I'd changed this in my build.prop last time i was fiddling:
ro.telephony.default_network = 0
I thought that would give me wcdma preferred but apparently not...
I'll have done your tutorial ... will wait till end of day what happens
Definitely helped battery life.
Thumbs up!
In fact i can be wrong, but this tip only disable 3G access... only GSM and Edga.. so it save some battery for sure.. but you will navigate slower if you have a real 3G or 3G+ access.. am i wrong ?
Ciao
Fred
Surely this does the same as the button in the options to just use 2G?
frederikk said:
In fact i can be wrong, but this tip only disable 3G access... only GSM and Edga.. so it save some battery for sure.. but you will navigate slower if you have a real 3G or 3G+ access.. am i wrong ?
Ciao
Fred
Click to expand...
Click to collapse
Correct me if I am wrong, but isn't HSDPA faster than 3G?
source: http://en.wikipedia.org/wiki/High-Speed_Downlink_Packet_Access
in which case you would get your faster browsing using GSM auto (PRL) - giving you HSDPA. I certainly get a H showing at the top of the screen while browsing and it isn't constantly connected when I'm not browsing, which it was doing (connecting and disconnecting all the time) before I chose this setting, and thereby my battery life was extended a lot.
Edit: Just try it - if it doesn't work just put it back to your original setting, it has worked for me - There are other settings in there but I have not tested them out yet.
btdag said:
Surely this does the same as the button in the options to just use 2G?
Click to expand...
Click to collapse
It may be, but not if you choose GSM auto (PRL) - also make sure you have the correct APN settings from your service provider. I did notice that the standard APN's on the phone have always been a little different from the ones on the T-Mobile UK website.
This is not a fix for the battery issues in 2.1 roms, althought it may help as 3g doesn't use the same amount of battery as 2g. But i think everyone knows that anyway. Much easier having the 2g/3g toggle on the home screen and changing it to 2g only when you are not using the web browser etc
ps: before people say other wise this menu has been known for ages and every rom I use is always on GSM.
I have a problem with setting android to only use 2G networks. I can tick an option under settings "Use only 2G networks" but after i leave the settings menu it gets "unticked" again threfore i,m constantly on 3G which wouldn't be a problem but in the areas where there is no 3G signal android loses signal and wont connect to 2G network. I can turn off 3G under winmo tof orce android to only use 2G networks but it takes time. My question is can anyone successfully setup their android to use only 2G networks?
Same Problem
I´m having the same problem and for me it´s worse because it drain my battery really fast (don´t last more than 4 hours).
Could somebody please fix it as soon as possible because this way is really difficult to use android as main OS.
When I put a Sim Card that doesn´t have 3g I don´t have this battery problem.
I hope somebody could help me with this problem.
could someone please look into this? 3G kills my tilt realy fast too. this is the only thing stoping my from using android as my main os.
odz said:
could someone please look into this? 3G kills my tilt realy fast too. this is the only thing stoping my from using android as my main os.
Click to expand...
Click to collapse
Try this:
$ su
# rwsystem
# nano system/build.prop
Find the part that says something about default_network=0. Try changing it to 1. Save with dpad-center+x, then y and enter.
# rosystem
Restart your phone to have it take effect. I'm currently trying out the value 3 which is "use GSM or WCDMA, whichever provides the strongest signal" and it seems to work better for me. Before I often had switched to Roaming after calls and somethings loosing connection completely, but I have only tested it for a short time so I'm not 100% sure if it helped or not.
Next release will include scripts to change this and some other things easily.
Oh, and the value 1 is supposed to be "GSM only" so it might help.
kallt_kaffe said:
Try this:
$ su
# rwsystem
# nano system/build.prop
Find the part that says something about default_network=0. Try changing it to 1. Save with dpad-center+x, then y and enter.
# rosystem
Restart your phone to have it take effect. I'm currently trying out the value 3 which is "use GSM or WCDMA, whichever provides the strongest signal" and it seems to work better for me. Before I often had switched to Roaming after calls and somethings loosing connection completely, but I have only tested it for a short time so I'm not 100% sure if it helped or not.
Next release will include scripts to change this and some other things easily.
Oh, and the value 1 is supposed to be "GSM only" so it might help.
Click to expand...
Click to collapse
Kalt, should we change this "ro.telephony.default-network=0"? to "1"
If so, it didn't work for me . I'm still on 3G.
-Arturo- said:
Kalt, should we change this "ro.telephony.default-network=0"? to "1"
If so, it didn't work for me . I'm still on 3G.
Click to expand...
Click to collapse
Yes that's the one. Well, getting information about the settings in build.prop isn't easy. I'm don't know if the information I found was a fact or just a guess.
kallt_kaffe said:
Yes that's the one. Well, getting information about the settings in build.prop isn't easy. I'm don't know if the information I found was a fact or just a guess.
Click to expand...
Click to collapse
Kalt does this issue also occur while running Android from Nand?
HELP!!!
I have tried everything here and still no 2G. I love android but battery life sucks. There has to be a way to force 2G all the time. 3G is great but if batterylife will suffer so badly I want to turn it off perminently. Does anyone know how to do this? I'm using VaniljEclair RLS7c and I have been messing with the scrips in the update and still nothing after reeboot.
Takiyon said:
I have tried everything here and still no 2G. I love android but battery life sucks. There has to be a way to force 2G all the time. 3G is great but if batterylife will suffer so badly I want to turn it off perminently. Does anyone know how to do this? I'm using VaniljEclair RLS7c and I have been messing with the scrips in the update and still nothing after reeboot.
Click to expand...
Click to collapse
I have tried everything too with almost all builds (1.6 2.1 and 2.2). My opinion is that ro.telephony.default-network command do not work on Kaiser. If ro.telephony.default-network is removed from build.prop nothing happens. Maybe TelephonyPprovider.apk is something to do with 2G 3G switching.
Bump... Please someone help us!! There has to be some hack we can try.
Please help us!!!
I agree,
Would be great to be able to force certain networks. If you look at the power usage/ per network the faster the network the more power it consumes. I'd like to be able to by default use the low speed and switch it to fast when I'm really using the phone. My EVO has a 4G widget switch. If it didn't the phone would be worthless to me as 4G in my area is not great. 2hrs 4G on (with no 4g network) = -40% battery... Love to do the same for 3G as that would save "about" 20% more battery life alone. I might get a whole day of use without charging...
-Arturo- said:
I have a problem with setting android to only use 2G networks. I can tick an option under settings "Use only 2G networks" but after i leave the settings menu it gets "unticked" again threfore i,m constantly on 3G which wouldn't be a problem but in the areas where there is no 3G signal android loses signal and wont connect to 2G network. I can turn off 3G under winmo tof orce android to only use 2G networks but it takes time. My question is can anyone successfully setup their android to use only 2G networks?
Click to expand...
Click to collapse
Very simple. You use file follow. You install it,only mark or unmark for 3G or 2G. I'm from Vietnamese. I speak E not very well. I'm sr if you don't undertand
looks like this is only for 3g-2g data connection.Discussion is about GSM -CDMA network
pro_hvtc said:
Very simple. You use file follow. You install it,only mark or unmark for 3G or 2G. I'm from Vietnamese. I speak E not very well. I'm sr if you don't undertand
Click to expand...
Click to collapse
As far as i know apndroid disables both 2g/3g connections and we only need to block system from using 3g connections leaving 2g still connectable.
Has anybody seen this before?
http://www.android-cellphones.org/android-motorola-droid-tricks-disable-3g.html/
I get the settings, but the problem is that I can't choose any - no matter what I choose it stick to "Unknown" type..
milanche said:
Has anybody seen this before?
http://www.android-cellphones.org/android-motorola-droid-tricks-disable-3g.html/
I get the settings, but the problem is that I can't choose any - no matter what I choose it stick to "Unknown" type..
Click to expand...
Click to collapse
I've tried that a while ago and it didn't work for me.
I've bin going thru htcgeneric-ril.c (source of libhtcgeneric-ril.so), provided in another topic and noticed this lines:
Code:
switch (rat)
{
case 0: at_rat = "1,2"; break;/* Dual Mode - WCDMA preferred*/
case 1: at_rat = "0"; break; /* GSM only */
case 2: at_rat = "2"; break; /* WCDMA only */
}
Could there be a solution lurking in those lines to ongoing 2G/3G switching problem on Kaiser devices with Android?
Those look like the settings from the phone information screen in testing, it's certainly the right area to be looking in.
Question: who's gonna be brave enough to hack htcgeneric-ril.c and recompile that lib?
I already asked n2rjt to do it, if it's possible - still waiting for his reply.
Hey I just came from Galaxy S and there is a way to disable Hsdpa in there which improves battery life amazingly....
I was wondering if there is a way to do that in Desire? (for my city 3g speeds are faster than hspa for some reason)...
Also is there a way to select which band the phone is connecting by 850 vs 1900 ... or to see what it is using ?
any help would be appreciated
It's in the settings someone in network
There is also a widget to totally disable mobile internet which I use to save battery
Sent from my HTC Desire
Go to Settings > Wireless & Network Settings > Mobile Networks...
That's pretty much what you can do with the Desire as far as mobile networks are concerned. GSM phones normally switch to different frequency bands depending on where they are located and in the Desire I don't think you can select which one to go for (besides it's an unnecessary feature in my opinion)...it just does it on its own. Maybe there is an app around that let's you do this?...
As for viewing which band you are on....you can't do it on a standard ROM but there might be custom ROMs or an app that let's you do this.
Update: Some apps that might interest you => 4G, CDMA, GSM & Wifi Map Viewer from Sensorly.com
=> Open Signal Maps Beta from Staircase 3, Inc.
=> Antennas from mpoly
=> Quick Settings (maybe..)
mmm none of those do anything like it...
all those either just shut off data or turn it on... im not sure if anyone has used the galaxy s
http://forum.xda-developers.com/showthread.php?t=837716
this is what im talking about... saves the phone a LOT of battery by just forcing it to use 3g instead of hspa ...
i think developers can prolly make more sense of it.. i mean if they have a way.. there has to be one in other devices ...no?
danial.aw said:
mmm none of those do anything like it...
all those either just shut off data or turn it on... im not sure if anyone has used the galaxy s
http://forum.xda-developers.com/showthread.php?t=837716
this is what im talking about... saves the phone a LOT of battery by just forcing it to use 3g instead of hspa ...
i think developers can prolly make more sense of it.. i mean if they have a way.. there has to be one in other devices ...no?
Click to expand...
Click to collapse
Ah, so you have a Galaxy S.....unfortunately, this is a HTC Desire forum, so it would be better if you posted this in the Galaxy S forums. You may not find the answers you are looking for here as this forum mainly handles a different device to the Galaxy S.
What I said before is only applicable to the HTC DESIRE. I thought you switched to a Desire when you mentioned you came from a Galaxy S, but I was mistaken. The apps I mentioned as mainly for monitoring the 4G, 3.5G & 3G (i think 2G too) coverage. If you are looking to switch between them (i.e. turn HSDPA off and turn 2G on) I am sure there is a way to do so...on the Desire this can be done through the Mobile Networks settings...
And no, I'm not familiar with the Galaxy S....
no i had the galaxy s... (i posted that for reference as to how its done on that)...
and ya those apps just toggle just 2g vs 3g...
im looking for a umts vs hspa toggle... (3g vs 3.5g).... because umts takes way less battery than hspa does...
tried to mess around in the band setting screen but couldnt find anything
SOLUTION
what you need is to edit /system/build.prop file
here are my settings:
ro.ril.hsxpa=0
ro.ril.gprsclass=12
ro.ril.hsdpa.category=1
ro.ril.hsupa.category=1
after doing the and couple?... of restarts H icon changed to 3G and it really does save battery significantly and speed is pretty much enough for browsing or email
would have thought if battery life was vital then you'd disable data completely tbh
This is somewhat network dependent. Here in Sweden I know of one network that will have you at HSXPA (H) as soon as it is possible. My network on the other hand will set to 3G when WCDMA is detected and set to H only during data traffic.
And then G if only GSM is detected.
I disable data via widget if I want to save power even further. Not that it has that much impact. There is a setting under wireless and network > mobile network at the bottom : ativate mobile data (this is translated). This setting will force the data connection to be active even if unused. You have to experiment here what setting is best for your network. On my network, if I remove the tick here (data connection will let go if not used and reconnect when needed) my battery will drain quicker. Providers with other policies might give different result.
found something good http://forum.xda-developers.com/showthread.php?t=909458
apparently xda is very strict on my posting etc. my fourth try trying to post something to help out..
liquidribs said:
found something good http://forum.xda-developers.com/showthread.php?t=909458
apparently xda is very strict on my posting etc. my fourth try trying to post something to help out..
Click to expand...
Click to collapse
Thank you! thank you! thank you! For bringing thing thread back from the grave.
heyjoe66 said:
SOLUTION
what you need is to edit /system/build.prop file
here are my settings:
ro.ril.hsxpa=0
ro.ril.gprsclass=12
ro.ril.hsdpa.category=1
ro.ril.hsupa.category=1
after doing the and couple?... of restarts H icon changed to 3G and it really does save battery significantly and speed is pretty much enough for browsing or email
Click to expand...
Click to collapse
Thanks! Very useful! For me it was only necessary to change the "ro.ril.hsxpa=0" line, then do a couple of restarts (to make it clear, a single restart wasn't enough, HSDPA was disabled only after the second restart for me).
Since I was not happy with my current battery life I decided to invest time in finding ril build.prop tweaks for our hd2. Wich will be readed by lib_htcril.so and will acutally work. Android htc ril interface supports over 60 commands.
All tough it looks our phone has a working data connection it works far from optimal. There is no rill officialy developed for our radio and singal is very sensitive in my experience.
RMNET is currently providing us stable data by loading desire rmnet radio code into the radio when start up. Altough we should know wich radio from the desire is included so we can use the right wrapper
Anyway I will here clearify some commands.
ro.ril.fast.dormancy.rule= 0 - 1 disable enable.
Save a lot of battery by letting the phone request for fast dormancy. Phone will stay in UMTS until data is requested and will then switch to hdspa. This is not supported by all providers.
ro.ril.fd.scron.timeout= 0- to infinity in theory
The timeout in seconds after a data request before switching back.When screen is on
ro.ril.fd.scroff.timeout=0 to infinity in theory
The timeout in seconds after a data request before switching back.When screen is off.
ro.ril.a52.%s
(gprs encryption algorithm)
ro.ril.a53.%s
(gprs encryption algorithm)
ro.ril.enable.a52=0-1
disable enable encryption a52
ro.ril.enable.a53=0-1
disable enable encryption a53
ro.ril.enable.dcm.feature= 0- 1
Database Correlation Method to get phone location I was getting faster an data connection when on however phone was finding this value by it self was my experience.
ro.ril.radio.svn= 0-99
to identify phones more easily currently displayed as 01 on our hd2.
ro.ril.qos.traffic.priority= 0-3
(lowest priority =0 highest =3) request QOS priority in your network might not be supported by your provider.
ro.ril.enable.dtm=1
Dual transfer mode for networks that support calling and data connection at the same time.
ro.telephony.default_network=3 (0-8)
Not really new this will make the phone prefere a strong gsm singal over a really weak hdspa can save a bit of battery. This can also be set by typing *#*#4636#*#* in dialer
This are the ones I exactly know what they mean however after some testing I am using the following commands in build.prop by researching htc build.props
Altough I don't know the meaning of all it definately helps because I dont get a weird logcat out put when turning data on or off and it goes almost instant on and off with b4 wrapper in CLK.
# RIL Tweaks by [email protected] for HD2
rild.libpath=/system/lib/libhtc_ril.so
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.ecc.HTC-WWE=999
ro.ril.enable.a52.HTC-ITA=0
ro.ril.enable.a53.HTC-ITA=1
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.enable.dtm=1
ro.ril.gprsclass=12
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=5
ro.ril.hsxpa=2
ro.ril.enable.3g.prefix=0
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hep=1
ro.ril.avoid.pdp.overlap=1
ro.ril.enable.prl.recognition=0
ro.ril.def.agps.mode=2
ro.ril.enable.managed.roaming=1
ro.ril.enable.enhance.search=0
ro.ril.fast.dormancy.rule=1
ro.ril.fd.scron.timeout=30
ro.ril.fd.scroff.timeout=10
ro.ril.oem.nosim.ecclist=911,112,999,08,118,120,122,110,119,995
ro.ril.emc.mode=2
ro.ril.att.feature=0
ro.ril.disable.power.collapse=0
ro.telephony.default_network=3
# END RIL Tweaks by [email protected] for HD2
Click to expand...
Click to collapse
Just some more clearyfing why we have high standby usage.
Because phone is searching a lot for singal in my case it can swtich from 1 bar to 5 bars in the same room.
The power usage in 3G can be reduced by using fast dormancy because the phone doesnt switch from 3g to hdspa when there is no data request but phone will still search for optimal singal but it wont constantly switch between 3g and hdspa and waste battery. (lost 4 % in 8 hour with constantly bumping singal)
What is the goal of this thread:
Giving everybody the chance for an optimal data experience and maybe useful for devs who wanna update radio code or update ril wrappers.
Thanks for this Jan. So can we simply copy/paste this into our build props and reap the fruits of your labour?
Yeah it should work especially that fast dormancy really hepls if your network support it. I tested this in combination with clk b4 wrapper in theory when we initialize ril on boot using tytung r10 instead of lib_htcrilwrapper.so it should work for sure.
So is this for close or maglder it both?
Either way thank you this whole battery drain issue has got me very angry lol
Sent from my HTC HD2 using XDA App
Yeah well you just need to test I they will work for both. It depends the most on your provider. I Think because lack of missing code system has trouble by setting some parameters by it self. That is why It might be needed to apply the ril tweaks in build.prop.
Agree with the signal strength... my connection shows H, perfect reception when its laying on my desk, but as soon as i pick it up data drops to 1 or 0 bars. VERY sensitive.
Switching to GSM auto (PRL) seemed to do the trick for switching from H to E faster so i wont lose my reception and fixes the battery drain but this is still far from optimal use of our data connection as the data drops still occur as frequent as before.
help
Hi will this work on rafdroid 4.2 rom am a newb to changing code where to start and which folder etc and how to insert this code can u do it in zip form so we can flash it by mgldr?? or if not a step by step explanation of how to do it my kernal is rafdroid 1.9 thanking u in advance for any help on this
jan-willem3 said:
Since I was not happy with my current battery life I decided to invest time in finding ril build.prop tweaks for our hd2. Wich will be readed by lib_htcril.so and will acutally work. Android htc ril interface supports over 60 commands.
All tough it looks our phone has a working data connection it works far from optimal. There is no rill officialy developed for our radio and singal is very sensitive in my experience.
RMNET is currently providing us stable data by loading desire rmnet radio code into the radio when start up. Altough we should know wich radio from the desire is included so we can use the right wrapper
Anyway I will here clearify some commands.
ro.ril.fast.dormancy.rule= 0 - 1 enable disable.
Save a lot of battery by letting the phone request for fast dormancy. Phone will stay in UMTS until data is requested and will then switch to hdspa. This is not supported by all providers.
ro.ril.fd.scron.timeout= 0- to infinity in theory
The timeout in seconds after a data request before switching back.When screen is on
ro.ril.fd.scroff.timeout=0 to infinity in theory
The timeout in seconds after a data request before switching back.When screen is off.
ro.ril.a52.%s
(gprs encryption algorithm)
ro.ril.a53.%s
(gprs encryption algorithm)
ro.ril.enable.a52=0-1
enable disable encryption a52
ro.ril.enable.a53=0-1
enable disable encryption a53
ro.ril.enable.dcm.feature= 0- 1
Database Correlation Method to get phone location I was getting faster an data connection when on however phone was finding this value by it self was my experience.
ro.ril.radio.svn= 0-99
to identify phones more easily currently displayed as 01 on our hd2.
ro.ril.qos.traffic.priority= 0-3
(lowest priority =0 highest =3) request QOS priority in your network might not be supported by your provider.
ro.ril.enable.dtm=1
Dual transfer mode for networks that support calling and data connection at the same time.
ro.telephony.default_network=3 (0-8)
Not really new this will make the phone prefere a strong gsm singal over a really weak hdspa can save a bit of battery. This can also be set by typing *#*#4636#*#* in dialer
This are the ones I exactly know what they mean however after some testing I am using the following commands in build.prop by researching htc build.props
Altough I don't know the meaning of all it definately helps because I dont get a weird logcat out put when turning data on or off and it goes almost instant on and off with b4 wrapper in CLK.
Just some more clearyfing why we have high standby usage.
Because phone is searching a lot for singal in my case it can swtich from 1 bar to 5 bars in the same room.
The power usage in 3G can be reduced by using fast dormancy because the phone doesnt switch from 3g to hdspa when there is no data request but phone will still search for optimal singal but it wont constantly switch between 3g and hdspa and waste battery. (lost 4 % in 8 hour with constantly bumping singal)
What is the goal of this thread:
Giving everybody the chance for an optimal data experience and maybe useful for devs who wanna update radio code or update ril wrappers.
Click to expand...
Click to collapse
Hi,
This is very cool set!
i will use it in my ROM,
Your name will be in my build prop.
but first i will check that all ok, dont want my users to lose data / wifi / signal.
better test on my self!
Very cool keep it UP!
Thanks!
Can you please make this a flash able zip through CWM.
Ive had a a few problems in the past editing build props
CWM is not possible because each build is using a different build.prop
@dorimanx only issue is that some networks dont support fast dormancy. And then it will use extra battery instead of saving. Then you need to set fast dormancy rule = 0
For the rest I don't see any disadvantage of using this tweaks.
@dorimanx only issue is that some networks dont support fast dormancy. And then it will use extra battery instead of saving. Then you need to set fast dormancy rule = 0
For the rest I don't see any disadvantage of using this tweaks.
What about T mobile is that ok?
Sorry I have no tmous device try google to find out if network support fast dormancy or try out by yourself you can see it when you have high battery drain in 3g mode.
I already have a high battery drain cause of this http://support.t-mobile.com/thread/3544?tstart=0
Then I would try the build prop entries for sure.
help
Can this be done as a zip for magldr cant do this as dont know what folders or where etc to include this asked already but no one seems to want to answer?
maddoc1007 said:
Can this be done as a zip for magldr cant do this as dont know what folders or where etc to include this asked already but no one seems to want to answer?
Click to expand...
Click to collapse
This has been answered......
jan-willem3 said:
CWM is not possible because each build is using a different build.prop
@dorimanx only issue is that some networks dont support fast dormancy. And then it will use extra battery instead of saving. Then you need to set fast dormancy rule = 0
For the rest I don't see any disadvantage of using this tweaks.
Click to expand...
Click to collapse
re:help
Then can anybody tell me what folder to put script in or what files have to b changed whefe they are or where to be added etc or a step by step guide
sounds like a valid post and thread, because i observed that as well and was wondering if it could be done
maddoc1007 said:
Then can anybody tell me what folder to put script in or what files have to b changed whefe they are or where to be added etc or a step by step guide
Click to expand...
Click to collapse
If you have to ask this you should really also be asking yourself if you want to be getting into something you don't understand. However should you choose to take the red pill then...
1. DO A FULL BACKUP IN CLOCKWORK
2. Install Root Explorer, File Expert or ES File Explorer from market (if one of the latter two enable root explorer option in settings)
3. In your chosen file explorer navigate to /system and locate build.prop
4. MAKE A BACKUP COPY OF THE BUILD.PROP and save it on your SD card somewhere.
5. Open the build.prop file and search for the lines of code in Jan's OP. If they are there then simply edit the values. If not then copy and paste the new code.
6. Save the build.prop file
7. Reboot and hold on...
in Italy the mobile networks does not support fast dormancy
is there a way to only allow UMTS on my Xperia Arc instead of HSDPA(WDCMA only in settings)? as UMTS is > 384kbit/s and HSDPA up to 7,2Mbit/s and HSDPA is draining my battery down to its limit and my phone's gettin hot.. sometimes I see a 3G symbol in the notif. bar but my connection then doesn't work.. I called the o2 service center and they told me that it's possible to get UMTS in my location.. really gettin on my nerves..-.-
thanks !
I doubt that's what's draining your battery. I know for sure some operators support FastDormancy which kicks the phone back down to 3G from HSPA when data isn't being used. Rogers in Canada does it. AT&T in the US does not support it though so my phone always sits on HSPA unless it's a really ghetto old tower.
You might want to see if modifying some of the flags in build.prop will disable HSPA (I know you can set EDGE class type for instance). You will just need root and a text editor and reboot after any modification.
and how to set umts only mate?
UMTS drains as much as HSDPA I guess or there isn't abig difference, at least for me.
I don't know how to get UMTS only...
Sent from my iPad 2 using Tapatalk
so there's no way?! because while browsing over HSDPA network my phone will drain like 10% battery in just 10 minutes and thats inacceptable for me! over 3g on 2.3.3 where i had found a way to disable hsdpa it drained like 3/4% in 10 minutes..
realfelix said:
so there's no way?! because while browsing over HSDPA network my phone will drain like 10% battery in just 10 minutes and thats inacceptable for me! over 3g on 2.3.3 where i had found a way to disable hsdpa it drained like 3/4% in 10 minutes..
Click to expand...
Click to collapse
Again that is *NOT* normal drain. Check your baseband version, I use -58 and hardly have any drain on HSPA or 3G (it's about the same), use EDGE if you want to save battery. (use latest flashtool to flash different baseband versions)
You're looking to modify build.prop or find some program that modifies it for you, you must have root to do this. I don't know the exact option in build.prop, but that's all I can help you with.
i have -58 baseband .. what's your battery life then when browsing like 10-15 mins?