yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Sir_gpm:
I found an script that removes every trace of Google. They called anti_gapps script. Leave the link so the OP can check it. Nogapps
[Android Software Development] sancho_panzer:
Hum, Cyrillic never was my strong alphabet. ;)

Thank for the heads up. Any volunteers for testing and reporting?
[Android Software Development] Ultramanoid:
I tried to download it to check but always get 404 error pages. From the translation of the posts it would seem to be simply a script to remove GApps and associated libraries... ? Many mentions of alternative stores, launchers, etc. I'm not sure it'd be of much use for people on clean roms or already without GApps. Hope someone can confirm.
[Android Software Development] Nyakov:
Russian speaker here. Confirm, script totally removes(if recognize for specific platform) all google apps and services (including sending of bug reports).

In zip for recovery also included "Trebuchet launcher".
[Android Software Development] sancho_panzer:
Links are dead. Do you have latest version and can you please give us a download link?
[Android Software Development] Izzysoft:
NetworkLocation.apk

[MENTION=3999488]MaR-V-iN[/MENTION]: May I bring up the issue from my previous post again? Still couldn't get the NetworkLocation working. Just checked with "adb logcat", but found nothing related (might have escaped me, though). Listing installed (and enabled) packages using "pm list packages -e" showed, amongst others, "com.google.android.location" fine, so it's there.

As said, the device was freshly flashed with CyanogenMod (including multiple wipes to make sure I ged a "clean start"), no GApps installed, NOGAPPS installed.

Anything I could try? I'd happily provide more details, if only I would know how to find them. As NetworkLocation.apk does not provide any activities (Apex' activity browser at least showed none), I cannot see how to force some output either.
[Android Software Development] Sir_gpm:
Link is not dead. Is a registration needed site. I have it. But have no pc right now so if you can send me a pm with your email.
[Android Software Development] haffenloher:
Is "Settings > Location access > Wi-Fi & mobile network location" enabled? That's what I forgot to do when I set up my phone with NOGAPPS last time.

