logo elektroda
logo elektroda
X
logo elektroda

How to flash LN882H with open source Tasmota/Esphome style firmware - backup procedure included

p.kaczmarek2 65577 297

TL;DR

  • LN882H modules can be flashed over UART with open-source Tasmota/Esphome-style firmware to free cloud-controlled devices and integrate them with Home Assistant.
  • Wire module TX, RX, GND, 3V3, and BOOT/GPIOA9 to ground, and keep GPIOA9 low throughout the entire flashing process.
  • Backup uses `python LN882H_Flash_Dumper.py COMx flashdump`, and the firmware flash command is `LN882H_CMD_Tool.exe COMx download flash 921000 0x0 flashimage.bin`.
  • After flashing, power-cycle the module, disconnect BOOT from ground, and open 192.168.4.1 to configure it like other OpenBeken/Tasmota-style devices.
  • A reliable external 3.3V supply is recommended because powering directly from the USB-to-UART adapter’s 3.3V pin may fail.
Generated by the language model.
ADVERTISEMENT
📢 Listen (AI):
  • #121 21028703
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14591
    Help: 654
    Rate: 12612
    LittleFS is not currently implemented on the LN882H. If anyone has some time and wants to help, please contact me. Here is an example implementation of LittleFS for BL602, you can use it as a reference:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1159/files
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #122 21028749
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    As far as I know, actually there is no LittleFS in the LN882H images, so you can't store files there.
  • #123 21029981
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    I might try, but only after some progress on the project to do some work on the device time (PR #1152).
    ATM I'm stuck with my limited git knowledge, how to add changes to the different platforms Makefiles.
    And it would be good to have someone willing to test on other platforms, for I only have some LN882H devices...
  • #124 21030726
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14591
    Help: 654
    Rate: 12612
    How may I help you @max4elektroda ?
    To update Makefiles of individual SDKs, you need to open PRs for those SDKs and wait for me to accept it.
    Then you need to run github submodules update to pull those SDKs into your main repo PR.
    I can try to test more or less with other platforms, I guess @DeDaMrAz or @divadiow can help too.
    Helpful post? Buy me a coffee.
  • #125 21030746
    divadiow
    Level 38  
    Posts: 5039
    Help: 438
    Rate: 891
    yes. can test whatever
  • #126 21030953
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    Any help would be great! I would open a new topic for this, so I can explain my idea and how you could help me with some testing.
    So: What would be the correct place to open a "discussion about OpenBeken ideas or changes"?
    Then I can delete this part of my posts to keep this thread "clean" ;-)
  • #127 21030959
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14591
    Help: 654
    Rate: 12612
    No need to delete, just open a new topic and I will do my best to help. Just keep in mind, if you have separate ideas, then open separate topics per each idea.
    Helpful post? Buy me a coffee.
  • #129 21048148
    Piorun2002
    Level 15  
    Posts: 268
    Rate: 25
    >>20956716
    Were you able to upload the firmware to LN882 with this USB2TTL converter?
    I'm asking because this model does not have a voltage selection, so it may damage the chip..
    USB to TTL converter with visible pin labels and D-SUN logo.
    Is additional 3.3v power supply needed?
  • ADVERTISEMENT
  • #130 21048197
    divadiow
    Level 38  
    Posts: 5039
    Help: 438
    Rate: 891
    It may not have a selector but it does have separate 3.3 and 5v fixed outputs?

    Assuming it can feed a module enough current, the 3.3 should do.

    I only ever use external PSU now after too long wondering if flash failures were because of power.
  • #131 21048223
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14591
    Help: 654
    Rate: 12612
    @divadiow wasn't this PR deemed unstable?

    @Piorun2002 I never recommend using this type of USB to UART converter without good external 3.3V LDO (unless you have LDO on the board with the device and you can solder 5V from USB to LDO input). Of course, never flash devices connected to mains! Disconnect all mains voltage first.
    Helpful post? Buy me a coffee.
  • #132 21048226
    Piorun2002
    Level 15  
    Posts: 268
    Rate: 25
    I managed to upload the firmware to switch LN882H connected directly to the above USB2TTL converter, without additional voltage stabilizer and capacitors.
    Transfer speed 115200 (around two minutes)

    MINI Smart Switch label with technical information about the device.
  • #133 21048268
    divadiow
    Level 38  
    Posts: 5039
    Help: 438
    Rate: 891
    p.kaczmarek2 wrote:
    wasn't this PR deemed unstable


    Yes. This is true. I do remember thinking/ hoping it was worth a shot though when I didn't have any other power options. @Piorun2002 got lucky I guess. Best to invest a small amount in an external power supply still though.
  • #134 21048274
    Advian1
    Level 7  
    Posts: 41
    Rate: 1
    divadiow wrote:
    @Piorun2002 got lucky I guess. Best to invest a small amount in an external power supply still though.

    I've flashed 2 LN devices and 3 beken devices with ch340 adapter.
    Didn't need external power for any of those.
  • #135 21048383
    divadiow
    Level 38  
    Posts: 5039
    Help: 438
    Rate: 891
    fair enough!
  • #136 21048395
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14591
    Help: 654
    Rate: 12612
    Well, on the other hand, we already had reports on forum saying "flashing stops at 75%" or "I flashed but AP does not show up" and using 3.3V directly from USB to UART converter was the culprit.. so it depends
    Helpful post? Buy me a coffee.
  • #137 21050021
    Advian1
    Level 7  
    Posts: 41
    Rate: 1
    p.kaczmarek2 wrote:
    Well, on the other hand, we already had reports on forum saying "flashing stops at 75%" or "I flashed but AP does not show up" and using 3.3V directly from USB to UART converter was the culprit.. so it depends


    may be the adapter I'm using, is capable of providing more power than usual.
    It can turn on wifi, but it can't turn on relay while powered through the adapter only.

    Offtopic: can you help me figure out how I can show the internal temp in home assistant?

    offtopic 2: do you accept btc? would like to do a small donation.
  • ADVERTISEMENT
  • #138 21050987
    ElektroTechnikus
    Level 8  
    Posts: 22
    Help: 2
    Rate: 5
    @Advian1

    I have also experienced erratic behaviour when flashing or testing afterwards when relying on my CH340 adapter as a power supply. But there are very different ones out in the wild...

    My solution is an old wall-wart with 9 to 12 V and a typical breadbord power supply that makes 3.3 and 5 volts out of it. It also has its own switch, which is useful for resetting the SoC without any fiddling.

    Image of a breadboard with a connected power supply and circuit.

    The fact that the relays do not work in this way may also be due to them not being operated with 3.3 volts but with 5 volts or more. Then besides a SPS normally there is an analoguous voltage regulator on the board and some driver IC, FET or BJT.
  • #139 21051074
    divadiow
    Level 38  
    Posts: 5039
    Help: 438
    Rate: 891
    p.kaczmarek2 wrote:
    @divadiow wasn't this PR deemed unstable?


    I somehow didn't link this reply to my post about the powersave PR! (yes, I know you said "PR"!!)

    anyway, I don't recall any instability on my part. https://www.elektroda.com/rtvforum/topic4028087-90.html#21022196

    Can we extract the powersave related posts from this one thread to make a new single-focussed thread?

    @max4elektroda @rufus4 what are your latest thoughts? could you rerun this PR https://github.com/openshwprojects/OpenBK7231T_App/pull/1143 @p.kaczmarek2 please so we have this fix included? https://github.com/openshwprojects/OpenBK7231T_App/pull/1180

    I'd happily retest it all.
  • #140 21051215
    rufus4
    Level 11  
    Posts: 65
    Rate: 9
    @divadiow
    Sorry, I was focused to some other things the last days. So I didn`t see that there where changes done.
    For shure I like to test this. But which version shall we flash, 1.17.545 or the latest 1.17.551?
  • #142 21051307
    rufus4
    Level 11  
    Posts: 65
    Rate: 9
    For me it didn`t change much. Refreshing gui page takes still quiet a while and I cant say if this is better or same as before.
    But there are still a few things to do. Like PowerSave is not starting through startup command text.

    ups... flashed the wrong device! I will have a other try.

    Added after 3 [hours] 16 [minutes]:

    Trying to ota flash my LSPA9 with WL2S board from 1.17.530 to 1.17.545 without any success. OTA does not work anymore. ...very strange....

    Added after 50 [minutes]:

    Found the problem. Web-App does download the non OTA files!
  • ADVERTISEMENT
  • #144 21051639
    rufus4
    Level 11  
    Posts: 65
    Rate: 9
    All right... finally I can give valuable feedback. ;)
    -updated LSPA9 with WL2S board from 1.17.530 to 1.17.545
    -the web gui reacts much faster in both modes PowerSave 0 and PowerSave 1
    (only for information: powersave 1 auto start and DHT22 does not work yet)


    Added after 3 [minutes]:

    @divadiow
    thanks for caring about these things! :thumbs_up
  • #145 21051663
    divadiow
    Level 38  
    Posts: 5039
    Help: 438
    Rate: 891
    rufus4 wrote:
    thanks for caring about these things! :thumbs_up


    aw! I do, not that I'm capable of anything particularly deep.
  • #146 21051684
    rufus4
    Level 11  
    Posts: 65
    Rate: 9
    I don't know where to post, so I do it right here.

    If it would help to a software developer wished to have a LSP9A WL2S LN882HKI BL0937 flashed already to OBK to test his invented changes. I would spend one of those devices for free within Europe. (England may be difficult because taxes)

    Added after 2 [minutes]:

    divadiow wrote:
    aw! I do, not that I'm capable of anything particularly deep.

    anyway, thanks :)
  • #147 21051948
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    divadiow wrote:
    @max4elektroda @rufus4 what are your latest thoughts?

    Thanks for reminding me about PR https://github.com/openshwprojects/OpenBK7231T_App/pull/1143

    Starting the device with "PowerSave 1" leads to WiFi not connecting in my case (it's o.k. to start "PowerSave 1" later).
    Current drawn on a sole module drops to ~40 mA (from ~ 55 mA as measured #101.
    Up to now I didn't flash my plug to see if power measurement with BL0937

    Added after 23 [minutes]:

    It doesn't seem to work with the interrupts and BL0937 - the values reported are "rubbish" - displaying 125 - 145 V instead of ~230 ...
  • #148 21052007
    rufus4
    Level 11  
    Posts: 65
    Rate: 9
    max4elektroda wrote:
    It doesn't seem to work with the interrupts and BL0937 - the values reported are "rubbish" - displaying 125 - 145 V instead of ~230 ...

    strange... On my device with WL2S PowerSave1 is working together with BL0937, values are correct, but it does not start at all after boot with autostart. (FW 1.17.545)
  • #149 21052031
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    Its also working for me with the release image.

    The tests above are made with the pull request mentioned, this one is using a more rigid powersave mode, if I got it right...
📢 Listen (AI):

Topic summary

✨ The discussion focuses on flashing LN882H modules with open-source firmware similar to Tasmota/Esphome, enabling cloud-free operation and integration with Home Assistant. Flashing requires a USB to UART converter with reliable 3.3V power supply, connecting module TX to UART RX, RX to TX, GND to GND, and 3.3V to 3.3V. Users report challenges including access to the BOOT pin, interference from board components on RX/TX lines, and the necessity of short wiring to ensure stable flashing. Various USB to UART converters (CH340, FT232RL, PL2303, CP2101) have differing success rates; CH340 and CP2101 are recommended over some FTDI and PL2303 adapters. Correct baud rate (115200) and running the flashing tool from non-system drives (e.g., D:) improve success. The LN882H_CMD_Tool is used for flashing and dumping firmware; flashing requires power cycling and keeping BOOT grounded during operations. Users successfully dumped firmware but often encountered "Fail. Error downloading file" during flashing, resolved by adjusting baud rate, shortening cables, and using compatible USB-UART adapters.

Power-saving features are under active development; enabling PowerSave mode reduces power consumption and device temperature but may cause WiFi connection issues in some firmware versions. PowerSave commands can be set via startup commands or command tool, with better effect when applied directly via command tool. Temperature monitoring shows LN882H devices run hot (up to 74°C) without load, improved by PowerSave mode. Integration with energy metering (BL0937) is affected by PowerSave due to interrupt handling. Static IP assignment is currently unimplemented in firmware. DHT sensor support is partially implemented; drivers require manual start commands, and pin mapping must be correct. NTP client requires manual driver start and supports server IP configuration via commands. Safe mode can be triggered by power cycling to reset device settings. Firmware and tools are evolving with ongoing commits addressing power management, filesystem (LittleFS), and device stability.

Overall, flashing LN882H modules demands careful hardware setup, compatible USB-UART adapters, correct flashing parameters, and power cycling. Firmware features like power saving, sensor support, and network configuration are improving but still have limitations. Community contributions and testing continue to enhance LN882H open-source firmware usability and integration.
Generated by the language model.

FAQ

TL;DR: Need to flash LN882H and keep a recovery path? Use 5 wires and keep BOOT low; as one expert put it, "BOOT is like IO0". First dump the original flash, then write the regular firmware binary over UART, usually at 115200 baud if higher speeds fail. This FAQ is for OpenBeken/OpenLN882H users who need a practical flash, backup, OTA, and recovery workflow. [#20923772]

Dlaczego to ma znaczenie: LN882H can run cloud-free firmware, but success depends more on wiring discipline, baud rate, and power cycling than on the chip itself.

Opcja Typowe użycie Co działało w praktyce Główne ryzyko
LN882H_CMD_Tool.exe Flashowanie UART w Windows Często ruszało po zmianie na 115200 Błąd Fail. Error downloading file.
LN882H_Flash_Dumper.py Backup flash i OTP Tworzy dump przed zmianą firmware Długi odczyt, wymaga poprawnego BOOT
OTA z Web App Aktualizacja już działającego OBK Chrome/Chromium działały stabilniej niż Firefox Firefox mógł wywołać crash OTA
BK7231GUIFlashTool Nowsze narzędzie GUI Wspierane dla LN882H od aktualizacji 2026 Nadal wymaga tego samego okablowania

Najważniejszy wniosek: Najczęstsza przyczyna nieudanego flashowania LN882H nie była w module, tylko w procedurze: BOOT musi pozostać niski, po każdej próbie trzeba odłączyć i podłączyć zasilanie, a zejście do 115200 baud często rozwiązywało zapis. [#20958664]

Quick Facts

  • LN882H flashuje się przez UART podobnie do ESP8266: potrzebne są połączenia TX, RX, GND, 3.3V i BOOT/GPIOA9, a GPIOA9 musi pozostać w stanie niskim przez cały proces. [#20905518]
  • W praktyce zapis przy 2,000,000 baud często kończył się błędem, a kilka osób potwierdziło sukces dopiero po przejściu na 115200 baud. [#20958664]
  • PowerSave na LN882H potrafił mocno obniżyć temperaturę: w jednym teście spadek wyniósł z 64.0°C do 36.0°C po PowerSave 2, kosztem większych opóźnień sieciowych. [#21055421]
  • LittleFS jest systemem plików flash, który przechowuje pliki i skrypty, z odpornością na restart oraz małym narzutem pamięci. Na LN882H dodanie LittleFS zwiększało rozmiar binarki o około 42 KB. [#21069454]
  • OTA na LN882H bywało niestabilne w Firefox; po naprawce przetestowano poprawny update z buildu 1441_merge_6d6a6086fa18 do OpenLN882H_1.17.789_OTA.bin właśnie w Firefox 132.0.2. [#21332121]

How do I flash an LN882H module over UART and make a full backup of the original firmware first?

Flashowanie i backup robi się w dwóch etapach. 1. Podłącz TX↔RX, RX↔TX, GND, 3.3V oraz BOOT/GPIOA9 do GND. 2. Zrób kopię poleceniem python LN882H_Flash_Dumper.py COMx flashdump; narzędzie zapisze dump flash i OTP. 3. Wgraj nowy firmware poleceniem LN882H_CMD_Tool.exe COMx download flash 921000 0x0 flashimage.bin, a po zakończeniu odłącz BOOT od masy i zrestartuj zasilanie. Po starcie urządzenie wystawia AP na 192.168.4.1. [#20905518]

What is the BOOT pin on LN882H, and why does GPIOA9 have to stay low during the whole flashing process?

BOOT na LN882H to pin wejścia do bootloadera, a w praktyce jest nim GPIOA9. Musi pozostać niski przez cały proces, bo tylko wtedy układ pozostaje w trybie programowania; autor porównał go wprost: „BOOT is like IO0.” Odłączenie BOOT w trakcie potrafi przerwać procedurę lub zablokować kolejną próbę do czasu pełnego odcięcia zasilania. Dlatego BOOT zwiera się do GND przed podaniem zasilania i trzyma nisko do końca flashowania. [#20923772]

Why does LN882H_CMD_Tool show "Fail. Error downloading file." and what fixes actually worked, like using 115200 baud, shorter wires, or a different USB-to-TTL adapter?

Najczęściej ten błąd znikał po zmianie parametrów transmisji i procedury zasilania. Skuteczne poprawki to: użycie 115200 zamiast 2000000, skrócenie przewodów, pełne odłączenie zasilania i USB-TTL po każdej nieudanej próbie oraz podmiana adaptera USB-UART. Pomagało też upewnienie się, że wgrywany jest zwykły plik binarny, a nie plik OTA. Kilku użytkowników potwierdziło, że samo ustawienie 115200 natychmiast rozwiązało Fail. Error downloading file. [#20996463]

Which USB-to-UART adapters work best for LN882H flashing, and how do CH340, CP2101, FT232RL, PL2303, and NodeMCU compare in practice?

Najlepiej wypadały adaptery CH340 i CP2101, ale LN882H bywa wybredny. W wątku potwierdzono sukces na CH340, CP2101, adapterach FTDI w części konfiguracji oraz nawet na NodeMCU ESP8266 z CH340. FT232RL działał u jednych, a u innych nie; PL2303 też działał, ale częściej zgłaszano z nim problemy. Jeden użytkownik potwierdził, że LN882H można było flashować przez NodeMCU z CH340, a inny odzyskał stabilność dopiero po przejściu z FTDI na CH430/CH340. [#20958756]

What is LittleFS in OpenBeken/OpenLN882H, and what features depend on it on the LN882H platform?

LittleFS to system plików w pamięci flash, potrzebny do plików takich jak autoexec.bat, skryptów i funkcji opartych o lokalny storage. Na początku LN882H go nie miał, więc przycisk „List Filesystem” nic nie pokazywał, a tworzenie plików nie działało realnie. Po późniejszym wdrożeniu potwierdzono, że pliki przetrwały kilka aktualizacji OTA. Dodanie LittleFS zwiększało rozmiar binarki LN882H o około 42 KB, ale odblokowywało skrypty i trwałe pliki konfiguracyjne. [#21069454]

How can I flash an LN882H module without desoldering it from the PCB, and what board connections can interfere with RX, TX, or BOOT access?

Da się flashować bez wylutowania, jeśli masz fizyczny dostęp do BOOT i nic nie obciąża linii RX/TX. Problemem bywają przyciski, kondensatory debounce, ścieżki do innych układów lub trudny dostęp do samego BOOT. W takich przypadkach trzeba czasem przeciąć ścieżkę, usunąć kondensator albo bardzo precyzyjnie dolutować cienki przewód tylko na czas programowania. W wątku potwierdzono też przypadek, gdzie moduł LN-02 udało się zaprogramować in-circuit bez wylutowania i bez cięcia RX/TX. [#20924089]

What’s the difference between the regular LN882H firmware binary and the OTA file, and which one should be used for UART flashing versus Web App updates?

Do UART używa się zwykłego pliku binarnego, a do aktualizacji przez Web App używa się pliku OTA. Pomylenie ich jest częstą przyczyną błędów flashowania. Wprost zalecono: wybierz poprawny plik binarny do flashowania, nie plik OTA. Ta różnica wracała też przy Web App, gdzie użytkownicy trafiali na nie-OTA pliki i update nie przechodził. Reguła jest prosta: UART = pełny bin, Web App = OTA.bin. [#20955856]

How do I recover an LN882H device when I can no longer access the web UI, including safe mode, erase commands, and reflashing original firmware?

Najpierw spróbuj safe mode przez 5 szybkich cykli zasilania. 1. Wyłącz i włącz urządzenie 5 razy z krótką przerwą. 2. Po wejściu w safe mode połącz się z AP i popraw konfigurację. 3. Jeśli to nie pomoże, użyj LN882H_CMD_Tool.exe COM# flash erase_all albo wgraj z powrotem oryginalny firmware z backupu. W jednym przypadku dopiero reflashing oryginalnego firmware przywrócił dostęp do sieci domowej, gdy urządzenie po zmianach nie wracało do UI. [#21021640]

Why does changing the MAC address on some LN882H devices make them disappear from the network, and how can I verify the new IP afterward?

Po zmianie MAC urządzenie zwykle dostaje nowy lease DHCP, więc znika spod starego adresu IP. Samo ustawienie MAC może działać poprawnie, ale po zapisie trzeba szukać nowego IP w routerze albo skanerze sieci. Jeden użytkownik potwierdził zmianę MAC bez problemu i dodał, że trzeba upewnić się, że adres MAC jest prawidłowy, a następnie sprawdzić nowy adres w routerze. Jeśli urządzenie nadal znika, warto wrócić do dumpu i powtórzyć konfigurację od zera. [#20996463]

What is PowerSave on LN882H in OpenBeken, and how do PowerSave 0, 1, and 2 affect temperature, current draw, Wi-Fi stability, and BL0937 energy metering?

PowerSave zmniejsza pobór prądu i temperaturę LN882H, ale wpływa na sieć i pomiar energii. PowerSave 0 to tryb bez oszczędzania. PowerSave 1 obniżał temperaturę i prąd umiarkowanie. PowerSave 2 dawał największy efekt, np. spadek z 64.0°C do 36.0°C, ale podnosił ping do 56–73 ms i mógł psuć pomiary BL0937 oraz powodować reconnecty Wi‑Fi. Dla pojedynczego modułu raportowano też spadek poboru z około 90 mA do 50 mA przy trybie 1 i 35 mA przy trybie 2. [#21064064]

Why doesn’t static IP work on LN882H builds, and what is currently unimplemented in the wifi_init_sta code path?

Static IP nie działał, bo ścieżka LN882H była wtedy po prostu niezaimplementowana. Wprost wskazano funkcję wifi_init_sta(const char* oob_ssid, const char* connect_key, obkStaticIP_t *ip) jako miejsce wymagające aktualizacji w pliku hal_wifi_ln882h.c. Dlatego wpisy statycznego IP były ignorowane, a urządzenie wracało do DHCP. Dopóki ten fragment nie został uzupełniony, jedynym praktycznym obejściem było przypisanie stałego adresu po stronie routera. [#20997185]

How do I start and configure extra drivers like NTP, DHT, SSDP, or Wemo on LN882H, including backlog commands and startup command syntax?

Sterowniki uruchamiasz komendami, a kilka poleceń łączysz przez backlog. Przykład: backlog startDriver ntp; ntp_timeZoneOfs +2 albo backlog startDriver SSDP; startDriver Wemo. NTP wymaga ręcznego startu, a serwer ustawia się komendą ntp_setServer <IP>. DHT był obsługiwany per-pin, ale w części buildów LN882H nie był jeszcze aktywny. Wemo wymagał startu sterownika i sprawdzenia, czy działa endpoint /setup.xml, bo sam komunikat „OK” nie gwarantował wykrycia przez Alexę. [#21028427]

Why does OTA updating LN882H often fail in Firefox but work in Chrome or Chromium, and what was the root cause of the HTTP/OTA crash?

Problem nie leżał w samym pliku OTA, tylko w błędzie obsługi bufora HTTP/OTA po stronie LN882H. Firefox częściej wysyłał nagłówki i payload w układzie, który ujawniał błąd: kod OTA zbierał dane do bufora 4 KB, ale nie sprawdzał poprawnie sytuacji, gdy pojedynczy fragment mógł zapełnić bufor więcej niż raz. To kończyło się zapisem poza pamięcią i crashem wątku HTTP Clie. Po poprawce autorzy potwierdzili udane OTA w Firefox 132.0.2. [#21332121]

What’s the best way to remove or recover a forgotten OpenBeken web password on an LN882H device without losing control of it permanently?

Najpewniejsza metoda to wgranie przez UART builda bez wymuszania hasła albo builda recovery. Wskazano plik http_basic_auth.c i opcję kompilacji bez ALLOW_WEB_PASSWORD, co powoduje akceptację każdego połączenia. Później pojawiła się też wersja recovery: po restarcie i ponad 5 błędnych próbach logowania urządzenie mogło zaproponować pełny reset konfiguracji. To rozwiązanie było traktowane ostrożnie ze względów bezpieczeństwa, więc najbezpieczniejszy pozostaje własny build ratunkowy flashowany przez UART. [#21084206]

How can I flash LN882H from Linux or macOS instead of Windows, and which tools from the thread support that workflow?

Na Linuxie pojawiło się natywne narzędzie LN882Loader, opublikowane jako projekt do flashowania LN882H bez Windows. Wcześniej użytkownicy próbowali Wine, QEMU i VirtualBox z mieszanymi wynikami; GUI pod Windows działało w VM, ale bywało zawodne. Dla Windows później polecano też GUI flash tool, natomiast w samym wątku jedynym jasno wskazanym rozwiązaniem linuksowym był właśnie LN882Loader. Dla macOS nie podano gotowego natywnego narzędzia, więc praktyczna ścieżka z wątku to Linux tool albo Windows VM. [#21376296]
Generated by the language model.
ADVERTISEMENT