yashsingh1/xdaforums huggingface dataset:
[Android Software Development] SirMacke:
Did that, sent the db there.

No go, Still no locations in apps.

EDIT:

Fuuuu...

Now I cannot get into the Settings menu.

"Settings has stopped working"

Got Settings working, but no improvement on location at all.
[Android Software Development] Ultramanoid:
I'm on CM nightlies on several devices, it works for me.

Sometimes CM resets location preferences to 'device only' ( = GPS only ), check if that's the case.
[Android Software Development] SirMacke:
No, sorry.

It's set on High Acc.

See screenshot.

Location settings:

https://www.dropbox.com/s/m7153gew85yog0b/Screenshot_2014-07-09-11-19-39.png

Network Info 2 App:

https://www.dropbox.com/s/y2wp1jzjawpuwwy/Screenshot_2014-07-09-11-20-09.png

Network Signal App:

https://www.dropbox.com/s/0jl9man1rpb5hk3/Screenshot_2014-07-09-11-21-14.png
[Android Software Development] Ultramanoid:
Ah well, you have Play Services which includes location services ( but clashes with NetworkLocation.apk ) ...

Can't have both.
[Android Software Development] SirMacke:
Okok.

No matter, does not work anyway. (Without this app)
[Android Software Development] sushidog:
Why the hell are you using Google services? The purpose of this mod is to not use Google related stuff in first place!!!

Look at the title NOGAAPS. :cool:

/// Samsung Galaxy S4 GT-I9505

/// Press "THANKS" if I helped you
[Android Software Development] Ultramanoid:
Like the post above mine says, I don't understand either. This thread is all about not using Google.

Anyway, you have two location services conflicting with each other. Use only one. Like I posted before, NetworkLocation.apk works fine in the devices I have with CM, provided that I check the nightly doesn't reset location to GPS only, which seems to be a bug in current CM builds.
[Android Software Development] JanGhent:
I really like this NOGAPPS project, but I have a problem after updating to KK 4.4.4 CM11-M8 on a Galaxy S GT-i9000

AppleWifiNlpBackend stopped working.

Both UnifiedNlp and AppleWifiNlpBackend worked great on CM11-M6

Doesn't seem to do anything now:

don't see network requests (Wireshark), nor location permission requests (Privacy)

LocalGSMLocationProvider never really worked, but I see a lot of permission request after installing it.

i dunno how fast it is supposed to work on a Galaxy S, LocalGSMLocationProvider seems to work in the browser /Lightning occasionally, but never in OSMand or my own app.

Can it time-out? Is the Galaxy S to slow?
[Android Software Development] sancho_panzer:
Blank Store can't update apps since yesterday. Login, searching and install works as expected but not update.

Didn't changed anything on my system, not even a new app since last Monday.

Sent from my GT-I9505
[Android Software Development] an0n981:
I just updated an app. Must be something on your end.
[Android Software Development] Simon94:
I have sometimes a problem with the blank store. It doesnt regognizes, when google servers answers with a http-redirect on a apk download http request and saves the redirection page. Would be nice, if it can follow redirects...

btw, Great Work!
[Android Software Development] MaR-V-iN:
It's unlikely that this is related to the speed of your device. Can you please check logcat and report (logcat may contain sensitive information, so strip those and/or send a pm)? Note that UnifiedNlp and related stuff is still incomplete and possibly buggy, use the older but more stable NOGAPPS NetworkLocation if stability is important for you.

I never had this problem, but this could be due to downloads normally not being redirected - can you name a sample app that causes this problem, or is it maybe related to some mobile network providers?
[Android Software Development] Simon94:
No, because its just temporarily. But it happened already twice to me. Trying again after a couple of minutes fixes the problem in most cases.

Another bug can be found while downloading the "Vodafone Mobile TV" app, if its not already installed in your account. Just getting an IndexOutOfBounds Exception. I dont have a logcat right now, maybe the same happens to you. I had this problem with every tool, depending on the android-market-api so the problem is likely there.

To fix it, i had to open the playstore website and click on install. Afterwards, downloading just worked.
[Android Software Development] JanGhent:
Thx, I've send you a PM with Logcat.

Will try the more stable NOGAPPS NetworkLocation, but I like the switching option:

- AppleBackEnd is more accurate, but needs internet

- GSMlocation works offline, great for abroad.

