seaky / nspanel_pro_roottool_apk

34 stars 0 forks source link

Firmware Updates. Where do we find them in order to be able to update? #1

Open TeDeVPrime opened 1 year ago

TeDeVPrime commented 1 year ago

Hello! i have downloaded the apk and installed it but from what i understand, i need to upload the firmware to nspanel. but there are no instructions where we can find these files

thank you

kosmosnautti commented 5 months ago

FYI, did some digging around on other stuff and stumbled on the licensing details of the eWeLink/Sonoff -app.

The license information is stored in Rockchip vendor storage (/dev/vendor_storage ?). It has different "slots" to store data which are accessed with IDs, and to access this storage the eWeLink dev-app is using their own "ioctrl" library. I don't know how to access this storage via another way, but according to this document there seems to be a Windows-app which can at least do it. There's also some code regarding it in this rktoolkit-repository.

So, in case you want to (I don't know why anybody would) revert back to the Sonoff/eWeLink control panel after you've lost your license data, you need to write a license string to vendor storage slot ID 7, and a product ID to slot ID 8. At a quick peek the control panel app seems to just check if those slots are empty or not, so I'm not sure if anything really validates if the license is correct or not. Could be that it's happy if theres at least something stored in those IDs.

If somebody wants to test this somehow, here are two valid license strings and product IDs: License string Y 1001ea223e 3622bf95-0405-42f3-b72a-b8f315321a2e d0:27:03:4b:04:4e d0:27:03:4b:04:4f SN-RKPX30-NSP-01 195 Product ID 23006700008071

License string Y 1001ed01c8 ad422421-5e64-4459-a914-5bc4c7148da5 d0:27:03:50:c3:62 d0:27:03:50:c3:63 SN-RKPX30-NSP-01 195 Product ID 23013900005543

seaky commented 5 months ago

Yes you right in certain cases when the licenced data has been lost can cause the "rabbit hole" situation. link

But never touch the vendor storage if you are not aware what you are doing eg item 4-5 in slot 7 contains the mac addresses.

Leecavturbo commented 5 months ago

The firmware what you uploaded is corrupt or not compatible with this unit.

Do you really want to upgrade firmware or do you want to sideload apps?

If you want to upgrade fw just download one of them from the google drive above or u can find the link in the manual (frontpage)

Rename file which begins with Coolkit or NSPanel86 to system_update.zip and copy to the proper folder. After the verification it will update the device.

What google drive ? Link please

seaky commented 5 months ago

The firmware what you uploaded is corrupt or not compatible with this unit. Do you really want to upgrade firmware or do you want to sideload apps? If you want to upgrade fw just download one of them from the google drive above or u can find the link in the manual (frontpage) Rename file which begins with Coolkit or NSPanel86 to system_update.zip and copy to the proper folder. After the verification it will update the device.

What google drive ? Link please

" u can find the link in the manual" : https://github.com/seaky/nspanel_pro_roottool_apk?tab=readme-ov-file#where-can-i-download-the-official-update-packages

dpozimski commented 4 months ago

Anyone can share v3.0.0 OTA update ? https://sonoff.tech/product-review/product-insight/sonoff-nspanel-pro-version-update-information-and-faq/

katironni commented 4 months ago

Anyone can share v3.0.0 OTA update ?

https://global-otadl2bsy.coolkit.cc/nspanel-pro/rom/27/CoolKit_Sonoff_480P_20240306_3.0.0-ota.zip