Following closely the instructions from the link, and pulling the dhd.ko (wifi module driver) from stock firmware, I managed to recompile the AOSP including the wpa_supplicant.
I fixed the wifi.c, the init.c and
full_emev.mk as suggested and used the stock kernel (which is the one the dhd.ko integrates with).
But, during Android boot now I get this error:
I/SystemServer( 193): Account Manager
I/SystemServer( 193): Content Manager
I/SystemServer( 193): System Content Providers
I/SystemServer( 193): Battery Service
I/SystemServer( 193): Lights Service
I/SystemServer( 193): Vibrator Service
W/dalvikvm( 193): threadid=18: thread exiting with uncaught exception (group=0x40015560)
I/Process ( 193): Sending signal. PID: 193 SIG: 9
E/ActivityThread( 193): Failed to find provider info for settings
E/AndroidRuntime( 193): *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerService
E/AndroidRuntime( 193): java.lang.NullPointerException
E/AndroidRuntime( 193): at android.content.ContentQueryMap.<init>(ContentQueryMap.java:65)
E/AndroidRuntime( 193): at com.android.server.PowerManagerService.initInThread(PowerManagerService.java:616)
E/AndroidRuntime( 193): at com.android.server.PowerManagerService$2.onLooperPrepared(PowerManagerService.java:541)
E/AndroidRuntime( 193): at android.os.HandlerThread.run(HandlerThread.java:59)
E/AndroidRuntime( 193): Error reporting crash
E/AndroidRuntime( 193): java.lang.NullPointerException
E/AndroidRuntime( 193): at android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:288)
E/AndroidRuntime( 193): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:6776)
E/AndroidRuntime( 193): at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:6492)
E/AndroidRuntime( 193): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 193): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 193): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
which I don't understand the reason of. Boot keep cycling over and over. The GUI is never reached, while I see the animated 'android' logo on the screen.
Looking on Google for it a found a few posts telling about clearing the /data partition, which is what I do every time I rebuild Android and reinstall... So, no help.
Anyone here with any idea?
On Friday, 25 May 2012 11:12:33 UTC+2, ffxx68 wrote: