Coder Social home page Coder Social logo

petabyt / fudge Goto Github PK

View Code? Open in Web Editor NEW
55.0 5.0 2.0 8.63 MB

Unofficial app to pair with Fujifilm cameras

Home Page: https://danielc.dev/fudge/

License: GNU General Public License v2.0

Java 40.86% C 54.34% Makefile 1.95% Lua 0.28% Shell 0.23% Objective-C 2.34%
android fujifilm alternative

fudge's Issues

App does not work with X-T2

Hi !

I tested your app with my Fuji X-T2 but could not make a connection between the two devices. I guess Fuji implemented a different protocol for each camera depending on hardware ?

BTW, if you want me to test some stuff to make the app work, or send logs, let me know !

Bye

Add possibility to swipe between photos

Would be nice to be able to swipe photos when they're open at full.
Currently it is needed to go back to grid view to choose another photo.

Probably, It will require a specific prefetch strategy e.g. if photo_002 is open then photo_003...004 started to fetch.

Failed to open session X-T2

Fujiapp log file - Send this to devs!
ABI: arm64-v8a
Compile date: Jul 11 2023
https://github.com/petabyt/fujiapp
Running test suite from C
send_bulk_packets 0x1002 (PTP_OC_OpenSession)
send_bulk_packet: Sent 16 bytes
Failed to read 8 bytes
Failed to open session

When I try to connect again a few times it'll appear as if its working

Fujiapp log file - Send this to devs!
ABI: arm64-v8a
Compile date: Jul 11 2023
https://github.com/petabyt/fujiapp
Running test suite from C
send_bulk_packets 0x1002 (PTP_OC_OpenSession)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 12 bytes
recieve_bulk_packets: Return code: 0x2001
Opened session
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 62 bytes
recieve_bulk_packets: Return code: 0x2001
Recieved events after opening session.
Payload: 06 00 00 DF 06 00 00 00 20 D2 01 00 00 00 22 D2 7B 00 00 00 2F D5 01 00 00 00 00 D4 01 00 00 00 01 D4 7B 00 00 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 26 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF00 (2 bytes)
Payload: 06 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 26 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF01 (2 bytes)
Payload: 00 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF21 (4 bytes)
Payload: 03 00 00 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF22 (4 bytes)
Payload: 04 00 00 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF23 (4 bytes)
Payload: 01 00 00 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF24 (4 bytes)
Payload: 04 00 02 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF25 (4 bytes)
Payload: 02 00 00 00
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 24 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF26 (0 bytes)
No payload
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Read property 0xDF31 (4 bytes)
Payload: 02 00 00 00
Waiting for device access...
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 26 bytes
recieve_bulk_packets: Return code: 0x2001
send_bulk_packets 0x1016 (PTP_OC_SetDevicePropValue)
send_bulk_packet: Sent 16 bytes
send_bulk_packets 0xB (PTPIP_CANCEL_TRANSACTION)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 12 bytes
recieve_bulk_packets: Return code: 0x2001
Gained access to device (or already have access)
Configuring mode property
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 26 bytes
recieve_bulk_packets: Return code: 0x2001
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
Version uint32 was 20004
send_bulk_packets 0x1016 (PTP_OC_SetDevicePropValue)
send_bulk_packet: Sent 16 bytes
send_bulk_packets 0x2001 (PTP_RC_OK)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 12 bytes
recieve_bulk_packets: Return code: 0x2001
Mode property is configured.
Configuring FunctionMode
send_bulk_packets 0x1015 (PTP_OC_GetDevicePropValue)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
send_bulk_packets 0x1016 (PTP_OC_SetDevicePropValue)
send_bulk_packet: Sent 16 bytes
send_bulk_packets 0x2001 (PTP_RC_OK)
send_bulk_packet: Sent 16 bytes
recieve_bulk_packets: Read 12 bytes
recieve_bulk_packets: Return code: 0x2001
Configured FunctionMode, no errors detected (yet)
Trying to get SD card info...
send_bulk_packets 0x1004 (PTP_OC_GetStorageIDs)
send_bulk_packet: Sent 12 bytes
recieve_bulk_packets: Read 28 bytes
recieve_bulk_packets: Return code: 0x2001
No storage devices found!
We got to the end of the test, and nothing broke :)
Ending test...

Trying to connect again after this results in Failed to init socket
The OS on the camera stays on the app connection init screen as if nothing had happened

Unable to connect to a camera when LTE is on

I know that Fudge is using ConnectivityManager.NetworkCallback as was said here, however for my case it doesn't work. The camera just timeouts and says try again.
Then I disable LTE and only after that Fudge connects instantaneously after pressing Connect to WiFi button.

Pixel 5
Android 14
Fudge 0.1.5

license

Great you're making the app publicly available open-source! Digging in the code I see it's put under GPL-2.0 ๐Ÿ˜ Could you please add the LICENSE file to the repo root to make that more obvious (so one hasn't to dig in the code to find out)? Thanks in advance!

Fastlane

Glad to see you've established Fastlane structures here! Would you mind some "enhancements" there? If you take a look at your app in my repo you'll see it has an icon, some additional screenshots โ€“ and a more detailed full_description, also in German. You're welcome to copy from there โ€“ or let me know which parts I should send via a PR. Thanks in advance!

signing issue

your latest release is signed using a key different from the one in place before:

WARNING: "dev.danielc.fujiapp_2.apk" is signed by a key that is not allowed:
5995c87f0ba43a21d14f715598eb716f399951a9a3f4e7af62a89c3adb9f5e17

I found no corresponding note on the release. May I ask what happened? Note that updates won't make it into my repo until the issue has been resolved.

PS: If you wonder about the file name, that is your app-release.apk being automatically renamed to <packageName>_<versionCode>.apk so it can co-exist with the others.

storage permissions

My recently upgraded scanner today reports on your update:

! repo/dev.danielc.fujiapp_5.apk declares risky permission(s): android.permission.READ_EXTERNAL_STORAGE*

This is an "implied permission" (Android automatically grants that when WRITE_EXTERNAL_STORAGE is requested. Seeing that one needs at least Android 5 to run your app, and that there's SAF (Storage Access Framework) available to deal with file system operations: Does your app really need that permission (and what for then), or could it be dropped?

Thanks in advance for clarification!

Fujifilm X30 connection establishment issue

Managed to connect only after i manually chose the Fuji AP and connected to it.

After that, the camera display showed the confirmation question about connecting to Fudge and hanged. Had to press the Play button, so it exited the wireless mode.

On app view it showed this:
Screenshot_20240408-152804.png

Let me know if you need more logs ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.