Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,477 Members 41,193 Now Online
XDA Developers Android and Mobile Development Forum

[HACK] Adding codes lines to build.prop in Froyo

Tip us?
 
mtw4991
Old
#1  
mtw4991's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 2,242
Join Date: Mar 2010
Location: Orlando, FL
Default [HACK] Adding codes lines to build.prop in Froyo

Originally Posted by stampere
you can edit the build.prop by
adb pull /system/build.prop c:\where\you\want\to\put\it\
open with wordpad and add the following lines


ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5

save the file

adb remount
adb push c:\where\you\want\to\put\it\build.prop /system/

reboot so that the settings take effect
__________________________________________________ ______________

Stampere suggested this over in Paul's thread with no replys. The hxspa and gprsclass are not included in the Froyo build.prop anywhere I can see. They were included in CM 5.0.6.

Has anyone added these to Froyo and do they help or are they unnecessary and will conflict with the new Froyo 4.0.6 radio build?
GOOGLE NEXUS 5
Euroskank CM 11 Skankify ALL the thingz!

http://www.twitter.com/mtw4991

My favorite quote from Fitsnugly:
Quote:
Good morning to all the little people living in my phone
If I've helped you, please hit the "Thanks" button
 
Imperial.mack
Old
#2  
Senior Member
Thanks Meter 4
Posts: 255
Join Date: Jul 2009
I added the first two and it helped a lil....wondering the same thing tho....
 
damentz
Old
#3  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Apr 2010
Are you sure all those options are still relevant? My froyo image has none of these and performs well. I can get higher throughput by adding

Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=12
But the rest are largely undocumented and should remain at default unless someone can prove what they do.

The biggest issue is the radio. With Froyo, my 3g disconnection issues are GONE, so now we can focus on latency and throughput.
 
mtw4991
Old
#4  
mtw4991's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 2,242
Join Date: Mar 2010
Location: Orlando, FL
Quote:
Originally Posted by damentz View Post
Are you sure all those options are still relevant? My froyo image has none of these and performs well. I can get higher throughput by adding

Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=12
But the rest are largely undocumented and should remain at default unless someone can prove what they do.

The biggest issue is the radio. With Froyo, my 3g disconnection issues are GONE, so now we can focus on latency and throughput.
This is my point exactly. While I'm still getting some Edge flipping on Froyo radio in weak signal areas like work building, if the throughput is higher then why not add it? I don't think it can hurt anything

The rest are "relatively" undocumented as Cyanogen said he didn't know what they did, therefore he wasn't going to mess with them. My 2 thoughts were:
(1) If throughput were increased, would power consumption decrease as data would be transmitted and completed faster...or
(2) Would adding additional code lines conflict with the current image somehow as they were obviously left out on purpose?
GOOGLE NEXUS 5
Euroskank CM 11 Skankify ALL the thingz!

http://www.twitter.com/mtw4991

My favorite quote from Fitsnugly:
Quote:
Good morning to all the little people living in my phone
If I've helped you, please hit the "Thanks" button
 
prscott1
Old
#5  
prscott1's Avatar
Senior Member
Thanks Meter 21
Posts: 798
Join Date: Nov 2007
Location: Houston
Since this has been confirmed as a test build, perhaps some of these other properties will show up in the official build?

I too have better connection with the froyo radio - but weak throughput. I'll research and try some of these and report back if I find anything positive.
 
mtw4991
Old
#6  
mtw4991's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 2,242
Join Date: Mar 2010
Location: Orlando, FL
Quote:
Originally Posted by prscott1 View Post
Since this has been confirmed as a test build, perhaps some of these other properties will show up in the official build?

I too have better connection with the froyo radio - but weak throughput. I'll research and try some of these and report back if I find anything positive.
I added the hsxpa and gprsclass entries to my build.prop and will test also when I get out of work into a 3g environment, lol. I had modded this in CM 5.0.6 and played with hsxpa settings of 1 and 2. 1, I believe is WCDMA preferred and 2 is universal or something like that...
GOOGLE NEXUS 5
Euroskank CM 11 Skankify ALL the thingz!

