After updating to XWKE2, some people reported their battery life greatly improved after doing a full factory reset on the device.
After some research I found out that all you have to do is delete the following files, if they exist on your system:
/data/data/com.android.providers.telephony/databases/nwk_info.db
/system/csc/nwk_info.db
(The second file may or may not exist.)
And reboot your phone. You will notice that FastDormancy will now do short pauses between queries on your logcat (5seconds or more), instead of query non-stop like crazy.
Better yet, if you have the skills, you can figure out which values to set on those databases to make FastDormancy work or disable it on networks that Dormancy is not supported.
Since there are hundreds of different networks out there, it would be impossible for me to figure out the configuration for each one of them, so for now just delete the file and you will already get a great improvement on your battery life.
If you want to know more about the FastDormancy problem, just search on this forum. There are a few threads that already discuss it in length.
Even better, here is how to set the FastDormancy pooling to a very high value, making it save even more battery when your network does not support Dormancy:
You will need to have the file /data/data/com.android.providers.telephony/databases/nwk_info.db on it's original location, so if you deleted, recover your backup copy back in place. If you dont have one anymore, you can download the attached file.
1. make sure the file /data/data/com.android.providers.telephony/databases/nwk_info.db exists
2. make sure you have sqlite3 binary installed (most people install it anyway while rooting). It's usually located at /system/xbin/sqlite3
3. open adb shell as root and execute:
# cd /data/data/com.android.providers.telephony/databases/
# getprop gsm.operator.numeric
310410 <-- write down this number, it's your carrier number and you will need it for the following commands
# sqlite3 nwk_info.db
sqlite> delete from dormpolicy where plmn="310410"; (replace the number 310410 on all commands with the number you got from the previous command)
sqlite> delete from nwkinfo where plmn="310410";
sqlite> insert into dormpolicy values("310410","My Carrier",30,30);
sqlite> insert into nwkinfo values("310410", "My Carrier", "off", 1500, "", "");
sqlite> (hit ctrl-d to exit sqlite3)
#
Done, FastDormancy will only pop on your adb logcat once every 30 seconds. you can change the number to whatever you want, in seconds.
Quick FAQ:
Q: But I don't have the second file?
A: That's fine, most people won't have it. But the code that checks for those files also checks for that one, so just in case I decided to make sure that one is deleted if ever exists.
Q: But that file may have more important network information?!
A: IT DOESN'T. If you take the time to open the file and look at it, you will se that it doesn't have much information at all. You will see it's ONLY contents are related to Dormancy, and NOTHING else. So if you are having FastDormancy problems, they already miss the information you need about your carrier anyway. Also, if you factory reset after KE2, it already delete those files.
Q: My battery usage seams the same!?
A: The problem only appears IF wifi is turned off or in "sleep mode". If you are testing it in those conditions, you won't see anything changed. You will only notice the fix while the phone has no wifi connectivity, has 3g on and is on standby. That's when FastDormancy goes nuts.
Q: How do I disable Dormancy?
A: If you wanna mess with the database or with ro.ril.disable.fd.plmn.prefix=23402,23410,23411, you can find your current network plmn running over adb shell the command: getprop gsm.operator.numeric . It's not guaranteed that it will turn it off. But if you have any luck, post here please.
Q: Why FastDormancy is there in the first place?
A: If your network support Dormancy AND the information required is on those databases, you can get a much improved battery life by using it. But only a few have that right now. Or at least working as intended.
Will give it a try, thanks I hope it helps.
Sent from my GT-I9100 using XDA Premium App
Done. Now we'll see.
Thanks a lot !
is the "nkw_info.db" that i have to delete ?
Something tells me that those dbs have network info that might be needed perhaps? I'm assuming there have been no side effects other than removing the fast dormancy problems?
I'll give it a try 2nt .
Just in case I will copy those files to somewhere else. I am not sure if deleting is the best option.
No change on the android os cpu time, still 2 min /h as before after this fix
CandyAndy said:
Just in case I will copy those files to somewhere else. I am not sure if deleting is the best option.
Click to expand...
Click to collapse
For some reason I even didn't have the second file
CandyAndy said:
For some reason I even didn't have the second file
Click to expand...
Click to collapse
Same here, no second file for me either. Moved the first onto the sd card for now.
where is the file located?
I don't appear to have either file on my device.
How to change dormancy to off?
Sent from my GT-I9100 using XDA Premium App
So has anyone found that this has helped?
Sent from my GT-I9100 using XDA Premium App
Battery much worse. Phone now in arabic, wont boot and also has lcd juice leaking out of the earphone socket
Sent from my GT-I9100 using XDA Premium App
I only had the first file to have moved that to my sd! Only time will tell I guess!
Sent from my GT-I9100 using Tapatalk
jangomango said:
Battery much worse. Phone now in arabic, wont boot and also has lcd juice leaking out of the earphone socket
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Nice one
Right, I'm an idiot, you can't see anything in the data directory without a decent file browser that takes advantage of superuser permissions.
I have now removed the first file (no trace of the second one, for reals) and will see how things go.
So far today, Android OS has account for 48 minutes of CPU in 5 hours, so it'll be interesting to see if that drops off...
I'm an idiot, too.
Not moved and directly deleted that file.
Damnit.. Next time it might be helpful if you are NOT 100% sure that it helps, please don't tell to remove instead of moving file..
13 Sekunden means 13 SECONDS!
Um, unixbyte, not sure what you're showing us there?
13 seconds of use isn't *really* enough to tell whether this has made a difference...
Related
While waiting for cyanogenmod and the toggle 2g app to land from the heavens, I had this idea. So is there a command to switch the 3g to 2g and backwards?
Using this command with locale and the terminal plug-in could be handy. I just don't have the linux knowledge, so that's why I'm asking here
Sent from my GT-I9000 using Tapatalk
Could it be as simple as echo-ing a value to something in /sys or /proc? I poked around for a minute in those dirs but didn't see anything obvious.
just use switcherpro widget great app and can turn on/off 3g
I thought it would be easy, since it's just probably one value to change somewhere, but as said I'm pretty much lost with this one
All of the widgets are just shortcuts to the settings. And that's exactly why I asked if anyone knows if this is possible, I don't like it that I have to click 5 times to switch the network (have to open the lockscreen also). I just want it to be automatic, so that it would switch to 2g at nights and when I'm at home where I use my computer to surf net. Also did you really think I wasn't aware of the widgets? If not, that wasn't that much of a contribution.
If it really is as easy as just echoing a value like so many other things are, you could do a listing of all files in the suspect dirs, then make the change manually, and then compare what files have changed. That might narrow down the search. There's probably some nifty grep or other linux command to make that easy, but I'm not real sharp at that.
I tried running logcat on the phone while switching network settings and while the log reflected my actions somewhat, it wasn't helpful in identifying what really happened.
TheMasterBaron just posted a non-signed version of the toggle 2g/3g app here http://forum.xda-developers.com/showthread.php?t=739530&page=15 I tried to sign it with the "auto-sign" folder, but it won't install. (For the record, I have signed apps from update.zips succesfully before with it). Anybody know how to make it compatible, since he (TMB) says it's down to the signign http://forum.xda-developers.com/showpost.php?p=8073786&postcount=149
So, I've been messing around with the source for a couple weeks and finally managed to make a wpa_supplicant based on the 0.8.x code which compiles, loads, and seems to connect to the internet.
Do I know why? Not really. I was working on it mostly just to get back into practice with code and I had some knowledge of the wpa supplicant from messing with the ad hoc and multicast. (Both of which mods are not applied to this supplicant as I wanted to keep it simple until it built correctly.)
Anyhow, the stupid thing finally loads and appears to work. And hopefully it'll be compatible with HashCode's new kernel when that has wifi in it.
If anyone is willing to download and see what does/does not work, I'd appreciate it.
This is totally a testing version, not general use. I honestly don't even know what the 0.8.x version of the wifi supplicant is supposed to do better than the 0.6.x version. But it's a higher version, so it must be better, no?
So, here's the download (Updated 4:30pm 9-Apr-12 CDT).
New version appears to fix encrypted networks, so all unknown on what works/doesn't.
jd
To install:
Download the file. I'm assuming you have ADB running and that you you're in the directory you saved the file to. No I'm not going to help with this part.
adb shell cp -a /system/bin/wpa_supplicant /system/bin/wpa_supplicant_06x
adb push wpa_supplicant /system/bin/wpa_supplicant_08x
adb shell chown root.shell /system/bin/wpa_supplicant_08x
adb shell chmod 755 /system/bin/wpa_supplicant_08x
Now shut off the wifi on the kindle
adb shell cp -a /system/bin/wpa_supplicant_08x /system/bin/wpa_supplicant
Now turn on the wifi.
To revert:
Shut off your wifi
adb shell cp -a /system/bin/wpa_supplicant_06x /system/bin/wpa_supplicant
Turn on wifi, or if it will not, then reboot.
jd
Flashable zip?
Or push with ADB?
:EDIT:
Disregard this post, I posted before he posted directions in post #2.
Extra post just in case
Can i haz packet injection?
Krunk_Kracker said:
Flashable zip?
Or push with ADB?
:EDIT:
Disregard this post, I posted before he posted directions in post #2.
Click to expand...
Click to collapse
LOL, I think I was actually writing post 2 as you posted. Since you got in before the second placeholder
There's no new functions in this that aren't in the stock WPA supplicant. I kinda mashed the ti driver against the 0.8.x supplicant code and then snipped off anything that didn't match. That's why I'm not sure what's not going to work.
From all my looking through the WPA supplicant, I haven't seen anyplace where it interacts at the packet level. I believe that's done driver-side. WPA supplicant seems to manage network names and settings only. I had high hopes of finding how the nic decides to roam originally but not even that seems to be accessible.
Sorry, but if you downloaded prior to this post, please download again. I found a problem with connecting to encrypted networks. (Had been using work guest network for testing previously.)
Fortunately it was a not difficult change and so I uploaded new version to fix that known issue.
Thanks again to anyone testing.
jd
jd,
I was only trying to encourage thought around the idea of getting monitor mode / injection working on this driver, and since I have no clue how to make it work myself, I figured I would get those working on the wifi to have a look how to recompile the drivers (hopefully) lol.
can i use root explorer for this?
@d33dvb No worries, I wasn't offended. Just trying to set the bar on what the new supplicant is capable of. Really, it seems to be basic management of the settings needed to connect to a SSID. So I'm really not sure what was added between 0.6 and 0.8 - it's not like the industry added a WPA3 encryption standard or anything. Googling wpa_supplicant 0.8 accomplishes little, I don't seem to find any change log after 0.7.3. Which is listed as current development version.
Anyhow, I'm hoping it's incremental improvements to network management. I already checked it wasn't a magic bullet fix to our multicast initialization bug so I'll have to reapply that fix when I get that far. At the moment I'm trying to use this as an opportunity to learn to use git so I won't have to keep reapplying these patches by hand each new version from CyanogenMod.
@paranoid_android85 I don't see any reason why you couldn't use root explorer to put the file in place if that's what you're comfortable with. I just wrote the instructions using ADB because that's what I'm comfortable with.
Short alternate instructions, somehow make a copy of your current /system/bin/wpa_supplicant. Shut off wifi, replace the wpa_supplicant file with the one in this thread. Match up the file owner and permissions to the original file. Re-enable wifi.
Since I haven't heard from anyone else, I'll go ahead and post my results.
Been running this on my KF for about 3 days and the only real bug I've found is that the network icon remains grey.
I know I've seen it posted before but do not remember where, but can anyone tell me what the thing is checking to switch from grey to blue?
jdommer said:
Since I haven't heard from anyone else, I'll go ahead and post my results.
Been running this on my KF for about 3 days and the only real bug I've found is that the network icon remains grey.
I know I've seen it posted before but do not remember where, but can anyone tell me what the thing is checking to switch from grey to blue?
Click to expand...
Click to collapse
When it's blue, it means it has contacted Googles servers
Sent from my Amazon Kindle Fire using Tapatalk 2
Krunk_Kracker said:
When it's blue, it means it has contacted Googles servers
Sent from my Amazon Kindle Fire using Tapatalk 2
Click to expand...
Click to collapse
Any idea which servers? I receive gmail notifications, app update notifications, etc. I signed into Google talk. All with a still grey network icon.
I had been hoping to find an error in the logs that would indicate what's not happening, but the logs look clean.
So any additional info anyone has on the process would be helpful.
jdommer said:
Any idea which servers? I receive gmail notifications, app update notifications, etc. I signed into Google talk. All with a still grey network icon.
I had been hoping to find an error in the logs that would indicate what's not happening, but the logs look clean.
So any additional info anyone has on the process would be helpful.
Click to expand...
Click to collapse
IIRC, I believe it is for syncing.
Like Google Books. If you read it on your tablet, it uploads the last page read to the sync servers so when you access it from your phone, it will pick up where you left off.
#wpa_supplicant -v
reloc_library[1318]: 1057 cannot locate 'get_rfc3526_prime_1536'...
CANNOT LINK EXECUTABLE
I'm running cm7 on a passion device...
For instance, I delete most of the notification and ringtones that come with a mod. In fact, I've deleted all of them. I've achieved this using Root Explorer with RW enabled.
But when I go into Settings > Sound > Ringtone\Notification, some names show up. I've tried deleting cache, etc. But no matter how many times I do this the names show up; even after restarting my phone.
2 vanished somehow, but I still have 1 left. Specifically it's called "Teleport". There's no real file and no sound to play from. So when I highlight it, it doesn't play, because I've deleted it. I just want the name gone. The nonexistent files don't show up in any music list or even in file manager such as Root Explorer.
It's been like this for a while. How can I fix this?
CM7/S-Off
I knew I couldn't get a response on this board, as always!
Have you tried going into Settings ->Applications and clearing data? Im not sure which at the moment (too sleepy to think that hard), but it may be stored in Media Storage Sound Set, HTC Sense.... Not sure if this would work, but could be worth a try.
If i am remembering correctly, dont clear data on Customization Setup/Settings as it could cause a problem. Not 100% sure im remembering right but ill try to double check that later if i have some time.
Sent from my T-Mobile myTouch 3G Slide using XDA App
DocHoliday77 said:
Have you tried going into Settings ->Applications and clearing data? Im not sure which at the moment (too sleepy to think that hard), but it may be stored in Media Storage Sound Set, HTC Sense.... Not sure if this would work, but could be worth a try.
If i am remembering correctly, dont clear data on Customization Setup/Settings as it could cause a problem. Not 100% sure im remembering right but ill try to double check that later if i have some time.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Actually, it deleted all of my customized ringtones and notifications but still left unused ones. Time to Nandroid Restore! Ugh.
Thanks for the reply, though.
{edit} Actually, it usually refreshes the list on reboot. I'm going to copy my saved ringtones/notifications folders to the systems audio folders and bring them back. Going to see if, on reboot, the two system sound files that shouldn't be there actually disappear now.
aaaand. Nope.
Sorry about that! Didnt expect it to delete anything, just figured when the service restarted it would repopulate the data with what you DO have on your phone.
After restoring, are you still having problems? I am on SalsaSlide, and when I deleted system ringtones/notifications, it was immediately corrected on my list of ringtones available. So I don't think you should even have to restart the phone. (If it is working correctly of course!)
Anyway, sorry again for the unexpected result. Hope you got it worked out.
Still hasn't worked. But thanks for the suggestion. Restoring actually make a copy of them so I had two of each lol. I'll try and figure it out. I could clean it up, but those few that have been deleted just still list in the menu. It was with the ROM it came with, but maybe some data is stored in the backup? It would be, but I don't understand why I can't delete them?
Thanks again.
Just thought of something else that may be worth a try. It looks to me that the data is stored at /data/data/com.android.providers.media/databases/internal.db
If you have SQLite Editor, or something similar you can try to delete the entries manually. Or you can find and download sqlite3 (prob here on xda), place it in /system/xbin/ with correct permissions and try it out from the terminal. I havent tried this out, but seems to me it should work. Im sure i dont have to say it but back up the file first, of course!
Unfortunately I am not well versed on database editing, especially from terminal, so i doubt id be much help with specifics there, but i thought it may be worth the suggestion. If I think of anything else ill let u know. And i think i have sqlite3 at home so if u cant find it let me know and ill try to post it here later.
Sent from my Little Engine That Could using XDA App
DocHoliday77 said:
Just thought of something else that may be worth a try. It looks to me that the data is stored at /data/data/com.android.providers.media/databases/internal.db
If you have SQLite Editor, or something similar you can try to delete the entries manually. Or you can find and download sqlite3 (prob here on xda), place it in /system/xbin/ with correct permissions and try it out from the terminal. I havent tried this out, but seems to me it should work. Im sure i dont have to say it but back up the file first, of course!
Unfortunately I am not well versed on database editing, especially from terminal, so i doubt id be much help with specifics there, but i thought it may be worth the suggestion. If I think of anything else ill let u know. And i think i have sqlite3 at home so if u cant find it let me know and ill try to post it here later.
Sent from my Little Engine That Could using XDA App
Click to expand...
Click to collapse
Thank you, I will look into it!! I will report back here on the result.
{edit} they don't even show up in the SQ! Others do, but not those specific entries. I'm stumped. Oh well. Thanks for your help. You don't have to persist on this
Its no big deal really. Im pretty much just going from memory so it only takes a min or two to respond. And at least for me problems like this that are mostly just annoyances, really annoy me!
Was just thinking that if they r not listed in the database file, but the others are, then the problem is not there. Its being stored elsewhere....maybe in dalvik cache, or cm settings??
Im not sure where else to look right now but i did leave a few more ideas in ur other thread already so check that out.
Sent from my Little Engine That Could using XDA App
I don't even know what's going on anymore!
I downloaded and flashed the latest CM7 RC3, and I've gotten no freezes with that version.
Unfortunately, I didn't want to keep it! So before flashing on a full wipe, I removed the ringtones/notifications from the .RAR without unzipping it. Just simply deleted them. Everything flashed fine. I go into the Ringtones and Notifications options under Settings > Sound and there's about 4 new tunes from the rom that weren't even there before I flashed RC3 !
I delete them before flashing and a few show up. I can't take this anymore.
First off thanks for taking the time to even read this. I'm giving my 4 boys mint bad esn Sprint S3's for Christmas. I want them to be wifi only. I have updated them to ND8, Rooted, installed Busybox, init.d, debloat and deknox. Next once I figure out the name will remove phone.apk,contacts.apk and mms?
Its either this or 4 new 64gb Ipod 5's and I'm not paying that much for something I can't upgrade. Like the less than 2yr old outdated Ipod 4's they have now. All app's and instructions for Wifi only are for pre-4.4.2. I need a way to kill the radio on the the phone at boot or kill it permanently to extend battery life.
I have tried making a init.d script to set "radiooption 1" but it doesn't work.
I have mounted system as su in terminal and tried to force radio off and it replies access denied
I'm at a loss after 14hrs of trying I NEED HELP PLEASE.
IF I cant get radio off i want to make a script to turn on airplane mode then turn on wifi. I know i can do it manually but that is not how the wife wants.
Ok so I found this question interesting and figured I would dig a little. Check /system/lib/libsec-ril If you have libsec-ril rename that file libsec-ril.bak. This should solve your issue.
razz1 said:
Ok so I found this question interesting and figured I would dig a little. Check /system/lib/libsec-ril If you have libsec-ril rename that file libsec-ril.bak. This should solve your issue.
Click to expand...
Click to collapse
Thank you very much. This seems to have solved my issue. With this, Xposed modules and a few other tweeks I almost have four 4.8" Samsung Galaxy media devices.
This guide is for fixing a GPS Problem when attempting to use spoofing apps, in particular games that require your actual location.
For Example Pokemon GO among others, over time the original exploit to mock location was patched by certain companies when playing their games so now the only reliable way to do this is with root (for several reasons).
So Even with apps like GPS Joystick I found at times the real location was still getting acquired, I attempted to manually disable location services, using the built in features like "AGPS-Reset" still the actual GPS would lock on (obviously not as much in larger buildings) still I wanted to go outside and only mocking location be seen by the apps/games with no actual location working
I figured it out and thought I would share
First things first, You MUST be rooted. If you do not have root and own a V30 variant their are guides to convert and root.
It doesn't work without it, don't ask
For other phone models your mileage may vary (we are looking for a file "gps.conf")
Second, MAKE A BACKUP of the files that will be changed later, if you do not. Then you will most likely have to re-flash or have non-functional GPS and if you do need it you would be boned.
Third, You will need a few tools Ex. ( Terminal Emulator, Systemize [Masgik Module] , GPS Spoofing app I personally use the GPS Joystick Pokemon GO, Root file Explorer of some sort, the game of choice, and a system app or service disabler, like Titanium backup etc)
Now to the fun stuff
Make a backup of /vendor/etc/gps.conf
Install spoofing app (if equipped generate new name for GPS app and then delete the original)
After backing up gps.conf to SD or through adb, delete the original gps.conf in a root file manager then create a blank file in the same location (/vendor/etc) named gps.conf
In effect you just replaced the original with a blank copy, you could manually delete the contents as well but that's more work.
use the appropriate app disabler and disable anything with GNSS, location services, Qualcomm IZAT, Fused Location and anything else that is location service related
Open Terminal Emulator
type in "su"
grant su permissions if asked, make sure you have a # in the prompt
type in "systemize" (Gotten from magisk module download)
convert GPS spoofing app or generated app to a priv-app in the system (It cant be just /system/app)
then exit the systemize app and type "exit" a few times to close the terminal
Make sure when you do change the GPS settings in the actual android menu that you choose GPS only and that WiFi and Bluetooth settings are unchecked, obviously ensure the main GPS switch is enabled but that the rest aside from GPS only is not checked and or enabled
Then reboot your phone THIS IS A REQUIREMENT, for several reasons, it actually disables the location related services as well as the GPS via the gps.conf file and will also make your new spoofing app a priv-system app and it will appear
By now you should have location services aforementioned disabled, gps.conf blank, settings to GPS only with no other location "extras", a systemized gps spoof app. From here i disabled indirect mocking in the spoofing app, make sure System mode IS enabled AGPS-reset isn't needed and being we disabled location services manually, I suppose you could un-check that too but i left it checked
I modified the walk speed to the limits of the game I play, rebooted one more and its a safe idea to double check everything is set correctly
You DO NOT need to add the said mocking app to Developer Mock locations as it is a system app and some spoofer(s) offer that mode after making it an system app
At the end of the day you will now have a GPS Mocking app running where you can set your location and play without ever having the real location ping and rubber-banding you or otherwise messing up the whole concept of spoofing the GPS
As a disclaimer the GPS is a safety feature but some would rather not be tracked so this can technically work this way too
Some may ask well if you are just turning off GPS can't you just turn off the switch in Location Settings, that does not work as GPS technically has to be on for the spoofing app to function. Deleting gps.conf vs making a blank file causes the spoofing app to state the GPS isn't on (even if the on/off switch is toggled under the Phone Settings)
To reverse simply restore the original gps.conf to "/vendor/etc" (You did make a backup? Right)
re-enable the previously disabled location related services
reboot the phone
and if you'd like you can tick the gps and networks, WiFi, Bluetooth scanning and qualcomm IZAT option
or go with just GPS
either case this should enable the real location, I always test with a weather app
If you play Pokemon GO,Adventure Sync doesn't work (while location services disabled/frozen) I suspect because one of the "Location Services" Google Fit Depends on, however being you can walk as much as you want its a mute point, if you want Adventure sync back you have to reverse the process
Anyway this is what I have come up with, it works for me, after its tested by others, I am planning on writing a app that does this all in one shot. For now here is the manual way
Have Fun, Hope it works
If you have any questions or modifications to the post I am open to suggestions
If their is an easier way or something I missed or could Improve on, again comments are welcome
Last thing This technically violates TOS for some games and is increasingly hard to successfully pull off, so try your best to use every tool available to hide both the GPS spoofer and root from said games, don't teleport to far without waiting the proper amount of time before running the game , read up on the walking limits or how the game works if needed to fine tune everything
Just quick question. Do we still need to downgrade google play service boss? Something like 12.6.85 version.
thank u so much i was having this issue for a long time and i was planning to buy a gps jammer just so i can fix this issue , this is worked very well thank u again ^^
Thanks man you're the best!
I'm about to try this guide on my V30 with Oreo... did you ever make the app you mentioned that would do all this automatically??
teknomedic said:
I'm about to try this guide on my V30 with Oreo... did you ever make the app you mentioned that would do all this automatically??
Click to expand...
Click to collapse
No unfortunatly i got busy with life, for the time still have to do things manually
fxsuprapto said:
Just quick question. Do we still need to downgrade google play service boss? Something like 12.6.85 version.
Click to expand...
Click to collapse
I just tried a month ago and i never downgraded google services, in fact I read the newer updates to pokemon look for that, my origional instructions stated to disable fuse locations etc, now you don't need to do that just two things, well maby 3, make sure your using magisk and hide root from pokrmon go, under gps locations settings set to use gps only and change the gps.conf file as instructed, if poke gives OS incompstable warnings know that it will browse both your sd and internal card looking for files folders and even some other apps thats known to utalize root, i commented on this to another user on the last page of the thread, also someone else make another guide based on my findings, ive commented there as well, you can also look at reddit as i found at least a partial lidt of things the game looks for, being they update all the time like with anything else its a cat and mouse game, the only reason this works is because were changing a file in android that prevents the gps from working without totally disabling it, doing the latter flags in pokemon, the eevs of the game cant patch this as gps comes from android itself and not a app or utility but it would be just as easy for them to look for a 0 k (size) gps file and if thst matched well then it would be game over for this fix, luckly tho this fix isnt super popular so its stayed under their radar
Hey, Doesn't smali patcher achieve the same outcome with a shorter process?
In reguard to the smali patcher, to be honest I have no idea, ive seen several references to it sinse folks started commenting on my idea, things get developed all the time, i dont recall having that as an option when I wrote all this or id have gone for a quick fix myself, if the patcher somehow disables the gps itself then its likely it works in a similar fashion, as the heart of my fix really depends on the gos file, and of course some spoofing app and root, all id say is try and see, if the patch works and its less leg work for you then go for it, I would, i just didnt have anything else when i wrote the steps out
Great, just what i was searching for!
That is really great, i've spent today searching for a way to deactivate the gps, i have a sony xperia z3c which is used just for pokemon. I found that gps.conf file shortly after i started having a nose around the filesystem. The only think i actually tried so far was disable the location service & the fused locations, after which the GPS joystick (as a system app) seemed to stop functioning. Incidentally, my gps.conf is in > system > etc
So thanks for this info, you have saved me from a lot of messing about.
Just to update, the gps.conf was in 2 location on the xperia z3c, the top etc folder and in system/etc. so did both.
Again the gps joystick would not work after i froze the location service and the fused locations, as it turns out they both have to be present for it to work.
Despite that, it looks to be working ok.
No, a while later it did start doing it again, much less though.
Think ive sorted it now though. using an app called System2, i found the other services that are related to the location service, then froze 4 of them. I also deleted this one file that was somewhere within the in the dev folder in another folder called qmux_gps. it wouldnt let me copy it, but i did manage to delete it (wreckless i know). Since then everything is working great, for about 5 hours so far