444 Commits

Author SHA1 Message Date
Cossid
0018fc97d5 Move full_path just in case to make sure exception message is valid. 2026-01-06 08:46:22 -06:00
Cossid
874c1cecca Add timeout to API requests, exit on failure with message. 2026-01-06 08:35:19 -06:00
Cossid
6ce9d7fd00 process_app - ignore tuya_mdev_test strings for class names, as they are not valid
pull_schema - use product key when firmware key is not present.
2025-12-13 14:00:29 -06:00
Cossid
2fbdfa9f13 Fix device name on multi-ota profile building. 2025-12-09 16:10:02 -06:00
Cossid
e217f7bd10 Add RTL8710BN support (#861)
* Add CloudCutter support for unpatched RTL8710BN devices, including all supplied dumps.

* Update profile-building to support RTL8710BN profile generation.

* Update documentation.
2025-12-08 20:59:40 -06:00
Cossid
eab30cb0d8 profile-building - process_app - SDK build at line can have a library name before, use a slightly more generic match. 2025-11-28 10:52:02 -06:00
Cossid
f6801d8e49 haxomatic - add RTL8720CF pattern match. 2025-11-26 15:24:24 -06:00
Cossid
0e2a8fd20f Update bins. 2025-11-25 22:13:18 -06:00
Cossid
99b8e2e564 Update bins. 2025-11-25 21:54:11 -06:00
Cossid
524f48ab2f process_app - enhance version number matching for rtl8720cf.
Add user_param_key separation in rtl8720cf extract.
2025-11-25 19:30:06 -06:00
Cossid
b28723ae61 Add RTL8720CF support (#857)
* Initial RTL8720CF support

* Fix RTL8720CF_OTA file validation.

* be a bit more robust on chip string matching

* Really rough refactor of haxomatic for RTL8720CF, not complete.

* Update RTL8720CF 2.3.0 haxomatic hex match strings

* Remove length validation from authkey/uuid so it can work with both Tuya and CloudCutter generated keys.

* Fix bk7231 string detection
Add second RTL8720CF 2.3.0 profile

* Refactor haxomatic to be more modular and maintainable.

* haxomatic - minor cleanup

* profile-building - Pull PSK when pulling schema.

* Haxomatic - Search all binaries for patch patterns.
Update known RTL8720CF match pattern identifiers.

* Change network to custom 10.204.0.1/24 network (204 = 0xCC)
Send multiple DNS servers, which may help devices that hang after DHCP
Spend less time sending wifi connect requests so AP can start listening sooner.

* Update exploit for new offsets.

* Haxomatic - Add 1.0.x SDK

* Update haxomatic for newer found patterns.

* Minor tweaks

* Updates to profile-building

* Add storage parsing to extract_rtl8720cf

* Switch to bk7231tools to extract rtl8720cf storage to remove an unneeded dependency.

* remove debug code

* Add special case for sdk identification for single build missing standard string.

* Find swv before device_class, as we may want to search directly after it.

* Update comments, seek entire bin for storage.

* Add missing new address in profile.
Add ability to process inactive OTA app.

* Update documentation.

* fix typo.

* Fix a type in beken extract.

* Add haxomatic pattern for oddball BK7231N 2.3.1 SDK.

* Haxomatic - Add RTL8720CF 2.3.1 SDK pattern.

* Fix copy/paste typo

* profile-building - proceess_app - add more device class match strings.

* one more

* profile-building - better log SDK data

* Add a special thanks section.

* fix typo

* Clean up documentation.

* documentation - use numbered lists.

* process_app - add another device class identifier.
2025-11-25 17:18:58 -06:00
divadiow
40d0b4388d Update OpenBeken to latest (#819) 2025-07-02 08:08:14 -05:00
Eyal
f025a0062d Improve the documentation about how to enter AP mode. (#815)
This unifies the instructions so that they will be consistent and
correct across the various tools and docs.
2025-06-29 19:02:40 -05:00
Cossid
54340050cf Add mcu_software_version fallback when version is not in storage. 2025-06-09 09:39:36 -05:00
Cossid
cfb69f9092 Change default AP channel to 6, as it appears to be a common channel for Tuya firmware APs as well. 2025-05-20 17:28:21 -05:00
sMiik
4cad43f876 Choose AP channel by the wifi device (#805)
Choose AP channel by the wifi device
Actually use fallback channel 1 as described by comment
2025-05-20 17:25:03 -05:00
Cossid
5c979eeb5e profile-building process_app - Don't allow spaces in device class. 2025-04-29 13:45:42 -05:00
Cossid
ad36091ff5 Fix check_upgrade file output. 2025-02-16 08:18:30 -06:00
divadiow
1630e49a5a update OpenBeken binaries to latest (#781) 2025-02-01 07:52:25 -06:00
Cossid
31c55f5cba profile-building - tuya_api_connection - Remove unused PSK code, update from socket to http request library 2025-01-12 12:18:39 -06:00
Cossid
32e7a8c3b3 profile-building - Tuya API connection - declare response_body_json before json.loads for better error handling. 2025-01-08 08:48:47 -06:00
Cossid
1f8cc171fe profile-building - Use factory_pin a bit more appropriately. 2025-01-08 08:11:47 -06:00
Cossid
e0639e6dfb profile-building: Support MCU version and upgrade checks. 2024-12-29 20:25:03 -06:00
Cossid
4f3edd7224 Add message for additional help when getting stuck around the DHCP stage. 2024-12-17 21:53:34 -06:00
Cossid
8b8604b780 Minor adjustment to token directions 2024-12-11 13:18:45 -06:00
Robert Slootjes
e4aa6fba71 Update HOST_SPECIFIC_INSTRUCTIONS.md (#748)
Same applies to the Pi Zero 2W over USB
2024-12-07 15:59:40 -06:00
Robert Slootjes
224b05d3ba Update HOST_SPECIFIC_INSTRUCTIONS.md (#747)
When following step by step, the steps after cloning will fail if user didn't go to the project directory.
2024-12-07 15:48:33 -06:00
Cossid
c7b166978d profile-building extract - add try/catch to dissect. 2024-12-01 15:20:10 -06:00
Cossid
2fda4c394c pull_schema - use uuid instead of chip, as chip is not generated for patched devices. 2024-11-24 22:34:52 -06:00
Cossid
6ee1490d1c profile-building - Copy downloaded schema/schema_id to parent directory for profile regeneration. 2024-11-21 17:00:50 -06:00
Cossid
9753d1e14b profile-building - Allow further processing/parsing of patched devices. 2024-10-24 10:19:09 -05:00
Cossid
3107987a6f Fix missing quote in safety_checks. 2024-10-24 07:57:49 -05:00
Cossid
c76c9bf809 Add AppArmour to safety_checks. 2024-10-20 19:43:33 -05:00
Cossid
13192f210d Profile builder - Add TuyaMCU baud to device profile. 2024-10-18 09:34:53 -05:00
Cossid
a9ff45a6ca Update pull_schema with extra fields useful for TuyaMCU devices. 2024-10-16 20:56:29 -05:00
Cossid
c727bdb467 Use systemctl instead of service for better compatibility. 2024-10-13 11:06:15 -05:00
divadiow
6250971302 update OpenBeken binaries to latest (#710) 2024-09-17 08:19:42 -05:00
Cossid
9fddd0a333 Update variable name to OVERRIDE_AP_SSID for better clarity. 2024-09-12 19:51:46 -05:00
Cossid
77dfa85fbc Add -o option to override device AP name
clean up .sh formatting/lint
2024-09-12 19:46:59 -05:00
Cossid
f1029fe519 profile-building add override files for decrypted app bin and ap_ssid 2024-08-13 17:06:18 -05:00
Cossid
3d2857bf25 Sort mfg/model case insensitive. 2024-07-25 21:24:56 -05:00
psiberfunk
f1fca957b6 Update HOST_SPECIFIC_INSTRUCTIONS.md (#676)
The most recent version of bullseye requires you to activate network manager after install.. just the reboot alone isn't enough apparently.  These added commands fixed this guide for me.
2024-06-08 20:28:59 -05:00
Cossid
ea46386005 Don't use color for docker build. 2024-04-23 18:09:57 -05:00
Cossid
261930dee3 Use more neutral colors for input selection. 2024-04-23 18:00:07 -05:00
Cossid
0727b81628 Update profile-building dependencies 2024-03-27 09:35:35 -05:00
Cossid
d30e0f2a75 Update pipfile again, relaxing python verison requirement. 2024-02-20 16:28:37 -06:00
Cossid
b25ce2939c Fix pip version locking. 2024-02-20 16:21:31 -06:00
Cossid
8cc25fc13d Set pipfile packages to specific versions to reduce docker update times. 2024-02-20 10:29:31 -06:00
Cossid
fa93479b69 Remove unneeded sslpsk3 from profile building, use pycryptodome instead of pycryptodomex. 2024-02-10 13:00:20 -06:00
Cossid
278afa9c69 Add dltj icon identifier to profile builder. 2024-02-06 14:44:42 -06:00