BTW what happens when both are active?
[Android Software Development] MaR-V-iN:
Currently, both providers will be checked and the more accurate and newer one will be choosen (using the way proposed in LocationFuser integrated with Android).
[Android Software Development] treffer:
[MENTION=3999488]MaR-V-iN[/MENTION] I've asked the OmniROM guys to include the framework patch needed by the GMSCore app. Status: Merged.
[Android Software Development] pulser_g2:
Yup :)

Omni is pleased to ensure NoGapps is supported, in giving users the choice between closed-source, unknown, unauditable code, and truly freedom-preserving, open-source code. :)
[Android Software Development] treffer:
Ah, didn't know you're here, too. Thank you :)
[Android Software Development] gueschmid:
[MENTION=3999488]MaR-V-iN[/MENTION]:

Do you inform us about NEWS to MicroG here in this thread, or do I have to Check out github? I am looking forward to new LocationService and MAPS. I have nowhere read that there is a patch necesarry for GSMCore-App, But I am no developer.

MicroG-Apps are one of my most awaited things on Android, the other ist a Textsecure-Version without the need of GCM.
[Android Software Development] MaR-V-iN:
New stable (atleast kind of) releases will be announced here, the GmsCore app has no release yet, so the patch is only interesting for developers and early testers right now. You can expect a first release of GmsCore before end of september.
[Android Software Development] wkwkwk:
Hello,

My bank decided to update their app and introduce push notifications for some transactions and after the update, I'm greeted by "google play services is not installed, contact the manufacturer" and the app closes :(

Thankfully I had a nightly Titanium Backup which I restored but I may wish to update at some point the app.

Is there any way to fake the fact that google play services is actually installed? I'm using the nogapps-maps and blankstore and I'm extremely happy with it.

Thank you

Does the omnirom change that was mentioned just a few posts prior refer exactly to this? If so, I'll update just now as I'm running a nightly pushed last week.
[Android Software Development] Franktdf:
Thanks!

Very nice, really. I just learned a bit on how sql databases function (surely not very deep, but very interesting):good:
[Android Software Development] gueschmid:
Hallo,

if you created a cells.db for Europe or Germany can you please share it?
[Android Software Development] Franktdf:
Hello,

I prepared a lacells.db without restrictions, i.e. with global data.

You have to copy lacells.db to /sdcard/.nogapps/lacells.db.

(Since networklocation version 1.2, the database has a different format and the file name is lacells.db (not cells.db). That is all written in the post where the creation of the database is described and thanks again to MaR-V-IN! to make that clear even for layme like me).

I can prepare one database for Germany only, but not today, because I deleted cell_towers.csv.gz already, and can only downlad it once a day.

You can download the lacells.db here:

https://drive.google.com/file/d/0ByDBqm8Aoa0VZlFyTmthVnVIdzQ/edit?usp=sharing

It contains the cell data of July 21st, 2014.

Will this do it or do you really need a German only version?
[Android Software Development] wkwkwk:
Unfortunately it seems it doesn't. I upgraded to the latest nightly and I still get the message saying that the google services are missing.
[Android Software Development] gueschmid:
Its ok, i do not need any other versions, thanks.

I am using LocationService, an it work, if i have mobile data on. Now with the lacells.db i thought it will work also without mobile data? But i have no new location, after i went to next town and have mobile data out. Do I think wrong?

My Phone is a MotoG with CM11 and the freecyngn-script.
[Android Software Development] Franktdf:
With this latest version of network location it does go online. I believe, the it checks also with the Apple location service and than is using the latest result as the most accurate one.

Maybe an older version (less than version 1.2) it does not go online, but it will not work wit this cell do which I created yesterday. You would need one of the files in the original post.

I also would prefer to have a offline only version of network location, the coming version of the new project has a plug-in system. here you wil be able to choose to get the needed data purely off-line from the database only. But that is not ready yet.
[Android Software Development] MaR-V-iN:
The patch is preliminary work for a future app that will fix the above. Can you mention which app you're using that causes this message?
[Android Software Development] wkwkwk:
Sure, it's: https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile

It worked nicely until this version when they introduced push messages for some alerts. Now, it simply fails to start saying that I don't have google services framework (damn right I don't, why would I?) ;)

Glad to hear it will be fixed at some point. I'm fine running the old version (TitaniumBackup nightly jobs, thank you) for the moment but looks like an ugly precedent for things to come..

