[Sony Ericsson XPERIA X10 Mini] Daveee10:
I try to compile from source for X8...

The older source is good, but the new source isn't...

Rotation sensor, wifi dhcp and the root access dont't work...

Here is the wifi logcat:

E/WifiStateMachine( 1364): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to set ipv6privacyextensions - com.android.server.NativeDaemonConnectorException: Cmd {interface ipv6privacyextensions tiwlan0 enable} failed with code 400 : {Failed to set ipv6 privacy extensions (No such file or directory)}
I/ActivityManager( 1364): Process com.android.providers.calendar (pid 2087) has died.
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00
E/wpa_supplicant( 2467): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8000306, res = -1, errno = 95)
E/wpa_supplicant( 2467): ERROR - Failed to handle rx data filter command!
E/WifiStateMachine( 1364): Failed to set frequency band 0
I/wpa_supplicant( 2467): Trying to associate with d8:5d:4c:a6:06:ba (SSID='Dave's Wifi' freq=2462 MHz)
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=d8:5d:4c:a6:06:ba
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=d8:5d:4c:a6:06:ba
D/Tethering( 1364): sendTetherStateChangedBroadcast 1, 0, 0
I/wpa_supplicant( 2467): Associated with d8:5d:4c:a6:06:ba
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00:00:00:00:00:00
I/wpa_supplicant( 2467): CTRL-EVENT-CONNECTED - Connection to d8:5d:4c:a6:06:ba completed (auth) [id=0 id_str=]
W/NetworkStats( 1364): dropping UID delta from unknown iface: iface=tiwlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=76 txPackets=1 operations=0
I/ActivityManager( 1364): START {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 1635
D/dalvikvm( 1364): GC_CONCURRENT freed 682K, 17% free 9458K/11335K, paused 6ms+14ms
D/memalloc( 1245): /dev/pmem: Allocated buffer base:0x41394000 size:614400 offset:5263360 fd:31
D/memalloc( 1635): /dev/pmem: Mapped buffer base:0x49ff0000 size:5877760 offset:5263360 fd:55
I/Process ( 1364): Sending signal. PID: 1635 SIG: 3
I/dalvikvm( 1635): threadid=3: reacting to signal 3
I/PaulAudioLib( 1248): Enabling post proc features with mask 0x0000
W/AudioFlinger( 1248): write blocked for 639 msecs, 1 delayed writes, thread 0x10f30
I/dalvikvm( 1635): Wrote stack traces to '/data/anr/traces.txt'
D/memalloc( 1245): /dev/pmem: Allocated buffer base:0x41394000 size:614400 offset:5877760 fd:43
D/memalloc( 1635): /dev/pmem: Mapped buffer base:0x4a58c000 size:6492160 offset:5877760 fd:61
I/ActivityManager( 1364): Displayed com.android.settings/.SubSettings: +789ms
D/OpenGLRenderer( 1635): Flushing caches (mode 0)
D/memalloc( 1635): /dev/pmem: Unmapping buffer base:0x49360000 size:2764800 offset:2150400
D/memalloc( 1635): /dev/pmem: Unmapping buffer base:0x49abc000 size:3952640 offset:3338240
D/dalvikvm( 1635): GC_CONCURRENT freed 495K, 12% free 7249K/8199K, paused 4ms+8ms
D/memalloc( 1635): /dev/pmem: Unmapping buffer base:0x49754000 size:1576960 offset:962560
D/memalloc( 1245): /dev/pmem: Freeing buffer base:0x415a1000 size:614400 offset:2150400 fd:34
D/memalloc( 1245): /dev/pmem: Freeing buffer base:0x416c3000 size:614400 offset:3338240 fd:40
D/memalloc( 1245): /dev/pmem: Freeing buffer base:0x4147f000 size:614400 offset:962560 fd:28
D/memalloc( 1245): /dev/pmem: Allocated buffer base:0x41394000 size:614400 offset:962560 fd:28
D/memalloc( 1635): /dev/pmem: Mapped buffer base:0x49360000 size:1576960 offset:962560 fd:43
I/PaulAudioLib( 1248): disabling post proc features with mask 0x0000
E/DhcpStateMachine( 1364): DHCP failed on tiwlan0: Timed out waiting for DHCP to finish
E/WifiStateMachine( 1364): IP configuration failed
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:00:00:00:00:00
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00
D/CommandListener( 1242): Clearing all IP addresses on tiwlan0
E/wpa_supplicant( 2467): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8021501, res = -1, errno = 95)
E/wpa_supplicant( 2467): ERROR - Failed to do tista scan!
W/wpa_supplicant( 2467): Failed to initiate AP scan.
I/wpa_supplicant( 2467): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/DhcpStateMachine( 1364): DHCP failed on tiwlan0: DHCP result was failed
D/Tethering( 1364): InitialState.processMessage what=4
D/Tethering( 1364): sendTetherStateChangedBroadcast 0, 0, 0
D/ConnectivityService( 1364): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 1364): Attempting to switch to mobile
D/ConnectivityService( 1364): Attempting to switch to BLUETOOTH_TETHER
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00
I/wpa_supplicant( 2467): Trying to associate with d8:5d:4c:a6:06:ba (SSID='Dave's Wifi' freq=2462 MHz)
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=d8:5d:4c:a6:06:ba
D/Tethering( 1364): sendTetherStateChangedBroadcast 1, 0, 0
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=d8:5d:4c:a6:06:ba
I/wpa_supplicant( 2467): Associated with d8:5d:4c:a6:06:ba
I/wpa_supplicant( 2467): CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00:00:00:00:00:00
I/wpa_supplicant( 2467): CTRL-EVENT-CONNECTED - Connection to d8:5d:4c:a6:06:ba completed (reauth) [id=0 id_str=]
E/dhcpcd ( 2476): /system/etc/dhcpcd/dhcpcd-run-hooks: No such file or directory
W/NetworkStats( 1364): dropping UID delta from unknown iface: iface=tiwlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=32 rxPackets=1 txBytes=308 txPackets=5 operations=0
D/Tethering( 1364): MasterInitialState.processMessage what=3
D/ConnectivityService( 1364): handleInetConditionChange: no active default network - ignore

I don't understand this line:

E/dhcpcd ( 2476): /system/etc/dhcpcd/dhcpcd-run-hooks: No such file or directory

I think the problem is this line...

BUT! The file is exists....

The sensor in the older version dont't work, but i change the sensorservice.so and sensor.delta.so to sensor.default.so, so the sensor working... But now i do anything, the sensor don't work...

Any idea these problems?

Upd.:

Fixes:

Rotation sensor:

https://github.com/CyanogenMod/andr...mmit/a59ff8f9724cabf4c451fbe88f0d96b9aa5ba4cd

if you re-add the removed lines, the rotation is working good...

Screen bug: (Thx.: stelios97)

Add to the /device/semc/shakira/system.prop file this lines:

# Fix screen problems
hwui.render_dirty_regions=false
hwui.disable_vsync=true
hwui.print_config=choice
debug.gr.numframebuffers=2