[UTIL][12/JUL/12] Samsung Galaxy S2 Chlorine. (bloat cwm-update generator) - Galaxy S II Original Android Development

Status: ONLINE and Updated 12/Jul/12
By request, I've added a sgs2 section for this tool I put together for the SGS.
Basically it's a web based tool that will generate a CWM compatible update.zip to remove pre-installed apps (bloat).
I just recently added a mobile version, that should work from your phones as well.
Android Chlorine
---
SGS Chlorine
SGS2 Chlorine
SGS3 Chlorine
---
SGS Chlorine (mobile)
SGS2 Chlorine (mobile)
SGS3 Chlorine (mobile)
What this does:
This is a little bit of PHP that will generate a customised CWM3 compatible update.zip which will remove specific apks (and associated .odexes).
Usage:
* Choose which APKs you want the update.zip to remove and hit the Generate button.
- You can also select a preset to save some clicking.
* Copy the generated .zip file to your phone.
* Apply it with CWM.
Thanks:
The list of APKs was grabbed from the public google docs spreadsheet.
The SGS2 APK list was grabbed from this public google docs spreadsheet
The SGS3 APK list was grabbed from this public google docs spreadsheet. XDA thread
Notes:
* Requires busybox for mounting /system
* The APK list shouldn't let you remove anything 'vital' to booting the phone (but for SGS2 it may).
* I've tested it myself pretty extensively and used it for the last couple of stock roms released. However, there may be bugs. Let me know and I'll attempt to get them fixed!
* If you have any particular ideas for good presets, also let me know and I'll see to adding them.
* You can remove TouchWiz (TouchWiz30Launcher.apk) with this. However, if you do that without having another home 'app' installed, bad things may (will) happen.
* I also don't actually have a SGS2, so if there are any apps that should NOT be removed in the list, let me know and I'll pull them from the database. The apps in the list are selected from the 'safe to remove' list from the google spreadsheet above.

Nice thanks for that

Link dead
The page is dead for the sg2 site.

murdoch1 said:
The page is dead for the sg2 site.
Click to expand...
Click to collapse
Works fine here...

murdoch1 said:
The page is dead for the sg2 site.
Click to expand...
Click to collapse
Quickly checked and don't have a problem here, is it still dead for you?

Thanks all looks ok aslo page loads fine in FF and Oprea

Doesn't work here either!!!
Sent from my GT-I9100 using xda premium

Can you give any more information other than 'doesn't work'?
404 error?
DNS related error?
browser you used, (either on the phone or on the computer).

Hostname lookup for "m.zahi.me" failed
this is what I get on my mobile

clavicle said:
Hostname lookup for "m.zahi.me" failed
this is what I get on my mobile
Click to expand...
Click to collapse
Thanks! You can work around that by going to www.zahi.me/mobile/sgs2c/
I only added that dns record back 4 days ago, so it's quite possible it hasn't filtered through properly yet. It's also possible that something funky is going on because it's a CNAME, so I'll switch it over to a A record.

sargorn said:
By request, I've added a sgs2 section for this tool I put together for the SGS. The original thread is here.
Basically it's a web based tool that will generate a CWM2/3 compatible update.zip to remove pre-installed apps (bloat).
I just recently added a mobile version, that should work from your phones as well.
Chlorine
SGS Chlorine
SGS2 Chlorine
What this does:
This is a little bit of PHP that will generate a customised CWM3 compatible update.zip which will remove specific apks (and associated .odexes).
Usage:
* Choose which APKs you want the update.zip to remove and hit the Generate button.
- You can also select a preset to save some clicking.
* Copy the generated .zip file to your phone.
* Apply it with CWM2 or CWM3.
Thanks:
The list of APKs was grabbed from the public google docs spreadsheet.
The SGS2 APK list was grabbed from this public google docs spreadsheet
Notes:
* The APK list shouldn't let you remove anything 'vital' to booting the phone (but for SGS2 it may).
* I've tested it myself pretty extensively and used it for the last couple of stock roms released. However, there may be bugs. Let me know and I'll attempt to get them fixed!
* If you have any particular ideas for good presets, also let me know and I'll see to adding them.
* You can remove TouchWiz (TouchWiz30Launcher.apk) with this. However, if you do that without having another home 'app' installed, bad things may (will) happen.
* I also don't actually have a SGS2, so if there are any apps that should NOT be removed in the list, let me know and I'll pull them from the database. The apps in the list are selected from the 'safe to remove' list from the google spreadsheet above.
Click to expand...
Click to collapse
In mobile sgs2 version webpage the bottom checkboxes are cut. Please fix it

sebarkh said:
In mobile sgs2 version webpage the bottom checkboxes are cut. Please fix it
Click to expand...
Click to collapse
Which browser? I've tested with stock (on the sgs i9000) and dolphin and don't see any clipping. Zinio should be last.
Opera mini does make a mess of it, but it doesn't clip.

Switching DNS for that domain over to cloudflare, hopefully it'll fix all the 'not resolving' problems.

Flawless when used with FF 6.0.1 -- haven't (yet) tested it on Dolphin Mini on the SGS2.

I get a very strange issue. At time this works ok, and at other times, for the same zip file i get a CWM Status 0 error when trying to flash it.
edit: fiddled around with the updater-script. Found that mounting /system is better done
Code:
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/stl9", "/system");
Now works fine. You can have a look at my attached updater-script. I had to add a .txt extension so it can uploaded as an attachment. Remove it and have a look at it in notepad++
Thanks for prodiving this

Gave this an update today.
* Functionality for the SGS2 is probably the same.
* Page style changed.
* Added SGS3 support.

Unbelievable!!!!
Sir, you are one genius Web developer, thank your very much for this great tool.
Sent from my GT-I9100 using xda app-developers app

Related

SmartBoot - Bootmanager for WM6.5 .NET3.5

