yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] onyxbits:
Hm, can you try setting up a fresh raccoon installation from scratch? You can control where Raccoon creates it's repository with the "raccoon.home" system property, e.g.:

java -Draccoon.home=/some/place/else -jar raccoon.jar

The idea behind multiple profiles is:

You use Raccoon to manage multiple devices (in particular the ones of your children)

You want to download this specific app that has these specific system requirements you need to figure out first (and you don't want to litter your primary Google account with tons of experimental devices

You can have that too: -Draccoon.home allows you to put the Raccoon directory in a custom place.

That's on the wishlist and I'm currently reqriting a large portion of Raccoon to make that possible. CLI is planned for v4.2. Housekeeping will probably be v4.3

I'm a bit unsure about making it an app. The main issue here is porting the akdeniz library, which is simply too fat for the Android platform (I want to get rid of it anyway, so once I have done that, we'll see where things go). Adb and Wifi are already supported ... you just need the key :P.
[Android Apps and Games] m0d:
The issue is that there is no sort by date in My Apps menu.

Currently it is much quicker to just copy apk to device using PC file explorer.

The folders with new apps are sorted, so just a matter of copy and paste.

Whereas, scrolling through the list to find apps which have been updated is more of a hassle.

Share in My apps menu does not include device.

Also there is no send to device option, only install:

Also sharing through the java menu is slow and annoying to navigate, but that is personal preference.

The problem with multiple profiles saved in same directories is that different versions of apks are stored in same folder, which makes it harder to copy the right file to the right device, which is why I mentioned having separate folders for apps for different profiles.

Even if using "raccoon.home" system property, having multiple profiles is useless because apks are stored together in the same folders.

What should work is having different "raccoon.home" system property for different profiles, which is how multiple profiles should work:

For example, for device A use:

java -Draccoon.home=/raccoon/A -jar raccoon.jar

And, for device B use:

java -Draccoon.home=/raccoon/B -jar raccoon.jar

For me this makes more sense, as that is the point of using a different profile, as different profiles have different apps, which should be separated accordingly.

However multiple profiles do not apply.

One way of separating profiles would be for replacing content/apps folder with content/profile , such that all the apps are stored under the corresponding profile folder. In this case you are able to use one db, but separate profile folders.

Structure:

raccoon/

- content/profileA

- content/profileB

- content/db​

A more clean solution would be to add another layer, and have one db/list for profiles, and a separate db for each profile:

raccoon/

- list or db of profiles

- profileA/

content/apps​

content/db​

- profileB/

content/apps​

content/db​

Question, since directory structure is not used anymore for db, why are apps separated to package folders, instead of having all apps under Content/Apps folder?

For me it makes it easier to transfer files to device whether from PC file explorer or Java menu, because I will not have to go into each package directory separately.
[Android Apps and Games] onyxbits:
The app manager needs a total rewrite. But that's a project for later.

Ah, that's a misunderstanding. The use case for "share" is sending someone a list of your apps. Think: List My Apps. The install option will push selected apps to your device via ADB (premium feature).

Ah, there are several misconceptions here (I probably need to communicate this more clearly):

Keeping everything lumped in one folder is fine. You are not suppose to play around with the files anyway. By my experience, most users can't properly navigate filesystems and even those that can are likely clueless when it comes to OBB files. So the design decission here was: let Raccoon handle these things for you. You, the user should only have to organize your apps into groups and then push a whole set to your phone via ADB.

Sorting everything into profile specific folders would create a giant mess in the code. For example, I plan to eventually add a build-in F-Droid server into Raccoon. If I had gone with per-profile storage places, I'd have had to in-memory merge them in order to create an F-Droid repository.

Adding the per-profile storage layer also opens a whole new can of worms: what's suppose to happen if a profile gets renamed, or worse, deleted?

Raccoon is suppose to eventually grow beyond Google Play (it already outgrew being a mere APK downloader with the v3.x -> v4.x release). One of my personal use cases is to have it store my Humble Bundle games (for obvious reasons, I don't want to keep those in my Browser's downloadfolder ;) ). APKs that come from "unknown sources" obviously don't/can't have an associated profile.

