• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[05-JAN][FIX] GPS on Gingerbread :)

Search This thread

zippoz76

Member
Aug 15, 2010
46
0
Hi,
how I can edit libgps.so or where work to change power GPS management policy at screen off, to allow at GPS apps working on stand-by. My problem is that whit screen off and gps apps running GPS is disabled and on screen on is ok. This issue there is in gingerbrad roms but not whit sense roms.

Thank you.
 

vahsisalata

New member
Feb 12, 2010
1
0
For those who use ClockworkMod Recovery, i made a CWM zip file from the normal zip.
It copys the files with the right filenames and change the permissions to sufficiant ones.

Please be aware, that i am not responsible for an damage on your phone, but for me this fix and this package works awsome! :D

Thanks Diem!

Baco and Diem, thanks!!
 

marco-1

New member
Feb 19, 2008
4
0
:)

Hi everybody that still seems to have the GPS Problem.

I had the Gingerbread 2.7 nand installed and followed the replacement of the system / hw files as outlined at the beginning of this thread; all to no avail :mad:


I was looking in a different thread about a possible remedy for this problem.

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

I read IMS1407 's suggestions and just followed them.

as to my phone,

I have an HTC HD2 / Leo that I purchased a year ago. I started playing with Android about a month ago and have successfully installed several nand's from Froyo and Gingerbread. I finally reverted to a FROYO 2.2 (DFT_LEO_NAND_Android). With all of them I had the GPS problem not being able to see any satelites. I purchased GPS Doctor and tried some other so called GPS Fixes, but NONE of them worked. I finally tried the editing of the gps.conf file. I got me Root Explorer and edited the gps.conf file by simply adding below the line
NTP_SERVER=europe.pool.ntp.org

NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org


(I work in Asia at the moment)

I saved the file and God and Behold I had a Fix within seconds verified by GPS Aids and GPS Status APP. :D

again thanks alot IMS1407 .....

Marco
 

brainmaster

Inactive Recognized Developer
Dec 10, 2006
4,064
4,504
Huawei Watch
OnePlus 7T Pro
:)

Hi everybody that still seems to have the GPS Problem.

I had the Gingerbread 2.7 nand installed and followed the replacement of the system / hw files as outlined at the beginning of this thread; all to no avail :mad:


I was looking in a different thread about a possible remedy for this problem.

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

I read IMS1407 's suggestions and just followed them.

as to my phone,

I have an HTC HD2 / Leo that I purchased a year ago. I started playing with Android about a month ago and have successfully installed several nand's from Froyo and Gingerbread. I finally reverted to a FROYO 2.2 (DFT_LEO_NAND_Android). With all of them I had the GPS problem not being able to see any satelites. I purchased GPS Doctor and tried some other so called GPS Fixes, but NONE of them worked. I finally tried the editing of the gps.conf file. I got me Root Explorer and edited the gps.conf file by simply adding below the line
NTP_SERVER=europe.pool.ntp.org

NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org


(I work in Asia at the moment)

I saved the file and God and Behold I had a Fix within seconds verified by GPS Aids and GPS Status APP. :D

again thanks alot IMS1407 .....

Marco

Have you seen this thread?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 108
    Hey guys,

    just a quick thread to inform you that i have just fixed GPS on Gingerbread in a nightly coding excess. I tested it on CM7 and it works.
    Replace the files in your ROM with the respective ones in this tar archive :)

    Download

    cheers
    36
    I've been playing with GPS status aswell. With the current roms, you get a fix which is not updated every second and GPS status does not show satelites.

    As I was trying to port my own ROM, i had a every second fix and GPS status showing satelites while messing with AdamG's Oxygen v2.0 RC6.

    Rafpinga beat me to it by getting Oxygen ported correctly, however using my port files on his build gives me the same results. I'm now able to get a satisfying fix to use with google navigation. It's jumpy here and there but in my opinion way more usable then current GPS status.

    Before trying the files attached, Please rename or backup your current files!!
    I have set permission to 777 on all files using Root explorer. Let me know if it works for you!

    regards,

    ps. I have it working using the files attached (ie gps.htcleo.so). You need to validate if this works for you, or try rename to gps.bravo.so
    16
    converted gps fix to CWM package

    For those who use ClockworkMod Recovery, i made a CWM zip file from the normal zip.
    It copys the files with the right filenames and change the permissions to sufficiant ones.

    Please be aware, that i am not responsible for an damage on your phone, but for me this fix and this package works awsome! :D

    Thanks Diem!
    7
    Great to hear it's working for you guys!
    Ginger with workable GPS feels so much complete :cool:

    Regards,
    Diem
    (Thanks to all who clicked the "Thanks button"! :D)
    5
    Step by step gingerbread new real gps fix

    1) Download the new files from here:
    http://forum.xda-developers.com/showpost.php?p=10636518&postcount=125
    2) Get RootExplorer app or any file manager with root access support
    3) Copy libgps.so to /system/lib and overwrite the original. Tap and hold it and set the permissions to full 777. Tap R/W on tap if system is R/O (read only)
    4) Copy gps.htcleo.so and sensors.bravo.so to /system/lib/hw. Tap and hold those files and set the permissions to full 777. (IF you have gps.bravo.so file in your build, rename gps.htcleo.so to match it to your build and overwrite)
    5) Reboot, make sure gps is enabled from settings - location OR power control widget before you reboot.
    Go outside, launch a gps app. (gps status, google maps or motonav, navigon sygic etc) and wait for gps fix. It would take between 10 to 60 seconds on average. You should see satellite info in gps status app after gps gets a fix. It should update your location every second. It should no longer reset compass to north every few seconds. Your nav software should be working properly now.

    This fixes the gps fix loss/no sat info problem of gauner1986 libs and is provided on page 13 and 14. Check posts from Diem and Baco.
    Now you get satellite info in gingerbread and location is updated every second without resets to north. Don't forget to check file name and permissions.

    Alternative way to update the files via ClockWorkMod (CWM)
    http://forum.xda-developers.com/showpost.php?p=10643150&postcount=137

    Note: 777 permission means tap and hold the file in root explorer and tap permissions. check all the available permissions. It should say rwxrwxrwx (which is equal to 777)
    Some builds have different filenames for the same file, rename accordingly, be sure you overwrite the original. (Remember to always backup any file you replace beforehand)

    The only remaining issue is, gps status says agps info will be downloaded as soon as there is data connection. But there IS data connection and it used to say, agps info downloaded.

    This fix is already included in mdeejays cm7 gingerbread v2.5

    (Gauner1986, can you update the first post?)