Hi guys,
as I've been around for a while, I decided to share a bit of my work with you, too.
So feel free and use this small program if you like. No warranties as usal from my side.
This Bootmanager has a quite intuitive UI. You get an quick overview of the phone status and can select your boot profiles which you can manage inside the UI as you like (see screen shots below).
Additionally you can have voice announcements, SenseUI control, easy backup & restore of startup folder and program settings and an extended information screen. On this info panel you can find all important information about your phone.
This app only requires .NET CF 3.5 to be installed on your device.
The Pattern of the folder structure is always "\_AutoStart_" & selected Foldername. You can change the folder names in the UI settings tab. The folder "_AutoStart_Backup" is created by the program if you back up your current folder. All other "_AutoStart_" & X folders are created initially, but you want to choose which startup links are in there (folder names are case sensitive!). Just ensure the "X" matches your folder name in the ui settings for this specific button exactly. The default buttons are for Sense UI and XDAndroid. Their respective folder names (in the settings tab) are "Sense" and "Android", therefor I have "_AutoStart_Sense" and "_AutoStart_Android" folders on the root of my phone. In the "_AutoStart_Common" folder you have all the shortcuts which have to start no matter which profile is selected.
Tipp:
I have overclocked my device continously (stable) using this method (with this App) and with SmartBoot I can easily select between OC and non-OC configurations.
For your convenience this Windows Mobile® freeware app supports AppToDate, an easy to use application update program. You can obtain it freely from here.
Please download from Post #2.
Thanks to eboelzner for his great Sense SDK!
Download:
Download SmartBoot only here please. (Please no mirrors or similar!)
Please feel free to leave a comment or bugs found.
PS: I will not provide any localization support. Just english language.
If you want I can create a "Light" Version without sounds and stuff, just mention it.
Also if there is demand for it I could create a step-by-step guide.
AndiCP said:
Download:
Download SmartBoot only here please. (Please no mirrors or similar!)
Please feel free to leave a comment or bugs found.
PS: I will not provide any localization support. Just english language.
If you want I can create a "Light" Version without sounds and stuff, just mention it.
Also if there is demand for it I could create a step-by-step guide.
Click to expand...
Click to collapse
Would be nice if we could download it from there. Tried for 30 min but not possible.
claus1953 said:
Would be nice if we could download it from there. Tried for 30 min but not possible.
Click to expand...
Click to collapse
Downloaded just fine for me. I plan to experiment with Android soon, and this will come in handy. Thanks.
J_M_H said:
Downloaded just fine for me. I plan to experiment with Android soon, and this will come in handy. Thanks.
Click to expand...
Click to collapse
Still no luck for me, it says "site not available or too busy etc etc"
wow
AndiCP said:
Hi guys,
as I've been around for a while, I decided to share a bit of my work with you, too.
So feel free and use this small program if you like. No warranties as usal from my side.
This Bootmanager has a quite intuitive UI. You get an quick overview of the phone status and can select your boot profiles which you can manage inside the UI as you like (see screen shots below).
Additionally you can have voice announcements and an extended information screen. On this info panel you can find all important information about your phone.
This app only requires .NET CF 3.5 to be installed on your device.
I wanted to give the community something back, even though it is not much.
But maybe somebody finds it useful, I just thought I could share. Enjoy!
And please don't be too harsh as this is my first publication. There are more to come if it goes smoothly.
Please download from Post #2.
Thanks to eboelzner for his great Sense SDK!
Click to expand...
Click to collapse
big thank
Thanks, good idea & pretty app. I'll try it.
thanks, look like a very powerful and useful program.
downloading is a bit slow, but smooth.
This promises to be a great app.
Would you consider adding a "safe mode" boot option with it? Just wondering.
And thank you very much for sharing.
hello guys. what is XDAndroid? sorry for being a noob
Thank you for your kind feedback
YOSEFE said:
This promises to be a great app.
Would you consider adding a "safe mode" boot option with it? Just wondering.
And thank you very much for sharing.
Click to expand...
Click to collapse
You currently have two options for a safe mode:
1. Tap "Do nothing" at the initial screen (will exit immediatly -> no boot programs)
2. go to settings and enable "Confirmation", then click the button of your desired boot environment (and you can decide on each short cut -> safe mode).
@All: Thanks for your kind feedback! You are welcome!
PS: If you choose option 2 from above and tap no for at least one shortcut, you will get an "Ooops! Something went wrong!" message at the end.
You can ignore this, as it simply means not all shortcuts got executed.
Where is this app made? Itsn't really clear to me
Installed .cab, soft reset, error:
SmartBoot.exe
DirectoryNotFoundException
at System.IO.Directory.InternalGetFileDirectoryNames(String fullPath, Boolean file)
at System.IO.Directory.InternalGetFiles(String path, String searchPattern)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at SmartBoot.Form1.Check()
at SmartBoot.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at SmartBoot.Form1.Main()
on TMOUS HD2 2.08 stock rom
?
twoply said:
Installed .cab, soft reset, error:
SmartBoot.exe
DirectoryNotFoundException
at System.IO.Directory.InternalGetFileDirectoryNames(String fullPath, Boolean file)
at System.IO.Directory.InternalGetFiles(String path, String searchPattern)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at SmartBoot.Form1.Check()
at SmartBoot.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at SmartBoot.Form1.Main()
on TMOUS HD2 2.08 stock rom
?
Click to expand...
Click to collapse
I've got the same problem.
Hi AndiCP,
i think you have forgotten the xml file. I mean: \Application Data\SmartBoot\Configuration.xml
I have made a empty file. Then the message is:
Fehler: There is an error in XML document (0, 0).
Click to expand...
Click to collapse
OK, that's clear.
Next point: you have written that you support only english, no problem.
But Fehler in the popup's is german . Please fix it. And also upload an XML file please.
Also the \_AutoStart_ folders are not created automaticly. Is this the way how should be?
Have we to do this on our own, or is this a litlle bug we have found ?
BTW:
i have allways installed the right .NET version from MS.
EDIT 1:
you say on your private website that the folder names are case sensitive.
Then it must be: _AutoStart_Backup
In your screenshot: _Autostart_Backup
Sorry to say that the app is NOT working on my phone at this moment.
And i'am not alone. There are more people with problems. Please fix it.
At least sense gives problems on restart the phone.
I had to de-install the good idea app. Also some strange problems
on de-installtion. It was not possible. Only with many know how
i was able to de-install it.
mr.First said:
I've got the same problem.
Click to expand...
Click to collapse
Hello twoply and mr.First,
your program error probably comes from a different Startup folder or restricted access to it.
I can't reproduce this error, but I guessed and put an additional entry into the registry ("HKEY_CURRENT_USER\Software\SmartBoot\Autostart_Folder").
If your folder is not "\Windows\AutoStart\" you can enter another path there.
I also added a reg key to customize the initial sound file ("HKEY_CURRENT_USER\Software\SmartBoot\Sound_Load").
Please download the updated version.
Further you don't have to softreset in order to try or set things up, just go to your start menu and use the shortcut.
Finally I hope this helps you, please report your results here.
mike2nl said:
Hi AndiCP,
i think you have forgotten the xml file. I mean: \Application Data\SmartBoot\Configuration.xml
I have made a empty file. Then the message is:
OK, that's clear.
Next point: you have written that you support only english, no problem.
But Fehler in the popup's is german . Please fix it. And also upload an XML file please.
Also the \_AutoStart_ folders are not created automaticly. Is this the way how should be?
Have we to do this on our own, or is this a litlle bug we have found ?
BTW:
i have allways installed the right .NET version from MS.
EDIT 1:
you say on your private website that the folder names are case sensitive.
Then it must be: _AutoStart_Backup
In your screenshot: _Autostart_Backup
Sorry to say that the app is NOT working on my phone at this moment.
And i'am not alone. There are more people with problems. Please fix it.
At least sense gives problems on restart the phone.
I had to de-install the good idea app. Also some strange problems
on de-installtion. It was not possible. Only with many know how
i was able to de-install it.
Click to expand...
Click to collapse
Hello mike2nl,
first of all "Fehler" means "Error".
Second, "Configuration.xml" not found comes from the SmartBoot Directory not being created properly. (Bug: Updated version 1.01 fixes this, then you will also have all the other folders created automatically on first launch).
Third, "AutoStart" is correct whereas in the screen shot you saw before was a left-over of an earlier version, which doesn't matter, because if it wouldn't be found it will be created during backup process anyway.
Last but not least, I can say nothing about "strange problems".
Thanks for your feedback!
Please download the updated version 1.01 or just run AppToDate
Hi AndiCP,
thanks for your fast reaction. I will test it again now. Downloaded and then install it. Will report later here....
EDIT 1:
after installing the app and two times a soft reset the app blocks sense more then once. Strange...
I had to de-install the little app. This was an adventure again. All known ways are not working.
Only massive working in the windows folder and registry cleaning has helped out of that issue.
On which system you have developed thius app? If there something special done for the SonyEricson?
EDIT 2:
after re-install the application i had denite the folder move for the autostart things. Strange, because
then the app will workig. If i have selected Sense UI i get an error message:
Ooops, something went wrong
Click to expand...
Click to collapse
Is this normal? Why you say it is something went wrong? But so far so good. Will test further now.
EDIT 3 (info only):
i have changed the autostart folder in the cab from \Windows\Auto Start to \Windows\Opstarten (dutch version)
EDIT 4 (question):
Have we to copy the apps/shortcuts for the \_AutoStart_xxx\ folders on uor own?
- if the answer yes, no problem (i think thats the way for now)
- if the answer no, then is something wrong
Possible you can think about that issue for a future version of your helpfull app.
Further i think you must add the descirption from your private website here to the first post:
The Pattern is always "\_AutoStart_" & selected Foldername. You can change the folder names in the UI settings tab. The folder "_AutoStart_Backup" is created by the program if you back up your current folder. All other "_AutoStart_" & X folders are created initially, but you want to choose which startup links are in there (folder names are case sensitive!). Just ensure the "X" matches your folder name in the ui settings for this specific button exactly. The default buttons are for Sense UI and XDAndroid. Their respective folder names (in the settings tab) are "Sense" and "Android", therefor I have "_AutoStart_Sense" and "_AutoStart_Android" folders on the root of my phone. In the "_AutoStart_Common" folder you have all the shortcuts which have to start no matter which profile is selected.
Click to expand...
Click to collapse
AndiCP said:
Hello twoply and mr.First,
your program error probably comes from a different Startup folder or restricted access to it.
I can't reproduce this error, but I guessed and put an additional entry into the registry ("HKEY_CURRENT_USER\Software\SmartBoot\Autostart_Folder").
If your folder is not "\Windows\AutoStart\" you can enter another path there.
I also added a reg key to customize the initial sound file ("HKEY_CURRENT_USER\Software\SmartBoot\Sound_Load").
Please download the updated version.
Further you don't have to softreset in order to try or set things up, just go to your start menu and use the shortcut.
Finally I hope this helps you, please report your results here.
Click to expand...
Click to collapse
Thank you for updating application.
Indeed, my Startup folder has another name. I changed the path in the registry, and now everything works.
mike2nl said:
Hi AndiCP,
thanks for your fast reaction. I will test it again now. Downloaded and then install it. Will report later here....
EDIT 1:
after installing the app and two times a soft reset the app blocks sense more then once. Strange...
I had to de-install the little app. This was an adventure again. All known ways are not working.
Only massive working in the windows folder and registry cleaning has helped out of that issue.
On which system you have developed thius app? If there something special done for the SonyEricson?
EDIT 2:
after re-install the application i had denite the folder move for the autostart things. Strange, because
then the app will workig. If i have selected Sense UI i get an error message:
Is this normal? Why you say it is something went wrong? But so far so good. Will test further now.
EDIT 3 (info only):
i have changed the autostart folder in the cab from \Windows\Auto Start to \Windows\Opstarten (dutch version)
EDIT 4 (question):
Have we to copy the apps/shortcuts for the \_AutoStart_xxx\ folders on uor own?
- if the answer yes, no problem (i think thats the way for now)
- if the answer no, then is something wrong
Possible you can think about that issue for a future version of your helpfull app.
Further i think you must add the descirption from your private website here to the first post:
Click to expand...
Click to collapse
to Edit 1: I can't reproduce and never had something like that, sounds like you have problems in your rom anyway as you are the only one reporting this.
Info: Its a simple and standard setup cab (auto generated). Nothing special or changed, it only copies the files. It works the same way on every windows mobile version.
to Edits 2&3: as I said, please check your Autostart folder and change it accordingly.
to Edit 4: Yes. I won't ever include a filemanager!
Hi AndiCP,
i have downloaded the last version yesterday. Installed it and it is running.
At now withour any issue. I think the changings are the solution. But with
un-installation i have my issues. Also when sense is off. But that is not
really a big issue, yet. I will test this again after the next hard reset.
I think this comes with the next CHT test. We, the team, are really haevy busy .
So far, excellent app, that helps me to organize my startup issues on all
CHT (e, s, ...) issues. Thanks for that. That brings us a good effort.
Will report this to co0kie (CHT) and Dark Ninja (GTX).
BTW:
possible you can tell me (PM) where you get or has made the sound files.
I will change something for my needs

