Instructions to install Google Camera in MI NOTE 2 - Xiaomi Mi Note 2 Guides, News, & Discussion

Instructions to install Google Camera in MI NOTE 2:
all the files needed to install the Google camera in Note 2: https://yadi.sk/d/31PaQT3N3afnFc
1. First through Magik (Modules) put the file "C2API + GcamSlowmo_enabler_v1500".
2. Next, restart on TWRP and the rolled-up file "fix-GCAM-my-note - 2-test-V5-non-public -libraries".
3. Boot the system, and then through a file manager to access Ruth go to the system folder - etc - camera and find the msm8996_camera.xml file, open it and find it at the end of the stitch file <Position> FRONT </ Position> and the value of 360 changes to 270, such lines will be 2 (follow one next to the other).
4. Restart and install CameraX.apk.
5. Open the Google Camera application, perform the settings as in the screenshots. The most important thing is to make HDR + work, switch to the front panel and activate the "HDR +" in the HDR icon.
Everything works on the Miui 10 firmware, from the MiRoom team
Regards

I just used a gcam mod apk i found and work just fine without any extra steps with aokp.

Can anyone confirm this is russian spyware-free?

Wrong section @vcx77

Miui 10.0 global stable 10.0.1.0 (OADMIFH).
slow mo mode does not work, crashes out of the application. Everything is done according to the instructions ...

could share your apk shanks! i just want try to use google cam on my mi note 2
iPeck said:
I just used a gcam mod apk i found and work just fine without any extra steps with aokp.
Click to expand...
Click to collapse
could share your apk shanks! i just want try to use google cam on my mi note 2

hubert6 said:
could share your apk shanks! i just want try to use google cam on my mi note 2
Click to expand...
Click to collapse
Just google GCam mod apk

Related

Download Google Talk 1.3 APK With Video Chat from Android 2.3.4