http://www.twitter.com/mtw4991

My favorite quote from Fitsnugly:
Quote:
Good morning to all the little people living in my phone
If I've helped you, please hit the "Thanks" button
 
themetatron
Old
(Last edited by themetatron; 29th May 2010 at 03:39 AM.) Reason: add hsupa wiki
#7  
themetatron's Avatar
Senior Member
Thanks Meter 40
Posts: 306
Join Date: Oct 2009
Location: SLOcala, FL
my only question would be are these changes necessary, or does the device already have the settings hard coded. as in, did the carriers add these lines to some devices to level the field between the power users and the casual user.

need at least class 14 hsdpa to access tmo hspa+ 21.1 mbps

http://en.wikipedia.org/wiki/High-Sp..._Packet_Access

http://en.wikipedia.org/wiki/High-Sp..._Packet_Access
GPE S4
ROM: euroskank cm11 nightlies jflte
RECOVERY: CWMR 6.0.5.0 jflte
BASEBAND: I9505GUEUCNF3
BOOTLOADER: I9505GUEUCNF3

 
Daddyroot
Old
(Last edited by Daddyroot; 29th July 2010 at 01:38 AM.) Reason: new discovery through testing!
#8  
Member
Thanks Meter 10
Posts: 44
Join Date: Feb 2009
Location: Madison, Alabama
Just Google hsdpa, hsupa, hsxpa
You need to choose the appropriate category for your local network.
I forget which is which but the category number is representative of the download/upload speeds you are capable of while on edge, 3g, beyond 3g, hsdpa.
For me, T-Mobile in Madison, Alabama,
GPRS= category 32
Hsdpa= category 14 (this doubled my speed on mobile speedtest.com!)
Hsupa= category 7
Hsxpa= category 2
I always add these to my build.prop and yes its because when I first saw them in one of Paul's desire roms, I googled each of them and tested and I can definitely tell the difference.
Good luck

Want free 2gb dropbox?
Use this link. https://www.dropbox.com/referrals/NTczOTM2MTY5
 
Imperial.mack
Old
#9  
Senior Member
Thanks Meter 4
Posts: 255
Join Date: Jul 2009
Quote:
Originally Posted by Daddyroot View Post
Just Google hsdpa, hsupa, hsxpa
You need to choose the appropriate category for your local network.
I forget which is which but the category number is representative of the download/upload speeds you are capable of while on edge, 3g, beyond 3g, hsdpa.
For me, T-Mobile in Madison, Alabama,
GPRS= category 32
Hsdpa= category 8
Hsupa= category 7
Hsxpa= category 2

I always add these to my build.prop and yes its because when I first saw them in one of Paul's desire roms, I googled each of them and tested and I can definitely tell the difference.
Good luck

Want free 2gb dropbox?
Use this link. https://www.dropbox.com/referrals/NTczOTM2MTY5
definitely got faster UL and DL speeds with the text I bolded
 
rjhay22
Old
#10  
rjhay22's Avatar
Senior Member
Thanks Meter 173
Posts: 1,560
Join Date: Dec 2009
Location: Torrance. California

 
DONATE TO ME
Interesting... not sure itll be a good idea or even make a difference but Ill give this a try and report back my findings... If I may add though, an easier way to edit would be through root explorer app from market.
LIST/Instructions- Apps and Threads for customization

[Icons]Mirror / 3D Illuminate / Illuminate

[Icons]Sphere and Buuf style icons

[Icons][Icons]My Icon Pack Compilation 03.08.11

[MOD]Change UNLOCK and LOCK sounds 2.12.11


- LG G2X - Rooted
- MyTouch 4g

- ROM: RoyalMiui (Best ROM)

I count him braver, he who conquers his EGO than he who conquers his ENEMIES... For the greatest victory is victory over ones SELF.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes