android-wifi-upgrade icon indicating copy to clipboard operation
android-wifi-upgrade copied to clipboard

WifiConfigStore.xml resetting to default

Open whitedevil-tmp opened this issue 1 year ago • 1 comments

I'm on android 10, my "WifiConfigStore.xml" located at "/data/misc/wifi" is resetting to default empty value I didn't have "WifiConfigStore.xml.encrypted-checksum" in that folder instead my WifiConfigStore contained

<Integrity>
<byte-array name="EncryptedData" num="48">8ccac92593b39c95003ada4f8b6550cf0f7d4b6abdb233ae14ffe3056992bc3d3ee1a0cc7f38ab26a361a5efd158301f</byte-array>
<byte-array name="IV" num="12">8197725fabe7fafd323c33b8</byte-array>
</Integrity>

default WifiConfigStore.xml

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<WifiConfigStoreData>
<int name="Version" value="2" />
<Integrity>
<byte-array name="EncryptedData" num="48">2ec97dfc559abeb8a188285ff3c83963a3459d424999da1724333921b88ff7f20af132eac72971b17fd3b5549926e676</byte-array>
<byte-array name="IV" num="12">7d532dd57a96515b29b6d2f7</byte-array>
</Integrity>
<NetworkList />
<MacAddressMap>
<map name="MacMapEntry" />
</MacAddressMap>
<PasspointConfigData>
<long name="ProviderIndex" value="0" />
</PasspointConfigData>
</WifiConfigStoreData>

whitedevil-tmp avatar Jul 14 '24 05:07 whitedevil-tmp

Interesting; did you try removing that <Integrity> section and see if the WifiConfigStore.xml gets accepted then?

(Also, what manufacturer/phone is that, if you could share that information?)

mnalis avatar Jul 14 '24 21:07 mnalis