One of the v4.x design goals was: the filesystem is insufficient for storing all the meta data that comes with APK files, so don't bother with that to begin with. Just dump all the files in one place, keep everything else in SQL, let Raccoon be the frontend that pieces everything together.
[Android Apps and Games] m0d:
Thank you for your patience.

Yes, I see. A little confusing.

Maybe renaming it to "List Apps" is more appropriate than share, in this case. As there is also a share in menu, which actually "Shares".

Thank you. This clarifies it a lot.

A suggestion, why not call it "Accounts" instead of "Profile".

Managing different accounts suggests more that you want to include/merge them together eventually, such as google, fdroid, ... Combining the different sources to your device.

Whereas, "Profiles" has more of a separation context. When we create profiles means, restricts certain things, and separate. This can also be seen in Android Profile, when you have different profile you separate settings, apps, etc, per profile, (I.E. Guest).

In my case, I believe that the "raccoon.home" system property works better for me.

As I want to separate two google accounts, each for separate device, one armv7 and the other armv8.

Therefore, by using raccoon.home, apks for armv7 and armv8 are separate.

One thing is that there will be a few apps that are redundant, as they are the same across all platforms.

How does it currently differentiate different apk versions when using multiple profiles, since they are save all in same folder?

For example, if one profile is for arm and the other x86
[Android Apps and Games] onyxbits:
That won't do. In order to search for apps, you need an account and a GSF ID (android ID, ... or whatever it is called right now). A profile is an aggregation of your credentials and a hardware ID (for compatibility checks - and of course, tracking).

That's exactly what you do: different search profiles with different hardware IDs to get around compatibility issues. The profile really only applies when talking to Google's servers.

That is exactly what profiles were intended for. But you can, of course, also manage different repositories, if you like.

Actually, I'm not sure. I think, Google mandates that you use different versioncodes for different platforms. So Raccoon should have no trouble here.
[Android Apps and Games] heineken2000:
I can't download from Raccoon few hour ago, I try switch to some other profile but get same error?

Is google fixed or only me?

or

_imgur.com/a/No1EV
[Android Apps and Games] CruxHumanus:
[MENTION=5035576]onyxbits[/MENTION]

Amazing piece of work. Will have to dedicate the time to remove all of the free apps I have on my device with versions bound to a fictive account and downloaded in Raccoon. Thank you for creating this and making it public.

On another note, you may want to consider compiling your project as an executable, for the young and mostly Windows-y crowd, seems like the .jar extension makes them wary :)

And a message to that crowd: please, learn to read the OP. It often contains answers to all your questions, which [MENTION=5035576]onyxbits[/MENTION] here has the utmost patience to answer. Delete your facebook accounts already, too...
[Android Apps and Games] onyxbits:
Downloading Paid apps is currently not supported. They seem to require some kind of magic dance and I don't know the steps.
[Android Apps and Games] onyxbits:
You mean like ... The Google Play client :P?

