[HTC One S] chuaniyang:
Wifi issue

I still got wifi error after Install 2.1 Full ROM

my device info

OneS S4 EU Ver S-OFF

HBOOT 2.15 -> 1.09

RADIO 1.11 -> 1.06

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

here is my instruction

1. do Full wipe

2. flash kernel clean script

3. install this ROM

4. reboot

5. reboot to recovery and wipe cache

6. reboot to system -> got wifi error

7. reboot to recovery and flash wifi_fix

8. reboot to system -> got wifi error

9. change HBOOT to 1.09/RADIO to 1.06

10. reboot to recovery and wipe cache

11. reboot to system -> got wifi error

12. reboot to recovery and flash wifi partition

13. reboot to system -> got wifi error

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

Here is the logcat about error part(I think)

D/WifiStateMachine( 1055): setWifiState: enabling

D/PowerManagerService( 1055): acquireWakeLock(415cca68): PARTIAL_WAKE_LOCK , tag=WifiStateMachine, flags=0x1, pid=1055, uid=1000, mUserState=0x3

D/WirelessDisplayService( 1055): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1

D/WIFI_ICON( 1565): updateWifiState: action=android.net.wifi.WIFI_STATE_CHANGED enabled=false

E/WifiStateMachine( 1055): Failed to load driver!

D/WifiStateMachine( 1055): setWifiState: unknown state

D/WirelessDisplayService( 1055): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1

D/StatusBar.NetworkController( 1565): dumpIconState[dataVisible=false dataIconId=stat_sys_sim_lock signalIconId=stat_sys_5signal_4 wifiVisible=false wifiIconId=(null) airplaneMode=false]

D/WIFI_ICON( 1565): updateWifiState: action=android.net.wifi.WIFI_STATE_CHANGED enabled=false

D/StatusBar.NetworkController( 1565): dumpIconState[dataVisible=false dataIconId=stat_sys_sim_lock signalIconId=stat_sys_5signal_4 wifiVisible=false wifiIconId=(null) airplaneMode=false]

D/StateMachine( 1055): handleMessage: E msg.what=131076

D/StateMachine( 1055): processMsg: DriverLoadingState

D/WifiStateMachine( 1055): DriverLoadingState{ what=131076 when=-1ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): transitionTo: destState=DriverFailedState

D/StateMachine( 1055): handleMessage: new destination call exit

D/StateMachine( 1055): setupTempStateStackWithStatesToEnter: X mTempStateStackCount=2,curStateInfo: state=SoftApStartedState,active=true,parent=DefaultState

D/StateMachine( 1055): invokeExitMethods: DriverLoadingState

D/StateMachine( 1055): moveTempStackToStateStack: i=1,j=2

D/StateMachine( 1055): moveTempStackToStateStack: i=0,j=3

D/StateMachine( 1055): moveTempStackToStateStack: X mStateStackTop=3,startingIndex=2,Top=DriverFailedState

D/StateMachine( 1055): invokeEnterMethods: DriverUnloadedState

D/WifiStateMachine( 1055): DriverUnloadedState

D/StateMachine( 1055): invokeEnterMethods: DriverFailedState

E/WifiStateMachine( 1055): DriverFailedState

D/StateMachine( 1055): moveDeferredMessageAtFrontOfQueue; what=131083

D/StateMachine( 1055): handleMessage: X

D/StateMachine( 1055): handleMessage: E msg.what=131083

D/StateMachine( 1055): processMsg: DriverFailedState

D/WifiStateMachine( 1055): DriverFailedState{ what=131083 when=-1m57s909ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): processMsg: DriverUnloadedState

D/WifiStateMachine( 1055): DriverUnloadedState{ what=131083 when=-1m57s910ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): processMsg: SoftApStartedState

D/WifiStateMachine( 1055): SoftApStartedState{ what=131083 when=-1m57s911ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): processMsg: DefaultState

D/WifiStateMachine( 1055): DefaultState{ what=131083 when=-1m57s912ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): handleMessage: X

D/PowerManagerService( 1055): releaseWakeLock(415cca68): PARTIAL_WAKE_LOCK , tag=WifiStateMachine, flags=0x1

D/PowerManagerService( 1055): acquireWakeLock(4181dfc0): PARTIAL_WAKE_LOCK , tag=AlarmManager, flags=0x1, pid=1055, uid=1000, mUserState=0x3

V/AlarmManager( 1055): sending alarm PendingIntent{41bbe620: PendingIntentRecord{41a1f780 android broadcastIntent}}, intent=com.android.server.NetworkTimeUpdateService.action.POLL, type=ELAPSED_REALTIME, count=1, when=118186, repeateInterval=0

D/PowerManagerService( 1055): releaseWakeLock(4181dfc0): PARTIAL_WAKE_LOCK , tag=AlarmManager, flags=0x1

W/CpuWake ( 1055): >>nativeAcquireCpuPerfWakeLock()

W/CpuWake ( 1055): <<nativeAcquireCpuPerfWakeLock()

I/ActivityManager( 1055): START {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras) u=0} from pid 3507

I/Intent ( 1055): @test_code: getHtcIntentFlag: 0 obj: 1098119296

V/UPolicy ( 1055): [Eng]canLogUserProfiling, TellHtc Ui Mode is: normal

D/PowerManagerService( 1055): acquireWakeLock(41c6d780): PARTIAL_WAKE_LOCK , tag=ActivityManager-Launch, flags=0x1, pid=1055, uid=1000, mUserState=0x3

V/UPolicy ( 1055): [Eng]canLogUserProfiling, TellHtc Ui Mode is: normal

D/libc ( 3507): pt_debug : pthread_create->start_routine=0x4093d645, tls=0x56219f00, arg=0x521b8ef0

D/libc ( 3507): pt_debug : __thread_entry->func=0x4093d645

D/libc ( 3507): , tls=0x56219f00, arg=0x521b8ef0

E/Settings:###( 3507): onApplyThemeResource...

I/HTCActionBar( 3507): enableHTCActionBar()

E/HtcPreferenceActivity( 3507): context.getClassLoader(): dalvik.system.PathClassLoader[/system/app/Settings.apk]

E/HtcPreferenceActivity( 3507): context.getPackageName(): com.android.settings

E/HtcPreferenceActivity( 3507): context.getPackageCodePath(): /system/app/Settings.apk

E/HtcPreferenceActivity( 3507): context.getPackageResourcePath(): /system/app/Settings.apk

E/HtcPreferenceActivity( 3507): fragmentName: com.android.settings.wifi.WifiSettings

D/libc ( 3507): pt_debug : pthread_create->start_routine=0x4093d645, tls=0x571b4f00, arg=0x52246a48

D/libc ( 3507): pt_debug : __thread_entry->func=0x4093d645

D/libc ( 3507): , tls=0x571b4f00, arg=0x52246a48

D/WifiStatusReceiver( 3507): Enter Wi-fi Setting

D/vincent ( 3507): enableActionLimit = true

D/libc ( 3507): pt_debug : pthread_create->start_routine=0x51536e31, tls=0x572b4f00, arg=0x5223f538

D/libc ( 3507): pt_debug : __thread_entry->func=0x51536e31

D/libc ( 3507): , tls=0x572b4f00, arg=0x5223f538

D/memalloc( 244): ion: Allocated buffer base:0x43cf3000 size:2088960 fd:79

D/memalloc( 244): ion: Allocated buffer base:0x40344000 size:4096 fd:80

D/memalloc( 3507): ion: Mapped buffer base:0x574b3000 size:2088960 offset:0 fd:90

D/memalloc( 3507): ion: Mapped buffer base:0x51767000 size:4096 offset:0 fd:92

D/memalloc( 244): ion: Allocated buffer base:0x43ef1000 size:2088960 fd:95

D/memalloc( 244): ion: Allocated buffer base:0x4038d000 size:4096 fd:96

D/memalloc( 3507): ion: Mapped buffer base:0x579f3000 size:2088960 offset:0 fd:94

D/memalloc( 3507): ion: Mapped buffer base:0x5178e000 size:4096 offset:0 fd:96

I/ActivityManager( 1055): Displayed com.android.settings/.SubSettings: +138ms

D/memalloc( 244): ion: Allocated buffer base:0x440ef000 size:2088960 fd:99

D/memalloc( 244): ion: Allocated buffer base:0x4001a000 size:4096 fd:100

D/memalloc( 3507): ion: Mapped buffer base:0x57df5000 size:2088960 offset:0 fd:98

D/memalloc( 3507): ion: Mapped buffer base:0x517f7000 size:4096 offset:0 fd:100

D/memalloc( 3507): ion: Unmapping buffer base:0x56eb7000 size:2088960

D/memalloc( 3507): ion: Unmapping buffer base:0x50e21000 size:4096

D/memalloc( 3507): ion: Unmapping buffer base:0x57bf7000 size:2088960

D/memalloc( 3507): ion: Unmapping buffer base:0x5175a000 size:4096

D/memalloc( 3507): ion: Unmapping buffer base:0x572b5000 size:2088960

D/memalloc( 3507): ion: Unmapping buffer base:0x5175b000 size:4096

D/memalloc( 244): ion: Freeing buffer base:0x42710000 size:2088960 fd:76

D/memalloc( 244): ion: Unmapping buffer base:0x42710000 size:2088960

D/memalloc( 244): ion: Freeing buffer base:0x40021000 size:4096 fd:77

D/memalloc( 244): ion: Unmapping buffer base:0x40021000 size:4096

D/memalloc( 244): ion: Freeing buffer base:0x433ad000 size:2088960 fd:91

D/memalloc( 244): ion: Unmapping buffer base:0x433ad000 size:2088960

D/memalloc( 244): ion: Freeing buffer base:0x40345000 size:4096 fd:92

D/memalloc( 244): ion: Unmapping buffer base:0x40345000 size:4096

D/PowerManagerService( 1055): releaseWakeLock(41c6d780): PARTIAL_WAKE_LOCK , tag=ActivityManager-Launch, flags=0x1

D/memalloc( 244): ion: Freeing buffer base:0x431af000 size:2088960 fd:83

D/memalloc( 244): ion: Unmapping buffer base:0x431af000 size:2088960

D/memalloc( 244): ion: Freeing buffer base:0x400ab000 size:4096 fd:87

D/memalloc( 244): ion: Unmapping buffer base:0x400ab000 size:4096

D/PowerManagerService( 1055): acquireWakeLock(416a9358): PARTIAL_WAKE_LOCK , tag=RILJ, flags=0x1, pid=1688, uid=1001, mUserState=0x3

D/PowerManagerService( 1055): releaseWakeLock(416a9358): PARTIAL_WAKE_LOCK , tag=RILJ, flags=0x1

I/HtcModeClient( 1649): handler message = 4011

E/HtcModeClient( 1649): Check connection and retry 12 times.

W/CpuWake ( 1055): >>nativeReleaseCpuPerfWakeLock()

W/CpuWake ( 1055): <<nativeReleaseCpuPerfWakeLock()

D/WifiStateMachine( 1055): WiFiDisplay: getWifidisplayApEnabled=false

D/WifiStateMachine( 1055): WiFiDisplay: getWifidisplayApEnabled=false

D/StateMachine( 1055): handleMessage: E msg.what=131073

D/WifiService( 1055): setWifiEnabled: true pid=3507, uid=1000

D/WifiService( 1055): setWifiEnabledPersist enable=true, persist=true, getCallingPid()=3507

D/StateMachine( 1055): processMsg: DriverFailedState

D/WifiStateMachine( 1055): DriverFailedState{ what=131073 when=-5ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} arg1=2 }

D/StateMachine( 1055): processMsg: DriverUnloadedState

D/WifiStateMachine( 1055): DriverUnloadedState{ what=131073 when=-13ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} arg1=2 }

D/StateMachine( 1055): transitionTo: destState=DriverLoadingState

D/StateMachine( 1055): handleMessage: new destination call exit

D/StateMachine( 1055): setupTempStateStackWithStatesToEnter: X mTempStateStackCount=1,curStateInfo: state=SoftApStartedState,active=true,parent=DefaultState

D/StateMachine( 1055): invokeExitMethods: DriverFailedState

D/StateMachine( 1055): invokeExitMethods: DriverUnloadedState

D/StateMachine( 1055): moveTempStackToStateStack: i=0,j=2

D/WifiService( 1055): STA (mIfWiFiRegBastReceiver:true, mIfWiFiHostpotRegBastReceiver:false)

D/StateMachine( 1055): moveTempStackToStateStack: X mStateStackTop=2,startingIndex=2,Top=DriverLoadingState

