Related
Im a new nexus s owner, and produ of it. i did notice that my phone wouldnt switch from umts to hspa during a large data load (heavy browsing, youtube, speedtest).
Im running the latest nightly (cm7 36 i think) and the awesome vmax bionix kernel (i miss linda the robotic voice from my vibrant days, cmon team whiskey bring her back man!)
Anyways, i decided to take a peek at the build.prop file and i noticed it was missing a few things.
I added a few things, and although your mileage may vary; i was finally able to hit 4-5mb download speeds about 60% of the time with a beastly 2mb upload speed. before this mod i was hitting 1.5-2.2mb download and about 600-800mb upload.
just
adb pull /system/build.prop
open the build file with a text editor and add these lined of code:
(just copy and paste)
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=6
Then save the file. Type in the following two lines:
adb remount (hit enter)
adb push build.prop /system/build.prop
this also fixed the bloody crashing market too btw!!!!!
go ahead and reboot. i had to reboot two times btw, dunno why but it didnt work right at first.
please go ahead and post your before and after results!
MOD; if this is posted in the wrong section please accept my apologize and feel free to move into another section; thnx
ima try it now
Stock
Hi. Would this work on Stock rom do you think? Regards Andy
murdoch1 said:
Hi. Would this work on Stock rom do you think? Regards Andy
Click to expand...
Click to collapse
Honestly I don't know. Pull the build.prop. if it's missing these values then go for it. Plz post before and after!
Testing now also. Used root explorer to change not at computer to push at the moment to push
hehehe... that setup made my data speed worse. maxed out at 800kbps
i deleted all but the first two lines, then changed the second line to..
ro.ril.hsxpa=2
ro.ril.gprsclass=10
Click to expand...
Click to collapse
and then data speed was improved
These added lines where in the original cm7 alpha build.prop. i have a little speed increase with 3 & 12
jerrycycle said:
These added lines where in the original cm7 alpha build.prop. i have a little speed increase with 3 & 12
Click to expand...
Click to collapse
I heard, sadly they're gone now
Tried gprs 10 but got slower speeds. Went back to 12
I just tried the OP's settings on my Nexus One and they did make a difference. I'm usually around 1.x down but I just pulled 2.5-2.7 mbps in multiple tests.
Up speeds are a bit faster but not by much.
Using CM7 nightly build 38.
Thanks for this... Could someone please explain what the different settings mean...I am having this issue where sometimes (even though I have full reception) when people phone it goes straight through to voicemail and i have a feeling its to do with the internet on the phone, so perhaps fiddling with the above settings may help solve my problem...
Thanks in advance
I also changed the second line back to =10 not 12. I also left all the other lines of text. Speed has gone from 1.5 down and 648 up to 4.5 down and 2.5 up. Thanx a bunch.
Sent from my Nexus S using XDA App
Holy crap I'm now getting (in average) 3.5 down whereas I used to get 2.5. Thanks!
I added the first 2 lines of text.
Changed the 12 to 10.
Went from 1.8 to 2.5 down ( average) Up went from 1.5 to 2.5 ( Average)
Top speed went from 2mbps to 3 down.
now trying the config.
ro.ril.hsxpa=2
ro.ril.gprsclass=12
Wow! 3.6 mbps down!
Average around 3 down
up stayed around the same as before. topping out at 2.5.
is there a specific spot I have to put this in? or can I just put it at the very end?
edit: I put it at the end and it worked. was averaging 3.4 down and 1.75 up before. I'm still getting the same upload speeds but that doesn't really bother me. I am however getting about a 4.5 average for download now! thanks for the tip! im on stock 2.3.2 by the way.
Sent from my Nexus S using XDA App
seems like its working, will have to test for a couple more days but its looking good so far.
why is this in Q&A? not sure. thanks for the bump
Is there an explanation somewhere (even link to the source?) about these parameters?
I am constantly being 3g disconnected but I don't remember that happening to my previous phone (HTC Magic) with the same provider. Maybe I need to pull out both build.prop and compare.
ykphuah said:
Is there an explanation somewhere (even link to the source?) about these parameters?
Click to expand...
Click to collapse
I found quite a bit of threads with just a quick google search. This seems to be the most specific/thorough, from the cyanogen forums. What's interesting is that the thread there says the guy found it on xda, but no link, and I didn't see it here, but I didn't look that hard:
There are many ro.ril parameters which I found from /system/lib/libhtc_ril.so:
ro.ril.a53.%s (gprs encryption algorithm)
ro.ril.ecc.%s
ro.ril.def.agps.mode.%s (network assisted gps)
ro.ril.def.agps.feature.%s (network assisted gps)
ro.ril.def.agps.mode (network assisted gps)
ro.ril.def.agps.feature (network assisted gps)
ro.ril.oem.ecclist (emergency call codes)
ro.ril.oem.nosim.ecclist (emergency call codes)
ro.ril.gprsclass (http://www.cellular-...g_schemes.shtml)
ro.ril.hsdpa.category
#ro.ril.hsdpa.category :
# Cat 1 = 1.2 Mbit/s
# Cat 2 = 1.2 Mbit/s
# Cat 3 = 1.8 Mbit/s
# Cat 4 = 1.8 Mbit/s
# Cat 5 = 3.6 Mbit/s
# Cat 6 = 3.6 Mbit/s
# Cat 7 = 7.2 Mbit/s
# Cat 8 = 7.2 Mbit/s
# Cat 9 = 10.1 Mbit/s
# Cat 10 = 14.0 Mbit/s
# Cat 11 = 0.9 Mbit/s
# Cat 12 = 1.8 Mbit/s
# Cat 13 = 17.6 Mbit/s
# Cat 14 = 21.1 Mbit/s
# Cat 15 = 23.4 Mbit/s
# Cat 16 = 27.9 Mbit/s
# Cat 19 = 35.3 Mbit/s
# Cat 20 = 42.2 Mbit/s
# Cat 21 = 23.4 Mbit/s
# Cat 22 = 27.9 Mbit/s
# Cat 23 = 35.3 Mbit/s
# Cat 24 = 42.2 Mbit/s
# Cat 25 = 46.8 Mbit/s
# Cat 26 = 55.9 Mbit/s
# Cat 27 = 70.6 Mbit/s
# Cat 28 = 84.4 Mbit/s
ro.ril.hsupa.category
#ro.ril.hsupa.category :
# Cat 1 = 0.73 Mbit/s
# Cat 2 = 1.46 Mbit/s
# Cat 3 = 1.46 Mbit/s
# Cat 4 = 2.93 Mbit/s
# Cat 5 = 2.00 Mbit/s
# Cat 6 = 5.76 Mbit/s
# Cat 7 = 11.5 Mbit/s
ro.ril.hsxpa
ro.ril.enable.nitz (network informed time zone)
ro.ril.enable.network_identify
ro.ril.enable.dtm (Dual Transfer Mode)(ro.ril.enable.dtm : Only set this to 1 if your network allows simultaneous transfer of Circuit switched (CS) voice and Packet switched (PS) data over the same radio channel (ARFCN).
qos (quality of service)
ro.ril.qos.maxpdps
ro.ril.qos.traffic.class
ro.ril.qos.max.ul
ro.ril.qos.max.dl
ro.ril.qos.guarantee.ul
ro.ril.qos.guarantee.dl
ro.ril.qos.delivery.order
ro.ril.qos.max.sdu
ro.ril.qos.delivery.err.sdu
ro.ril.qos.transfer.delay
ro.ril.qos.traffic.priority
ro.ril.always.laccid
ro.ril.fast.dormancy.rule
ro.ril.fd.scron.timeout
ro.ril.fd.scroff.timeout
ro.ril.fast.dormancy.plmn
ro.ril.enable.3g.prefix (=1 shows "3g" on lock screen next to network name, =0 does not)
ro.ril.3g.long.name
ro.ril.htcmaskw1.bitmask
ro.ril.htcmaskw1
ro.ril.enable.homezone
ro.ril.enable.vt
ro.ril.enable.regucid
ro.ril.enable.hsdpaind
ro.ril.enable.a52
ro.ril.enable.a53
ro.ril.enable.dcm.feature
ro.ril.enhance.htcdis
ro.ril.enable.tim.feature
ro.ril.enable.korea.stk (Korean Sim Tool Kit)
ro.ril.enable.hsupaind
ro.ril.enable.gea3 (gsm security algorithm)
ro.ril.enable.managed.roaming
ro.ril.enable.enhance.search
ro.ril.disable.mcc.filter
ro.ril.search.first.pnn
ro.ril.enable.ncell.ind (neighboring cell)
ro.ril.enable.enhance.nws
ro.ril.radio.svn
ro.ril.wp.feature
ro.ril.emc.mode
ro.ril.ucsq.mode
ro.ril.disable.power.collapse (said to be an ultra-low power state when phone is in idle, saving battery) (so does =1 mean "yes, please disable the power collapse mode", and =0 mean "oh, please leave power collapse mode on")
ro.ril.enable.cnap (Caller Name Presentation)
I would like to compile a list of what these all mean, I know what a few are (ecc=emergency calling codes)(agps=assisted gps), but some are just impossible to search/find meanings for. If anyone knows of a list of meanings for these, please post it. Otherwise, throw in your answers, and i'll add it tho this list.
Also, the numerical options one can use next to each, ie., 0=off, 1=on, and so forth.
Click to expand...
Click to collapse
Im tried this running on the stock 3.2.3 never modified. I did see a bump from about 2 to 5 down but only for the fist 2 or 3 min or so because the internet just stopped working and the phone would freez on me. i copied the original file back and the phone worked perfect again but i went back to about 2 down. i then tried changing the 2nd line from 12 to 10 and the down speed jumped from 2 to about 4 but again only for the first 2 or 3 min and the phone started freezing again... the upload speed didn't go over 200mb on either by the way... i followed the steps one by one and did everything right... has anyone else had this problem and if yes have you found a fix???
I tried the ro.ril.gprsclass=10 and 12 and I don't really notice any difference. I think reception sucks in general in a 30+ floor building at work and when I'm home, I seem to be in a crappy reception area too. My reception dbm is usually -90 to -97 and ASU 8-10. I never really see my UMTS change to HSDPA even after the change.
didnt not work for me only thing happen was that i lost the signal
I'm asking because sometimes with AOSP roms the GPS "fix" can get screwed up and not work. Due somehow to the 'gps.conf" file missing appropriate data.
for instance here is mine:
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST-supl.google.com
SUPL_PORT=7276
C2K_HOST=default
C2K_PORT=0
↑↑ everything looks correct to me and I run cm7 ↑↑
weird though... i've tried the "Faster Reboot / Faster Fix" method to try and fix the GPS, tried using that "GPS Status" app also.. and finally tried wiping everything, installing Synergy, getting a lock, then wiping again & re-installing CM7 but Maps still will not show my location. Although 'Navigation' does... hmmm...
voxigenboy said:
weird though... i've tried the "Faster Reboot / Faster Fix" method to try and fix the GPS, tried using that "GPS Status" app also.. and finally tried wiping everything, installing Synergy, getting a lock, then wiping again & re-installing CM7 but Maps still will not show my location. Although 'Navigation' does... hmmm...
Click to expand...
Click to collapse
I've seen people change north-america to us, but I never saw a difference. I think that would be more limiting anyways, especially if you live closer to the border.
yareally said:
I've seen people change north-america to us, but I never saw a difference. I think that would be more limiting anyways, especially if you live closer to the border.
Click to expand...
Click to collapse
Heh. I've tried changing it to ' us ' also but that didn't help any. I'm assuming that perhaps this file is not configured correctly as a friend has a MyTouch 4G / CM7 and hers shows some sort of SUPL line and specifies a t mobile site. I am wondering if there is a Verizon URL that needs to be added anywhere
if you tell me where the file is I will post it.
Running synergy 8.22 nightly,
Here's my complete file:
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
C2K_HOST=default
C2K_PORT=0
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
## Intermediate positioning, reduces accuracy, increases speed
INTERMEDIATE_POS=1
## Enables network positioning before you get a gps fix
ENABLE_WIPER=1
## Accuracy threshold for intermediate positioning
## 0 for no threshold causes 'Skipton bug'
ACCURACY_THRES=5000
### AGPS SETTINGS ###
## Use Google AGPS server
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_SECURE_PORT=7275
DEFAULT_AGPS_ENABLE=TRUE
courtesy of my bolt and Tapatalk
ILMF said:
Running synergy 8.22 nightly,
Here's my complete file:
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
C2K_HOST=default
C2K_PORT=0
Click to expand...
Click to collapse
just wanted to say,
******* THAT IS THE FIX FOR AOSP ROMS' GPS *******
match that up exactly if you have any AOSP with a non working GPS and it fixes it.
thanks!
I live in portland, oregon and for whatever reason, have never been able to get a consistent lock when using navigation in google maps. Tried changing to Spirent and then to LG gps servers, changing modes between standalone and ms-based and ms-assisted, and any improvements I got seemed to be fleeting or fitful at best. Then I found out how easy it was to add google's servers to that list and have been getting rapid (pretty much immediate) location locks and much better gps functionality ever since.. If you haven't already, here's how you add google's gps servers to the list in your g2x hidden menu:
open your phone dialer and dial 1809#*999#
Select GPS Test on the following menu
Select System Settings
Select SUPL Setting
Select SLP Server Setting
Press your menu button and then select add
Name it whatever you'd like
slp address: supl.google.com
Port: 7275 or 7276
For certification file I just put in: /data/data/SUPL/googlesupl.dat
Check the TLS box.
Click menu then save.
I also have use XTRAS and Use extended CONF file boxes selected..
For operation mode I have used standalone and ms-based with similar results, which is to say much better performance than on either tmobile or spirent's slp servers. To change operation mode, go to get position, then hit menu button and then select settings and you'll see it there.
Now test by choosing get position, and if it works for you like it did for me, INSTANT LOCKS AND AWESOME GPS FUNCTIONALITY!
hope this helps some of you out there.
frescoraja said:
open your phone dialer and dial 1809#*999#
Click to expand...
Click to collapse
That code doesn't work for me. Phone just sits there forever saying "USSD code running" after I enter the code and press the "call" button.
I thought those codes usually started running whatever program they call right after you enter the last digit (i.e. you don't have to press the call button).
lannister80 said:
That code doesn't work for me. Phone just sits there forever saying "USSD code running" after I enter the code and press the "call" button.
I thought those codes usually started running whatever program they call right after you enter the last digit (i.e. you don't have to press the call button).
Click to expand...
Click to collapse
That code only works on stock roms and stock-based roms with the LG framework still in place.
Which rom are you running?
Same issue for me. I'm running eagles blood 1.08. GPS is working right now. Figured adding another server can't hurt in case it stops working later...
For non-stock roms (or any rom for that matter) you can just open up gps.conf in /system/etc with Root Explorer and add it manually. It will be obvious where to add a new supl server.
It's one of those days where the obvious eludes me.. Here's what mine says and where do I put it?:
NTP_SERVER=xtra1.gpsonextra.net
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_PORT=7275
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=7275
################################
# EXTRA SETTINGS
################################
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
Real easy with MIUI. Settings > GPS config... edit settings. New trick I learned today.
Honestly... didn't notice a difference.
LG G2x - 2.3.5 MIUI Love
Asus TF - Custom 3.2
Wow, I didn't know there is a hidden menu for that. I flash my setting through a .zip file to change the settings. Nice post.
Posted a few days ago...
http://forum.xda-developers.com/showthread.php?t=1222022
deleted by jb
For me it's telling me gps.conf cannot be changed because the file system is read-only.
:/ how can i change that?
never mind... i saww mount r/w on the top right of root explorer and then a light bulb went off in my head... thx again guys It's still slow, so i'm rebooting the phone.
Still slow... gonna mess with it more tomorrow...
broncosman said:
For me it's telling me gps.conf cannot be changed because the file system is read-only.
:/ how can i change that?
Click to expand...
Click to collapse
If you are rooted, you have to enable the option of RW (read write).
If you are not rooted, I'm not sure what options you have.
gps worked before but was sluggish compared to now. this increased both inital lock times and following lock times and improved location. simply edit the cfg if your in canada. idk which supl server takes priority if you simply add another through the menu. takes only 5 seconds to root the phone/edit the file.
Phenomenal
SAWEET!!!!....Works like a charm. This was the last thing that I had any issues with and they weren't huge. This now makes this the best phone I have owned. Iphone4 doesn't compare. Thanks OP!
Been using GPS ALL FRICKIN DAY!
Phenomenal with this fix. Instant locates very accurate and working with all apps that use GPS.
Now if I could find the tele-nav files to use on Warrior thus would be rocking!
Sent from my intergalactic space modulator using XDA app
When I check the "Use Extended Conf File" and "Use XTRAS" both are not checked once I leave the Hidden Menu and go back in. Any ideas on that?
i dont know about you guys but i didnt see any different with this running cm7 122!
i did this without the dialer code because its only for stock roms
my gps only tells me an 100% where i am if i have wifi on.. thats with google maps.
i did this and no changes and my navigation takes for ever looking for gps!
gypsy214 said:
i dont know about you guys but i didnt see any different with this running cm7 122!
i did this without the dialer code because its only for stock roms
my gps only tells me an 100% where i am if i have wifi on.. thats with google maps.
i did this and no changes and my navigation takes for ever looking for gps!
Click to expand...
Click to collapse
It works flawlessly for me without Wi-Fi on. It's kind of hard to get a Wi-Fi hot spot driving down the
freeway at 75 MPH.
Sent from my intergalactic space modulator using XDA app
gypsy214 said:
i dont know about you guys but i didnt see any different with this running cm7 122!
i did this without the dialer code because its only for stock roms
my gps only tells me an 100% where i am if i have wifi on.. thats with google maps.
i did this and no changes and my navigation takes for ever looking for gps!
Click to expand...
Click to collapse
Same here! I've tried everything...i get instant locks with froyo but it takes forever to get a lock on all custom roms.
Sent from my LG-P999 using XDA App
AriaNoob said:
Same here! I've tried everything...i get instant locks with froyo but it takes forever to get a lock on all custom roms.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Try it using the dialer code. I'm using Weapon for my ROM and it works better than it did with stock.
Sent from my intergalactic space modulator using XDA app
To all the Note 3 rom devs/maintainers out there, there still seems to be a lot of people suffering from GPS lock failures.
There are in fact two unrelated issues -
1. Maps API does not properly trigger the hardware GPS (or causes it to reset during navigation) (issue resolved by Google as of mid-2017)
2. GPS sees satellites but never locks
Issue #1 has been present for over a year and after pouring through the LocationService and GPS code, I've got nothing. It seems to have something to do with either the voting process to keep the GPS hardware powered up, or concurrent access causing a reset when play services get involved. Still working on it. GPS Locker is an effective workaround, and would be a worthwhile include if the author allows it.
Issue #2, however, is an easy one to fix. It's due a bug in the GPS firmware. Someone at Samsung or Qualcomm clearly didn't understand how GPS works when they wrote the AGPS implementation, and included an option to specify an NTP server. NTP servers are redundant on a smartphone GPS. They are not accurate enough for GPS positioning (GPS time signal is required for a lock), and the system clock is more than accurate enough to utilize GPS assistance data.
The issue arises when distant NTP servers are specified (possibly timezone related), and it is enough to break the GPS implementation.
It turns out that if you point the NTP client to localhost (with no ntpd running), the AGPS implementation falls back on the system clock. This eliminates the need to use FasterGPS to specify a local time server.
I've attached a gps.conf file (zipped) that will always work reliably, anywhere in the world. Assisted locks take 5-10 seconds.
It would be great if we can put at least this issue to rest once and for all.
*edit* for anyone else who wants to use this file, simply mount /system rw, deploy the unzipped gps.conf to /system/etc (mode 644), and reboot. If you're not sure how to do this, hang tight until someone creates a flashable .zip or it (hopefully) makes its way into various ROMs.
How to use this file
Thanks
Sent from my SM-N930F using Tapatalk
casperusm said:
How to use this file
Thanks
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Updated the main post.
Unzip the file, mount /system read-write, deploy into /system/etc, and reboot.
lambgx02 said:
To all the Note 3 rom devs/maintainers out there, there still seems to be a lot of people suffering from GPS lock failures.
Click to expand...
Click to collapse
Hey bro thank you for this, i will implement this for sure :good::good::good: cheers
https://youtu.be/ejigMwj2Krw
I use your file but i found a same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
fanion said:
https://youtu.be/ejigMwj2Krw
I use your file but i found a same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
Click to expand...
Click to collapse
This is something else interfering with the GPS. Can you try forcefully stopping Play Services just before you launch this utility?
lambgx02 said:
This is something else interfering with the GPS. Can you try forcefully stopping Play Services just before you launch this utility?
Click to expand...
Click to collapse
I try force stopping play services and launching gps utility and see same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
lambgx02 said:
Updated the main post.
Unzip the file, mount /system read-write, deploy into /system/etc, and reboot.
Click to expand...
Click to collapse
What does mount/system means?
Envoyé de mon SM-N930F en utilisant Tapatalk
fanion said:
I try force stopping play services and launching gps utility and see same problem
Envoyé de mon SM-G935F en utilisant Tapatalk
Click to expand...
Click to collapse
I have seen similar behavior in the past, but I've got no idea what's causing it. It's as though something else is forming bogus NMEA strings and interfering with the hardware GPS.
But, I believe the checkmarks that appear briefly are indicating a GPS fix on the hardware side. It's just a question of killing off whatever else is interfering.
You don't have any location faking apps running by any chance?
Modify your gps.conf for your country.
Works for me like a charm.
Instructions here: CLICK
moonryder said:
Modify your gps.conf for your country.
Works for me like a charm.
Instructions here: CLICK
Click to expand...
Click to collapse
This is one option, but honestly it offers no advantage over simply disabling NTP entirely. NTP is redundant for AGPS on a smartphone equipped with an accurate system clock (as we have).
Country-localized NTP for AGPS also has the huge disadvantage of failing when we need it the most: while travelling.
Hi,
I applied the fix based on the step by step instruction and I still have the Issue#2.
I use GPS Status from Play store for checking the GPS status. It shows that 0 fixed from 23 satellites.
Do you have any idea?
ecsagsp said:
Hi,
I applied the fix based on the step by step instruction and I still have the Issue#2.
I use GPS Status from Play store for checking the GPS status. It shows that 0 fixed from 23 satellites.
Do you have any idea?
Click to expand...
Click to collapse
Hey buddy! I suffered a lot with GPS and the only file the worked for me was the one bellow. Just change Brazil for your country, restart your phone, download a GPS again and let your phone at open space for five minutes to see if works. If not, is time to look for another modem and bootloader. Give a feedback!
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
#XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
#XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
#Test
# NTP_SERVER=time.gpsonextra.net
#Brazil
# NTP_SERVER=br.pool.ntp.org
#South America
# NTP_SERVER=south-america.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
#DEBUG_LEVEL = 3
#DEBUG_LEVEL = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# supl version 1.0
# SUPL_VER=0x10000
# supl version 2.0
# SUPL_VER=0x20000
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
CAPABILITIES=0x17
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.google.com
# SUPL_PORT=7276
# SUPL_HOST=lbs.geo.t-mobile.com
# SUPL_PORT=7275
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 3
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
# NMEA_PROVIDER=1
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0x4
################################
# LGE EXTRA SETTINGS
################################
VENDOR=TMO
#LGE_TLS_MODE=1
LGE_GPS_POSITION_MODE=1
AgpsUse=1
AgpsServerType=1
AgpsServerIp=3232235555
AgpsMtConf=0
AgpsMtResponseType=1
CURRENT_CARRIER=common
PHONE_TYPE=UMTS
Hi Master,
I applied your config, rebooted the device.
I will get back to you once I can go outdoor with my phone.
ecsagsp said:
Hi,
I applied the fix based on the step by step instruction and I still have the Issue#2.
I use GPS Status from Play store for checking the GPS status. It shows that 0 fixed from 23 satellites.
Do you have any idea?
Click to expand...
Click to collapse
Oh - if you're still having issues with gps.conf pointing NTP to 127.0.0.1, try refreshing your AGPS data; it could be a stale cache.
From GPS Status & Toolkit, hit Menu->Manage A-GPS state->Download.
Alternatively, Menu->Manage A-GPS state->Reset will allow you to try for a cold start, which could take up to 15 minutes to lock.
Hi All,
sauliiin: GPS is working now using your config with limitation (not as good as it should be). Waze or any other navigation software seemingly work fine. But if you test the GPS with GPS Status software you can see that the number of FIX satellites periodically changes between 0 and X(X depends on the visibility of the sky). It means that in one moment you have for example 9 fixed sats while the other few moments this number is 0(of course I was in a steady position, without clouds in the sky). I do not know wheter it is related to your config or GPS status software cannot handle your config.
lambgx02: I tried everything with your config without any success.
Once more a big thank to Sauliiin for his hard work to find a working solution.
ecsagsp said:
Hi All,
sauliiin: GPS is working now using your config with limitation (not as good as it should be). Waze or any other navigation software seemingly work fine. But if you test the GPS with GPS Status software you can see that the number of FIX satellites periodically changes between 0 and X(X depends on the visibility of the sky). It means that in one moment you have for example 9 fixed sats while the other few moments this number is 0(of course I was in a steady position, without clouds in the sky). I do not know wheter it is related to your config or GPS status software cannot handle your config.
lambgx02: I tried everything with your config without any success.
Once more a big thank to Sauliiin for his hard work to find a working solution.
Click to expand...
Click to collapse
Actually, that's quite fascinating.
I do see the same behavior on occasion; a perfect, steady fix, periodically interrupted once per second. I'd really like to know what it's all about. Maybe LocationServices injecting bogus position data into the HAL GPS stream.
Interesting that you aren't having success without NTP. Is your system clock calibrated against the cellular network?
Yes, my system is calibrated.
There might be other solution suggested in another thread: changing of my modem version to older one might solve the GPS issue.
At the moment I cannot confirm that.
I will test it during the weekend.
i lose 3d lock after my accuracy improves beyond 150m once GPS test is loaded. Anything higher, 3d locks. I get quick lock blips below 150m. Anyone?
Just want to add something! My GPS was a crap for a long time... Since I dont remember. Tryed lots of gps.conf and the most I could do is make a little better.
So, if you are facing the same. Is time to try a new modem! It will be a pain in the ass and sometimes the modem fromyour region or even the latest one wont work good for you... So, what I reccomend is download some of the latest versions and try and try.
Just for example: I tryed the lates brazilian modem and got no fix. Tryed the last modem I found, got a fix, but it keep fixind and losing for last than a second. What I found was the best for me as Phone_N9005XXUGBPF1
Hope I helped... If you have a crap GPS! Probably ther is a fix, just dig! Here, in this topic we have at least 3 good gps.config, now it time to try modems!
Hello.
I activated the Bluetooth HCI snoop log on my Nokia 7 plus.
I restarted the phone, and connected it to different bluetooth devices.
But i can't find the logfile. Where should i find it?
adb pull /sdcard/Android/data/btsnoop_hci.log
adb pull /sdcard/data/btsnoop_hci.log
adb pull /sdcard/btsnoop_hci.log
adb pull /btsnoop_hci.log
returns always "remote object ... does not exist"
This is what /etc/bluetooth/bt_stack.conf looks like:
# Enable trace level reconfiguration function
# Must be present before any TRC_ trace level settings
TraceConf=true
# Trace level configuration
# BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated )
# BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages )
# BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages )
# BT_TRACE_LEVEL_API 3 ( API traces )
# BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events )
# BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages )
# BT_TRACE_LEVEL_VERBOSE 6 ( Verbose messages ) - Currently supported for TRC_BTAPP only.
TRC_BTM=2
TRC_HCI=2
TRC_L2CAP=2
TRC_RFCOMM=2
TRC_OBEX=2
TRC_AVCT=2
TRC_AVDT=2
TRC_AVRC=2
TRC_AVDT_SCB=2
TRC_AVDT_CCB=2
TRC_A2D=2
TRC_SDP=2
TRC_SMP=2
TRC_BTAPP=2
TRC_BTIF=2
TRC_BNEP=2
TRC_PAN=2
TRC_HID_HOST=2
TRC_HID_DEV=2
# This is Log configuration for new C++ code using LOG() macros.
# See libchrome/base/logging.h for description on how to configure your logs.
# sample configuration:
#LoggingV=--v=0
#LoggingVModule=--vmodule=*/btm/*=1,btm_ble_multi*=2,btif_*=1
# PTS testing helpers
# Secure connections only mode.
# PTS_SecurePairOnly=true
# Disable LE Connection updates
#PTS_DisableConnUpdates=true
# Disable BR/EDR discovery after LE pairing to avoid cross key derivation errors
#PTS_DisableSDPOnLEPair=true
# SMP Pair options (formatted as hex bytes) auth, io, ikey, rkey, ksize
#PTS_SmpOptions=0xD,0x4,0xf,0xf,0x10
# SMP Certification Failure Cases
# Set any of the following SMP error values (from smp_api_types.h)
# to induce pairing failues for various PTS SMP test cases.
# Setting PTS_SmpFailureCase to 0 means normal operation.
# Failure modes:
#
# SMP_PASSKEY_ENTRY_FAIL = 1
# SMP_PAIR_AUTH_FAIL = 3
# SMP_CONFIRM_VALUE_ERR = 4
# SMP_PAIR_NOT_SUPPORT = 5
# SMP_PAIR_FAIL_UNKNOWN = 8
# SMP_REPEATED_ATTEMPTS = 9
# SMP_NUMERIC_COMPAR_FAIL = 12
#PTS_SmpFailureCase=0
Click to expand...
Click to collapse
After Nougat I had to take a bug report instead
You may not still be looking this info, but for the sake of anyone else who may be... It may depend on your Android version. From my own experience it was always right there in the main directory, but as soon as my Nokia 5 upgraded past Android 6 Marshmallow, the HCI snoop log is no longer generated, and now if I want Bluetooth logs I take a bug report, send it to myself, and pull Bluetooth logs out of it. It's a bit more fiddly, but it works.
schorsch81 said:
Hello.
I activated the Bluetooth HCI snoop log on my Nokia 7 plus.
I restarted the phone, and connected it to different bluetooth devices.
But i can't find the logfile. Where should i find it?
adb pull /sdcard/Android/data/btsnoop_hci.log
adb pull /sdcard/data/btsnoop_hci.log
adb pull /sdcard/btsnoop_hci.log
adb pull /btsnoop_hci.log
returns always "remote object ... does not exist"
This is what /etc/bluetooth/bt_stack.conf looks like:
Click to expand...
Click to collapse