Google Talk is an instant messaging, audio and video chat service from Google, which is being designed for users to communicate in real time with other users who also use Google Talk. To complement Google Talk on desktop computer, Google has recently expanded Google Talk to Android phones with video and voice chat. With the new added service to Android phone, the users can now make a video or voice chat with their friends, family and colleagues who also use Google Talk on Android devices or on desktop PC.
Key features of the Google Talk for Android includes:
Able to make calls over 3G or 4G data network (if your carrier supports it) or over Wi-Fi.
Simply touch the video or voice chat button to connect with the friends or family members who are in the Google Talk friends list.
Text-chats will be overlaid on the phone screen while you are on video with others.
The video will automatically pauses and audio will keep going when you need to check something else from the Home screen or apps.
Google Talk with video and voice chat has already started to delivered to Google Nexus S devices as part of the Android 2.3.4 over-the-air update. Other Android devices will have to wait until the phone manufacturers such as HTC, Samsung, Motorola, LG and etc to start offering upgrade to Android 2.3.4 for their respective phones in order to get Google Talk with video and voice call feature.
If you can’t wait for the Google Talk with video chat support to come to your phone, which may take weeks or months to arrive, a hacker named britso has managed to extract Google Talk 1.3 app with video plus voice call support from Google Nexus S Android 2.3.4 update, hack the SigninActivity.smali to comment out a line so that the app works on other devices. The app is then re-compiled and pushed as the APK file for installing into other Android mobile phones running Android 2.3 or above.
Listed below are several ways on how to instal lGoogle Talk with voice and video chat support onto your Android smartphone. Note that the hack only works on rooted Android phone.
The download links of Google Talk apk is available from xda-developers.com (registration required).
Method 1: Via ADB
1.Download either Talk_with AV.zip or Talk_with_AV_no_wifi.zip.
2.Connect the Adnroid phone to PC and run following commands on ADB console:adb remount
adb shell mv /system/app/Talk.apk /system/app/Talk.apk1
adb uninstall com.google.android.talk
adb push libtalk_jni.so /system/lib/
adb push Talk2.apk /system/app
3.Run Talk and press on your own name where you can change your own status and tick the Allow video and voice chats to enable the feature.
Method 2: Using Root Explorer
1.Download and extract Talk_with AV.zip to SC card.
2.Open Root Explorer and navigate to extracted files on SDcard.
3.Copy talk2.apk and go to /system/app.
4.Press Mount R/W at the top right and then press Paste on the bottom left.
5.Now you have both talk.apk and talk2.apk.
6.Rename Talk.apk to Talk.apk1.
7.Select and hold the other Talk2.apk and press Permissions and select:User: Read Write
Group: Read
Others: Read
And press Ok.
8.Now press and hold on Talk2.apk and press Rename.
9.And rename Talk2.apk to Talk.apk.
10.Go back to extracted files SDcard and copy libtalk_jni.so.
11.Navigate to system/lib.
12.Press Mount R/W at the top right and then press Paste on the bottom left.
13.Press and hold on libtalk_jni.so and select Permissions, and change the permissions to:User: Read Write
Group: Read
Others: Read
14.Reboot the device.
15.Open Talk and press on your own name where you can change your own status and tick the Allow video and voice chats to enable the feature.
Eh? Confusion....
nierainbow said:
Listed below are several ways on how to instal lGoogle Talk with voice and video chat support onto your Android smartphone. Note that the hack only works on rooted Android phone.
The download links of Google Talk apk is available from xda-developers.com (registration required).
Click to expand...
Click to collapse
Thank you for your attempt to provide useful information, however this is really confusing.
Here are some helpful hints for future posts:
1. There is no download link in this thread or reference to the original post. You should try to fix it. I think this is the link you are referring to:
http://forum.xda-developers.com/showthread.php?t=1056793
2. We are on xda-developers as such why do you need to include the line registration is required. Don't just copy and paste information you found somewhere else, we are getting no where.
3. Include something useful or insightful such as "Hey here's another method and the link is below!" Something like that.
(Thanks BluechipJ!)
4. Find out if this is the correct forum/category to post in. Ask yourself the following questions: Am I developing something for the ARC? Am I asking a question? Is this theme or an app I am discussing? Is this general information?
5. Don't forget to use the search function and think before you post.
Hopefully this helps.
Whats the point of even posting it here. the arc doesn't have a front camera.
tsangwc said:
Whats the point of even posting it here. the arc doesn't have a front camera.
Click to expand...
Click to collapse
use the rear cam?
http://forum.xda-developers.com/showthread.php?t=1075494
here you find simplest way: an apk that does everything for you
also runs on 2.3.2
(& better than on htc devices since there every video is rotated by 90° ^^)
still only rear cam.. of course
kistigun said:
use the rear cam?
Click to expand...
Click to collapse
To use the rear cam to do voice chat, you have to either let people see you or you see them.
Sit before a mirror and use rear cam, you can see them, they can see you...
you have gingerbred 2.3.4 ?
While copying the .so file to /system/lib I face two problems :
1) i don't get mount r/w instead i get mount r/o.
2) if i tap mount r/o and paste the file it says not enough space, even if i don't tap mount r/o and then paste it, it says the same thing.
I have like 916KB free and 276MB used.
Is the folder dynamically expanding?
Or i have used a lot of space?
No app showing
So I installed with the root explorer method it all went fine. Gmail and market still working. But I don't have a "talk" app to use now.
not2cocky said:
So I installed with the root explorer method it all went fine. Gmail and market still working. But I don't have a "talk" app to use now.
Click to expand...
Click to collapse
Try this method.
http://android.modaco.com/topic/339390-r1-12-may-google-video-talk-installer/
WORK
Work in my xperia pro cyanogenmod 7.2 rc1 fxp 115
Google talk voice/video works for Samsung Galaxy I9003
sopdogg said:
Thank you for your attempt to provide useful information, however this is really confusing.
Here are some helpful hints for future posts:
1. There is no download link in this thread or reference to the original post. You should try to fix it. I think this is the link you are referring to:
http://forum.xda-developers.com/showthread.php?t=1056793
2. We are on xda-developers as such why do you need to include the line registration is required. Don't just copy and paste information you found somewhere else, we are getting no where.
3. Include something useful or insightful such as "Hey here's another method and the link is below!" Something like that.
(Thanks BluechipJ!)
4. Find out if this is the correct forum/category to post in. Ask yourself the following questions: Am I developing something for the ARC? Am I asking a question? Is this theme or an app I am discussing? Is this general information?
5. Don't forget to use the search function and think before you post.
Hopefully this helps.
Click to expand...
Click to collapse
This is method works for my Samsung Galaxy SL I9003 (ROOTED) mobile with Android 2.3.6. Some features I miss here are not able to choose front facing Camera, Video Chat status not visible for Others (but we can know who are having voice/video capability).
Anyhow works fine for me, Many thank to you!
Work in MK16 i and a CM7 RC
VERY THANKS
Enviado desde mi MK16a usando Tapatalk
do you have gtalk (can voic and video)for 2.3.7?
do you have gtalk (can voic and video)for 2.3.7?gtalk in my cm7.2 can only chat in text,not voic and video!thx
?????
where is the linke????????????

