[DEV] Data on HD2 (ril tweaks)

Search This thread

muchelaguito

Senior Member
Jun 16, 2010
358
4
Rochester
tweaks plus wifi calling

Quick question, I wish to have this, and also install the wifi calling on my hyperdroid; however for installation of the wifi calling app I have to perform this:

Comment or remove rild.libpath=/system/lib/libhtc_ril.so
Code:
#rild.libpath=/system/lib/libhtc_ril.so
Add
Code:
# WiFi Calling #
rild.libpath=/system/lib/librilswitch.so

...which is precisely the opposite of what is required to have these tweaks working; we need to use the libhtc_ril.so

Any workaround?
 

oopsi

Member
Mar 23, 2010
20
1

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.

Just a quick question: setting this Option to 0 will disable fast dormancy. Is this correct? Thanks.

Sent from my HTC HD2 using XDA App
 
  • Like
Reactions: speedyracer5

shorty1483

Senior Member
Jan-willem, I have one short question. I called o2 Germany Hotline and they told me that Fast Dormancy is not yet supported. So I set it in build.prop to 0. They told me also, that in few places, they are working on NCFD pilot projects.

At the moment I am in Berlin, and I recognized that my phone is in 3G mode until I begin an active data connection (e.g. Browser). At that moment the signal switches from 3G to HSDPA. After it, it goes back to 3G. Perhaps Berlin Middle is such a pilot project place.

The question I have is, why is Fast Dormancy working, when it's disabled in RIL Tweaks?
 

jan-willem3

Inactive Recognized Developer
Mar 13, 2010
1,499
810
┌┐(●_●)┌┐
Jan-willem, I have one short question. I called o2 Germany Hotline and they told me that Fast Dormancy is not yet supported. So I set it in build.prop to 0. They told me also, that in few places, they are working on NCFD pilot projects.

At the moment I am in Berlin, and I recognized that my phone is in 3G mode until I begin an active data connection (e.g. Browser). At that moment the signal switches from 3G to HSDPA. After it, it goes back to 3G. Perhaps Berlin Middle is such a pilot project place.

The question I have is, why is Fast Dormancy working, when it's disabled in RIL Tweaks?

Network Controlled Fast Dormancy (NCFD)

As you see this means that o2 can control fast dormancy. Not a strange situation because if implented properly this give an advatage for the provider as well. However I didn't know that our phones support ncfd.
 
  • Like
Reactions: codiak

jan-willem3

Inactive Recognized Developer
Mar 13, 2010
1,499
810
┌┐(●_●)┌┐
Network Controlled Fast Dormancy (NCFD)

As you see this means that o2 can control fast dormancy. Not a strange situation because if implented properly this give an advatage for the provider as well. However I didn't know that our phones support ncfd.

Edit: I guess this function works since we are using gingerbread roms wich have latest ril interface. I don't think this function is phone/radio related. Because NCFD is a new technology. Wich I don't think was supported when our phone was released but it might work because new radio's. You could test this by flashing a early winmo rom not the latest one ofcourse or an early radio.
 
Last edited:

shorty1483

Senior Member
Edit: I guess this function works since we are using gingerbread roms wich have latest ril interface. I don't think this function is phone/radio related. Because NCFD is a new technology. Wich I don't think was supported when our phone was released but it might work because new radio's. You could test this by flashing a early winmo rom not the latest one ofcourse or an early radio.

Could it perhaps also be like that because I use CLK with RIL-Wrapper?
 

jcsy

Senior Member
Jan 9, 2009
3,753
949
Land of the Z1/EVO3D/GTAB10.1(2)
Using RIL wrapper in

Hyperdroid CM7 with LCD density 240 (default)
you can change this to 160 if you wish for default , or 177 or 215 depending on your eye sight

tests prove slightly more 3G connections and optimized requests for HSDPA only when needed :)

*attached if other people wish to use it
 

Attachments

  • HyperDroidCM7buildpropRIL_240lcd.zip
    1.5 KB · Views: 56

Ty5982

Senior Member
Jan 25, 2011
2,456
1,460
Manchester
tried yourril files

