Please help me( touch screen driver problem ) :( - Xiaomi Redmi Note 3 Questions & Answers

After i replaced my redmi note 3 pro kenzo screen i have a problem with my touchscreen my boot takes about 230sec you you will see my problem in the logfile. I dont know how can i fix, please help me .
This is my new touchpanel:
<4>[ 2.555978] ft5x06_ts_probe, of_node=focaltech, is_tp_driver_loaded=0
<4>[ 2.555983] ft5x06_parse_dt
<4>[ 2.556002] ft5x06_parse_dt, reset_gpio=943
<4>[ 2.556006] ft5x06_parse_dt, irq_gpio=944
<4>[ 2.556012] ft5x06_parse_dt, power_ldo_gpio111111=1013
<4>[ 2.556039] ft5x06_parse_dt done
<6>[ 2.556148] input: ft5x06_ts as /devices/soc.0/78b8000.i2c/i2c-4/4-0038/input/input0
<4>[ 2.556284] ft5x06_power_init, power_ldo_gpio
<4>[ 2.556341] ft5x06_power_on, power_ldo_gpio
<6>[ 2.624653] ft5x06_ts 4-0038: Device ID = 0xa3
<4>[ 2.624824] ft5x06_ts_probe, fw_auto_update=1, no_force_update=0
<4>[ 2.624829] get_Vid_from_boot, fw_vendor_id=0x00
<4>[ 2.644634] hid_to_i2c, auc_i2c_write_buf=0x9, 0x9, 0x9
<4>[ 3.004620] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 3.044718] FTS_UPGRADE_LOOP ok is i = 0
<4>[ 3.084736] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xf3,j=0
<4>[ 3.084741] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x14,j=1
<4>[ 3.084745] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x53,j=2
<4>[ 3.084749] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x23,j=3
<4>[ 3.084752] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x10,j=4
<4>[ 3.084756] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x86,j=5
<4>[ 3.084760] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x0f,j=6
<4>[ 3.084764] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xff,j=7
<4>[ 3.084769] ft5x06_fw_LockDownInfo_get_from_boot: reset the tp
<4>[ 3.394492] tpd_probe, ft5x46_ctpm_LockDownInfo_get_from_boot, tp_lockdown_info=f314532310860fff
<6>[ 3.604895] ft5x06_ts 4-0038: ft5x06_update_fw_ver, Firmware version = 0x19.0.100
<4>[ 3.605033] upgrade,fw_vendor_id=0x3b
<4>[ 3.624620] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 3.984620] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 4.024716] FTS_UPGRADE_LOOP ok is i = 0
<4>[ 4.044739] ft5x06_fw_Vid_get_from_boot: REG VAL ID1 = 0xf3,ID2 = 0x14
<4>[ 4.044743] ft5x06_fw_Vid_get_from_boot: reset the tp
<4>[ 4.354500] get_Vid_from_boot, fw_vendor_id=0x14
<4>[ 4.354504] [FTS] FW unmatched,stop upgrade
<4>[ 4.354508] ft5x06_fw_upgrade_by_array_data, suspended=0
<6>[ 4.354516] ft5x06_ts 4-0038: Current firmware: 0x19.0.100
<6>[ 4.354521] ft5x06_ts 4-0038: New firmware: 0x20.0.0
<4>[ 4.354525] ft5x46_fw_upgrade_start
<4>[ 4.374621] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 4.734620] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 4.774717] Upgrade ID mismatch(0), IC=0x54 0x2c, info=0x54 0x2c
<4>[ 4.774721] Step 4:erase app and panel paramenter area
<3>[ 5.774845] sps: BAM device 0x0000000007884000 is not registered yet.
<6>[ 5.775020] sps:BAM 0x0000000007884000 is registered.
<6>[ 5.775295] sps:BAM 0x0000000007884000 (va:0xffffff80018e0000) enabled: ver:0x19, number of pipes:12
<4>[ 7.034638] Step 5:write firmware(FW) to ctpm flash
<4>[ 218.894488] Step 6: read out checksum
<3>[ 221.394626] ft5x06_ts 4-0038: [FTS]--ecc error! FW=66 bt_ecc=d3
<3>[ 221.394633] ft5x06_ts 4-0038: update failed (-5). try later...
<4>[ 221.394644] ft5x06_fw_upgrade_by_array_data done
<6>[ 221.394785] ft5x06_ts 4-0038: report rate = 1360Hz
<6>[ 221.394925] ft5x06_ts 4-0038: touch threshold = 512
<6>[ 221.395330] ft5x06_ts 4-0038: ft5x06_update_fw_ver, Firmware version = 0xa6.178.179
<4>[ 221.395470] ft5x06_ts_probe, Firmware version = 0xa6.178.179, fw_vendor_id=0xa8
<6>[ 221.395519] ft5x06_ts 4-0038: Create proc entry success!
<4>[ 221.395522] ft5x06_ts_probe done
This is my old tp logfile:
<4>[ 2.556842] ft5x06_ts_probe, of_node=focaltech, is_tp_driver_loaded=0
<4>[ 2.556847] ft5x06_parse_dt
<4>[ 2.556866] ft5x06_parse_dt, reset_gpio=943
<4>[ 2.556870] ft5x06_parse_dt, irq_gpio=944
<4>[ 2.556876] ft5x06_parse_dt, power_ldo_gpio111111=1013
<4>[ 2.556903] ft5x06_parse_dt done
<6>[ 2.557010] input: ft5x06_ts as /devices/soc.0/78b8000.i2c/i2c-4/4-0038/input/input0
<4>[ 2.557165] ft5x06_power_init, power_ldo_gpio
<4>[ 2.557223] ft5x06_power_on, power_ldo_gpio
<6>[ 2.625494] ft5x06_ts 4-0038: Device ID = 0x54
<4>[ 2.625642] ft5x06_ts_probe, fw_auto_update=1, no_force_update=0
<4>[ 2.625647] get_Vid_from_boot, fw_vendor_id=0x00
<4>[ 2.645472] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 3.005461] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<3>[ 3.045385] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:4) mode:FIFO slv_addr:0x38 MSTR_STS:0x011383c8 OPER:0x00000010
<3>[ 3.045406] ft5x06_ts 4-0038: ft5x06_i2c_read: i2c read error.
<4>[ 3.045411] [FTS] Step 3: CTPM ID,ID1 = 0x0,ID2 = 0x0
<3>[ 3.385383] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:3) mode:FIFO slv_addr:0x38 MSTR_STS:0x091383c8 OPER:0x00000090
<3>[ 3.385404] ft5x06_ts 4-0038: ft5x06_i2c_write: i2c write error.
<3>[ 3.405382] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:3 tx:0) mode:FIFO slv_addr:0x38 MSTR_STS:0x0113e3c8 OPER:0x00000010
<3>[ 3.405402] ft5x06_ts 4-0038: ft5x06_i2c_read:i2c read error.
<4>[ 3.405407] hid_to_i2c, auc_i2c_write_buf=0x0, 0x0, 0x0
<4>[ 3.405411] [FTS] hid1 change to i2c fail !
<3>[ 3.425383] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x38 MSTR_STS:0x011383c8 OPER:0x00000090
<3>[ 3.425403] ft5x06_ts 4-0038: ft5x06_i2c_write: i2c write error.
<4>[ 3.425407] [FTS] failed writing 0x55 and 0xaa !
<3>[ 3.765383] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:3) mode:FIFO slv_addr:0x38 MSTR_STS:0x011383c8 OPER:0x00000090
<3>[ 3.765403] ft5x06_ts 4-0038: ft5x06_i2c_write: i2c write error.
<3>[ 3.785383] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:3 tx:0) mode:FIFO slv_addr:0x38 MSTR_STS:0x0113e3c8 OPER:0x00000010
<3>[ 3.785403] ft5x06_ts 4-0038: ft5x06_i2c_read:i2c read error.
<4>[ 3.785407] hid_to_i2c, auc_i2c_write_buf=0x0, 0x0, 0x0
<4>[ 3.785411] [FTS] hid2 change to i2c fail !
<3>[ 3.805383] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x38 MSTR_STS:0x011383c8 OPER:0x00000090
<3>[ 3.805403] ft5x06_ts 4-0038: ft5x06_i2c_write: i2c write error.
<4>[ 3.805407] [FTS] failed writing 0x55 and 0xaa !
<3>[ 3.935387] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x38 MSTR_STS:0x091383c8 OPER:0x00000090
<3>[ 3.935407] ft5x06_ts 4-0038: ft5x06_i2c_write: i2c write error.
<4>[ 4.165465] hid_to_i2c, auc_i2c_write_buf=0x0, 0x0, 0x0
<4>[ 4.165469] [FTS] hid3 change to i2c fail !
<4>[ 4.205556] [FTS] Step 3: CTPM ID,ID1 = 0x0,ID2 = 0x0
<3>[ 4.302930] sps: BAM device 0x0000000007884000 is not registered yet.
<6>[ 4.303099] sps:BAM 0x0000000007884000 is registered.
<6>[ 4.303366] sps:BAM 0x0000000007884000 (va:0xffffff80018e0000) enabled: ver:0x19, number of pipes:12
<4>[ 4.565462] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 4.605557] FTS_UPGRADE_LOOP ok is i = 4
<4>[ 4.645577] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xfc,j=0
<4>[ 4.645581] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xf8,j=1
<4>[ 4.645585] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0x60,j=2
<4>[ 4.645589] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xef,j=3
<4>[ 4.645593] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xec,j=4
<4>[ 4.645597] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xef,j=5
<4>[ 4.645601] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xbf,j=6
<4>[ 4.645604] ft5x06_fw_LockDownInfo_get_from_boot: REG VAL = 0xde,j=7
<4>[ 4.645610] ft5x06_fw_LockDownInfo_get_from_boot: reset the tp
<4>[ 4.955337] tpd_probe, ft5x46_ctpm_LockDownInfo_get_from_boot, tp_lockdown_info=fcf860efecefbfde
<6>[ 5.166318] ft5x06_ts 4-0038: ft5x06_update_fw_ver, Firmware version = 0x20.0.0
<4>[ 5.166458] upgrade,fw_vendor_id=0x3b
<4>[ 5.185466] hid_to_i2c, auc_i2c_write_buf=0x1, 0xe5, 0x2
<4>[ 5.545462] hid_to_i2c, auc_i2c_write_buf=0xeb, 0xaa, 0x8
<4>[ 5.585557] FTS_UPGRADE_LOOP ok is i = 0
<4>[ 5.605580] ft5x06_fw_Vid_get_from_boot: REG VAL ID1 = 0x0,ID2 = 0x3b
<4>[ 5.605583] ft5x06_fw_Vid_get_from_boot: reset the tp
<4>[ 5.915335] get_Vid_from_boot, fw_vendor_id=0x3b
<4>[ 5.915341] ft5x06_fw_upgrade_by_array_data, suspended=0
<6>[ 5.915349] ft5x06_ts 4-0038: Current firmware: 0x20.0.0
<6>[ 5.915354] ft5x06_ts 4-0038: New firmware: 0x20.0.0
<6>[ 5.915359] ft5x06_ts 4-0038: Exiting fw upgrade...
<4>[ 5.915363] ft5x06_fw_upgrade_by_array_data done
<6>[ 5.915505] ft5x06_ts 4-0038: report rate = 0Hz
<6>[ 5.915645] ft5x06_ts 4-0038: touch threshold = 180
<6>[ 5.916052] ft5x06_ts 4-0038: ft5x06_update_fw_ver, Firmware version = 0x20.0.0
<4>[ 5.916192] ft5x06_ts_probe, Firmware version = 0x20.0.0, fw_vendor_id=0x3b
<6>[ 5.916239] ft5x06_ts 4-0038: Create proc entry success!
<4>[ 5.916243] ft5x06_ts_probe done
Please help me, i dont know what is the problem

Related

[Q] Wifi only work with 318

Hi,
I have a HK version Streak 5, wanna to upgrade it to stock 360.
The upgrade process is successful, but the wifi shows "error" after boot.
Then I revert it to stock 318, the wifi works again.
Here is one part of the bootlog with 360
==from 360 bootlog==
<4>[ 196.603672] dhd_module_init: sdio_register_driver failed
<4>[ 198.190332] dhd_bus_start failed bus is not ready
I guess that is reason, but I don get how to overcome it.
Code:
<4>[ 193.240389] BootLog, +dhd_module_init
<4>[ 193.240407] HW rev:#22
<4>[ 193.395788] WLAN init: bt pulse start **************
<4>[ 193.507750] WLAN init: bt pulse done ***************
<4>[ 193.610019]
<4>[ 193.610026] Dongle Host Driver, version 4.217.63.0
<4>[ 193.610045]
<4>[ 193.610048] Dongle Host Driver, version 4.217.63.0
<4>[ 193.610061] BootLog, -dhd_module_init, ret=0
<7>[ 193.672594] mmc1: queuing CIS tuple 0x80 length 7
<7>[ 193.675755] mmc1: queuing CIS tuple 0x80 length 2
<7>[ 193.684456] mmc1: queuing CIS tuple 0x80 length 9
<7>[ 193.702528] mmc1: queuing CIS tuple 0x80 length 21
<6>[ 193.714406] mmc1: new SDIO card at address 0001
<4>[ 193.726534] DHD: dongle ram size is set to 393216(orig 393216)
<4>[ 196.603672] dhd_module_init: sdio_register_driver failed
<4>[ 196.603749] module dhd is loaded by WifiService(240)
<4>[ 198.190332] dhd_bus_start failed bus is not ready
<4>[ 198.196259] eth0: Broadcom Dongle Host Driver mac=00:00:00:00:00:00
<4>[ 198.451144] Binder Thread #(296) sends SIGKILL to id.partnersetup(594)
<4>[ 205.735104] oid.setupwizard(313) sends SIGKILL to oid.setupwizard(313)
<6>[ 205.743517] binder: 155:155 transaction failed 29189, size 52-0
<4>[ 206.909914] ActivityManager(171) sends SIGKILL to enetworksetting(575)
<4>[ 208.031582] Binder Thread #(296) sends SIGKILL to com.android.mms(536)
<4>[ 208.042856] Binder Thread #(297) sends SIGKILL to d.apps.uploader(617)
<4>[ 211.839349] Binder Thread #(159) sends SIGKILL to oid.voicedialer(588)
<4>[ 211.850506] Binder Thread #(297) sends SIGKILL to com.svox.pico(627)
<4>[ 216.520099] Binder Thread #(295) sends SIGKILL to .cooliris.media(608)
<4>[ 217.033596] Binder Thread #(295) sends SIGKILL to d.process.media(405)
<6>[ 219.436029] mmc1: card 0001 removed
<4>[ 219.440976] module dhd is unloaded by WifiService(240)
I have two question
1. Should I upgrade other mbns with stock 360 ?? (I already flash dps1 & amss)
2. How to disable the auto upgrade system check ?? (At least I don want the upgrade information if I need to use it with stock 318)
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[dev] Prima_wlan drivers for our sense kernel