The whole point of Raccoon is the versioned archive. I'm not sure if you want to fill up the space on your device with APK backups.
[Android Apps and Games] onyxbits:
I actually had planned for this functionality as a feature (but didn't finish in time), but you can do it manually:

Install List My Apps

Select the apps you want to import into raccoon

Share the list as market urls over to your desktop PC (e.g. by sending them to yourself via email)

Open the list in a texteditor and use Search&replace to remove the market:// prefix and to replace all '.' with '-'

use a little shellscript magic to create a subdirectory in Raccoon/apk_storage for each entry in the list

Alternatively either run Raccoon in cli mode with the -u parameter or select 'Update archive' from the File menu

Voila, Raccoon should be downloading the latest version of each of these apps.
[Android Apps and Games] onyxbits:
Ok, just uploaded a .exe version of Raccoon. Since I don't use windows, could someone please check out if it works?
[Android Apps and Games] CruxHumanus:
After a hasty check it seems to operate just like the .jar version.

Edit:

You did leave the java icon at the title bar, though. Here's a quick alternative ->

https://www.dropbox.com/s/ag4rzh9f24slnfh/Raccoon.ico
[Android Apps and Games] onyxbits:
Can't use that, sorry. I'd need the original source with a statement from the artist that his/her how his/her work is licensed and I need it in SVG format, so I can scale it properly.
[Android Apps and Games] onyxbits:
Ok, just did some work on downloading paid apps. The problem is: I don't have a Google Account with credit on it, hence I don't have access to paid apps and therefore someone else has to test this for me before the code can go life:

www.onyxbits.de/sites/default/files/raccoon-dev-withpaidapps.jar

Note: there is NO purchase flow in Raccoon (there likely never will be). That means you need to use an account that already has paid apps in them.
[Android Apps and Games] jayinc11:
Almost, but that we users to have more control over device than is currently exercised over us once you sign up for & into GApps and add a GAccount on device. I use evozi to d/l whatever I want from GPlay both on device and LT. The extra 3 or so steps are just a little bit of an inconvenience but I live with it considering the alternative i.e. adding a google account to device.

I understand the part about archive. But my whole point of using Raccoon is, in addition to evozi, another route to d/l GPlay apps without login in to the Gstore. Previously whatever versions of apps I have gotten and their updates are all in my LT. I just copy over to device whatever I need. So yes an independent play store downloader-thereafter, we can move apk's to LT or large SDcards. The device ver. may or not have the full desktop equivalent archiving function but GStore downloader nevertheless. The idea is to skip adding a Gaccount to device if a user does not have/want one yet have access to GStore apps.

All the same thanx for the desktop Raccoon version. It performs my needs exactly the way I want (or basically as above.)
[Android Apps and Games] starbase64:
Hi,

possible to list only my bought apps and export to doc?

regards

starbase64
[Android Apps and Games] Cerberus_tm:
Wow! That's very cool. I'll try to experiment with this, if I can find out what to do with a .jar file.

I will need to read the documentation anyway, to know the risks and benefits.
[Android Apps and Games] onyxbits:
You are actually the second person asking for this. I'm bouncing the idea back and forth in my head, but im not sure if it would be well received (by Google and Users) if I put it on Play.
[Android Apps and Games] onyxbits:
Doc - certainly not. I'd be willing to do HTML. Please give me some more specs of what you are looking for exactly.
[Android Apps and Games] jayinc11:
Nah Goog will not come carrying gifts to ya door but that's the point actually - to not need GPlay. If you can get it to work I am sure we can get a way get to host the apk. I will be your first user to like that apk i.e. GPlay-free Raccoon users. What say yo'll let's get the party on?
[Android Apps and Games] starbase64:
i need a list of all my purchased apps and export to excel or doc
[Android Apps and Games] onyxbits:
Ehm. Creating your own personal cache of APKs is one thing, but hosting them goes deep into piracy land. That's not a route I want to go.
[Android Apps and Games] jayinc11:
Nah that's ain't what I was referring to. You said

"but im not sure if it would be well received (by Google and Users) if I put it on Play."

You don't have to put it on GPlay. I am sure you know there are many apk's here on xda that are not on there. That is what I was referring to. I never referred to piracy et al. Sorry you misread my intention - hope I am bit clearer now.
[Android Apps and Games] onyxbits:
New version

Proud to present: Raccoon v2.1

Now runs on JRE 1.6

You can now download paid apps you have in your account
[Android Apps and Games] MajorWinters:
Thx Mate! Very good App! Works like a boss! :good::laugh:
[Android Apps and Games] killoid:
[MENTION=5035576]onyxbits[/MENTION] i am having a weird issue.i inputed my device id correctly but when opening the config file, i found it inaccurate. it was not my device id. though searching files are okk but i think it is not providing me the proper apk i want for some cases. for example; apps that varies with devices.
[Android Apps and Games] MyResult:
Me too. show details but error in downloading!
[Android Apps and Games] xristos11:
Same error here but on paid apps work, i have this error on free apps...
[Android Apps and Games] cmartinez:
Hi Every One.

Thanks for developing this app Onyxbits.

I used to download once a month, but i always have an error message from this morning.

Does someone have a solution ?

Thanks for your help.
[Android Apps and Games] onyxbits:
I'll just link to my blog here.
[Android Apps and Games] onyxbits:
Stuff should work again
[Android Apps and Games] rmittal:
Still same error on version 4.1.3 as with version 4.1.2.

I have attached the screen shot of actual error message shown while updating my apps.

Regards
[Android Apps and Games] xristos11:
Yes work but now same error again....
[Android Apps and Games] Bracher:
the update of my downloded apps is ok, but new downloads create an error message with the new version as well
[Android Apps and Games] onyxbits:
Updates on my blog.
[Android Apps and Games] Bracher:
For me at least the workaround does not work. Logged in on my account it says app installed but no download possible.
[Android Apps and Games] onyxbits:
Wrong device, maybe?
[Android Apps and Games] Bracher:
ok I made a mistake when I've my phone connected it works
[Android Apps and Games] onyxbits:
We got a new release!
[Android Apps and Games] heineken2000:
thank you very much, can download free app now (never download before) but it's not work 100%.

I test random app and the result around 60% work ok (download ok), and the rest not work (same old error)
[Android Apps and Games] onyxbits:
Which apps cannot be downloaded? Will it work on the second attempt?
[Android Apps and Games] heineken2000:
Hi,

I just tested again. I don't know why but All old profiles not work (I just logout and relogin again but got error enable allow less secure (although I enabled to on in past).

Run with old profiles with result some apps ok, some app error.

I register new email -> new profile and It work ok.

thank very much
[Android Apps and Games] saulin78:
Will this tool let me download USA only apps using a Play Store Account created in Canada as long as I use a USA Proxy?
[Android Apps and Games] onyxbits:
Probably.
[Android Apps and Games] HamidZaeri:
Why do I always get no search results?

Can i give a package name, then raccoon dl the latest version?
[Android Apps and Games] onyxbits:
Yes and no. You can enter the download parameters directly in the Market|Direct Download dialog, however, if you don't get any search results, it means that Google thinks that no app is compatible with the device, Raccoon mimicks (and therefore, even the direct download won't work).

