4G Radio Network Type - EVO 4G Android Development

I use a program called Tasker which is awesome and the developer is trying to add the functionality to turn on and off the 4G radio. Does anyone know the network type?
Here is his question:
Here's what we have in the SDK:
int NETWORK_TYPE_1xRTT Current network is 1xRTT
int NETWORK_TYPE_CDMA Current network is CDMA: Either IS95A or IS95B
int NETWORK_TYPE_EDGE Current network is EDGE
int NETWORK_TYPE_EVDO_0 Current network is EVDO revision 0
int NETWORK_TYPE_EVDO_A Current network is EVDO revision A
int NETWORK_TYPE_GPRS Current network is GPRS
int NETWORK_TYPE_HSDPA Current network is HSDPA
int NETWORK_TYPE_HSPA Current network is HSPA
int NETWORK_TYPE_HSUPA Current network is HSUPA
int NETWORK_TYPE_IDEN Current network is iDen
int NETWORK_TYPE_UMTS Current network is UMTS
Here's my current categorization:
// 2G
case TelephonyManager.NETWORK_TYPE_UNKNOWN:
case TelephonyManager.NETWORK_TYPE_GPRS:
case TelephonyManager.NETWORK_TYPE_EDGE:
case Keys.Android.NETWORK_TYPE_CDMA:
net = StateTaskerContext.NET_TYPE_2G;
break;
// 3G HSPA
case Keys.Android.NETWORK_TYPE_HSDPA:
case Keys.Android.NETWORK_TYPE_HSPA:
case Keys.Android.NETWORK_TYPE_HSUPA:
net = StateTaskerContext.NET_TYPE_3G_HSPA;
break;
// 3G
default:
net = StateTaskerContext.NET_TYPE_3G;
I can add 4G, but what's the network type ? Anyone know what IDEN is ?

iDen is PTT networks like Nextel etc.
I recommend you check out the Sprint developer docs on the Evo. They show some stuff on 4G connectivity there. They are here.
It has what you need for WiMax

iDen is a protocol for digital walkie talkie.

Related

Build.Prop wiki

I have searched all over, but have yet to find it.
Is there a general build.prop wiki somewhere. which could show a listing of avalibles variables and values. something like:
Code:
ro.sf.lcd_density = n
n = [Integer] Numeric value in DPI corrisponding to screen pixels per inch
ro.telephony.default_network
0 = WCDMA Perfered
1 = GSM Only
2 = WCDMA Only
3 = GSM/WCDMA (auto mode, according to PRL)
4 = CDMA / EVDO. Perfered
ro.setupwizard.mode
OPTIONAL = Allow bypass of first start setup
DISABLED = Do not show setup on first start
etc..

[Q] Option to use only 3G (umts) and NOT 3.5G (hspda)

my data plan only use 3g (umts) and not 3.5g (hsdpa)... but my android always switch 3g to and looking for hsdpa back and forth and drain battery much faster
when umts change to hspda (icon change from 3g to H) then it use battery power.. in my case i use 3g (umts and not 3.5g or hspda ) data plan only... but android keep searching hspda signal and THIS is when battery used the most (the process) and EVEN when my area have 3.5g covered but because i use 3g only data plan... then the back and forth process (3g<->H) will kep coming and drain my battery fast
so... i look for any kind of workaround so our android keep stay in 3g (umts) and not drain any unnecessary battery power searching for hspda
maybe android "thinks" 3g/umts and 3.5/hspda as the same?? android categorize umts and hspda as one big fat 3G network
i wonder why newer os like android doesnt have this kind of feature in winmo there is an option :
disable hspa = so hspda disabled.. AKA 2G or UMTS only
enable hspa = enabled hspda, hspa, hsupa etc.. AKA 2G, UMTS and HSPDA
is there any tweak/program/widget/application that can enable 3g (umts) only?
i think it is settings>wireless networks> network mode> GSM
if not try *#*#4636#*#*
go to phone information and you can select preferred network type.
If this helps press thanks!
uhh i have tried that before (and choose wcdma only aka 3g only).. and no luck
reason like i sadi before android "thinks" 3g/umts and 3.5/hspda as the same, android categorize umts and hspda as one big fat 3G network...
so 3G in android is umts+hsdpa, while i want umts only
To get 3G UMTS only
Firstly make sure your device is rooted.
Download Root Explorer, if you don't have
Go to your system folder
Mount it as read and write (r/w)
Find Build.prop
Select and Hold it, and the options will appear
Select the open with button
Select the text editor
Scroll down to find ro.ril.hsxpa=1
Change the number to your desire network (0 or 5 = UMTS , 1 = HSDPA only, 2 = HSDPA & HSUPA)
For your case change it to 5 and it should be like this ro.ril.hsxpa=5
Save it
Then reboot
Now it should be running 3G instead of H
This worked for my HTC Desire HD
don't work for me.
In ro.ril.hsxpa=X, I have written x=0 and I'm still leaving a H
Using Xperia Mini Pro (sk17i)

3G USB modem, all commands.....

ZTE AT-commands
disable/enable flash cd-drive
AT+ZCDRUN=8 disable
AT+ZCDRUN=9 enable
stay online
AT+ZOPRT=5
check net-/SIMlock
AT+ZSEC?
answer: <SEC_STATUE>,<SEC_ITEMS>
< SEC_STATUE >:
0 Initializing the encryption (Insignificant SEC_ITEMS)
1 Network Lock error. (Insignificant SEC_ITEMS)
2 Network Locked
3 Unlocked or correct MCC/MNC
<SEC_ITEMS>:
0 No action
1 Network lock
2 (U)SIM card lock
3 Network Lock and (U)SIM card Lock
Unlock
+ZNCK="unlock-code"
+ZNCK?
Unlock residual time 0-5
Report signal strength +ZRSSI
Syntax
+ZRSSI parameter command syntax
Command Possible response(s)
+ZRSSI <CR><LF>+ZRSSI:<rssi>,<ecio>,<rscp><CR><LF><CR><LF>
OK<CR><LF>
<CR><LF>+CME ERROR: <err><CR><LF>
Description
This command is used to report signal strength.. Notice the command is used only in platform
6290 and 6246.
Defined values
3G network(registered to 3G network)
+ZRSSI: rssi,ecio,rscp
The unit of Rscp is 0.5dbm ( in 0.5 dBm step with no sign).
The unit of Ecio is 0.5db ( in 0.5 dB step with no sign).
The relation is: 2*rssi=rscp-ecio
e.g.
+ZRSSI: 49,8,106
Rssidbm = -rssi = -49dbm
Eciodb = -ecio/2= -4db
Rscpdbm = - rscp /2= -53dbm
2G network(there is no ecio and rscp value when registered in 2G network ,so set
value of 1000)
e.g.
+ZRSSI: rssi,1000,1000
No network e.g.
+ZRSSI :OK
Notice! the command is used only in platform 6290 and 6246.
Set Operational Mode
AT+ZSNT=0,0,0 (Auto) - Default
AT+ZSNT=1,0,0 GPRS Only
AT+ZSNT=2,0,0 3G Only
AT+ZSNT=0,0,1 GPRS Preferred
AT+ZSNT=0,0,2 3G Preferred
Query Operational Mode
AT+ZPAS?
<CR><LF>+ZPAS:<network>,<srv_domain><CR><LF>OK<CR><LF>
<network>: the type of current network
No Service
Limited Service
GPRS
GSM
UMTS
EDGE
HSDPA
<srv_domain>: service domain
CS_ONLY: CS domain service available.
PS_ONLY: PS domain service available.
CS_PS: CS&PS domain service available.
CAMPED: camped in a cell.
example
Command: AT+ZPAS?
Response: +ZPAS: "GPRS","CS_PS"
OK
Set Band Status +ZBANDI
at+zbandi=0 • Automatic (Auto) - Default
at+zbandi=1 • UMTS 850 + GSM 900/1800
at+zbandi=2 • UMTS 2100 + GSM 900/1800 (Europe)
at+zbandi=3 • UMTS 850/2100 + GSM 900/1800
at+zbandi=4 • UMTS 850/1900 + GSM 850/1900
Notice! the command is used only in platform 6290 and 6246.
HUAWEI MODEM
AT
OK
ATX
OK
ATI
OK
AT^U2DIAG=0
OK
Unlock
+ZNCK="unlock-code"
+ZNCK?
Unlock residual time 0-5
Click to expand...
Click to collapse
This is for PIN code? I do not remember and I have two attempts.

[Q] Preferred Data Connection Settings

I came across a build.prop tweak for preferred data connection
Code:
ro.telephony.default_network=
0 = WCDMA Preferred
1 = GSM Only
2 = WCDMA Only
3 = GSM/WCDMA (auto mode, according to PRL)
4 = CDMA / EVDO. Preferred
I have a Nexus S 4G CDMA Sprint version and im wondering if I should set it to choice 4 or to choice 2. Whats do you guys have?
Discuss
Mine is set to GSM only. Mine always defaults to GSM only now for some reason. It used to stay on option 3. Not that there was any difference. Just try both out and see what happens.
Sent by pocket technology.

[Q] issue with network type

hi guys i have huawei g630-u20 and i use it in iran.
my problem is switching between 2G or 3G network type.
my phone dont have network type option in settings and my phone dosen't support this code(*#*#4636#*#*) to accses phone managment.
i manually search network and select my 2G carrier network but my phone change it again to the 3G network, i think my phone is basically set on 3G/2G (prefrred WCDMA) network type.
what can i do to swith my network to set my network on only 2G network or 3G network?!
can anybody help me?!
Try to modify buil.prop with
ro.telephony.default_network=x
0 = WCDMA Perfered
1 = GSM Only
2 = WCDMA Only
3 = GSM/WCDMA (auto mode, according to PRL)
4 = CDMA / EVDO. Perfered
tnx buddy.
i must root my device for this work?!
cyrus-king said:
tnx buddy.
i must root my device for this work?!
Click to expand...
Click to collapse
Yes)

Categories

Resources