-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WB2S wifi plug - Error Couldn't receive packets from device #15
Comments
The opened device has stopped responding to ping since I tried the N (XOR JTAG) profile so I hope I haven't stuffed it up. if I manage to get at the rx1 and tx1 pins would I be able to dump the firmware with a CH340 USB serial device? 3.3v? does it have to be powered separately? |
The board is WB2S, so the only Lightleak profile that could work is BK7231T (that's the chip inside). You can't really break anything with Lightleak, so I'm not sure what's that ping issue about. Maybe it just needs a reboot, or maybe the app is acting up. If you connect RX1 and TX1, yes, you can dump the firmware. Here's a guide for dumping firmware. It should be powered separately, using a regulated 3.3V power supply (connecting the GND lead as well, of course). DO NOT operate it while connected to mains! You risk damaging the device, the adapter, your computer and yourself. |
Did you try finding out what firmware version your device has to see if there are possibly other devices with a compatible firmware? |
That's exactly what I'm trying to find out with lightleak. |
Read the last paragraph of that FAQ entry. There are 2 BK7231T 1.0.7 firmware profiles related to plugs/switches you can try, you should try one device from each (unless the first one works). If you cut and it works, you might not have functionality (profile works, but schema doesn't), but you can flash without issue (flashing doesn't need a schema match). |
OK, it wasn't clear to me tho. I can cut as many times as needed, but can still flash afterwards? but flash is not reversible. Right? |
That is correct, you can cut as many times as you like (until you flash), but you can only flash once (via cloudcutter). You do not need to remove it from the app, that is only a requirement for LightLeak, not CloudCutter. |
So cloudcutter worked without issues, I don't yet have a way to use without the tuya app but as it is a simple on/off plug without sensors as far as I am aware. should be good to just flash using version 1.0.7 and tuya generic like I chose in cut? |
Correct. Then you can use Kickstart & ltchiptool (in combination with kickstart) to get a working base config. |
openbeken can be flashed direct and then configured after? or is that also a 2 step config then flash confugred image? |
Yes, OpenBeken can be configured after flashing, but you'll have to refer to their tools/documentation on how to find that configuration. |
I have mainly tasmota already and so openbeken looks familiar. |
Not really. Once you use CloudCutter, there is only a small chance we can full support the device with full schema verification (it needs to have been activated on Smart Life at some point and not wiped, which your case probably meets). At that point a full backup would also be of a cut device, but sometimes we can piece it together if you A) tell use which profile you used to cut it, and B) are able to dump and upload the storage sections (something Kickstarter can do, and I think there is something in OpenBeken that can as well, I just don't know what). |
I have a second unopened device which as far as I knew was the same chip as they were both from the same shelf in the same store and have the same label, wording a and numbers but in the tuya app this one reports as v1.1.1 and looking at the mac address (50:02:91) it says Espressif Inc. so no wonder lightleak didn't work with that |
I cut using oem-bk7231s-rnd-switch-1.0.7-sdk-2.0.0-30.06.json because it was the 1 of 2 profiles that matched 1.0.7 vervsion number from tuya app. cut completed ok, but I couldn't tell what function it had. I went ahead and flashed openbeken, choosing the same profile. How can I choose a better profile? is the dump I have from the "original" firmware (lightleaked, tuya-cc cut, tuya-cc flashed) (and containing 2 sets of wifi creds) any good to tell me which profile to use? I have another WB2S plug of the same brand and want to use the "correct" profile this time. Itchiptool seems to understand all of the backup firmware better than bk7231flasher. What do these version details represent?
Are these from the "original" original firmware or from the profile I chose to for the cut (and flash)? |
|
Managed to get a bent pin header through the tiny gap under and behind the WB2S board and pressed them against the 3v3,gnd, tx and rx long enough to get a full flash dump from the new un-configured device. |
You can submit the dump to cloudcutter issues page. Cossid will know what to do :) As for this issue, I'll probably keep it open, just so that people know that lightleak has issues 😄 |
Poundland Ultrabrite UK Smart Wifi Plug 20J ST3 (WB2S)
Got the device open but the wifi board labelled WB2S is very close to some capacitors so I only have access to one side.
tried lightleak setup and 2 profiles get further than instant error. the one labelled LightLeak BK7231T and one of the N profiles marked XOR JTAG. Both go through the connection process and report exploitable success and go to the dump screen, but this just spins a while then says " Error Couldn't receive packets from device"
The text was updated successfully, but these errors were encountered: