From ba8dd58dee985dde52c7081a6edbfe0463d1a8ef Mon Sep 17 00:00:00 2001 From: Methodius Date: Fri, 24 May 2024 20:33:34 +0300 Subject: [PATCH 1/6] electra non-initialized encoded epilogue on render fix --- lib/lfrfid/protocols/protocol_electra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/lfrfid/protocols/protocol_electra.c b/lib/lfrfid/protocols/protocol_electra.c index fabf7ce6b..29223a43d 100644 --- a/lib/lfrfid/protocols/protocol_electra.c +++ b/lib/lfrfid/protocols/protocol_electra.c @@ -411,6 +411,7 @@ bool protocol_electra_write_data(ProtocolElectra* protocol, void* data) { }; void protocol_electra_render_data(ProtocolElectra* protocol, FuriString* result) { + protocol_electra_encoder_start(protocol); furi_string_printf(result, "Epilogue: %016llX", protocol->encoded_epilogue); }; From e31fbb061abeb361eb338fceb8690a20ac7ddb62 Mon Sep 17 00:00:00 2001 From: SG Date: Thu, 16 May 2024 19:53:40 +0100 Subject: [PATCH 2/6] SubGHz: fix memory corrupt in read raw view [ci skip] --- applications/main/subghz/views/subghz_read_raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/main/subghz/views/subghz_read_raw.c b/applications/main/subghz/views/subghz_read_raw.c index f2a016045..1b9e1d316 100644 --- a/applications/main/subghz/views/subghz_read_raw.c +++ b/applications/main/subghz/views/subghz_read_raw.c @@ -88,7 +88,7 @@ void subghz_read_raw_add_data_rssi(SubGhzReadRAW* instance, float rssi, bool tra model->rssi_history[model->ind_write] = u_rssi; } - if(model->ind_write > SUBGHZ_READ_RAW_RSSI_HISTORY_SIZE) { + if(model->ind_write >= SUBGHZ_READ_RAW_RSSI_HISTORY_SIZE) { model->rssi_history_end = true; model->ind_write = 0; } From 3ab0a26e1dd5a45a7a3b12941885133c21783576 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 25 May 2024 00:03:56 +0300 Subject: [PATCH 3/6] update changelog --- CHANGELOG.md | 101 +++++++++++++++++---------------------------------- 1 file changed, 34 insertions(+), 67 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b83ae12..add610f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,75 +1,42 @@ ## New changes -* LFRFID: **Electra intercom protocol support** (Romania) (by @Leptopt1los | PR #750) -* NFC: Temp fix for `iso14443_4_layer_decode_block` crash -* NFC: CharlieCard parser (by @zacharyweiss) -* SubGHz: FAAC RC XT - add 0xB button code on arrow buttons for programming mode -* SubGHz: Add Manually - Sommer FM fixes -* SubGHz: Enabled tx-rx state on unused gpio pin by default (**external amp option was removed and is enabled by default now**) -* SubGHz: **Status output !TX/RX on the GDO2 CC1101 pin** (by @quen0n | PR #742) -* SubGHz: Reworked saved settings (by @xMasterX and @Willy-JL) -* Desktop: Fixes for animation unload (by @Willy-JL) -* iButton: Updated DS1420 for latest ibutton changes -* Misc: Allow no prefix usage of name_generator_make_detailed_datetime -* Misc: Allow setting view dispatcher callbacks to NULL -* Misc: Added `void` due to `-Wstrict-prototypes` -* Misc: Some code cleanup and proper log levels in nfc parsers -* Infrared: Allow external apps to use infrared settings (by @Willy-JL) -* JS & HAL: Various fixes and FURI_HAL_RANDOM_MAX define added (by @Willy-JL) -* JS: **BadUSB layout support** (by @Willy-JL) -* JS: New Modules `widget`, `vgm` and path globals (by @jamisonderek) -* Apps: Enhance Random Interval and Movement Functionality in HID Mouse Jiggler for Improved Stealth and Human-Like Behavior (by @gushmazuko | PR #746) -* Apps: NFC Magic - **Gen2 writing support, Gen4 NTAG password and PACK fixes** (by @Astrrra) -* Apps: MFKey - **fixed crashes**, add more free ram (by @noproto & @Willy-JL) -* Apps: **Check out Apps updates by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev) -* OFW PR 3616: NFC: Mf Desfire fix reading big files (by gornekich) -* OFW: iButton: fix crash when deleting some keys -* OFW: Desktop: cleanup error popups -* OFW: Troika parser visual fixes -* OFW: Fix the retry/exit confirmation prompts in iButton -* OFW: nfc app: add legacy keys for plantain cards -* OFW: GUI: Fix array out of bounds in menu exit -* OFW: add support for S(WTX) request in iso14443_4a_poller -* OFW: Mosgortrans parser output fixes -* OFW: BLE: Add GapPairingNone support -* OFW: iButton new UI -* OFW: FuriHal: add ADC API -* OFW: Mf Desfire multiple file rights support -* OFW: **Felica poller** (NFC-F) -* OFW: Desktop/Loader: Unload animations before loading FAPs -* OFW: JS Documentation -* OFW: **Update radio stack to v1.19.0** -* OFW: **Move crypto1 to helpers, add it to the public API** -* OFW: Explain RNG differences, add FURI_HAL_RANDOM_MAX -* OFW: Furi: Add "out of memory" and "malloc(0)" crash messages -* OFW: IR: Fix crash on duty_cycle=1 -* OFW: **Desktop: ensure that animation is unloaded before app start (fixes some out of memory crashes)** -* OFW: Hide unlock with reader for MFU-C -* OFW: fbt: fixed missing FBT_FAP_DEBUG_ELF_ROOT to dist env -* OFW: fbt: added -Wstrict-prototypes for main firmware -* OFW: Mifare Ultralight naming fix -* OFW: IR: Remember OTG state -* OFW: Bad USB: fix crash when selecting a keyboard layout -* OFW: L1_Mods animation update : adding VGM visual -* OFW: RFID Improvements -* OFW: Fixed plugins and UI -* OFW: **NFC: Fix mf desfire detect** -* OFW: infrared_transmit.h was missing `#pragma once` -* OFW: Show the wrong PIN Attempt count on the login screen -* OFW: SavedStruct: Introduce saved_struct_get_metadata -* OFW: JS CLI command -* OFW: Add ChromeOS Bad USB demo -* OFW: **Configurable Infrared TX output** (previous UL version is replaced with OFW version, new features added "AutoDetect" and saving settings) -* OFW: BadUSB: BLE, media keys, Fn/Globe key commands -* OFW: NFC: Slix privacy password reveal ->(was included in previous UL release) and **Desfire detect fix** -* OFW: github: additional pre-upload checks for doxygen workflow -* OFW: NFC UI fixes -* OFW: Gui: unicode support, new canvas API -* OFW: **Api Symbols: replace asserts with checks** +* Apps: **Mifare Nested - ported to latest API** using old nfc lib (by @xMasterX) (+ mem management fix by @Willy-JL) +* LFRFID: Electra fix non-initialized encoded epilogue on render (by @Leptopt1los) +* JS: Move examples to subfolder `js_examples` +* Apps: HID app improvements and fixes
+`- Move new mouse jiggler into mouse jiggler stealth and bring back previous version of mouse jiggler too`
+`- Set stealth jiggler max time default value to 4 min and min value to 1 min`
+`- Merge OFW changes`
+`- More OFW merge fixes` (by @Willy-JL | PR #753)
+* Apps: **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev) +* OFW (TLSF branch): SubGHz: fix memory corrupt in read raw view +* OFW: NFC App: fix changing UID +* OFW: Replaced obsolete-format delay +* OFW: Archive: fix condition race on exit +* OFW: Text Box: fix displaying text with end text focus +* OFW: FuriHal: add flash ops stats, workaround bug in SHCI_C2_SetSystemClock +* OFW: Icons: compression fixes & larger dimension support +* OFW: Text Box rework +* OFW: Fix calling both `view_free_model()` and `view_free()` +* OFW: JS: Add textbox module +* OFW: JS: Add math module +* OFW: NFC: add Slix capabilities +* OFW: Settings refactor fixes +* OFW: JS: Add submenu module +* OFW: Skylanders plugin +* OFW: Settings menu refactoring +* OFW: NFC: Mf Desfire fix reading big files +* OFW: Infrared: Add Toshiba RAS-2518D +* OFW: vscode: config fixes +* OFW: Ble: new connection parameters negotiation scheme +* OFW: FuriHal: move version init to early stage +* OFW: Add support for R_ARM_REL32 relocations. +* OFW: Remove unused DolphinWait_61x59 icon +* OFW: Add the Akira animation +* OFW: Desktop: fix crash on autolock after restart in locked state

#### Known NFC post-refactor regressions list: - Mifare Mini clones reading is broken (original mini working fine) (OFW) - NFC CLI was removed with refactoring (OFW) (will be back soon) -- Mifare Nested not ported to latest API yet, `unlshd-065` is the latest version on old NFC API that works with "nested app" ---- From 83d85ec0e28eb7cbeb06bfe479aa9c5a176ec236 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 25 May 2024 00:24:44 +0300 Subject: [PATCH 4/6] upd changelog --- CHANGELOG.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index add610f7b..fd085a6ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## New changes * Apps: **Mifare Nested - ported to latest API** using old nfc lib (by @xMasterX) (+ mem management fix by @Willy-JL) -* LFRFID: Electra fix non-initialized encoded epilogue on render (by @Leptopt1los) +* LFRFID: **Electra fix** non-initialized encoded epilogue on render (by @Leptopt1los) * JS: Move examples to subfolder `js_examples` * Apps: HID app improvements and fixes
`- Move new mouse jiggler into mouse jiggler stealth and bring back previous version of mouse jiggler too`
@@ -9,30 +9,30 @@ `- More OFW merge fixes` (by @Willy-JL | PR #753)
* Apps: **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev) * OFW (TLSF branch): SubGHz: fix memory corrupt in read raw view -* OFW: NFC App: fix changing UID +* OFW: **NFC App: fix changing UID** * OFW: Replaced obsolete-format delay -* OFW: Archive: fix condition race on exit +* OFW: **Archive: fix condition race on exit** * OFW: Text Box: fix displaying text with end text focus * OFW: FuriHal: add flash ops stats, workaround bug in SHCI_C2_SetSystemClock * OFW: Icons: compression fixes & larger dimension support -* OFW: Text Box rework +* OFW: **Text Box rework** * OFW: Fix calling both `view_free_model()` and `view_free()` * OFW: JS: Add textbox module * OFW: JS: Add math module -* OFW: NFC: add Slix capabilities +* OFW: **NFC: add Slix capabilities** * OFW: Settings refactor fixes * OFW: JS: Add submenu module -* OFW: Skylanders plugin +* OFW: **Skylanders plugin** * OFW: Settings menu refactoring * OFW: NFC: Mf Desfire fix reading big files * OFW: Infrared: Add Toshiba RAS-2518D -* OFW: vscode: config fixes +* OFW: **vscode: config fixes** * OFW: Ble: new connection parameters negotiation scheme * OFW: FuriHal: move version init to early stage * OFW: Add support for R_ARM_REL32 relocations. * OFW: Remove unused DolphinWait_61x59 icon * OFW: Add the Akira animation -* OFW: Desktop: fix crash on autolock after restart in locked state +* OFW: **Desktop: fix crash on autolock after restart in locked state**

#### Known NFC post-refactor regressions list: - Mifare Mini clones reading is broken (original mini working fine) (OFW) @@ -62,7 +62,7 @@ |TON||`UQCOqcnYkvzOZUV_9bPE_8oTbOrOF03MnF-VcJyjisTZmsxa`| #### Thanks to our sponsors who supported project in the past and special thanks to sponsors who supports us on regular basis: -ClaraCrazy, Pathfinder [Count Zero cDc], callmezimbra, Quen0n, MERRON, grvpvl (lvpvrg), art_col, ThurstonWaffles, Moneron, UterGrooll, LUCFER, Northpirate, zloepuzo, T.Rat, Alexey B., ionelife, ... +@mishamyte, ClaraCrazy, Pathfinder [Count Zero cDc], callmezimbra, Quen0n, MERRON, grvpvl (lvpvrg), art_col, ThurstonWaffles, Moneron, UterGrooll, LUCFER, Northpirate, zloepuzo, T.Rat, Alexey B., ionelife, ... and all other great people who supported our project and me (xMasterX), thanks to you all! From f18f1f54e0a661fd83c96b8854e041b6a1dd53e1 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 25 May 2024 00:57:26 +0300 Subject: [PATCH 5/6] upd changelog [ci skip] --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd085a6ef..23d7ceb09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ## New changes -* Apps: **Mifare Nested - ported to latest API** using old nfc lib (by @xMasterX) (+ mem management fix by @Willy-JL) +* Apps: **Mifare Nested - ported to latest API** using old nfc lib (by @xMasterX) (original app made by @AloneLiberty) (+ mem management fix by @Willy-JL) - [Python app running on PC is required](https://github.com/AloneLiberty/FlipperNested) * LFRFID: **Electra fix** non-initialized encoded epilogue on render (by @Leptopt1los) * JS: Move examples to subfolder `js_examples` * Apps: HID app improvements and fixes
From 7ac189aa2a4fff4c83852d14b81319c0e3ca2058 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 25 May 2024 00:58:53 +0300 Subject: [PATCH 6/6] fix link [ci skip] --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23d7ceb09..f14120ae1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ## New changes -* Apps: **Mifare Nested - ported to latest API** using old nfc lib (by @xMasterX) (original app made by @AloneLiberty) (+ mem management fix by @Willy-JL) - [Python app running on PC is required](https://github.com/AloneLiberty/FlipperNested) +* Apps: **Mifare Nested - ported to latest API** using old nfc lib (by @xMasterX) (original app made by @AloneLiberty) (+ mem management fix by @Willy-JL) - [Python app running on PC is required](https://github.com/AloneLiberty/FlipperNestedRecovery) * LFRFID: **Electra fix** non-initialized encoded epilogue on render (by @Leptopt1los) * JS: Move examples to subfolder `js_examples` * Apps: HID app improvements and fixes