yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bonanza123:
[MENTION=3999488]MaR-V-iN[/MENTION] thanks again for your efforts, but i think i have a problem with NetworkLocation for KitKat.

I followed your tutorial and copied the NetworkLocation-gms.apk to /system/priv-app/NetworkLocation.apk and rebooted, but I dont see that anything changed (no separate NetworkLocation app in AFWall+, Xprivacy and also there is still the old Google-prompt when enabling the WLAN based network location service which asks whether i agree to submit the data to google)

Is there anything else I can try to get it working? Thank you!!
[Android Software Development] runwithme:
Thank you for your hard work. This is an amazing project and I admire what you have done in creating an open system to access and utilize these Android features.

Is there also a way to utilize Google Play for online games?
[Android Software Development] Orphee:
Hello,

Same for me on CM11 nightly 4.4.2 on my Motorola RAZR HD.

:)
[Android Software Development] MaR-V-iN:
Did you install any gapps before? Especially: do you use or installed Google Play Services?

On KitKat you can't have play services and a custom networklocation installed (because networklocation is integrated in play services on kitkat)

Make sure you have nothing like Gms or GmsCore installed.

As Google Play Games is done using Google Play Services (like Maps API v2) it is not possible to do reimplement those (there could be some hacks or maybe a custom rom could add the required "features" to do so).
[Android Software Development] bonanza123:
Yes I have it installed, But if I remove the Google Play Store related stuff (which APKs in parituclar to I have to delete?) can I then still receive push messages, i.e. is then still GCM working?
[Android Software Development] Orphee:
If i freeze google play services, my main GPS application refuse to start with a message like :

"Icoyote won't work without google play services, please enable it"
[Android Software Development] MaR-V-iN:
Since KitKat it's impossible to use both, custom networklocation and gcm (or any other google play based service)
[Android Software Development] bonanza123:
Thanks for the information. And there is also no way to "hack" the Google Play Service e.g. with the Xposed Framework?
[Android Software Development] Ultramanoid:
Thanks for explaining this. Was wondering why some apps were constantly force closing on KitKat but worked fine on 4.3 ( both without Play Services ); now it's clear, and solved with your NetworkLocation.apk !

Wish developers relied more on the open source bits instead of the Google bits of Android. I consider what they're doing with Play Services fast approaching malware levels.
[Android Software Development] MaR-V-iN:
There is a string-array "config_locationProviderPackageNames" in the framework where one could replace "com.google.android.gms" with "com.google.android.location" to use the Android 4.3 NetworkLocation on it. I think this should be possbile with Xposed, though i never looked at it.
[Android Software Development] bonanza123:
Thanks for the info, are you planning to have a look at this?
[Android Software Development] Nagoyablue:
This thread is great! I've been trying to rid my xperia of google for a while.

I pushed the new network location apk to system/app so does that mean i can turn on use google network location again without actually telling google where i am?

Sent from Pompey, via Nagoya.
[Android Software Development] Nagoyablue:
By the way for my calender, I'm using outlook calender from microsoft. Syncs to all your devices if you download the outlook app from the store. You csn export your google calender, then import the ical into outlook. Not perfect, but better than google, i think.

Sent from Pompey, via Nagoya.
[Android Software Development] an0n981:
Is there any way to get GCM to work without installing the GApps? I read somewhere that GCM can be used from old SDK builds (before it bacame part of GSF) but I was unable to find any instructions on how to actually implement it
[Android Software Development] MaR-V-iN:
Well, just installing NetworkLocation won't stop Google from knowing where you are. You obv need to remove all Google software from your phone.

I don't thing this is possible. There are some correlations that requre you to have GSF for GCM: GCM requires an android id that is provided by GSF, GCM requires an android account that is provided by GoogleLoginService (which also requires GSF), ...
[Android Software Development] philippe734:
Before reading this topic, I tested Android without Google (without gapps) and my personal assessment is surprisingly good summary in your introduction! Here, another topic that reflects good the spirit of the xda community, I love it!
[Android Software Development] Nagoyablue:
Yeah, I've already removed all gapps, invluding the play store.

Between fdroid, amazon app store and slide me, i can easily get anything i need.

I'm completely google free now!

