CM13 Rom gps fix - Galaxy Note 3 Android Development

The whole "flash a TouchWiz rom and restore your cm13 rom to get a gps lock" fix wasn't cutting it for me so I went a little further and implemented some gps fixes I've researched and implemented in the past when I was trying to get the best gps for playing ingress.
First thing I noticed was that the cm13 Roms I installed had every gps.conf suggestion I've ever read worked on any phone ever. Here is an area where, in my opinion, more is not better. I stripped it down to just one xtra server, and one ntp server, picking ones for my geographical location.
I don't need the debugging anymore so I set it to 0, and I removed references to supl servers because we are not using those correctly, they require a supl certificate to be created specifically for you device, if you don't do that, yet have supl servers in your gps.conf, you are slowing down your lock time.
For capabilities, you'll notice that 17 is what all the different numbers add up to, meaning all those features are enabled and will be used if your (our) phone supports it.
I also changed the LPP to 3 to enable both user and control plane.
Last change was turning intermediate position on and setting threshold at 5000, turning this off (either by placing a hashtag in front of code or changing "1" to "0" ) will slow down gps lock time.
Try this out by opening your gps.conf file in the system/etc folder of your rooted cm13 rom and paste this text. Make sure the file permissions stay rw r r and restart your phone ,then enjoy your cm13 rom with quick gps locks.
Code:
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
#Asia
# NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
NTP_SERVER=north-america.pool.ntp.org
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 0
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# supl version 1.0
# SUPL_VER=0x10000
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING
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.host.com or IP
# SUPL_PORT=1234
# 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
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0x4

Nice! Will definitely test this out. Although, I haven't noticed poor GPS lock as of late.

Nice. I suggest you copy the gps.conf and upload in here. It is more helpful for others too. Thanks

Wow, thanks for the info, I am suffering very poor GPS lock. Just wonder if that scripts will work on other ROM? If I'm using note5 port TouchWiz ROM, will the scripts work?
Thanks
Sent from my SM-A710F using XDA-Developers mobile app

Jairus J. said:
Nice. I suggest you copy the gps.conf and upload in here. It is more helpful for others too. Thanks
Click to expand...
Click to collapse
Here is a copy of my gps conf file, rename by taking off "txt" and replace your current gps conf file, (after making a backup)
**Important**
Make sure you change the permissions of the file to rw r r so the file can be used by your phone.

jackjack078 said:
Wow, thanks for the info, I am suffering very poor GPS lock. Just wonder if that scripts will work on other ROM? If I'm using note5 port TouchWiz ROM, will the scripts work?
Thanks
Sent from my SM-A710F using XDA-Developers mobile app
Click to expand...
Click to collapse
The gps conf file should work in any rom you use. Whichever rom you use, your gps will be the same hardware, which should use the same gps conf data.

Jfuginay said:
Here is a copy of my gps conf file, rename by taking off "txt" and replace your current gps conf file, (after making a backup)
**Important**
Make sure you change the permissions of the file to rw r r so the file can be used by your phone.
Click to expand...
Click to collapse
Can anyone guide me how to copy paste this and configure it into the temasek from? I'm kinda not familiar for this.

CommonKiratsuna said:
Can anyone guide me how to copy paste this and configure it into the temasek from? I'm kinda not familiar for this.
Click to expand...
Click to collapse
I'll post a guide when I get home, will cover two methods of implementing this data: Copy paste into original gps.conf file and replacing gps.conf file.

CommonKiratsuna said:
Can anyone guide me how to copy paste this and configure it into the temasek from? I'm kinda not familiar for this.
Click to expand...
Click to collapse
First see what your normal lock time, I use gpstest apk for it, available on google play. I even paid for the pro version ( no ads) because I use it so much. Open that app and clear your agps, then download fresh data, and note your time till lock.
Download a file manager if you don't have one. If you are on temasek you should have a file manager there. You may need to go into settings and enable root mode. (Not just in the phone, but in the file manager app itself, to access the root of your phone's files.)
Navigate to system/etc folder and look for the file named "gps.conf"
Either replace it with the one you downloaded from me, or copy the contents of the file I posted and paste it into the gps.conf file you have by opening the conf file with a text editor and "select all" text, then "paste" the contents of the file in there.
If you just copy and paste, you likely don't have to worry about fixing permissions, but if you replaced the file make sure you right click on your gps conf file and go to properties then permissions and make sure it is rw r r
Restart phone, open up the gps test app, and it should lock faster. Try clearing and re-downloading the agps data within the gpstest app and note your time till lock.
This fix has still been working great for me. I went from 2 plus minutes for a lock and horrible accuracy to a lock within 30 seconds and accuracy 30 feet or better.

Jfuginay said:
First see what your normal lock time, I use gpstest apk for it, available on google play. I even paid for the pro version ( no ads) because I use it so much. Open that app and clear your agps, then download fresh data, and note your time till lock.
Download a file manager if you don't have one. If you are on temasek you should have a file manager there. You may need to go into settings and enable root mode. (Not just in the phone, but in the file manager app itself, to access the root of your phone's files.)
Navigate to system/etc folder and look for the file named "gps.conf"
Either replace it with the one you downloaded from me, or copy the contents of the file I posted and paste it into the gps.conf file you have by opening the conf file with a text editor and "select all" text, then "paste" the contents of the file in there.
If you just copy and paste, you likely don't have to worry about fixing permissions, but if you replaced the file make sure you right click on your gps conf file and go to properties then permissions and make sure it is rw r r
Restart phone, open up the gps test app, and it should lock faster. Try clearing and re-downloading the agps data within the gpstest app and note your time till lock.
This fix has still been working great for me. I went from 2 plus minutes for a lock and horrible accuracy to a lock within 30 seconds and accuracy 30 feet or better.
Click to expand...
Click to collapse
Mate, but I'm still unable to continue due to ES file manager won't let me to continue without root access...

CommonKiratsuna said:
Mate, but I'm still unable to continue due to ES file manager won't let me to continue without root access...
Click to expand...
Click to collapse
dude, without root you cant make those changes

xinfinityoO said:
dude, without root you cant make those changes
Click to expand...
Click to collapse
Lolz... I already screenshot that my phone rooted what... If not how can I simply enter to device system to edit such files... ?

CommonKiratsuna said:
Mate, but I'm still unable to continue due to ES file manager won't let me to continue without root access...
Click to expand...
Click to collapse
Here is how to enable root mode in ES file explorer:
Quote:
"ES File Explorer is a very popular app for browsing files on Android devices. Many people think they can browse root directories immediately when this app is installed on a rooted device but you can't, you need to enable root explorer before this is possible.
To enable root explorer:
Open ES File Explorer
Press the Fast Access Menu button (top left)
Press Tools
Press On located next to Root Explorer
Root browsing is now enabled. Now when you try to access a directory in your root you will be asked to allow access by SuperSU or Superuser depending on what you use. You can set to remember your choice forever so you do not need to keep allowing access each time you wish to browse root files."
Website: https://seo-michael.co.uk/enable-root-browsing-on-es-file-explorer/

Jfuginay said:
Here is how to enable root mode in ES file explorer:
Quote:
"ES File Explorer is a very popular app for browsing files on Android devices. Many people think they can browse root directories immediately when this app is installed on a rooted device but you can't, you need to enable root explorer before this is possible.
To enable root explorer:
Open ES File Explorer
Press the Fast Access Menu button (top left)
Press Tools
Press On located next to Root Explorer
Root browsing is now enabled. Now when you try to access a directory in your root you will be asked to allow access by SuperSU or Superuser depending on what you use. You can set to remember your choice forever so you do not need to keep allowing access each time you wish to browse root files."
Website: https://seo-michael.co.uk/enable-root-browsing-on-es-file-explorer/
Click to expand...
Click to collapse
Well mate, found the problem. Mistakenly using cyanogen file manager to edit that's why it cannot access. I'm using ES original file to edit and it was successful. But why GPS Test showed that the location not fixed? Already clear AGPS and updated it but it just showed the location miles away from my location.
Edited add on:
Well mate, after a few minutes the GPS is located correctly to my location. Great works and thanks for you help to made this GPS alive again. Firstly it showed miles away from my location by Google Maps, after few minutes used it again and it showed correct location. Waze also lock down my location too. From now on I didnt found any problem. Thank you and really appreciate it. I hope that you could help Temasek Rom to fix this GPS bugs too.

This works was able to quickly get a lock on in a few seconds and im indoors
Sent from my SM-N9005 using XDA-Developers mobile app

Gps.conf file is at which location?? Tks

orbital_71 said:
Gps.conf file is at which location?? Tks
Click to expand...
Click to collapse
Original file is for north america. You should edit the file according to your region.
Btw, it works great. Thanks OP.

First of all, thanks.
Now, my problem was that the phone didn't get information from the local Networks (Wifi, etc) and i couldn't use Maps/PokemonGo etc while being indoors.
I pretty much tried everything (from installing a TW Rom and going back to CM13 to changing everything in my gps.conf)
and then it hit me..
I recently disabled the ability of the Google Services to scan for Wifi (to save battery) and that was my problem, as soon as i reverted that everything went back to normal and everything is working GREAT.
Btw i am attaching a modified version of your gps.conf , for Europe. (remove the .txt and paste it in the right folder)

Theomech said:
First of all, thanks.
Now, my problem was that the phone didn't get information from the local Networks (Wifi, etc) and i couldn't use Maps/PokemonGo etc while being indoors.
I pretty much tried everything (from installing a TW Rom and going back to CM13 to changing everything in my gps.conf)
and then it hit me..
I recently disabled the ability of the Google Services to scan for Wifi (to save battery) and that was my problem, as soon as i reverted that everything went back to normal and everything is working GREAT.
Btw i am attaching a modified version of your gps.conf , for Europe. (remove the .txt and paste it in the right folder)
Click to expand...
Click to collapse
Hi theomech,
Could u be more specific on how did u disable Google play services for scanning wifi?
I tried looked into application manager on system apps, see Google play services, but didn't find the one called scan wifi to disable? When tried do something about it, it directed to google apps. So are they the same things or not?
After replacing the script on GPS config, it locked faster, but I still suffering on flickering between lock and not lock shows on GPS status app.
Thanks in advance
Jack

jackjack078 said:
Hi theomech,
Could u be more specific on how did u disable Google play services for scanning wifi?
I tried looked into application manager on system apps, see Google play services, but didn't find the one called scan wifi to disable? When tried do something about it, it directed to google apps. So are they the same things or not?
After replacing the script on GPS config, it locked faster, but I still suffering on flickering between lock and not lock shows on GPS status app.
Thanks in advance
Jack
Click to expand...
Click to collapse
Hey mate,
It's in Settings / Privacy / Privacy Guard / Click on Top Right Menu the Advanced option / Choose Google Play Service / And feel free to toggle Wi-Fi Scan ( I turned it back up to Allowed , so i can get a pseudo" gps lock" while indoors)

Related

[Q] SwiftyTrix ROM tethering script

