yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Izzysoft:
I was just hoping for someone compiling the latest code (from 9/2014) – as if that works out, according to the second-last commit Google License checking should work (see here).

---------- Post added at 05:48 PM ---------- Previous post was at 05:36 PM ----------

Good point! It even directly integrates with Github.

Bountysource just accepts money in a limited of ways: supporters must have "PayPal, Bitcoin, or funds in their Bountysource account" – which for most people will be fine (many use PayPal – hm, but I'm not "many", the terms always scared me off – if some one I trust and lives in the same country as me uses PayPal I might partner-up with him and xfer to his bank account); I expect the "funds in their Bountysource account" refers to bounties one collected or money transferred-in via PayPal/Bitcoin only, but found no reference on that.

In the opposite direction (here: for [MENTION=3999488]MaR-V-iN[/MENTION] to draw-in our bounty, if accepted), it is "Check, Paypal, Bitcoin, or Ripple".

Edit: Just noticed that "partnering up" is not needed in my case, just found the "person I'd trust and living in my country" could be the donation-receiver himself – so [MENTION=3999488]MaR-V-iN[/MENTION], if you accept the bounty and it is due, send me a PM with your bank account info. :o
[Android Software Development] bonanza123:
Here is my build; http://d-h.st/ucSN

note: fully untested, i just made the APK and uploaded it

note also that in this build ( with respect to v.0.7.2 there were 165 additions and 30,376 deletions. )
[Android Software Development] Izzysoft:
Wow, that was fast – thanks a lot, [MENTION=686947]bonanza123[/MENTION]!

Speaking of "your build": it is based on the "latest" code from Github (so you "just compiled it") – or do you refer to a different code-base? Of course the signature won't match (which shouldn't be an issue if I simply replace the `.apk` with root powers, I assume). If you wanted to point out something special, please do so before I put it on my device :D

Edit: too late, I did it. Try #5 succeeded (always had a typo in either my password or the AndroidID – meanwhile I can cite even the latter by heart). Looks good so far I can tell after a few minutes: it shows my installed apps (though not the paid ones), search works, app details get shown (now crossing fingers …), and even updates work (uh, no permission dialog? Need check with another one to confirm (again no dialog), or install something new. Though that update might have no additional perms requested, wasn't there still a dialog?)

Oh, one side-effect (I assume due to changed signature): after replacing the APK and doing a reboot, I had to re-create the account on the device. Just to warn you in case you don't have the AndroidID etc. available.

Maybe some more of us do a cross-check. If at least everything works as usual, or even the license stuff works fine, we might convince [MENTION=3999488]MaR-V-iN[/MENTION] to officially place an .apk from the latest code.
[Android Software Development] barturblits:
[MENTION=686947]bonanza123[/MENTION]: thanks for the compilation!

Also testing this latest blankstore now. I just replaced the old one with the new one and login worked immediately. Did not have to recreate the account. Only difference I noticed is that if you update an app with a non matching signature (for example from f-droid), it now force closes the blankstore. Normally it would show a successful upgrade process without actually upgrading the app or showing the upgrade failed.
[Android Software Development] Izzysoft:
[MENTION=5932098]barturblits[/MENTION] may I ask how you replaced the APK, on which Android version you are, and what ROM you're using? In my case it's Android 4.3 (Cyanogen) – and I've replaced the APK in /system/app via ADB (so booted up normally), fixed the perms (644), and immediately rebooted. Swapped around multiple times to check (official 7.2 and bonanza's "7.3"), had to re-create the account each time.
[Android Software Development] MaR-V-iN:
I guess it's time for a message here from my side again :)

First release of GmsCore? How to actually install all those nice stuff?