Sent from Pompey, via Nagoya.
[Android Software Development] famewolf:
Don't think amazon appstore is a better solution. They mod their apps so the apps will not run if the amazon appstore is not installed. They are typically a month behind on versions because of this. The amazon appstore sucks battery and autostarts itself both at boot and other times.....you can use greenify to stop it running in the background, autostarts from f-droid.org to stop it running at boot and XPrivacy to feed it dummy data for things it doesn't need....for example why does it need my contacts...phone calls...etc.
[Android Software Development] Franktdf:
MAPS API 1 does not download the osm maps?

Hello,

Tried these tools tonight on my Galaxy S4 Mini with the latest carbon ROM.

Than I installed 3 apps, which did not install before, likely becasue they did not find Google Maps. so far so good.

One app is DriveNow (installed from androidpit - shop). Here the osm street maps are not downloaded.

2nd app is DB Navigator. Here also no downloading of the maps.

Both apps seem to "think", that the maps are being downloaded, they just work. I am just missing the information.

The 3rd app is "FlightRadar24 Pro" (I purchased that when I had the playshop installed). Here I see a map, but the app crashes soon when I zoom in to my location.

I did switch off the firewall for a test, but it did not help.:confused:

The "Playshop replacement" is not yet installed.

Where can I look for a solution?

These tools are really great!!! :good::good::good::good::good:

Greetings,

Frank
[Android Software Development] Franktdf:
Blank Shop is super!

Just as an addon of my last posing: The blank shop is perfect, really!:good::good::good:

I renamed the downloaded BlankStore.apk to com.android.vending.apk, I am not sure, whether that was necessary, it did not hurt though.
[Android Software Development] Memethecat:
Thought this article http://arstechnica.com/gadgets/2013...ntrolling-open-source-by-any-means-necessary/ might be of interest to readers of this thread.
[Android Software Development] Mevordel:
Yep. That's why I can no longer use paid apps: "Google Play License Check." Some things have improved since that article (swiping only requires one library, not the whole keyboard; is searching in the browser really that hard?) and there are some ironic reversals: A holo-updated AOSP music would be much better than Play Music; Google Voice is even more abandoned than AOSP Messaging. But the whole point about libraries is why NOGAPPS is so difficult; it would be nice if there was a campaign for "Support portability! Don't use Play Services!"
[Android Software Development] penser:
I just installed the blank store for Ingress, and Ingress doesn't see the account I made for it. It just keeps telling me to make a new account. And yes, the account works for the blank store, so I didn't input anything wrong.

EDIT: Running AOSP 4.4
[Android Software Development] Matze5800:
Ingress won't work with NOGAPPS, I already tried the same...

Gesendet von meinem Nexus 4 mit Tapatalk
[Android Software Development] penser:
Trying to figure out which GAPPS I need to be able to login to Ingress. Would GoogleLoginService.apk allow me to create the account on my phone and allow Ingress to see it?

EDIT: Installed GoogleLoginService.apk, GoogleServicesFramework.apk, and PrebuiltGmsCore.apk (all from PA 0-Day GAPPS) and Ingress crashes on startup. Removed GoogleServicesFramework.apk and Ingress now starts, but it says "The account, [YOUREMAILHERE], cannot be used. Please choose a different one."

I guess my friend lied about it being open to everyone without invites.
[Android Software Development] MaR-V-iN:
You would need at least GoogleServicesFramework and GoogleLoginService to use apps that require a Google account.
[Android Software Development] MaR-V-iN:
I never took a look at Xposed so far. And this is not going to happen within the next month, so if you or someone else is interested, feel free to investigate how to use Xposed for this.
[Android Software Development] Memethecat:
Does blank store need "any" Google core apps to function?
[Android Software Development] MaR-V-iN:
No.
[Android Software Development] jgcaap:
If you need testers let me know
[Android Software Development] wkwkwk:
I noticed something interesting and I'm wondering if it's a feature in nogapps (BlankMarket?) or something within Android OS itself.

root@mako:/ # ip rule|grep 74
99:	from all to 74.125.237.160 lookup main
99:	from all to 74.125.237.174 lookup main
99:	from all to 74.125.237.165 lookup main
99:	from all to 74.125.237.162 lookup main
root@mako:/ # ip route|grep 74
74.125.237.160 via *my_gateway* dev rmnet_usb0
74.125.237.162 via *my_gateway* dev rmnet_usb0
74.125.237.165 via *my_gateway* dev rmnet_usb0
74.125.237.174 via *my_gateway* dev rmnet_usb0
root@mako:/ #

The 74.125.0.0/16 subnet belongs to Google.