Hi. Apologies for posting this question if it's already been asked, but Search is not working right now.
I am running the "SwiftyTrix" ROM (http://forum.xda-developers.com/showthread.php?t=1879475) which has a "Wifi Tether Script" (http://beta.androidfilehost.com/?fid=9390077933525140376).
It doesn't say how to run this script. I tried rebooting to recovery and installing zip from sdcard. Nothing seemed to change.
Has anybody got tethering working on this ROM? If so, please let me know how you did it.
And BTW thanks so much timmytim for the ROM.
figured it out
Okay, that wasn't so hard to figure out.
After I posted the question I thought, let me just look what's in the file. Lo and behold there's adb.exe script and a batch file in there, so duh.
So if you are a noob like me and are wondering how to install that, just extract the zip to your c:\ and run the batch file.
Spoke too soon
I get the following error:
failed to copy 'com.motorola.android.providers.settings/databases/settings.db' to '/data/data/com.motorola.android.providers.settings/databases//settings.db': Permission denied
Unable to chmod /data/data/com.motorola.android.providers.settings: Operation not permitted
I have USB debugging enabled. I'll let you know if I figure it out.
Try disabling the entitlement check but in my case that alone didn't do it for me.
Using SQLite
1.open settings storage (com.motorola.android.providers.settings)
2.open settings.db
3.settings
4.search for dun_apn_changeable and dun_enable
5.Change both of their values to 1
6.search for entitlement_check and change it's value to disabled.
on my phone lines theses were on line117 and 118.check for yours.
Lemme know if this works
Sent from my MB865 running on ICS Leak 2#
Just for anybody that finds this thread.... I did not know what you meant by SQLite. I had no app with that name. I searched the Play Store for it and downloaded aSQLiteManager. I used ES File Explorer (with everything checked in Settings->Root Settings) to navigate to /data/data/com.motorola.android.providers.providers.settings/settings.db to /mnt/sdcard, then used aSQLiteManager to open that file, clicked "Data", found the specified keys and changed the values. Went back to ES File Explorer and moved the file back to its original location, rebooted.
It worked to turn on tethering. However I got "mobile data link lost" once I turned it on. I'm guessing it's because I'm on Straight Talk (on AT&T network) and my APN have to be changed somehow.
Ok, I didn't have to change my APN settings. I just turned my data connection back on and set up my hotspot settings and I am posting this through tethering right now!
See if any of the ideas in this thread help http://forum.xda-developers.com/showthread.php?t=1909454
spatters71 said:
Just for anybody that finds this thread.... I did not know what you meant by SQLite. I had no app with that name. I searched the Play Store for it and downloaded aSQLiteManager. I used ES File Explorer (with everything checked in Settings->Root Settings) to navigate to /data/data/com.motorola.android.providers.providers.settings/settings.db to /mnt/sdcard, then used aSQLiteManager to open that file, clicked "Data", found the specified keys and changed the values. Went back to ES File Explorer and moved the file back to its original location, rebooted.
It worked to turn on tethering. However I got "mobile data link lost" once I turned it on. I'm guessing it's because I'm on Straight Talk (on AT&T network) and my APN have to be changed somehow.
Click to expand...
Click to collapse
Glad that worked out.just so you know SQLite Editor allows you to change the field values directly.try that in case you need it in the future
Sent from my MB865 using xda premium

[MOD] Pantech Flex Enable Native Wifi Tethering ICS

Wifi Tethering Mod
Here are the original instructions use the zip at your own risk. It seems some people are experiencing problems with it...
I have modified the instructions to pertain to the Flex exactly.
This mod is not for the newbie, you must be rooted and I implore you to make a safe back up file in a new location of the file you will be editing. Actually two back ups, one completely stock the other you will use for editing.
I have edited his instructions for usage on the Pantech Flex running ICS.
Here’s the usual disclaimer: if you brick your phone it’s not my problem…. though I will help in any way I can as in my research I soft bricked my own device and was able to get it restored to a factory state.
Steps:
1. Root device using this method http://forum.xda-developers.com/show….php?t=2008888
2. Acquire/Install SQlite Editor or any Android SQL editor of your choice, Install ES File Explorer or Root File Explorer
3. Navigate to (root level) /Data/data/com.android.providers.settings/databases/
4. Copy file settings.db Navigate to SDcard/Backups/ now paste file to this location
5. Rename the file in Backups/ settings.db to settings.db.bak (if all goes to hell this is your backup file)
6. Paste the file again so you will have two settings files in Backups one ending in .bak and one ending in .db (this is the file you will be editing).
7. Open SQLite Editor and point it to /sdcard/Backups/settings.db and open it. You now will see a list of settings locations. Click on “secure”
8. Here you are going to be looking for two distinct lines. The line numbers may vary by device so I suggest you list name in list view:
Line 1. softap_free_supported
Line 2. softap_entitlement_interval
9. Change Line 1′s value to 1 in the SQL editor. Change Line 2′s value to 0 in the SQL editor save and close or just close depending on the editor.
10. Using your file explorer navigate back to /data/data/com.android.providers.settings/databases/ rename settings.db to settings.db.bak
11. Navigate to /sdcard/backups/settings.db(the one you edited) and copy the file go back to com.android.providers-etc and paste the file.
12. SUPPER IMPORTANT if the file permisuions on settings.db are not rw-rw-rw make them so in your file explorer.
If these permissions are no correct your phone will get stuck on the AT&T boot screen. ie softbricked
13. Reboot and you should be able to go to More in settings then Tethering & portable hotspot and turn it on set up your settings etc.
14. FYI under battery management you may want to change the value to never time out as it applies to the phones activity not the wifi activity.
This had been tried and tested on AT&T only it may work on other carries. USE AT YOUR OWN RISK!
Zip Method
You must be rooted and have CWM intalled.
1 Download the recovery mod zip file to the internal storage of your phone.
2 Reboot into recovery and make a CWM backup of your phone.
3 From recovery clear the cache and dalvik cache
4 Install the zip from the location you saved it to.
5 Reboot your phone.
6 Go to your phone settings wireless and networks, click on more, click on tethring and portable hotspot, click the box next to portable-wifi-hotspot. You are now up and running.
7 Personalize your hotspot settings in portabpe wi-fi hotspot settings.
8 Grab a free app like Hotspot Toggle to add to your home screen for easy one click on and off.
A huge Thank You goes out to Timmythanoob for making my original mod zip installable!
https://www.dropbox.com/s/9zv14h36j6xdjhq/tether.zip?m
This had been tried and tested on AT&T only, it may work on other carriers. USE AT YOUR OWN RISK!
Sent from Freakshow999's Nexus 7 using Tapatalk 2
If you find this post useful please remember to hit the thanks button!
Works perfectly
Sent from my PantechP8010 using xda app-developers app
@freakshow what part of the LBC u from were practicly neighbors bro lol
atadres said:
@freakshow what part of the LBC u from were practicly neighbors bro lol
Click to expand...
Click to collapse
I'm actually living in Cerritos right now but I'm at Portfolio at 4th and Juniper pretty much every day.
Sent from my PantechP8010 using Tapatalk 2
Mod update now zip installable through CWM recovery thanks to Timmythanoob!
the zip doesnt work for me !!
messes up my phone !
pls tell me the previous method ?
thanks...
I'm out right now. I will post up how to do it the manual way tonight some time.
Sent from my PantechP8010 using Tapatalk 2
Sorry I haven't been able to get the manual method up. I've been extremely busy with work. I will make an attempt to get it up later today.
Sent from my PantechP8010 using Tapatalk 2
after install this MOD my HOME key not work!!!
levanr said:
after install this MOD my HOME key not work!!!
Click to expand...
Click to collapse
Did you get it fixed?
if not restore system from backup
If you didnt do a backup do a factory data reset
Manual method is back and tried & true working...
Sorry it took so long. A quick Google search found a repost of my original thread on a blog... Lol!
Sent from my Nexus 7 using Tapatalk HD
Chadw1985 said:
Did you get it fixed?
if not restore system from backup
If you didnt do a backup do a factory data reset
Click to expand...
Click to collapse
i did factory data reset.
but i lost
tethering again )
levanr said:
i did factory data reset.
but i lost
tethering again )
Click to expand...
Click to collapse
Its because the file you edited is in your data folder. You will need to change a few things in your system folder to completely enable it.
levanr said:
i did factory data reset.
but i lost
tethering again )
Click to expand...
Click to collapse
Use the manual method for now we have a new zip file that should be up within the next 24 hours.
The manual method only changes the exact strings of info pertaining to tethering so it doesn't disturb the system files etc.
Sent from my Nexus 7 using Tapatalk HD
I think manual mode only work on att
becose in my carier not work (
but if delete line 1 work or using Secret Codes Revealer this work
https://play.google.com/store/apps/details?id=com.afp_group.software&hl=en
sorry for my english
File not found
freakshow999 said:
Wifi Tethering Mod
Here are the original instructions use the zip at your own risk. It seems some people are experiencing problems with it...
I have modified the instructions to pertain to the Flex exactly.
This mod is not for the newbie, you must be rooted and I implore you to make a safe back up file in a new location of the file you will be editing. Actually two back ups, one completely stock the other you will use for editing.
I have edited his instructions for usage on the Pantech Flex running ICS.
Here’s the usual disclaimer: if you brick your phone it’s not my problem…. though I will help in any way I can as in my research I soft bricked my own device and was able to get it restored to a factory state.
Steps:
1. Root device using this method http://forum.xda-developers.com/show….php?t=2008888
2. Acquire/Install SQlite Editor or any Android SQL editor of your choice, Install ES File Explorer or Root File Explorer
3. Navigate to (root level) /Data/data/com.android.providers.settings/databases/
4. Copy file settings.db Navigate to SDcard/Backups/ now paste file to this location
5. Rename the file in Backups/ settings.db to settings.db.bak (if all goes to hell this is your backup file)
6. Paste the file again so you will have two settings files in Backups one ending in .bak and one ending in .db (this is the file you will be editing).
7. Open SQLite Editor and point it to /sdcard/Backups/settings.db and open it. You now will see a list of settings locations. Click on “secure”
8. Here you are going to be looking for two distinct lines. The line numbers may vary by device so I suggest you list name in list view:
Line 1. softap_free_supported
Line 2. softap_entitlement_interval
9. Change Line 1′s value to 1 in the SQL editor. Change Line 2′s value to 0 in the SQL editor save and close or just close depending on the editor.
10. Using your file explorer navigate back to /data/data/com.android.providers.settings/databases/ rename settings.db to settings.db.bak
11. Navigate to /sdcard/backups/settings.db(the one you edited) and copy the file go back to com.android.providers-etc and paste the file.
12. SUPPER IMPORTANT if the file permisuions on settings.db are not rw-rw-rw make them so in your file explorer.
If these permissions are no correct your phone will get stuck on the AT&T boot screen. ie softbricked
13. Reboot and you should be able to go to More in settings then Tethering & portable hotspot and turn it on set up your settings etc.
14. FYI under battery management you may want to change the value to never time out as it applies to the phones activity not the wifi activity.
This had been tried and tested on AT&T only it may work on other carries. USE AT YOUR OWN RISK!
Zip Method
You must be rooted and have CWM intalled.
1 Download the recovery mod zip file to the internal storage of your phone.
2 Reboot into recovery and make a CWM backup of your phone.
3 From recovery clear the cache and dalvik cache
4 Install the zip from the location you saved it to.
5 Reboot your phone.
6 Go to your phone settings wireless and networks, click on more, click on tethring and portable hotspot, click the box next to portable-wifi-hotspot. You are now up and running.
7 Personalize your hotspot settings in portabpe wi-fi hotspot settings.
8 Grab a free app like Hotspot Toggle to add to your home screen for easy one click on and off.
A huge Thank You goes out to Timmythanoob for making my original mod zip installable!
https://www.dropbox.com/s/9zv14h36j6xdjhq/tether.zip?m
This had been tried and tested on AT&T only, it may work on other carriers. USE AT YOUR OWN RISK!
Sent from Freakshow999's Nexus 7 using Tapatalk 2
If you find this post useful please remember to hit the thanks button!
Click to expand...
Click to collapse
The link to flashable zip file is not working. Would you please upload again or provide a valid link?
Sorry guys all the zip installable files people have done for me have not worked for various reasons.
The manual method works tried and true on AT&T. I don't know about other carriers but I'm sure you would want to look at the same settings in the same file for changes.
By the way bluetooth tethering also works with this mod, but wifi tether yields much higher internet speeds.

JB 4.1.2 GPS positioning solved

JB Leak 1, 2, 3 (official JB) and roms which based on the JB Leaks GPS positioning problem solved with gps_driver change!
The JB leak gps.conf i edited so many times, over and over and it was disastrous. After booting, it worked well, but after 1-2 hours the positioning / fixing was very slowly with or without wifi / data connection.
I thought that the problem is not with the gps.conf.
Yesterday I was looking for the official ICS and CM 10.1 roms - which have good and fast gps localisation - and after i found in the system\bin a gps_driver i compared this files - and changed on the JB Leak 2's gps_driver to ME ICS HKTWN's gps driver.
The result is excellent.
First test in a car - cc.30 km/h - when I turned on the GPS and it positioned approximately 30-35 seconds without wifi and data connection.
Secondly, in the first position of approx. 10 km tried - i waiting at a red light, after starting 7-8 seconds it has satellite connection, and after 16 seconds there was 18 meters of accuracy as indicated. A half hour later, 60 hours km/h started the GPS and 20 seconds after 3 meter accuracy showed my position. 1 hour later the next test - 10 seconds and 11 meter accuracy.
With data connections in 12 seconds and 8 meters accuracy. I woke up in the morning turn on gps and wifi and after 15 seconds I have 11 meter accuracy.
Download the attached file. It works only rooted phone
After downloading, extract and copies of internal storage on your phone or on the SD card and then file manager wich has root privileges (for example: rootexplorer) perform the following:
Copy the gps_driver to system\bin, whit this you overwriting the original file and set the permissions:
rwxr-xr-x
Use some of these gps.conf - original thread: http://forum.xda-developers.com/showthread.php?t=953630
and copy to system\etc, override the original gps.conf - or just leave the original gps.conf (you choose) - , and set permissions:
rw-r--r--
Reboot the phone and use it.
help me please
Hye, i have a problem with rom Official]Official Jellyban(4.1) for Retail CN Atrix2. When i received call it shows number not name. It same thing happens with the message. For example I saw number 0129999999 when I received calls it shows name but message shows number not name. Then I change to +60129999999 I received calls numbers show and message show name. How to solve this problem? Any apk system that related to the problem? Which apk files? This is the main problem with miui. Anyone have the solution. Please help me.
Nice.. it worked.. got a fix in 2 sec.. usually used to take 5 mins the first time after reboot..
Sent from my ME865 using Tapatalk 2
afeeq said:
Hye, i have a problem with rom Official]Official Jellyban(4.1) for Retail CN Atrix2. When i received call it shows number not name. It same thing happens with the message. For example I saw number 0129999999 when I received calls it shows name but message shows number not name. Then I change to +60129999999 I received calls numbers show and message show name. How to solve this problem? Any apk system that related to the problem? Which apk files? This is the main problem with miui. Anyone have the solution. Please help me.
Click to expand...
Click to collapse
Try this: In the Phone - Settings menu there is Assisted Dialing - turn off. Basically it's on and it's set to China (+86)
deleted
Yaya Me too! !
Sent from my ME865 using xda app-developers app
There are a few more GPS fix method on china website which you may change ur gps driver.
And Wang also provided his gps_driver which can instantly lock our position less then a second!
Sent from my ME865 using xda app-developers app
shennwuu said:
There are a few more GPS fix method on china website which you may change ur gps driver.
And Wang also provided his gps_driver which can instantly lock our position less then a second!
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
gps_driver change not equal gps.conf change. If you read again the first post you see: this gps_driver was in the CM10.1 and ME HKTWN ICS.
I tried this gps driver file and works well but i tried place the gps config in system but seems nothing
Sent from my ME865 using xda app-developers app
Sometimes the gps is not functioning and you have to reset its permission and it just respond
Sent from my ME865 using xda app-developers app
Sticky this thread please Mod's
This Thread surely needs to be stickied Mod's cause it is the permanent super solution to instant gps lock on the JB leak, period!!
this works! period!
hi, I have a rooted Atrix2. I dont know how to set permission. I have bootstarp installed. So, can I just flash the zip file you have provided in your link to get this working?
I have now installed root explorer. Copied your gps_driver file, after unzipping, to the SD card. Using Root explorer I tried to set permission for user to read write and execute, ( all three). But once I press ok and then if I recheck it doesnt show permission which I had set before.
Can you explain step by step to set permissions and the rest of the procedure please?
Thanks
_ghiottone said:
JB Leak 1, 2, and roms which based on the JB Leaks GPS positioning problem solved with gps_driver change!
The JB leak gps.conf i edited so many times, over and over and it was disastrous. After booting, it worked well, but after 1-2 hours the positioning / fixing was very slowly with or without wifi / data connection.
I thought that the problem is not with the gps.conf.
Yesterday I was looking for the official ICS and CM 10.1 roms - which have good and fast gps localisation - and after i found in the system\bin a gps_driver i compared this files - and changed on the JB Leak 2's gps_driver to ME ICS HKTWN's gps driver.
The result is excellent.
First test in a car - cc.30 km/h - when I turned on the GPS and it positioned approximately 30-35 seconds without wifi and data connection.
Secondly, in the first position of approx. 10 km tried - i waiting at a red light, after starting 7-8 seconds it has satellite connection, and after 16 seconds there was 18 meters of accuracy as indicated. A half hour later, 60 hours km/h started the GPS and 20 seconds after 3 meter accuracy showed my position. 1 hour later the next test - 10 seconds and 11 meter accuracy.
With data connections in 12 seconds and 8 meters accuracy. I woke up in the morning turn on gps and wifi and after 15 seconds I have 11 meter accuracy.
Download the attached file. It works only rooted phone
After downloading, extract and copies of internal storage on your phone or on the SD card and then file manager wich has root privileges (for example: rootexplorer) perform the following:
Copy the gps_driver to system\bin, you must copy it from overwriting the original file and set the permissions:
rwxr-xr-x
Use some of these gps.conf - original thread: http://forum.xda-developers.com/showthread.php?t=953630
and copy to system\etc, override the original gps.conf - or just leave the original gps.conf (you choose) - , and set permissions:
rw-r--r--
Reboot the phone and use it.
Click to expand...
Click to collapse
RAD7 said:
This Thread surely needs to be stickied Mod's cause it is the permanent super solution to instant gps lock on the JB leak, period!!
Click to expand...
Click to collapse
Hi,
Mine is an Atrix2 rooted on JB leak. Need this gps driver working. Got root explorer. What do I do with the original gps.conf file? do I replace it with this one, once I copy and paste to system\bin
there is one gps.conf file in \etc, what do I do with that?
regards.
vu2pmc said:
hi, I have a rooted Atrix2. I dont know how to set permission. I have bootstarp installed. So, can I just flash the zip file you have provided in your link to get this working?
I have now installed root explorer. Copied your gps_driver file, after unzipping, to the SD card. Using Root explorer I tried to set permission for user to read write and execute, ( all three). But once I press ok and then if I recheck it doesnt show permission which I had set before.
Can you explain step by step to set permissions and the rest of the procedure please?
Thanks
Click to expand...
Click to collapse
How to set permission with rott explorer:
http://www.youtube.com/watch?v=RI08wNsanLY
Copy the gps_driver to system\bin, you must copy it from overwriting the original file and set the permissions:
rwxr-xr-x
Use some of these gps.conf - original thread: http://forum.xda-developers.com/showthread.php?t=953630
and copy to system\etc, override the original gps.conf - or just leave the original gps.conf (you choose) - , and set permissions:
rw-r--r--
_ghiottone said:
How to set permission with rott explorer:
http://www.youtube.com/watch?v=RI08wNsanLY
Copy the gps_driver to system\bin, you must copy it from overwriting the original file and set the permissions:
rwxr-xr-x
Use some of these gps.conf - original thread: http://forum.xda-developers.com/showthread.php?t=953630
and copy to system\etc, override the original gps.conf - or just leave the original gps.conf (you choose) - , and set permissions:
rw-r--r--
Click to expand...
Click to collapse
Guess I have a language problem sir,
when you say " you must copy it from overwriting the original file and set the permissions"
Do you mean to say, I must replace the original file with this?
and then set it for read write and execute ?
on system\etc, you already have a gps.conf, what should I do with that?
I am sorry, if I have been really silly and stupid
vu2pmc said:
Guess I have a language problem sir,
when you say " you must copy it from overwriting the original file and set the permissions"
Do you mean to say, I must replace the original file with this?
and then set it for read write and execute ?
on system\etc, you already have a gps.conf, what should I do with that?
I am sorry, if I have been really silly and stupid
Click to expand...
Click to collapse
Yes, you are right. I missed a comma: "you must copy it from, overwriting" - you must overwrite the original gps_driver .
It is not necessary to change the gps.conf, but with the new .conf files the gps have faster positioning.
_ghiottone said:
Yes, you are right. I missed a comma: "you must copy it from, overwriting" - you must overwrite the original gps_driver .
It is not necessary to change the gps.conf, but with the new .conf files the gps have faster positioning.
Click to expand...
Click to collapse
Thanks indeed, all sorted. Brilliant
GPS not working after following instructions
_ghiottone said:
Yes, you are right. I missed a comma: "you must copy it from, overwriting" - you must overwrite the original gps_driver .
It is not necessary to change the gps.conf, but with the new .conf files the gps have faster positioning.
Click to expand...
Click to collapse
I overwrote the gps driver files and copied the new gps.conf files and set permissions as directed, but GPS stopped working completely after I did this. Now the GPS Status app does not show any satellite at all, just can't figure out where I went wrong. Can you post the link to the correct driver files and a working gps.conf file. I live in India.
ozzman77 said:
I overwrote the gps driver files and copied the new gps.conf files and set permissions as directed, but GPS stopped working completely after I did this. Now the GPS Status app does not show any satellite at all, just can't figure out where I went wrong. Can you post the link to the correct driver files and a working gps.conf file. I live in India.
Click to expand...
Click to collapse
I used this file and the GPS is working like a charm

