[Solved]Google Maps cannot determine Location on CM7 - Kindle Fire General

My KF is running CM7. I tried to put NetworkLocation.apk into /system/app but seem Google Maps (6.1) cannot determine my location by using wifi. Is there anyway to fix that ??

http://forum.xda-developers.com/showthread.php?t=1433218
http://forum.xda-developers.com/showthread.php?t=1414582
http://forum.xda-developers.com/showthread.php?t=1362472

I got the problem solved, maybe that was I had a wrong NetworkLocation.apk . Download the gapps from http://goo-inside.me/gapps/. I chose the CM7 20110828 Universal (Link). Extract to get the file NetworkLocation.apk in /system/app, then copy to your device, change permission to rw-r--r-- and reboot.

Related

[Q] How to change a radio rom 2.2 to 2.2.1

I have 2.2.1 JPY and i want to change a radio to radio from a older rom like 2.2 how to do so ? Please help.
try:
take 2.2 Rom, explore it, look for system/app/FMRadio.apk, copy akp-file, move somwhere to SGS (ex. 'download'), take 'Root Explorer' or similar app to explore system, set system/app to R/W permission, paste FMRadio.apk from 'download' into system/app, reset permissions on file, reset permissions from system/app to R/O.
Maybe app runs, not sure about the changes of the rom...
karbid
karbid said:
try:
take 2.2 Rom, explore it, look for system/app/FMRadio.apk, copy akp-file, move somwhere to SGS (ex. 'download'), take 'Root Explorer' or similar app to explore system, set system/app to R/W permission, paste FMRadio.apk from 'download' into system/app, reset permissions on file, reset permissions from system/app to R/O.
Maybe app runs, not sure about the changes of the rom...
karbid
Click to expand...
Click to collapse
most likely wont work .. fm radio is odexed.. ie you need both fmradio.apk and fmradio.odex and odex's normally dont work on different roms due to fraemwork differences.. you need to get an unodexed fmradio.apk from an earlier rom. most likely a custom rom.
http://forum.xda-developers.com/showthread.php?t=788800

Can't install latest market

Hi there, i am using the Redux2 HD2 rom. And it still uses the old android market. And i woul'd like to update that one. So i downloaded the latest marktet .apk and tried to install it. However it does not install it. It jus't gives me: "Application not installed' . I've tried resetting and stopping the market. I've tested other .apk's. And i still have the same problem
you can't just install it, you need to manually replace the market application.
just flash the REVERT-TO-NEW-MARKET-V2-CWM.zip in CWM or take MarketUpdater.apk and vending.apk and place them in the /system/app/ folder on your phone.
Hope I have been of help..
Maxp101 said:
you can't just install it, you need to manually replace the market application.
just flash the REVERT-TO-NEW-MARKET-V2-CWM.zip in CWM or take MarketUpdater.apk and vending.apk and place them in the /system/app/ folder on your phone.
Hope I have been of help..
Click to expand...
Click to collapse
for me just installing the .apk works because android replaces the old market app

Kindle Fire Network location