I have an openvpn connection and it's set as a default gateway so all traffic goes through the VPN connection.

However, these static routes cause all trafic going to google to bypass the vpn completely and going through the cellular connection.

I have no gapps installed at all, just blankstore.apk, networklocation.apk and maps api.

Did anyone else notice this? Depending on your location, the subnet may differ, I think the 74.125.0.0/16 is allocated in the Asia/Pacific region.

Thanks
[Android Software Development] k4r70ng:
What sdk do you use? i get lots of errors in eclipse.

import android.content.pm.IPackageDeleteObserver;

import android.content.pm.IPackageInstallObserver;

Cant be resolved!
[Android Software Development] MaR-V-iN:
Nice catch! BlankStore is definitely not doing this.

The CaptivePortalTracker could be the reason. You might want to disable it by calling the following in a root shell:

echo 'insert into global (name,value) VALUES ("captive_portal_detection_enabled",0);' | sqlite3 /data/data/com.android.providers.settings/databases/settings.db

You may want to try to build using cernekee's repo, he did some work to ease build process: https://github.com/cernekee/BlankStore

Note that I'm not actively developing this version of BlankStore anymore.
[Android Software Development] wkwkwk:
Thank you. I've inserted that into the sqlite3 db (confirmed by a select * from global|grep capt)

70|captive_portal_detection_enabled|0

However, after a reboot the routes came back:

74.125.237.196 dev rmnet_usb0
74.125.237.201 dev rmnet_usb0
74.125.237.206 dev rmnet_usb0

Thanks again for all your help and for the amazing work with freecyngn - I used omnirom for a few days but 4.4 isn't quite there yet so I have to use cm10.2, now, analytics free ;)
[Android Software Development] :
I copied cells.db to the folder I was supposed to, but the only thing that works is gps. No cell location at all. Ideas?
[Android Software Development] MaR-V-iN:
It could be your cell is not known to NetworkLocation. You could check if the cells.db contains your cell using sqlite3 (or just pm me your cell tower details).

If this is not the problem, please add "log.tag.nlp=DEBUG" to your /system/build.prop, reboot and create a log using logcat
[Android Software Development] hillbicks:
I have a couple of questions:

- There is still no way to install paid apps? Any suggestions other than a nandroid backup, updating the apps and restoring them via titanium?

- Can I update nonpaid app via BlankMarket? Will I be notified?

- Will apps like Threema work? It sends encrypted messges via Google Cloud Messaging.

Oeffi is still FC and I'm not sure if it's the network stuff. Will post a logcat tommorrow. btw. should I see maps api somewhere under the apps section?

Last but not least, thanks very much for doing this.
[Android Software Development] hillbicks:
I tried it with my old phone today, Oeffi is starting now, but when I use Oeffi stations there is no map. Is there anything else I need to install? Is there another map that I can try it with?

Thanks for any help with this guys.
[Android Software Development] MaR-V-iN:
Oeffi seems to have problems with writing to the sdcard cache. You could try if it works with starting c:geo first and Oeffi afterwards.

Google Cloud Messaging does not work. Free apps can be updated using BlankStore, but you have to check the installed apps section in BlankStore yourself (no automatic update checking)
[Android Software Development] hillbicks:
I still think I'm doing something wrong here because c:geo does not show a map either, just the grey background and the icons. I tried this on a Cyanogenmod 10.2 and CM11 device. On the CM11 Oeffi doesn't start and I started from scratch, it's still fc.

And thanks for answering the other questions.
[Android Software Development] thelieisajoke:
With the replacement maps-api I also had no map in Tasker. I'm using the Google maps-api til the v2 will be reverse hacked.
[Android Software Development] hillbicks:
Ok, the fc was my mistake. For some reason that is beyond me, I had to install the nogapps-maps.zip again. But the maps are still not loading, doesn't matter if I use c:geo, tasker or oeffi. And logcat just gave me the answer I guess:

MapTileDownloader: Problem downloading MapTile: .........HTTP/1.1 403 Forbidden.

I shouldn't be the only one that's getting the 403, should I? I guess the useragent is banned from accessing osm?
[Android Software Development] jago25_98:
Can't see it mentioned in this thread so I will. Requires a computer with chrome and also gtalk ID but it seems related:

http://apps.evozi.com/apk-downloader/
[Android Software Development] hillbicks:
I'll try and setup my own tile server this afternoon, but for this to work with nogapps I'd have to chang the url for the openstreetmap tile server. I imported your project already into ADT, made the change to the URL, but how do I recreate the flashable zip again with the changes I made? Would you be so kind and point me in the right direction? [MENTION=3999488]MaR-V-iN[/MENTION]
[Android Software Development] MaR-V-iN:
The easiest way is to use ant, the required build.xml is already included (as long as adt did not overwrite it). I don't know how to do this from eclipse, but you need to run the ant target "clean-build" with four properties set:

When running ant, make sure jarsigner and dx are in $PATH.

From a terminal, you can do the above with the following command:

ant -Dsdk.jar=</path/to/>android.jar -Dsign.store.pass=<pass> -Dsign.key.alias=<alias> -Dsign.key.pass=<pass>

This will create a mapsapi.flashable.zip in the out folder

It should be possible to compile as normal apk, rename it as com.google.android.maps.zip, remove the AndroidManifest.xml and resources.arsc using you favourite zip program and rename it to com.google.android.maps.jar, but i didn't test it - note that an android framework jar file usually contains only a META-INF folder and a classes.dex file, if you see any subfolders with .class files in it, it's not an android framework jar!)

If you managed to build the framework jar file using this or another way, you can replace the /system/framework/com.google.android.maps.jar in the original flashable zip with it.

Note: I don't use adt for the maps api, because you don't need any of the adt features. Just create a usual java project and set android.jar as bootclasspath is enough.

Hope this helps :)
[Android Software Development] MaR-V-iN:
Create/Update your customized lacells.db

lacells.db is the new cell database file supported since NetworkLocation v1.2.

Make sure sqlite3 is installed

Download the cell_towers.csv.gz from http://downloads.opencellid.org/ and gunzip it.

Open a terminal in the folder where the cell_towers.csv is located, remove lacells.db if any and enter the following:

sqlite3 lacells.db
CREATE TABLE cells_new(radio TEXT , mcc INTEGER, mnc INTEGER, lac INTEGER, cellId INTEGER,unit INTEGER, long REAL, lat REAL,range INTEGER, samples INTEGER, changeable BOOL, created INTEGER, updated INTEGER, averageSignalStrength INTEGER);
.mode csv
.import cell_towers.csv cells_new
DELETE FROM cells_new WHERE samples < 2;
CREATE TABLE cells(mcc INTEGER, mnc INTEGER, lac INTEGER, cid INTEGER, longitude REAL, latitude REAL, altitude REAL, accuracy REAL);
CREATE INDEX idx_cid ON cells (cid);
INSERT INTO cells SELECT mcc, mnc, lac, cellid, long, lat, -1, max(100000/samples, 5000) FROM cells_new;
DROP TABLE cells_new;

You may want to restrict your lacells.db by mcc/mnc, by entering (replace <yourmcc> with your mcc and <yourmnc> with your mnc)

DELETE FROM cells WHERE mcc != <yourmcc> OR mnc != <yourmnc>;

or restrict by country only (again replacing <yourmcc>)

DELETE FROM cells WHERE mcc != <yourmcc>;

And finally:

VACUUM;
.quit

Copy your new lacells.db to /sdcard/.nogapps/lacells.db

You can also do this directly on your phone using adb shell or a terminal emulator. sqlite3 is installed by default on most roms.
[Android Software Development] Sick1:
I searched and searched and searched... then i decided to ask you:

What Map app and navigation app you use?

I have blankstore working, got calendar to synch using myphoneexplorer and my pc thuderbird mail with Lightning extension

Now i have problem with nav and maps. I flashed the map api from OP and copied the cells.db and networklocation.apk.

Openstreetmap app gives fc but Osmand map&navigation seems working somewho. I downloaded from there my local maps etc. Just that the gps doesnt lock well and keeps hanging... So this seems that the map api i flashed wasnt necessary? as i downloaded the openstreetmap things within the app right?
[Android Software Development] elchi1234:
Yes, it isn't necessary to fit this purpose.

You need it only for apps that need the Maps API.
[Android Software Development] Vagelis1608:
Can I download the beta versions of apps in BlankStore?

I am a beta tester of SD Maid (already opt-in as beta tester).

Sent from my GT-I5500 [CM11]
[Android Software Development] MaR-V-iN:
Honestly, i can't say. It depends on how Google implemented that. Would be great if you can tell us (the play.google.com page should show you once a beta is available).
[Android Software Development] hakcenter:
Do paid apps work?
[Android Software Development] hillbicks:
No, they don't with the Blank market. I'm still trying to figure out the best course of action. (boot into a seperate backup with gapps installed, install your paid apps, make a titanium backup of said apps, boot back into your nogapps rom and restore via titanium). I'll report back when I figured something out.
[Android Software Development] elchi1234:
Paid apps work. As long as they don't check if they're bought. Buy them via https://play.google. com/ and install via Blank Store afterwards.
[Android Software Development] hillbicks:
Hu, that is not my experience at all. When I clicked the install button in the blank market for apps that I already paid for, it started the download but stopped immediately after that, without installing.

Do you have an example where that worked for you?
[Android Software Development] elchi1234:
Oh, yes. There's an error with paid apps. You can look into the logcat. It downloads a HTML file with a link instead of the APK. But it would work if this error was fixed. So it's not impossible.
[Android Software Development] Vagelis1608:
Doesn't work :(

Can you make it work?

Sent from my GT-I5500 [CM11]
[Android Software Development] aelmahmoudy:
I notice that there's an empty https://github.com/microg/GoogleServicesFramework repository ? Will that replace the GCM ?
[Android Software Development] MaR-V-iN:
No. It's a replacement for GoogleServiceFramework, GCM uses Google Play Services, which is not the same (GoogleServicesFramework is much older)
[Android Software Development] aelmahmoudy:
So, any plans to continue implementing GSF replacement ?
[Android Software Development] aelmahmoudy:
Please mention the NoAnalytics & Freecyngyn

Would you provide a flashable ZIP file for Freecyngyn containing the required stuff (at least smali & NoAnalytics.jar, since busybox is already available on CyanogenMod)
[Android Software Development] elchi1234:
[MENTION=3999488]MaR-V-iN[/MENTION] As I mentioned there is (at least) one bug in the BlankStore.

And I would rather see the Android package installer open after the download.

Well, my question is: Where to file a bug report and/or a pull request? mar-v-in/BlankStore or microg/Phonesky?
[Android Software Development] MaR-V-iN:
Yes, there are. Take a look here.

There is a dedicated thread on freecyngn: http://xdaforums.com/showthread.php?t=2550769

BlankStore is discontinued, so Phonesky is more likely the right place, however note that Phonesky will most likely not suffer from the paid and beta issues because it uses the newer API.
[Android Software Development] an0n981:
Is there a download available for Phonesky or do we need to compile it ourselves from Github?
[Android Software Development] MaR-V-iN:
Phonesky is dev only right now because it does not contain a usable ui yet.
[Android Software Development] Vagelis1608:
How long do you think it might take until it's usable?
[Android Software Development] hillbicks:
As much as I like the idea of being free from google apps, I guess I'll have to wait until the maps api v2 and Phonesky are ready. The maps replacement wouldn't work with the original openstreetmap (logcat said 403, I guess because of a wrong agent), oeffi is still not showing a app (which I could live with) and my home server doesn't have the resources to run a openstreetmap server all the time. But the main issue are the complications with the blank market. There are a couple of paid apps that I'm using which I can restore with Titanium backup, but some of them won't work because the licensechecker is not working. In addition to that, updating apps isn't necessarily easy and comfortable.

I really wish there was something I could do, but sadly I don't have any programming skills. After the revelations of the last I'd have thought that these kind of projects would get more attentions from developers around the world. I'll try and talk some people and see if I can get them interested in this project.

Anyway, thanks for your work on this so far [MENTION=3999488]MaR-V-iN[/MENTION]. I really appreciate it!
[Android Software Development] DSoundso:
Haven't found anything in the latest posts which concerns me. I have the immediate closeing of my app. Though, I have a noobish question about:

What is OP and where do I copy the new com.android... file from?

At which step do I install the blankstore.apk?

To create a new account I used this method, since nothing else worked:

So thanks a lot for you effort. Hope someone can help me out :fingers-crossed:
[Android Software Development] MaR-V-iN:
This happens if you did not create an account as described in the installation instructions.

OP = opening post

downloaded file (blankstore.apk) = com.android.vending.apk
[Android Software Development] DSoundso:
sorry. too stupid. forgot step 5. thanks for your help!
[Android Software Development] Vagelis1608:
Sent from my GT-I5500 [CM11]
[Android Software Development] jgcaap:
How is development going? Is the ot updated? Or we should wait until is 100%? Would love to test this :)