Joined
·
405 Posts
This is a fix for the network location bug on AOSP ROMs. The network location bug can be seen when you attempt to get a location without using WiFi or GPS (using carrier network only). While using only carrier network to obtain your location, your phone will think you're in another city, state, country, planet, galaxy, etc. You can test this by refreshing a weather widget after turning off GPS and Wifi.
Grab the NetworkLocation.apk from the link below and put it on the root of your sdcard. It's from the 2.11.605.3 Sense ROM.
Using a file explorer like root explorer:
- You must use the file explorer to mount /system/app as r/w.
1) Rename (or delete if you're brave) NetworkLocation.apk to NetworkLocation.bak from:
/system/app
2) Reboot.
3) Place a COPY of /sdcard/NetworkLocation.apk (from 2.11.605.3) in:
/system/app
4) Change the permissions of /system/app/NetworkLocation.apk to:
rw-r--r--
Owner: read, write
Group: read
Others: read
5) Even though I placed the file in /system/app, I still had to "install" it. So, click on the NetworkLocation.apk on your SD Card and let it install.
6) Reboot.
For those of you brave enough to use Terminal Emulator, I haven't tried these steps, but they should work:
Open Terminal Emulator
$ su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p25 /system
# cd /system/app
# mv NetworkLocation.apk NetworkLocation.bak (or if you want to delete it use "rm" instead of "mv")
REBOOT
Open Terminal Emulator
$ su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p25 /system
# cp /sdcard/NetworkLocation.apk /system/app
# chmod 644 /system/app/NetworkLocation.apk
exit terminal
Click on /sdcard/NetworkLocation.apk to install.
REBOOT
Here's a link to the apk I used:
http://db.tt/U974Crfk
Let me know if this works for you! *crossing fingers*
Edit: tried to make steps a little more clear.
Thanks freehood4all - pointed out an error in the terminal commands.
Grab the NetworkLocation.apk from the link below and put it on the root of your sdcard. It's from the 2.11.605.3 Sense ROM.
Using a file explorer like root explorer:
- You must use the file explorer to mount /system/app as r/w.
1) Rename (or delete if you're brave) NetworkLocation.apk to NetworkLocation.bak from:
/system/app
2) Reboot.
3) Place a COPY of /sdcard/NetworkLocation.apk (from 2.11.605.3) in:
/system/app
4) Change the permissions of /system/app/NetworkLocation.apk to:
rw-r--r--
Owner: read, write
Group: read
Others: read
5) Even though I placed the file in /system/app, I still had to "install" it. So, click on the NetworkLocation.apk on your SD Card and let it install.
6) Reboot.
For those of you brave enough to use Terminal Emulator, I haven't tried these steps, but they should work:
Open Terminal Emulator
$ su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p25 /system
# cd /system/app
# mv NetworkLocation.apk NetworkLocation.bak (or if you want to delete it use "rm" instead of "mv")
REBOOT
Open Terminal Emulator
$ su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p25 /system
# cp /sdcard/NetworkLocation.apk /system/app
# chmod 644 /system/app/NetworkLocation.apk
exit terminal
Click on /sdcard/NetworkLocation.apk to install.
REBOOT
Here's a link to the apk I used:
http://db.tt/U974Crfk
Let me know if this works for you! *crossing fingers*
Edit: tried to make steps a little more clear.
Thanks freehood4all - pointed out an error in the terminal commands.