Related
This kitchen is based on sprint 3.35 release
NOTE:This is an os rom. radio 3.35 and olipro 2.40 unlocker required.
Features:
* Only 57 mb, includes all tools and everything.
* Very easy to cook. just run buildflash.bat and follow instructions.
* Clean
oem folder has been cleaned, windows live and some other stuff is removed from sys, Every program has its own folder. if you want it to be cleaner just delete related folders from sys folder.
* Adjusted security policies
* based on original sprint release. It is not a remixed version. Almost everthing extracted from original sprint rom, including xip, sys, oem drivers etc.
* Fixed PIE, not freezing anymore.
I have spent lots of time on it and have adjusted lots of stuff that i cant remember.
I have learnt most of stuff from xda-developers.com, ppcgeeks.com, howardforums.com , no2chem and dcd and they are source of some of the packages i have included. So thank you all.
It would not be possible without the wonderfull kitchen tools either.
So please thank them also if you like this kitchen.
Instructions: Just run buildflash.bat and follow instructions.
http://www.megaupload.com/?d=JMST2UF9
March 30 UPDate:
http://rapidshare.com/files/103708242/a1kitchen.zip.html
Disabled extended rom , added some more oem's such as telus mobile email, metrix, x button etc, fixed sprint epst
A1jatt, looking forward to trying this out. Thanks again for the work.
GPS Working?
Also have you noted any issues with the alarms with this Kitchen/Rom.
Also stock dialer OEM'ed??
Sopranokam said:
A1jatt, looking forward to trying this out. Thanks again for the work.
GPS Working?
Also have you noted any issues with the alarms with this Kitchen/Rom.
Also stock dialer OEM'ed??
Click to expand...
Click to collapse
Link is working now.
Yes gps is working, tested with tomtom, windows live and google maps.
No no problems with DST, alarms etc.
Yes stock dialer is OEM'ed.
Link not working?
The file you are trying to access is temporarily unavailable.
etexter said:
The file you are trying to access is temporarily unavailable.
Click to expand...
Click to collapse
Ignore. I got it from megaupload finally.
Thanks for the perfect kitchen...
No bugs, fast, easy to customize and no attempt to install bleeding edge updates!!! This is exactly what I was looking for.
Thanks again!!!
my experience.
Great rom - easy to use, and fast. Although it didn't like being compiled under parallels on Mac OS X, I had no issues with the build file under a windows laptop.
My only problem that i have found (kind of major) is that I can not connect to the internet via #777 on Telus. I have the "Ev" on my title bar, and the internet briefly connects, but quickly drops the connection saying unknown problem. I have no idea why this is happening, but would love a solution
Otherwise google maps, works fine w/ wifi, and I was unable to get tomtom to find the map (no maps found) so have no clue there.
Thanks for the rom, and if anyone has advice on how to resolve my two issues that would be great Keep up the great work.My ex
artiss said:
Great rom - easy to use, and fast. Although it didn't like being compiled under parallels on Mac OS X, I had no issues with the build file under a windows laptop.
My only problem that i have found (kind of major) is that I can not connect to the internet via #777 on Telus. I have the "Ev" on my title bar, and the internet briefly connects, but quickly drops the connection saying unknown problem. I have no idea why this is happening, but would love a solution
Otherwise google maps, works fine w/ wifi, and I was unable to get tomtom to find the map (no maps found) so have no clue there.
Thanks for the rom, and if anyone has advice on how to resolve my two issues that would be great Keep up the great work.My ex
Click to expand...
Click to collapse
That is weird. You might want to try without any add-ons and reprogram your phone via *22803 using option 1 and then option 2 to update prl.
I have flashed 5-6 phones ... have not had single problem in last three weeks.
No body else has complained at ppc or xda yet. Since not even one other person is having same issue, I am guessing it’s not a bug; it’s just your settings.
If you can help me with duplicating the problem on my phone, i probably can fix it.
Tomtom issue is not rom related. Tomtom maps should be stored in folder in the root directory of sd card.
Sure what info would you like to know? I performed the following:
- Installed the Olipro 2.40 unlocker
- Flashed with Sprint Rom 3.35 latest
- Used the buildflash.bat on a windows box to create my install
- Installed the created rom
- Performed a *22803 with option 1 & 2
- Checked with Telus that I do infact have a data plan
- When I connect to the internet either through Opera or IE I get this message "Cannot connect for an unkown reason blah blah please check settings"
Now I have tried with a username & password (esn dec) with no luck. Now with my ignorance I have misplaced the data I wrote down on MSID, NAI, DUN, etc numbers so I have no way of verifiying that data. Now when I installed the sprint rom it started the install its extra stuff after an accidental power cycle - did that fubar stuff? Should I of relocked my phone, reinstall telus, then re-unlock and perform the above steps?
So with tomtom the maps are in the root of the SD? In a dir? Do I have to edit the currentmap.dat file?
Thanks for the quick reply and help - what other info do you want
from here
http://rapidshare.com/files/103173398/Erase_Extended_Rom.zip.html
flash the attached rom ( it includes flashing utility) . it will erase sprint stuff you have in extended rom.. that should fix data problem
tomtom maps should be \\storage_card\usa and canada maps
no need to edit any files
Did that, and re-entered the data for my #777 connection (username and password). Unfortunately I still have no internet. Will keep plugging away. Thanks
However TomTom is working now with maps
artiss said:
Did that, and re-entered the data for my #777 connection (username and password). Unfortunately I still have no internet. Will keep plugging away. Thanks
However TomTom is working now with maps
Click to expand...
Click to collapse
i have followed the steps you lave listed, still i am unable to duplicate the problem.
may be flash telus oem, get data working and then copy every single epst setting before you reflash.
inorder to flash telus oem you will need relocker from ppc site.
EDIT: seems like internet problems are related to sprint customization..
http://forum.xda-developers.com/showthread.php?t=380820
Cant get to epst on sprint either
have you tried ##778<send> and ##778#
? you can also go to windows folder and run epst.exe
a1jatt said:
have you tried ##778<send> and ##778#
? you can also go to windows folder and run epst.exe
Click to expand...
Click to collapse
It dont work either way...codes or windows folder!
How to reinstall
On the Kitchen we have a folder named OEM with some program on it
how is possible to reinstall that progral like "HTC_CommManager_Titan"
Thank You
Alain
NotLutzik said:
It dont work either way...codes or windows folder!
Click to expand...
Click to collapse
here is the fix.
http://rapidshare.com/files/103708242/a1kitchen.zip.html
Hi lads.
I haven't found similar thread.
I have huge problem with my gps. I want to catch fix without WiFi, without network support - just GPS. But I found it impossible since I have cm9.. It shows error that my current location is unavailable at the moment.. And it never caught my location without network. I need to do it without network data because I'm leaving my country in a few days and I don't want to pay for network data in roaming..
Sent from my black, powerful, beautiful GT-I9100.
Bless from Poland !
Hey,
I had the same problem with my phone. I tried to search for help in this forum yesterday and found out about GPS Status and Toolbox on Google Play. I got it and calibrated compass and pitch and roll. I feel like these calibrations should have nothing to do with GPS but afterwards my GPS worked. Give it a shot?
Hope this helps
To be able to follow the guide, it must necessarily be a device with root permissions, otherwise it will not be precisely you can not even begin.
What we need:
1 File manager as Root Explorer
2 GPS application Status can be downloaded for free from Google Play Store : https://play.google.com/store/apps/...wsMSwxLDEsImNvbS5lY2xpcHNpbS5ncHNzdGF0dXMyIl0.
3 a little time and patience to arrangement
First step:
1 Open the file manager and go to the folder /etc
2 to go to the file gps.conf and save a copy to SD
3 go on this site http://www.pool.ntp.org/en/
from the site, to the right, choose the region and subsequently the nation : open each of the links in a new browser tab to have everything an eyes
Second step:
Open from your PC the Application Block notes and write, in place of COUNTRY, the country code, and instead of REGION, the region code :
NTP_SERVER=COUNTRY.pool.ntp.org
NTP_SERVER=0.COUNTRY.pool.ntp.org
NTP_SERVER=1.COUNTRY.pool.ntp.org
NTP_SERVER=2.COUNTRY.pool.ntp.org
NTP_SERVER=3.COUNTRY.pool.ntp.org
NTP_SERVER=0.REGION.pool.ntp.org
NTP_SERVER=1.REGION.pool.ntp.org
NTP_SERVER=2.REGION.pool.ntp.org
NTP_SERVER=3.REGION.pool.ntp.org
Save the file as gps.conf (.conf should be the file extension)
now write down in your file that is written below:
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
DEBUG_LEVEL =0
INTERMEDIATE_POS=0
ACCURACY_THRES=0
REPORT_POSITION_USE_SUPL_REFLOC=1
ENABLE_WIPER=1
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
C2K_HOST=c2k.pde.com
C2K_PORT=1234
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
DEFAULT_USER_PLANE=TRUE
Once done, save the new file gps.conf and copy it into your /etc first, colloquy to replace the old file gps.conf enabling Mount R/W in the file manager. Once the file is copied, be sure that it has permissions set in the following manner:
r w -
r – -
r – -
Now enable the GPS settings. Then restart the terminal with GPS on. It is important, do it!
Just restarted, open the GPS application Status first installed. Go to:
Tools -> Manage was A-GPS -> Restore.
Then, go back to:
Tools - >Manage was A-GPS -> download.
Now restart the terminal ...Reopen the GPS application Status and wait for that face the fix of the satellites. The guide is finished!
i will try
Will2000 said:
Hey,
I had the same problem with my phone. I tried to search for help in this forum yesterday and found out about GPS Status and Toolbox on Google Play. I got it and calibrated compass and pitch and roll. I feel like these calibrations should have nothing to do with GPS but afterwards my GPS worked. Give it a shot?
Hope this helps
Click to expand...
Click to collapse
I tried this program but I will try again with calibration..maybe
devid801 said:
To be able to follow the guide, it must necessarily be a device with root permissions, otherwise it will not be precisely you can not even begin.
......
Now restart the terminal ...Reopen the GPS application Status and wait for that face the fix of the satellites. The guide is finished!
Click to expand...
Click to collapse
Sounds good - I will try without a doubt.
I'll give you info about my work.
UPDATE ::
I DID IT !! It's working well - thanks devid801 - you're the man
peace
I am able to get the native hotspot working on rooted JUUS06252012 and bypass the "dial 611" message. I'm posting this right now via wifi tethering, on a prepaid plan with a data package.
Before trying to get the native hotspot to work, I did try a few apps first. WiFi Tether for Root works in WPA mode (configured as Epic 4G Touch), but it broke wifi completely after tethering and wifi stayed broken even after a hard reboot. Logcat said a wifi driver file was locked and could not be loaded. I had to factory reset to get wifi working again. FoxFi seemed to work at first, but force closed whenever a client connected.
The mod: I found two values in settings.db to be modified. As we all know, there are many ways to update a sqlite database, but here is one easy way, keeping in mind that the Pantech Burst factory rom lacks many things like BusyBox or the commandline sqlite3. Yes, you need to be rooted:
1. Install Andsen's aShell and aSQLiteManager (not SQLiteManager).
2. Run aShell, check root, tap File Explorer, go to /data/data/com.android.providers.settings/databases, open settings.db, when prompted to open a copy, say yes and open with aSQLiteManager, tap table secure, tap data and tap "edit" for each of the below
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
Then tap back twice. When prompted to commit changes, say yes and exit aShell.
3. Reboot and you can now use the native hotspot. Install a toggle widget for convenience.
*EDIT: with this mod, turning on hotspot from the 2nd level "Portable Wi-Fi hotspot settings" page works reliably, whereas turning it on from the 1st level "Tethering & portable hotspot" page would show the "dial 611" message. Many hotspot widgets work reliably as well, such as HotSpot Toggle, Hotspot Widget or many others.
EDIT Read through the thread for ICS
------
Pantech Burst Love, Anyone? Anyone?
Pantech Burst Essentials
ty so much!
I got it to work with sqlighteditor in settings storage,secure and change entitlement_pdp _checked changed from 0 to 1 I have used this on many art phones with.prepaid Sims
Sent from my PantechP9070 using xda premium
lost_ said:
I am able to get the native hotspot working on rooted JUUS06252012 and bypass the "dial 611" message. I'm posting this right now via wifi tethering, on a prepaid plan with a data package.
Before trying to get the native hotspot to work, I did try a few apps first. WiFi Tether for Root works in WPA mode (configured as Epic 4G Touch), but it broke wifi completely after tethering and wifi stayed broken even after a hard reboot. Logcat said a wifi driver file was locked and could not be loaded. I had to factory reset to get wifi working again. FoxFi seemed to work at first, but force closed whenever a client connected.
The mod: I found two values in settings.db to be modified. As we all know, there are many ways to update a sqlite database, but here is one easy way, keeping in mind that the Pantech Burst factory rom lacks many things like BusyBox or the commandline sqlite3. Yes, you need to be rooted:
1. Install Andsen's aShell and aSQLiteManager (not SQLiteManager).
2. Run aShell, check root, tap File Explorer, go to /data/data/com.android.providers.settings/databases, open settings.db, when prompted to open a copy, say yes and open with aSQLiteManager, tap table secure, tap data and tap "edit" for each of the below
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
Then tap back twice. When prompted to commit changes, say yes and exit aShell.
3. Reboot and you can now use the native hotspot. Install a toggle widget for convenience.
*EDIT: with this mod, turning on hotspot from the 2nd level "Portable Wi-Fi hotspot settings" page works reliably, whereas turning it on from the 1st level "Tethering & portable hotspot" page would show the "dial 611" message. Many hotspot widgets work reliably as well, such as HotSpot Toggle, Hotspot Widget or many others.
------
Pantech Burst Love, Anyone? Anyone?
Pantech Burst Essentials
Click to expand...
Click to collapse
Did that and my phone is now stuck on boot screen. Removing battery didn't help either
_lost can you check to see if your guide can be updated for the new ICS release? or atleast put a warning up to let people know not to try if they are running ICS on their Pantech Burst?
After a lot of trial and error I have this working on ICS. I tried the free apps first and at first I couldnt even get the change to take. When I did by copying the file editing it then replaceing it the system would just hang on boot. I did get it to work though after having to wipe my device a few times. Now this may still work with the free programs im not realy sure as I figured id give the paid ones a try and got it working. I used the program root explorer. I copied the settings.db and pasted the copy in the same folder. Then I edited the copy in SQLite editor although it still couldnt edit the original.. Then in root explorer I renamed the old file by adding an extension to the end and renamed the new file to replace the old one. Then in root explorer i double checked that the permissions were the same as the old file and also..... (I THINK THIS WAS THE IMPORTANT THING BY THE WAY) I checked the ownership settings in root explorer it was already set to "system" just like the old file. I think the other programs may have been changing the owner of the new file causing issues. Anyway after rebooting it started right up and I can turn on wifi hotspot from either menu. On gingerbread it only worked from the one menu. I hope this works for you guys!!!!!!
by the way i used the original two edits from the first post
jkiwitt said:
I got it to work with sqlighteditor in settings storage,secure and change entitlement_pdp _checked changed from 0 to 1 I have used this on many art phones with.prepaid Sims
Sent from my PantechP9070 using xda premium
Click to expand...
Click to collapse
Hey thanks! This was the setting that did the trick for me on my Pantech Crossover (P8000). I had recently done the vendor upgrade to Gingerbread and lost root, but more importantly, SVTP's Wifi Hotspot & USB Tether Pro stopped working for me.
I rooted using pawaa's excellent guide and thought that would do the trip, but no such luck. Found this thread, bought SQLite Editor and made the aforementioned changes and all was well.
Guess I don't need SVTP anymore, but the widget works well, and I don't mind having paid for it for the month or so that it worked under Froyo. (Also, it was paid for out of my Nexus 7 $25 credit.) Anyways, just wanted to mention this in case anybody else was trying to get tethering working again on the Crossover after upgrading to 2.3.6.
I am having rooted JUUS03122012.
My Root/data folder is empty
lost_ said:
I am able to get the native hotspot working on rooted JUUS06252012 and bypass the "dial 611" message. I'm posting this right now via wifi tethering, on a prepaid plan with a data package.
Before trying to get the native hotspot to work, I did try a few apps first. WiFi Tether for Root works in WPA mode (configured as Epic 4G Touch), but it broke wifi completely after tethering and wifi stayed broken even after a hard reboot. Logcat said a wifi driver file was locked and could not be loaded. I had to factory reset to get wifi working again. FoxFi seemed to work at first, but force closed whenever a client connected.
The mod: I found two values in settings.db to be modified. As we all know, there are many ways to update a sqlite database, but here is one easy way, keeping in mind that the Pantech Burst factory rom lacks many things like BusyBox or the commandline sqlite3. Yes, you need to be rooted:
1. Install Andsen's aShell and aSQLiteManager (not SQLiteManager).
2. Run aShell, check root, tap File Explorer, go to /data/data/com.android.providers.settings/databases, open settings.db, when prompted to open a copy, say yes and open with aSQLiteManager, tap table secure, tap data and tap "edit" for each of the below
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
Then tap back twice. When prompted to commit changes, say yes and exit aShell.
3. Reboot and you can now use the native hotspot. Install a toggle widget for convenience.
*EDIT: with this mod, turning on hotspot from the 2nd level "Portable Wi-Fi hotspot settings" page works reliably, whereas turning it on from the 1st level "Tethering & portable hotspot" page would show the "dial 611" message. Many hotspot widgets work reliably as well, such as HotSpot Toggle, Hotspot Widget or many others.
------
Pantech Burst Love, Anyone? Anyone?
Pantech Burst Essentials
Click to expand...
Click to collapse
I even updated to rooted JUUS06252012 but could not find ' /data/data/com.android.providers.settings/databases' folder in root . Please somebody help.:angel:
For Android 2.3.
A simple method for switching on Tethering:
1. Install from market Secret Codes Revealer (play.google.com/store/apps/details?id=com.afp_group.software)
2. Search Codes
3. List Codes
4. Tap on "softapactivation"
5. Launch code
6. Now we on SoftapHiddenMenu
7. Check on all checkboxes
8. Save
9. Reboot
10. Enjoy full tethering
Sorry for my bad english
This works on the new ICS update on AT&T
Sent from my PantechP9070 using Tapatalk 2
Wifi tethering option is working fine with my PantechP9070 normally. I am on stock ICS rooted.
Tapatalking from my hTc Droid Incredible 2 on MTS
phillywiiman said:
This works on the new ICS update on AT&T
Sent from my PantechP9070 using Tapatalk 2
Click to expand...
Click to collapse
I tried all of the methods above in ICS and none of them work. Not only do they not work, but if you try to edit the com.android.provider.settings AT&T will block your incoming calls, disable all notifications for messages, and break the home button. I was not able to find away to fix this without reflashing the ROM. I tried repairing the permissions but it did not help. I could not simply change the settings back since it seems AT&T's program did that for me and nonetheless deactivated me.
I can't get this to work either. My phone was purchased as an unlocked device, I didn't realize some things are still locked. :'(
I tried multiple times. I am running the stock (rooted) Android version 4.04 Baseband version JUUS09032012. Everything was setup fresh, all I did was root the device, get my Google account logged in and install the Superuser app, aShell and aSQLiteManager. I didn't stop, disable or uninstall any apps. Then followed the instructions here carefully.
I also tried the "Secret Codes Revealer" method with no luck. But I did not get any popups requesting root access when trying that method, so I can't imagine it doing anything.
I really love the phone - it is everything I want other than the tethering restriction. Hopefully this will be figured out before I am tempted by the new Nexus phone to be announced soon.
I used root browser to make a copy of the database file, edited it with asqlite, then went back to root browser and renamed the copy to the actual database. Then I booted into cwm and selected fix permissions and it works fine. That was the only way I could get it to work.
Sent from my PantechP9070 using Tapatalk 2
thomasinnv said:
I used root browser to make a copy of the database file, edited it with asqlite, then went back to root browser and renamed the copy to the actual database. Then I booted into cwm and selected fix permissions and it works fine. That was the only way I could get it to work.
Click to expand...
Click to collapse
Thank you so much! That worked.
meivin said:
I tried all of the methods above in ICS and none of them work. Not only do they not work, but if you try to edit the com.android.provider.settings AT&T will block your incoming calls, disable all notifications for messages, and break the home button. I was not able to find away to fix this without reflashing the ROM. I tried repairing the permissions but it did not help. I could not simply change the settings back since it seems AT&T's program did that for me and nonetheless deactivated me.
Click to expand...
Click to collapse
i face the same problem but i decided to try it one more time
here is what I done
i use a sqllite editor premium
do a backup of the files
i use the root explorer and copy the settings.db and paste in the same folder
after that i used sqlite editor and then settings.storage
after that i change the following values
softap_free_supported=1 (old value 0)
softap_entitlement_interval=0 (old value1440)
entitlement_pdp _checked changed from 0 to 1
than sve it and replace the settings.db by deliting or renaming the original one
than change the settings -copy.db to the settings.db
and delete all the other files that exist in that folder except settings.db (delete .db-shm and .db-wal also)
or
replace all the files in the data/data/com.providers.settings/databases from the attachment
Just download the attachment from Post# 17 and use Root Explorer to overwrite/replace all the files in the data/data/com.providers.settings/databases from the attachment.
It works like Charm.
Thanks irbaaz
Hmm... I didn't touch "entitlement_pdp _checked" but it all seems to work anyway.
almark said:
For Android 2.3 and 4.0
A simple method for switching on Tethering:
1. Install from market Secret Codes Revealer (play.google.com/store/apps/details?id=com.afp_group.software)
2. Search Codes
3. List Codes
4. Tap on "softapactivation"
5. Launch code
6. Now we on SoftapHiddenMenu
7. Check on the first 2 checkboxes
8. Save
9. Reboot
10. Enjoy full tethering
This works on rooted AND NON-ROOTED Pantech bursts.
This is so easy. I tested on 4 different bursts including mine. 2 rooted and 2 stock. , 3 on ics, 1 on gingerbread (just arrived) All unlocked. None using AT&T. 3 on Digicel Antigua 4GLte Network.
Thanks Almark for the lead. You're a life saver.
Sent from my PantechP9070 using xda app-developers app
Click to expand...
Click to collapse
I wanted to start this post to see if anyone was familiar with the Alps E120L specifically, or at least has any knowledge of rom making for any china phone with MT65xx processor.
I would like to be able to fix a few quirks with the phone I have and see if I can develop a rom.
The help I need, which I feel is encountered the most often and not always answered on the forum are:
1. My china phone is rooted, but the bootloader is locked. How do I unlock it?
2. I can pull the framework-res.apk off my phone, decompile and edit it using any of the apk tools, but I get errors recompiling it every single time. what is the problem here? By the way, I was able to successfully pull the same framework file off of my samsung galaxy tab, edit it, and recompile it with no problems so it is not a problem with me!
3. How do I get the gps on my phone to work without A-GPS? What files are responsible for the GPS to function?
The reason I need to know this is because my GPS doesnt work and I dont know if its because I dont have A-GPS enabled because I dont have a data service. Personally I think either GPS files are missing or they are not programmed correctly. I have edited the gps.config file and no success.
4. How do I get mms settings setup for t-mobile without data plan? I could send picture messages via edge with an old phone but now my new android ics phone does not allow it to be sent. I have tried pulling settings from t-mobile, but to no avail. Again, i dont nor did I ever have a data plan. I dont know if my phone just doesnt support edge or requires an internet connection or t-mobile is blocking the service? My APN settings do not allow for me to select edge as an option, either LTE or eHRPD as a Bearer?
If anyone is willing to help I thank you in advance. Im sure other people have similar questions. I will keep searching the forums for more information as well.
*This module also works for any another device with Qualcomm Snapdragon chipset based, so feel free to test it on another device that have Magisk and recommend for your friends that want a better GPS experience and functionality.
The original gps.conf file present in any version of MIUI is very wrong, it has a lot of bad information and settings for the correct operation of the GPS and A-GPS. But on most Custom ROMs it was solved, however, I believe the changes I've made for a better optimization has the best results.
A little reflection tested and proven by myself: If you have a nice FW version with wrong gps.conf you won't have good results with the GPS, but if you have any FW version with gps.conf file correctly edited, maybe you might get better results.
Then we can finally conclude that, the Xiaomi Mi5 don't have any HW problem with GPS. What happens is that the firmware works in conjunction with the file.
There's not much difference with the default file included in LOS or other ROMs but let me explain about some of my relevant changes:
1 - Now basically the A-GPS data files are XTRA 3.0 files (It provides GPS, GLO and BDS assistance data) served over HTTPS with SSL and without # preceding the address lines while the default on MIUI ROMs was XTRA 2.0 (provides only GPS and GLO) served over HTTP without SSL, this allows an attacker to mount a MITM attack on the network level and modify the GPS assistance data while in transit.
2 - I switched the XTRA_VERSION_CHECK from 0 to 3 because it's obvious that xtra3grc.bin are XTRA 3.0 files.
3 - I included the address servers from pool.ntp.org as the main NTP server because it's global, the system will try finding the closest available servers for you
4 - I set SUPL_HOST google.com as default, before was qxwz.com on MIUI and this is an A-GPS server in China. Google server is more "Global" and can do the job very well.
5 - I updated the SUPL version from 2.0 to 3.0
6 - I changed the SUPL_MODE from 3 (so bad, this option doesn't even exist) to 0x2 (MSA), under normal circumstances, the MSA method is applicable to situation which the satellite signal is poor, to achieve a single positioning.
7 - Changed the value of GPS CAPABILITIES from 0x37 to 0x35 for correctly MSA mode functionality.
8 - Changed the LTE Positioning Profile Settings from 0 (RRLP) to 3 (LPP_User_Plane and LPP_Control_Plane)
9 - Changed the A-GLONASS Positioning Protocol from 0 to 0x4 (LLP Uplane)
The reason for the 8 and 9 changes is because SUPL 3.0 doesn't support RRC and RRLP anymore.
[Step By Step]
It's Magisk install-able, don't install it by TWRP but with Magisk instead!
1 - Go on Magisk > Modules > Click on "+" yellow button > Search and find this "optimizedgpsconf.zip" file (Now this one and only works fine for both Nougat and Oreo and also is correctly replacing the gps.conf file), long press on it and select open and after installed then reboot your device.
2 - Make sure your location settings is setup on mode "High accuracy"
3 - Skirt outdoors, can be in the yard of your house or anywhere else with a line of sight to the sky, download some Compass app on Google Play Store (I recommend the Compass Steel 3D) and then calibrate the compass.
4 - Stay in that outdoor place and download GPS Locker on Google Play Store and open the app and wait for the first time fix/lock. This is necessary and essential because the app will recognize some GPS satellites signals for the very first time.
*Note 1 - Location mode "Battery saving" is gone due to Google's location accuracy is now a binary setting.
*Note 2 - Consider using the GPS Locker app because it is much better than the GPS Test and GPS Data. You just need to open it once and wait for fix, then your gps signal is locked and when you close it the app keep awake running in the background. (press Cancel in "Unlock GPS on exit" message). GPS was made to work on outdoor places. For indoor/enclosed places such as inside of your house don't forget that, it will take a few minutes to fix. It drains more battery, but is required if you're an advanced user that use gps all the time.
Whenever I'm on the street I keep the GPS Locker and Cellular data open because I use Cerberus antitheft, so if I get mugged or if I lose my phone I can track him down and retrieve it.
I hope I've helped. Please, give me some feedback if it worked for you.
ianhughes74 said:
Guys let me tell you, I'm currently using the FW v7.10.12 with ViperOS v3.1.1 ROM and the gps.conf file edited by myself.
The original gps.conf file present in any version of MIUI is very wrong, it has a lot of bad information and settings for the correct operation of the GPS. But on most of Custom ROMs it was solved, however, I believe the changes I've made for a better optimization in my country have the best results.
A little reflection tested and proven by myself: If you have a nice FW version with wrong gps.conf you won't have good results with the GPS, but if you have any FW version with gps.conf file correctly edited, maybe you might get better results.
Then we can finally conclude that, the Xiaomi Mi5 don't have any HW problem with GPS. What happens is that the firmware works in conjunction with the file.
Extract the file "gps.zip" and copy the gps.conf file and paste and replace on the root>system>etc folder and then reboot your device.
Make sure your location settings is setup on mode high accuracy.
Download some Compass app on Google Play Store (I recommend the Compass Steel 3D) and then calibrate the compass.
Skirt outdoors, can be in the yard of your house or anywhere else with a line of sight to the sky, download GPS Locker on Google Play Store and open the app.
Please, give me some feedback if it worked for you.
Click to expand...
Click to collapse
Thanks a lot, Ian. Still haven't gotten around to try it, but will do it tomorrow morning and report back.
Just did a diff with the gps.conf included in LOS 14.1; there are some minor differences (I suspect much less than when compared with MIUI) but will try it anyway to see if it makes a a difference. Just for the record, I don't have terrible GPS performance (it takes a while to lock, and accuracy could be better) but any improvement would be welcome.
Just tried your gps.conf; copied it into /system/etc using TWRP, rebooted, recalibrated compass and cleared and updated AGPS (I used the "GPS Test" app). I'm using 7.9.22 dev firmware and LineageOS 14.1, latest build (10.24).
The performance for me was about the same than with the default LineageOS gps.conf, both in accuracy and 3D Lock time; I suspect the change might be more spectacular for MIUI users, so I'd give it a try if I had severe GPS problems. As I told before, my GPS performance is not great, but not terrible either.
Anyway, thanks a lot, @ianhughes74 for your work!
e_jim said:
Thanks a lot, Ian. Still haven't gotten around to try it, but will do it tomorrow morning and report back.
Just did a diff with the gps.conf included in LOS 14.1; there are some minor differences (I suspect much less than when compared with MIUI) but will try it anyway to see if it makes a a difference. Just for the record, I don't have terrible GPS performance (it takes a while to lock, and accuracy could be better) but any improvement would be welcome.
Just tried your gps.conf; copied it into /system/etc using TWRP, rebooted, recalibrated compass and cleared and updated AGPS (I used the "GPS Test" app). I'm using 7.9.22 dev firmware and LineageOS 14.1, latest build (10.24).
The performance for me was about the same than with the default LineageOS gps.conf, both in accuracy and 3D Lock time; I suspect the change might be more spectacular for MIUI users, so I'd give it a try if I had severe GPS problems. As I told before, my GPS performance is not great, but not terrible either.
Anyway, thanks a lot, @ianhughes74 for your work!
Click to expand...
Click to collapse
Yes, you're right. I made minor changes with the default file included in LOS.
Now basically the data files are served over HTTPS with SSL while the default was served over HTTP without SSL, this allows an attacker to mount a MITM attack on the network level and modify the GPS assistance data while in transit.
I switched the XTRA_VERSION_CHECK from 0 to 3 because it's obvious that xtra3grc.bin are XTRA 3.0 files.
And I includes the address pool.ntp.org as the main NTP server because it's global, the system will try finding the closest available servers for you. However, this is a dynamic IP server, so, a fixed time reference becomes more reliable, fast and secure. If your country have a NTP server with a static IP, please consider adding the address to the file.
But for now you can try to replace the lines to:
NTP_SERVER=cl.pool.ntp.org
NTP_SERVER_1=south-america.pool.ntp.org
NTP_SERVER_2=gpsntplpsc.duckdns.org
NTP_SERVER_3=time.izatcloud.net
But consider using the GPS Locker app because it is much better than the GPS Test and GPS Data. You just need to open it once and wait for fix, then your gps signal is locked and the app keep awake running in the background.
It drains more battery, but is required if you're an advanced user that use gps all the time. Whenever I'm on the street I keep the GPS Locker and Cellular data open because I use Cerberus antitheft, so if I get mugged or if I lose my phone I can track him down and retrieve it.
I hope I've helped.
Quick update: I was on 7.9.22 firmware before. Just to be sure, I flashed a newer FW (7.10.19) together with your gps.conf, and GPS lock times improved drastically! Accuracy also improved a good bit. Thanks a lot again!
I'll have to remember to copy your file over the default one each time I flash a LOS weekly, but it's worth it
can you please modify for indonesia? thx u
kemalafiantoro said:
can you please modify for indonesia? thx u
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER_1=id.pool.ntp.org
NTP_SERVER_2=0.id.pool.ntp.org
NTP_SERVER_3=1.id.pool.ntp.org
NTP_SERVER_4=2.id.pool.ntp.org
NTP_SERVER_5=3.id.pool.ntp.org
compatible for malaysia ?
Please provide the file for India.
Great work @ianhughes74 !
It really helped my gps signal on AEX rom, not that it was bad but now it's more consistent. Thanks a lot
Now only if we had someone who knows a thing or two about flashable zips to make this process more automated, but never the less, good job on the detailed guide and thanks for help
qiie95 said:
compatible for malaysia ?
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER_1=my.pool.ntp.org
NTP_SERVER_2=0.asia.pool.ntp.org
NTP_SERVER_3=1.asia.pool.ntp.org
NTP_SERVER_4=2.asia.pool.ntp.org
NTP_SERVER_5=3.asia.pool.ntp.org
Phillen13 said:
Please provide the file for India.
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER_1=in.pool.ntp.org
NTP_SERVER_2=1.in.pool.ntp.org
NTP_SERVER_3=1.asia.pool.ntp.org
NTP_SERVER_4=3.asia.pool.ntp.org
and for Italy please?
0ther said:
and for Italy please?
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER_1=it.pool.ntp.org
NTP_SERVER_2=0.it.pool.ntp.org
NTP_SERVER_3=1.it.pool.ntp.org
NTP_SERVER_4=2.it.pool.ntp.org
NTP_SERVER_5=3.it.pool.ntp.org
work wich oreo?
For everyone that needs a flashable zip of that *fantastic* mod, see below:
Here
Note that this is an Italian optimized version
If you want to use your gps.conf, just replace the file within the folder /system/etc inside the zip
It's magisk install-able, do not install it by twrp but with magisk instead!
thanks to Dusan for this!
sys01 said:
For everyone that needs a flashable zip of that *fantastic* mod, see below:
Here
Note that this is an Italian optimized version
If you want to use your gps.conf, just replace the file within the folder /system/etc inside the zip
It's magisk install-able, do not install it by twrp but with magisk instead!
thanks to Dusan for this!
Click to expand...
Click to collapse
Hi thanks for your reply, I just have to launch magisk and select this archive file to install it?
OT. Ciao compaesano
Inviato dal mio MI 5 utilizzando Tapatalk
toketin said:
Hi thanks for your reply, I just have to launch magisk and select this archive file to install it?
OT. Ciao compaesano
Inviato dal mio MI 5 utilizzando Tapatalk
Click to expand...
Click to collapse
Go on Magisk -> module -> click on "+" yellow button -> long press on that .zip file and select open
Then after it finishes click reboot and enjoy :fingers-crossed:
Ciao!
sys01 said:
Go on Magisk -> module -> click on "+" yellow button -> long press on that .zip file and select open
Then after it finishes click reboot and enjoy :fingers-crossed:
Ciao!
Click to expand...
Click to collapse
Ok thanks, it should works also under Lineage right?
Edit: flashed on Los and working fine, i've installed also gps locker with the autostart setting on the GPS turn on.
Inviato dal mio MI 5 utilizzando Tapatalk
I have installed your gps.conf file on my Mi5 running AospExtended ROM with 7.10.12 FW.
It didn't change a single thing. With or without the mod I am seeing satellites but signal is almost null. Only in VERY open spaces I am able to fix GPS.
This is the situation indoor compared to a Galaxy A5 2016.
I also have changed FW to 7.10.19, no profit
If I get next a window, it gets enough signal strenght to fix, but is still considerably less than the Samsung.
olivercervera said:
I have installed your gps.conf file on my Mi5 running AospExtended ROM with 7.10.12 FW.
It didn't change a single thing. With or without the mod I am seeing satellites but signal is almost null. Only in VERY open spaces I am able to fix GPS.
This is the situation indoor compared to a Galaxy A5 2016.
I also have changed FW to 7.10.19, no profit
If I get next a window, it gets enough signal strenght to fix, but is still considerably less than the Samsung.
Click to expand...
Click to collapse
Im in the same situation as yours
The thing i'll try to see if i can fix that is to revert back to 6.11.10 that is the last miui7 for mi5 (people says that GPS there is perfect)
if it'll wont work, then i'll try to clean flash with MiFlash some Stable MM roms and see