I ensure there will be a first "official" alpha release soon (this month). This will come with installation instruction and all relevant information. It might even end up on F-Droid (but there are some technical hurdles on that and it's low priority). There will be a seperate thread for it here on XDA, so we're not mixing up too many projects in a single thread. (You might now that there is already a separate thread for UnifiedNlp and I hope that splitting up the other things will just make reading threads easier).

What about BlankStore?

The old BlankStore was based on the android market API. As you might guess from the name, it really is old. When downloading was no longer possible (or atleast not the latest version of apps) using the old API, I patched the new API inside it, but this solution is totally messy. Moreover, with GmsCore, there is full Google account management available, so this does not need to be in BlankStore anymore. But as already pointed out in the thread, my current development focus is on Play Services.

How to support the development?

I am happy that people are enjoying my work and are willing to donate. In fact I already received more donations than I ever expected to. Unfortunately, donating money is unlikely to increase my spare time that I can and am willing to spend on this project. Instead of donating money, it would be more helpful to donate man-power: If you already developed Android apps, have some experience with reverse engineering and are willing to combine both for the good, feel free to contact me.

Regarding bountysource: I would directly start using it to manage the µg Project if there is a good chance that someone else than me is receiving the bounty (actually I'd be happy to donate to the project myself). If this is not the case, it does not really make sense, as pointed out above, money is not the show-stopper...

And finally: If you're using IRC you might want to join me on freenode at #microg for some undelayed conversation (not today, it's already after midnight here)
[Android Software Development] barturblits:
Running cm12.1 temasek on my LG G2 D802 which is based on Android 5.1.1.

Normally I put blankstore.apk in a zip and install through TWRP. This copies blankstore to /system/priv-app/Phonesky/BlankStore.apk and the install script takes care of the permissions. I deleted blankstore from TWRP and flashed the new zip with /system/priv-app/Phonesky/com.android.vending-debug.apk

I am also using mapsapi v1 and gmscore. Maps api v2 and google login work great. Maps gives a warning that its unusable due to an too old version of gms and I should update. Youtube works.

Cloud push service does not work with the push notification tester (still investigating) and I also got one app which fc due to lack of billing.

Anyone know how to get the billing service or a fake billing service?
[Android Software Development] Izzysoft:
[MENTION=3999488]MaR-V-iN[/MENTION]: Thanks for the heads-up! I was already expecting time being the issue. Always wondered how you managed that much (I'm running multiple projects as well, so I have some measure). Unfortunately I'm no Android dev, so I cannot jump-in at that end.

[MENTION=5932098]barturblits[/MENTION] that explains. Obviously replacing the APK on a "running system" was what caused my trouble. But creating a "flashable zip", then boot to recovery, flash, boot again is – when you rarely do that – more time-consuming than a simple "adb push", reboot, and entering the data again. Provided you don't introduce those many typos as I did today …

Now I'm looking forward to those "installation instruction and all relevant information" MaR-V-iN promised. As soon as that's there, my O4X will lose its "official ROM" and GApps :)
[Android Software Development] barturblits:
Creating a bootable flash is just opening the template zip with xarchiver (or compatible zip app) on the desktop and drag and drop the file/folder. I used this site:

How to create your own FlashAfterUpdate ZIPs for Android - sysadmin stuff

https://fralef.me/how-to-create-your-own-flashafterupdate-zips-for-android.html

I keep those zips in the flash after update folder for OTA updating my rom.
[Android Software Development] Izzysoft:
Ooops. Guess this is the first time I've used up all my thanks :) Due to that nice template and tutorial, plus some adjustments on my end, it will be two keystrokes now with the pointer on the APK file in Midnight Commander: F2 (menu), and Enter – which will run the shell script with the ready-to-flash archive ending up on the device :D
[Android Software Development] bonanza123:
[MENTION=3039128]Izzysoft[/MENTION] yes, it's the build from latest "master".

[MENTION=3999488]MaR-V-iN[/MENTION] ahhh, I understand... So we have to keep all girls away from you, spend the donated money on household help and find some body double to write your exams. :D
[Android Software Development] Izzysoft:
*LOL* Nicely summed up, [MENTION=686947]bonanza123[/MENTION] :)

Btw: I'm now having a nasty after-effect. I don't think it comes from your APK – but I didn't change anything else for months (it's a rarely used device (Motorola Milestone 2, CM/Android 4.3), just received/made a few calls every now and then), so I have no idea what else to attribute it to.