[UPDATE-7/7/2014] [QuBex-ROM] V8.2 !! || ♥ ROOT, GAPPS + MUCH MORE ♥

I am proud to present
QUBEX-ROM V8.2 !!
ROOT GAPPS TWEAKED AND NOOB-FRIENDLY
changelog07/07/2014
Code:
[COLOR="RoyalBlue"]-Updated Superuser
-Updated several system apps(LenovoMusic, LenovoVideo, LenovoCalendar, LenovoLauncher, LenovoSupernote, Camera and Gallery, ThemeCenter)
-Added LenovoCompass, RootExplorer, TitaniumBackup and latest LenovoBrowser (english)
-Updated The Inverted Play Store[/COLOR]
-Back to lenovo launcher (if you want another build with nova, leave a comment)
FRESH INSTALATION:
*You will need the MFT and all the drivers installed
1- unzip the "VIBEROM V8" folder wherever you want
2- open the MFT
3- select "flash-DVT3-CPU-sign-complete.xml" (it will erase your appdata)
4- power off the device by presing power button 10 seconds and then connect it, it should detect it and automatically begin to flash
5- after finished detach the phone and power it on
6- ENJOY!!
NOTE: DO NOT ALLOW SUPERUSER TO AUTOUPDATE
ONLY UPDATE STEPS:
*ONLY IF YOU ARE ALREADY ON V8
1-Place the system.img.gz from the "Update to V8.2.7z" in SDFUSE
2-Reboot in droidboot and sdupdate
3-power off and power on
Features
-Xperia Z2 status bar
-intel inside BOOTANIMATION
-Titanium Backup
-All in one zip (root, gapps, tweaks)
-inverted play store (battery and eyes friendly , and solved dpi incompatibilities)
-Root Explorer
-No chinesse annoying bloatware
-Default language english
-Noob friendly
NO NEED TO GRANT PERMISSIONS OR ANYTHING, ALL IS MADE TO WORK JUST FLASHING
IT IS TESTED BY ME AND IT WORKS GREAT, SO IF IT DOESNT WORK FOR YOU, DO ALL THE STEPS AGAIN CAREFULLY
I AM NOT RESPONSIBLE IF YOU DO SOMETHING WRONG AND "BRICK" YOUR DEVICE. However it is almost imposible to brick an android phone...
​
DOWNLOADS
DOWNLOAD ROM: http://bit.ly/1tbEyJk
DOWNLOAD ONLY UPDATE: http://bit.ly/1ooSc5h
Wow! Great news! Starting DL.
Sent from my Lenovo K900 using Tapatalk
If you find any issue tell me, thank you
Great job QuBeX!
Installed. Running very smoothly.
Just follow the guide above.
Will feedback after a few days of running. hi5!
Thanks!
I will try it en el fin de semana.
Which is your opinion about KitKat for this phone¿
"However it is almost imposible to brick an android phone..." ... jejeje :good:
Hi, friend. First thanks for great job and developing 4.3 for this cool phone. Can you please or anyone else installed this ROM post AnTuTu results. Thanks.
masterakalin said:
Hi, friend. First thanks for great job and developing 4.3 for this cool phone. Can you please or anyone else installed this ROM post AnTuTu results. Thanks.
Click to expand...
Click to collapse
viberom 1418, but another one release, for this one v8 will be almost the same
http://s1.uploads.im/hBcQi.jpg
You are the BEST !
Thank you, looks like a great ROM !!
Thanks, looks smooth like always :good: Will try it for few days and get back to you for any problem.
---------- Post added at 04:34 AM ---------- Previous post was at 04:32 AM ----------
Oh, a quick one. How can I change the lock screen? How can I use pics from gallery. This option was available in your previous roms.
dabdob said:
Thanks, looks smooth like always :good: Will try it for few days and get back to you for any problem.
---------- Post added at 04:34 AM ---------- Previous post was at 04:32 AM ----------
Oh, a quick one. How can I change the lock screen? How can I use pics from gallery. This option was available in your previous roms.
Click to expand...
Click to collapse
Well, its really weird. To change the default lock screen I had to modify the keyguardclient.apk because I don't know where the f*ck is the option to choose a picture from the gallery
For those who want to change the lockscreen:
1-goto "system/app and search "keyguardclient2.apk"
2-open apk as zip
3-goto /res/drawable-xxxhdpi/ and search for unlock_wallpaper.png and replace it with the picture you want
QuBeX said:
Well, its really weird. To change the default lock screen I had to modify the keyguardclient.apk because I don't know where the f*ck is the option to choose a picture from the gallery ������
For those who want to change the lockscreen:
1-goto "system/app and search "keyguardclient2.apk"
2-open apk as zip
3-goto /res/drawable-xxxhdpi/ and search for unlock_wallpaper.png and replace it with the picture you want
Click to expand...
Click to collapse
or open Theme center and upgrade to version v 1.15.324 (open theme center, slide finger left to right, cogwheel in left down corner, About theme center, Upgrade.
For download new themes, walpapers, bootanimations via upgraded Theme center:
Go to system- open build.prop in edit mode (use es file explorer, root explorer or similar file manager with root permissions) and delete completely line
"ro.lenovo.region=row"
reboot
For QuBeX:
I can´t login to my Lenovo account (I try loged in via SyncIt, via Lenovo note and nothing.)
Edit: For login to Lenovo account:
System settings- Acouunt- add account- Lenovo Id
karellang said:
or open Theme center and upgrade to version v 1.15.324 (open theme center, slide finger left to right, cogwheel in left down corner, About theme center, Upgrade.
For download new themes, walpapers, bootanimations via upgraded Theme center:
Go to system- open build.prop in edit mode (use es file explorer, root explorer or similar file manager with root permissions) and delete completely line
"ro.lenovo.region=row"
reboot
For QuBeX:
I can´t login to my Lenovo account (I try loged in via SyncIt, via Lenovo note and nothing.)
Click to expand...
Click to collapse
Well i don't really use those apps so... tell me more details
Nice ROM
Thank you very much QuBeX for your work on this rom,
Now i can play the Clumsy Ninja game although it not as smooth like i play on iphone 5s but now it is playable.
All the gapps working good with no issue.
btw i got one question....how did my my play store suddenly turning to white back? If i not mistaken u used the inverted gapps right?
but that not a problem just the background colour.
Overall :good::good::good::good::good::good::good::good::good:
pjsplayez said:
btw i got one question....how did my my play store suddenly turning to white back? If i not mistaken u used the inverted gapps right?
but that not a problem just the background colour.
Click to expand...
Click to collapse
hmmm that's really weird, it was white at the first run or after several runs it turned white?
QuBeX said:
hmmm that's really weird, it was white at the first run or after several runs it turned white?
Click to expand...
Click to collapse
It was black at first time then suddenly after few hour it turn white.
pjsplayez said:
It was black at first time then suddenly after few hour it turn white.
Click to expand...
Click to collapse
really weird, maybe it updated itself... does anybody have the same problem?
Is u include sim tool kit in your rom?
Sent from my Lenovo K900 using XDA Premium 4 mobile app
QuBeX said:
I am proud to present
QUBEX-ROM V8 !!
ROOT GAPPS TWEAKED AND NOOB-FRIENDLY
Instructions:
*You will need the MFT and all the drivers installed
1- unzip the "VIBEROM V8" folder wherever you want
2- open the MFT
3- select "flash-DVT3-CPU-sign-complete.xml" (it will erase your appdata)
4- power off the device by presing power button 10 seconds and then connect it, it should detect it and automatically begin to flash
5- after finished detach the phone and power it on
6- ENJOY!!
NOTE: DO NOT ALLOW SUPERUSER TO AUTOUPDATE
If you want to change the default lockscreen picture follow these steps: http://forum.xda-developers.com/showpost.php?p=52863823&postcount=11
Features
-Xperia Z2 status bar
-intel inside BOOTANIMATION
-Nova Launcher
-Flat icon pack
-Titanium Backup
-All in one zip (root, gapps, tweaks)
-inverted play store (battery and eyes friendly , and solved dpi incompatibilities)
-Root Explorer
-No chinesse annoying bloatware
-Default language english
-Noob friendly
NO NEED TO GRANT PERMISSIONS OR ANYTHING, ALL IS MADE TO WORK JUST FLASHING
IT IS TESTED BY ME AND IT WORKS GREAT, SO IF IT DOESNT WORK FOR YOU, DO ALL THE STEPS AGAIN CAREFULLY
I AM NOT RESPONSIBLE IF YOU DO SOMETHING WRONG AND "BRICK" YOUR DEVICE. However it is almost imposible to brick an android phone...
​
DOWNLOAD: bit.ly/1pgeVBE
Click to expand...
Click to collapse
thought you were busy these days
supersayan1000 said:
thought you were busy these days
Click to expand...
Click to collapse
Yeah, but only 3 exams left so I have a break ^^ hahaha

Hack "Google My Tracks" back into life?

The Google app "My Tracks" was deprecated some months ago, which is a shame since it was very popular due to it's no-nonsense approach.
I had a look at the last version before Google deprecated it, it's available for download here.
Really the only two things that don't seem to work still are the maps (it just displays an empty background) and Google Drive syncing. I suppose Google canceled the API keys for those, and that's why they're not working.
So I used APKTool to unpack it, and changed the API key for the maps in AndroidManifest.xml to one that I had registered myself. I then used APKTool to put it back together, signed it with jarsigner and installed it on my phone. It didn't work (it's still not displaying the map).
So now I'm hoping someone smarter than me might be able to get it to work Not sure why it's not working (I used the package name of the app, com.google.android.maps.mytracks as the package name when I registered for the API key, if that matters).
Hi,
Which version of Android do you use ? 6.0.1 ?
I used to be on Android 4.4.2, and "My Tracks" used to work perfectly.
I changed phone, and I now have Android 6.0.1, and "My Tracks" displays grey empty area, instead of the map.
I suppose that Google has changer many things on Andoird 6.0.1, which blocks the map from being used by "My Traks".
I have noticed that the Android/Data/ directory does not contain any "com.google.android.maps.mytracks" folder, as it used to.
I made a full back-up from MyBackUp Pro, and I have noticed that when I restore My Tracks "APK and DATA", the map displays totally fine on My Tracks, when I launch a track recording !!!
But the GPS does not work well at all.
We could discuss together or findings, to try to see what can be done to correct this on Android 6.0.1 ?
Hi BadCash,
I have read many pages, and did not find a good solution yet, ans no other app can beat or even be as good as My Tracks.
I confirm that when I install My Tracks with MyBackUp Pro, on my rooted phone G900F on Android 6.0.1 stock rooted, "apk+data", the map appears on My Tracks, but the GPS is crazy...
and when I install apk only, no map appears, but thr GPS works veray well.... (writes the route on the grey screen)....
So is there a chance that the solution would be in the DATA files I have back-up, and juste on file to modify... ?
Or is it related to Android 6.0.1 permissions ?
Or is it related to Google services ? or Play Store, or Google apps ?
---------- Post added at 11:48 AM ---------- Previous post was at 11:45 AM ----------
I found the apk sources for "My Tracks" :
https://github.com/Plonk42/mytracks
Who could find and correct it to make it work on Android 6.0.1 please ?
Many users would donate a reward on PayPal to the genious person who would correct it !!!
I am running a rooted Note 4 on Android 5.1.1 and the map in My Tracks no longer shows up for me either. My tracks still worked on my LG G4 with 6.0.1. I think My Tracks is still tracking but doesn't show my actual track on the map.
watching this thread. Google Fit sucks.
Seb14 said:
I found the apk sources for "My Tracks" :
https://github.com/Plonk42/mytracks
Who could find and correct it to make it work on Android 6.0.1 please ?
Many users would donate a reward on PayPal to the genious person who would correct it !!!
Click to expand...
Click to collapse
I went and recompiled the said source code with a new Google Maps API key, and it's working like a charm on Android 8.0. :good:
Please give me a link to download your version
YandereSan said:
I went and recompiled the said source code with a new Google Maps API key, and it's working like a charm on Android 8.0. :good:
Click to expand...
Click to collapse
Great job. I hope you post a link to the download for people who need it.
My previous phone was a Note 4 where it was working fine (Android 5.1). I did a Google backup on it, and then when I set up my Pixel 2 XL, I restored from the Note 4 backup and it is working fine on my Pixel 2 XL.
I hope too! I still haven't found a good alternative to My Track
bubnenko said:
Please give me a link to download your version
Click to expand...
Click to collapse
Unfortunately, I can't really give you my version as it requires API keys which are tied to my personal account.
1. Go to Google Cloud Dashboard: https://console.cloud.google.com/apis/dashboard
2. Create a new project. You can call it MyTracks Revived.
3. Click "Enable APIs" -> Maps SDK for Android - make sure it's activated.
4. Go to Credentials: https://console.cloud.google.com/apis/credentials
5. Create credentials. You'll receive an API key.
Once you the maps API key, you can follow the instructions to compile it here: https://github.com/Plonk42/mytracks
YandereSan said:
Once you the maps API key, you can follow the instructions to compile it here: https://github.com/Plonk42/mytracks
Click to expand...
Click to collapse
I downloaded, created a new set of API keys, and used Android Studio to run it on my phone. Had to uninstall the Google version.
While the maps part now works, I cannot import from my SD card all of my old tracks! This makes the new version unusable! And unfortunately, Verizon sucks so I can't root my phone and manually do it. Anyone else find a way to allow import? It sees there are two tracks to import, but just gives a generic error. Nothing in the debug log or logcat...very frustrating.
It would be nice to have the newest Google version work. Why does decompiling the APK with APKTool, replacing the API keys in AndroidManifest, and recompiling/signing not work? I took a look at the differences between the open source AndroidManifest and the Google 2.0.11 one, but didn't see anything important. Any thoughts?
Thanks!
MrNetwork said:
Great job. I hope you post a link to the download for people who need it.
My previous phone was a Note 4 where it was working fine (Android 5.1). I did a Google backup on it, and then when I set up my Pixel 2 XL, I restored from the Note 4 backup and it is working fine on my Pixel 2 XL.
Click to expand...
Click to collapse
Hi can you elaborate on how you got my tracks working on your pixel?
Thanks
YandereSan said:
I went and recompiled the said source code with a new Google Maps API key, and it's working like a charm on Android 8.0. :good:
Click to expand...
Click to collapse
I have a key but dont remember how to change it
gtg472b said:
I downloaded, created a new set of API keys, and used Android Studio to run it on my phone. Had to uninstall the Google version.
While the maps part now works, I cannot import from my SD card all of my old tracks! This makes the new version unusable! And unfortunately, Verizon sucks so I can't root my phone and manually do it. Anyone else find a way to allow import? It sees there are two tracks to import, but just gives a generic error. Nothing in the debug log or logcat...very frustrating.
It would be nice to have the newest Google version work. Why does decompiling the APK with APKTool, replacing the API keys in AndroidManifest, and recompiling/signing not work? I took a look at the differences between the open source AndroidManifest and the Google 2.0.11 one, but didn't see anything important. Any thoughts?
Thanks!
Click to expand...
Click to collapse
Hello,
Thank you all, i've been very interested by this thread about Mytracks, and i was searching for solutions about this app.
Here were my needs :
- continue to use "mytracks" on new smartphone (android 8.1) => able to see maps and record tracks with markers (photos)
- possibility to import all my tracks (>800) on my tablet (official android 5.0.2, but now using Lineage OS 15)
So, i created my personal API key with Google console and tried to apply it in AndroidManifest.xml
I tested several versions :
- 2.0.11 / 2.0.10 : display is KO, maps stays grey. No errors in logcat because my key is valid (also no metric for my key in Google Maps API console)
- 2.0.9 / 2.0.7 : display for Google Maps is OK and i can import tracks.
So that's it i keep app version 2.0.9 with modified AndroidManifest.xml
(it seems versions 2.0.10 & 2.0.11 only bring "Earth maps")
Thanks
Google will change the maps renderer. Any chance that MyTracks can be modified to work with this new renderer?

[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

How to make the new version of LG camera work properly on the G5

https://www.apkmirror.com/apk/lgelectronics/lg-camera/
I downloaded the new version of the LG camera from the above website, which could be installed normally, but couldn't be opened, there is an error message: unfortunately, the camera has stopped, however, I can open the front camera by long pressing the menu in the camera icon. The rear camera still can't work. How can I make the rear camera work normally?
I think that, although the package name is the same, the version 7 of the LG Camera has been taken from another phone. Of course there are many brilliant developers on XDA, but I don't think that making that app work is just a matter of bug fixing.
wuri said:
https://www.apkmirror.com/apk/lgelectronics/lg-camera/
I downloaded the new version of the LG camera from the above website, which could be installed normally, but couldn't be opened, there is an error message: unfortunately, the camera has stopped, however, I can open the front camera by long pressing the menu in the camera icon. The rear camera still can't work. How can I make the rear camera work normally?
Click to expand...
Click to collapse
it's to do with the camera_config file in system/etc.
if you have root, you can modify the file to get it working.
if you look at some ROMs avaliable, they have LG Camera 7 working, you may be able to use their files as a guide to modify your config to work.
jc9896 said:
it's to do with the camera_config file in system/etc.
if you have root, you can modify the file to get it working.
if you look at some ROMs avaliable, they have LG Camera 7 working, you may be able to use their files as a guide to modify your config to work.
Click to expand...
Click to collapse
Thank you, my mobile phone model is h868, cannot be rooted, it seems no way to solve.
wuri said:
Thank you, my mobile phone model is h868, cannot be rooted, it seems no way to solve.
Click to expand...
Click to collapse
[url]https://www.dropbox.com/s/ge8rqmfpy3nluh9/LG%20Camera%207.zip?dl=0[/URL]
try this out, not sure if it works. it does not replace your stock camera app, so you can still use that.
unzip and copy camera_config.xml to the root of your internal storage (/sdcard)
install the contained app normally, no root needed.
from my testing, everything works except cine mode, food mode and popout. Wide angle is a tiny bit odd. Manual video and Graphy features avaliable too.
Feel free to edit the config file to add or remove options.
Tested on a H860
jc9896 said:
[url]https://www.dropbox.com/s/ge8rqmfpy3nluh9/LG%20Camera%207.zip?dl=0[/URL]
try this out, not sure if it works. it does not replace your stock camera app, so you can still use that.
unzip and copy camera_config.xml to the root of your internal storage (/sdcard)
install the contained app normally, no root needed.
from my testing, everything works except cine mode, food mode and popout. Wide angle is a tiny bit odd. Manual video and Graphy features avaliable too.
Feel free to edit the config file to add or remove options.
Tested on a H860
Click to expand...
Click to collapse
I tried and it worked, it's amazing, but some features are still faulty, as follows: cine video, popout, food, panorama, 360panorama, flash jump-cut, and application will crash when click sticker in self-timer mode, and can not change photo storage to sd card, thanks for your job, you are very kind.
wuri said:
I tried and it worked, it's amazing, but some features are still faulty, as follows: cine video, popout, food, panorama, 360panorama, flash jump-cut, and application will crash when click sticker in self-timer mode, and can not change photo storage to sd card, thanks for your job, you are very kind.
Click to expand...
Click to collapse
some features are impossible without root as they require files in the system.
those features you mentioned require files not included with the G5.
jc9896 said:
some features are impossible without root as they require files in the system.
those features you mentioned require files not included with the G5.
Click to expand...
Click to collapse
I get it,thanks.

Categories

Resources