I know that blankstore is discountinued but I'm using it quite often and one of the biggest annoyances is that it doesn't show the changelog (what's new) when an app is updated.

If it's not too much work, would you be so kind in adding this small feature? It would be greatly appreciated. Currently I have to visit play.google.com in a browser, search for the app and have a look at the changelog there ;)

Thanks again for all your work.
[Android Software Development] sancho_panzer:
Yes, this is really annoying.

My solution meanwhile is install Blank Store like a normal app and login. Each time I try to install or update an app Blank Store make the download and crash when trying to install. That way I can go to .nogapps > blankstore > (app folder) and install manually. It's the only way to see permissions before installing new or updated apps.
[Android Software Development] wkwkwk:
Yes, it's a bit of a pain it doesn't show permissions but personally I'm not too worried about it as I have XPrivacy with interactive blocking by default so technically nothing should leak.

and I try to stay away from rogue apps as much as I can and keep only the minimum amount of apps installed.
[Android Software Development] bsimpson1:
A project like this grows more necessary by the day. Particularly during the past year play services seems to have turned into a tumor, growing around all the vital functions of my system, proving to be very difficult to remove without compromising such functions. Thank you very much for putting forth the effort towards what seems to be a very feasible solution.
[Android Software Development] mrrocketdog:
http://xdaforums.com/showthread.php?p=48024536

this might also interest anyone running CM or CMbased ROMs.

peace.

err on the side of kindness
[Android Software Development] wkwkwk:
I really don't see why anyone would continue to use CM.

And those who do, probably flash gapps anyway so freecyg wouldn't make any sense.
[Android Software Development] mrrocketdog:
your probably right.:)

err on the side of kindness
[Android Software Development] bweN diorD:
[MENTION=3999488]MaR-V-iN[/MENTION] or anyone who can lend a hand.

please help out here. it is a location issue by a new user who doesnt have enough post to ask here yet.

thanks for helping!
[Android Software Development] Ci-Fi:
Could any of you guys recommend an AOSP ROM to use with this No GApps project? I'm going to get an LG G2 (d801) tomorrow.
[Android Software Development] Ultramanoid:
I believe MaR-V-iN said he's using OmniROM himself.
[Android Software Development] wkwkwk:
That's right, it's my personal favourite as well. Extremely clean and I don't remember noticing any bugs in the past 6 months.
[Android Software Development] sancho_panzer:
Out of the box CM offers much more than pure AOSP (SlimROMs are good). I also prefer the CM community and forums, much mature and helpful than many on xda (this thread is one of the best around here), and CM is always nicely documented on changelogs. Finally no, I don't flash gapps or use Google stuff since CM7, there are similar or even better European services now.

There aren't perfect ROMs, it's all a matter of taste and confidence. For me CM is still the best balance between stability/security/support/functionality. Omni isn't right there yet...

Edit: some things (not all) I always do on my ROMs;

https://blog.torproject.org/blog/mission-impossible-hardening-android-security-and-privacy

http://www.parkansky.com/china.htm

and of course;

http://xdaforums.com/showthread.php?t=1715375

[APP/FRAMEWORK] NOGAPPS Project (NetworkLocation, MapsAPI, Blank Store)

http://xdaforums.com/showthread.php?t=2550769

[TOOL/SCRIPT] freecyngn - Removing proprietary userspace parts from CM10+
[Android Software Development] aelmahmoudy:
Blanstore doesn't properly list the apps I installed anymore, it lists only a few of the apps, and even for the apps it lists, it displays a wrong version number !

I think this happened after I installed Osmand~ (net.osmand.plus) from F-Droid
[Android Software Development] Simon94:
Here a Logcat and the APK, when Google Servers answer with an 302