Huawei g510-100 wifi fix

---------8/18/13 WIFI MALFUNCTION----------
It appears wifi malfunction on that rom but not only .ALL new hardware (MORE-LESS) with a new wifi chip are no full compatible with JB 4.1.2 (.Even stock Vodafone...B171)
I resolve it in my device and now testing... .If some one want it just let me know. maybe i could make a patch.
As a say wifi fix is ready:
But there is no time for flash zips(…).Be patient.
Instractions:
DOWNLOAD FIX ARCHIVE http://www.4shared.com/rar/AF266kS1/..._wifi_FIX.html
(ALL ARCHIVES TESTED FOR VIRUS AND OTHER MALICIOUS AND IS SAFE) A V A S T
You need a good file explorer (I use rootexplorer)
Aprox 10 minutes of time.
-extract zip to sdcard
-TURN OFF WIFI
-open root explorer go to /data/misc/
AND DELETE WIFI FOLDER
1 . FROM EXTRACTED FOLDER
COPY /LIB folder AND copy /paste all (4) files to -- /system/lib/ (and replace existing)
THEN GIVE THEM (4) , PERMISSION RW-R-R each (FROM EXPLORER SELECT PERMISSIONS)
2 .GO TO SYSTEM FOLDER: /SYSTEM/WIFI/ ON YOUR SYSTEM PARTITION AND DELETE ALL FILES/FOLDERS
3 .GO AGAIN TO zip EXTRACTED FOLDER and COPY/PASTE ALL STUFF FROM /WIFI FOLDER To -- /SYSTEM/WIFI/
FINALLY GIVE TO ALL FILES RW-R-R PERMISSION ON /SYSTEM.WIFI/ AND FOR FOLDERS(2) RWXR-XR-X
REBOOT
NOW YOUR WIFI MUST BE PERFECT
(PLS press thanks button to know that works for you also or replay )
Sorry man, does not work on my G510-0010 even flashed a latest build no. stock rom.
I trully don't KNOW how can I Make it much more clear . It is For G510 -0100
Thanks
Sent from my GT-N7105 using xda app-developers app
Notice: Improvements to 10 Post Rule
A New Q & A thread , for This Topic has been created in the Q&A, Help & Troubleshooting Sub-Forum.
New Discussion and Q & A Tabs have also been created, located just under threads Title when viewing in a Browser.
Posts from members with less than 10 posts will automatically be posted in the new Q & A thread.
Please check it out, and see if you can help out someone with a question about this Topic.
For more about this new feature see: Improvements to 10 Post Rule
can you send me the fix file if you have it please. thx
I am Sorry , this file don't exist any longer. (In my archives).
Sent from my SM-N910C using XDA Free mobile app
I solved the problem with this method published on another website:
"
Press these menu options on your phone: Settings > Wi-fi> (Choose your network by tapping on it for a few seconds) > Modify network config
Check "Show advanced options"
Choose IP Settings: "Static"
Enter these details
IP - 192.168.1.253 or 195.168.1.253 (I chose 192.168.1.253)
Gateway - 192.168.1.1 (I chose 192.168.1.1 since that's my router address)
NPL - 24
Netmask - 255.255.255.0 (I could not find this option)
DNS 1 - 8.8.4.4 or 8.8.8.8 (I had the latter by default and let it stay)
DNS 2 - 4.4.4.4
And save.
It just connected in a few milliseconds. "
http://forums.androidcentral.com/an...ing-ip-address-loop-stock-kitkat-4-4-2-a.html
HelP!
Hello Friend, can you please leave the links link? They are fallen and I want to solve the problem

[MOD] Re-enable only the 2g on Android Lollipop

Hi all I have decided to create this small change to re-enable the feature only 2 g for all Custom Rom/Rom stocks which don't have this entry in the active settings. The file has been personally tested by me on MaximusHD 10. But I'd appreciate it if you leave a comment indicating which rom you use with edit...
Needed
modified file (DOWNLOAD)
file manager (ES File Explorer; Root Explorer)
five minutes of time
Let's Start
1. Download the file from above and move in the phone's memory
2. Using a file explorer, move the default file in the following location:
Code:
system->customize->ACC
2.1 If it asks you to overwrite say yes
3. Reboot your device and network settings now include the item "ONLY 2G"
Hi, remember that by changing sku_id you might also get inaccurate 4g/lte signal bars.
I made a thread I M7 forums some time ago with all available sku_id's.
http://forum.xda-developers.com/showthread.php?t=2594804
It's the same for M8.
Sent from my HTC One (m8)
Thank you for the tip, I have not had this problem , if it so I will see how to solve it all, thanks again
thanks for tweak, ive been looking for this for ages, and now I know what need to be changed, thanks so much.

Categories

Resources