Error 1121 on first start (download of additional data), no GApps installed

Andreas Itzchak Rehberg shared this problem 3 years ago
Not a Problem

On first start of Locus Pro, I'm asked to download "additional data". Confirming the request I

get the 1121 error with the explanation to "enable background data" for

Google Play Store. Unfortunately, I cannot follow that advice – as I

have no Google Play Store app installed on the device (I use the microG

replacement for Google services). This happens on mobile data as well

as on WiFi – so the app has become unusable for me. Installing GApps is

not considered an option.


Is it possible to at least manually download the required data and place them into the (already existing) Locus data folder on the SD card? Note that the license check works fine – it's just the (initial) download which is failing (as obviously are other things relying on background data of the not-installed Google Play Store app).

Comments (12)

photo
1

Good day Andreas,


Well,

1) are you using latest version of Locus Map application?

2) if you do not have Google Play, how you purchased Pro version?

photo
1

Hi Menion,


1) I thought so: it's v3.12.2 (just wanted to check, but unfortunately BlankStore (the minimal counter-part to Playstore in microG) doesn't show payed apps). A cross-check via web browser just showed me I was wrong, as the latest version is 3.13.1. Is that issue solved with that version? Then I'd need to re-activate my old device, update, and transfer the APK.

2) I've purchased it in the past (quite a while ago) on a different device

photo
1

Hi,


hmm this will be a problem. To correctly start Locus Pro is really needed working Google Play with same activated account as you used to purchase. Without it, Locus is not able to verify license.


I'm sorry, but this is how most of paid app works and Locus is no exception in this concept. Currently there is no alternative.

photo
1

As I wrote in my initial post: Note that the license check works fine. I have several apps running on that device which rely on this. The device has a Google account configured (the same one I've purchased the app with). So I doubt it's the license check which fails. If you can let me know where to obtain (and to place) the files LM wants to initially download, I can verify this. Feel free to email me a download URL, if you prefer.

photo
1

Hi,


if license check works fine, then this app use different method, but not official "Google License library". Because this library is based on cooperation with installed Google Play application. And i cannot send you these files. Even if you get them, it won't work. Locus itself needs to download them.

photo
1

You're correct, AFAIK: microG uses an open source alternative to the "official" Google libraries. That's one of the reasons I decided on that framework: it's a lightweight alternative to the heavy "official Google Services" – less overhead, no snooping. LM is the first app I encounter having issues with that. So if the license check "returns OK", what's the issue here? As I wrote, I've got several other paid apps on the device which at least request the "vending.CHECK_LICENSE" permission. Just to find out, I've disabled network access for one of them and promply got the error of a failed license check – which to me indicates it works as long as the permissions are granted. And I've not blocked any permission to LM (I know you respect privacy, so I see no reason to restrict the app).


Do you see any chance to get LM working with microG? I've always mentioned you as example for how devs should deal with privacy (as you've separated "private data accessing features" into addons, e.g. for address lookup from the contacts). People deciding for microG do this mostly for privacy reasons – and I wish to not lose my favorite showpiece here :)

As I've indicated: I'm absolutely willing to test things out (got two different devices running on microG, both on Android 4.4 currently) – so you've got at least one volunteer for that part.

photo
1

Hi Andreas,

reported error code 1121 does not mean "returns OK" :). It means that Gogole Play application is not able to connect to verification service (service of Google also).

More about this is here: http://developer.android.com/google/play/licensing/licensing-reference.html#server-response-codes - response code "ERROR_CONTACTING_SERVER". If this "microG" tool is some kind "fake verificator", then it do not do it's work correctly. Feel free to forward this information to developers as I probably cannot do anything with this problem.

photo
1

Thanks Menion, will do so – and report back here as soon I've got details!

photo
1

PS: If you (or anyone else) want to "follow up": here's my post at XDA.

photo
1

No response yet from MaR-V-iN (the dev behind the framework). While waiting for that:

Would you consider an alternative license check for users w/o GApps? I'm not necessarily talking about a different "selling platform" (though an independent one would certainly be the best solution, removing theissues arising with "how to buy w/o GApps registered"). I'm thinking of ways like e.g. Titanium Backup or Tasker deal with this: the former allows for a separate "license file", the latter uses some other means (own license server?) including app updates on that path (so this fully works w/o GApps, including install/update) – and neither really need GApps for license valuation, though they do that as well (if "the other license" is not present). That way, both groups are covered: those using GApps have an easy way to "go pro" and "use pro", while others are not "left out".

Until then, for others in the same boat as me: I meanwhile figured it might work to install just the Google Play Store app along with the microG framework (there are reports that people got it running – but no one yet reported about "paid apps" or licenses). I have not tried that, and rather avoid it – I didn't "free" my device from all that bloat just to "have it back" this way, though Google Play Store alone (together with microG) definitely is less heavy than the complete Google stack and, as a side-effect, one again is able to directly update all paid apps directly on the device whenever there are updates – so I can't deny it has its "pros" as well.

PS @Menion: I'm a long-time promoter and supporter of Locus Map,

though you might better remember me by another alias – so it's not just "demanding" but also "giving" from my end ;) For one reference, see my Locus Maps Resources. For another, follow the "KML/KMZ for offline use" link there – and I'm sure you'll remember me. Note these references are far from being complete – I've been promoting LM on many places (links on request – if you prefer, also by mail or "private ticket"), especially for the privacy focus I see in this app. So you can count this as a chance for "another kick" :)

photo
1

Good day Andreas,


I perfectly understand what you are talking about.


Firstly, what you try to do is really non-standard method. Purchasing Locus straight on Google Play and then try to completely get rid off whole this Google apps and expect that app will work. Will work also based on some crazy framework that tries to supply Google Play licensing service. I do not know what exactly this framework do, but I know that Locus licensing is quite robust and it's hard to fake it, so it seems this framework do not do it's job well. You should understand, that this is not my business, no matter how much I appreciate your work on "Locus world" - thanks for this of course!


Anyway, what you need is same as this task: http://help.locusmap.eu/topic/playstore-bypass-deploy-locus-pro-without-a-google-account . This is something we are working on it. Main purpose will be to allow people that do not have device with Google Play to also have Pro version of Locus or if we will wants to give them Locus as a gift. Anyway in your case, I'll gladly do an exception ;).


So, I'm not sure if there is need to say anything more. Watch please mentioned topic and write me when it will be completed. Then we should deal with this your issue. I cannot promise on 100%, but I hope I'll have this task done till end of year.

photo
1

Hi Menion,


You're absolutely correct: My ticket here is a duplicate of http://help.locusmap.eu/topic/playstore-bypass-deploy-locus-pro-without-a-google-account (feel free to close it as such). "end of year" sounds fantastic, even if it's a few weeks more :)

As for the "crazy framework" (I love that framework for the same reasons given at the other ticket), it seems I've misunderstood a tiny part: Most payed apps obviously worked because I've restored them from ADB backups done before upgrading the device, so they did no "license checks" as they've done those already. microG / BlankStore don't include license verification (I always thought the latter does, but it seems I was wrong).

I'm watching the linked topic now as well. I'm pretty sure the solution there will work for me, too – and will let you know as soon as I was able to verify (oops) that.


Best regards, and thanks a lot,

Izzy.