niceboygithub / AqaraSmartSwitchS1E

Everything about Aqara Smart Switch S1E
Apache License 2.0
123 stars 14 forks source link

root password lost after reboot S1E switch #25

Open hen6e opened 3 months ago

hen6e commented 3 months ago

Dear author,

At firmweare 2.2, after instruction of enabling telnet, everything works well, but root password. By running "passwd root", it give response as below: image After rebooting, root password become empty again.

Thanks

niceboygithub commented 3 months ago

The modified fw was not allowed to change password.

hen6e commented 3 months ago

Thanks, got it. Is there plan to add changing password feature in next release?

bawanag commented 3 months ago

Hi @hen6e, do you try to short CLK and CS when you are booting? could you please share your short ports? Thanks

hen6e commented 3 months ago

@bawanag Here is my BKM: Shorting CLK to VCC(3.3V) works for me, short CS to VCC may interrupt kernel load but nand0 can not be recognized. I did try many time to make it. 微信图片_20240320120920 微信图片_20240320120931 In short,

  1. power the panel.
  2. wait about 0.5s connect CLK to VCC3V3.
  3. run nand info, nake sure nand0 is reconized, or redo process1 and 2.

BTW, I had re-flash original firmware as modified firmware do not have root password.

totalzzt commented 3 months ago

微信图片_20240324020127 微信图片_20240324020124 微信图片_20240324020112 微信图片_20240324020051 Shorting CS to VCC works for me

bawanag commented 3 months ago

@bawanag Thank you so much @hen6e and @totalzzt I will try it later