[General Questions and Answers] manfromnn:
Hi! I'm try to port CM10.1 to ZTE V790, ( Qualcomm Snapdragon S1 MSM7225A 1 GHz with Adreno 200, 512 Ram, screen resolution 320х480, stock ICS 4.0.4). I'm compiled it from CM10.1 source code. I'm used configs from ZTE Blade 3(by KonstanT) and fixed up it for my device. Kernel from Balde 3 source work good at the stock firmware on my phone. Also I added configs from "Vanilla kernel" JB(from CodeAurora). I'm took the ICS kernel source from Blade 3 and updated kernel genlock and kgsl drivers.Kernel's config is very similar with cyanogen_atlas40. Compiled rom works, but It looks like that it compiled for resolution 480x800 or higher (but on the phone's screen it displayed correct).When I'm start the firmware it work very slow (when I'm press the settings button phone respond to it only after 10 seconds and so on). I'm think that it problem related with incorrect screen resolution that video driver is issue). I have no idea how to fix it Can you help me? Logcat is attached. View attachment 2615153

03-04 09:23:17.180: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:17.190: V/TAG(449): bug 7643792: fitSystemWindows([0,26][0,0])
03-04 09:23:17.220: V/SipBroadcastReceiver(642): start auto registration
03-04 09:23:17.270: I/keystore(117): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
03-04 09:23:17.290: D/MtpService(766): updating state; isCurrentUser=true, mMtpLocked=false
03-04 09:23:17.300: D/AndroidRuntime(766): Shutting down VM
03-04 09:23:17.300: W/dalvikvm(766): threadid=1: thread exiting with uncaught exception (group=0x41e00930)
03-04 09:23:17.300: W/MountService(449): getVolumeState(/mnt/sdcard2): Unknown volume
03-04 09:23:17.330: E/AndroidRuntime(766): FATAL EXCEPTION: main
03-04 09:23:17.330: E/AndroidRuntime(766): java.lang.RuntimeException: Unable to create service com.android.providers.media.MtpService: java.lang.IllegalArgumentException
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2667)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.app.ActivityThread.access$1600(ActivityThread.java:153)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.os.Handler.dispatchMessage(Handler.java:99)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.os.Looper.loop(Looper.java:137)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.app.ActivityThread.main(ActivityThread.java:5227)
03-04 09:23:17.330: E/AndroidRuntime(766):	at java.lang.reflect.Method.invokeNative(Native Method)
03-04 09:23:17.330: E/AndroidRuntime(766):	at java.lang.reflect.Method.invoke(Method.java:511)
03-04 09:23:17.330: E/AndroidRuntime(766):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
03-04 09:23:17.330: E/AndroidRuntime(766):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
03-04 09:23:17.330: E/AndroidRuntime(766):	at dalvik.system.NativeStart.main(Native Method)
03-04 09:23:17.330: E/AndroidRuntime(766): Caused by: java.lang.IllegalArgumentException
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.os.Parcel.readException(Parcel.java:1429)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.os.Parcel.readException(Parcel.java:1379)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
03-04 09:23:17.330: E/AndroidRuntime(766):	at com.android.providers.media.MtpService.onCreate(MtpService.java:124)
03-04 09:23:17.330: E/AndroidRuntime(766):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2657)
03-04 09:23:17.330: E/AndroidRuntime(766):	... 10 more
03-04 09:23:17.610: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 0000001f
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 7d, Prog: 30000012, Ver: 00040001, Proc: 0000001f
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 7d, Prog: 30000012, Ver: 00040001, Proc: 0000001f
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 7e, Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 7e, Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 0000002d
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 7f, Prog: 30000012, Ver: 00040001, Proc: 0000002d
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 7f, Prog: 30000012, Ver: 00040001, Proc: 0000002d
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 0000002b
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 80, Prog: 30000012, Ver: 00040001, Proc: 0000002b
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 80, Prog: 30000012, Ver: 00040001, Proc: 0000002b
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 81, Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 81, Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 0000002d
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 82, Prog: 30000012, Ver: 00040001, Proc: 0000002d
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 82, Prog: 30000012, Ver: 00040001, Proc: 0000002d
03-04 09:23:17.610: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.610: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 0000002b
03-04 09:23:17.610: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 83, Prog: 30000012, Ver: 00040001, Proc: 0000002b
03-04 09:23:17.620: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:17.620: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 83, Prog: 30000012, Ver: 00040001, Proc: 0000002b
03-04 09:23:17.620: I/ONCRPC(111): Setup RPC Call for task 4021b468
03-04 09:23:17.620: I/ONCRPC(111): oncrpc_xdr_call_msg_start: Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.620: I/ONCRPC(111): xdr_std_msg_send_call: Sent Xid: 84, Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.620: I/ONCRPC(111): xdr_std_msg_send_call: Received Reply Xid: 84, Prog: 30000012, Ver: 00040001, Proc: 00000028
03-04 09:23:17.680: I/Choreographer(564): Skipped 150 frames! The application may be doing too much work on its main thread.
03-04 09:23:17.690: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:17.741: E/libgenlock(112): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x2,err=Connection timed out fd=34)
03-04 09:23:17.741: W/Adreno200-EGLSUB(112): <updater_thread:391>: genlock_lock_buffer GENLOCK_READ_LOCK failed
03-04 09:23:17.741: E/libgenlock(256): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x2,err=Connection timed out fd=25)
03-04 09:23:17.741: W/Adreno200-EGLSUB(256): <updater_thread:391>: genlock_lock_buffer GENLOCK_READ_LOCK failed
03-04 09:23:17.881: W/ServiceWatcher(449): com.google.android.location not found
03-04 09:23:17.911: W/ServiceWatcher(449): com.google.android.location not found
03-04 09:23:17.911: W/ServiceWatcher(449): com.google.android.location not found
03-04 09:23:17.911: W/LocationManagerService(449): no network location provider found
03-04 09:23:17.991: I/ActivityManager(449): Start proc com.android.location.fused for service com.android.location.fused/.FusedLocationService: pid=808 uid=10029 gids={50029, 1028}
03-04 09:23:18.011: W/ServiceWatcher(449): com.google.android.location not found
03-04 09:23:18.011: E/LocationManagerService(449): no geocoder provider found
03-04 09:23:18.061: W/Trace(808): error opening trace file: No such file or directory (2)
03-04 09:23:18.121: I//system/bin/fsck_msdos(107): ** Phase 2 - Check Cluster Chains
03-04 09:23:18.131: I/ONCRPC(111): rpc_handle_rpc_call: for Xid: 3e, Prog: 31000000, Vers: fc37ad5c, Proc: 00000012
03-04 09:23:18.131: I/ONCRPC(111): rpc_handle_rpc_call: Find Status: 0 Xid: 3e
03-04 09:23:18.131: I/ONCRPC(111): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 3e
03-04 09:23:18.201: I/FusedLocation(808): engine started (com.android.location.fused)
03-04 09:23:18.281: D/loc_api_rpc_glue(449): Loc API RPC client initialized.
03-04 09:23:18.281: D/GpsLocationProvider(449): set_capabilities_callback: 7
03-04 09:23:18.281: D/libloc(449): loc_read_gps_conf: using /etc/gps.conf
03-04 09:23:18.291: D/libloc(449): loc_eng_init created client, id = 0
03-04 09:23:18.291: D/libloc(449): loc_eng_ni_init: entered.
03-04 09:23:18.291: D/libloc(449): loc_eng_set_server, type = 1, hostname = supl.google.com, port = 7276
03-04 09:23:18.291: D/libloc(449): loc_eng_set_server, addr = supl.google.com:7276
03-04 09:23:18.291: D/RPC(449): 3000008c:00050000 sending call (XID 1).
03-04 09:23:18.291: D/RPC(449): 3000008c:00050000 received REPLY (XID 1), grabbing mutex to wake up client.
03-04 09:23:18.291: D/RPC(449): 3000008c:00050000 call success.
03-04 09:23:18.301: D/libloc(449): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR
03-04 09:23:18.301: D/RPC(449): 3000008c:00050000 sending call (XID 2).
03-04 09:23:18.301: D/RPC(449): 3000008c:00050000 received REPLY (XID 2), grabbing mutex to wake up client.
03-04 09:23:18.311: D/libloc(449): loc_eng_deferred_action_thread started
03-04 09:23:18.311: D/libloc(449): loc_eng_set_gps_lock mode, client = 0, lock_type = 1
03-04 09:23:18.311: D/libloc(449): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_ENGINE_LOCK
03-04 09:23:18.311: D/loc_api_rpc_glue(449): loc_api_sync_ioctl: select_id = 1, engine busy, waiting...
03-04 09:23:18.311: D/RPC(449): 3000008c:00050000 call success.
03-04 09:23:18.311: D/RPC(449): 3000008c:00050000 sending call (XID 3).
03-04 09:23:18.311: D/RPC(449): 3000008c:00050000 received REPLY (XID 3), grabbing mutex to wake up client.
03-04 09:23:18.311: D/RPC(449): 3000008c:00050000 call success.
03-04 09:23:18.321: D/RPC(449): 3000008c:00050000 received CALL.
03-04 09:23:18.341: D/libloc(449): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR, RPC_LOC_API_SUCCESS
03-04 09:23:18.341: D/libloc(449): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_SET_ENGINE_LOCK, RPC_LOC_API_SUCCESS
03-04 09:23:18.341: D/libloc(449): loc_eng_deferred_action_thread. waiting for events
03-04 09:23:18.341: D/RPC(449): 3000008c:00050000 dispatching RPC call (XID 63, xdr 0x4a0ce008) for callback client 3100008c:00050001.
03-04 09:23:18.341: D/RPC(449): 3000008c:00050000 sending call (XID 4).
03-04 09:23:18.341: D/RPC(449): 3100008c:327681 sending RPC reply (XID 63)
03-04 09:23:18.341: D/RPC(449): 3000008c:00050000 received REPLY (XID 4), grabbing mutex to wake up client.
03-04 09:23:18.341: D/RPC(449): 3000008c:00050000 call success.
03-04 09:23:18.341: D/RPC(449): 3000008c:00050000 received CALL.
03-04 09:23:18.341: D/RPC(449): 3000008c:00050000 dispatching RPC call (XID 64, xdr 0x4a0ce008) for callback client 3100008c:00050001.
03-04 09:23:18.341: D/RPC(449): 3100008c:327681 sending RPC reply (XID 64)
03-04 09:23:18.421: I//system/bin/fsck_msdos(107): ** Phase 3 - Checking Directories
03-04 09:23:18.691: W/SurfaceFlinger(112): Timed out waiting for hw vsync; faking it
03-04 09:23:18.691: E/libgenlock(112): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x0,err=Invalid argument fd=37)
03-04 09:23:18.691: W/Adreno200-EGLSUB(112): <UnlockImage:1748>: genlock_unlock_buffer failed
03-04 09:23:18.711: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:18.711: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:18.721: E/SurfaceFlinger(112): eventControl(0, 1) failed Invalid argument
03-04 09:23:18.742: E/libgenlock(112): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x2,err=Connection timed out fd=34)
03-04 09:23:18.752: E/libgenlock(112): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x0,err=Invalid argument fd=22)
03-04 09:23:18.752: E/Adreno200-EGLSUB(112): <updater_thread:421>: genlock_unlock_buffer already unlocked

Sorry for my bad english.