yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] onyxbits:
Can you check if there's a tooltip with some details when the progressbar says "error" or if there's a file "uncaught_LONGHEXNUMBER.zip" file in the Raccoon homedir?

As for changing the Raccoon homedir: that works only with the .JAR version (.EXE does not pass parameters to the JVM):

java -Draccoon.home=C:\some\place\else -jar raccoon-4.0.1.jar
[Android Apps and Games] Warre101:
I didn't get that error anymore after restarting the application (and ADB seems to work), so I can't look for that tooltip anymore. Would removing <user dir>\Documents\Raccoon\bin\platform-tools cause raccoon to re-download the platform tools?

I didn't find any zip file in the dir where the Racoon exe lives or in <user dir>\Documents\Raccoon.
[Android Apps and Games] onyxbits:
Yes, you also need to kill the ADB process. Though the error might be caused by the driver, too.
[Android Apps and Games] Warre101:
OK tried it, got the same error, and managed to take a screenshot with the tooltip you mentioned. It says:

Cannot run program "pnputil":CreateProcess error=2, The system cannot find the file specified

Let me know if you need the screenshot itself.

After restarting Raccoon, my phone is detected by adb as previously, so Raccoon's functionality isn't broken.

I should probably also mention that the location of my "Documents" shell folder is custom and not on my system partition. Also, the Raccoon exe is somewhere under the Documents folder.

(edit) Just to be sure I also checked if running Raccoon as admin makes a difference, but I get the same error.
[Android Apps and Games] onyxbits:
Pnputil is the (windows) program that is suppose to install the USB driver.
[Android Apps and Games] onyxbits:
Minor announcement: using email for support is getting really cumbersome, so I'm testing livechat as an alternative. Nothing fancy so far, just web/irc gateway for now. Feel free to drop by. If it's viable/fun, I'll look into a more permanent solution.
[Android Apps and Games] m0d:
With the new db is there a way to set a limit on number of old apks to keep?

Currently, it seems that it does like before.

As for commandline, since as of now there is no other stores in place -u would update apps in db.

However if you plan on adding other stores then it should be seemless: Because of the switch to db you can now store the store info / url

So, each app entry would have all the info it need to update from correct store.

This is hidden from users, as users should not care, they just want update. The backend remembers which store and magically updates.

The problem would have been when using directory as db, now there is no problem, -u does not need archive location either at the moment since db gets created same place as jar
[Android Apps and Games] onyxbits:
Not yet, but thats a planned feature for a future version. No ETA though, because in the bigger picture I want something similar to git commit hooks. In particular the ability to run diagnostics on APKs once they are downloaded (e.g. scanning for the use of Google Analytics, known ad networks, etc. to calculate a privacy threat score).

See above. The current implementation of the update mechanisms is somewhat of an unwanted child already. It does the job, but it's not well written. I don't want to invest time in that feature till I have a clear picture in my mind about this Post Download APK processing thing.
[Android Apps and Games] onyxbits:
those --gpa-* options are more or less developer/debug things for people who want to see what's going over the wire. The "unreadable" text is ASCII encoded unicode(?) characters. You'd have to write your own parser for it, or change the Locale of the JVM to something like english.
[Android Apps and Games] Kevin31:
Can I save screenshots via the raccoon?

Thank's
[Android Apps and Games] onyxbits:
Never thought someone would actually want to do this, so: not yet ;). Could you describe your use case in a bit more detail? It sounds like you are rather interested in somehow processing the entire playstore listing.
[Android Apps and Games] Kevin31:
Yes you are right! :)

I can describe the whole process. And why should I answer screenshots and other information.

Hide everything under spoiler. I think it is very few people interested.

Up to this point, when I wanted to share a new application or update to a previous form, I had to manually through the browser to save screenshots, description copy, copy the "what's new" and download the apk. Unfortunately, the screenshots are saved in webp format, which additionally have to convert to png.

Next structure everything on your computer

Folding screenshots Screenshots folder

\ Application \ Screenshots \ Screenshot_001.png

...

\ Application \ Screenshots \ Screenshot_xxx.png

- Then I copy app_icon_48x48.png application icon (required for publication) (unpack from apk)

- If there is a download videos using youtube-dl, and .bat file

\ Application \ Video \ *. Mp4

- Put the app in a folder name = version (obtained each version in its own folder This is useful for games with cache files.)

\ Application \ X.X.X \ Application_x.x.x (xxx) .apk

- If it is a game download cache

\ Application \ X.X.X \ cache \ *. Zip

or