c:geo is useful for testing. On the bottom of its main menu (you'll probably need to hit the "back" button first to exit the settings screen that opens automatically), your location is displayed, along with the location provider that was used (e.g. "Network").
[Android Software Development] Izzysoft:
I don't have that in there. All it shows is "Google Location Service" (which I checked, thinking it was NOGAPPS posing as replacement – the description mentions WiFi and cell info), and "GPS Satellites". A third point lets me chose the GPS source (to e.g. connect an external GPS).

Thanks for the recommendation! Just installed it from Aptoide (it's obviously defunct on F-Droid). On the described place, it just says "GPS inactive". No location. Nevertheless: Finally some useful info in logcat:

W/cgeo (12156): Unable to create network location provider: provider=network

Which indicates there is some trouble. As a crazy side-effect: WTF is this:

I/BackupManagerService( 215): New app cgeo.geocaching never backed up; scheduling

Scheduling for what? No Google here, so where to? Very strange things going on here...
[Android Software Development] Nyakov:
In attachment.
[Android Software Development] Ultramanoid:
I see that too, and have no Google, and all backup options, APKs, or libraries that I know of, set to OFF or deleted from the device. Would love to know how to kill this backup service schedule or even the mentions of it.

Edit : Going to erase /bin/bmgr and /system/framework/bmgr.jar for good measure.
[Android Software Development] Izzysoft:
What I wonder for that is: Where to does bmgr backup if there are no Google apps installed, and thus no Google account is configured? Makes no sense to me, unless one could configure ones own server – which I never heard of. So erasing those two files sounds a good approach: I don't see how they could be useful. Similar thing for "Exchange.apk", which left an entry of being unable to find the mail app every minute in logcat ;)
[Android Software Development] Ultramanoid:
Hahaha... Russian script is funny.

...
delete("/system/priv-app/Phonesky.apk");
delete("/system/app/Phonesky.apk");
delete("/system/app/PhoneSky.apk");
delete("/system/priv-app/PhoneSky.apk");
...

I will find you, PhoNEsKy.

Wherever you hide, PhOnesKy.

I will find you and kill you, PHonESky.

You will die wherever you are, you pesky Phonesky.

:D
[Android Software Development] bsimpson1:
One thing that doesn't seem to be possible with BlankStore, and maybe this is outside the scope of what BlankStore is responsible for, is downloading apps whose visibility in the official Play Store would be dependent on certain device factors like vendor, storage capacity, DPI, etc. With gapps, there seems to be some sort of analysis of the device in order to determine if the device is eligible for downloading certain apps and then making those apps available in the Store. The BlankStore seems to simply not display most of these apps. This is not a huge issue since these kinds of apps seem to be fairly uncommon, but I just thought it might be worth noting.
[Android Software Development] MaR-V-iN:
Which device is this? Is it an official CM build or a custom build? Link to download?

BlankStore can download restricted apps if a corresponding android id is provided. The android id generated by the checkin tool corresponds to a Galaxy Nexus running Android 4.1 and using T-Mobile USA. You can use an android id of a real device and download any app that this device could.
[Android Software Development] Izzysoft:
HTC Wildfire (aka Buzz), CM 9.1. As I downloaded that image quite a while ago (2/2013), I don't remember the link. It's referenced from this thread, but the original download link seems to be gone. Timestamp, size and description read as if it could be v2.0 from this thread, but I really don't remember. I can provide the file, though, if needed – or pick any details from within.
[Android Software Development] Nyakov:
Can I ask about https://github.com/microg/android_packages_apps_UnifiedNlp

UnifiedNlp

I use it for some time and all works OK for me, but it is provided as Beta, and no words about it in OP post.

And I little confuse, should I really use it?

Or perhaps it should be added to OP post?;)

Perhaps old NetworkLocation works more stable?

And...

GSMLocationBackend in F-Droid was not updating for some time, the is some new information here for this time... Especially for my region, whom I should ask for updating it?:o
[Android Software Development] aelmahmoudy:
The upstream of GSMLocationBackend is here: https://github.com/rtreffer/LocalGSMLocationProvider

GSMLocationBackend uses data from OpenCellID (http://opencellid.org/), so:

* if your region new data is not on OpenCellID, then you need to contribute that data to OpenCellID

* if that new data is already on OpenCellID, then you probably should wait for (or work on) a fix for this issue: https://github.com/rtreffer/LocalGSMLocationProvider/issues/3
[Android Software Development] MaR-V-iN:
Please send me your /system/framework/framework-res.apk (using PM)

Yes, the old version is more stable and UnifedNlp currently lacks the Geocoding feature (translate location coordinates to country/city/address data), which is used by some apps. Longterm, UnifiedNlp (and GmsCore) will replace NetworkLocation.
[Android Software Development] tufighter:
if you are running on ART and have issues installing certain apps (like whatsapp), switch for the installation to dalvik and afterwards back to ART. Thanks for the help MaR-V-iN
[Android Software Development] utonto:
Network Location issues

Hi everybody!

I'm trying to compile NetworkLocation from source, however I run into these issues:

1) How can I enable compatibility with Android 4.4? What are the sources/command-line used by MaR-V-iN to compile the NetworkLocation version for Android 4.4 featured in the first post?

The code in the main git repository requires Android API 16 (4.1.2), after I successfully compile the APK, it doesn't work on my Android 4.4.4 phone. Adding API19 does not help (because sources point to the API 16 sources anyway I guess).

The command line I use is

mvn package -Dandroid.sdk.path=/home/user/Android/android-sdk-linux

2) I'm also trying to compile the lacells.db. Do you know how to edit the following code to retain 2 countries in one database (let's say 111 and 222) (delete all different from 111 and 222)? I guess it's a very stupid question, but all syntaxes I've found with google didn't work...

DELETE FROM cells WHERE mcc != 111

Thanks a lot for letting me know!

By the way, recently there have been some changes in the OpenCellsID database format, with additional columns added. Not big deal, they get ignored.

Last but not least HUGE THANKS to MaR-V-iN and the whole community for their impressive contribution to safety and freedom with the NOGAPPS projects. Please keep up the great work on these apps!

UnifedNlp is a promising project, but the slow development and limitations with the cells database format are major drawbacks for its adoption at this moment IMHO.
[Android Software Development] MaR-V-iN:
[MENTION=4633898]utonto[/MENTION]

1) Just change the packageName in AndroidManifest.xml to "com.google.android.gms". That's all.

2)

DELETE FROM cells WHERE mcc != 111 AND mcc != 222

You can repeat the AND part several times if you want more than two countries. If you want two carriers in different countries it looks like

DELETE FROM cells WHERE (mcc != 111 OR mnc != 33) AND (mcc != 222 OR mnc != 44)
[Android Software Development] Izzysoft:
LACELLS

For those who want to "compile" the cell database, I have a little example code in my Android downloads: watch out for the "lacells.zip", scripts and instructions included.

[MENTION=3999488]MaR-V-iN[/MENTION] Could you find out anything from the framework-res I've sent you by PM?
[Android Software Development] MaR-V-iN:
framework-res is fine, so it should work

please do the following

add "log.tag.nlp=DEBUG" to your /system/build.prop

set locating to network location only (disable gps)

connect your phone to your pc and enable adb

reboot

open an app using network location (like c:geo) after you connected to mobile network

do a complete logcat using `adb logcat > nlp.logcat` and send it as pm (you might want to clean up sensitive data in it)
[Android Software Development] Izzysoft:
Done that. The relevant part (from starting c:geo to the end of having it a "live map" displayed, which placed me in the center of Paris) can be found in this pastebin. Complete log (starting at boottime) as "nlp.zip" at the same location where I put the framework-res for you last time. Looks like there's really only that one line from c:geo itself, I could not find any debug output from NetworkLocation itself. And while "I/SystemServer" logs a lot of services it activated, NetworkLocation is not one of them. Only hint to the NLP is the PackageManager claiming "Unknown permission android.permission.ACCESS_COARSE_UPDATES in package com.google.android.location" (and the same for "READ_EXTERNAL_STORAGE").

Besides: I've just given the latest Blankstore (0.7.1) a try, after configuring an account with the android_id obtained from the device itself (/data/data/com.android.providers.settings/databases/settings.db: "select value from secure where name='android_id'"). Starts up – but when initializing a search, or pushing the "installed apps" button, two seconds later just comes "unfortunately, Market has stopped" (edit: logcat included with the zip). Doesn't it like the devices original android_id, so one really has to create another one with "android-checkin-1.0.jar"?
[Android Software Development] MaR-V-iN:
SystemServer should not start NetworkLocation. In case you did install NetworkLocation to /system/app/ I do not know what can cause your problem, it's really odd.

If you use the android id of a device without GAPPS installed, it is just random garbage. GAPPS overwrite the settings and set the android id to something generated at google's servers, and that's the one you need for blankstore.
[Android Software Development] Izzysoft:
ls -l /system/app/
...
-rw-r--r-- 1 root root 65375 Aug 1 2008 MediaProvider.apk
-rw-r--r-- 1 root root 3117664 Aug 1 2008 Mms.apk
-rw-r--r-- 1 root root 102453 Aug 21 20:50 NetworkLocation.apk
-rw-r--r-- 1 root root 87603 Aug 1 2008 PackageInstaller.apk
-rw-r--r-- 1 root root 1401049 Aug 1 2008 Phone.apk
...

Thanks, thought so (though I wonder what paxx- is doing here then, overwriting the android_id with a random hex string). Nevertheless, I've just installed an app depending on the license check, and it's still running – though ActivityManager throws some strange warnings:

09-15 01:39:46.695 W/ActivityManager( 226): Unable to start service Intent { act=com.android.vending.billing.InAppBillingService.BIND }: not found
09-15 01:39:50.229 I/LicenseChecker( 1306): Binding to licensing service.
09-15 01:39:50.229 W/ActivityManager( 226): Unable to start service Intent { act=com.android.vending.licensing.ILicensingService }: not found
09-15 01:39:50.239 E/LicenseChecker( 1306): Could not bind to service.

Guess this device is a little borked. But it was the only spare one I had for testing...
[Android Software Development] Sir_gpm:
Anyone that speak Russian?. There is a user that develop an app called google play service blocker, will be easy to improve our battery life. Link
[Android Software Development] Nyakov:
Thank you for you replay.

Now I am trying to use NetworkLocation but have some issues.

1) Folder ".nogapps" must be located on internal storage as I understand?

2) I cannot understand is it works or not.

2.1 When I use UnifiedNlp its appears in launcher, NetworkLocation is not, is I am doing something wrong or its okay?

2.2 When I use UnifiedNlp and open map app the firs I see is approximate(gsm tower) location, and then after few second GPS location. With NetworkLocation I don't see in map app approximate(gsm tower) location. Is it ok?