D/asset ( 1869): failed to open Zip archive '/storage/emulated/0/.nogapps/blankstore/ch.threema.app/APP-148.apk'
W/PackageParser( 1869): Unable to read AndroidManifest.xml of /storage/emulated/0/.nogapps/blankstore/ch.threema.app/APP-148.apk
W/PackageParser( 1869): java.io.FileNotFoundException: AndroidManifest.xml
W/PackageParser( 1869):	at android.content.res.AssetManager.openXmlAssetNative(Native Method)
W/PackageParser( 1869):	at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:493)
W/PackageParser( 1869):	at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:461)
W/PackageParser( 1869):	at android.content.pm.PackageParser.parsePackageLite(PackageParser.java:780)
W/PackageParser( 1869):	at com.android.defcontainer.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java:175)
W/PackageParser( 1869):	at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
W/PackageParser( 1869):	at android.os.Binder.execTransact(Binder.java:404)
W/PackageParser( 1869):	at dalvik.system.NativeStart.run(Native Method)
W/DefContainer( 1869): Failed to parse package
W/ActivityManager( 728): No content provider found for permission revoke: file:///storage/emulated/0/.nogapps/blankstore/ch.threema.app/APP-148.apk
D/BlankPackageInstaller( 3920): Finished installing ch.threema.app(null, -2)

Fixing it would be really nice, as it would make the Blankstore useful, since this happens every third time i try to install or update.
[Android Software Development] aelmahmoudy:
Uninstalling Osmand~ didn't fix the issue
[Android Software Development] an0n981:
Have a look at the logcat when the crash happens. It may show the cause for the crash

---------- Post added at 03:51 PM ---------- Previous post was at 03:41 PM ----------

How are you able to update Threema (paid app) via Blankstore? Or maybe that's the problem?
[Android Software Development] aelmahmoudy:
Actually it doesn't crash. It just doesn't display the whole app list as it used to. Anyways I'll try to get a logcat after pressing the app,list button
[Android Software Development] Simon94:
It was working before.. I bought Threema and using Blankstore i was able to install and update this App. This error also doesnt only occours while downloading Threema.
[Android Software Development] Simon94:
Finally i manged to get the f u c k work :). I still dont know, why google is redirecting from https to http url, but that was the reason the follow-redirects ability of HttpURLConnection didnt worked. So i implemented it using javas technotes, which provided a mostly working workaround.

http://download.java.net/jdk7/archi...eployment-guide/upgrade-guide/article-17.html

Logcat before:

D/asset ( 1869): failed to open Zip archive '/storage/emulated/0/.nogapps/blankstore/ch.threema.app/APP-148.apk'
W/PackageParser( 1869): Unable to read AndroidManifest.xml of /storage/emulated/0/.nogapps/blankstore/ch.threema.app/APP-148.apk
W/PackageParser( 1869): java.io.FileNotFoundException: AndroidManifest.xml
W/PackageParser( 1869):	at android.content.res.AssetManager.openXmlAssetNative(Native Method)
W/PackageParser( 1869):	at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:493)
W/PackageParser( 1869):	at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:461)
W/PackageParser( 1869):	at android.content.pm.PackageParser.parsePackageLite(PackageParser.java:780)
W/PackageParser( 1869):	at com.android.defcontainer.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java:175)
W/PackageParser( 1869):	at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
W/PackageParser( 1869):	at android.os.Binder.execTransact(Binder.java:404)
W/PackageParser( 1869):	at dalvik.system.NativeStart.run(Native Method)
W/DefContainer( 1869): Failed to parse package
W/ActivityManager( 728): No content provider found for permission revoke: file:///storage/emulated/0/.nogapps/blankstore/ch.threema.app/APP-148.apk
D/BlankPackageInstaller( 3920): Finished installing ch.threema.app(null, -2)

Logcat after:

D/SecureGooglePlay( 2278): openConnection: Redirecting!
D/SecureGooglePlay( 2278): openConnection: Loc: http://r3---sn-uxa***********n-nm4e.c.android.clients.google.com/market/GetBinary/GetBinary/ch.threema.app/148?mm=31&ms=au&mt=1406937561&mv=m&mws=yes&expire=1407110387&ipbits=0&ip=0.0.0.0&cp=SmFubmJxWlo6NjkyMjky***************************&sparams=expire,ipbits,ip,q:,cp&signature=1F8D30F15C9F83438D91DECCE7B72B982A912CE2.D89C***************EBEA6AD32FC2E64EEC6&key=am3
//-> Download progress starts :)
[Android Software Development] zzerozzero1:
Thank you

Marvin, thank you for your work !
[Android Software Development] fabian.m:
Hey guys I have installed the Network Location and Blan Store on my nexus 4 running the latest omni nightly. First of all: Impressive work, i thought i wasn't going to be able to use network location after dropping google services but you proved me wrong :good:

Problem being it isn't working, i see it works for you guys, so what could've been my fault? It's installed to /system/priv-app/ as NetworkLocation.apk and i am using the lacells.db provided by [MENTION=2417587]Franktdf[/MENTION] and I can't get any app to get my location via battery saving mode, neither when connected to wifi, nor data.

An other question: What is the difference between https://github.com/microg/android_packages_apps_UnifiedNlp and the Network Location provided in this thread? Thanks :)

https://github.com/microg/android_packages_apps_UnifiedNlp
[Android Software Development] sancho_panzer:
Did you changed permissions to 644 and wiped Dalvik after?
[Android Software Development] MaR-V-iN:
I have no idea what could cause this problem...

Thanks for your work. If I can lend some spare time, I'll rebuild using your patch and those already published by others.

You're using the right version (for Android 4.4) and restarted after install? Which app are you using for testing?

UnifiedNlp is module based. The apk is only responsible to provide the system api, the actual locating is done by other apk(s) that can be installed and updated the usual way (https://f-droid.org/repository/browse/?fdfilter=UnifiedNlp&fdpage=1&page_id=0)

UnifiedNlp still has some bugs, you can consider it as the beta for next NetworkLocation version. It's also JellyBean/KitKat only right now
[Android Software Development] fabian.m:
I'm using KitKat, yes. I've tried several weather apps, is there an app you recommend using that fetches the network location and displays it?

Thanks, i'll try UnifiedNlp if NetworkLocation doesn't work, then :)

I'm using the zip attached to flash it and yes i did wipe, how would i edit the updater script to set permissions correctly?
[Android Software Development] MaR-V-iN:
My personal favourite for testing is c:geo, which is a nice geocaching app as well ;) Note that some newer apps use Play Services location features that are not covered by this app (but it's only very few, so if you checked with multiple apps, it should be fine)

Setting permissions with updater-script is possible using

set_perm(0, 0, 644, "/system/priv-app/NetworkLocation.apk");

But I doubt that's the problem here. Can you check if NetworkLocation appears in Settings>Apps>All? If not, install it as a normal app, reboot and check again.
[Android Software Development] aelmahmoudy:
Attached is the logcat when I click the Installed Apps button
[Android Software Development] MaR-V-iN:
Seems like Google decided that most of your apps are incompatible with "your phone". Please try to remove the existing BlankStore account and create a new one with a new android id.
[Android Software Development] selemine:
phonesky is not yet working well enough to replace blankstore, is it?
[Android Software Development] sancho_panzer:
Guys come and share some thoughts:

http://xdaforums.com/showthread.php?t=2835412

[SECURITY] Android Security for Conscious Mind
[Android Software Development] fabian.m:
soo.. using the latest NetworkLocation, should the file be named cells.db or lacells.db?

Edit: so basically I did everything I am told to do in the op, network location's still not working. I'll attach screenshots of the files so you can see whether I placed/named the stuff correctly
[Android Software Development] hillbicks:
Make sure the files have the correct permissions set, because we can't see that from the pictures you provided ;)
[Android Software Development] MaR-V-iN:
if you downloaded database from op, it must be cells.db, if you created it yourself using the guide it should be lacells.db

Check if NetworkLocation appears in Settings>Apps>All, if not (an you're on KK), install the apk as a usual one, reboot and try again. If you use any tools like privacy guard, make sure to disable it for NetworkLocation
[Android Software Development] aelmahmoudy:
That fixed it indeed. Thanks
[Android Software Development] fabian.m:
That was indeed the problem, thank you very much! :highfive:

It's fixed now, thanks for the fantastic work on this project :good:

Also @haffenloher sent me a PM saying one should check whether Network Location is acutally enabled, not GPS, which I figured I could post as well :)

edit: It seems it's not fixed yet, network location only worked once, now it isn't working anymore :|
[Android Software Development] l3ullseye:
I cannot get NetworkLocations to work, I have tried with the pre-build db's, I have build my own, and nothing; I have install it in priv-app with the right permission's and also like a user app; and I cannot get a location [emoji53]

I have an HTC Sensation with Sultan's July 25 CM11 KitKat 4.4.4 rom

Forget it, it's working now and hope it stays that way, Thanks!
[Android Software Development] fabian.m:
What did you change to get it working?
[Android Software Development] l3ullseye:
Well I didn't do anything, but it's not 100% fix, I have noticed it's intermittent, and a little slow getting the right location when it's works [emoji19]