\ Application \ X.X.X \ cache \ sdcard \ Android \ obb \ package \ .obb

\ Application \ X.X.X \ cache \ sdcard \ Android \ data \ package \

- Submitting Readme.txt a description of the application or game, links and other information

- Next, if the game is downloaded to a file server or an entire folder only cache, and computer generated .torrent with wed-seed links to these files.

And in the final publish :)

I hope all this can be automated with the help of Raccoon. :)

As

\ Raccoon \ content \ apps \ Application \ Screenshots \

\ Raccoon \ content \ apps \ Application \ application.description.txt

\ Raccoon \ content \ apps \ Application \ application.changelog.txt

\ Raccoon \ content \ apps \ Application \ X.X.X \ application_x.x.x (xxx) .apk

\ Raccoon \ content \ apps \ Application \ X.X.X \ application_x.x.x (xxx) .apk.what_news_in_this_version.txt

I hope you have added the ability to save screenshots via Raccoon. Thank you.
[Android Apps and Games] onyxbits:
And here, the discussion funnels back into -u switch again ^^. Sounds like we rather need an API and a plugin architecture to post process downloads.

Currently, I'm thinking ANT scripts. Anyone got a better idea? Not sure if gradle can be embedded.
[Android Apps and Games] Kevin31:
Where in Raccoon displays the version of the application which can be downloaded?

I can see the size of

Rating

Price

date

The number of downloaded

downloads

But there is no release version

These fields can be copied? I would like to.

Little bug:

If you cancel a download is not fully loaded applications can not be downloaded again (or continue). Perhaps only after the removal of the not fully loaded.
[Android Apps and Games] onyxbits:
That's kinda of a pro-feature and therefore "hidden" from the average user. Try keeping the "Market|Direct Download" Dialog open while searching for apps. The info is copied there.

No. I also have no idea how you'd copy them in meaningful way.

Cancelling a download removes the files. The Details pane just isn't notified about the cancellation. You'd have to search for the app again to enable the button.
[Android Apps and Games] perooty:
Hi,

I try

java -jar raccoon-4.0.1.jar

I do get

java.io.FileNotFoundException: /usr/lib/jvm/java-9-openjdk-amd64/conf/logging.properties (Datei oder Verzeichnis nicht gefunden)

Why do I need "conf", or why I dont have this "conf" directory?

Thanks
[Android Apps and Games] onyxbits:
Looks like something about your java installation is broken. Not sure what that config file is suppose to do (and a bit short on time now), but Raccoon doesn't use a logging framework.
[Android Apps and Games] onyxbits:
New version is available (bugfix release).
[Android Apps and Games] rw_on_xda:
raccoon-4.0.2.jar doesn't see app updates !

raccoon-3.7.jar did !!!

comandline is:

java -Draccoon.home=/home/ron/DATA/HW/SmartPhones/0_Apps/Raccoon -jar raccoon-4.0.2.jar;

with no errors and popup "Everthing is up to date"

hints/comments/rotten fruits ?
[Android Apps and Games] onyxbits:
This seems mixed up. Raccoon v4 doesn't have that commandline option.

https://github.com/onyxbits/raccoon4/issues/12
[Android Apps and Games] rw_on_xda:
Okay, started without parameter:

- java -jar raccoon-4.0.2.jar

- creates a Folder /home/ron/Raccoon/

- keyed in the google account data

- import older app glemser.feiertage-14.apk

- pressed menue Market => Update apps and the popup " Everything is up to date" comes up ! :eek:

with raccoon-3.7.jar I get glemser_feiertage-15.apk

What I'm doing wrong ?
[Android Apps and Games] pbeckmann:
I don't know where its written, but I think, I read that for importer apps, raccoon v4 is not able to find updates.

You have to add them via the search.
[Android Apps and Games] rw_on_xda:
[MENTION=7309105]pbeckmann[/MENTION]

that did the trick !

means import apps seems broken/disfunctional somehow ?

AFAIK, it's an plane 'ol line in raccoondb_4.script which is created by import too (maybe I overread something somehow):

INSERT INTO ANDROIDAPPS VALUES(17,'glemser.feiertage',15,0,0,'FeiertageDEU','1.7',14)

overwriting the "15" with "14" (elder version) and running update verified your trick .., THX !

[MENTION=5035576]onyxbits[/MENTION]

I call Raccoon via shellscript to prevent creation of an directory under $HOME !

#!/bin/bash

java -Draccoon.home=/home/ron/DATA/HW/SmartPhones/0_Apps/Raccoon -jar raccoon-4.0.2.jar;

exit 0;

I'm a plane 'ol lazy guy, you know...

Is that broken too ?

Please don't fix it !
[Android Apps and Games] onyxbits:
The import function is actually meant for importing apps from "unknown sources" into Raccoon (think: humble bundle, direct download from a developers website, etc.), so you can keep all your apps in one place (it makes sense, once you unlock the premium features). Importing apps doesn't link them up with a Play profile, hence they are exempt from autoupdates.

The -Draccoon.home commandline switch is an intended feature as is. You are suppose to keep your files whereever you please ~/Raccoon is just the default.
[Android Apps and Games] onyxbits:
I don't have a coded solution for converting archives, yet. So here's how to do it manually.
[Android Apps and Games] crullick:
it would be rather useful to have/get a g-store link from separate windows/processes (transfers, updates, etc.)

it would make easier to see recent changes and stuff

btw great work from the very start of the project /fatefull fan/
[Android Apps and Games] onyxbits:
I'm not quite sure I understand what you want? Show recent changes when doing an update? Or put the changelog in the app browser?

(do developers even provide useful changelogs to make it worth the hassle?)
[Android Apps and Games] onyxbits:
Minor update on how to upgrade from Raccoon v3 to v4.
[Android Apps and Games] Hikari no Tenshi:
Thank for this helpful app.

Recently i've moved from version 3.7 to version 4.0.2 and now search bar doesn't work. Every search query returns no results.
[Android Apps and Games] onyxbits:
I'd need more information to debug this. Is there an exception written to the console? Maybe an "uncaught_HEXNUMBER.zip" file in Raccoon's home directory? Did you change anything about the account? Does a fresh account have the same issues?
[Android Apps and Games] Hikari no Tenshi:
No errors, no zips.

On pseudo and on mimic device.

On Windows and on Linux.

Just: "No search results"
[Android Apps and Games] onyxbits:
Can you do a

java -jar raccoon-4.0.2.jar --gpa-details de.onyxbits.textfiction

and see if you get the store entry for TextFiction? If that works, it is a GUI problem.
[Android Apps and Games] Hikari no Tenshi:
I get this http://pastebin.com/WyJu4PZY
[Android Apps and Games] onyxbits:
Ok, no problem connecting GPLAY it seems. Must be a GUI problem them. I have this strange Deja-Vu here .. .like I already fixed this. Can you try building from source?
[Android Apps and Games] Hikari no Tenshi:
It is same "No search results" with version built from source.
[Android Apps and Games] onyxbits:
Can you go to de/onyxbits/raccoon/gplay/SearchAppWorker.java and add a "System.out.println(res);" after line 70? Then see if a search result gets printed to the terminal?
[Android Apps and Games] Hikari no Tenshi:
C:\raccoon>java -jar Raccoon-desktop-4.0.2-DEV.jar
2017-03-18 14:19:43.520:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2017-03-18 14:19:43.556:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4372
originalQuery: "firefox"
7: "\b\001\022\004\b\006\020\003"
8: 0
10: "streamSearchList?q=firefox&n=10&o=0&esp=EAdSKQoHZmlyZWZveBABEAYQAhADEAQQBRAsEBAQGDABMAYwEjAUMBM4AUgBsAEU&fss=0&c=3"
[Android Apps and Games] onyxbits:
That is quite odd. You should get something that looks like JSON, not a protobuf structure. What kind of a device are you using?
[Android Apps and Games] Hikari no Tenshi:
Yeah, looks like problem in device info (probably, User agent). I've entered ID and User agent from my other device and it worked.

P.S.

This is strange.

User agent Android-Finsky/7.3.07.K-all (versionCode=80730700,sdk=19,device=S650_ROW,hardware=mt6582,product=S650_ROW,build=S650_ROW:user) from Lenovo S650 ROW with ported MiUI 4.4.2 ROM working, but User agent Android-Finsky/7.6.08.N-all (versionCode=80760800,sdk=24,device=libra,hardware=qcom,product=libra,build=NRD90M:user) from Xiaomi Mi4c with stock MiUI 7.0 ROM doesn't work.
[Android Apps and Games] elsquare:
Edit: [Fixed]

(

Hi Onyxbits, maybe similar problem here with 4.0.2 - getting "no results" no matter what user agent string I try. With 3.7 no problem. My (fake) playstore account knows that I'm using a Galaxy S4 (ks01lte, i9506.

)Ideas where I should start looking? Not a Java Dev sorry... rather ordinary user, but will try anything you ask :)

Best regards!

)

