ma1co / OpenMemories-Tweak

Unlock your Sony camera's settings
MIT License
1.17k stars 113 forks source link

[request] change of wifi AP SSID #274

Open msmuenchen opened 6 years ago

msmuenchen commented 6 years ago

On (at least) the A7S2, the embedded wifi access point for smartphone sharing seems to be controlled by these backup.bin setting IDs:

/ # bk.elf  r 0x013e0018
id:013e0018 size:33 data:
44,49,52,45,43,54,2D,57,47,45,30,3A,49,4C,43,45,2D,37,53,4D,32,00,00,00,00,00,00,00,00,00,00,00,
00,
/ # bk.elf  r 0x013e0006
id:013e0006 size:200 data:
44,49,52,45,43,54,2D,57,47,45,30,3A,49,4C,43,45,2D,37,53,4D,32,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,42,4C,68,6E,33,79,48,32,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,
/ # bk.elf  r 0x013e0016
id:013e0016 size:9 data:
42,4C,68,6E,33,79,48,32,00,

0x16 is the password, 0x18 the SSID, and 0x06 seems to be a combination of both + an unknown checksum. I would advise everyone to back up the original values - I believe the lone 0x04 byte is a checksum of some kind, and if you change any of the three values, run bk.elf s, and reboot, then the smartphone sharing will fail with "System Failure" and halt the system in a way that forces to remove the battery.

In addition, at 0x013e0027 there is the DHCP daemon's lease file.

If anyone knows

I would be very thankful.

mungewell commented 6 years ago

WRT the WiFi ESSID/Password, I worked out how to encode these on the AS100, see here: https://github.com/ma1co/Sony-PMCA-RE/issues/54

Simon