Viper4Android Profiles ( presets ) for MI 9T / K20 - Let's share - Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio

Hi there,
This is a copy paste of my post I made on reddit.
( https://www.reddit.com/r/Mi9T/comments/fcmplg/viper4android_profiles_for_mi_9t_k20_lets_share/ )
I've been messing around with V4A since yesterday and feel like we should share profiles and ressources, as I didn't find anything worth it for Mi 9t / k20 .
So here are my two cents and I hope you'll join in with yours.
First, ressources.
I downloaded an IRS pack (300+ samples) to use with the convoler option (put the files in /VIPER4ANDROID/KERNEL then load one within V4A). It changes everything. There are a lot of them on the net, just look for .irs files (impulse response sample). There's also an official link for this on the V4A xda lab page.
Here's the link to the one I used : https://forum.xda-developers.com/zenfone2/general/collection-convolver-samples-389-t3140299
Now, profiles (or is it presets ? ).
IMPORTANT EDIT : I use Ainur Narsil, the following profiles will probably sound a lot different if you don't ! I recommend that you do by the way (just be careful with the headset volume then, its max can kill a man !).
Here's my headphone profile, which I'm really happy with, I couldn't stop listening to music when I finished it. I used "basic" Iphone earphones while setting it up :
https://mega.nz/#!BnYiCayY!TbKgbA1Pn9gkth0S-Qu8j-KymR-Cn58R8iUQt1ddfdI
In case it wouldn't be saved within the .xml, it uses FRC - Sennheiser HD 595 (50% Correction).irs at 0% cross channel (included in archive).
Here's my speaker profile. I was satisfied with it yesterday but not that much now that I tasted the one above. I probably can't do as good with the phone speaker as with headphones but still. It looses in gain and has to be even further lowered because it otherwise saturates (distords ? - not sure about my english here). So there's definitly room for improvement here but still :
https://mega.nz/#!YvICnCwT!wMy5A1vrQ2UmHUDiA_oxqezvX7xX2n3z6b5o0AP 5aCs
This one uses Clear Bass +3 & ClearAudio+ 70.irs at 100% (included in the archive as well).
(Re)Edit : Here's my new speaker profile, I feel like it's the best I can do, and I'm quite happy with it, let's hope I still am tomorrow ! It uses Clear Bass +.irs at 16% cross channel (included in the archive of course). Enjoy !
https://mega.nz/#!pvoRQBRb!B4ew2eK1HZW49TJ9kQoZ_7v6o-2hWMi2rhBktCj2e14
That's it, I hope it will help and start an exchange thread.Please share yours if you feel like it... especially the speaker ones !
Cheers

Excellent, mate! Thanks for sharing!
Gonna test them asap

Good morning.
Any tutorial or video to install V4A and driver?
How do I install the zip file of your profile?
Thank you.

wahuka said:
Good morning.
Any tutorial or video to install V4A and driver?
How do I install the zip file of your profile?
Thank you.
Click to expand...
Click to collapse
Hi there, here is the guide I followed. Just as they say it's kind of a hit or miss, try again and if it doesn't work, try harder !
A note about it though, in my experience it seems to work better in the long term when one keeps AML activated in the end, so try to do that first, and again if doesn't work at first, insist for a bit, just in case.
*ah, sadly I'm a new user so I can't post links yet. The guide is on the website "the custom droid dot com" all attached , use the search engine on it and look for : "How to Install ViPER4Android on Android 10 Q (Fully Working)", you'll find it .
Now regarding presets archives, once everything is installed and working, unpack the archive in /Viper4Android , just use a file manager, the folder is not hidden or anything. It will paste kernel into kernel and presets into presets. Then, in V4A you just log press the speaker (or whatever) icon on the bottom and release, it will prompt the menu to load your presets.
Just so you get everything, the kernel folder contains those .irs files for the convolver option. The presets folder contains the presets files (right ? ) with all the tweaks settings.
I hope it helps.
Cheers !

wahuka said:
Good morning.
Any tutorial or video to install V4A and driver?
How do I install the zip file of your profile?
Thank you.
Click to expand...
Click to collapse
This works also for Mi 9T:
https://forum.xda-developers.com/k20-pro/themes/guide-viperfx-miui-11-android-10-t3994621

Thank you both.
I'm going to follow the tutorials to try.

I just installed Viper 2.7.1.0.apk, there's no need for flashing...
Sent from my Redmi K20 using XDA Labs

Actually, using combo V4A + Equilizer:
https://play.google.com/store/apps/details?id=music.basss.booster.effect.equalizer
In the Equilizer app using only equilizers, turned down Boosts, Virtualization and so (using V4A instead)

Hi, I have an issue with presets.
I have extracted the 2 zip but when I long press in Viper4android nothing appears.
What should I do ?

Anakill said:
Hi, I have an issue with presets.
I have extracted the 2 zip but when I long press in Viper4android nothing appears.
What should I do ?
Click to expand...
Click to collapse
There are three different actions, on short press, long press and mid-long press (you need that one). So lttle experiment with your finger

zgfg said:
There are three different actions, on short press, long press and mid-long press (you need that one). So lttle experiment with your finger
Click to expand...
Click to collapse
Actually, I've found the mid-long press but it only shows new preset

Anakill said:
Actually, I've found the mid-long press but it only shows new preset
Click to expand...
Click to collapse
It doesn't find Preset file

Hello my friend, thanks for sharing ...
I have a request, will there be sharing for bluetooth headset?
The model I use; Haylou GT1

zgfg said:
It doesn't find Preset file
Click to expand...
Click to collapse
Yes it doesn't.

PotentieL said:
Now regarding presets archives, once everything is installed and working, unpack the archive in /Viper4Android , just use a file manager, the folder is not hidden or anything. It will paste kernel into kernel and presets into presets...
Click to expand...
Click to collapse
Anakill said:
Yes it doesn't.
Click to expand...
Click to collapse
With Viper4AndroidFX v2.7.1.6, its settings apparently moved to (as on the screenshot):
Internal memory
/Android/data/com.pittvandewitt.viperfx/files

Anakill said:
Hi, I have an issue with presets.
I have extracted the 2 zip but when I long press in Viper4android nothing appears.
What should I do ?
Click to expand...
Click to collapse
Load The pre-configs with doble tap in the (¿Source of sound?) (Headphone, Speaker, Bt, etc)

Hi! Have any a good profile for BT headphones? (Air 2 se) I have a good volumen in poweramp but in youtube the max volumen its too low, thanks!
Enviado desde mi Mi 9T mediante Tapatalk

Hi all,
I would like to share my preset for the speaker of xiaomi 9T

Related

[SOLVED] Headset in-call very low volume.

I ve got this weird problem. While on a call using the headset the volume is very low. But the music volume is fine and loud.
I tried entering service mode *#*#197328640#*#*
there when I select option 5 AUDIO nothing happens and all other options work.
Currently I am on KPN 2.3.3 FLA.SH 2.3.
So please help me fix this problem.
PS- Volume +, Equilizer, DSP manager etc do not work.
I have tried Google as well as searching the forum for related posts. but couldn't find any help.
I d very grateful if someone could help me.
Thank you
Click to expand...
Click to collapse
So after waiting for couple of days and no reply from any member and my constant battle with the phone gave me some answers...
I flashed XXKPH and then tried to goto Service Mode and then Audio ... VOILA!!! It works...
So for those who are in KPN or KPN based firmware eg. fla.sh 2.2 ..Good news
You can now hack the in-call volume to get it louder and use it outdoors ..
INSTRUCTIONS:
Requirements:
1. Rooted Phone.
2. RootExplorer or some other explorer with root permissions. can also use adb if u know it .
1. copy the attached file using root exporer to /system/app
2. Edit permissions to rw-r-r and REBOOT
3. Open Dialer and type *#*#197328640#*#*
4. Navigate as
​[5] Audio >> [2] Headset >> [2]RX Value >> [1] Rx Codec/Volume >> [1] Rx Codec Gain:
5. Select it and input value ffff
the result will be 12db
P.S.
1. Dont forget to backup your original settings as well as the original servicemode.apk, just in case
2. If you can already access the Audio settings then skip the copying part just go ahead with the value editing.
CHEERS
If i helped you then Press thankx...
BTW: I am disappointed by the community support for Galaxy Ace, because before this i had Galaxy5 and the thread there was superb. Ask anything and you will get n answer no matter what, atleast u would know that noone can help you rather then just view the post and pass by. I m a medical student and do not know much about android , just trying to play my part.. Thank you
I'm using cyanogenMod7.2 RC1 BY VO-1 MIRACLE and I notice that the in-call volume is too low. I've notice in other roms.
Can I use your solution with this rom?
Thanks
tiagobouca said:
I'm using cyanogenMod7.2 RC1 BY VO-1 MIRACLE and I notice that the in-call volume is too low. I've notice in other roms.
Can I use your solution with this rom?
Thanks
Click to expand...
Click to collapse
no because those codes will work on stock roms only
just clean ur speaker.
simply get service manual or find video on youtube and do like it's said there. but be very careful.

[mod] pimp my rom

This huge mod is compatible with our Ray too.
I thought you guys could be interested:
http://forum.xda-developers.com/showthread.php?t=1908269
It should work with any kind of firmware.
Thanks
I wonder if this improves a rom like PAC, or that it will mess up securely chosen settings...
it's silent in this topic. anyone tried it with a JB rom like PAC?
i was trying...
A wonderful touchscreen interface will pop-up
(devices need different touchscreen calibration, if the touchscreen doesn't work, use the menu button of your device, select "Calibration Tools" and follow the instructions)
Click to expand...
Click to collapse
the installer appears (i have downloaded the hdpi files), I can press buttons, feel it vibrate, but it's not continuing to the selection fields.
when i make selections via the vol.up&down and menu button i can continue to the page where i can slect my rom.
the option GB is marked, and vibrating, and i cannot move the dot to my option "aosp based, JB".
so, i cannot move on. abort installation is all that's left.
where can i select this calibration tool? under menu there is only 'about' and 'quit (=abort)'
I haven't tried it yet; which version did you download? I think we should use the "HDPI Devices" one.
gabripranzo said:
I haven't tried it yet; which version did you download? I think we should use the "HDPI Devices" one.
Click to expand...
Click to collapse
2.1, hdpi
halfway the page I read this:
Having weird display / texture / ghost inputs issues with the installer ?
Then Open the version of PmR you downloaded, navigate to META-INF/com/google/android and delete the file called "update-binary", then download this file and put it there instead.
Click to expand...
Click to collapse
I replaced this file and tried flashing again.
this time no touchscreen on the aroma installer, but no flickering screen with errors.
i was able to make all selections via volume buttons and home button and am now testing...
wish me luck
So good luck
dreezz said:
I wonder if this improves a rom like PAC, or that it will mess up securely chosen settings...
it's silent in this topic. anyone tried it with a JB rom like PAC?
i was trying...
the installer appears (i have downloaded the hdpi files), I can press buttons, feel it vibrate, but it's not continuing to the selection fields.
when i make selections via the vol.up&down and menu button i can continue to the page where i can slect my rom.
the option GB is marked, and vibrating, and i cannot move the dot to my option "aosp based, JB".
so, i cannot move on. abort installation is all that's left.
where can i select this calibration tool? under menu there is only 'about' and 'quit (=abort)'
Click to expand...
Click to collapse
I got it working on pac. Just download the zip with the older aroma. You can then use volume buttons to navigate.
Sent from my Xperia Ray using xda premium
check #7, me too
first impression: stronger wifi signal and battery seems to last longer.
score on Antutu @ 806mhz: was about 3100.
after this mod: first 3000 and second time 3200+.
edit: after sleep my wifi is already on, in stead of reconnecting. + my wifi reconnected after leaving my wifi area and returning (before i had to turn wifi off and on before wifi turned on again). not thoroughly tested, but first impression is (very) good.
dreezz said:
check #7, me too
first impression: stronger wifi signal and battery seems to last longer.
score on Antutu @ 806mhz: was about 3100.
after this mod: first 3000 and second time 3200+.
edit: after sleep my wifi is already on, in stead of reconnecting. + my wifi reconnected after leaving my wifi area and returning (before i had to turn wifi off and on before wifi turned on again). not thoroughly tested, but first impression is (very) good.
Click to expand...
Click to collapse
how to make pmr working? I changed the "updater-binary-installer" but no luck. It stuck at GB and i can't choose JB AOSP.
Solved:
Having weird display / texture / ghost inputs issues with the installer ?
Then Open the version of PmR you downloaded, navigate to META-INF/com/google/android and delete the file called "update-binary", then download this file and put it there instead.
Click to expand...
Click to collapse
No touch screen, butit works.
Wechy77 said:
how to make pmr working? I changed the "updater-binary-installer" but no luck. It stuck at GB and i can't choose JB AOSP.
Click to expand...
Click to collapse
the file you can download from post 1 is called update-binary, not update-binary-installer.
replace the downloaded file in the zip, and flash.
worked for me.

[Q] Media Volume

Hey there,
I'm sorry if this question has been asked before but i'm looking for a way to increase my media volume via headphones. I've tried using free apps and what not but it's simply not loud enough! Could some kind person point me in the direction of how to do this please?
Things I've tired:
Rooting my phone.
Shouting at it.
Any tips ?
EDIT: Flashed the phone with this ROM and all was sorted: http://forum.xda-developers.com/showthread.php?t=2080065
Dannyuk5 said:
Hey there,
I'm sorry if this question has been asked before but i'm looking for a way to increase my media volume via headphones. I've tried using free apps and what not but it's simply not loud enough! Could some kind person point me in the direction of how to do this please?
Things I've tired:
Rooting my phone.
Shouting at it.
Any tips ?
EDIT: Flashed the phone with this ROM and all was sorted: http://forum.xda-developers.com/showthread.php?t=2080065
Click to expand...
Click to collapse
Theres one thing I know you can do,, You can flash this
http://forum.xda-developers.com/showthread.php?t=2249874 .
just follow ,, and then you can tweak it there,, EXPERIMENT
Follow the Beats Audio!!
1. Download files attached and copy them to your SD card.
2. Reboot to CWM and make backup!
3. Mount data, mount system, install beats_by_contradictor_V2.07_Alsa.zip update.
4. Reboot. First boot will take some time, not afraid - it is normal)
5. Install com.namakerorin.audiofxwidget.apk download it from Attachments..
6. Start audiofxwidget and choose "Dialog" option in Select mode section. Choose 40% transparency (later you can change this parametr as you want to).
7. Disable any other equalizers in your player.
8. Add audiofxwidget to your Android Home Screen and choose EQ and BASS you prefer.
NOTE!! Dont install com.namakerorin.audiofxwidget.apk On SD card.. it should be iinstall nside your internal memory
Enjoy!! :good::laugh::angel:
Hit Thanks If i helped you!!

Setting Viper4Android Galaxy Y

Hello, this is my first post , so please tell me if my english is bad , or if you couldnt understand.
I want to share here my viper4android settings, I use these viper profiles, vocals are more clear , can notice the bas on earphones , crystal clear sound on your speakers . time to say goodbye to bad sound quality on our device GT-S5360
Code:
[CENTER]
Attention
1. I do not guarantee the results are 100% the same as you would expect , because everyone's music taste is different!
2. I can not guarantee if your device face bootloop, or sd card get damaged or defective hardware or a nuclear war even though
[/CENTER]
I have tested this tweaks on these ROMS
--Nougat ME CM7.2
--Hyperion 9
--Hyperion 8
--CM 11
--CMX 11 BETA
--Mango Me
--JellyBlast
with stock music player. If you try on other ROMS, report me! And do not forget to leave a review/comment!
Suggestions are welcome!
------------------------------!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Important!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!---------------------------------------
Don't try another EQ with it, only use ViperFX EQ!
if anyone wants to use these settings in the ROM,surely you can use it! But dont forget to mention me on credits!
INSTALLATION:
1. Turn on your smartphone first!
2. Please download required files from attachments
3. After the download gets completed , place the files on the SD card, dont place them on any folder.
4. Then extract and wait a while , after extracting make sure the directory / sdcard folder contained Viper4Android
5. Install Viper4android based on version of your android . then open the app. And install the driver, while opening the app it will ask you for access to superuser , select yes all the way! Reboot your phone when it asks to!
6. After the phone restarts , open the app viper4android , tap menu button , select "load preset "
7. Select which one you want .
ADD THIS CODE AFTER YOU TYPE DOMAIN DEV-HOST:
Code:
/B4im
[/CENTER]
​[/CODE]
- Clarity = Bass balanced and sound clarity . ( Only for Headset )
- Master of Bass = natural bass sound balance and noise . (Can be a headset or speaker )
- Master of Headset = aloud to a headset with a noise that is balanced .
- Master of louds = aloud without reducing the quality of the Sound.
Thanks To: team Viper4Android and raisul2010.5396 for teach i, how to post in forum
zhypr4tam4 said:
hello , this is my first post , so please at advised if my english is very bad , could not understand, or make you feel dizzy .
I want to share viper4android settings . I still use to this day , his voice grew clearer , with the support of a booming bass voice on the headset , crystal clear sound on your speaker . time to say goodbye to the small and the sound quality is less clear on the GT - S5360 .
Attention
1. I do not guarantee the results are 100% the same as you would expect , because everyone is different tastes .
2. I can not guarantee if you have a smart phone bootloop , sd card is damaged or defective hardware or a nuclear war even though
I have a test on Rom Nougat ME CM7.2 , Hyperion 9 , Hyperion 8 , CM 11 , CMX 11 BETA , Mango Me , JellyBlast with based player. Another ROM please try , and do not forget to give me a comment.
Any ROM or Device Welcome.
------------------------------!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Important!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!---------------------------------------
Don't join another Eq, just this Eq always
if anyone wants to use these settings in the ROM homemade please , but do not forget you get it from anyone .
INSTALLATION:
1. The your smart phone first.
2. Please download first the material in the my comment
3. after the download is complete , place the files are on the SD card out of the folder .
4. then extract and wait a while , after extracting make sure the directory / sdcard folder contained Viper4Android
5. install Viper4android based version of OS your phone . then open the application . and install the driver dialog box appears , select the " yes " and give access to superuser , then " yes " when asked to reboot phone
6. after the phone restarts , open the app viper4android , push the menu button , select "load preset " preset select which one you want .
- Clarity = Bass balanced and sound clarity . ( Only for Haedset )
- Master of Bass = natural bass sound balance and noise . (Can be a headset or speaker )
- Master of Headset = aloud to a headset with a noise that is balanced .
- Master of louds = aloud without reducing the quality of the Sound.
Thanks To: team Viper4Android
Click to expand...
Click to collapse
Check your PM and for those who is seeking for link here it is>> http://d-h.st/B4im
raisul2010.5396 said:
Check your PM
Click to expand...
Click to collapse
ok, Thank you Friend, i hope you lead my, b'cause i'm newbie
zhypr4tam4 said:
ok, Thank you Friend, i hope you lead my, b'cause i'm newbie
Click to expand...
Click to collapse
I included your files link on 2nd comment Credit is all yours!

[Magisk Module] Step By Step Definitive GPS Solution (Global)

*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

Categories

Resources