Hi, I had beautiful widgets installed and it was not findeing the location automatically, I had to put the zipcode or the city. Now I copied the networklocation.apk from my phone to the kindle's in the system app folder and now it is finding it by geolocation.
Sent from my Kindle Fire using xda premium
I gave this a shot with nogo... CityID it pulls up with is jibberish and non-locational to where I am at.
Just so you know what I did...
o Copied com.google.androidlocation.apk to /system/app
o Rebooted the device
o Used BeautifyWidgets, selected Weather Widget Setting
o Selected Set Location
o Clicked Geolocation
Errors said Geolocation was not on
o told it to use it anyway
o Saved the settings.
krelvinaz said:
I gave this a shot with nogo... CityID it pulls up with is jibberish and non-locational to where I am at.
Just so you know what I did...
o Copied com.google.androidlocation.apk to /system/app
o Rebooted the device
o Used BeautifyWidgets, selected Weather Widget Setting
o Selected Set Location
o Clicked Geolocation
Errors said Geolocation was not on
o told it to use it anyway
o Saved the settings.
Click to expand...
Click to collapse
When you copy the app in the settings l, long press the app and choose permissiones and you must have it setup like the pic
Sent from my Kindle Fire using xda premium
Will this work with Google Maps as well?
EDIT: Yup, I am now finding my location in Google Maps as well. Saaweeet!
Used the same permissions as everything else in the /system/app directory
0644
Well my location is working I don't know why yours doesn't .
samomamo said:
Well my location is working I don't know why yours doesn't .
Click to expand...
Click to collapse
Samomamo, where did you get the NetworkLocation.apk package from, also did you have to adjust anything in Settings.db for any network settings?
I am completely stumped and have been scouring through myriads of posts for some shred of helpful info, so far this post and this one:
http://forum.xda-developers.com/showthread.php?t=1362472
but have had no luck with either one. I am wondering if the answer lies in from where you got your NetworkLocation.apk. Any help would great! Thanks!
I got the apk from my T-Mobile Galaxy s2
Sent from my SGH-T989 using xda premium
I downloaded the networklocation apk from the CM7 gapps. The followed the directions and it is now showing my location. I believe it will only show my location if connected to wifi though.
Gapps is found here : goo-inside.me/gapps/
Solved issue by adding files and editing framework-res.apk
If anyone searching is interested in how I was able to solve this I could not simply add the Google Network Location APK, I had to force the Amazon "framework-res.apk" file to recognize it by editing the '/res/values/strings.xml' with the following lines:
Same ol' disclaimers - I'm not responsible for whatever you do with this info, if you brick your device, its your decision to try and not my fault or issue to fix. This is nothing new I just put the various pieces together from research through other posts, forums, etc. so credit where credit is due.
irishmyles003 and samomamo thank you very much for your input. Though I wish your solutions would have worked I am glad I had this challenge as I think I taught myself a little more about how to mess around and tweak the system a bit.
I still added the NetworkLocation.APK as stated and explained by Samomamo, but I had the do the following steps in order to get the framework to actually react to network location requests, since it kept returning "null".
<<Original>>
Code:
<string name="config_networkLocationProvider">@null</string>
<string name="config_geocodeProvider">@null</string>
<<Modded>>
Code:
<string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string>
<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
Steps:
Use ApkTool to pull "framework-res.apk" and decompile
Replace the lines above to match the modded section
Recompile the APK to "unsignedframework-res.apk"
Copy and rename original "framework-res.apK" -> "originalframework-res.apk" (put this file aside in case you need to flash if you make a mistake)
Rename the original and newly compiled files to .zip (so you can extract, edit, etc)
- "framework-res.apk" -> "framework-res.zip"
- "unsignedframework-res.apk" -> "unsignedframework-res.zip"
Extract "resources.arsc" from unsigned and paste (and overwrite) to the "framework-res.zip" file
Rename "framework-res.zip" -> "framework-res.apk"
Push "framework-res.apk" to device (need to mount /system r/w)
chmod 644 (i.e. <rw, r, r> for root explorer)
Reboot and voila it worked (for me at least)!
Sources / Props to the authors of these links:
I could not give correct props because I got these from outside links, but [email protected] and the Enable CRT Animation guide at freeyourandroid.com and the APKtool tutorial at miui-au.com
Also if you google using the info above you will find you can also enable the AOSP GB CRT Animation by editing a line in the bools.xml, I tried this and it works! Enjoy!.
EDIT: After applying the framework-res.apk and rebooting I just realized that my accounts were lost. I just had to re-add them via SyncSettings (Market: com.francesandmarky.android.syncsettings) - Amazon, Gmail, and Facebook.
rpw128 said:
If anyone searching is interested in how I was able to solve this I could not simply add the Google Network Location APK, I had to force the Amazon "framework-res.apk" file to recognize it by editing the '/res/values/strings.xml' with the following lines:
Same ol' disclaimers - I'm not responsible for whatever you do with this info, if you brick your device, its your decision to try and not my fault or issue to fix. This is nothing new I just put the various pieces together from research through other posts, forums, etc. so credit where credit is due.
irishmyles003 and samomamo thank you very much for your input. Though I wish your solutions would have worked I am glad I had this challenge as I think I taught myself a little more about how to mess around and tweak the system a bit.
I still added the NetworkLocation.APK as stated and explained by Samomamo, but I had the do the following steps in order to get the framework to actually react to network location requests, since it kept returning "null".
<<Original>>
Code:
<string name="config_networkLocationProvider">@null</string>
<string name="config_geocodeProvider">@null</string>
<<Modded>>
Code:
<string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string>
<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
Steps:
Use ApkTool to pull "framework-res.apk" and decompile
Replace the lines above to match the modded section
Recompile the APK to "unsignedframework-res.apk"
Copy and rename original "framework-res.apK" -> "originalframework-res.apk" (put this file aside in case you need to flash if you make a mistake)
Rename the original and newly compiled files to .zip (so you can extract, edit, etc)
- "framework-res.apk" -> "framework-res.zip"
- "unsignedframework-res.apk" -> "unsignedframework-res.zip"
Extract "resources.arsc" from unsigned and paste (and overwrite) to the "framework-res.zip" file
Rename "framework-res.zip" -> "framework-res.apk"
Push "framework-res.apk" to device (need to mount /system r/w)
chmod 644 (i.e. <rw, r, r> for root explorer)
Reboot and voila it worked (for me at least)!
Sources / Props to the authors of these links:
I could not give correct props because I got these from outside links, but [email protected] and the Enable CRT Animation guide at freeyourandroid.com and the APKtool tutorial at miui-au.com
Also if you google using the info above you will find you can also enable the AOSP GB CRT Animation by editing a line in the bools.xml, I tried this and it works! Enjoy!.
EDIT: After applying the framework-res.apk and rebooting I just realized that my accounts were lost. I just had to re-add them via SyncSettings (Market: com.francesandmarky.android.syncsettings) - Amazon, Gmail, and Facebook.
Click to expand...
Click to collapse
Could someone post the modified framework-res.apk?
Why does it work for some but not others?
andTab, I tried but the max filesize is 8 mb for APK files, the framework-res.apk is 27-31 mb. I couldn't figure out why the original posters were able to do it by just adding the files. When I unpacked the APK it was intentionally set to null not allowing usage of the google location framework.
xxx.multiupload.com/5FJ4ZTH6TX (take out the x's, it wouldn't let me post the address b/c I am new)
Thanks for your work guys...
I downloaded and applied this frame work apk, the crt animation is now enabled, but google maps still not finding my location in the middle of Los Angeles.
Hmmmm
You still need NetworkLocation.Apk from Gapps put into /System/App (also run it from your SD Card), then reboot. The adjusted lines in the Framework-Res points to this framework.
So my evo 3d is running ICS, can I still use the file? Or could someone post a working one?
atomiclama said:
So my evo 3d is running ICS, can I still use the file? Or could someone post a working one?
Click to expand...
Click to collapse
irishmyles003 said:
I downloaded the networklocation apk from the CM7 gapps. The followed the directions and it is now showing my location. I believe it will only show my location if connected to wifi though.
Gapps is found here : goo-inside.me/gapps/
Click to expand...
Click to collapse
I'm not too sure, if you're working off stock the Kindle Fire uses 2.3.4 so I would use the 8/28 version from the website irishmyles003 provided.
Hmm still not having a whole lot of luck.
I downloaded the networklocations apk from gaps of the correct date. Also installed the updated framework. Like I said Im seeing CRT change.
I've set up the geo location through beautiful widgets.. but still not finding location.
What am I missing?
thanks
also when I placed the network locations apk I set correct permission and tried to install it, it said application not installed. Could to be part of the problem?
atomiclama said:
also when I placed the network locations apk I set correct permission and tried to install it, it said application not installed. Could to be part of the problem?
Click to expand...
Click to collapse
Placing it in the /system/app area is installing it.
Make sure you reboot for the system to see it though.
Note: I've not tried this patch...
I'm not exactly sure why it isn't working for you. I spent a few days looking at logcat's and forums. Don't forget to change the permissions (mentioned earlier in this thread) to 644.