Edit: sorry. got it working. GSF ID apparently was screwed. No clue how/why I got it wrong. Ended up setting up a new "fake" device from within 4.0.2 this morning and "stole" the Raccoon-generated GSF ID from that for my previous fake device entry. That alone fixed it.

BTW, is there a list of known-good UA strings anywhere sorted by device? I played around with dummyDroid but am unsure if what I tried to make look like a Samsung Tab 2 is correct.

Have a great day everyone :)
[Android Apps and Games] onyxbits:
Nope, there isn't. Part of the problem is that the UA string changes when you update the Play Store app.
[Android Apps and Games] elsquare:
Understood. And that changing bit is the hard part, at least iirc it was for me - running CM / LOS literally since unboxing each and every of the five Samsung devices in our house I never had a play store app [emoji85] and never will.

A list of strings (up to "sdk=" ) for the different Play Store App versions would be helpful so that people without that app could easily look up the respective latest known-good string. By chance I found that from Hikari above but have no clue whether it is recent or not. Higher numbers than my previous, so at least somewhat newer...

Any hints on a way of sort of automatically downloading the PS app and poking the .apk to extract that string part?

Not a feature request, just an idea: raccoon fetches the current PS app (automatically in the background) and if updated, offers the user to update the UA string automatically.

Have a good day!
[Android Apps and Games] onyxbits:
Heads up: just released v4.1 of the APK grabber. This is a mandatory update, since Google made changes to the client/server protocol and prior versions may not be able to find popular apps as a result any longer.
[Android Apps and Games] SpasilliumNexus:
[MENTION=5035576]onyxbits[/MENTION] I've just bought premium. I have a "personalization code" but don't know what to do with it. Was I supposed to include that with the payment to get a key? Also, if I were to say, do a clean reinstall of my OS, or buy/build a new computer, would the key still work?
[Android Apps and Games] onyxbits:
Answered in email
[Android Apps and Games] PalmCentro:
Can someone fill me in what is the premium Raccoon?
[Android Apps and Games] onyxbits:
Raccoon Premium
[Android Apps and Games] noenmo:
[MENTION=5035576]onyxbits[/MENTION] I've just bought premium. I have a "personalization code" but don't know what to do with it. Was I supposed to include that with the payment to get a key? Also, if I were to say, do a clean reinstall of my OS, or buy/build a new computer, would the key still work? email to buy: quyeticb@gmail.com

And, have a problem: can not download app for special devices. Ex: samsung device, asus device...
[Android Apps and Games] onyxbits:
Answered in email.
[Android Apps and Games] noenmo:
Check now!
[Android Apps and Games] BlueAngel2000:
hi,

i like the program really much.

Is it planed to show the description of "my apps" anywhere? (only showed when searching for an app)

like it was in v3

Because its often nice to see the description of the an updated app, especially the change log.
[Android Apps and Games] onyxbits:
v3 did not have a local browser at all ;). That being said: yes, the local broswer will be reworked.
[Android Apps and Games] BlueAngel2000:
thx great.

I think i have to update then to the pro version. ;)
[Android Apps and Games] ringprince:
login failed

Just downloaded, but I cannot login. Has this stopped working or is this supposed to work?

As I have just downloaded, this should be the up-to-date version (raccoon-4.1.0.jar).

I have set up a new google account for thist. No 2-factor-authentication and less secure apps allowed.

Any hint?
[Android Apps and Games] hlf2002:
woo..It's really cool, good idea.
[Android Apps and Games] m0d:
I also am unable to connect with 4.1..0

Updating through CLI using version 3.7 works 1 out of 8 times,

It ends up updating but the other times I get:

com.akdeniz.googleplaycrawler.GooglePlayException: Error=BadAuthentication
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executeHttpRequest(GooglePlayAPI.java:585)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePost(GooglePlayAPI.java:543)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePost(GooglePlayAPI.java:522)
at com.akdeniz.googleplaycrawler.GooglePlayAPI.login(GooglePlayAPI.java:230)
at de.onyxbits.raccoon.App.createConnection(App.java:132)
at de.onyxbits.raccoon.CliService.doUpdate(CliService.java:139)
at de.onyxbits.raccoon.CliService.run(CliService.java:115)
at de.onyxbits.raccoon.App.main(App.java:83)
[Android Apps and Games] onyxbits:
I'm on it. The reason why it works sometimes is probably that this is a cloud service and Google is rolling out updates in waves.
[Android Apps and Games] congloi:
same problem here, I can't login (raccon-4.1.0.jar)

Login failed. If you are using an account with 2 step verification, then you need to set up an application specific password.