D/StateMachine( 1055): invokeEnterMethods: DriverLoadingState

D/WifiStateMachine( 1055): DriverLoadingState

D/libc ( 1055): pt_debug : pthread_create->start_routine=0x4093d645, tls=0x5a229f00, arg=0x50bef678

D/libc ( 1055): pt_debug : __thread_entry->func=0x4093d645

D/libc ( 1055): , tls=0x5a229f00, arg=0x50bef678

D/StateMachine( 1055): handleMessage: X

D/StateMachine( 1055): handleMessage: E msg.what=131083

D/StateMachine( 1055): processMsg: DriverLoadingState

D/WifiStateMachine( 1055): DriverLoadingState{ what=131083 when=-53ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): deferMessage: msg=131083

D/StateMachine( 1055): handleMessage: X

D/PowerManagerService( 1055): acquireWakeLock(41eeaf78): PARTIAL_WAKE_LOCK , tag=WifiStateMachine, flags=0x1, pid=1055, uid=1000, mUserState=0x3

D/WifiStateMachine( 1055): setWifiState: enabling

E/WifiStateMachine( 1055): Failed to load driver!

D/WifiStateMachine( 1055): setWifiState: unknown state

D/StateMachine( 1055): handleMessage: E msg.what=131076

D/StateMachine( 1055): processMsg: DriverLoadingState

D/WifiStateMachine( 1055): DriverLoadingState{ what=131076 when=-1ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): transitionTo: destState=DriverFailedState

D/StateMachine( 1055): handleMessage: new destination call exit

D/StateMachine( 1055): setupTempStateStackWithStatesToEnter: X mTempStateStackCount=2,curStateInfo: state=SoftApStartedState,active=true,parent=DefaultState

D/StateMachine( 1055): invokeExitMethods: DriverLoadingState

D/StateMachine( 1055): moveTempStackToStateStack: i=1,j=2

D/StateMachine( 1055): moveTempStackToStateStack: i=0,j=3

D/StateMachine( 1055): moveTempStackToStateStack: X mStateStackTop=3,startingIndex=2,Top=DriverFailedState

D/StateMachine( 1055): invokeEnterMethods: DriverUnloadedState

D/WifiStateMachine( 1055): DriverUnloadedState

D/StateMachine( 1055): invokeEnterMethods: DriverFailedState

E/WifiStateMachine( 1055): DriverFailedState

D/StateMachine( 1055): moveDeferredMessageAtFrontOfQueue; what=131083

D/StateMachine( 1055): handleMessage: X

D/StateMachine( 1055): handleMessage: E msg.what=131083

D/StateMachine( 1055): processMsg: DriverFailedState

D/WifiStateMachine( 1055): DriverFailedState{ what=131083 when=-2m0s734ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): processMsg: DriverUnloadedState

D/WifiStateMachine( 1055): DriverUnloadedState{ what=131083 when=-2m0s736ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): processMsg: SoftApStartedState

D/WifiStateMachine( 1055): SoftApStartedState{ what=131083 when=-2m0s738ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): processMsg: DefaultState

D/WifiStateMachine( 1055): DefaultState{ what=131083 when=-2m0s743ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {418b6ee0} }

D/StateMachine( 1055): handleMessage: X

D/PowerManagerService( 1055): releaseWakeLock(41eeaf78): PARTIAL_WAKE_LOCK , tag=WifiStateMachine, flags=0x1

D/WirelessDisplayService( 1055): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1

D/WIFI_ICON( 1565): updateWifiState: action=android.net.wifi.WIFI_STATE_CHANGED enabled=false

D/StatusBar.NetworkController( 1565): dumpIconState[dataVisible=false dataIconId=stat_sys_sim_lock signalIconId=stat_sys_5signal_4 wifiVisible=false wifiIconId=(null) airplaneMode=false]

D/WirelessDisplayService( 1055): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1

D/WIFI_ICON( 1565): updateWifiState: action=android.net.wifi.WIFI_STATE_CHANGED enabled=false

D/StatusBar.NetworkController( 1565): dumpIconState[dataVisible=false dataIconId=stat_sys_sim_lock signalIconId=stat_sys_5signal_4 wifiVisible=false wifiIconId=(null) airplaneMode=false]