Hey guys and gals,
You probably have seen me around posting some kernels here and there and lurking in other threads.
As you know Cyanogen posted Prima_Wlan drivers on his github for use with his CM10 rom and kernels.. I have brought this into a sense based kernel in hopes of being able to produce a usable .ko for wifi. I have finally got it building with linaro 4.6.2 (wish it was 4.7.2). I am at an impass of my C knowledge and knowledge of android reaching its capacity with little to no resources to guide my efforts thus far.
I will not post source to these drivers as I do not wish to offend XDA or break the rules here. (we can figure something out if you would like to help in regards to getting you source) LIKE I SAID ITS ON GITHUB....
With that being said after being built successfully im running into module loading errors now
The following errors are occuring
Version 3.1.7.2
Code:
3>[ 49.242942] prima_wlan: driver load failure
<4>[ 49.355379] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 49.358950] kmemleak: Trying to color unknown object at 0xbf648000 as Grey
<4>[ 49.359133] [<c010c8ec>] (unwind_backtrace+0x0/0x12c) from [<c01b5234>] (load_module+0x8a4/0x1544)
<4>[ 49.366915] [<c01b5234>] (load_module+0x8a4/0x1544) from [<c01b5f14>] (sys_init_module+0x40/0x190)
<4>[ 49.367343] [<c01b5f14>] (sys_init_module+0x40/0x190) from [<c0105ec0>] (ret_fast_syscall+0x0/0x30)
<6>[ 49.711796] prima_wlan: loading driver v3.1.7.16
<2>[ 49.748115] VOS ASSERT in vos_open Line 370
<4>[ 49.748298] ------------[ cut here ]------------
<4>[ 49.748969] WARNING: at drivers/staging/prima/CORE/VOSS/src/vos_api.c:370 vos_open+0x1bc/0x3d0 [prima_wlan]()
<4>[ 49.749244] Modules linked in: prima_wlan(C+) kineto_gan
<4>[ 49.749610] [<c010c8ec>] (unwind_backtrace+0x0/0x12c) from [<c017f13c>] (warn_slowpath_common+0x4c/0x64)
<4>[ 49.749763] [<c017f13c>] (warn_slowpath_common+0x4c/0x64) from [<c017f16c>] (warn_slowpath_null+0x18/0x1c)
<4>[ 49.750404] [<c017f16c>] (warn_slowpath_null+0x18/0x1c) from [<bf720038>] (vos_open+0x1bc/0x3d0 [prima_wlan])
<4>[ 49.751258] [<bf720038>] (vos_open+0x1bc/0x3d0 [prima_wlan]) from [<bf667774>] (hdd_wlan_startup+0x1a0/0x87c [prima_wlan])
<4>[ 49.751960] [<bf667774>] (hdd_wlan_startup+0x1a0/0x87c [prima_wlan]) from [<bf80a06c>] (hdd_module_init+0x6c/0x13c [prima_wlan])
<4>[ 49.752418] [<bf80a06c>] (hdd_module_init+0x6c/0x13c [prima_wlan]) from [<c0100550>] (do_one_initcall+0x94/0x164)
<4>[ 49.752601] [<c0100550>] (do_one_initcall+0x94/0x164) from [<c01b5f44>] (sys_init_module+0x70/0x190)
<4>[ 49.752754] [<c01b5f44>] (sys_init_module+0x70/0x190) from [<c0105ec0>] (ret_fast_syscall+0x0/0x30)
<4>[ 49.752937] ---[ end trace da227214a82491c5 ]---
<3>[ 49.789623] prima_wlan: driver load failure
tried with version 3.20.2
Code:
<4>[ 4104.489302] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 4104.493666] kmemleak: Trying to color unknown object at 0xbf003000 as Grey
<4>[ 4104.493849] [<c010c8ec>] (unwind_backtrace+0x0/0x12c) from [<c01b5234>] (load_module+0x8a4/0x1544)
<4>[ 4104.494093] [<c01b5234>] (load_module+0x8a4/0x1544) from [<c01b5f14>] (sys_init_module+0x40/0x190)
<4>[ 4104.494276] [<c01b5f14>] (sys_init_module+0x40/0x190) from [<c0105ec0>] (ret_fast_syscall+0x0/0x30)
<6>[ 4104.785288] prima_wlan: loading driver v3.2.0.2
<3>[ 4104.792094] [0:10569:E :CTL] WCTS_OpenTransport: smd_named_open_on_edge failed with status -19
<2>[ 4104.792247] [0:10569:F :CTL] WDI_Init: Failed to open WCTS transport
<3>[ 4104.792399] [0:10569:E :WDA] WDI Init failed
<3>[ 4104.792491] [0:10569:F :VOS] vos_open: Failed to open WDA module
<2>[ 4104.792644] VOS ASSERT in vos_open Line 370
<4>[ 4104.792735] ------------[ cut here ]------------
<4>[ 4104.793620] WARNING: at drivers/staging/prima/CORE/VOSS/src/vos_api.c:370 vos_open+0x260/0x528 [prima_wlan]()
<4>[ 4104.793773] Modules linked in: prima_wlan(C+) kineto_gan
<4>[ 4104.794231] [<c010c8ec>] (unwind_backtrace+0x0/0x12c) from [<c017f13c>] (warn_slowpath_common+0x4c/0x64)
<4>[ 4104.794414] [<c017f13c>] (warn_slowpath_common+0x4c/0x64) from [<c017f16c>] (warn_slowpath_null+0x18/0x1c)
<4>[ 4104.794994] [<c017f16c>] (warn_slowpath_null+0x18/0x1c) from [<bf10045c>] (vos_open+0x260/0x528 [prima_wlan])
<4>[ 4104.795879] [<bf10045c>] (vos_open+0x260/0x528 [prima_wlan]) from [<bf02d804>] (hdd_wlan_startup+0x2a4/0xc60 [prima_wlan])
<4>[ 4104.796611] [<bf02d804>] (hdd_wlan_startup+0x2a4/0xc60 [prima_wlan]) from [<bf23c0b4>] (hdd_module_init+0xb4/0x1fc [prima_wlan])
<4>[ 4104.797039] [<bf23c0b4>] (hdd_module_init+0xb4/0x1fc [prima_wlan]) from [<c0100550>] (do_one_initcall+0x94/0x164)
<4>[ 4104.797222] [<c0100550>] (do_one_initcall+0x94/0x164) from [<c01b5f44>] (sys_init_module+0x70/0x190)
<4>[ 4104.797313] [<c01b5f44>] (sys_init_module+0x70/0x190) from [<c0105ec0>] (ret_fast_syscall+0x0/0x30)
<4>[ 4104.797466] ---[ end trace da227214a82492b2 ]---
<3>[ 4104.797741] [0:10569:F :HDD] hdd_wlan_startup: vos_open failed
<3>[ 4104.802776] [0:10569:F :HDD] hdd_module_init: WLAN Driver Initialization failed
<3>[ 4104.802929] prima_wlan: driver load failure
here is a successful load on stock version: v3.1.0.24p27
Code:
354.714939] prima_wlan: module license 'Proprietary' taints kernel.
<4>[ 354.715031] Disabling lock debugging due to kernel taint
354.996917] [WLAN] prima_wlan: loading driver v3.1.0.24p27-htc-63
<4>[ 354.719273] kmemleak: Trying to color unknown object at 0xbf003000 as Grey
<4>[ 354.719426] [<c010c2d0>] (unwind_backtrace+0x0/0x11c) from [<c01b006c>] (sys_init_module+0x858/0x1afc)
<4>[ 354.719914] [<c01b006c>] (sys_init_module+0x858/0x1afc) from [<c0105d20>] (ret_fast_syscall+0x0/0x30)
<6>[ 354.996917] [WLAN] prima_wlan: loading driver v3.1.0.24p27-htc-63
<6>[ 354.997070] [WLAN] vos_preOpen+
<6>[ 355.005920] [SMD] SMD: ch 7 0 -> 1, state: 0
<6>[ 355.008759] [SMD] SMD: ch 7 1 -> 2, state: 1
<6>[ 355.026522] [WLAN] [0:5551:I :SAP] WLANSAP_SetChannelRange:startChannel 1,EndChannel 11,Operatingband:0
<6>[ 355.026766] [WLAN] hdd_update_config_dat: apStartChannelNum = 1, apEndChannelNum = 11 apOperatingBand = 0
<6>[ 355.027132] [WLAN] [0:5551:F :HDD] hdd_update_config_from_nv: mac address [18:87:96:8c:f8:2e]
<6>[ 355.232229] [K][PM] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[ 355.313261] prima_wlan: WCNSS WLAN version 0.0.2.0
<6>[ 355.313352] prima_wlan: WCNSS software version M8960AAAAANAAW1031120A
<6>[ 355.313779] prima_wlan: WCNSS hardware version WCN v3.0 IRIS v2.0 with 48MHz XO
<6>[ 355.313963] [WLAN] hdd_post_voss_start_config 3083 Set LI 1 to HDD Context DoneSQOS old = cc54e000 , dev = cc54e000
<6>[ 355.314695] [WLAN] [0:5555:E :WDA] WDA_PWR_SAVE_CFG req in wrong state 1
<6>[ 355.321532] [WLAN] register_wlan_suspend
<6>[ 355.321715] [WLAN] prima_wlan: driver loaded
<4>[ 355.321867] [WLAN] before finishing init+
<4>[ 355.321959] [WLAN] after finishing init+
<6>[ 355.329742] [WLAN] Rcvd eWNI_PMC_ENTER_IMPS_RSP success
<6>[ 355.343659] [WLAN] Rcvd eWNI_PMC_EXIT_IMPS_RSP with status = 0
<6>[ 355.347871] [WLAN] Rcvd eWNI_PMC_ENTER_IMPS_RSP success
<6>[ 355.579459] [TP][email protected],922
<6>[ 355.778544] [TP][email protected],442
<6>[ 355.851548] ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[ 355.852830] [WLAN] Set country code: US
<6>[ 356.162856] [WLAN] iw_set_dynamic_mcbc_filter: Set MC BC Filter Config request: 3
<6>[ 356.265252] [WLAN] Set country code: US
<6>[ 356.265405] [WLAN] [0:5555:E :CTL] Received WDI_ProcessKeepAliveRsp Callback from HAL
<6>[ 356.265893] [WLAN] [0:5566:F :HDD] iw_set_band_config: band value 0 violate INI settings 1
<6>[ 356.351838] [LS][cm3629] get_ls_adc_value: raw adc = 0x9C, ls_calibrate = 0
<6>[ 356.351930] [cm3629] set_lsensor_range: low_thd = 0x18, high_thd = 0x15a
<6>[ 356.352327] [LS][cm3629] report_lsensor_input_event: ADC=0x07F, Level=4, l_thd = 0x18, h_thd = 0x15a
<6>[ 356.367587] [WLAN] iw_set_dynamic_mcbc_filter: Set MC BC Filter Config request: 3
<6>[ 356.463116] [WLAN] Rcvd eWNI_PMC_ENTER_IMPS_RSP success
<6>[ 356.473889] [WLAN] Connecting to 00:1d:7e:d2:ed:0b
<6>[ 356.477430] [WLAN] [0:5555:E :CTL] Received WDI_ProcessKeepAliveRsp Callback from HAL
<6>[ 356.479963] [WLAN] Rcvd eWNI_PMC_EXIT_IMPS_RSP with status = 0
<6>[ 356.499618] [WLAN] Authenticated with BSS
<6>[ 356.511094] [WLAN] hdd_AssociationCompletionHandler+
<6>[ 356.511124] [WLAN] connected to 00:1d:7e:d2:ed:0b
<6>[ 356.511460] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[ 356.512925] [WLAN] hdd_AssociationCompletionHandler reset assoc_timeout_counter
<6>[ 356.604913] [K] binder: release 5245:5257 transaction 110563 in, still active
<6>[ 356.604913] [K] binder: send failed reply for transaction 110563 to 5576:5593
<6>[ 356.782786] [WLAN] [0:5555:E :CTL] Received WDI_ProcessKeepAliveRsp Callback from HAL
<6>[ 363.365389] [WLAN] Rcvd eWNI_PMC_ENTER_BMPS_RSP with status = [email protected]:/ #
very similiar errors but im unsure of the actual nature of the errors other than tha VOS is failing to open a WDA module (wich was built with the driver)
Any input would be greatly welcomed by ALL kernel devs on the 8960 platform. I am starting this in hopes to spark some creativity i have not yet thought of.
Making some slight headway
luigi311 said:
Is the answer 5? Yea sorry way to complex for me XD
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I appreciate the nice words guys but would really like to focus on development in this thread
<4>[ 354.715031] Disabling lock debugging due to kernel taint
^^^
i wonder if this is effecting the driver from loading i also have been looking in the wifi wcnss folder to see if the atlerations i made to allow building are keeping it from actually working..
Z
When I first ported prima from cm for komodo I did all the work flashed it and no wifi. Cm changed things on the rom side which allowed it to work. So maybe a rom dev could help. That other kernel with prima wlan built from source works on sense but not aosp so to me it's a rom side conflict.
Sent from my EVO using Tapatalk 2
can someone who knows ROM's post a list of the files needed to support wifi rom side other than the *.ko file in /system/lib/modules
there has to be some stuff in /system/bin/ and /system/lib/ that supports wifi
heres a few that i can think of I'm sure theres more in framework ill take a deeper look and see what else I can find
system/etc/wifi
apstacon.conf
hostapd_default.conf
WCNSS_qcom_cfg_default
wpa_supplicant.conf
system/lib
libwifiscanner.so
libwpa_client.so
system/bin
wpa_cli
wpa_supplicant
steal25 said:
heres a few that i can think of I'm sure theres more in framework ill take a deeper look and see what else I can find
system/etc/wifi
apstacon.conf
hostapd_default.conf
WCNSS_qcom_cfg_default
wpa_supplicant.conf
system/lib
libwifiscanner.so
libwpa_client.so
system/bin
wpa_cli
wpa_supplicant
Click to expand...
Click to collapse
When i get back to my machine, I will get to some theory testing about the wifi drivers i have
i was patching upstream and the stock drivers broke after 3.0.20+
i want to patch up to at leats 3.0.50 for us and bring other features to the device that breaks wifi
mmmmmm fun time tonight
steal25 said:
heres a few that i can think of I'm sure theres more in framework ill take a deeper look and see what else I can find
system/etc/wifi
apstacon.conf
hostapd_default.conf
WCNSS_qcom_cfg_default
wpa_supplicant.conf
system/lib
libwifiscanner.so
libwpa_client.so
system/bin
wpa_cli
wpa_supplicant
Click to expand...
Click to collapse
so this yielded a slightly less ammount of complaint from the kernel
but this line sticks out at me
Code:
<6>[ 101.405341] prima_wlan: loading driver v3.1.7.16
<2>[ 101.413093] VOS ASSERT in vos_open Line 370
<4>[ 101.413184] ------------[ cut here ]------------
<4>[ 101.413947] WARNING: at drivers/staging/prima/CORE/VOSS/src/vos_api.c:370 vos_open+0x1bc/0x3d0 [prima_wlan]()
that corresponds to
Code:
if (!VOS_IS_STATUS_SUCCESS(vStatus))
{
/* Critical Error ... Cannot proceed further */
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_FATAL,
"%s: Failed to open WDA module", __func__);
VOS_ASSERT(0);
goto err_sched_close;
}
notice in the HTC release version its VOSOPEN+
so i had a AOSP tester try my newer prima_wlan drivers
they loaded up first try on his AOSP rom
but on our sense rom they fail to load regardless of using the wifi dependancies of the AOSP rom
something else is going on deeper in the rom
I have this error with Razr HD too.
I think the problem is here:
Code:
[0:2714:E :CTL] WCTS_OpenTransport: smd_named_open_on_edge failed with status -19
The error -19 is -ENODEV (No such device).
smd_named_open_on_edge is defined in arch/arm/mach-msm/smd.c
---------- Post added at 11:32 AM ---------- Previous post was at 11:18 AM ----------
setting sys/module/smd/parameters/debug_mask to 1, kernel shows this on dmesg:
smd_open('WLAN_CTRL', dfadd280, bf34689c)
so is passing by the first -ENODEV inside the smd_named_open_on_edge function.
Maybe this is causing the problem (code from smd.c):
Code:
/* one final check to handle closing->closed race condition */
ch = smd_get_channel(name, edge);
if (!ch)
return -ENODEV;
epinter said:
I have this error with Razr HD too.
I think the problem is here:
Code:
[0:2714:E :CTL] WCTS_OpenTransport: smd_named_open_on_edge failed with status -19
The error -19 is -ENODEV (No such device).
smd_named_open_on_edge is defined in arch/arm/mach-msm/smd.c
---------- Post added at 11:32 AM ---------- Previous post was at 11:18 AM ----------
setting sys/module/smd/parameters/debug_mask to 1, kernel shows this on dmesg:
smd_open('WLAN_CTRL', dfadd280, bf34689c)
so is passing by the first -ENODEV inside the smd_named_open_on_edge function.
Maybe this is causing the problem (code from smd.c):
Code:
/* one final check to handle closing->closed race condition */
ch = smd_get_channel(name, edge);
if (!ch)
return -ENODEV;
Click to expand...
Click to collapse
but when i flash the same kernel module on AOSP it loads up first time no problem
so there is something more going on
Zarboz said:
but when i flash the same kernel module on AOSP it loads up first time no problem
so there is something more going on
Click to expand...
Click to collapse
I have an error during boot (occurs during module's first initialization): "Invalid MAC addresses in NV, autogenerated". Every module initializations ,except the first one which occurs during boot, gives me the error messages from previous post.
Maybe the problem is with the firmware file or config file.
epinter said:
I have an error during boot (occurs during module's first initialization): "Invalid MAC addresses in NV, autogenerated". Every module initializations ,except the first one which occurs during boot, gives me the error messages from previous post.
Maybe the problem is with the firmware file or config file.
Click to expand...
Click to collapse
i wonder....
it is most likely the firmware
epinter said:
I have an error during boot (occurs during module's first initialization): "Invalid MAC addresses in NV, autogenerated". Every module initializations ,except the first one which occurs during boot, gives me the error messages from previous post.
Maybe the problem is with the firmware file or config file.
Click to expand...
Click to collapse
did you set your riva to be forced into insecure mode?
Zarboz said:
did you set your riva to be forced into insecure mode?
Click to expand...
Click to collapse
Yes.
if I use the WCNSS_cfg.dat and WCNSS_qcom_cfg.ini from the driver and the WCNSS_qcom_wlan_nv.bin from /persist, I get the following error (everytime I try to insmod):
<3>[ 398.332336,0] [0:1826:E :CTL] Failed to start device with status eHAL_STATUS_FAILURE(5)
<3>[ 398.332397,0] [0:1826:F :WDA] WDA_wdiStartCallback: WDI_Start() failure reported
<3>[ 398.332519,0] [0:1826:E :CTL] Device Error detected code: 3 - transitioning to stopped state
<3>[ 398.332641,0] [0:1823:E :WDA] WDA_start: WDI_Start() failure detected
<3>[ 398.332702,0] [0:1823:E :VOS] vos_start: Failed to start WDA
<3>[ 398.332824,0] [0:1823:F :HDD] hdd_wlan_startup: vos_start failed
<3>[ 398.394384,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.394506,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.394567,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.394689,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.394750,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.394872,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.394964,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395025,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395147,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395208,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395330,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395391,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395482,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395605,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395666,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395788,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395849,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.395940,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.396032,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.396123,0] [0:1823:E :VOS] vos_list_destroy: list not initialized
<3>[ 398.414619,0] [0:1823:F :HDD] hdd_module_init: WLAN Driver Initialization failed
<3>[ 398.414741,0] wlan: driver load failure
Click to expand...
Click to collapse
I didn't try the firmware/wcnss.* from Xperia T yet ...
I upgraded the driver to 3.2.0.2, all the error messages are exactly the same.
epinter said:
Yes.
if I use the WCNSS_cfg.dat and WCNSS_qcom_cfg.ini from the driver and the WCNSS_qcom_wlan_nv.bin from /persist, I get the following error (everytime I try to insmod):
I didn't try the firmware/wcnss.* from Xperia T yet ...
I upgraded the driver to 3.2.0.2, all the error messages are exactly the same.
Click to expand...
Click to collapse
what device are yo using?
Zarboz said:
what device are yo using?
Click to expand...
Click to collapse
Razr HD XT925
epinter said:
Yes.
if I use the WCNSS_cfg.dat and WCNSS_qcom_cfg.ini from the driver and the WCNSS_qcom_wlan_nv.bin from /persist, I get the following error (everytime I try to insmod):
I didn't try the firmware/wcnss.* from Xperia T yet ...
I upgraded the driver to 3.2.0.2, all the error messages are exactly the same.
Click to expand...
Click to collapse
where did you find these files at ?
i cannot locate them in what i have to work with
Zarboz said:
where did you find these files at ?
i cannot locate them in what i have to work with
Click to expand...
Click to collapse
Here you can find the prima driver and its firmware:
https://www.codeaurora.org/gitweb/external/wlan/?p=prima.git;a=summary
My phone has the /persist partition, there I have the WCNSS_qcom_wlan_nv.bin.
epinter said:
Here you can find the prima driver and its firmware:
https://www.codeaurora.org/gitweb/external/wlan/?p=prima.git;a=summary
My phone has the /persist partition, there I have the WCNSS_qcom_wlan_nv.bin.
Click to expand...
Click to collapse
as per your suggestion i downgraded to the 3.1.1.14 drivers and made the couple mods you have in your git to allow loading
as well as insecure pl_riva
Code:
13.572501] wcnss_wlan triggered by userspace
<6>[ 13.610987] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.610987] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.611017] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.614771] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.614802] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.614802] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.688844] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.688875] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.688875] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.697909] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.697909] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.697939] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.747352] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.747352] [USBDIAG] diagchar_ioctl:kworker/u:3(parent:kthreadd): tgid=109
<6>[ 13.747382] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.759774] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.759774] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.759804] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.759804] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.814497] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.814497] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.814558] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.814558] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.814558] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.841904] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.841904] [USBDIAG] diagchar_ioctl:kworker/u:3(parent:kthreadd): tgid=109
<6>[ 13.841934] [USBDIAG] diagchar_ioctl:kworker/u:3(parent:kthreadd): tgid=109
<6>[ 13.841934] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.871661] [SMD] smd_alloc_channel() 'DS' cid=0 size=08192, [Stream mode]
<6>[ 13.872791] [SMD] smd_alloc_channel() 'DATA1' cid=26 size=08192, [Package mode]
<6>[ 13.873432] [SMD] smd_alloc_channel() 'DATA2' cid=27 size=08192, [Package mode]
<6>[ 13.874133] [SMD] smd_alloc_channel() 'DATA3' cid=28 size=08192, [Package mode]
<6>[ 13.874866] [SMD] smd_alloc_channel() 'DATA4' cid=29 size=08192, [Package mode]
<6>[ 13.875507] [SMD] smd_alloc_channel() 'DATA11' cid=30 size=08192, [Stream mode]
<6>[ 13.927086] [SMD] smd_alloc_channel() 'DATA40' cid=31 size=08192, [Package mode]
<6>[ 13.928490] [SMD] smd_alloc_channel() 'DATA5_CNTL' cid=32 size=01024, [Package mode]
<6>[ 13.931390] [SMD] smd_alloc_channel() 'DATA6_CNTL' cid=33 size=01024, [Package mode]
<6>[ 13.931939] [SMD] smd_alloc_channel() 'DATA7_CNTL' cid=34 size=01024, [Package mode]
<6>[ 13.933312] [SMD] smd_alloc_channel() 'DATA8_CNTL' cid=35 size=01024, [Package mode]
<6>[ 13.934014] [SMD] smd_alloc_channel() 'DATA9_CNTL' cid=36 size=01024, [Package mode]
<6>[ 13.934777] [SMD] smd_alloc_channel() 'DATA12_CNTL' cid=37 size=01024, [Package mode]
<6>[ 13.935754] [SMD] smd_alloc_channel() 'DATA13_CNTL' cid=38 size=01024, [Package mode]
<6>[ 13.936487] [SMD] smd_alloc_channel() 'DATA14_CNTL' cid=39 size=01024, [Package mode]
<4>[ 13.941858] [BAMDMUX] handle_bam_mux_cmd: dropping invalid LCID 10 reserved 0 cmd 4 pad 0 ch 10 len 0
<4>[ 13.941919] [BAMDMUX] handle_bam_mux_cmd: dropping invalid LCID 11 reserved 0 cmd 4 pad 0 ch 11 len 0
<6>[ 13.942652] [SMD] smd_alloc_channel() 'DATA15_CNTL' cid=40 size=01024, [Package mode]
<6>[ 13.943628] [SMD] smd_alloc_channel() 'DATA16_CNTL' cid=41 size=01024, [Package mode]
<6>[ 13.944422] [SMD] smd_alloc_channel() 'DATA40_CNTL' cid=42 size=01024, [Package mode]
<6>[ 13.993895] [SMD] SMD: ch 32 0 -> 1, state: 0
<6>[ 13.993926] [SMD] smd_pkt_open: DATA5_CNTL open success return 0
<6>[ 13.998290] [SMD] SMD: ch 32 1 -> 2, state: 1
<6>[ 14.501693] [SMD] SMD: ch 33 0 -> 1, state: 0
<6>[ 14.501693] [SMD] smd_pkt_open: DATA6_CNTL open success return 0
<6>[ 14.504990] [SMD] SMD: ch 33 1 -> 2, state: 1
<6>[ 14.508286] [SMD] SMD: ch 34 0 -> 1, state: 0
<6>[ 14.508286] [SMD] smd_pkt_open: DATA7_CNTL open success return 0
<6>[ 14.511643] [SMD] SMD: ch 34 1 -> 2, state: 1
<6>[ 14.526445] [SMD] SMD: ch 35 0 -> 1, state: 0
<6>[ 14.526476] [SMD] smd_pkt_open: DATA8_CNTL open success return 0
<6>[ 14.529742] [SMD] SMD: ch 35 1 -> 2, state: 1
<6>[ 14.534228] [SMD] SMD: ch 36 0 -> 1, state: 0
<6>[ 14.534228] [SMD] smd_pkt_open: DATA9_CNTL open success return 0
<6>[ 14.534869] [SMD] SMD: ch 36 1 -> 2, state: 1
<6>[ 14.538257] [SMD] SMD: ch 37 0 -> 1, state: 0
<6>[ 14.538257] [SMD] smd_pkt_open: DATA12_CNTL open success return 0
<6>[ 14.541797] [SMD] SMD: ch 37 1 -> 2, state: 1
<6>[ 14.544758] [SMD] SMD: ch 38 0 -> 1, state: 0
<6>[ 14.544758] [SMD] smd_pkt_open: DATA13_CNTL open success return 0
<6>[ 14.547535] [SMD] SMD: ch 38 1 -> 2, state: 1
<6>[ 14.552418] [SMD] SMD: ch 39 0 -> 1, state: 0
<6>[ 14.552418] [SMD] smd_pkt_open: DATA14_CNTL open success return 0
<6>[ 14.555714] [SMD] SMD: ch 39 1 -> 2, state: 1
<6>[ 14.634213] wcnss_wlan triggered by userspace
<6>[ 16.242148] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 1
<6>[ 16.242179] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.242606] [SMD] SMD: ch 14 0 -> 1, state: 0
<6>[ 16.242759] [SMD] SMD: ch 14 1 -> 2, state: 1
<6>[ 16.242759] apr_tal: SMD_EVENT_OPEN
<6>[ 16.277277] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.277277] [AUD] q6asm: q6asm_open_write: change to HTC_POPP_TOPOLOGY
<6>[ 16.317320] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.348023] [SMD] smd_close(apr_audio_svc)+
<6>[ 16.348054] [SMD] smd_close(apr_audio_svc)-
<6>[ 16.348054] [AUD] soc_pcm_close(), set runtume null
<6>[ 16.348084] [AUD] soc_pcm_close(), set runtume null
<6>[ 16.348115] [SMD] SMD: ch 14 2 -> 4, state: 0
<6>[ 16.374210] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 0
<6>[ 16.467297] [WCNSS]wcnss_post_bootup: Cancel APPS vote for Iris & Riva
<6>[ 16.467602] [WCNSS]RIVA driver version=1.01
<6>[ 16.590691] mdp4_overlay_req2pipe: pipe=c0d77ec0 ndx=3 num=2 zorder=2 mixer 0 format = b
<6>[ 16.680177] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 1
<6>[ 16.680177] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.680482] [SMD] SMD: ch 14 0 -> 1, state: 0
<6>[ 16.683168] [SMD] SMD: ch 14 1 -> 2, state: 1
<6>[ 16.683198] apr_tal: SMD_EVENT_OPEN
<6>[ 16.683229] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.683259] [AUD] q6asm: q6asm_open_write: change to HTC_POPP_TOPOLOGY
<6>[ 16.709964] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.714207] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.714237] [AUD] q6adm: adm_open: Port ID 16384, index 15
<6>[ 16.721654] [AUD] q6adm: adm_matrix_map: session 0x1 path:1 num_copps:1 port_id[0]:16384
<6>[ 16.725499] [AUD] q6adm: send_adm_cal: Audproc cal sent for port id: 16384, path 0
<6>[ 16.725591] [AUD] q6adm: send_adm_cal: Audvol cal not sent for port id: 16384, path 0
<6>[ 16.768838] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Pos, 2
<6>[ 16.768838] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Neg, 2
<6>[ 16.782389] [AUD] snd_soc_qdsp6: msm_dai_q6_trigger:port:16384 cmd:1 dai_data->status_mask = 0
<6>[ 16.782389] [AUD] q6afe: afe_port_start_nowait: 16384 96000
<6>[ 23.792827] [VIB_PWM]pm8xxx_vib_enable vibrate period: 0 msec
<6>[ 23.792827] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 24.055943] [SMD] SMD: ch 8 0 -> 1, state: 0
<6>[ 24.058751] [SMD] SMD: ch 8 1 -> 2, state: 1
<6>[ 24.214405] call alarm, type 0, func alarm_triggered+0x0/0xa0, 1353964110002000000 (s 1353964110002000000)
<6>[ 24.229909] [LED]pm8xxx_led_gpio_set, bank:1, brightness:0
<6>[ 24.230093] [LED]pm8xxx_led_blink_store: bank 1 blink 0
<6>[ 24.230276] [LED]Setting amber off_timer to 0 min 0 sec +
<6>[ 24.230398] [LED]pm8xxx_led_gpio_set, bank:0, brightness:0
<6>[ 24.230550] [LED]pm8xxx_led_blink_store: bank 0 blink 0
<6>[ 24.230734] [LED]Setting green off_timer to 0 min 0 sec +
<6>[ 24.619533] [SMD] smd_close(APPS_RIVA_BT_CMD)+
<6>[ 24.619533] [SMD] smd_close(APPS_RIVA_BT_CMD)-
<6>[ 24.619899] [SMD] SMD: ch 8 2 -> 4, state: 0
<6>[ 24.626186] [SMD] SMD: ch 8 0 -> 1, state: 0
<6>[ 24.626186] [SMD] SMD: ch 9 0 -> 1, state: 0
<6>[ 24.626216] [SMD] SMD: ch 8 1 -> 2, state: 1
<6>[ 24.626216] [BT] hci_smd_notify_event: opening HCI-SMD channel :APPS_RIVA_BT_CMD
<6>[ 24.626247] [SMD] SMD: ch 9 1 -> 2, state: 1
<6>[ 24.626247] [BT] hci_smd_notify_data: opening HCI-SMD channel :APPS_RIVA_BT_ACL
<6>[ 24.823897] acc_open
<6>[ 24.823927] acc_release
<4>[ 24.885212] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 24.888264] kmemleak: Trying to color unknown object at 0xbf000000 as Grey
<4>[ 24.888295] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0252140>] (paint_ptr+0x7c/0x1e0)
<4>[ 24.888325] [<c0252140>] (paint_ptr+0x7c/0x1e0) from [<c01d2768>] (load_module+0xbe8/0x22dc)
<4>[ 24.888325] [<c01d2768>] (load_module+0xbe8/0x22dc) from [<c01d3ea0>] (sys_init_module+0x44/0x19c)
<4>[ 24.888356] [<c01d3ea0>] (sys_init_module+0x44/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<3>[ 24.930932] init: cannot find '/system/bin/amploader', disabling 'amp_load'
<6>[ 25.243827] prima_wlan: loading driver v3.1.1.14
<6>[ 25.250083] [SMD] SMD: ch 7 0 -> 1, state: 0
<6>[ 25.252922] [SMD] SMD: ch 7 1 -> 2, state: 1
<6>[ 25.253074] [SMD] smsm_change_state b29
<3>[ 25.260216] [0:658:F :HDD] hdd_module_init: WLAN Driver Initialization failed
<3>[ 25.260247] prima_wlan: driver load failure
<6>[ 25.516831] [AUD] q6adm: adm_close port_id=16384 index 15
<6>[ 25.518876] [PM] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[ 25.521593] [AUD] soc_pcm_close(), set runtume null
<6>[ 25.521623] [AUD] q6afe: afe_close: port_id=16384
<6>[ 25.524980] [AUD] snd_soc_qdsp6: msm_dai_q6_shutdown: dai_data->status_mask = 1
<6>[ 25.524980] [AUD] soc_pcm_close(), set runtume null
<6>[ 25.533679] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Pos, 0
<6>[ 25.537738] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Neg, 0
<6>[ 25.546894] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 0
<6>[ 26.277704] [VIB_PWM]pm8xxx_vib_enable vibrate period: 0 msec
<6>[ 26.277704] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 26.289485] [VIB_PWM]pm8xxx_vib_enable vibrate period: 1 msec
<6>[ 26.289516] [VIB_PWM]pm8xxx_vib_set_on
<6>[ 26.290523] [VIB_PWM]pm8xxx_vib_timer_func
<6>[ 26.290553] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 26.318083] request_suspend_state: wakeup (3->0) at 26310847387 (2012-11-26 21:08:32.105842616 UTC)
<6>[ 26.321257] [LS][cm3629] lightsensor_open
<6>[ 26.321287] [LS][cm3629] lightsensor_ioctl LIGHTSENSOR_IOCTL_ENABLE, value = 1
<6>[ 26.321287] [PS][cm3629] capella_pl_sensor_lpm_power: leave lmp,OK
<6>[ 26.337311] [LS][cm3629] lightsensor_enable
<6>[ 26.341461] [VIB_PWM]pm8xxx_vib_enable vibrate period: 21 msec
<6>[ 26.341492] [VIB_PWM]pm8xxx_vib_set_on
<6>[ 26.362490] [VIB_PWM]pm8xxx_vib_timer_func
<6>[ 26.362520] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 26.509018] [LS][cm3629] get_ls_adc_value:resume 1
<6>[ 26.509385] [LS][cm3629] get_ls_adc_value: raw adc = 0x13, ls_calibrate = 0
<6>[ 26.509385] [cm3629] set_lsensor_range: low_thd = 0x17, high_thd = 0x159
<6>[ 26.509659] [LS][cm3629] report_lsensor_input_event: ADC=0x04C, Level=3, l_thd = 0x17, h_thd = 0x159
<6>[ 26.539996] [LS][cm3629] get_ls_adc_value: raw adc = 0x13, ls_calibrate = 0
<6>[ 26.540027] [cm3629] set_lsensor_range: low_thd = 0x1, high_thd = 0x16
<6>[ 26.540302] [LS][cm3629] report_lsensor_input_event: ADC=0x013, Level=2, l_thd = 0x1, h_thd = 0x16
<4>[ 26.601861] MPL-accODR: 31250
<7>[ 26.601922] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 0, data->run = 0
<7>[ 26.617305] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 200
<7>[ 26.640317] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 200, data->run = 1
<7>[ 26.657439] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 200
<4>[ 26.657591] MPL-accODR: 31250
<6>[ 26.674561] [LS][cm3629] get_ls_adc_value: raw adc = 0x4D, ls_calibrate = 0
<6>[ 26.674561] [cm3629] set_lsensor_range: low_thd = 0x17, high_thd = 0x159
<6>[ 26.674835] [LS][cm3629] report_lsensor_input_event: ADC=0x04E, Level=3, l_thd = 0x17, h_thd = 0x159
<7>[ 26.734381] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 200, data->run = 1
<6>[ 26.775431] [LED]pm8xxx_led_current_set, bank:6, brightness:60
<7>[ 26.775858] [DISP] mipi_dsi_set_backlight+:bl=96
<6>[ 26.775888] [DISP] brightness orig=96, transformed=55
<6>[ 27.351686] [LED]pm8xxx_led_gpio_set, bank:1, brightness:1
<6>[ 27.351960] [LED]pm8xxx_led_blink_store: bank 1 blink 0
<6>[ 27.352174] [LED]Setting amber off_timer to 0 min 0 sec +
<6>[ 27.352266] [LED]pm8xxx_led_gpio_set, bank:0, brightness:0
<6>[ 27.352418] [LED]pm8xxx_led_blink_store: bank 0 blink 0
<6>[ 27.352601] [LED]Setting green off_timer to 0 min 0 sec +
<6>[ 27.377384] [USBDIAG] diagchar_open:LocationManager(parent:zygote): tgid=492
<6>[ 28.100839] call alarm, type 1, func alarm_triggered+0x0/0xa0, 1353909600888000000 (s 1353909600888000000)
<6>[ 28.107187] call alarm, type 1, func alarm_triggered+0x0/0xa0, 1353909600888000000 (s 1353909600888000000)
<4>[ 29.016419] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 29.045627] kmemleak: Trying to color unknown object at 0xbf000000 as Grey
<4>[ 29.045658] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0252140>] (paint_ptr+0x7c/0x1e0)
<4>[ 29.045658] [<c0252140>] (paint_ptr+0x7c/0x1e0) from [<c01d2768>] (load_module+0xbe8/0x22dc)
<4>[ 29.045688] [<c01d2768>] (load_module+0xbe8/0x22dc) from [<c01d3ea0>] (sys_init_module+0x44/0x19c)
<4>[ 29.045688] [<c01d3ea0>] (sys_init_module+0x44/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<6>[ 29.833816] prima_wlan: loading driver v3.1.1.14
<3>[ 29.894033] [1:966:E :CTL] WCTS_OpenTransport: smd_named_open_on_edge failed with status -19
<2>[ 29.894063] [1:966:F :CTL] WDI_Init: Failed to open WCTS transport
<3>[ 29.894124] [1:966:E :WDA] WDI Init failed
<3>[ 29.894124] [1:966:F :VOS] vos_open: Failed to open WDA module
<2>[ 29.894124] VOS ASSERT in vos_open Line 370
<4>[ 29.894124] ------------[ cut here ]------------
<4>[ 29.894613] WARNING: at drivers/staging/prima/CORE/VOSS/src/vos_api.c:370 vos_open+0x30c/0x64c [prima_wlan]()
<4>[ 29.894613] Modules linked in: prima_wlan(C+)
<4>[ 29.894643] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0193f88>] (warn_slowpath_common+0x50/0x11c)
<4>[ 29.894674] [<c0193f88>] (warn_slowpath_common+0x50/0x11c) from [<c0194070>] (warn_slowpath_null+0x1c/0x24)
<4>[ 29.894857] [<c0194070>] (warn_slowpath_null+0x1c/0x24) from [<bf008838>] (vos_open+0x30c/0x64c [prima_wlan])
<4>[ 29.895345] [<bf008838>] (vos_open+0x30c/0x64c [prima_wlan]) from [<bf0dc364>] (hdd_wlan_startup+0x300/0xb44 [prima_wlan])
<4>[ 29.895803] [<bf0dc364>] (hdd_wlan_startup+0x300/0xb44 [prima_wlan]) from [<bf2410e4>] (hdd_module_init+0xe4/0x238 [prima_wlan])
<4>[ 29.895986] [<bf2410e4>] (hdd_module_init+0xe4/0x238 [prima_wlan]) from [<c0100568>] (do_one_initcall+0x34/0x174)
<4>[ 29.896017] [<c0100568>] (do_one_initcall+0x34/0x174) from [<c01d3ed0>] (sys_init_module+0x74/0x19c)
<4>[ 29.896047] [<c01d3ed0>] (sys_init_module+0x74/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<4>[ 29.896047] ---[ end trace da227214a82491c0 ]---
<3>[ 29.896200] [1:966:F :HDD] hdd_wlan_startup: vos_open failed
<3>[ 29.937494] [1:966:F :HDD] hdd_module_init: WLAN Driver Initialization failed
<3>[ 29.937524] prima_wlan: driver load failure
this part jumped out to my eyes
Code:
<4>[ 24.885212] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 24.888264] kmemleak: Trying to color unknown object at 0xbf000000 as Grey
<4>[ 24.888295] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0252140>] (paint_ptr+0x7c/0x1e0)
<4>[ 24.888325] [<c0252140>] (paint_ptr+0x7c/0x1e0) from [<c01d2768>] (load_module+0xbe8/0x22dc)
<4>[ 24.888325] [<c01d2768>] (load_module+0xbe8/0x22dc) from [<c01d3ea0>] (sys_init_module+0x44/0x19c)
<4>[ 24.888356] [<c01d3ea0>] (sys_init_module+0x44/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<3>[ 24.930932] init: cannot find '/system/bin/amploader', disabling 'amp_load'
also now data is broken
Zarboz said:
as per your suggestion i downgraded to the 3.1.1.14 drivers and made the couple mods you have in your git to allow loading
as well as insecure pl_riva
Code:
13.572501] wcnss_wlan triggered by userspace
<6>[ 13.610987] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.610987] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.611017] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.614771] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.614802] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.614802] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.688844] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.688875] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.688875] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.697909] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.697909] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.697939] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.747352] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.747352] [USBDIAG] diagchar_ioctl:kworker/u:3(parent:kthreadd): tgid=109
<6>[ 13.747382] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.759774] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.759774] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.759804] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.759804] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.814497] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.814497] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.814558] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.814558] [USBDIAG] diagchar_ioctl:kworker/u:1(parent:kthreadd): tgid=61
<6>[ 13.814558] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.841904] [USBDIAG] diag_smd_cntl_send_req: MODEM_PROC
<6>[ 13.841904] [USBDIAG] diagchar_ioctl:kworker/u:3(parent:kthreadd): tgid=109
<6>[ 13.841934] [USBDIAG] diagchar_ioctl:kworker/u:3(parent:kthreadd): tgid=109
<6>[ 13.841934] diag: incomplete pkt on Modem CNTL ch
<6>[ 13.871661] [SMD] smd_alloc_channel() 'DS' cid=0 size=08192, [Stream mode]
<6>[ 13.872791] [SMD] smd_alloc_channel() 'DATA1' cid=26 size=08192, [Package mode]
<6>[ 13.873432] [SMD] smd_alloc_channel() 'DATA2' cid=27 size=08192, [Package mode]
<6>[ 13.874133] [SMD] smd_alloc_channel() 'DATA3' cid=28 size=08192, [Package mode]
<6>[ 13.874866] [SMD] smd_alloc_channel() 'DATA4' cid=29 size=08192, [Package mode]
<6>[ 13.875507] [SMD] smd_alloc_channel() 'DATA11' cid=30 size=08192, [Stream mode]
<6>[ 13.927086] [SMD] smd_alloc_channel() 'DATA40' cid=31 size=08192, [Package mode]
<6>[ 13.928490] [SMD] smd_alloc_channel() 'DATA5_CNTL' cid=32 size=01024, [Package mode]
<6>[ 13.931390] [SMD] smd_alloc_channel() 'DATA6_CNTL' cid=33 size=01024, [Package mode]
<6>[ 13.931939] [SMD] smd_alloc_channel() 'DATA7_CNTL' cid=34 size=01024, [Package mode]
<6>[ 13.933312] [SMD] smd_alloc_channel() 'DATA8_CNTL' cid=35 size=01024, [Package mode]
<6>[ 13.934014] [SMD] smd_alloc_channel() 'DATA9_CNTL' cid=36 size=01024, [Package mode]
<6>[ 13.934777] [SMD] smd_alloc_channel() 'DATA12_CNTL' cid=37 size=01024, [Package mode]
<6>[ 13.935754] [SMD] smd_alloc_channel() 'DATA13_CNTL' cid=38 size=01024, [Package mode]
<6>[ 13.936487] [SMD] smd_alloc_channel() 'DATA14_CNTL' cid=39 size=01024, [Package mode]
<4>[ 13.941858] [BAMDMUX] handle_bam_mux_cmd: dropping invalid LCID 10 reserved 0 cmd 4 pad 0 ch 10 len 0
<4>[ 13.941919] [BAMDMUX] handle_bam_mux_cmd: dropping invalid LCID 11 reserved 0 cmd 4 pad 0 ch 11 len 0
<6>[ 13.942652] [SMD] smd_alloc_channel() 'DATA15_CNTL' cid=40 size=01024, [Package mode]
<6>[ 13.943628] [SMD] smd_alloc_channel() 'DATA16_CNTL' cid=41 size=01024, [Package mode]
<6>[ 13.944422] [SMD] smd_alloc_channel() 'DATA40_CNTL' cid=42 size=01024, [Package mode]
<6>[ 13.993895] [SMD] SMD: ch 32 0 -> 1, state: 0
<6>[ 13.993926] [SMD] smd_pkt_open: DATA5_CNTL open success return 0
<6>[ 13.998290] [SMD] SMD: ch 32 1 -> 2, state: 1
<6>[ 14.501693] [SMD] SMD: ch 33 0 -> 1, state: 0
<6>[ 14.501693] [SMD] smd_pkt_open: DATA6_CNTL open success return 0
<6>[ 14.504990] [SMD] SMD: ch 33 1 -> 2, state: 1
<6>[ 14.508286] [SMD] SMD: ch 34 0 -> 1, state: 0
<6>[ 14.508286] [SMD] smd_pkt_open: DATA7_CNTL open success return 0
<6>[ 14.511643] [SMD] SMD: ch 34 1 -> 2, state: 1
<6>[ 14.526445] [SMD] SMD: ch 35 0 -> 1, state: 0
<6>[ 14.526476] [SMD] smd_pkt_open: DATA8_CNTL open success return 0
<6>[ 14.529742] [SMD] SMD: ch 35 1 -> 2, state: 1
<6>[ 14.534228] [SMD] SMD: ch 36 0 -> 1, state: 0
<6>[ 14.534228] [SMD] smd_pkt_open: DATA9_CNTL open success return 0
<6>[ 14.534869] [SMD] SMD: ch 36 1 -> 2, state: 1
<6>[ 14.538257] [SMD] SMD: ch 37 0 -> 1, state: 0
<6>[ 14.538257] [SMD] smd_pkt_open: DATA12_CNTL open success return 0
<6>[ 14.541797] [SMD] SMD: ch 37 1 -> 2, state: 1
<6>[ 14.544758] [SMD] SMD: ch 38 0 -> 1, state: 0
<6>[ 14.544758] [SMD] smd_pkt_open: DATA13_CNTL open success return 0
<6>[ 14.547535] [SMD] SMD: ch 38 1 -> 2, state: 1
<6>[ 14.552418] [SMD] SMD: ch 39 0 -> 1, state: 0
<6>[ 14.552418] [SMD] smd_pkt_open: DATA14_CNTL open success return 0
<6>[ 14.555714] [SMD] SMD: ch 39 1 -> 2, state: 1
<6>[ 14.634213] wcnss_wlan triggered by userspace
<6>[ 16.242148] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 1
<6>[ 16.242179] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.242606] [SMD] SMD: ch 14 0 -> 1, state: 0
<6>[ 16.242759] [SMD] SMD: ch 14 1 -> 2, state: 1
<6>[ 16.242759] apr_tal: SMD_EVENT_OPEN
<6>[ 16.277277] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.277277] [AUD] q6asm: q6asm_open_write: change to HTC_POPP_TOPOLOGY
<6>[ 16.317320] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.348023] [SMD] smd_close(apr_audio_svc)+
<6>[ 16.348054] [SMD] smd_close(apr_audio_svc)-
<6>[ 16.348054] [AUD] soc_pcm_close(), set runtume null
<6>[ 16.348084] [AUD] soc_pcm_close(), set runtume null
<6>[ 16.348115] [SMD] SMD: ch 14 2 -> 4, state: 0
<6>[ 16.374210] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 0
<6>[ 16.467297] [WCNSS]wcnss_post_bootup: Cancel APPS vote for Iris & Riva
<6>[ 16.467602] [WCNSS]RIVA driver version=1.01
<6>[ 16.590691] mdp4_overlay_req2pipe: pipe=c0d77ec0 ndx=3 num=2 zorder=2 mixer 0 format = b
<6>[ 16.680177] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 1
<6>[ 16.680177] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.680482] [SMD] SMD: ch 14 0 -> 1, state: 0
<6>[ 16.683168] [SMD] SMD: ch 14 1 -> 2, state: 1
<6>[ 16.683198] apr_tal: SMD_EVENT_OPEN
<6>[ 16.683229] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.683259] [AUD] q6asm: q6asm_open_write: change to HTC_POPP_TOPOLOGY
<6>[ 16.709964] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.714207] [AUD] board_elite_audio: elite_get_q6_effect_mode: mode 0
<6>[ 16.714237] [AUD] q6adm: adm_open: Port ID 16384, index 15
<6>[ 16.721654] [AUD] q6adm: adm_matrix_map: session 0x1 path:1 num_copps:1 port_id[0]:16384
<6>[ 16.725499] [AUD] q6adm: send_adm_cal: Audproc cal sent for port id: 16384, path 0
<6>[ 16.725591] [AUD] q6adm: send_adm_cal: Audvol cal not sent for port id: 16384, path 0
<6>[ 16.768838] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Pos, 2
<6>[ 16.768838] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Neg, 2
<6>[ 16.782389] [AUD] snd_soc_qdsp6: msm_dai_q6_trigger:port:16384 cmd:1 dai_data->status_mask = 0
<6>[ 16.782389] [AUD] q6afe: afe_port_start_nowait: 16384 96000
<6>[ 23.792827] [VIB_PWM]pm8xxx_vib_enable vibrate period: 0 msec
<6>[ 23.792827] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 24.055943] [SMD] SMD: ch 8 0 -> 1, state: 0
<6>[ 24.058751] [SMD] SMD: ch 8 1 -> 2, state: 1
<6>[ 24.214405] call alarm, type 0, func alarm_triggered+0x0/0xa0, 1353964110002000000 (s 1353964110002000000)
<6>[ 24.229909] [LED]pm8xxx_led_gpio_set, bank:1, brightness:0
<6>[ 24.230093] [LED]pm8xxx_led_blink_store: bank 1 blink 0
<6>[ 24.230276] [LED]Setting amber off_timer to 0 min 0 sec +
<6>[ 24.230398] [LED]pm8xxx_led_gpio_set, bank:0, brightness:0
<6>[ 24.230550] [LED]pm8xxx_led_blink_store: bank 0 blink 0
<6>[ 24.230734] [LED]Setting green off_timer to 0 min 0 sec +
<6>[ 24.619533] [SMD] smd_close(APPS_RIVA_BT_CMD)+
<6>[ 24.619533] [SMD] smd_close(APPS_RIVA_BT_CMD)-
<6>[ 24.619899] [SMD] SMD: ch 8 2 -> 4, state: 0
<6>[ 24.626186] [SMD] SMD: ch 8 0 -> 1, state: 0
<6>[ 24.626186] [SMD] SMD: ch 9 0 -> 1, state: 0
<6>[ 24.626216] [SMD] SMD: ch 8 1 -> 2, state: 1
<6>[ 24.626216] [BT] hci_smd_notify_event: opening HCI-SMD channel :APPS_RIVA_BT_CMD
<6>[ 24.626247] [SMD] SMD: ch 9 1 -> 2, state: 1
<6>[ 24.626247] [BT] hci_smd_notify_data: opening HCI-SMD channel :APPS_RIVA_BT_ACL
<6>[ 24.823897] acc_open
<6>[ 24.823927] acc_release
<4>[ 24.885212] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 24.888264] kmemleak: Trying to color unknown object at 0xbf000000 as Grey
<4>[ 24.888295] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0252140>] (paint_ptr+0x7c/0x1e0)
<4>[ 24.888325] [<c0252140>] (paint_ptr+0x7c/0x1e0) from [<c01d2768>] (load_module+0xbe8/0x22dc)
<4>[ 24.888325] [<c01d2768>] (load_module+0xbe8/0x22dc) from [<c01d3ea0>] (sys_init_module+0x44/0x19c)
<4>[ 24.888356] [<c01d3ea0>] (sys_init_module+0x44/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<3>[ 24.930932] init: cannot find '/system/bin/amploader', disabling 'amp_load'
<6>[ 25.243827] prima_wlan: loading driver v3.1.1.14
<6>[ 25.250083] [SMD] SMD: ch 7 0 -> 1, state: 0
<6>[ 25.252922] [SMD] SMD: ch 7 1 -> 2, state: 1
<6>[ 25.253074] [SMD] smsm_change_state b29
<3>[ 25.260216] [0:658:F :HDD] hdd_module_init: WLAN Driver Initialization failed
<3>[ 25.260247] prima_wlan: driver load failure
<6>[ 25.516831] [AUD] q6adm: adm_close port_id=16384 index 15
<6>[ 25.518876] [PM] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)
<6>[ 25.521593] [AUD] soc_pcm_close(), set runtume null
<6>[ 25.521623] [AUD] q6afe: afe_close: port_id=16384
<6>[ 25.524980] [AUD] snd_soc_qdsp6: msm_dai_q6_shutdown: dai_data->status_mask = 1
<6>[ 25.524980] [AUD] soc_pcm_close(), set runtume null
<6>[ 25.533679] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Pos, 0
<6>[ 25.537738] [AUD] board_elite_audio: msm8960_spkramp_event() name = Ext Spk Bottom Neg, 0
<6>[ 25.546894] [AUD] snd_soc_qdsp6: msm_pcm_routing_process_audio: reg 2 val 0 set 0
<6>[ 26.277704] [VIB_PWM]pm8xxx_vib_enable vibrate period: 0 msec
<6>[ 26.277704] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 26.289485] [VIB_PWM]pm8xxx_vib_enable vibrate period: 1 msec
<6>[ 26.289516] [VIB_PWM]pm8xxx_vib_set_on
<6>[ 26.290523] [VIB_PWM]pm8xxx_vib_timer_func
<6>[ 26.290553] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 26.318083] request_suspend_state: wakeup (3->0) at 26310847387 (2012-11-26 21:08:32.105842616 UTC)
<6>[ 26.321257] [LS][cm3629] lightsensor_open
<6>[ 26.321287] [LS][cm3629] lightsensor_ioctl LIGHTSENSOR_IOCTL_ENABLE, value = 1
<6>[ 26.321287] [PS][cm3629] capella_pl_sensor_lpm_power: leave lmp,OK
<6>[ 26.337311] [LS][cm3629] lightsensor_enable
<6>[ 26.341461] [VIB_PWM]pm8xxx_vib_enable vibrate period: 21 msec
<6>[ 26.341492] [VIB_PWM]pm8xxx_vib_set_on
<6>[ 26.362490] [VIB_PWM]pm8xxx_vib_timer_func
<6>[ 26.362520] [VIB_PWM]pm8xxx_vib_set_off
<6>[ 26.509018] [LS][cm3629] get_ls_adc_value:resume 1
<6>[ 26.509385] [LS][cm3629] get_ls_adc_value: raw adc = 0x13, ls_calibrate = 0
<6>[ 26.509385] [cm3629] set_lsensor_range: low_thd = 0x17, high_thd = 0x159
<6>[ 26.509659] [LS][cm3629] report_lsensor_input_event: ADC=0x04C, Level=3, l_thd = 0x17, h_thd = 0x159
<6>[ 26.539996] [LS][cm3629] get_ls_adc_value: raw adc = 0x13, ls_calibrate = 0
<6>[ 26.540027] [cm3629] set_lsensor_range: low_thd = 0x1, high_thd = 0x16
<6>[ 26.540302] [LS][cm3629] report_lsensor_input_event: ADC=0x013, Level=2, l_thd = 0x1, h_thd = 0x16
<4>[ 26.601861] MPL-accODR: 31250
<7>[ 26.601922] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 0, data->run = 0
<7>[ 26.617305] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 200
<7>[ 26.640317] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 200, data->run = 1
<7>[ 26.657439] [GSNR][MPU3050][TIMERIRQ]start_timerirq: data->period = 200
<4>[ 26.657591] MPL-accODR: 31250
<6>[ 26.674561] [LS][cm3629] get_ls_adc_value: raw adc = 0x4D, ls_calibrate = 0
<6>[ 26.674561] [cm3629] set_lsensor_range: low_thd = 0x17, high_thd = 0x159
<6>[ 26.674835] [LS][cm3629] report_lsensor_input_event: ADC=0x04E, Level=3, l_thd = 0x17, h_thd = 0x159
<7>[ 26.734381] [GSNR][MPU3050][TIMERIRQ]stop_timerirq: data->period = 200, data->run = 1
<6>[ 26.775431] [LED]pm8xxx_led_current_set, bank:6, brightness:60
<7>[ 26.775858] [DISP] mipi_dsi_set_backlight+:bl=96
<6>[ 26.775888] [DISP] brightness orig=96, transformed=55
<6>[ 27.351686] [LED]pm8xxx_led_gpio_set, bank:1, brightness:1
<6>[ 27.351960] [LED]pm8xxx_led_blink_store: bank 1 blink 0
<6>[ 27.352174] [LED]Setting amber off_timer to 0 min 0 sec +
<6>[ 27.352266] [LED]pm8xxx_led_gpio_set, bank:0, brightness:0
<6>[ 27.352418] [LED]pm8xxx_led_blink_store: bank 0 blink 0
<6>[ 27.352601] [LED]Setting green off_timer to 0 min 0 sec +
<6>[ 27.377384] [USBDIAG] diagchar_open:LocationManager(parent:zygote): tgid=492
<6>[ 28.100839] call alarm, type 1, func alarm_triggered+0x0/0xa0, 1353909600888000000 (s 1353909600888000000)
<6>[ 28.107187] call alarm, type 1, func alarm_triggered+0x0/0xa0, 1353909600888000000 (s 1353909600888000000)
<4>[ 29.016419] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 29.045627] kmemleak: Trying to color unknown object at 0xbf000000 as Grey
<4>[ 29.045658] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0252140>] (paint_ptr+0x7c/0x1e0)
<4>[ 29.045658] [<c0252140>] (paint_ptr+0x7c/0x1e0) from [<c01d2768>] (load_module+0xbe8/0x22dc)
<4>[ 29.045688] [<c01d2768>] (load_module+0xbe8/0x22dc) from [<c01d3ea0>] (sys_init_module+0x44/0x19c)
<4>[ 29.045688] [<c01d3ea0>] (sys_init_module+0x44/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<6>[ 29.833816] prima_wlan: loading driver v3.1.1.14
<3>[ 29.894033] [1:966:E :CTL] WCTS_OpenTransport: smd_named_open_on_edge failed with status -19
<2>[ 29.894063] [1:966:F :CTL] WDI_Init: Failed to open WCTS transport
<3>[ 29.894124] [1:966:E :WDA] WDI Init failed
<3>[ 29.894124] [1:966:F :VOS] vos_open: Failed to open WDA module
<2>[ 29.894124] VOS ASSERT in vos_open Line 370
<4>[ 29.894124] ------------[ cut here ]------------
<4>[ 29.894613] WARNING: at drivers/staging/prima/CORE/VOSS/src/vos_api.c:370 vos_open+0x30c/0x64c [prima_wlan]()
<4>[ 29.894613] Modules linked in: prima_wlan(C+)
<4>[ 29.894643] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0193f88>] (warn_slowpath_common+0x50/0x11c)
<4>[ 29.894674] [<c0193f88>] (warn_slowpath_common+0x50/0x11c) from [<c0194070>] (warn_slowpath_null+0x1c/0x24)
<4>[ 29.894857] [<c0194070>] (warn_slowpath_null+0x1c/0x24) from [<bf008838>] (vos_open+0x30c/0x64c [prima_wlan])
<4>[ 29.895345] [<bf008838>] (vos_open+0x30c/0x64c [prima_wlan]) from [<bf0dc364>] (hdd_wlan_startup+0x300/0xb44 [prima_wlan])
<4>[ 29.895803] [<bf0dc364>] (hdd_wlan_startup+0x300/0xb44 [prima_wlan]) from [<bf2410e4>] (hdd_module_init+0xe4/0x238 [prima_wlan])
<4>[ 29.895986] [<bf2410e4>] (hdd_module_init+0xe4/0x238 [prima_wlan]) from [<c0100568>] (do_one_initcall+0x34/0x174)
<4>[ 29.896017] [<c0100568>] (do_one_initcall+0x34/0x174) from [<c01d3ed0>] (sys_init_module+0x74/0x19c)
<4>[ 29.896047] [<c01d3ed0>] (sys_init_module+0x74/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<4>[ 29.896047] ---[ end trace da227214a82491c0 ]---
<3>[ 29.896200] [1:966:F :HDD] hdd_wlan_startup: vos_open failed
<3>[ 29.937494] [1:966:F :HDD] hdd_module_init: WLAN Driver Initialization failed
<3>[ 29.937524] prima_wlan: driver load failure
this part jumped out to my eyes
Code:
<4>[ 24.885212] prima_wlan: module is from the staging directory, the quality is unknown, you have been warned.
<4>[ 24.888264] kmemleak: Trying to color unknown object at 0xbf000000 as Grey
<4>[ 24.888295] [<c010dbe4>] (unwind_backtrace+0x0/0x138) from [<c0252140>] (paint_ptr+0x7c/0x1e0)
<4>[ 24.888325] [<c0252140>] (paint_ptr+0x7c/0x1e0) from [<c01d2768>] (load_module+0xbe8/0x22dc)
<4>[ 24.888325] [<c01d2768>] (load_module+0xbe8/0x22dc) from [<c01d3ea0>] (sys_init_module+0x44/0x19c)
<4>[ 24.888356] [<c01d3ea0>] (sys_init_module+0x44/0x19c) from [<c0106aa0>] (ret_fast_syscall+0x0/0x30)
<3>[ 24.930932] init: cannot find '/system/bin/amploader', disabling 'amp_load'
also now data is broken
Click to expand...
Click to collapse
get your stock .ko and run a strings, try to find the version inside it.
Then you can search in caf for the right version.
You will need to enable the debug in prima driver, include the BUILD_DEBUG_VERSION in Makefile

[Q] wifi not turning on in samssung galaxy s2 I9100

Suddenly after taking my phone out on a rainy day, my wifi stopped working. I am sure water never went it. I have tried multiple things to make it work like factory reset, changing the ROM to jelly bean and currently running the kernel 3.0.31-siyah-s2-v5.0, model GT-I9100 android version 4.1.2
Kindly Help.I am seeing the dmesg terminal logs as attached and snippet below.
<4>[ 104.060063] ## wifi_probe
<4>[ 104.060090] wifi_set_power = 1
<6>[ 104.060111] ------------------------------------------------
<6>[ 104.060145] ------------------------------------------------
<6>[ 104.060188] brcm_wlan_power Enter: power on
<6>[ 104.060215] gpio_table = [2]
<7>[ 104.060442] WLAN: GPIO_WLAN_EN = 1
<6>[ 104.094096] mif: link_pm_irq_handler: gpio [HWK] get [0]
<6>[ 104.120714] mif: link_pm_irq_handler: gpio [HWK] get [1]
<6>[ 104.170090] mif: usb_port_resume: 1283, 4
<6>[ 104.249999] EXT4-fs (mmcblk0p9): re-mounted. Opts: (null)
<4>[ 104.265090] wifi_set_carddetect = 1
<6>[ 104.265114] gpio_table = [6]
<6>[ 104.265343] Test logs pdev : c0ccd110 s3c_device_hsmmc3 c0ccd110
<6>[ 104.265378] Test logs notify_func = hsmmc3_notify_func: c083e75c
<6>[ 104.265416] mmc2: card inserted.
<6>[ 104.495446] mmc2: cmd 52 command timeout error
<6>[ 104.495936] mmc2: cmd 52 command timeout error
<6>[ 104.499846] mmc2: cmd 8 command timeout error
<4>[ 104.511333] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
<4>[ 104.513886] mmc2: queuing unknown CIS tuple 0x80 (6 bytes)
<6>[ 104.573970] mmc2: new high speed SDIO card at address 0001
<4>[ 104.785592] alloc static buf at e3a00000!
<4>[ 104.786022] dhdsdio_probe : no mutex held. set lock
<6>[ 105.007466] set_gps_uart_op: off
<6>[ 105.433663] EXT4-fs (mmcblk0p9): re-mounted. Opts: (null)
<6>[ 106.011099] mif: link_pm_irq_handler: gpio [HWK] get [0]
<6>[ 106.040827] mif: link_pm_irq_handler: gpio [HWK] get [1]
<6>[ 106.090112] mif: usb_port_resume: 1283, 4
<3>[ 106.158197] binder: release proc 13734, transaction 52072, not freed
<3>[ 106.158236] binder: release proc 13734, transaction 52103, not freed
<3>[ 106.296134] mmc2: cmd 53 data timeout error
<4>[ 106.296964] bcmsdh_sdmmc: Failed to Read word, Err: 0xffffff92F1 signature read
@0x18000000=0xffffffff
<3>[ 107.808869] mmc2: cmd 53 data timeout error
<4>[ 107.809040] bcmsdh_sdmmc: Failed to Read word, Err: 0xffffff92dhdsdio_probe_attach: si_attach
failed!
<4>[ 107.809193] dhdsdio_probe: dhdsdio_probe_attach failed
<4>[ 107.809284] dhdsdio_probe : the lock is released.
<4>[ 107.816772] dhd_module_init: sdio_register_driver fail
<4>[ 107.816919] bcmsdh_sdmmc: bcmsdh_sdmmc_remove Enter
<4>[ 107.824497] ## wifi_remove
<4>[ 107.824549] wifi_set_power = 0
<6>[ 107.824599] ------------------------------------------------
<6>[ 107.824676] ------------------------------------------------
<6>[ 107.824761] brcm_wlan_power Enter: power off
<6>[ 107.824828] gpio_table = [2]
<7>[ 107.824887] WLAN: GPIO_WLAN_EN = 0
<4>[ 107.925157] wifi_set_carddetect = 0
<6>[ 107.925225] gpio_table = [6]
<6>[ 107.925503] Test logs pdev : c0ccd110 s3c_device_hsmmc3 c0ccd110
<6>[ 107.925589] Test logs notify_func = hsmmc3_notify_func: c083e75c
<6>[ 107.925678] mmc2: card inserted.
<6>[ 107.965872] mif: link_pm_irq_handler: gpio [HWK] get [0]
<6>[ 107.995841] mif: link_pm_irq_handler: gpio [HWK] get [1]
<6>[ 108.045163] mif: usb_port_resume: 1283, 4
<6>[ 108.125196] mmc2: cmd 7 command timeout error
<6>[ 108.125256] mmc2: cmd 7 command timeout error
<6>[ 108.125307] mmc2: cmd 7 command timeout error
<6>[ 108.125356] mmc2: cmd 7 command timeout error
<6>[ 108.136243] mmc2: card 0001 removed
<6>[ 108.170596] mmc2: cmd 52 command timeout error
<6>[ 108.171186] mmc2: cmd 52 command timeout error
<6>[ 108.174766] mmc2: cmd 8 command timeout error
<6>[ 108.175114] mmc2: cmd 5 command timeout error
<6>[ 108.175443] mmc2: cmd 5 command timeout error
<6>[ 108.175773] mmc2: cmd 5 command timeout error
<6>[ 108.176101] mmc2: cmd 5 command timeout error
<6>[ 108.176500] mmc2: cmd 55 command timeout error
<6>[ 1

MyAudio 1008b - firmware

Hello
SKotreboval by som apoň originál firmware z vašich tabletov kto má tento. Na stránkach MyAudio
EN: I need original Firmware(ROM) from this tablet. On product website
Code:
ht tp:// slovensky. myaudioworld. com/mysupport/firmware/series-1016-dcc/
SK:som nasiel nejake "firmware" ktoré sú vo forme 5001.img a 5002.img avšak zverejnený oficiálny návod nefunguje (vám fungoval? ako ste postupovali?)
EN: i find some Firmware, but they are as 5001.img - but official instructions for use is bad ( was good for you? sa me how to pls)
SK:nejakým spôsobom som moj odpalil a nepomaha ani recovery.(trochu som sa hral a nemal som zalohu)
EN: I damaged original fimware(ROM), and recovery is not functional (I have no backup)
SKrípadne ak sa niekto hral s firmware a má nejaký funkčný inštalovateľný z SD a pod.....
EN: If someone has good firmware(ROM) fully functional, instalable from SD an so on. send me please.
SK:Možno by mi pomohol jednoduchý príkaz cez terminál
EN: Maybe will help command from terminal
Code:
ht tps:// docs .google. com/file/d/0BxgPttaVjg4gdklzN0tINlRCZWs/edit?usp=sharing
SK: a poslat mi komplet čo vypísal
EN: send me please what it show
Code:
dmesg
SK: Neni treba root.
EN: Root is not needed
SK: Ak chete root :
EN: If you want root:
Code:
ht tps:// docs. google. com/file/d/0BxgPttaVjg4gdl83TFdCb0h4WWc/edit?usp=sharing
SK: Ak ho máte rootnutý tak skusiť
EN: If you have it rooted please try
ROM DUMP
Code:
htt ps:// docs. google. com/file/d/0BxgPttaVjg4gVV9nLUNnWmtDMVk/edit?usp=sharing
SK: a poslať mi vzniknutý priečinok.
EN: and send me created output folder
SK: A teraz dôvod prečo to potrebujem
Vadil mi na tablete gtalk tak som ho zmazal a spôsobilo to že už som na nom nenaštartoval system.
tak som hladal nejaku možnosť preinštalovania nakolko mi ani recovery nepomohol.
Vyskúšal som tieto Firmware alebo ROm či jak to nazvať
EN: Why i need it?
I delete Gtalk and android crashed
I try those Firmawares(ROMs) :
Code:
ht tps:// docs. google. com/file/d/0BxgPttaVjg4gSnBsNjBScnZ5X0k/edit?usp=sharing
https://docs. google. com/file/d/0BxgPttaVjg4gZEdjTjJYQUJTT1k/edit?usp=sharing
SK:systém nabehol
dokonca aj android jelly bean
ale nefunguje dotykovka... nejak zlý ovládač alebo zle zdetekovanie.
EN: System is going, (jelly bean too) , BUT touch screen is not functional, bad driver or bad detected.
SK:Z mojho dmesg je zjavne že dotykovka proste nenabehne.. preto by možno stačil aj dmesg výpis a skúsil by som nastaviť tu inštalačku ROm tak aby nainštaloval správny ovládač.. ale neviem sa pohnúť. ak je niekto viac znalý v problematike tak prosím help.
moj dmesg vypíše:
EN: From my dmesg we see that touch screen has problems. Is there someone who can help what to do? maybe edit tryed ROMs will help.
My dmesg:
<1>[ 5.492059] wmt.sd2.param = 0:0
<1>[ 5.495873] Default wmt.sd3.param = 0:0
<1>[ 5.500390] do not have set uboot enviroment: wmt.init.rc
<7>[ 5.505914] Registered led device: lcd-backlight
<6>[ 5.510061] usbcore: registered new interface driver usbhid
<6>[ 5.515545] usbhid: USB HID core driver
<6>[ 5.520424] log enable:FF, setting:FF
<6>[ 5.524161] logger: created 256K log 'log_main'
<6>[ 5.528718] logger: created 256K log 'log_events'
<6>[ 5.533440] logger: created 64K log 'log_radio'
<6>[ 5.538052] GPS: mt3326_gps_power: Switching GPS device on
<6>[ 5.543461] GPS: mt3326_gps_power: ignore power control: 1
<6>[ 5.548913] GPS: mt3326_gps_probe: Registering chardev
<6>[ 5.554118] GPS: mt3326_gps_probe: major: 246, minor: 0
<6>[ 5.559465] GPS: mt3326_gps_probe: Done
<6>[ 5.563251] BTHWCTL: alloc bthwctl: 245:0
<6>[ 5.567733] BTHWCTL: Bluetooth hardware control driver initialized
<6>[ 5.574718] usbcore: registered new interface driver snd-usb-audio
<6>[ 5.588430] WMT_SOC: dai_name=i2s, codec_name=vt1603
<4>[ 5.596553] wmt_pdm_init: pcm_clk_src=73500
<4>[ 5.596559]
<6>[ 5.602926] VT1602: vt1602 string not found
<6>[ 5.607548] wmt.audio.i2s = vt1603:0
<6>[ 5.615507] WMT_SOC: create WMT-HWDEP 0 success
<6>[ 5.619993] mount_thread
<6>[ 5.625106] asoc: VT1603 <-> wmt-i2s.0 mapping ok
<4>[ 5.690401] buf_area = ffde0000, buf_addr = 32810000buf_area = ffd3c000, b
uf_addr = 32814000
<6>[ 5.698569] asoc: HWDAC <-> wmt-pdm.0 mapping ok
<6>[ 5.705486] ALSA device list:
<6>[ 5.708381] #0: WMT_SOC
<4>[ 5.711731] default disable oprofile
<6>[ 5.715477] nf_conntrack version 0.5.0 (12987 buckets, 51948 max)
<6>[ 5.723649] NF_TPROXY: Transparent proxy support initialized, version 4.1.
0
<6>[ 5.730528] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
<6>[ 5.737621] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 5.742955] TCP cubic registered
<6>[ 5.746714] NET: Registered protocol family 10
<6>[ 5.751925] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 5.757353] IPv6 over IPv4 tunneling driver
<6>[ 5.761834] NET: Registered protocol family 17
<6>[ 5.766607] NET: Registered protocol family 15
<6>[ 5.771622] Bluetooth: RFCOMM TTY layer initialized
<6>[ 5.778068] Bluetooth: RFCOMM socket layer initialized
<6>[ 5.783324] Bluetooth: RFCOMM ver 1.11
<6>[ 5.786987] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[ 5.792273] Bluetooth: BNEP filters: protocol multicast
<6>[ 5.797472] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[ 5.805831] L2TP core driver, V2.0
<6>[ 5.809370] PPPoL2TP kernel driver, V2.0
<6>[ 5.813204] L2TP IP encapsulation support (L2TPv3)
<6>[ 5.818205] L2TP netlink interface
<6>[ 5.821558] L2TP ethernet pseudowire support (L2TPv3)
<6>[ 5.828702] L2TP debugfs support
<6>[ 5.832419] lib80211: common routines for IEEE802.11 drivers
<7>[ 5.838542] lib80211_crypt: registered algorithm 'NULL'
<6>[ 5.838552] VFP support v0.3: implementor 41 architecture 3 part 30 varian
t 9 rev 3
<6>[ 5.847145] ThumbEE CPU extension supported.
<5>[ 5.851866] Registering SWP/SWPB emulation handler
<6>[ 5.858031] input: kpadPower as /devices/virtual/input/input0
<4>[ 5.865118] [wmt_pm_init] id = 0x0, act = 0x1, bitmap = 0x6, ctl = 0xfe110
042, oc = 0xfe110082, od = 0xfe1100c2
<4>[ 5.875889] [wmt_pm_init] var define var_wake_en=1 var_wake_param=408001
<4>[ 5.882677] [wmt_pm_init] battery_used = 3
<6>[ 5.887464] PMC: WonderMedia Power Management driver
<4>[ 5.892537] PMC: Power button is configured as soft power
<4>[ 5.898238] [wmt_pm_init] power_on = 100 resume = 100 power_up = 100
<6>[ 5.905367] Can not find uboot env wmt.misc.param
<4>[ 5.910110] SD0 Host Clock 382812Hz
<6>[ 5.914246] Mali DRM initialize, driver name: mali_drm, version 2.1
<6>[ 5.920710] [drm] Initialized mali_drm 2.1.1 20101111 on minor 0
<4>[ 5.927980] Vt1609 touchscreen driver disabled.
<6>[ 5.934359] wmt-rtc wmt-rtc.0: setting system clock to 2013-03-06 13:51:31
UTC (1362577891)
<6>[ 5.943968] Freeing init memory: 180K
<4>[ 5.951254] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oo
m_score_adj instead.
<6>[ 6.043877] yaffs: dev is 32505866 name is "mtdblock10" rw
<6>[ 6.049288] yaffs: passed flags ""
<7>[ 6.052655] yaffs: yaffs: Attempting MTD mount of 31.10,"mtdblock10"
<7>[ 6.120439] yaffs: yaffs_read_super: is_checkpointed 1
<6>[ 6.120743] yaffs: dev is 32505868 name is "mtdblock12" rw
<6>[ 6.126153] yaffs: passed flags ""
<7>[ 6.129521] yaffs: yaffs: Attempting MTD mount of 31.12,"mtdblock12"
<7>[ 6.213933] yaffs: block 191 is bad
<7>[ 6.763771] yaffs: yaffs_read_super: is_checkpointed 0
<6>[ 6.763954] yaffs: dev is 32505867 name is "mtdblock11" rw
<6>[ 6.769369] yaffs: passed flags ""
<7>[ 6.772737] yaffs: yaffs: Attempting MTD mount of 31.11,"mtdblock11"
<7>[ 6.776632] yaffs: yaffs_read_super: is_checkpointed 1
<4>[ 6.801544] Uncor Ecc Err 0_th, on page 0x13828 fail., cur_try_time=-1
<4>[ 6.809506] Uncor Ecc Err 1_th, on page 0x13828 fail., cur_try_time=0
<4>[ 6.817395] read retry PASS cur_try_times=1
<4>[ 6.825528] Uncor Ecc Err 0_th, on page 0x13827 fail., cur_try_time=1
<4>[ 6.833413] read retry PASS cur_try_times=2
<4>[ 6.841893] Uncor Ecc Err 0_th, on page 0x1382a fail., cur_try_time=2
<4>[ 6.849840] Uncor Ecc Err 1_th, on page 0x1382a fail., cur_try_time=3
<4>[ 6.856956] read retry PASS cur_try_times=4
<4>[ 6.890837] UMP: UMP device driver loaded
<4>[ 6.934001] Mali: Mali device driver loaded
<6>[ 7.075362] [wmt-vd] WonderMedia HW decoder driver inited
<6>[ 7.084773] [wmt-lock] init ok, major=242, minor=1
<6>[ 7.097948] [wmt-vd] jdec Request IRQ 64 Ok.
<6>[ 7.102145] [wmt-vd] jdec registered major 236 minor 1
<6>[ 7.111142] [wmt-vd] mpeg2 registered major 236 minor 2
<6>[ 7.120189] [wmt-vd] mpeg4 registered major 236 minor 3
<6>[ 7.129287] [wmt-vd] divx registered major 236 minor 4
<6>[ 7.138294] [wmt-vd] h263 registered major 236 minor 8
<6>[ 7.167623] [wmt-vd] h264 registered major 236 minor 5
<6>[ 7.175695] [wmt-vd] vc1 registered major 236 minor 7
<6>[ 7.183105] [wmt-vd] rv registered major 236 minor 6
<6>[ 7.206193] [wmt-vd] vpx Request IRQ 88 Ok.
<6>[ 7.210310] [wmt-vd] vpx registered major 236 minor 9
<7>[ 7.221249] [wmt-ve] videoencoder_init: create video encoder proc
<4>[ 7.221261] start register videoencoder_driver
<4>[ 7.225967] *****NOW start videoencoder probe function!!*****
<6>[ 7.231852] [wmt-ve] veinfo.prdt_virt =0xffd00000,veinfo.prdt_phys =0x32a6
0000
<6>[ 7.238998] [wmt-ve] prob /dev/wmt-ve major 236, minor 0, prdt ffd00000/32
a60000, size 100 KB
<4>[ 7.247486] register videoencoder_driver done
<6>[ 7.251805] [wmt-ve] WonderMedia HW encoder driver inited
<6>[ 7.264022] [wmt-ve] encoder->irq_num = 87,encoder->isr = 0xbf0a62a8
<6>[ 7.270413] [wmt-ve] wmt-h264enc Request IRQ 87 Ok.
<6>[ 7.275237] [wmt-ve] wmt-h264enc registered major 236 minor 18
<4>[ 7.318073] wmt_vid_i2c_probe()
<3>[ 7.325354] WonderMedia CMOS camera register OK
<4>[ 7.657136] Uncor Ecc Err 0_th, on page 0x27ff0 fail., cur_try_time=4
<4>[ 7.665092] read retry PASS cur_try_times=5
<4>[ 7.689184] Uncor Ecc Err 0_th, on page 0x27fee fail., cur_try_time=5
<4>[ 7.697484] Uncor Ecc Err 1_th, on page 0x27fee fail., cur_try_time=6
<4>[ 7.705109] read retry PASS cur_try_times=-1
<3>[ 7.717347] init: try to config ril modem type...
<3>[ 7.721823] init: ril is not enable...Uncor Ecc Err 0_th, on page 0x2573c
fail., cur_try_time=-1
<4>[ 7.769700] Uncor Ecc Err 1_th, on page 0x2573c fail., cur_try_time=0
<4>[ 7.777596] read retry PASS cur_try_times=1
<3>[ 7.989003] init: cannot find '/system/etc/install-recovery.sh', disabling
'flash_recovery'
<3>[ 8.233007] init: cannot find '/system/etc/init.sh', disabling 'system_ini
t'
<3>[ 8.350094] android_usb: already disabled
<6>[ 8.354709] adb_bind_config
<6>[ 8.357444] usb_ep_autoconfig try to find ep1in-bulk
<6>[ 8.362447] usb_ep_autoconfig found ep1in-bulk
<6>[ 8.366953] usb_ep_autoconfig try to find ep2out-bulk
<6>[ 8.372070] usb_ep_autoconfig found ep2out-bulk
<6>[ 8.376846] udc: gri wmt_pullup()
<6>[ 8.380088] udc: gri pullup_enable()
<6>[ 8.385135] warning: `adbd' uses 32-bit capabilities (legacy support in us
e)
<6>[ 8.392382] adb_open
<6>[ 8.555107] android_work: sent uevent USB_STATE=CONNECTED
<6>[ 8.638176] android_usb gadget: high speed config #1: android
<6>[ 8.643884] rndis ooooo 24
<6>[ 8.646556] android_work: sent uevent USB_STATE=CONFIGURED
<6>[ 8.906307] rndis xxxxx 24
<6>[ 9.350776] usbcore: registered new interface driver cdc_acm
<6>[ 9.356380] cdc_acm: USB Abstract Control Model driver for USB modems and
ISDN adapters
<6>[ 9.469677] USB Serial support registered for GSM modem (1-port)
<6>[ 9.475907] usbcore: registered new interface driver option
<6>[ 9.481418] option: v0.7.2:USB Driver for GSM modems
<1>[ 9.535094] [is_mc32x0]: Find mc3230(mCube g-sensor).
<6>[ 9.542536] input: g-sensor as /devices/virtual/input/input1
<4>[ 9.567353] offser gain = 482 474 418 528 256 688======================
<4>[ 9.567361]
<4>[ 9.567364] ft5406-touch reslx=600, resly=1024, Interrupt GP1, bit1, Rese
t GP0, bit4
<6>[ 9.768922] input: ft5406-touch as /devices/virtual/input/input2
<4>[ 9.793322] ERR:ft5x0x_i2c_rxdata_67:msg i2c read error: -5
<4>[ 9.798824] ERR:ft5x0x_read_data_157:read_data i2c_rxdata failed: -5
<1>[ 9.986959] [dump_kpad_devinfo]: =========================================
==========
<1>[ 9.994639] [dump_kpad_devinfo]: kpad id:baseboard devnum:1
<1>[ 10.000172] [dump_kpad_devinfo]: dev[0] type:rc_1
<1>[ 10.005104] [dump_kpad_devinfo]:
<1>[ 10.008390] [dump_kpad_devinfo]: key number:5
<1>[ 10.012810] [dump_kpad_devinfo]: key0:9e(158),
<1>[ 10.017152] [dump_kpad_devinfo]: key1:8b(139),
<1>[ 10.021655] [dump_kpad_devinfo]: key2:73(115),
<1>[ 10.026157] [dump_kpad_devinfo]: key3:72(114),
<1>[ 10.030666] [dump_kpad_devinfo]: key4:66(102),
<1>[ 10.035167] [dump_kpad_devinfo]:
<1>[ 10.038638] [dump_kpad_devinfo]: longkey num:0
<1>[ 10.043142] [dump_kpad_devinfo]: =========================================
==========
<6>[ 10.053519] input: keypad as /devices/virtual/input/input3
<4>[ 10.430673] fan GEIO_STOP_LOGO
<6>[ 10.433659] [Boot Animation] animation_stop
<4>[ 10.776949] [VPP] rx user pid 0x55
<4>[ 12.439302] mc_write:3--0
<4>[ 12.442012] mc_write:3--0
<4>[ 12.520929] [INFO] {wmt_vid_open}: vid_i2c_gpio_en 0x00000000
<4>[ 12.527775] cmos_init_gc0308 2560 1936
<4>[ 12.626609] cmos_release()
<4>[ 12.629423] [INFO] {wmt_vid_open}: vid_i2c_gpio_en 0x00000000
<4>[ 12.659689] cmos_init_yacd511 2560 1936
<4>[ 12.663553] cmos_release()
<6>[ 12.932817] [INFO] VPU Firmware Version =>
<6>[ 12.932823] product : | version : 0002.0000.00000008
<6>[ 12.932829]
<6>[ 12.947243] [INFO] msvd_dec_open(h264) bf057d54 (index 0 inUse 1)
<6>[ 12.954723] [INFO] Profile 0x4d Level 0x15 Interlace AspectRateio 0x0
<4>[ 13.060117] mc_write:3--5
<6>[ 13.064871] [INFO] VPU Firmware Version =>
<6>[ 13.064877] product : | version : 0002.0000.00000008
<6>[ 13.064883]
<6>[ 13.079297] [INFO] msvd_dec_open(h264) bf057d54 (index 0 inUse 1)
<6>[ 13.086704] [INFO] Profile 0x4d Level 0x15 Interlace AspectRateio 0x0
<4>[ 22.439434] Uncor Ecc Err 0_th, on page 0x2567e fail., cur_try_time=1
<4>[ 22.447430] Uncor Ecc Err 1_th, on page 0x2567e fail., cur_try_time=2
<4>[ 22.455322] read retry PASS cur_try_times=3
<1>[ 33.393832] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 0
<4>[ 33.399504] skip adjust backlight at the first time
<4>[ 33.404539] mc_write:1--0
<6>[ 33.419512] request_suspend_state: wakeup (3->0) at 33849036002 (2013-03-0
6 13:51:58.986161334 UTC)
<1>[ 33.430339] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 154
<4>[ 33.440196] mc_write:1--60
<6>[ 34.008832] acc_open
<6>[ 34.011157] acc_release
<4>[ 34.303820] Uncor Ecc Err 0_th, on page 0x25800 fail., cur_try_time=3
<4>[ 34.310838] read retry PASS cur_try_times=4
<4>[ 40.754027] mc_write:3--0
<3>[ 40.778421] binder: release proc 162, transaction 90, not freed
<3>[ 40.784294] binder: release proc 162, transaction 5047, not freed
<6>[ 40.884850] yaffs: dev is 32505869 name is "mtdblock13" rw
<6>[ 40.890290] yaffs: passed flags ""
<7>[ 40.893639] yaffs: yaffs: Attempting MTD mount of 31.13,"mtdblock13"
<7>[ 41.008158] yaffs: yaffs_read_super: is_checkpointed 1
<4>[ 44.126783] Uncor Ecc Err 0_th, on page 0x27fbc fail., cur_try_time=4
<4>[ 44.275513] read retry PASS cur_try_times=5
<4>[ 44.493885] Uncor Ecc Err 0_th, on page 0x27fbe fail., cur_try_time=5
<4>[ 44.524878] Uncor Ecc Err 1_th, on page 0x27fbe fail., cur_try_time=6
<4>[ 44.533376] read retry PASS cur_try_times=-1
<4>[ 46.592229] Uncor Ecc Err 0_th, on page 0x43944 fail., cur_try_time=-1
<4>[ 46.610250] Uncor Ecc Err 1_th, on page 0x43944 fail., cur_try_time=0
<4>[ 46.630067] read retry PASS cur_try_times=1
<4>[ 46.910741] Uncor Ecc Err 0_th, on page 0x43946 fail., cur_try_time=1
<4>[ 46.918700] Uncor Ecc Err 1_th, on page 0x43946 fail., cur_try_time=2
<4>[ 46.926723] read retry PASS cur_try_times=3
<4>[ 48.368608] Uncor Ecc Err 0_th, on page 0x25900 fail., cur_try_time=3
<4>[ 48.376529] read retry PASS cur_try_times=4
<4>[ 333.801387] Uncor Ecc Err 0_th, on page 0x25b00 fail., cur_try_time=4
<4>[ 333.809262] Uncor Ecc Err 1_th, on page 0x25b00 fail., cur_try_time=5
<4>[ 333.817127] Uncor Ecc Err 2_th, on page 0x25b00 fail., cur_try_time=6
<4>[ 333.824996] Uncor Ecc Err 3_th, on page 0x25b00 fail., cur_try_time=-1
<4>[ 333.832908] read retry PASS cur_try_times=0
<4>[ 333.840808] Uncor Ecc Err 0_th, on page 0x25b00 fail., cur_try_time=0
<4>[ 333.848720] Uncor Ecc Err 1_th, on page 0x25b00 fail., cur_try_time=1
<4>[ 333.856625] Uncor Ecc Err 2_th, on page 0x25b00 fail., cur_try_time=2
<4>[ 333.864500] Uncor Ecc Err 3_th, on page 0x25b00 fail., cur_try_time=3
<4>[ 333.871615] read retry PASS cur_try_times=4
<1>[ 633.830513] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 150
<4>[ 633.836406] mc_write:1--58
<1>[ 633.846984] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 147
<4>[ 633.852891] mc_write:1--57
<1>[ 633.866863] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 144
<4>[ 633.872757] mc_write:1--56
<1>[ 633.886870] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 141
<4>[ 633.894230] mc_write:1--55
<1>[ 633.903615] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 138
<4>[ 633.909819] mc_write:1--54
<1>[ 633.920203] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 135
<4>[ 633.926096] mc_write:1--52
<1>[ 633.936835] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 132
<4>[ 633.942719] mc_write:1--51
<1>[ 633.953646] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 129
<4>[ 633.959562] mc_write:1--50
<1>[ 633.970201] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 126
<4>[ 633.976094] mc_write:1--49
<1>[ 633.986882] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 123
<4>[ 633.992769] mc_write:1--48
<1>[ 634.006991] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 120
<4>[ 634.013487] mc_write:1--47
<1>[ 634.026882] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 117
<4>[ 634.032772] mc_write:1--45
<1>[ 634.046842] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 114
<4>[ 634.054196] mc_write:1--44
<1>[ 634.063611] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 111
<4>[ 634.069806] mc_write:1--43
<1>[ 634.080537] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 108
<4>[ 634.086431] mc_write:1--42
<1>[ 634.096848] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 105
<4>[ 634.102729] mc_write:1--41
<1>[ 634.113656] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 102
<4>[ 634.119662] mc_write:1--40
<1>[ 634.130198] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 100
<4>[ 634.136083] mc_write:1--39
<1>[ 641.271927] [lcd_brightness]pwm_no = 0 pwm_period = 1000 b= 0
<1>[ 641.277631] [lcd_brightness]lcd turn off <--
<4>[ 641.283652] mc_write:1--0
<6>[ 641.292736] request_suspend_state: sleep (0->3) at 641722369336 (2013-03-0
6 14:02:06.859382668 UTC)
<4>[ 641.405636] -------------> do auto suspend
<3>[ 2132.167123] init: untracked pid 1061 exited
[email protected]:/ $
Click to expand...
Click to collapse
SK:dikes
ENG:thank you
ROM
SK:
Dnes som nasiel origo ROM
Ale nepodarilo sa mi to nahodit ani podla instrukcii
ENG: Today I find original shipped ROM. But, I have problem with upgrade it by the instructions.
Anyone knowns how to make jelly bean working?
Any one?..

Allwinner Tablet, weird Wlan problem with "ported" ROM

Ok, I got an obscure Allwinner A31S based tablet by a company called "Tristan Auran" with model name Planet 3 from ebay for a few bucks. It's fairly nice for the price, and like with all the devices I get, I went about rooting and tuning it. While attempting to install a custom recovery, the recovery must have damaged something and the tablet refused to boot after starting it once.
I had a dump of the important partitions, but I couldn't read them back anymore and no matter how often I tried making a PhoenixSuite flashable image, they tablet would always lock up on the boot logo. Noone online seems to have a working stock rom, and the manufacturer didn't reply to my requests.
Seeing it as a lost cause, I downloaded firmware randomly of tablets that had the same or similar hardware configurations. I ended up finding one that actually booted fairly flawlessly and got most of everything working by editing the Allwinner SystemConfig and Build.prop to the right values. Touch, sound, graphics, all seems to work without major bugs.
The only thing that eludes me is Wlan at the moment. No matter what I tried it will not work on its own.
Interestingly, Wlan starts working when I boot with a plugged in USB Wlan stick. Not too surprising, but the onboard Wlan chip ALSO starts working when I unplug the USB Stick and insmod the proper driver quickly (the USB stick uses an RTL8188 chip, and the onboard chip is a RTL8723AS combined wlan/bluetooth chip).
Reading the logs has been a bit enigmatic to me, and all I could glean is that for some reason the drivers unload when the USB stick is NOT plugged in, but not why or how I could fix that.
When I boot without plugged in USB stick, the onboard wlan is not appearing on an lsusb printout, if I boot with it plugged in they BOTH appear with their proper IDs.
Any help is appreciated, and if you happen to have the same tablet I'll upload the image somwhere.
Here is a dmesg printout of the section with the 8188 driver loading with the USB stick NOT plugged in for starters.
I'm sure that there is some other weirdness in there, but everything else seems to work well, so I wouldn't worry too much about anything unrelated to wlan or USB.
Code:
<6>[ 36.404154] hub 4-0:1.0: USB hub found
<6>[ 36.404204] hub 4-0:1.0: 1 port detected
<7>[ 36.406089] SELinux: initialized (dev mmcblk0p1, type vfat), uses genfs_contexts
<6>[ 36.407880] usbcore: registered new interface driver rtl8188eu
<4>[ 36.407896] RTL871X: module init ret=0
<3>[ 36.411642] init: no such service 'fuse_extsd'
<6>[ 36.751853] usb 4-1: new full-speed USB device number 2 using sw-ohci
<6>[ 36.924743] usb 4-1: not running at top speed; connect to a high speed hub
<6>[ 36.942782] rtk_btusb: btusb_probe 1==========can_wakeup=1 flag2=0
<6>[ 36.942798] rtk_btusb: patch_add
<6>[ 36.942828] rtk_btusb: hci_register_dev e3e6e800 name bus 1
<6>[ 36.942840] rtk_btusb: id=0
<6>[ 36.942851] rtk_btusb: hdev->name=hci0
<3>[ 36.942859] rtk_btusb: ===================hci_register_dev success
<4>[ 38.123389] [ND]flush cache 1 1!
<7>[ 38.144630] SELinux: initialized (dev nandk, type vfat), uses genfs_contexts
<3>[ 38.147101] init: no such service 'fuse_sdcard'
<6>[ 38.958934] init: waitpid returned pid 2790, status = 00000000
<3>[ 38.958969] init: untracked pid 2790 exited
<4>[ 40.843108] RTL871X: module exit start
<6>[ 40.843133] usbcore: deregistering interface driver rtl8188eu
<4>[ 40.843927] [sw_hci_sun6i]: ERR: sw_ehci is null
<4>[ 40.843946] [sw_hci_sun6i]: [sw-ohci1]: sw_usb_disable_ohci
<4>[ 40.843965] [sw_hci_sun6i]: [sw-ohci1]: remove, pdev->name: sw-ohci, pdev->id: 1, sw_ohci: 0xc08e5fb4
<6>[ 40.843992] sw-ohci sw-ohci.1: remove, state 1
<6>[ 40.844029] usb usb4: USB disconnect, device number 1
<6>[ 40.844049] usb 4-1: USB disconnect, device number 2
<6>[ 40.844388] rtk_btusb: btusb_disconnect
<6>[ 40.844401] rtk_btusb: patch_remove
<6>[ 40.844419] rtk_btusb: hci_unregister_dev hdeve3e6e800 name hci0 bus 1
<6>[ 40.844437] rtk_btusb: btusb_flush add delay
<6>[ 40.866089] sw-ohci sw-ohci.1: USB bus 4 deregistered
<4>[ 40.866129] [sw_hci_sun6i]: [sw-ohci1]: Set USB Power OFF
<4>[ 40.866148] [sw_hci_sun6i]: [sw-ohci1]: close clock
<4>[ 40.866178] [RTL8723AS]: Set GPIO rtk_rtl8723as_wl_dis to 0 !
<4>[ 40.866192] [RTL8723AS]: RTL8723AS is powered down by wifi
<4>[ 40.866204] [RTL8723AS]: rtl8723as module power set by axp.
and WITH the USB stick.
Code:
<6>[ 35.781577] hub 4-0:1.0: USB hub found
<6>[ 35.781645] hub 4-0:1.0: 1 port detected
<7>[ 35.785044] SELinux: initialized (dev mmcblk0p1, type vfat), uses genfs_contexts
<3>[ 35.790935] init: no such service 'fuse_extsd'
<4>[ 35.794361] bFWReady == _FALSE call reset 8051...
<4>[ 35.823665] RTL871X: rtw_ndev_init(wlan0)
<4>[ 35.867817] RTL871X: rtw_ndev_init(p2p0)
<6>[ 35.879110] usbcore: registered new interface driver rtl8188eu
<4>[ 35.879129] RTL871X: module init ret=0
<6>[ 36.078727] init: computing context for service '/system/bin/logwrapper'
<5>[ 36.079073] init: starting 'p2p_supplicant'
<6>[ 36.080865] init: Created socket '/dev/socket/wpa_wlan0' with mode '660', user '1010', group '1010'
<6>[ 36.121142] usb 4-1: new full-speed USB device number 2 using sw-ohci
<6>[ 36.294094] usb 4-1: not running at top speed; connect to a high speed hub
<6>[ 36.320360] rtk_btusb: btusb_probe 1==========can_wakeup=1 flag2=0
<6>[ 36.320382] rtk_btusb: patch_add
<6>[ 36.320455] rtk_btusb: hci_register_dev e43cf800 name bus 1
<6>[ 36.320473] rtk_btusb: id=0
<6>[ 36.320498] rtk_btusb: hdev->name=hci0
<3>[ 36.320523] rtk_btusb: ===================hci_register_dev success
<4>[ 36.581279] ==> rtl8188e_iol_efuse_patch
<6>[ 36.848256] ADDRCONF(NETDEV_UP): p2p0: link is not ready
<6>[ 37.145264] ADDRCONF(NETDEV_UP): wlan0: link is not ready
<4>[ 37.569824] [ND]flush cache 1 1!
<7>[ 37.572658] SELinux: initialized (dev nandk, type vfat), uses genfs_contexts
<3>[ 37.574856] init: no such service 'fuse_sdcard'
<6>[ 38.318666] init: waitpid returned pid 2873, status = 00000000
<3>[ 38.318707] init: untracked pid 2873 exited
<4>[ 38.616284] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 38.701415] RTL871X: start auth
<4>[ 38.705556] RTL871X: auth success, start assoc
<4>[ 38.709440] RTL871X: assoc success
<6>[ 38.709987] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
This happens after I disconnect the USB stick and insmod the 8723au.ko driver. (Although I'm confused by the mess of chip model names. Might not actually be the 8723au driver that talks to the onboard chip. as I said, can't make a sese of it.)
Code:
<4>[ 113.662806] [sun6i_usb]: ERR: sw_hcd_host_rx, end 2 RX proto error(0x204)
<4>[ 113.662841] [sun6i_usb]: ERR: sw_hcd_host_rx, end 2 RX proto error(0x4)
<4>[ 113.662885] [sun6i_usb]:
<4>[ 113.662889] ------------IRQ DISCONNECT-------------
<4>[ 113.662894]
<6>[ 113.662966] usb 3-1: USB disconnect, device number 2
<4>[ 113.710835] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e3475140, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.710859] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe3475140,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.710876] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.710894] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e34750c0, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.710915] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe34750c0,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.710931] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.710948] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e3f09f40, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.710969] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe3f09f40,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.710984] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.711001] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e3f09ec0, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.711021] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe3f09ec0,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.711037] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.711054] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e3f09e40, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.711075] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe3f09e40,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.711090] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.711107] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e34752c0, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.711128] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe34752c0,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.711143] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.711160] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e3475240, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.711181] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe3475240,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.711196] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.711213] [sun6i_usb]: [sw_hcd]: sw_hcd_urb_dequeue, sw_hcd(e622b4d8, 0x0, 0x3f),urb(e34751c0, 4000, 0), dev = 2, ep = 1, dir = in
<4>[ 113.711233] [sun6i_usb]: sw_hcd_cleanup_urb: qh(0xe0357e40,0x1,0x2), urb(0xe34751c0,4000,0), ep(0xe622b5cc,2,0xe0357e40,0x (null))
<4>[ 113.711249] [sun6i_usb]: ERR: sw_hcd_advance_schedule, host is not active
<4>[ 113.711369] RTL871X: rtw_cmd_thread: DriverStopped(1) SurpriseRemoved(1) break at line 478
<6>[ 113.732930] cfg80211: Calling CRDA for country: DE
<4>[ 113.771502] RTL871X: rtw_ndev_uninit(wlan0)
<5>[ 113.835924] init: service 'dhcpcd_wlan0' is being killed
<6>[ 113.836827] init: waitpid returned pid 3172, status = 00000009
<5>[ 113.836855] init: process 'dhcpcd_wlan0', pid 3172 exited
<4>[ 113.930931] [sun6i_usb]:
<4>[ 113.930936]
<4>[ 113.930939] rmmod_host_driver
<4>[ 113.930943]
<4>[ 113.930957] [sw_hcd0]: sw_usb_host0_disable start
<4>[ 113.930970] [sw_hcd0]: sw_hcd_wait_for_disconnect cnt=0
<4>[ 113.930984] [sun6i_usb]: [sw_hcd_host0]: Set USB Power OFF
<4>[ 113.931172] [sun6i_usb]: -------sw_hcd0_soft_disconnect---------
<4>[ 113.931207] [sun6i_usb]: wrn: hcd is not enable, need not stop hcd
<4>[ 113.931245] [sw_hcd0]: close_usb_clock
<4>[ 113.931267] [sw_hcd0]: sw_usb_host0_disable end
<4>[ 113.991092] RTL871X: rtw_ndev_uninit(p2p0)
<6>[ 114.057791] healthd: battery l=100 v=4156 t=30.0 h=2 st=5 c=3 chg=au
<4>[ 114.211428] RTL871X: rtw_dev_unload: driver not in IPS
<4>[ 114.212611] [sun6i_usb]: [sw_hcd]: sw_hcd_h_disable, epnum = 0
<4>[ 114.212625] [sun6i_usb]: [sw_hcd]: sw_hcd_h_disable, epnum = 0
<4>[ 114.212636] [sun6i_usb]: [sw_hcd]: sw_hcd_h_disable, epnum = 81
<4>[ 114.212648] [sun6i_usb]: [sw_hcd]: sw_hcd_h_disable, epnum = 2
<4>[ 114.212658] [sun6i_usb]: [sw_hcd]: sw_hcd_h_disable, epnum = 3
<6>[ 114.232911] healthd: battery l=100 v=4156 t=30.0 h=2 st=5 c=3 chg=a
<4>[ 128.464964] [RTL8723AS]: Set GPIO rtk_rtl8723as_wl_dis to 1 !
<4>[ 128.464985] [RTL8723AS]: RTL8723AS is powered up by wifi
<4>[ 128.464997] [RTL8723AS]: rtl8723as module power set by axp.
<4>[ 128.465116] create_regulator: axp22_ldo5: Failed to create debugfs directory
<4>[ 128.465638] [RTL8723AS]: RTL8723AS power state change: wifi 1, bt 0 !!
<4>[ 128.465663] [RTL8723AS]: succeed to set gpio rtk_rtl8723as_wl_dis to 1 !
<4>[ 128.465677] [RTL8723AS]: sdio wifi power state: on
<6>[ 130.511390] usbcore: registered new interface driver rtl8723au
<6>[ 134.264995] ADDRCONF(NETDEV_UP): wlan0: link is not ready
<4>[ 136.498820] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 136.680901] RTL871X: start auth
<4>[ 136.683811] RTL871X: auth success, start assoc
<4>[ 136.688876] RTL871X: assoc success
<6>[ 136.689288] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<4>[ 136.711963] RTL871X: send eapol packet
<4>[ 136.722834] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 136.722843] ==> rssi_level:0, rate_bitmap:0x000ff005
<4>[ 136.725356] RTL871X: send eapol packet
<4>[ 136.857833] RTL871X: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
<4>[ 136.881808] RTL871X: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1
<6>[ 136.938034] init: computing context for service '/system/bin/dhcpcd'
<5>[ 136.938412] init: starting 'dhcpcd_wlan0'
<4>[ 138.349822] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 138.349831] ==> rssi_level:2, rate_bitmap:0x000ff000
<6>[ 158.933711] cfg80211: Calling CRDA to update world regulatory domain
<4>[ 161.069767] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 161.254903] RTL871X: start auth
<4>[ 161.257812] RTL871X: auth success, start assoc
<4>[ 161.261880] RTL871X: assoc success
<6>[ 161.262289] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<4>[ 161.294824] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 161.294833] ==> rssi_level:0, rate_bitmap:0x000ff005
<4>[ 162.347821] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 162.347829] ==> rssi_level:2, rate_bitmap:0x000ff000
<5>[ 167.150502] init: service 'dhcpcd_wlan0' is being killed
<6>[ 167.151527] init: waitpid returned pid 5785, status = 00000009
<5>[ 167.151552] init: process 'dhcpcd_wlan0', pid 5785 exited
<6>[ 167.151652] init: waitpid returned pid 5988, status = 00000009
<3>[ 167.151676] init: untracked pid 5988 exited
<6>[ 167.488584] cfg80211: Calling CRDA to update world regulatory domain
<4>[ 169.619684] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 169.754869] RTL871X: start auth
<4>[ 169.756810] RTL871X: auth success, start assoc
<4>[ 169.760866] RTL871X: assoc success
<4>[ 169.793814] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 169.793822] ==> rssi_level:0, rate_bitmap:0x000ff005
<6>[ 169.974281] init: computing context for service '/system/bin/dhcpcd'
<5>[ 169.974537] init: starting 'dhcpcd_wlan0'
<4>[ 170.347837] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 170.347845] ==> rssi_level:2, rate_bitmap:0x000ff000
<6>[ 176.033973] cfg80211: Calling CRDA for country: DE
<5>[ 176.042455] init: service 'dhcpcd_wlan0' is being killed
<6>[ 176.043355] init: waitpid returned pid 6052, status = 00000009
<5>[ 176.043381] init: process 'dhcpcd_wlan0', pid 6052 exited
<4>[ 176.752841] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 176.920935] RTL871X: start auth
<4>[ 176.923854] RTL871X: auth success, start assoc
<4>[ 176.928948] RTL871X: assoc success
<6>[ 176.929450] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<4>[ 176.952660] RTL871X: send eapol packet
<4>[ 176.961837] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 176.961846] ==> rssi_level:0, rate_bitmap:0x000ff005
<4>[ 176.963241] RTL871X: send eapol packet
<4>[ 177.095848] RTL871X: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
<4>[ 177.119838] RTL871X: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1
<6>[ 177.189899] init: computing context for service '/system/bin/dhcpcd'
<5>[ 177.190155] init: starting 'dhcpcd_wlan0'
<4>[ 178.347825] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 178.347833] ==> rssi_level:2, rate_bitmap:0x000ff000
<6>[ 199.844666] cfg80211: Calling CRDA to update world regulatory domain
<4>[ 201.990451] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 202.216893] RTL871X: start auth
<4>[ 202.219807] RTL871X: auth success, start assoc
<4>[ 202.223864] RTL871X: assoc success
<4>[ 202.256829] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 202.256839] ==> rssi_level:0, rate_bitmap:0x000ff005
<4>[ 202.492815] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 202.492822] ==> rssi_level:2, rate_bitmap:0x000ff000
<6>[ 207.262315] init: waitpid returned pid 6228, status = 00000100
<5>[ 207.262345] init: process 'dhcpcd_wlan0', pid 6228 exited
<6>[ 207.293697] cfg80211: Calling CRDA for country: DE
<4>[ 210.510748] RTL871X: nolinked power save enter
<4>[ 216.489797] RTL871X: nolinked power save leave
<4>[ 220.480740] RTL871X: nolinked power save enter
<6>[ 221.232645] healthd: battery l=100 v=4144 t=30.0 h=2 st=5 c=3 chg=a
<4>[ 224.291801] RTL871X: nolinked power save leave
<4>[ 224.295810] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 224.435912] RTL871X: start auth
<4>[ 224.438824] RTL871X: auth success, start assoc
<4>[ 226.734820] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
<4>[ 226.894886] RTL871X: start auth
<4>[ 226.897805] RTL871X: auth success, start assoc
<4>[ 226.902877] RTL871X: assoc success
<4>[ 226.927654] RTL871X: send eapol packet
<4>[ 226.936846] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
<4>[ 226.936855] ==> rssi_level:0, rate_bitmap:0x000ff005
<4>[ 226.938306] RTL871X: send eapol packet
<4>[ 227.072854] RTL871X: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
<4>[ 227.096820] RTL871X: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1
<6>[ 227.152065] init: computing context for service '/system/bin/dhcpcd'
<5>[ 227.152336] init: starting 'dhcpcd_wlan0'
<4>[ 229.403830] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff

Categories

Resources