Chances are that you used an "existing" GSF ID during setup that didn't really exist.
[Android Apps and Games] HamidZaeri:
solved, I changed to the pseudo device option, but it did not show any results again.

but when i used a vpn then it worked, cause I'm in middle east i think the form of website shown is a little different so raccoon unable to read search results pages.

For dl without search:

What if I open the application page directly coming from another app or browser link and not from Gplay search page? (And then start download the app)
[Android Apps and Games] onyxbits:
That is actually curious. And no, Play does not send search results as HTML over HTTP, but PROTOBUF over HTTPS. Does your country do government mandated internet censorship?

I don't quite understand what you mean. Raccoon is not some kind of a web browser and even if, your webbrowser resides in a seperate process, so there can't be any information sharing.
[Android Apps and Games] HamidZaeri:
No censorship.

In raccoon:

1. Search for an app ---> 2. Load that app info ---> 3. download apk

I don't understand why it should start from searching and not by typing app package name directly? like this:

1. Type a package name ---> 2. Load that app info ---> 3. download
[Android Apps and Games] onyxbits:
Because you need more than the packagename to download an app (versioncode, offertype, flow selection). Most people don't know this, so its easier to funnel them through search (and let Raccoon gather the information), than to explain it to them.
[Android Apps and Games] HamidZaeri:
(versioncode, offertype, flow selection)

Are these taken from the search results?

Is it possible to take them from the application page directly?

e.g We give raccoon a package name --> Raccoon load that package app info --> download apk

https://play.google.com/store/apps/details?id=com.whatsapp
[Android Apps and Games] onyxbits:
Coincidentally, I just found a zero code solution for that.
[Android Apps and Games] HamidZaeri:
Looks good:good:
[Android Apps and Games] onyxbits:
Just released v4.1.5!

This is a service release containing bug fixes that couldn't wait till 4.2
[Android Apps and Games] DE SEXIEST:
Is it an Android phone app or windows PC app?
[Android Apps and Games] n76:
Its a Java app that runs on your PC. As long as you have Java installed it should not matter if it is a Windows, Macintosh or Linux computer.

If you are looking for an app for your phone that does something similar to Raccoon, check out Yalp which is available from F-Droid.
[Android Apps and Games] saulin78:
Has anyone created a profile for a Samsung Galaxy Tab S2 Tablet and/or a Shield Android TV?