I use Sony Xperia Z1 with rooted latest official firmware and unblocked bootloader.

And in this firmware I actually cannot see folders with names started with dot (".blabla" for example). But from ftp i manage to create .nogapps folder and put in it lacells.db. Perhaps this is problem?

:confused:

---------- Post added at 09:19 PM ---------- Previous post was at 09:01 PM ----------

Not so easy.

It is don't actually block something but replace google play service witch dummy app. And it needs some patches to work, and deleting original google play service apk and root of course. And not always work.

So really, i think the better and easiest way is to get reed of google apks completely. Just using custom rom without them. Or CyanogenMod. And install NOGAPPS Project.
[Android Software Development] xavihernandez:
Hi peeps,

Is there a way to bypass Google Services requirements in app like YouTube ?
[Android Software Development] sancho_panzer:
http://xdaforums.com/showthread.php?t=1529715
[Android Software Development] xavihernandez:
Thanks but this is an outdated version of Youtube.

I have v5.3.32 at the moment, the last which allow you to use it without Google Services. After that version Google Services required... :(
[Android Software Development] Ultramanoid:
You can use YT in your preferred browser, no need for Google's application; and if you want to download or keep the video with choice of quality ( 1080p, 720p, 480p, only sound, etc ) this is highly recommended :

http://xdaforums.com/showthread.php?t=2137743
[Android Software Development] xavihernandez:
Thanks for your answer.

However it is not a correct solution, this is a different thing. Youtube mobile website does not have HD quality, while application does.

For your second option, TubeMate can download links too, and other applications. I wanted to be able to watch videos in Youtube application, the normal way to do it...
[Android Software Development] Nyakov:
Then just use desktop site version.

Personally I do so.

---------- Post added at 02:47 PM ---------- Previous post was at 02:45 PM ----------

But this is kind of conceptual question. You want google apps but without google apps, just install google apps and all will be okay.
[Android Software Development] Nyakov:
Try to use this:

I attached file from here.
[Android Software Development] Ultramanoid:
There's HD in browser too, no problem. ( Screenshot is from a 720p phone, not even a tablet, it can play full screen of course, I just cropped from the browser window to show I selected 1080p... )
[Android Software Development] xavihernandez:
Some videos cannot be played from Youtube desktop website (maybe because there are only Flash version for some videos)

I want some google apps, but I don't need all Google Services, it is really different. No need to sign in to watch a video. No need to have constantly Google Services running to watch videos. It is not about concept. By the way before v5.3.32

we were able to run Youtube app without Google Services.

What is it for ?

Cf. what I said about videos can be unwatchable from Desktop website (maybe due to Flash requirement)
[Android Software Development] Ultramanoid:
Yes, I understood what you want very well. It is unfortunate that Play Services is getting tangled with other applications all over the place. Anyway, hope you can find an alternative !

The point he makes is valid. We used to be able to do things without needing the Play Services stuff pushed down our throats. He could use YouTube, I could use applications that had location services ( now part of the Play Monster ), etc.

Very upsetting, and precious few alternatives.

:(
[Android Software Development] Nyakov:
Yes, the point is valid.

But this is the point about google policy, about google apps concept, at with we cannot affect in any way.:(

And this is what I talking about.

That's why nogapps project raise up.:good:

I wonder, is it possible to create alternative youtube app...

---------- Post added at 04:18 PM ---------- Previous post was at 04:15 PM ----------

Read the few posts up. Theoretically it will allow you yo use youtube without google services.

[/QUOTE]

Yes, Flash requirement is it.
[Android Software Development] sancho_panzer:
You have several alternatives, many of them on Play Store, being Viral Player the best bet IMO.

Wrong, YouTube can play with HTML5.
[Android Software Development] Nyakov:
Not ALL the videos. Some played only on flash player.
[Android Software Development] xavihernandez:
Yep as I said ;)
[Android Software Development] Hzu:
I haven't tried this but if you can get Greasemonkey running on the mobile Chrome, you might even be able to get YouTube Center functioning on it too.
[Android Software Development] wkwkwk:
I have the same play services requirement annoyance with my banking app

- described at post 705: http://xdaforums.com/showpost.php?p=54450027&postcount=705

Hopefully I'll still be able to use the old one for a while until a workaround is found.
[Android Software Development] RogyHyde:
I am stuck on 5.3.32 too because of same reasons.

Funny thing is that updating to newer versions and opening a youtube link, it shows AND REPRODUCES video perfectly in background, but an intrusive message ("This app cannot work without Google Services". Ha.) doesn't let you see or control the app.

Damn you, Google.
[Android Software Development] xavihernandez:
Yep, **** them on this one.

We are not oblige to manage playlist and so on to watch video :). Google Services can be usefull for people who want. But it is not required for basic use. They shouldn't have forced users.
[Android Software Development] aelmahmoudy:
Maybe start something based on YouTubeDownloader: https://f-droid.org/repository/browse/?fdid=dentex.youtube.downloader
[Android Software Development] KOLANICH:
It is no more free app.
[Android Software Development] Ultramanoid:
It is free, and there are two threads here in XDA by the author ( stable and beta releases ), but regarding source the author changed things, because of abuse. Somebody took his code and did all kinds of things.

This is why we can't have nice things.
[Android Software Development] aelmahmoudy:
A source tarball is available in the F-Droid link I provided in previous post
[Android Software Development] jfmcbrayer:
Yeah, the newer version is non-free (just gratis), but someone who was motivated could fork the old one.
[Android Software Development] Hzu:
There's always PVStar if you need an alternative player. Just free, not open sourced. However, wouldn't it be a better idea if you just play them from the web version instead?

Ah right, the incompatible format issue (some playable, some not). I think one could cook up a simple player using libquvi like mpv does or something like how livestreamer implements the live YouTube video streaming on the PC.
[Android Software Development] xavihernandez:
Same issue with PVStar+, Viral, etc. OK for SD videos, and weird for HD videos, as it can play some for some time, but when it fails, then it fails until I reboot (even for those I have watched in HD before it failed).

Something seems to be break in HD flux encoding/decoding I guess. Or something not reset correctly.

HTML5 HD videos work well thought.
[Android Software Development] MiyagiSan:
Moxie Marlinspike : Defcon 18 Changing threats to privacy

Google has a history of expanding the

choice scope

to counter any effort you might expend to protect your privacy (remember when using NoScript was fun?).

Remember forced Buzz/G+/etc signups or no google services......
[Android Software Development] xavihernandez:
WhatsApp use GCM to push notifications.

Then, when not using Google Service Framework, you won't get push notification. This leads to a wakeup from whatsapp almost every minute.

Do you notice the same thing for you ?

EDIT : no one using WhatsApp around here?
[Android Software Development] MiyagiSan:
If you run WhatsApp and it depends on GCM, you need to use Google Service Framework right?

Or stop using WhatsApp.
[Android Software Development] Hzu:
I do. But right now I'm plagued by Google Apps on my OnePlus One. I just love the CM11S, and until now, I have yet to find a simple solution to get rid of all the Google Apps in my device.

Anyway, I think you can simply avoid that by putting WhatsApp to sleep, like by using Greenify. I have WhatsApp greenified and it never woke up on its own. I don't know if it fallback to its own implementation if GCM can't be found and whether that implementation forces the app to wakeup periodically to check for new messages, but even so, force stopping it explicitly should be able to stop that behaviour.
[Android Software Development] xavihernandez:
Well... Thanks anyways for your non-help, but you'd rather keep this post in your mind.

I do use Greenify, but when Greenified, Whatsapp does not notify you for new messages.
[Android Software Development] MiyagiSan:
Wasn't trying to offer non-help.

My point is that a dependency on GCM (whose absence is presumably leading to wakelocks) is unlikely to be mocked successfully with NoGapps.

Anyway, have you tried a firewall like AFWall+?
[Android Software Development] RogyHyde:
That's not true. WhatsApp DOES NOT depend on GCM. They have its own push service. It works, for sure.

I use a Nexus 4 with OmniROM without GApps for about 6 months, and I had no problems at all.

Plus, you can update it throught BlankStore (NoGApps project) or its website (http://whatsapp.com/android). First is the "stable channel", second is more like a "nightly channel", but pretty stable.
[Android Software Development] MiyagiSan:
How do you reconcile your observations with this FAQ titled My incoming messages are delayed. How come? from WhatsApp?

Still none the wiser here but, this is interesting.
[Android Software Development] Sir_gpm:
This is good for privacy & battery drain, cuz , google play service is one of the biggest battery eater. So, could any one point me to the right process to no gapps and the side effect of it?