After having tested the app successfully yesterday, I've left the device on the charger overnight (as usual). When I returned to it today, I found it in a boot-loop: Google-Logo, CM boot animation, off (for at least some minutes), then repeat. I didn't manage to enter recovery yet, it also seems it completely depleted the battery meanwhile (no reaction on the power key). Took out the battery for 5..10min, inserted it – game starts over even without me switching on the phone explicitly, so not even a chance to fully charge the battery. As the "off" state lasts for several minutes (didn't manage to count yet, must be something between 5 and 15 minutes), it was hard to catch a chance.

Switching to an A/C wall charger, I finally managed getting into the boot menu and from there into recovery (uh? My last CM flash seems to have included TWRP, as I had CWM on it before), and to wipe cache and Dalvik from TWRP, hit the "reboot" button, and – wow! – got the battery loading animation again – which confirmed the completely depleted battery. And now the charging LED lit up again as well. Nice adventure (sarkasm). After letting it charge to 100%, I again tried booting it up. Hangs eternally in the CM boot animation. According to Logcat it is stuck in a loop with "D/WifiStateMachine( 1620): VerifyingLinkState what=131155 NOT_HANDLED" (repeated each 1..2s). Doesn't go beyond that, logo keeps spinning. Funnily, I also can get a root-shell (issuing "adb shell"). Any ideas how to break that vicious circle without doing a factory-reset? Tried bringing down wifi using "svc wifi disable", but the prompt never returns from that command. I obviously cannot use anything that works via keyevents and the UI, as that's not (yet) loaded. Any ideas?
[Android Software Development] bonanza123:
It looks like some kernel issue. Do you have a non-CM kernel installed? Have you tried updating / re-flashing CM without a wipe?

See e.g. http://xdaforums.com/showthread.php?t=2446431&page=11
[Android Software Development] Izzysoft:
Nope, not yet tried anything like that. First time I experience such thing. Didn't replace the kernel, no – using CM as it came (from a thread here at XDA). Relevant pieces from Logcat (all warnings/errors which might be related here – skipping obviously uninteresting things like PackageManager complaining about unknown permissions) I've put on pastebin. Will check your other link now if that sheds some light. Thanks a lot!
[Android Software Development] Izzysoft:
[MENTION=686947]bonanza123[/MENTION] I finally was able to revive my device – but only by doing a factory-reset. Strange thing is: It not only never completed booting, but also never showed the GUI. Until the time I've deleted the "new" BlankStore.apk. That was the first time I saw some GUI elements again (rebuilding Dalvik, as I had cleared that on each try). Didn't make it through, though – which is why I had to factory-reset finally.

No idea what exactly caused this, but chances are that APK was part of the problem. Not blaming you, mind me. Just issuing a warning to be careful with it (as [MENTION=5932098]barturblits[/MENTION] also tried it, let's wait if some report comes in from that device as well ;)). Might as well be my device doesn't like your APK. No bad consciousness either: The last thing it successfully completed (about an hour before the issue began) was a complete backup. Time to upgrade the device to 4.4 anyway (still runs 4.3) :)
[Android Software Development] xavihernandez:
Device does not have package com.google.android.gsf

I have that error in logcat when I try to launch one application from my provider (tv application, don't ask me why they need and force gsf...) : "device does not have package com.google.android.gsf".

I don't know if µg team is working on a gsf replacement.

What do you know about that guys ?

[MENTION=3999488]MaR-V-iN[/MENTION], is it the thing you are working on? (you said Play Services is your higher priority).
[Android Software Development] bonanza123:
searching may help: https://github.com/microg/android_packages_apps_GmsCore/issues/36
[Android Software Development] barturblits:
Any idea how I can get a fake billing service? I have one app that depends on it.

Also I can not get cloud message service to work with push notification tester. Is there another way/app to test if this cloud service is working correctly.

After reading Izzysoft's story, I also reverted the blankstore for the time being. I did not have reboots or bootloops but I did have some hickups in my cm12.1. I updated the blankstore together with my rom (I know not really ceteris paribus) so this could very well be a rom problem. First gonna get my rom stable and then test again.

Rest works perfectly, really nice service collection!
[Android Software Development] xavihernandez:
I did a search before, didn't know it has been discussed after. I have asked like 2 weeks or 1 onth ago, with no answer. Didn't know someone opened an issue on github, and didn't say nothing here.

Anyways thanks for the link, but I would have preferred a answer without "searching may help". Stay helpful.
[Android Software Development] haffenloher:
After installing the GSF stuff, try reinstalling your app so that it can request the needed permissions.
[Android Software Development] xavihernandez:
Thanks both of you!

Application launched after it has been reinstalled!
[Android Software Development] barturblits:
I have the same error with push notification tester. Reinstalling did not solve it.

Pfff now it does work. Problem solved.
[Android Software Development] MaR-V-iN:
GmsCore related discussion should head over to the new thread. Thanks.
[Android Software Development] n76:
I setup a separate Google account to use with Blankstore just in case there would be an issue. But I've had no issues with that account and have been using it with Blankstore for, I think, over a year.
[Android Software Development] n76:
Only free apps, typically ones from airlines, hotels, etc. so that I can easily make reservations using my phone. If an app I want is available from F-Droid, I will get it there instead of Google's store.
[Android Software Development] n76:
I haven't tried it, but with some rough edges, it might be possible to get Google's Play Store to run using microG's GMScore software. See: http://xdaforums.com/showpost.php?p=63144101&postcount=12
[Android Software Development] Izzysoft:
For those still waiting here for that: Wrong place :D Check the other thread instead.
[Android Software Development] barturblits:
Since today blankstore gives a FC on installed apps with error:

10-21 11:06:18.945 E/AndroidRuntime(5857): Caused by: com.gc.android.market.api.Tools$HttpException: HTTP Code 404 : https://developers.google.com/accounts/docs/AuthForInstalledApps

Any insights on this?

edit:

It seems OAuth 1.0 is removed:

Important: ClientLogin has been officially deprecated since April 20, 2012 and is now no longer available. Requests to ClientLogin will fail with a HTTP 404 response. We encourage you to migrate to OAuth 2.0 as soon as possible.
[Android Software Development] wkwkwk:
Bummer, it also broke for me earlier. I think I read a while back a comment from Marvin regarding oauth status but I'm not sure.
[Android Software Development] barturblits:
Using play store at the moment and works but I don't like the idea of running prop Google apps as system apps. Hope Marvin can fix the blankstore.
[Android Software Development] Wakamatsu:
I was wondering what happened. I guess I can stop troubleshooting my device. =\
[Android Software Development] MaR-V-iN:
Version 0.7.3 of BlankStore should fix issues raised about yesterday. Download in first post.
[Android Software Development] barturblits:
Great job! Thanks.

I am gonna continue to test the original playstore for a couple of days and then revert back to blankstore. So far no problems with playstore but I like blankstore better.

Would it be possible (and useful) to make blankstore SELinux compliant? At the moment I have to change SElinux to permissive to use blankstore (and an AOSP IR remote control app).
[Android Software Development] barturblits:
I could not resist. I removed playstore and installed blankstore again. I could see installed apps but I could not install new apps. Gave me a fc.

I noticed the google account was still present and was undeletable so I restored the image from before converting to playstore. After updating blankstore to 0.7.3 I still get a fc on installing new apps.

Marvin: I sent the logcat in a pm
[Android Software Development] MaR-V-iN:
Thanks for the log, fixed the issue and published 0.7.4, please report if you still have problems.
[Android Software Development] barturblits:
Thanks! Works properly now.
[Android Software Development] gururoop:
Does this work on Android Lollipop 5.1.1_r24? I tried it on the latest Exodus ROM on Oneplus 2, but none of the apps which use location are showing proper location for me. Also CyanDelta, which uses in-app purcases, is FCing and Ola Cabs app, still shows that it needs Google Play Services. Uber app doesn't go beyond its logo. Also, I tried generating android-id for BlankMarket, it gave me the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
at com.android.checkin.Main.main(Main.java:17)
Caused by: java.lang.ClassNotFoundException: org.apache.http.HttpEntity
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
Press any key to continue . . .
[Android Software Development] lebenskuenstler:
May I ask why you did choose to discontinue Blank Store?

Thanks,

LK
[Android Software Development] digitman xxx:
me too..!
[Android Software Development] :
Try this one, works well:
[Android Software Development] digitman xxx:
ThanQ

yup, Now works well :good:
[Android Software Development] MaR-V-iN:
Limited time.

Blank Store uses a lot of legacy APIs on Google's servers (Android Market APIs, OAuth 1.0) and thus basically needs a complete rewrite, also to support important features like version changes and stuff. The current solution is really crap as it mixes current and legacy APIs and thus also has a lot of duplicate code and is likely to break now and then.

A complete rewrite using latest APIs and also providing support for various features like license check and maybe in-app purchases is planned, but not to be released in near future.
[Android Software Development] XdxH62:
You could also use GooManager/Goo.im to distribute updates. As they distribute the gapps package, they might also be interested in distributing nogapps. Their thread: http://xdaforums.com/showthread.php?p=25943528
[Android Software Development] MaR-V-iN:
New NetworkLocation version 0.9.5 hopefully fixes problem with older Android versions - I have no device to test, so please do that for me :).

Do you know if the GooManager App is open source? I wasn't able to find a link to the source an their pages. I will not suggest anybody to install an app and give them more rights than the basics if I don't know what it does - and the only way to know this is to have the sourcecode.
[Android Software Development] MaR-V-iN:
NetworkLocation version 0.9.7 fixed some errors when reading external database
[Android Software Development] MarcoToo:
Locating working painlessly now. Good job! :good:

However …

# am start com.google.android.location/.map.Activity
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=com.google.android.location/.map.Activity flg=0x10000000 }

… as usual. Not really a problem though.

You already had two dayloads of thanks, more to come. ;)
[Android Software Development] imilleson:
So basically if you have something to hide like your a serial killer or if you are a conspiracy theorist, this is the place to be. LOL... Aren't your worried about carriers tracking you? If you really are worried about Big Brother out there, then use prepaid phones and replace them frequently lol :laugh:
[Android Software Development] MaR-V-iN:
Well I'm also worried about them - but i have no real choice (if i want to be callable). But I may choose to not use Google's apps and don't save their cookies.
[Android Software Development] imilleson:
I gotcha. I work in media so i figured if I wanted to drop off the radar, I would need to switch careers.
[Android Software Development] MarcoToo:
Stop making fun of it. Some people don't like Google tracking them and selling their privacy. Because that's how Google makes money. Just in case you didn't notice.

Your carrier won't sell you. That's the difference. (Unless you use one of those 'free' carriers - they work just like Google)

If you like being traded, then that's your decision. But don't make fun of people who don't like it. And don't leave pointless comments in the thread of a project you are not interested in.

via XDApp
[Android Software Development] Cookie Ninja:
+1 to MarcoToo. This thread is for people who don't want to be gSheep!

Sent from my HTC Incredible S
[Android Software Development] imilleson:
O

Actually, I am very interested in the project. I give mad props to the developers working to make an alternative to GAPPS. I might even use this some day. I have friends who are conspiracy theorist and think every bad event in the world is caused by government so it is somewhat comical to me as it reminds me of them. Also the patriot act made it so the FBI can use information from the carrier if they want
[Android Software Development] jago25_98:
5 reasons

The reasons why I take an interest in privacy:

1) I just like to know I'm in control. There's something messy, inefficient and imperfect about data leaking off to places Im not sure what they are

2) I'm always not completely sure what info is going off to Google and what then happens to that data once its there. I'm also not sure if spooks have access to that and whether some of those spooks will be from countries I might not be able to trust so much. Still, I'd like to know more about what's happening to the data.

3) If I arrange contracts with the phone, or use Bitcoins I don't want that info leaking out of the phone

4) The world isn't perfect. I've had problems with Facebook in the past from jealous girlfriends, targetted muslim ads and gay ads. It doesn't matter whether you are accurately profiled or not or whether you did whatever the advertiser think you have done or 'are' - stupid people are all people and they jump to conclusions.

5) Just something a bit errie about knowing you're being watched. Could be physiological or could be actual...

There should be a way to get .apks out of Google Play quickly....