Commit Graph

113 Commits

Author SHA1 Message Date
RocketGod ccda89aaee fix stupid gitea stuff 2026-02-12 19:33:51 -08:00
RocketGod a7ae6da274 WIP - Kia V5 Emulator working mostly but some repeat loop in either decoder or encoder 2026-02-12 19:07:34 -08:00
MX a1fc3cf8a9 button is still broken
FAP Build / ufbt: Build for Momentum dev (push) Successful in 38s
FAP Build / ufbt: Build for OFW dev channel (push) Successful in 38s
FAP Build / ufbt: Build for OFW release channel (push) Successful in 37s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 37s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 47s
FAP Build / ufbt: Build for Momentum release (push) Successful in 59s
2026-02-12 16:45:40 +03:00
MX aea05d475c fix kia v2 crc 2026-02-11 04:53:09 +03:00
MX 092d1370d3 fix missing define checks and logs removal 2026-02-10 23:46:32 +03:00
gullradriel ee2e004b3a update from main 2026-02-09 21:44:56 +01:00
MX d82c4df166 apply code formatting and make app even smaller 2026-02-09 23:36:27 +03:00
gullradriel fd6ba8aaff change furi_assert to furi_check 2026-02-09 21:35:58 +01:00
gullradriel c644b1bbf8 indent code 2026-02-09 20:43:57 +01:00
MX db1fe3c6cf Revert "fix vag variable allocation"
This reverts commit c0fbaec4d5.
2026-02-09 17:22:45 +03:00
MX 08ce4003fa Revert "use generic struct in psa"
This reverts commit 17e60cd38e.
2026-02-09 17:22:30 +03:00
MX 17e60cd38e use generic struct in psa 2026-02-09 17:01:58 +03:00
MX 7770143097 fix most of the issues
- fix alloc / free
- fix raw file reading buffer size
- remake raw file reading logic
- remake sub decode to stop when heap is low
- disable 2 scenes to free heap
- add comments
- fix crashes caused by previous alloc/free fixes
- alloc worker only for RX
- fix emulation scene hold
- fix emulation scene back button
2026-02-09 16:47:10 +03:00
MX c0fbaec4d5 fix vag variable allocation 2026-02-09 12:54:18 +03:00
MX c14e75cc64 cut vag upload size 2026-02-09 11:30:53 +03:00
RocketGod c6f3b947ad Fix memory management and state handling 2026-02-08 22:53:31 -08:00
MMX 767bddf94b Merge branch 'main' into zero-mega 2026-02-06 16:36:53 -05:00
zero-mega 506ec6ac40 fix VAG encoder 2026-02-05 18:25:41 +01:00
0mega 8a7759108b Vag Encoder WIP 2026-02-04 07:41:12 +01:00
MX 74b8f629a4 Merge branch 'somefixes' into rw_ui_and_improvement 2026-02-03 17:58:22 +03:00
MX bd47a1d290 fix protocol naming 2026-02-03 17:58:15 +03:00
MX 54bb63bc73 Merge branch 'somefixes' into rw_ui_and_improvement 2026-02-03 17:44:38 +03:00
MX f1f59165d6 naming fixes 2026-02-03 17:44:34 +03:00
MX c084750cf3 add changes by @RalphWiggum 2026-02-03 17:09:09 +03:00
MX bb11afce9b WIP vag combo by @zero-mega
with PSA fixes
2026-02-03 00:15:36 +03:00
MX af51c142c8 Merge branch 'zmg_vw' into pp_main 2026-01-31 11:14:04 +03:00
RocketGod 11253a9f81 Fix memory issues and crashes 2026-01-30 17:12:54 -08:00
MX b422766a05 add vw crypto
by zero-mega and slackware
2026-01-29 06:02:24 +03:00
MX 833910e833 fix array init 2026-01-27 03:35:16 +03:00
MX a50067aed8 Merge branch 'rg_main' into zm 2026-01-27 03:26:05 +03:00
MX 9426369965 Fixes and final touches 2026-01-27 03:17:49 +03:00
RocketGod b69c23ac19 Refactor storage and radio initialization logic
Removes the file list cache and related logic from protopirate_storage, deferring file browsing to the dialogs file browser. Refactors radio initialization and deinitialization to be performed on-demand in relevant scenes, reducing memory usage and improving modularity. Updates scene logic to use the new file browser and radio management, and adds detailed logging and memory usage tracking for debugging. Also includes minor formatting and heap logging improvements. Will leave logging until we don't need it anymore.
2026-01-26 10:14:25 -08:00
zero-mega b76d1e7dbc Add PSA Encoder 2026-01-26 18:54:57 +01:00
RocketGod 55e8068ed3 Remove mutex usage and simplify file storage logic
Eliminated all mutex-based locking and re-entrancy logic from protopirate_storage.c, simplifying file list management and related functions. Reduced MAX_FILES_TO_DISPLAY to 30 and shortened file entry name buffer. Updated file list builder to allocate and free memory as needed, and added yielding in file enumeration to prevent watchdog lockups. In protopirate_scene_saved.c, limited displayed items to 20 and added GUI yield to prevent lockup. Reduced encoder upload buffer size from 1024 to 512 in fiat_v0.c and ford_v0.c.
2026-01-25 22:22:45 -08:00
RocketGod 8ed8e44b38 Reduce encoder upload buffer size to 1024
Decreased the encoder.size_upload value from 2048 to 1024 in both fiat_v0 and ford_v0 protocol implementations to optimize memory usage.
2026-01-23 18:02:42 -08:00
MMX 45b635e291 Merge pull request #76 from zero-mega/main
Add PSA Decoder decryption (Direct and Bruteforce)
2026-01-23 16:21:15 +03:00
MMX 9454fa821a Merge pull request #75 from LeeroysHub/pr_update_bs_crc
FORD: Update PSF with new BS and CRC after TX
2026-01-23 16:20:59 +03:00
MMX fbf2f62224 Merge pull request #71 from LeeroysHub/PR_Ford_Display
Add BS Magic to Saved Info View, make visible in Received.
2026-01-23 16:20:31 +03:00
MMX dc8ea60d06 Merge pull request #70 from LeeroysHub/PR_Ford_BS_Overflow
Incorrect BS when result overflows.
2026-01-23 16:20:18 +03:00
zero-mega 55d61568e0 Add PSA Decoder decryption (Direct and Bruteforce) 2026-01-22 15:39:48 +01:00
Leeroy 8d2163c628 FORD: Update PSF with new BS and CRC after TX 2026-01-22 23:21:49 +11:00
RocketGod 67c896dc81 Add optional debug logging for bit-level operations
Introduced the FORD_V0_DEBUG_BITS macro to enable detailed debug logging of each bit processed in the Ford V0 protocol decoder. Logging is wrapped in a preprocessor check to avoid performance impact unless explicitly enabled.
2026-01-21 18:38:54 -08:00
Leeroy 1823d6438e Moved Receiver Info around so BS Magic isnt off-screen.
* Added spaces for easier viewing
* Swap BS Magic and Btn so BS Magic always fits
2026-01-21 17:07:14 +11:00
Leeroy 8f1d3b5bec Handle BS overflow in Ford Decoder 2026-01-21 16:56:15 +11:00
Leeroy 699ab89d7c Refactor BS magic number calculation into 1 liner 2026-01-20 14:43:10 +11:00
Leeroy 2dabdb3c68 Remove overflow handling for PR 2026-01-20 14:17:41 +11:00
Leeroy 88e3e515a0 BAckward compatibilty with old PSF files 2026-01-20 13:45:40 +11:00
Leeroy eabbff45d3 Add BS Magic Number calculation to Ford V0
* The Code uses 6f, all my remotes use different numbers.
* So, I am getting the required Magic Number on decode,
* and saving that to the psf.
* Then on Encode, I grab that number and use that instead of 6f
* This works with the 2 remotes I have, and I dont have to patch
* the Magic Number from Calulator anymore!

*** I noticed my Chinese Fob with Magic of 0 said CRC BAD, but Car Unlocked as it captured!
*** It also works when Emulated, car unlocks.
*** The CRC check will have to be looked at!
2026-01-20 13:21:51 +11:00
zero-mega e191349f8e Merge branch 'RocketGod-git:main' into main 2026-01-19 18:18:41 +01:00
zero-mega 8f42155e37 Add PSA decoder (no decryption yet) 2026-01-19 11:36:52 +01:00