yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] onyxbits:
[MENTION=2037803]BlueAngel2000[/MENTION] [MENTION=915728]gadgetguy08[/MENTION]

New release should fix the issue.

(took a bit longer because I first had to finish the raccoon review browser).
[Android Apps and Games] abuyousuf:
Raccoon requires Google account before download ?
[Android Apps and Games] BlueAngel2000:
[MENTION=5035576]onyxbits[/MENTION]: thank you very much.
[Android Apps and Games] gadgetguy08:
The patched version 4.2.1 did allow the update function to complete without

errors. Yea!

However, some of the apps that have recently updated did not update. Looking

at a couple of these apps revealed the following (not sure if any are related):

- on the play store the "current version" shows "varies with device"

- doing a commandline query seems to return an older versionCode than even

what was downloaded months ago. for example, Nova Launcher versionCode

43100 on Play Store with commandline; downloaded is 50300 and current is 54100.

- the Google profile has a generic "Android Device" associated with the

account. There was a Samsung Note 8 associated that I deleted. I had been using the

pseudo device setting in Raccoon as recommended.

Thoughts?
[Android Apps and Games] utonto:
Proxy failure

Many thanks for keep developing this app [MENTION=5035576]onyxbits[/MENTION]! To support your work I'm already happy premium user.

Today, I need your guidance with using Raccoon through a proxy:

proxychains java -jar racoon.jar

is ineffective.

Setting a local SOCKS5 proxy in the Profile Configuration GUI fails with

The target server failed to respond

Setting a local HTTP proxy (polipo) in the Profile Configuration GUI fails with

BadAuthentication

Please note that I left the authentication fields empty as the proxy is configured with no authentication for connections originating from 127.0.0.1.

So... how can we proxify Raccoon connections?

A typical usage case is to download Google Play hosted apps from within China. Impossible without a proxy.
[Android Apps and Games] onyxbits:
Entirely possible that you are usign a GSF ID that is tied to a device profile for which the app developer froze support.
[Android Apps and Games] onyxbits:
SOCKS is a different protocol. Putting a SOCKS host in the proxy host field won't work.

I'll have to look into bad auth thing. I think, the proxy handling code was a patch made by someone else.
[Android Apps and Games] BlueAngel2000:
I have the same problem as gadgetguy08.

Maybe Google has changed again anything important?
[Android Apps and Games] gadgetguy08:
Go to the Onyxbits.de website and look at Droidentify and DummyDroid. You'll need to read around a bit, but you can build a profile to upload to the account (should use a secondary account as mentioned in the docs).

After I did this, i was able to see the versions properly.
[Android Apps and Games] darkony:
Can someone please make it possible to download this app cause it is hardware sticked to SONY and SAMSUNG TVs 2017 build

https://play.google.com/store/apps/details?id=com.ug.eon.android.tv

here is the list of supported TVs

https://eon.sbb.rs/preporuceni-uredjaji
[Android Apps and Games] BlueAngel2000:
thx.

I did this already with DummyDroid, but checked many values again with the getprop command via adb.exe and many were wrong. ;)

So i uploaded my correct profil again, and now it works.

:good:
[Android Apps and Games] Adek 22:
Hello, will anyone say how to download Free Apps ?? I have a Donate Reccoon version ;)
[Android Apps and Games] onyxbits:
And we got a new release!

Nothing fancy, just bumped the default device profile to a Samsung Galaxy S8, so Raccoon can download apps that require Android Oreo
[Android Apps and Games] onyxbits:
And another release, this one is mission critical.
[Android Apps and Games] BlueAngel2000:
Is there anything broken with the app update function?

Raccoon says the most of the time, that all apps are up to date. (sometimes an app is downloaded)

But for example: Firefox updated from 59.0.1 to 59.0.2 and raccoon doesn't download the update.

Manually downloading the current firefox version works without problems.

???
[Android Apps and Games] onyxbits:
Did you, at any time, delete and recreate your device profile? In that case, you destroy the context information, needed to update apps with.
[Android Apps and Games] BlueAngel2000:
Yes, i did edit the device profile.

That means, i have to manually download the apps again for that profile and then the apps will be updated automatically?
[Android Apps and Games] onyxbits:
For now, that's the easiest solution.
[Android Apps and Games] BlueAngel2000:
okay. thanks

maybe for the Pro version, a "download them all again button" would be great. :D
[Android Apps and Games] onyxbits:
I'm rather thinking: reassign, but thats a bit difficult UI wise (doing it in a way thats not confusing to the user)
[Android Apps and Games] BlueAngel2000:
okay, maybe hidden in an advanced menu or something similar. :)
[Android Apps and Games] BlueAngel2000:
Mh, i am not sure if the auto update function still works for me.

I have downloaded again all my apps.

When i start the update, i see in the windows command window only two new lines:

385 com.google.zxing.client.android

380 com.viofo.gitup

I think these are the apps which are checked for updates, but what about all the other apps?
[Android Apps and Games] onyxbits:
you could try the commandline switch --gpa-update if you want a more detailed list of whats checked.
[Android Apps and Games] sikimiki86:
Thank you Bro:)
[Android Apps and Games] BlueAngel2000:
the result:

= com.google.zxing.client.android 107 -> 107

= com.viofo.gitup 16122807 -> 16122807

looks like only these two apps are checked.:(

edit:

downloaded today an update of an app manually, and now this app is in the list of checked apps too.

Don't know why this wasn't the case last time i updated or downloaded existing apps again. (deleted the last version and downloaded again)
[Android Apps and Games] onyxbits:
Then only those two are linked to the current profile. The rest is either linked to another profile or "floating free" (as if imported from somewhere).
[Android Apps and Games] BlueAngel2000:
okay, i can reproduce the problem, or better said a workaround.

I have many apps downloaded with raccoon. (not imported from somewhere)

For example "3D Skill board" - archery app.

I have already 3 versions of the app downloaded, including the latest.

If i delete the latest or all of them in raccoon and search and download the latest app again, then auto update does not check the app.

BUT, if i delete the latest or all of them in raccoon. Restart the app and search and download the latest app => the app will now checked with the update function too.
[Android Apps and Games] SpasilliumNexus:
Seems like Google changed something with some of their own apps where you can't download or update them.

The download button is grayed out on apps such as:

Search, Gmail, Maps, YouTube, Photos, Play Games, Translate, TTS, Docs, Play Music, Play Movies, and Contacts.

The rest, even non-Google, free and paid, I can download and update fine. Not even generating a new GSF ID on a dummy account fixes the non-downloadable ones.

Edit: I guess I should also include that I've also tested my original GSF ID and account currently on my phone in Raccoon (which I can download and update the listed apps above with no problem), but the issue persists.

Device: OnePlus 3T

Generation from:

Android 8.1 (OmniROM)

Android-Finsky/7.4.12.L-all (versionCode=80741200,sdk=27,device=OnePlus3T,hardware=qcom,product=OnePlus3,build=OPM2.171019.029:userdebug)

Android 8.0 (OxygenOS Open Beta 25)

Android-Finsky/7.4.12.L-all (versionCode=80741200,sdk=26,device=OnePlus3T,hardware=qcom,product=OnePlus3,build=OPR1.170623.032:user)
[Android Apps and Games] onyxbits:
The Download button gets grayed out if the APK file already exists in your local repository.
[Android Apps and Games] SpasilliumNexus:
I'm an idiot. That makes sense, and helped me figure out what else can cause it.

Most of my Google apps I download from APKMirror, which sometimes aren't available for me on the Play Store yet. After I add it to my library, I delete the older version.

So when I search said app and download it, it downloads the older version instead. Afterwards the download button is grayed out because Raccoon sees it as the current version, instead of the newer one I downloaded from APKMirror.
[Android Apps and Games] onyxbits:
New release!

https://raccoon.onyxbits.de/releases
[Android Apps and Games] SpasilliumNexus:
Android System WebView after version 64.0.3282.137 fails to get added to my apps. Every time I try downloading or updating it, it finishes but shows "error" in the download bar, and the newer version isn't shown in my apps.

When I try importing a newer version, it doesn't show up in the list of apps to import.

I'm on Windows 10 and have tried both Java and Windows version of Raccoon.
[Android Apps and Games] onyxbits:
Hm, looks like the APK is "corrupted". Well, time to update the APK parser library and finally say goodbye to supporting Java 6.
[Android Apps and Games] onyxbits:
Ok, literally burned the midnight oil on this one, but we got a new release:

https://raccoon.onyxbits.de/releases
[Android Apps and Games] PRODIG4L:
I signed up for the premium features and my user name was set by paypal and I am unable to change it to my profile name, can you assist?
[Android Apps and Games] onyxbits:
There is no need to do that. The two things are entirely seperate (and you want to keep it that way).
[Android Apps and Games] PRODIG4L:
It's not a big deal, but if it were a simple thing for you to alter on your end then I want to change it to be able to sign in using my username instead of my real name. I understand if it's not worth the effort, just thought I would quickly reach out to you on here and let you know I did not pick my username and that I can not alter it.
[Android Apps and Games] onyxbits:
New release
[Android Apps and Games] BlueAngel2000:
Hi,

i have currently two problems with Raccoon:

1. the error, which you described on your blog (https://blog.onyxbits.de/error-retrieving-information-from-server-df-dferh-01-749/#more-749), when i hit the update my apps button.

2. Apps which are updated once i downloaded them with raccoon, will be updated every time i hit update. That means, the already existing version will be downloaded again and again, every time i update.

what can i do?

thx
[Android Apps and Games] onyxbits:
Eh ... aren't those two mutually exclusive?
[Android Apps and Games] BlueAngel2000:
Don't know.

The 2nd problem was already there, before the first error occurred.
[Android Apps and Games] onyxbits:
Hm, there's of course the stupid solution: deleting all apps, then downloading them again via Market|Import
[Android Apps and Games] Ice_machinE:
Not working for me or am I doing it wrong?

I'm trying to download an app that's obviously, not compatible with my device (see image) but when I try and look for it on the computer, I find only the apps that I find when I look for it on the play store, so what is it good for me?

Or am I doing it wrong?

thank you.
[Android Apps and Games] onyxbits:
I kinda need the packagename of the app you can't download. Screenshots and app names don't help at all (in particular not with content providers who split their offer into multiple, but similar apps).
[Android Apps and Games] Ice_machinE:
the package is for this app https://play.google.com/store/apps/details?id=ru.yandex.music

and now I have another issue, when trying to download nova prime (https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher) on the raccoon app, I get an error.
[Android Apps and Games] onyxbits:
Both apps download fine for me. Try hovering your mouse over the progress bar when nova prime fails. It should provide some more info in a tooltip.
[Android Apps and Games] Ice_machinE:
I have no idea what this means. Perhaps it's due to not well configured setting?
[Android Apps and Games] onyxbits:
Hm, it means that an array element was expected, but is missing. Is there a stacktrace printed to the console (you'll have to start Raccoon via commandline: java -jar Raccoon-desktop.4.2.6.jar)?
[Android Apps and Games] Ice_machinE:
I don't have a .jar file, only .exe

from what I've downloaded it looks like a portable .exe file with no installation.

just as a side note, I tried downloading something else and it was successful.
[Android Apps and Games] onyxbits:
can you start the .exe from the commandline then and see if it prints anything?
[Android Apps and Games] Ice_machinE:
doesn't seems like it
[Android Apps and Games] Ice_machinE:
I downloaded the .jar file and ran it via command line, this is what I got.
[Android Apps and Games] SpasilliumNexus:
Either you don't have Java JDK installed, or do, but don't have the variable set.
[Android Apps and Games] Ice_machinE:
[MENTION=5035576]onyxbits[/MENTION]

you were correct, I didn't had JDK installed, once I installed it, I ran the java command from PowerShell and this is the response:

PS D:\adb> java -jar .\raccoon-4.2.6.jar
2018-10-08 21:39:39.759:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2018-10-08 21:39:39.865:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:62703
java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Unknown Source)
at com.akdeniz.googleplaycrawler.GooglePlay$AndroidAppDeliveryData.getDownloadAuthCookie(GooglePlay.java:525)
at com.akdeniz.googleplaycrawler.DownloadData.<init>(DownloadData.java:32)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.delivery(GooglePlayAPI.java:438)
at de.onyxbits.raccoon.gplay.AppDownloadWorker.onPrepare(AppDownloadWorker.java:170)
at de.onyxbits.raccoon.transfer.Driver.transfer(Driver.java:152)
at de.onyxbits.raccoon.transfer.Driver.run(Driver.java:87)
at java.lang.Thread.run(Unknown Source)
2018-10-08 21:40:16.234:INFO:oejsh.ContextHandler:stopped o.e.j.s.h.ContextHandler{/rsrc,null}
2018-10-08 21:40:16.235:INFO:oejsh.ContextHandler:stopped o.e.j.s.h.ContextHandler{/files,null}
2018-10-08 21:40:16.235:INFO:oejsh.ContextHandler:stopped o.e.j.s.h.ContextHandler{/app,null}
2018-10-08 21:40:16.235:INFO:oejsh.ContextHandler:stopped o.e.j.s.h.ContextHandler{/apps,null}
PS D:\adb>
[Android Apps and Games] onyxbits:
This feels a bit familiar. Like something, I fixed a while ago, but you seem to be runnign the latest version. The problem is Raccoon expecting a cookie which is not set. It might help to run the setup wizard again to get a fresh auth token.
[Android Apps and Games] Ice_machinE:
Setup of what? The user name?

Because like I said, the software doesn't have a setup process, just an exe file to run it.
[Android Apps and Games] onyxbits:
You run the setup wizard by adding profiles in the market menu.
[Android Apps and Games] thiranja:
looking for this kind of thing definitely, give a try
[Android Apps and Games] mgy1912:
Hi guys,

how can I solve the error "device non connected emulator 5556"? Until a few days ago everything worked perfectly.....My credentials are correct in the profile. I also tried to delete the account and insert it again, but I still have the same mistake.
[Android Apps and Games] onyxbits:
Currently rewriting the entire Raccoon core. It's remarkable how much has changed with Android/Play over the last year (a lot of it totally uncool). So, if anyone has feature requests, now would be the time.
[Android Apps and Games] onyxbits:
One of the interesting tings is that now the versioncode seems to be part of the searchresponse (as well as the promo description). So it should be possible to download directly from the list of apps without having to go through the details first - one click and one roundtrip less :good:
[Android Apps and Games] ledpepper:
This is the sort of app that you wish you had every time you run into an issue when flashing, developing etc. And every time these issues pop up you swear to yourself that you will make/find a workaround so you never have to waste time fixing things all over again. Of course, once you fix the issue, you say "Ok, well, I fixed it now, it probably won't happen again, I'll make/find an app some other time" and then that vicious cycle begins again. :eek:

I can't believe I've only found Raccoon now! I'll wait for your Raccoon rewrite and then give it a try. Wrt feature request, I read through the feature list and the documentation and didn't see any mention of an 'add multiple to flashable.zip' feature. Use case of course being multi app install via recovery after a device wipe (or whatever). Is this a feature that falls within Raccoon's scope?

Lol, sorry but I simply couldn't help myself. A dev asked for feature requests?! I must provide!
[Android Apps and Games] onyxbits:
The rewrite won't be finished by the next week ;). I'll probably end up with a new core and backporting features that can be made compatible with the current design.

As for flashing: I don't do that myself very often. The current idea to support that is rather to plug a device in via USB, then push a group of selected apps via ADP, but it wouldn't be much of a problem to push them into a ZIP file instead. Does the ZIP need any particular file structure, or just all of the APKs in the root folder?
[Android Apps and Games] ledpepper:
If you had already planned to handle multiple apps via ADB then delivering flashable zips may be overkill then, specially if no other functions of Raccoon interact with or in Recovery.

Here's some info on the ZIP files:

https://www.xda-developers.com/zip-builder-windows-tool-flashable-zips/

https://xdaforums.com/android/general/guide-create-flashable-zip-custom-t3173316

https://source.android.com/devices/tech/ota/tools#update-packages
[Android Apps and Games] onyxbits:
New release (kinda important)!
[Android Apps and Games] onyxbits:
Ok, app bundling is going to be a tough one. From the looks of it, you need to download the base APK first, parse its Manifest, then fetch the modules. This requires rethinking Raccoon's entire directory structure. On the upside: if we are going to scan the APK anyway, we could probably integrate a malware/adware scanner.
[Android Apps and Games] onyxbits:
By the way, I'm planing to pull out of Github. Anyone got a suggestion for a self hosted solution? Preferably one that doesn't require my to install a huge softwarestack on my server? All I really need is a way to publish the source code from a git repository.
[Android Apps and Games] nussbaum:
Gitea https://gitea.io/en-us/ might be something for you.
[Android Apps and Games] onyxbits:
Close, but I'm really looking for somethign that doesn't run as a daemon and lets apache hadle the web stuff.
[Android Apps and Games] onyxbits:
Slightly emberassing, but: just figured that asking for a GSF ID in the Setup dialog is almost entirely pointless. Anyone using DummyDroid is probably wasting their time (well, you need it to register an ID, but fiddling with the settings won't help). As far as device compatibility is concerned, just focus on the user agent string.
[Android Apps and Games] BreckZeBoulay:
Is it possible to add the ABOUT tab for the downloaded apps ?

Because to see this tab (and the changelog), we have to search the app with the search bar

(see screenshots)

EDIT : I think I already reported but may be not.

There are missing icons for some downloaded apps

(see screenshot too)
[Android Apps and Games] onyxbits:
The missing icon is because Raccoon can't extract one from the APK (some apps just don't have one - usually if they don't have a foreground activity). Workaround would be to just drop an icon file (e.g. the highres icon from Play) into the app's Raccoon folder and name it accordingly.

About the about tab: yeah, there should probably be one. I think, when I wrote the code, Play didn't have the one line promo description, yet. I'll have to see how I can transport it there from search (and what to do if you import an app from the filesystem).
[Android Apps and Games] onyxbits:
Heads up: I'm planing to change the version scheme. In particular to drop the patchlevel and just increase the minor version counter. People seem to get along better with two than three component version numbers.
[Android Apps and Games] onyxbits:
Does anyone know if there's a build.prop database out there? There is/was https://xdaforums.com/showthread.php?t=1968461 but the site seems to be offline. Any known alternatives?
[Android Apps and Games] GoJo ^^:
Nice, though i'd like the same with fake account auto login, such as Yalp Store App..
[Android Apps and Games] onyxbits:
That's a legal problem (kinda like me signing a lease for you). Plus: downloading pai apps doesn't work with those accounts.
[Android Apps and Games] Andy1767:
The proxy bug I've reported is still not fixed:

https://xdaforums.com/showpost.php?p=74965507&postcount=624

I've configured raccoon to use a proxy and blocked all other internet access of raccoon with a firewall.

Try this and go to my apps F9 and the app completely freezes. In fact many parts of raccoon don't work in this configuration.

This is disappointing since I've payed for premium as well.

Privacy wise raccon should support proxy internet access a 100%.
[Android Apps and Games] GoJo ^^:
I don't download pay apps oviously.
[Android Apps and Games] onyxbits:
The app browser freezes because your firewall blocks the http server behind the QR code. My guess is that you configured the firewall to DROP packages instead of REJECTing them. Hence, Raccoon is waiting for an answer that will never arrive and the GUI freezes till the connection times out.

This should also explain your proxy problems (you didn't mention the firewall in your previous post).
[Android Apps and Games] Andy1767:
With the firewall I can only block or not block (but allow connection through proxy).

Downloading apps and updating apps works with the proxy. The rest pretty much not. Also raccoon altough configured for proxy use seems to always want to download the app icons directly. So when searching for apps no icons will appear.

If raccoon offers proxy use then it should route all traffic through the proxy not only part of it.

Currently using proxy without a firewall does not protect the privacy and google does get the real IP address.
[Android Apps and Games] onyxbits:
Oh, icons! You had me staring at the wrong piece of code,then!

Indeed, icons use a different transport. I see the privacy issue, but luckily, it's a only a minor concern. Appiicons are fetched from Google's CDN without any personal identifying information being transmitted beyond the IP address and I highly doubt, Google is logging that there.

Workaround: I'm currently too tired to test it myself, but specifying proxy settings via system properties in addition might help.
[Android Apps and Games] onyxbits:
Success!

Managed to download the playstore APK itself! Why is that so special? Well, because, for some non obvious reason, it is a special process. That particular APK is removed from the normal download flow. You can't get the versioncode through a normal details query and even if you could, you still have to supply extra url parameters (signature hashes of the currently installed playstore APK) to get it. Looks a bit like Google wanted to prevent the APK from getting sideloaded to devices that did not license Gapps, but, as usual, did a half assed job.

What do I need the APK for? Well, for starters, I can finally cross two(!) url parameters off the research list, I wasn't sure what to do with.