[Q] about butchering SE ROM

Hi all,
in order to learn something useful on ROM customization i begin to strip down the original SE ROM (that comes with latest update 2.1.1.C.0.0), but as always I've some doubts:
* stock market application is in some way restricted? Should I install a common one?
* how could I customize applications autostart (e.g. on event BOOT_COMPLETE and so on) without using a specific application (is there a configuration file for this or any application sets up its hooks to events)?
* is there a way to know all possible properties accepted in "build.prop"?
* if I disable the boot animation (I really hate it ;-P) in "build.prop" and in "init.rc", what boot animation's files could I remove?
Thanks
ff0000.it said:
Hi all,
in order to learn something useful on ROM customization i begin to strip down the original SE ROM (that comes with latest update 2.1.1.C.0.0), but as always I've some doubts:
* stock market application is in some way restricted? Should I install a common one?
* how could I customize applications autostart (e.g. on event BOOT_COMPLETE and so on) without using a specific application (is there a configuration file for this or any application sets up its hooks to events)?
* is there a way to know all possible properties accepted in "build.prop"?
* if I disable the boot animation (I really hate it ;-P) in "build.prop" and in "init.rc", what boot animation's files could I remove?
Thanks
Click to expand...
Click to collapse
1) Up to you.
2) Android uses a broadcast intent to announe the BOOT_COMPLETE, any app which has a reciever registered for this intent will be notified by android. And I think android reads the apk of each file every boot.(correct me if im wrong)
3)I don't know
4)the bootanimation is stored in /system/media/bootanimation.zip
Hi ruifung,
ruifung said:
1) Up to you.
2) Android uses a broadcast intent to announe the BOOT_COMPLETE, any app which has a reciever registered for this intent will be notified by android. And I think android reads the apk of each file every boot.(correct me if im wrong)
3)I don't know
4)the bootanimation is stored in /system/media/bootanimation.zip
Click to expand...
Click to collapse
1. I'm so glad about It :-D
2. so i'm wondering what application like "gemini app manager" does when you change an application's autorun behaviour and faith (or Murphy) is by my side because his blog is in Japanese... hooray!!! :-D :-| :-/
3. ok, i'll try further investigation
4. ok, and what about these:
Code:
# ls /system/etc/semc/chargemon
anim2.rle
anim5.rle
anim1.rle
anim8.rle
anim7.rle
anim6.rle
anim4.rle
anim3.rle
When iam right is 4. The animations that the phone display when charges
Sent from my U20i with MiniCM6 v5.0 FINAL

AGPS Patch XPERIA X8 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SATS