I don't using 2 step verification
[Android Apps and Games] onyxbits:
Good news: just uploaded Raccoon v4.1.1 -> Things should work again now. It's kind of a rush job, though. But given that this is a showstopper, I didn't want to waste too much time on testing before releasing.
[Android Apps and Games] Cronoss:
onyxbits, thanks so much for this.

I have a question about Google Play Store and the downloaded APKs.

Let's say there's an app that is not support on my device and I download it with raccoon. After installing the APK, will I get any new automatic updates from the store? or will it still be "blocked"?

Hope my question made sense.
[Android Apps and Games] hadi_rena:
Probably still blocked or you won't able to update from playstore
[Android Apps and Games] onyxbits:
Any app you download with Raccoon gets downloaded with the device, Raccoon mimics. So by definition, whatever you download is not blocked (for Raccoon). You won't get update notifications to your device (since Google does not know you have the app installed there {unless you instructed Raccoon to mimic your existing device [but in that case you wouldn't be able to download the blocked app to begin with <I have opne spare level of paranthesis>]}).

Raccoon does not (currently) use push notifications for getting updates. It does a bulk search for all stored apps and compares versioncodes. So, simple answer: Market|Update should do the trick.
[Android Apps and Games] onyxbits:
Raccoon v4.1.2 is out.
[Android Apps and Games] m0d:
Thank you for all your work.

Import apps seems to work well. I was able to import all apps from older folder.

One thing though: There seems to be a lag on Start-up and exit.

At first I thought it stopped responding when I launched GUI, as all previous versions started quite quick.

Also, on exit it takes time before releases terminal.

EDIT: Lag was due to other open terminal commands.

It would be great to have an idea of what you are planning for future developments.

Some things that come to mind:

Save and restore window state: https://github.com/gnunn1/tilix/commit/9b588d795abf1aac242adb1284c555a19b2c3dfd

Ability to manage apps, limit number of stored apps to not waste space.

Method to update apps from script instead of launching GUI, similar to old CLI usage.

Thank you once again.
[Android Apps and Games] -Rye-:
How about a native android version ?
[Android Apps and Games] MyResult:
Hi.

Thank you for creating this great tool.

I have a question:

Can I extract generated auth token for my account from Raccon?
[Android Apps and Games] onyxbits:
Only one process may open the database at any given time.

I should definitely publish a roadmap (I currently lag the time for blogging -> yes, I'm quite busy coding)
[Android Apps and Games] onyxbits:
Absolutely! However: use at your own risk!
[Android Apps and Games] m0d:
I am able to update, but I seem to be having trouble searching.

It always gives me no results.
[Android Apps and Games] onyxbits:
Chances are you invalidated your auth token. Try running the setup wizard again.
[Android Apps and Games] m0d:
I tried edit profile, add password to login, select use existing device.

But, still no search results.

What I do not understand is that update works, apps are being downloaded when available, but search ends in no results found
[Android Apps and Games] onyxbits:
Sounds like you somehow managed to deactivate the default profile (Market|Profiles menu).
[Android Apps and Games] naifaharsy:
Try soon..
[Android Apps and Games] Rotkaeqpchen:
Just wanted to say thank you for this wonderful application! I recently removed all Google Stuff and am very happy to be able to download my purchases! Thank you! :) PS: Just unlocked the premium features to support you. Thanks :)
[Android Apps and Games] m0d:
Not sure. But, there is no way to select default.

And, I only have one profile. So it should be default.

Besides, adding more than one needs upgrade key.

Anyway, it still does not seem to work for me. Although I do not really use it.

A question about multiple profiles.

When two or more profiles are used where are apps kept, meaning are they separated? (currently they are kept at content/apps)

As some might be for different devices with different apk version.

So, are they separated by profile?
[Android Apps and Games] onyxbits:
There should be a "Hello $profilename" banner at the top of the left box when it's not showing details of a search result.

Get one :P!

All APKs are dumped into the same directory. The database keeps track of which profile downloaded what (and should be used for updates).
[Android Apps and Games] m0d:
Yes my correct profile name shows, and not "$profilename". But, still "No search results."

I should.

Huh, this is why I probably do not need multiple profiles. As it would make more sense to me for having separate profile directories in either home or content.

Also, having a limit on number of backups per apps, and not to mention cli updates ;p .

Will probably be supporting your development.

However, it would be great if you can work together with [MENTION=7676946]rumboalla[/MENTION] on the app for android, apkupdater, and maybe add functions to connect with raccoon through adb/wifi/etc.

Or, do you have plans for an app as well?