[Miscellaneous Android Development] tiberian41:
Help please: Serial number/macc address over written.

Hi guys. I recently managed to replace the touch screen on my X5A-G, so I've been testing some roms out, including fun's GB rom. Anyway, at some point my serial number and macc address has been over written. I've tried spoofing the macc address, and I've reflashed with FWDN tool, but that doesn't write the serial or macc to my tab.

FWDN lets me enter my WiFi MAC Address (OUI: 0x[first 6 chars MAC), NIC: 0x(last 6 chars MAC), and over write my serial number, in the FWND tool, but getprop shows the following: [ro.serialno]: []. Also dumpsys wifi shows the following:

DUMP OF SERVICE wifi:

Wi-Fi is disabled

Stay-awake conditions: 0

Internal state:

interface wlan0 runState=Starting

SSID: <none>, BSSID: <none>, MAC: <none>, Supplicant state: UNINITIALIZED, RSSI:

-9999, Link speed: -1, Net ID: -1

ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1 0.0.0.0 dns2 0.0.0.0 DHCP se

rver 0.0.0.0 lease 0 seconds

haveIpAddress=false, obtainingIpAddress=false, scanModeActive=false

lastSignalLevel=-1, explicitlyDisabled=false

Latest scan results:

Locks acquired: 0 full, 0 scan

Locks released: 0 full, 0 scan

Locks held:

X5A-G 4GB

2.1-update 1

2.6.29 root@localhost #157

MID 1.1

Linux localhost 2.6.29 #157 Tue Oct 26 09:37:10 HKT 2010 armv6l unknown

EDIT.

Still no serial or macc in getprop, but after playing about with toggling Airplane mode/shutdown/restart, the WiFi service started on boot a couple of times, and the second time I was able to log into my router, with the following results:

DUMP OF SERVICE wifi:

Wi-Fi is enabled

Stay-awake conditions: 0

Internal state:

interface wlan0 runState=Running

SSID: <none>, BSSID: <none>, MAC: 20.59.A0.06.2A.1E, Supplicant state: SCANNING,

RSSI: -200, Link speed: 1, Net ID: -1

ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1 0.0.0.0 dns2 0.0.0.0 DHCP se

rver 0.0.0.0 lease 0 seconds

haveIpAddress=false, obtainingIpAddress=false, scanModeActive=false

lastSignalLevel=-1, explicitlyDisabled=false

Latest scan results:

BSSID Frequency RSSI Flags SSID

00:26:44:21:80:8d 2437 -43 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] PlusnetWireless

4c:ed:de:0d:b2:b8 2412 -51 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] TALKTALK-0DB2B6

40:4d:8e:40:29:f1 2462 -54 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP]

BTHub3-ZKQC

90:01:3b:23:e8:5a 2437 -67 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] SKY3E859

5c:d9:98:0c:4b:ec 2412 -75 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] TALKTALK-0C4BEC

84:c9:b2:17:87:e8 2412 -76 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] TALKTALK-1787E8

90:01:3b:36:f7:c1 2412 -78 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] SKY6F7C0

5c:d9:98:bb:38:9b 2437 -78 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP]

SKY94511

7c:03:4c:75:1d:18 2437 -84 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP]

SKY51D17

5a:4d:8e:40:29:f3 2462 -52 BTFON

5a:4d:8e:40:29:f2 2462 -53 BTOpenzone

Locks acquired: 0 full, 0 scan

Locks released: 0 full, 0 scan

Locks held:

# dumpsys wifi

dumpsys wifi

Currently running services:

wifi

-------------------------------------------------------------------------------

DUMP OF SERVICE wifi:

Wi-Fi is enabled

Stay-awake conditions: 0

Internal state:

interface wlan0 runState=Running

SSID: PlusnetWireless, BSSID: 00:26:44:21:80:8d, MAC: 20.59.A0.06.2A.1E, Supplic

ant state: COMPLETED, RSSI: -54, Link speed: 65, Net ID: 0

ipaddr 192.168.1.67 gateway 192.168.1.254 netmask 255.255.255.0 dns1 192.168.1.2

54 dns2 0.0.0.0 DHCP server 192.168.1.254 lease 86400 seconds

haveIpAddress=true, obtainingIpAddress=false, scanModeActive=false

lastSignalLevel=3, explicitlyDisabled=false

Latest scan results:

BSSID Frequency RSSI Flags SSID

00:26:44:21:80:8d 2437 -43 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][W

PS] PlusnetWireless

Locks acquired: 0 full, 0 scan

Locks released: 0 full, 0 scan

Locks held:

Connection lasted about half an hour (until reboot), but I couldn't browse in Stock Browser or Dolphin. Getting the connection back isn't straight forward. It can come back after toggling of airplane and rebooting, once, or trying it many times.