AGPS Patch XPERIA X8 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SATS
AGPS PATCH
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
List of officially supported devices is at the bottom of this post.
Use this if you're having GPS issues (unreliability, no functionality, etc.)
This patch provides a worldwide solution to GPS issue for multiple devices. Using a general ROM without this has resulted in 10+ minutes of GPS delay. Also, GPS lock kept being lost. By using this patch, most people experience a GPS lock within 10 seconds (2 - 20 seconds range can be expected). Typically, a device using this patch will lock onto 7 - 9 satellites. Users have reported up to 11 satellites being locked at once. Without this patch, the average satellite count is 4.
HOWTO INSTALL: (Remember to make a backup. See Notes section for what this patch does.)
Method 1:
1. Download the "ADB Push Installer". This contains all versions for the latest build and old v1.3 versions.
2. Extract the files into a specific folder.
3. Plug your device into the computer and get it ready for adb pushing. Nothing out of the ordinary required.
4. Open the batch file called "ADB Installation Script - RUN THIS" if you use Windows. Otherwise, run the Linux SH script if you use Linux.
5. Select the version you want from the list.
6. Follow the prompts to reboot. You're done.
4. Review the NOTES section.
Method 2:
1. Download the patch
2. Copy all file(s)* into /etc/ of the system (not sd-card) using ES File Explorer, Root Explorer, or some other form. You must have SYSTEM set to Mounted and Root enabled. Check your explorer app's SETTINGS to do this.
**Files will be: gps.conf & SUPLROOTCERT -OR- only gps.conf for NO-SSL builds.**
3. Reboot the device
4. Review the NOTES section.
*Files are located in the /system/ folder of the ZIP. Do not copy the other directories or folders.
Method 3 (easiest if you use a compatible version of CWR or CWM)*:
1. Download the patch
2. Boot into CWR (Clockwork Recovery)
3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")
4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)
If you receive "(Status 0) Installation aborted" this Method will not work for you. Use one of the other methods.
5. Reboot the device
6. Review the NOTES section.
*This was built for and works on Inspire 4G and DesireHD versions of Clockwork Recovery. The Google CWM Flashable Build has binaries known to work with CWM on the X8. It may work on other devices. Please message me your success if you try and flash with recovery version and phone model as part of the message.
Downloads:
SEE THE NOTES SECTION (PARTICULARLY NOTES 1,2, & 3) FOR ALL SORTS OF INFORMATION AND FACTS ABOUT THIS PATCH, WHAT EACH BUILD IS FOR, VERSION DIFFERENCES, AND KNOWN ISSUES WITH SOLUTIONS.
Recommended Builds (pick either):
Download the Google Specific No-SSL v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Confused with all the options below? As the Notes section dictates: I recommend the GOOGLE BUILD of all devices. Other builds have changes in their SUPL server information and/or other variables pertinent to that manufacturer. These builds do not appear to operate as fast as Google build's but are available for your enjoyment.
3.x trunk Alternative Options (currently v3.1)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
2.x trunk Alternative Options (currently v2.2)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
Changelog: (I'll try to keep this correct and current)
Code:
v3.1 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v3.1(HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
introduced my own NTP pools
repaired the LG Alternate build (was same as standard build, compilation error)
v3.0 (HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
based on v2.2 configuration
has my own XTRA/AGPS server instead of Qualcomm
re-added two AGPS variables from v1.3 (two beta-testers saw instant results with these re-added)
re-added on USE SUPL variable from v1.3 (two beta-testers saw instant results with these re-added)
variables are now divided into sections and sections have descriptions
Code:
v2.2 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v2.2 (additional builds added)
added a new SUPL version using data from Sony Ericsson
added an alternate release using LG SUPL servers
added an alternate release using Google SUPL servers
updated the ADB PUSH to include new versions
fixed broken download links for the patch
v2.2
removed local AGPS variable
removed local XTRA_SERVER variable
created LG Build with LG SUPL servers (some LG ROMs fail to work with non-LG SUPL servers)
reduced redundancy in NTP and XTRA (unnecessary entries)
added newly located SUPL server to T-Mobile build
v2.1 (encompassing changes between 1.3 to 2.1)
removed two NTP server pools
removed xtra1 server
removed multiple SUPL_HOST entries
aligned SUPL_HOST with SUPLROOTCERT in each package
increased QOS timeout from 89 to 100
removed QOS standalone timeout variable
removed extra AGPS variables
Old Versions:
3.x Trunk:
v3.0 ADB Push Installer
v3.0 Google Build
v3.0 Google Alternate Build
v3.0 Google CWM Build
v3.0 AT&T Build
v3.0 T-Mobile Build
v3.0 LG Build
v3.0 LG Alternate Build
v3.0 Sony Ericsson Build
v3.0 GPS Only Build
v3.0 GPS Only Alternate Build
2.x Trunk:
v2.1 Google Generic Build
v2.1 AT&T Specific Build
v2.1 T-Mobile Specific Build
v2.1 GPS.Conf Only Build
v2.1 GPS.Conf Only Build (alternate)
v2.0 Google Generic Build
v2.0 AT&T Specific Build
v2.0 T-Mobile Specific Build
v2.0 GPS.Conf Only Build
v2.0 GPS.Conf Only Build (alternate)
1.x Trunk:
Worldwide 1.3
Worldwide 1.3n (alternate)
North America 1.2
Worldwide 1.2
Worldwide 1.2n (alternate)
North America 1.1
Worldwide 1.1
Worldwide 1.0 (not recommended)
North America 1.0 (not recommended)
Rules For Posting Questions:
Read the Notes Section first. I will refuse to answer questions that can be answered by some reading. If it is based upon something in the Notes Section, REFER TO THE NOTE when asking.
Answer the following questions: What ROM you are using?, What kernel are you using?, What GPS apps you have installed?, Where is your general location?, Are you using a case?, Has your GPS worked fine before?, Does it work fine with some apps and not others?, What else happened around the time your GPS stopped working? -AND- Have you reviewed the Notes Section?
DO NOT criticize the user of custom third-party NTP pools and xtra.bin data as dangerous. You obviously HAVE NOT read the Notes section OR reviewed the concurrent branch 2.x to discover it offers the standard NTP pool and Qualcomm-based xtra.bin server.
Don't indulge yourself in ignornat posts. Provide information that may be relevant to helping. Simply stating "this stopped working" or "I can't get it to work" helps nothing and only annoys other readers AND those who may be willing to help you just will not do it.
NOTES Section:
This patch will work with virtually all Qualcomm, Android phones and has been reported to work with other chipsets as well. That means hundreds of devices could see a benefit to GPS performance from this patch.
This patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
I recommend the GOOGLE BUILD of all trunks. However, you can use any build with any phone. You may have good luck with specific builds that do not fit your phone or carrier criteria. If you're curious, test it and see.
This works with ANY ROM unless the ROM has aGPS and/or GPS disabled in the code. This happens with CMx nightlies and some betas! I cannot fix this, neither can you.
Remember, this has to be reflashed when you update or change ROMs.
Short patch history: The 1.x trunk only flashed a modified gps.conf file which relied solely on Qualcomm and NTP.ORG. Starting with 2.x, a gps.conf and a matching SUPLROOTCERT file for SUPL server authentication is included. The 3.x trunk offers the same as v2.x but adds better sourcing for NTP data and for the xtra.bin file; it utilizes my own server to do so.
Why toss out SSL?Whether or not you have a current SUPL certificate is questionable. Some have expired. Some will expire soon. Either way, the servers may provide SSL access without proper certificates depending upon configuration. That aside, I have found that SSL and secure communications over data networks slows the response times. I see no reason to use SSL for location information. If someone has a logger to obtain your location, SSL will not assist in stopping it. The bad app will continue to obtain your information by "stealing" it and you have more problems than a simple SSL-SUPL communications leak.
NO-SSL Builds will not have a SUPLROOTCERT because these builds do not use SSL. The SUPLROOTCERT is a certificate used for authentication of SSL connections. There is no need for this file for the GPS at this point.
IF you have issues with v2.x or v3.x, your ROM might require more variables. Try the old worldwide v1.3 version in this instance.
IF you still are facing issues, it might be that your GPS hardware is very much outdated. Try any "Alternate" build to see if this helps.
CMx ROM users may not experience benefits from this patch. However, we have had good reports from CM users with one negative one. Remember to do all of the steps when flashing and the following notes are important too!
Reports indicate that this patch DOES WORK with the next iteration of Android, Jelly Bean. This patch has worked from Android 2.2 (Froyo) up through Android 4.1 (Jelly Bean). Therefore, it works with all iterations on the market. I will remove support as soon as it is confirmed to NOT work with a new version of Android.
Reports show that certain ROM's including some CM builds require a modification in the build.prop. You need to change "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to be "ro.ril.def.agps.mode = 1" in order for aGPS to properly function. Only do this IF YOU ARE HAVING PROBLEMS after attempting the standard patch.
Your phone "learns" about the individual GPS satellites. This is part of the aGPS design. Don't be surprised if the first time you use GPS Status that it takes 20+ seconds to "lock".
I have read a lot that indicates that it is best to let your GPS run using any application for a while to "learn" aGPS information. I let GPS Status run for about 10 minutes (it has an option to disable the screen timeout, which I do) each "first time" to learn. I say each because I test a lot of tweaks and fully reset/delete GPS cached information to start retesting.
Remember, this has to be reflashed when you update or change ROMs. Each ROM will have its own gps.conf, normally not suited to all devices.
I use GPS Status to test my signal strength. It isn't 100% accurate, but it gives a very good sense of how the GPS is performing.
If you're wondering why GPS is slow on certain apps? Or, you show up as on a street when you're 6 meters away from it? Well, those apps process GPS data differently which is out of anyone's control except the app developer. Certain apps will force your location to a street until you pass the app error threshold. Food for thought.
DO NOT USE ANY OTHER GPS FIXING APPS with this patch. If you do, and you still have problems, I cannot help you. A number of these Apps will overwrite what my patch does dynamically.
Variables are described starting in v3.0. Open up gps.conf in a text editor to read about what variable sections are for. It isn't in-depth, but should be enough to help you get a general understanding.
Still having weak GPS reception? Take your case off. Cases have been known to affect signal, though some argue against it. Personally, I get 3 more sat's when I remove my case.
There is a reported variable that can cause some GPS units not to work as well as it should with this patch. This is very odd as it's hit-and-miss and only seems to cause problems on less than 10% of handsets. This doesn't mean it screws up anything! It's possibly an older piece of GPS hardware incompatible with this variable. Have no fear, v1.2 will remove this variable for the worldwide version. This issue is more prone to occur in DHD.
Tried taking the battery out for 30 seconds? Some have reported that their phone required the battery to be removed. First, power off the device. Second, remove the battery for 30 seconds. Third, put it back in and give it a try. I cannot explain this except for possible cache clearing.
Some Inspire 4G and DHD devices have hardware problems. There is a known problem that the spring connectors to the GPS antenna sometimes are out of place or quit touching. http://forum.xda-developers.com/showthread.php?t=1101066 provides a video on self-repair.
An error in flashing this patch means that this method will not work for you. Use one of the other methods for flashing this patch. Don't ask why or for a fix. There are hundreds of variations of recovery systems and update binaries. I do not have the time or desire to support them all. This is why I describe other install methods. Reference error: E:Error in /sdcard/android apps/agps.patch.google.build.nossl.v3.1.zip (Status 0) Installation aborted.
Location is way off? Like, not near you at all? This means your GPS is not actually being used. Try the following to resolve it: Goto Settings -> Locations and disable ALL options. Reboot into recovery. Clear Cache and Dalvik Cache. Reboot normally. Go back to Settings -> Locations and only enable GPS. Reboot once more and try your GPS again. If this didn't work, did you read all of the Notes such as the one about the battery or RIL?
Donations: If you wonder why I asked for donations, it's simple. Users of v3.x are gaining extra, noticeable benefit over v2.x. This comes at a cost to someone. I pay the bills to provide a reliable data setup to transmit the xtra.bin data file and to provide the top NTP SERVERS in one DNS pool. To help keep this going, I just ask for the user to consider a donation. Nothing more, nothing less. Thank you for your consideration.
AGPS Patch Officially Supported Devices:
Acer Iconia
Asus Transformer Prime
Asus Transformer (TF101)
Asus Transformer TF300T
HTC Inspire 4G
HTC Desire HD
HTC Sensation
HTC Incredible S
HTC Salsa
HTC Flyer
HTC Evo 3D
HTC Desire S
HTC Wildfire
HTC Wildfire S
HTC Droid Incredible 2
HTC Thunderbolt
HTC Desire
HTC Desire Z
HTC One X
LG GT-540 OPTIMUS
LG Optimus One
Motorola Triumph
Motorola Droid X2
Samsung Galaxy S II Skyrocket (SGH-I727)
Samsung Galaxy S II (I9100)
Samsung Galaxy S II (SGH-T989)
Samsung Galaxy S Plus I9000
Samsung Galaxy Nexus
Samsung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Samsung Galaxy S 4G
Sony Ericcson XPERIA X8
* I do not officially support all devices that this patch is known to work on at this time. You may private message me your success story for official support considerations.
Thanks Section
While this has gone a long distance since its inception, I want to still send thanks to Angeldeath for permitting me to take his early work and start tweaking it for HTC Inspire 4G users. This inevitably led to what we have here today.
Thank you to all those who joined and participate in the testing community. Without their help, I couldn't get enough data to know how well this works on different devices and in various regions of this planet we call Earth.
Thank you eagleeyetom, husky69, and tamagotono for their work in building an ADB pushing environment for Windows and for Linux respectively.
If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
Reserved for future use..thanks for sharing bro..
Sent from my X8 using XDA Premium App
It look's nice release.... Try it right now!!!
Good job
Great work
cannot wait to test
Thanks
Well... I installed the patch, run GPS status for a few minutes....
then I open Google Maps and the GPS was locked in f**ing 5 seconds.... inside my house...
I'm using GingerDX v015, Stock Kernel
Let me know how it goes. The beta testers said it worked great with their custom ROMs and this device. I don't own this phone, so that's as good as I can get on knowing performance.
Apparently, someone didn't like this without even commenting about their problem, if any. It got a bad thread rating because of one user. Go figure.
Does your file update before?
I am still using your gps.conf before this.
Still the same, no positive or negative comment, after 1month using it.
Edit:sorry around 2weeks.
wc_how said:
Does your file update before?
I am still using your gps.conf before this.
Still the same, no positive or negative comment, after 1month using it.
Edit:sorry around 2weeks.
Click to expand...
Click to collapse
I believe that there is an update to it compared to beta 2. Don't forget to use the SUPL/conf together.
Thks mate, now my gps lock in less than 4secs after opening iGo . Pretty good
I was suffering a bit with this, but now you provided me the solution
Thank anywhere.
And mind to tell what are the difference between Google,AT&T and the T-Mobile version?
wc_how said:
Thank anywhere.
And mind to tell what are the difference between Google,AT&T and the T-Mobile version?
Click to expand...
Click to collapse
It's all about the SUPLROOTCERT variable and SUPLSERVER variable.
If you're a customer of AT&T or TMobile, you can download and use the patch that includes their specific SUPLSERVER configured into the gps.conf and their SUPLROOTCERT file.
I prefer the Generic/Google one because it uses a Verisign cert and the GOOGL SUPLSERVER which has never let me down.
I'm just trying to assist those who complained in the past.
Found satellites in seconds (before it took around a minute or two). Used Generic/Google. Thank you!
Manually installed as the generic google zip reported installation failed on my CWM for some reason.. Gingerdx V017, stock kernel, dual mode CWM and Xrecovery with this rom..
Works great... very fast to find GPS. Thank you!
i also installed manually, because cmw give an error (gdx+ldx). when i open maps, gps is show me my location in few seconds, but after 5-10 sec he lost location and show that there are no connected satellites. any body have this problem?
What does it actually do? Please, I don't understand.
velnens123 said:
What does it actually do? Please, I don't understand.
Click to expand...
Click to collapse
It allows you to be able to lock on to more GPS satellites and thus lock on to your current position faster and more accurately.
15jkeee said:
i also installed manually, because cmw give an error (gdx+ldx). when i open maps, gps is show me my location in few seconds, but after 5-10 sec he lost location and show that there are no connected satellites. any body have this problem?
Click to expand...
Click to collapse
Let it run for a while the first time.
Where are you located? Are you trying this inside a building? If you're outside, is it an open area or are there lots of tall buildings around? Do you have your phone in a case?
SpyderX said:
It allows you to be able to lock on to more GPS satellites and thus lock on to your current position faster and more accurately.
Click to expand...
Click to collapse
Thank you!
i lock 11 or more satellites with out any patch...
-ReaL- said:
i lock 11 or more satellites with out any patch...
Click to expand...
Click to collapse
Many are not so lucky...hence the 100k downloads of this patch since I started building it.
I can't fix what isn't broken.

AGPS Patch Droid X2 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, LOCK EXTRA SATS

AGPS PATCH
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
List of officially supported devices is at the bottom of this post.
Use this if you're having GPS issues (unreliability, no functionality, etc.)
This patch provides a worldwide solution to GPS issue for multiple devices. Using a general ROM without this has resulted in 10+ minutes of GPS delay. Also, GPS lock kept being lost. By using this patch, most people experience a GPS lock within 10 seconds (2 - 20 seconds range can be expected). Typically, a device using this patch will lock onto 7 - 9 satellites. Users have reported up to 11 satellites being locked at once. Without this patch, the average satellite count is 4.
HOWTO INSTALL: (Remember to make a backup. See Notes section for what this patch does.)
Method 1:
1. Download the "ADB Push Installer". This contains all versions for the latest build and old v1.3 versions.
2. Extract the files into a specific folder.
3. Plug your device into the computer and get it ready for adb pushing. Nothing out of the ordinary required.
4. Open the batch file called "ADB Installation Script - RUN THIS" if you use Windows. Otherwise, run the Linux SH script if you use Linux.
5. Select the version you want from the list.
6. Follow the prompts to reboot. You're done.
4. Review the NOTES section.
Method 2:
1. Download the patch
2. Copy all file(s)* into /etc/ of the system (not sd-card) using ES File Explorer, Root Explorer, or some other form. You must have SYSTEM set to Mounted and Root enabled. Check your explorer app's SETTINGS to do this.
**Files will be: gps.conf & SUPLROOTCERT -OR- only gps.conf for NO-SSL builds.**
3. Reboot the device
4. Review the NOTES section.
*Files are located in the /system/ folder of the ZIP. Do not copy the other directories or folders.
Method 3 (easiest if you use a compatible version of CWR or CWM)*:
1. Download the patch
2. Boot into CWR (Clockwork Recovery)
3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")
4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)
If you receive "(Status 0) Installation aborted" this Method will not work for you. Use one of the other methods.
5. Reboot the device
6. Review the NOTES section.
*This was built for and works on Inspire 4G and DesireHD versions of Clockwork Recovery. The Google CWM Flashable Build has binaries known to work with CWM on the X8. It may work on other devices. Please message me your success if you try and flash with recovery version and phone model as part of the message.
Downloads:
SEE THE NOTES SECTION (PARTICULARLY NOTES 1,2, & 3) FOR ALL SORTS OF INFORMATION AND FACTS ABOUT THIS PATCH, WHAT EACH BUILD IS FOR, VERSION DIFFERENCES, AND KNOWN ISSUES WITH SOLUTIONS.
Recommended Builds (pick either):
Download the Google Specific No-SSL v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Confused with all the options below? As the Notes section dictates: I recommend the GOOGLE BUILD of all devices. Other builds have changes in their SUPL server information and/or other variables pertinent to that manufacturer. These builds do not appear to operate as fast as Google build's but are available for your enjoyment.
3.x trunk Alternative Options (currently v3.1)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL TWRP build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
2.x trunk Alternative Options (currently v2.2)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
Changelog: (I'll try to keep this correct and current)
Code:
v3.1 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v3.1(HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
introduced my own NTP pools
repaired the LG Alternate build (was same as standard build, compilation error)
v3.0 (HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
based on v2.2 configuration
has my own XTRA/AGPS server instead of Qualcomm
re-added two AGPS variables from v1.3 (two beta-testers saw instant results with these re-added)
re-added on USE SUPL variable from v1.3 (two beta-testers saw instant results with these re-added)
variables are now divided into sections and sections have descriptions
Code:
v2.2 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v2.2 (additional builds added)
added a new SUPL version using data from Sony Ericsson
added an alternate release using LG SUPL servers
added an alternate release using Google SUPL servers
updated the ADB PUSH to include new versions
fixed broken download links for the patch
v2.2
removed local AGPS variable
removed local XTRA_SERVER variable
created LG Build with LG SUPL servers (some LG ROMs fail to work with non-LG SUPL servers)
reduced redundancy in NTP and XTRA (unnecessary entries)
added newly located SUPL server to T-Mobile build
v2.1 (encompassing changes between 1.3 to 2.1)
removed two NTP server pools
removed xtra1 server
removed multiple SUPL_HOST entries
aligned SUPL_HOST with SUPLROOTCERT in each package
increased QOS timeout from 89 to 100
removed QOS standalone timeout variable
removed extra AGPS variables
Old Versions:
3.x Trunk:
v3.0 ADB Push Installer
v3.0 Google Build
v3.0 Google Alternate Build
v3.0 Google CWM Build
v3.0 AT&T Build
v3.0 T-Mobile Build
v3.0 LG Build
v3.0 LG Alternate Build
v3.0 Sony Ericsson Build
v3.0 GPS Only Build
v3.0 GPS Only Alternate Build
2.x Trunk:
v2.1 Google Generic Build
v2.1 AT&T Specific Build
v2.1 T-Mobile Specific Build
v2.1 GPS.Conf Only Build
v2.1 GPS.Conf Only Build (alternate)
v2.0 Google Generic Build
v2.0 AT&T Specific Build
v2.0 T-Mobile Specific Build
v2.0 GPS.Conf Only Build
v2.0 GPS.Conf Only Build (alternate)
1.x Trunk:
Worldwide 1.3
Worldwide 1.3n (alternate)
North America 1.2
Worldwide 1.2
Worldwide 1.2n (alternate)
North America 1.1
Worldwide 1.1
Worldwide 1.0 (not recommended)
North America 1.0 (not recommended)
Rules For Posting Questions:
Read the Notes Section first. I will refuse to answer questions that can be answered by some reading. If it is based upon something in the Notes Section, REFER TO THE NOTE when asking.
Answer the following questions: What ROM you are using?, What kernel are you using?, What GPS apps you have installed?, Where is your general location?, Are you using a case?, Has your GPS worked fine before?, Does it work fine with some apps and not others?, What else happened around the time your GPS stopped working? -AND- Have you reviewed the Notes Section?
DO NOT criticize the user of custom third-party NTP pools and xtra.bin data as dangerous. You obviously HAVE NOT read the Notes section OR reviewed the concurrent branch 2.x to discover it offers the standard NTP pool and Qualcomm-based xtra.bin server.
Don't indulge yourself in ignornat posts. Provide information that may be relevant to helping. Simply stating "this stopped working" or "I can't get it to work" helps nothing and only annoys other readers AND those who may be willing to help you just will not do it.
NOTES Section:
This patch will work with virtually all Qualcomm, Android phones and has been reported to work with other chipsets as well. That means hundreds of devices could see a benefit to GPS performance from this patch.
This patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
I recommend the GOOGLE BUILD of all trunks. However, you can use any build with any phone. You may have good luck with specific builds that do not fit your phone or carrier criteria. If you're curious, test it and see.
This works with ANY ROM unless the ROM has aGPS and/or GPS disabled in the code. This happens with CMx nightlies and some betas! I cannot fix this, neither can you.
Remember, this has to be reflashed when you update or change ROMs.
Short patch history: The 1.x trunk only flashed a modified gps.conf file which relied solely on Qualcomm and NTP.ORG. Starting with 2.x, a gps.conf and a matching SUPLROOTCERT file for SUPL server authentication is included. The 3.x trunk offers the same as v2.x but adds better sourcing for NTP data and for the xtra.bin file; it utilizes my own server to do so.
Why toss out SSL?Whether or not you have a current SUPL certificate is questionable. Some have expired. Some will expire soon. Either way, the servers may provide SSL access without proper certificates depending upon configuration. That aside, I have found that SSL and secure communications over data networks slows the response times. I see no reason to use SSL for location information. If someone has a logger to obtain your location, SSL will not assist in stopping it. The bad app will continue to obtain your information by "stealing" it and you have more problems than a simple SSL-SUPL communications leak.
NO-SSL Builds will not have a SUPLROOTCERT because these builds do not use SSL. The SUPLROOTCERT is a certificate used for authentication of SSL connections. There is no need for this file for the GPS at this point.
IF you have issues with v2.x or v3.x, your ROM might require more variables. Try the old worldwide v1.3 version in this instance.
IF you still are facing issues, it might be that your GPS hardware is very much outdated. Try any "Alternate" build to see if this helps.
CMx ROM users may not experience benefits from this patch. However, we have had good reports from CM users with one negative one. Remember to do all of the steps when flashing and the following notes are important too!
Reports indicate that this patch DOES WORK with the next iteration of Android, Jelly Bean. This patch has worked from Android 2.2 (Froyo) up through Android 4.1 (Jelly Bean). Therefore, it works with all iterations on the market. I will remove support as soon as it is confirmed to NOT work with a new version of Android.
Reports show that certain ROM's including some CM builds require a modification in the build.prop. You need to change "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to be "ro.ril.def.agps.mode = 1" in order for aGPS to properly function. Only do this IF YOU ARE HAVING PROBLEMS after attempting the standard patch.
Your phone "learns" about the individual GPS satellites. This is part of the aGPS design. Don't be surprised if the first time you use GPS Status that it takes 20+ seconds to "lock".
I have read a lot that indicates that it is best to let your GPS run using any application for a while to "learn" aGPS information. I let GPS Status run for about 10 minutes (it has an option to disable the screen timeout, which I do) each "first time" to learn. I say each because I test a lot of tweaks and fully reset/delete GPS cached information to start retesting.
Remember, this has to be reflashed when you update or change ROMs. Each ROM will have its own gps.conf, normally not suited to all devices.
I use GPS Status to test my signal strength. It isn't 100% accurate, but it gives a very good sense of how the GPS is performing.
If you're wondering why GPS is slow on certain apps? Or, you show up as on a street when you're 6 meters away from it? Well, those apps process GPS data differently which is out of anyone's control except the app developer. Certain apps will force your location to a street until you pass the app error threshold. Food for thought.
DO NOT USE ANY OTHER GPS FIXING APPS with this patch. If you do, and you still have problems, I cannot help you. A number of these Apps will overwrite what my patch does dynamically.
Variables are described starting in v3.0. Open up gps.conf in a text editor to read about what variable sections are for. It isn't in-depth, but should be enough to help you get a general understanding.
Still having weak GPS reception? Take your case off. Cases have been known to affect signal, though some argue against it. Personally, I get 3 more sat's when I remove my case.
There is a reported variable that can cause some GPS units not to work as well as it should with this patch. This is very odd as it's hit-and-miss and only seems to cause problems on less than 10% of handsets. This doesn't mean it screws up anything! It's possibly an older piece of GPS hardware incompatible with this variable. Have no fear, v1.2 will remove this variable for the worldwide version. This issue is more prone to occur in DHD.
Tried taking the battery out for 30 seconds? Some have reported that their phone required the battery to be removed. First, power off the device. Second, remove the battery for 30 seconds. Third, put it back in and give it a try. I cannot explain this except for possible cache clearing.
Some Inspire 4G and DHD devices have hardware problems. There is a known problem that the spring connectors to the GPS antenna sometimes are out of place or quit touching. http://forum.xda-developers.com/showthread.php?t=1101066 provides a video on self-repair.
An error in flashing this patch means that this method will not work for you. Use one of the other methods for flashing this patch. Don't ask why or for a fix. There are hundreds of variations of recovery systems and update binaries. I do not have the time or desire to support them all. This is why I describe other install methods. Reference error: E:Error in /sdcard/android apps/agps.patch.google.build.nossl.v3.1.zip (Status 0) Installation aborted.
Location is way off? Like, not near you at all? This means your GPS is not actually being used. Try the following to resolve it: Goto Settings -> Locations and disable ALL options. Reboot into recovery. Clear Cache and Dalvik Cache. Reboot normally. Go back to Settings -> Locations and only enable GPS. Reboot once more and try your GPS again. If this didn't work, did you read all of the Notes such as the one about the battery or RIL?
Donations: If you wonder why I asked for donations, it's simple. Users of v3.x are gaining extra, noticeable benefit over v2.x. This comes at a cost to someone. I pay the bills to provide a reliable data setup to transmit the xtra.bin data file and to provide the top NTP SERVERS in one DNS pool. To help keep this going, I just ask for the user to consider a donation. Nothing more, nothing less. Thank you for your consideration.
AGPS Patch Officially Supported Devices:
Acer Iconia
Asus Transformer Prime
Asus Transformer (TF101)
Asus Transformer TF300T
HTC Inspire 4G
HTC Desire HD
HTC Sensation
HTC Incredible S
HTC Salsa
HTC Flyer
HTC Evo 3D
HTC Desire S
HTC Wildfire
HTC Wildfire S
HTC Droid Incredible 2
HTC Thunderbolt
HTC Desire
HTC Desire Z
HTC One X
LG GT-540 OPTIMUS
LG Optimus One
Motorola Triumph
Motorola Droid X2
Samsung Galaxy S II Skyrocket (SGH-I727)
Samsung Galaxy S II (I9100)
Samsung Galaxy S II (SGH-T989)
Samsung Galaxy S Plus I9000
Samsung Galaxy Nexus
Samsung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Samsung Galaxy S 4G
Sony Ericcson XPERIA X8
* I do not officially support all devices that this patch is known to work on at this time. You may private message me your success story for official support considerations.
Thanks Section
While this has gone a long distance since its inception, I want to still send thanks to Angeldeath for permitting me to take his early work and start tweaking it for HTC Inspire 4G users. This inevitably led to what we have here today.
Thank you to all those who joined and participate in the testing community. Without their help, I couldn't get enough data to know how well this works on different devices and in various regions of this planet we call Earth.
Thank you eagleeyetom, husky69, and tamagotono for their work in building an ADB pushing environment for Windows and for Linux respectively.
If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
This is TENTATIVE support at the time I write this post. I've had private messages from individuals stating that the patch has really benefited their GPS usage on this device.
Please read the OP entirely to answer your questions. Report successes and whatever else pertinent to the thread, please.
Interesting. Thanks for this.
I've been using this fix on my x2 (cm7 beta 2) since the 12th and I enjoy geo caching and this has been a nice addition. Better sat fixes, faster and way more accurate. On the side my brother goes with me and uses his iphone, this makes my gps waaayy better!
Did you guys just adb push it? Or does flash work?
styleKIMCHEE said:
Did you guys just adb push it? Or does flash work?
Click to expand...
Click to collapse
Very clear instructions on how to do either in the OP. What are you asking?
DigitalMD said:
Very clear instructions on how to do either in the OP. What are you asking?
Click to expand...
Click to collapse
I mean, when I thoroughly read and understood the very clear instructions I realized our device is not an officially supported device. With different devices come different issue. I was simply asking which method people had used successfully.
styleKIMCHEE said:
I mean, when I thoroughly read and understood the very clear instructions I realized our device is not an officially supported device. With different devices come different issue. I was simply asking which method people had used successfully.
Click to expand...
Click to collapse
Any of the three methods should work. I recommend attempting the flash method. If it fails, move on to copying manually unless you already have your phone setup on your PC.
I used method 3 and that worked out just as described. Then I've been testing with gps status and toolbox.
Official support has is now available for more devices. This brings the total officially supported to 32.
Welcome these newbies to the fold:
Samsung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Asus Transformer TF300T
Motorola Droid X2
Samsung Galaxy S 4G
If you appreciate this growing work, always consider clicking the Thanks.
Remember that I pay monthly hosting fees for the space and bandwidth necessary to keep this patch working on the backend. So, please consider donating a few bucks if you're a user. All donations go directly to the patch provisioning and there is absolutely no overhead to benefit me.
TopNTP - the app.
This app does installs a customized gps.conf file for your GPS. It has several different profiles to choose from. We recommend to use the default Google profile but it is up to you. Appart from the profiles you can customize the one chosen.
NTP servers
Derek Gordon maintains a special NTP server pool for you. Dispite what everyone thinks, it is not necessarily the one closest to you which is the best. We consider Derek Gordon's server to be the best option to choose because it has the best data and is most frequently updated.
For more information about the NTP server check out the "About this app" section found under the settings of this app. Also, feel free to visit derekgordon.com for more in depth information.
aGPS Alamanacs
Derek Gordon maintains a special aGPS almanac for devices using Qualcomm or similar chipsets. This xtra.bin data file is updated every 30 minutes and is located on a content delivery system maintained by the generous donations of ther userbase.
For more information about the NTP server check out the "About this app" section found under the settings of this app. Also, feel free to visit derekgordon.com for more in depth information.
Donations
To maintain the server we need money. Donations through this app will be divided between Derek Gordon (Crypted) and Zatta on XDA.
Each star costs 2 Euro and will reduce the waiting time before you can install the patch. 0 star users wait 20 seconds, 1 star users 10, 2 star users only 5 and 3 star users and Premium users can install immediately.
You can become a premium user for only 5 Euro. This is a discount of 1 euro compared to a three star user! We choose this method to allow every one to use all features of this app and because we believe in XDA developers users. Please, don't leech!
Backup and restore
On the first run of this app a backup is made on your SD card. Don't remove it because a backup is only made during the first run (or at an update if you choose to remove it anyway) and no other backup is found on your SD card.
ROM updates
The patch this app provides is located on your /system partition so every time you do update your ROM the patch is overwritten and you will have to redo the patch.
Unless you are using a Cyanogenmod based ROM and your rom has addon.d support. In that case a script will be placed in the addon.d directory to preserve the patch.
It can be disabled in the app's settings but is enabled by default.
Asus users
On ASUS roms a typical file is present at /system/etc/gps, namely the gpsconfig.xml file. This app pathes that file as well, to be specific the PeriodicTimeOutSec parameter. Of course a backup is made of this file as well.
Click to expand...
Click to collapse
We need bèta testers. Hopefully we can get some useful feedback to optimize this app. The patch itself has been proven to work, we just need to know for as much as possible devices if we can a) really install the patch and b) if the app is sort of clear in its use.
Get it on Google Play!

Bridgeman

Good day. Can you please help me with installing this app. It is called Bridgeman. And the installers consist of 5 apks. Namely:
* BridgeMan_1.0.apk
* Celestial_1.0.apk
* Misc_1.0.apk
* Tides_1.0.apk
* Voyage_1.0.apk
I got these installers from my phone that has a successfully installed Bridgeman. I used an app called File Expert to get these apks. Wellabout the app. The app is just a one icon app but it consist of manyparts. The main app is the Bridgeman. When you open it, it consist offour menu which are: Voyage, Celestial, Tides and Misc.
When I installed only Bridgeman.apk I can see the menu, but noresponse when I press any of the four. So that's when I saw the fourapk of the menu. And I installed all of them. Now when I press a menufor example Voyage. I get sent to a new page like how it is supposed to work. But after sending me to a new page I just get kicked back out to the main menu.
Weirdly enough the Misc menu is the only one that is working. But Celestial, Voyage and Tides do not work and just gives me a blackscreen and get kicked back out to the main menu.
I also included a zip file of what I got from sdcard0/Bridgeman folder. If this would help.
My phone that has a working Bridgeman is an LG-E510 and 2.3.4 AndroidVersion. While the one I am trying to install is a Samsung Galaxy S2International and 4.1.2 Android Version.
Can anyone help me on this?Do I need to copy some files from the old one? Am I missing files?
I don't think the problem is in the File Expert because I justtransferred a calculator app by the same process. But I could be wrong on this. Anyways the calculator is just a one app apk so it's muchsimpler, unlike this that have many apks. It seems when I press for example the Voyage the page or line that must be executed when I pressthat cannot execute somehow. If this help.
Here is the link
mediafire.com/?78hxjuxb88zjfsx
Re: bridgeman
I suggest to seek technical support sending an email or calling their office since the developer's website is googleable(I have googled the word "BridgeMan Android" and found their developer's official website is ww.deckmaster.com.ph(Just add another w), I assumed that you can find a way to communicate with the developer

Categories

Resources