Commit Graph

459 Commits

Author SHA1 Message Date
Cossid
a9e84b6556 Don't fail when failing to extract storage, as it isn't always needed, just print a message. 2025-12-08 20:46:54 -06:00
Cossid
c2b105deb2 Add readme note/FAQ link for dual-OTA profiles. 2025-12-08 20:25:10 -06:00
Cossid
32bfc2256f Add extra logging to decrypt failure. 2025-12-06 13:39:02 -06:00
Cossid
b983ad99b6 Update readme 2025-12-06 12:46:43 -06:00
Cossid
c50d86f1d2 Add RTL8710BN to supported devices list. 2025-12-05 21:04:35 -06:00
Cossid
f932253395 Add unsupported devices section with links to know patched versions.
Add BK7231T patch pattern.
2025-12-05 19:20:33 -06:00
Cossid
ee3487307e Update custom-firmware readme, add OpenRTL8710B UG 2025-12-05 17:25:30 -06:00
Cossid
5f49c0a752 Use proper bit checking for active partition on extract_rtl8720cf.py 2025-12-04 22:37:43 -06:00
Cossid
eb8ae77e9c Update haxomatic for RTL8710BN SDK 2.3.0 2025-12-03 23:41:28 -06:00
Cossid
2fa13fa027 Beginning prep for firmware verification. 2025-12-02 23:55:09 -06:00
Cossid
e84020dca9 Remove rest of passwd2 code. 2025-12-02 21:59:07 -06:00
Cossid
cf027f64be extra debugging 2025-12-02 19:49:30 -06:00
Cossid
721263c0dd Fix a typo 2025-12-02 19:48:25 -06:00
Cossid
963b21a8b9 move ota identifier before version to be consistent. 2025-12-01 20:59:15 -06:00
Cossid
9ad392d5b0 and another 2025-12-01 19:49:44 -06:00
Cossid
2683861c2d add another device class search key 2025-12-01 19:46:11 -06:00
Cossid
59c09492a1 Add generating profile for both OTA slots
Remove passwd2 since it isn't currently used.
2025-12-01 19:22:38 -06:00
Cossid
3f84b8a6bf Rough first draft of RTL8710BN profile-building. 2025-12-01 18:33:19 -06:00
Cossid
460dc32c06 fix grep 2025-11-30 23:11:20 -06:00
Cossid
747d2f03f3 Initial rtl8710bn support, allow a new gateway/AP ip range. 2025-11-30 23:00:48 -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