Kindle Fire Market finally working

Using KF 6.2.1 stock rom rooted with Golauncher
I have been messing with various versions of apks for Market and Google Frameworks. Finally I did get it working and downloading Apps from the Market. To get it to work I downloaded the gapps.rar that is hanging around this forum and every other post on this topic.
I installed the GoogleFrameworks APK that was included in gapps.rar.
I copied a version of the Market (3.4.4 from my Evo) to my /sdcard/download/ folder. I renamed the Market.apk to Vending.apk.
Using root explorer I made the /system/app directory R/W to install the Vending.apk from the /sdcard/download/ directory . The Market APK I used was 3.4.4.
Again using Root Explorer I copied Vending.apk (after installing it) from the /sdcard/download/ directory to the /system/app/ directory and changed its permissions to r,w,r,r as described in the other posts.
After I rebooted it finally worked. No more stalled downloads or FC. GMail works without issue also, though Sync is another issue all together.
Note: I tried to do the normal instructions of renaming it to Vending.apk and copying it to the /system/app folder and changing the permissions. But if I copied it to the /system/app folder before I installed it, the install would fail.
Installing it prior to copying it to /system/app/ directory let me install it successfully and then copy/move it without any problems.
I hope this helps. Maybe this is just a random thing that it finally worked.
I can try to post the Market sometime (its not on this computer), but I am sure it is around somewhere.
Sorry if this is a repeat post.

No FusedLocation.apk or NetworkLocation.apk on /system/apps folder - Broken GPS

Hi!
I own a Caska CA380-XLA with Android 4.4.2.. This ROM made by Caska came missing FusedLocation.apk is /system/apps folder. My unit cannot get right time or right location (time syncs with GPS). I couldn't find a way to root it.
How can I reinstall the missing services to system folder without rooting? I've downloaded FusedLocation.apk from the internet and installed it to the unit, but when testing with FusedLocation API Test it returns no location at all.
Thanks.

Categories

Resources