Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
MathijsNL
Old
#51  
Member
Thanks Meter 4
Posts: 55
Join Date: Mar 2009
Default 2G solution

http://forum.xda-developers.com/showthread.php?t=759894

Incubus26Jc's Super FroYo 2.2 [Deodexed] [RLS14] [8/26/10]

this build allows you to enable 2g networks only

i dont know for sure if it is really using 2g network when its checked.
Anyone knows how to find this out?
 
highlandsun
Old
#52  
Recognized Developer
Thanks Meter 248
Posts: 791
Join Date: Sep 2009
Location: Los Angeles

 
DONATE TO ME
Quote:
Originally Posted by kallt_kaffe View Post
The changes I did to our libhtcgeneric-ril.so is pushed to the repo's. Both the Fresh Froyo(Look in the Vogue forums) and my CyanogenMod Eclair port (VaniljEclair RLS11) have the new libhtcgeneric-ril.so and also some added scripts to force 2G on startup (otherwise you would need to disable it everytime you reboot).

I recommend that you start with VaniljEclair RLS11. There are NBH flash images in the first post.
I found this thread while looking into some radio-related hangs on my TP2. I've merged most of your fixes into the Xdandroid tree, and also fixed a number of memory leaks along the way. You might want to look over some of my fixes as well.

http://gitorious.org/~hyc/xdandroid/..._xdandroid-ril
T-Mobile G1 / radio 2.22.28.25 / SPL 1.33.0013d / Recovery RA-dream-1.7.0 / FroyoByLazlo-4
T-Mobile TP2 (RHOD210) / radio 4.49.25.57 / WM6.5 / XDAndroid FRX06+Fixes
Verizon Droid4 / 6.16.217.XT894
 
n2rjt
Old
#53  
n2rjt's Avatar
Senior Member
Thanks Meter 41
Posts: 795
Join Date: Mar 2008
Location: San Diego, California
Quote:
Originally Posted by highlandsun View Post
I found this thread while looking into some radio-related hangs on my TP2. I've merged most of your fixes into the Xdandroid tree, and also fixed a number of memory leaks along the way. You might want to look over some of my fixes as well.

http://gitorious.org/~hyc/xdandroid/..._xdandroid-ril
Thank you. Cross-pollination is a good thing. Kallt_kaffe hasn't been around the Kaiser forums for a while, but there are still a few developers hanging around.

I have learned a thing or two from xdandroid in the past. It has been a while since I looked, though, or tried running it on my Tilt2. I will look at the RIL and see what can be merged back into the version we have been using.

Question: Have any Kaiser/Polaris/Vogue developers been doing RIL work recently, or should I consider DZO's Fresh Froyo / AOSP Gingerbread respository to contain the latest and greatest to be merged xdandroid?
XDA-Developer has helped me to maximize the life of my
HTC Wizard, HTC Kaiser, HTC Rhodium, and Google Nexus phones!
The Following User Says Thank You to n2rjt For This Useful Post: [ Click to Expand ]
 
dark_prince
Old
#54  
Senior Member
Thanks Meter 40
Posts: 602
Join Date: May 2007
Location: Islamabad
kudos to you n2rjt if you solve this thing for us. I don't have any 3G connectivity over here and would be happy to leach out extra juice from my battery. Fresh Froyo can't retain the Use 2G networks option, mine own is based on the January build of Fresh Froyo.
Ainol Novo 7 Fire 16GB
Paranoid Android 3.0+ 4.2.1 @1280 | GT-N7000 Fingerprint

Motorola Atrix 4G MB860
CyanogenMod7.2 [self fiddled]

Retired:
LG Optimus LTE U+ LU6200 (Gave up on it within 3rd week of purchase)
Motorola Defy (loved the most)
zte Blade
HTC Kaiser (HTC TyTn II)
HTC Excalibur (HTC s620)
HTC Tornado (imate SP5)
HTC Typhoon (SPV C500)
HTC Voyager (SPV E200)
 
highlandsun
Old
#55  
Recognized Developer
Thanks Meter 248
Posts: 791
Join Date: Sep 2009
Location: Los Angeles

 
DONATE TO ME
Quote:
Originally Posted by n2rjt View Post
Thank you. Cross-pollination is a good thing. Kallt_kaffe hasn't been around the Kaiser forums for a while, but there are still a few developers hanging around.

I have learned a thing or two from xdandroid in the past. It has been a while since I looked, though, or tried running it on my Tilt2. I will look at the RIL and see what can be merged back into the version we have been using.

Question: Have any Kaiser/Polaris/Vogue developers been doing RIL work recently, or should I consider DZO's Fresh Froyo / AOSP Gingerbread respository to contain the latest and greatest to be merged xdandroid?
I have no idea about any other Vogue developers; my impression from looking at their repos is not much has happened.

By the way, working on real CDMA support now. Calls and network location are working, SMS/MMS and signal strength indicators not yet.

http://forum.xda-developers.com/showthread.php?t=1009112
T-Mobile G1 / radio 2.22.28.25 / SPL 1.33.0013d / Recovery RA-dream-1.7.0 / FroyoByLazlo-4
T-Mobile TP2 (RHOD210) / radio 4.49.25.57 / WM6.5 / XDAndroid FRX06+Fixes
Verizon Droid4 / 6.16.217.XT894
 
IcemanSR
Old
#56  
IcemanSR's Avatar
Member
Thanks Meter 11
Posts: 47
Join Date: Jun 2012
Location: Sombor
I am sorry to necro this thread.
I see fixes for froyo and eclair,but is there a working fix for CM7?
cause it has same problem.Stupid only use 2g network won't stick after rebooting phone.
 
PoXFreak
Old
#57  
PoXFreak's Avatar
Senior Member
Thanks Meter 790
Posts: 937
Join Date: Jan 2011
Location: Apex NC

 
DONATE TO ME
n2, why not implement build.prop changes in /system that only allow android to use 2G? I have done quite a bit of research on telephony connectivity in the Infuse 4G forums and I would assume it's the same across all Android platforms.
I would suggest...

ro.ril.hsxpa=1 (1=UMTS/GPRS [2G], 2=HSXPA [3G]) Just remember that the EDGE network is a form of GPRS, therefore it has a specific value for setting 3G services.
ro.ril.gprsclass=6 (or less as 7 and above is specifically 3G). See this for more info.

There are other ril implements to use, but this is a start.
Also, there are APN configurations that restrict data speeds as well.
Is this for a HaReT install, or NAND?
Development device (still running strong)
AT&T Tilt/HTC Kaiser 160
Radio-1.71.09.01
Fresh Froyo 8/29/11
Scoot's 2.6.32.9 N50Vc Kernel
Daily device
Samsung SGH-i997 Infuse 4G, Some form of CM10.1

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more