I need the User Agent for both. I'm trying to create custom profiles for a popular Tablet and popular Android TV Box.
[Android Apps and Games] onyxbits:
We got a new release (you guys probably want to upgrade)
[Android Apps and Games] m0d:
It seems google has changed something in authentication, as each time I launch raccoon I need to reauthenticate manually.

What is weird is that when I click on update apps, it lists apps needing updates but with error:

com.akdeniz.googleplaycrawler.GooglePlayException: ?=Error while retrieving information from server. [DF-DFERH-01]J�
�䐼�����
��
�
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executeHttpRequest(GooglePlayAPI.java:662)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePost(GooglePlayAPI.java:620)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePost(GooglePlayAPI.java:599)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePOSTRequest(GooglePlayAPI.java:564)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.purchase(GooglePlayAPI.java:468)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.purchaseAndDeliver(GooglePlayAPI.java:439)
at de.onyxbits.raccoon.gplay.AppDownloadWorker.onPrepare(AppDownloadWorker.java:174)
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(Thread.java:748)

Also, even after I relogin. If I keep app open and check after while I get same error and need to manually login again.

Maybe some changes to googleplaycrawler.GooglePlayAPI are needed ?

[MENTION=5035576]onyxbits[/MENTION]

This might help: https://github.com/yeriomin/play-store-api/commit/6544937ac2b9c513044d2b510b835c6e7bc2b8da
[Android Apps and Games] m0d:
Yes. it does, weirdly enough.

I say weirdly enough, because search has stopped working for me for a while now.

So, I tried updating and got the same error. As you mentioned, I followed your quick fix and searched.

No Search Results

I retried updating. And, it worked.

So thanks.

But, I retried searching and still get No Search Results.

Hmmmm. Do not know what to tell you. Anyway I mainly use app for updates so not much of an issue for me.
[Android Apps and Games] onyxbits:
On Android that error pretty much translates to "clear your cache and start afresh": get a new GSF ID.
[Android Apps and Games] cregi:
Is Raccoon valid to download paid apps ? im trying to download a couple of paid apps but i get an error and the download doesn't start...
[Android Apps and Games] m0d:
What do you do for gsf?

Your process, dummydroid?

To make sure you get proper packages, i.e. arm64v8
[Android Apps and Games] SpasilliumNexus:
If you didn't buy the app, you're not going to be able to download it through Raccoon. This is NOT a program for you or anyone thinking that way to pirate paid apps.
[Android Apps and Games] cregi:
And who told you that I want to pirate apps???? didn't you talk too early???
[Android Apps and Games] onyxbits:
I could use some help.
[Android Apps and Games] onyxbits:
You will need to setup Raccoon with a GSF ID from an existing TV or use Dummydroid to create a new GSF ID for a mock TV.
[Android Apps and Games] Andy1767:
I've been using Raccoon for a long time and it's a great software and is regularly updated to keep things working.

I've even bought premium.

One thing is not 100% clear for me:

On the app opdate window there is a button on the bottom right that says "aufräumen" in the German translation.

I'm not sure what this will do. Will it clean up/delete some old versions of the app or only clean the recent history?

If it's the latter maybe call it "Verlauf leeren" or something similar to make it more logical.

Second thing is that beginig with the 4 version of the program, the proxy is not implemented fully/correctly.

If I'm using a proxy, only the app update seems to work.

Stuff like my apps and other will not work.

Please, if you find some time, could you implement that all traffic from raccoon will be routed through the proxy/use the proxy when using a proxy.

I need to use a proxy and this way raccoon currently only allows the app update.
[Android Apps and Games] onyxbits:
And we got a new release! By popular demand, the command line is back!
[Android Apps and Games] gadgetguy08:
Must confess to not using this much, but did upgrade to 4.2.0. When I went to update my apps (there are only about twenty or so), it updated a few and then stopped. I deleted the next one in line since I didn't care about it and did the update again. It went a few more and stopped. On the screen it showed a blank Message pane.

Attached are the java messages and a screen shot with the Message pane.

What do I need to do to update the rest of the apps?
[Android Apps and Games] BlueAngel2000:
same problem for me.