hi,just an update,tried ur ril files,they work ok,had a look around and found a few more,only put them on my phone,there are some off a sensation and a desire s,since i've added these ive found alot more sattelites,dnt no if its luck or it has done the trick........could u let me no what u think.........SORRY FOR THE LONG LIST,but ive pinched a few from it but NOT ALL


1.ro.ril.ecc.VIRGIN-UK=112,999,911 ADDED THIS
2.ro.ril.ecc.HTC-ELL=92,93,94
3.ro.ril.ecc.HTC-Russia=01,02,03,04 ADDED THIS
4.ro.ril.ecc.HTC-FRA=123,911 ADDED THIS
5.ro.ril.ecc.HTC-WWE=999,999
6.ro.ril.disable.fd.plmn.prefix=23402,23410,23411
7.ro.ril.enable.sdr=0
8.ro.ril.enable.a52.HTC-ITA=1
9.ro.ril.enable.a53.HTC-ITA=1
10.ro.ril.enable.a52.VODA-Portugal=0 ADDED THIS
11.ro.ril.enable.a53.VODA-Portugal=1 ADDED THIS
12.ro.com.google.clientidbase=android-htc
13.ro.build.changelist=155070
14.ro.com.google.clientidbase=android-htc
15.ro.build.changelist=155070
16.# begin build properties
17.# autogenerated by buildinfo.sh
18.ro.build.id=ERE27
19.ro.build.display.id=ERE27
20.ro.build.version.incremental=155070
21.ro.build.version.sdk=7
22.ro.build.version.codename=REL
23.ro.build.version.release=2.1-update1
24.ro.build.date=Thu Mar 25 17:23:14 CST 2010
25.ro.build.date.utc=1269508994
26.ro.build.type=user
27.ro.build.user=root ADDED THIS (root)
28.ro.build.host=Oven-X06
29.ro.build.tags=release-keys
30.ro.product.model=HTC Desire S
31.ro.product.brand=htc_wwe
32.ro.product.name=htc_bravo
33.ro.product.device=bravo
34.ro.product.board=bravo
35.ro.product.cpu.abi=armeabi
36.ro.product.manufacturer=HTC
37.ro.product.locale.language=hdpi
38.ro.product.locale.region=
39.ro.wifi.channels=
40.ro.board.platform=qsd8k ADDED THIS
41.# ro.build.product is obsolete; use ro.product.device
42.ro.build.product=bravo
43.# Do not try to parse ro.build.description or .fingerprint
44.ro.build.description=1.15.405.4 CL155070 release-keys
45.ro.build.description=1.15.405.4 CL155070 release-keys
46.ro.build.changelist=155070
47.ro.product.ua=
48.ro.build.fingerprint=htc_wwe/htc_bravo/bravo/bravo:2.1-update1/ERE27/155070:user/release-keys
49.ro.product.version=1.15.405.4
50.keyguard.no_require_sim=1
51.# end build properties
52.#
53.# system.prop for mahimahi
54.#
55.
56.ro.sf.lcd_density=240
57.
58.rild.libpath=/system/lib/libhtc_ril.so
59.
60.# bravo RF team request
61.ro.ril.enable.dtm = 1
62.ro.ril.gprsclass = 12
63.ro.ril.hsdpa.category = 8
64.ro.ril.hsupa.category = 5
65.ro.ril.hsxpa = 2
66.
67.# Default network type.
68.# 0 => WCDMA preferred.
69.ro.telephony.default_network=0
70.
71.wifi.interface=eth0
72.wifi.supplicant_scan_interval=15
73.
74.# The OpenGL ES API level that is natively supported by this device.
75.# This is a 16.16 fixed point number
76.ro.opengles.version = 131072
77.
78.# This is a high density device with more memory, so larger vm heaps for it.
79.dalvik.vm.heapsize=32m
80.
81.# For the default value of agps
82.ro.ril.def.agps.mode = 2
83.
84.# For emmc phone storage
85.ro.phone_storage = 0
86.
87.# For HSDPA low throughput
88.ro.ril.disable.power.collapse = 1
89.
90.#Set default_france.acdb to audio_ctl driver if the ro.cid is HTC__203
91.ro.ril.enable.prl.recognition = 1
92.
93.#
94.# This file describes the media capabilities and profiles
95.# using system properties.
96.#
97.# Note: The property key and value has some length
98.# limit as defined by PROPERTY_KEY_MAX and
99.# PROPERTY_VALUE_MAX, respectively
100.#
101.# WARNING: We may not use system properties for specifying
102.# media capabilities and profiles in the future
103.#
104.ro.media.enc.file.format = 3gp,mp4
105.ro.media.enc.vid.codec = m4v,h263
106.ro.media.enc.vid.h263.width = 176,1280
107.ro.media.enc.vid.h263.height = 144,720
108.ro.media.enc.vid.h263.bps = 64000,2000000
109.ro.media.enc.vid.h263.fps = 1,30
110.ro.media.enc.vid.m4v.width = 176,1280
111.ro.media.enc.vid.m4v.height = 144,720
112.ro.media.enc.vid.m4v.bps = 64000,2000000
113.ro.media.enc.vid.m4v.fps = 1,30
114.
115.#
116.# Increase SKIA decode memory capability for progressive jpg file
117.#
118.ro.media.dec.jpeg.memcap = 20000000
119.
120.# For FOTA setting (leave empty value to use default)
121.ro.htc.checkin.url = http://andchin.htc.com/android/checkin
122.ro.htc.checkin.crashurl = http://andchin.htc.com/android/crash
123.
124.# release Bluetooth HW/SW information
125.ro.bt.chipset = Broadcom BCM4329-B1
126.ro.bt.version = Bluetooth 2.1 + EDR
127.ro.bt.stack = Broadcom BTL-A
128.ro.bt.stack.version = 2.0.47.005
129.#0x10000010010100100000011 represent bt profile list
130.ro.bt.profiles = 4270339
131.
132.
133.#
134.# ADDITIONAL_BUILD_PROPERTIES
135.#
136.ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
137.ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
138.ro.com.google.networklocation=1
139.ro.setupwizard.mode=DISABLED
140.ro.config.ringtone=Innovation.mp3
141.ro.config.notification_sound=Color.mp3
142.ro.config.alarm_alert=Light.mp3
143.ro.config.cal_notification=Vector.mp3
144.ro.config.msg_notification=Ascend.mp3
145.ro.setupwizard.mode=OPTIONAL
146.ro.com.google.clientidbase=android-htc
147.ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
148.ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
149.ro.com.google.locationfeatures=1
150.ro.setupwizard.mode=DISABLED
151.ro.com.google.gmsversion=2.1_r2
152.media.a1026.nsForVoiceRec=0
153.htc.audio.alt.enable=0
154.htc.audio.hac.enable=1
155.dalvik.vm.dexopt-flags=m=y
156.net.bt.name=Android
157.ro.config.sync=yes


ANY 1 ANY IDEAS lol...............THANKS FOR LOOKIN
 

Cutting-TM

Senior Member
Oct 13, 2007
120
14
Is it possible to change my connection so that edge is preferred and 3g is only activated when needed?
If i upload my settings, is someone there who can improve them for me and reupload? I am on Miui.

Sent from my HTC HD2 using XDA Premium App
 

shorty1483

Senior Member
Is it possible to change my connection so that edge is preferred and 3g is only activated when needed?
If i upload my settings, is someone there who can improve them for me and reupload? I am on Miui.

Sent from my HTC HD2 using XDA Premium App

Go to Dialer, then dial *#*#4636#*#* You get a menu where you can choose between 3G preferred or otherwise etc...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    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 jan-willem3@xda 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 jan-willem3@xda for HD2

    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.
    2
    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.
    2
    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

    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...

    ;)
    1
    Thanks for this Jan. So can we simply copy/paste this into our build props and reap the fruits of your labour?
    1
    Yeah I am trying to find out what the rest from the tweaks do.;)
    As soon as I got any updates I will post them on the 1 post.