[Q] wifi not turning on in samssung galaxy s2 I9100 - Galaxy S II Q&A, Help & Troubleshooting

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

Related

REQUEST

Hey there, please someone run a tcpdump while the OTA update on the mini and send me the log. Because now my phone is still sending, but maybe i'm able to work on further till the phone arrives
Thanks
Bin4ry
X10 mini PRO comes out of the store with the latest firmware 1.1.А.0.8.
and can't be udated Over-the-air :-(
But X10 mini (may be) comes with 1.0.А.1.036
Any idea how to force update Over-the-air, if firmware already latest?
May be tcpdump of update over PcCompanion can help?
yep i know, but i we can crossflash X10 mini firmware to X10 mini pro (keyboard will not work). But now i'm searching for a x10 mini user who is making a tcpdump until i get the device to do it on my own
The faster someone helps the faster you get root
Regards
EDIT:
No way to force the update :/
SE is always using ssl-sha1 crypting in their communication with fota servers. We already tryed to guess the right chat but no luck. For now we can only dump the mainpath to fota.package and then we know it for all firmwares
PC-Comp. won't help, cause i'm working on dmclient. I think i have found the key to root a few hours ago. Now we need fota and firmware dump to roll back to the rom where fota updates from
Ок.
I already found the way to revert my firmware to previous 1.0.A.1.36 firmware.
1.1.А.0.8 -> 1.0.A.1.36 = completed
But now it's UK firmware and loose my Russian Warranty
But OTA update not available im my region :'(
OTA over WLAN is always available, because it only knows firmware version.
Hmm if not it weird.
So you are now on UK firmware?
Try to go into OTA Settings -> Networks -> WLAN Only
Then search again, if you got it:
tcpdump -D
-> you will get interfaces
tcpdump -w dump.log -I *INTERFACENUMBER*
Thanks
Bin4ry
NO!
I think it looks at SIM card, operator or IMEI.
OTA update not available :-(
Yes it now UK firmware – Google Voice works perfectly (it can't works in my country).
Phone Software version:
1235-3408_1.0.A.1.36
GENERIC - user
File System Version:
WORLD-1-8_1.0.A.1.36
S1 Boot version
1229-3593 R8A026
ETS Software version
1234-7269_1S_18
Customization version
1237-0392_R6A
Memory card
1236-3496_R9A
Content version
PA12
Type Number
AAD-3880069-BV
Click to expand...
Click to collapse
Way to revert:
Use debranding procedure.
And quick copy 2 files between SEUS download firmware from SE and load it to phone.
UPD: But SEUS says now that Update available!
UPD2: OTA can't find network without SIM installed!
hmmm, okay thanks for trying. Then we have to find somebody who is willing to do and for whom OTA is available :/
But many thanks for trying
Regards
Bin4ry
How to do that
Hi, I guess I may do what you ask for. I've tried udpated the phone using OTA. It told me I already have the latest software installed, so it OTA should be available by my guess.
What is the exact way to get the dump. I have no idea where tu put the commands in. I've left Win Mobile a few days ago (after 6 years) and I'm very new to Android
Regards,
Radek
Yes, update phone using OTA is clearly possible, here is a part of the message from a member of esto forum : "I upgraded yesterday to 1.1.A.08 in India on OTA and got two fresh apps installed, Roller Coaster & Backup/Restore." can see here (last message on the page) : http://www.esato.com/board/viewtopic.php?topic=194074&start=705
If you got this message there is not OTA for you :/
Some people here claimed that there is OTA, thats because it requested someone of them to capture it with tcpdump.
Regards
Bin4ry
Darkbidule said:
Yes, update phone using OTA is clearly possible, here is a part of the message from a member of esto forum : "I upgraded yesterday to 1.1.A.08 in India on OTA and got two fresh apps installed, Roller Coaster & Backup/Restore." can see here (last message on the page) : http://www.esato.com/board/viewtopic.php?topic=194074&start=705
Click to expand...
Click to collapse
If we can get the information from the service menu from this chaps phone we can hopefully recreate the link
I created a new thread to request this informations .... Maybe this time the right users answer
Regards
Bin4ry
MarylandCookie said:
If we can get the information from the service menu from this chaps phone we can hopefully recreate the link
Click to expand...
Click to collapse
This user got update:
Phone Software Version:
1235-3408_1.1.A.0.8
GEBERIC - user
File System Version:
WORLD-1-8_1.1.A.0.8
German User!
Regards
Bin4ry
May be this will help: device booting log
<5>[ 0.000000] Linux version 2.6.29 ([email protected]) (gcc version 4.2.1)
#1 PREEMPT Sun Apr 25 11:26:30 2010
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
<4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
<4>[ 0.000000] Machine: QCT MSM7x27 SURF
<6>[ 0.000000] Partition (from atag) system -- Offset:160 Size:670
<6>[ 0.000000] Partition (from atag) cache -- Offset:7d0 Size:190
<6>[ 0.000000] Partition (from atag) appslog -- Offset:ffe Size:2
<6>[ 0.000000] Partition (from atag) userdata -- Offset:960 Size:69e
<4>[ 0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[ 0.000000] On node 0 totalpages: 55296
<7>[ 0.000000] free_area_init_node: node 0, pgdat 804de1c8, node_mem_map 805fb000
<7>[ 0.000000] Normal zone: 432 pages used for memmap
<7>[ 0.000000] Normal zone: 0 pages reserved
<7>[ 0.000000] Normal zone: 54864 pages, LIFO batch:15
<6>[ 0.000000] allocating 524288 bytes at 80800000 (a00000 physical) for kernel ebi1 pmem arena
<6>[ 0.000000] allocating 15159296 bytes at 80eac000 (10ac000 physical) for mdp pmem arena
<6>[ 0.000000] allocating 8880128 bytes at 81d21000 (1f21000 physical) for adsp pmem arena
<6>[ 0.000000] allocating 16777216 bytes at 82599000 (2799000 physical) for gpu1 pmem arena
<6>[ 0.000000] allocating 1048576 bytes at 83599000 (3799000 physical) for fb
<6>[ 0.000000] allocating 2097152 bytes at 83700000 (3900000 physical) for KGSL
<6>[ 0.000000] L210 cache controller enabled
<4>[ 0.000000]
<4>[ 0.000000] [KDUMP] Successfully reserved Crashk Memory
<4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 54864
<5>[ 0.000000] Kernel command line: mem=216M androidboot.hardware=delta
msm_hsusb.pid=0x3137 console=ttyMSM2 serialno=xxxxx console=ttyMSM0 startup=0x00000001
<3>[ 0.000000] Unknown boot option `androidboot.hardware=delta': ignoring
<6>[ 0.000000] USB serial number: xxxxx
<7>[ 0.000000] startup_reason_setup: 0x1
<4>[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
<4>[ 0.000000] Console: colour dummy device 80x30
<6>[ 0.000280] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[ 0.000920] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.016915] Memory: 216MB = 216MB total
<5>[ 0.016948] Memory: 168704KB available (4628K code, 1296K data, 140K init)
<6>[ 0.017291] Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
<4>[ 0.230310] Mount-cache hash table entries: 512
<6>[ 0.230871] CPU: Testing write buffer coherency: ok
<6>[ 0.233743] net_namespace: 296 bytes
<6>[ 0.234665] NET: Registered protocol family 16
<6>[ 0.236738] socinfo_init: v3, id=43, ver=0.0, raw_id=0, raw_ver=0, hw_plat=0
<6>[ 0.236760] acpu_clock_init()
<6>[ 0.236925] L val: PLL0: 50, PLL1: 12, PLL2: 62
<6>[ 0.237055] ACPU running at 600000 KHz
<6>[ 0.237071] Id CPU-KHz PLL DIV AHB-KHz ADIV AXI-KHz D0 D1 D2 U0 U1 U2
<6>[ 0.237098] 0 19200 -1 1 19200 1 30720 -1 -1 -1 1 4 3
<6>[ 0.237123] 1 120000 0 8 60000 2 61440 -1 -1 -1 5 4 3
<6>[ 0.237150] 2 122880 1 2 61440 2 61440 1 -1 -1 5 4 3
<6>[ 0.237175] 3 200000 2 6 66667 3 61440 1 2 -1 5 4 6
<6>[ 0.237200] 4 245760 1 1 122880 2 61440 1 2 3 7 -1 6
<6>[ 0.237225] 5 320000 0 3 160000 2 160000 1 2 3 7 -1 6
<6>[ 0.237250] 6 400000 2 3 133333 3 160000 5 4 3 7 -1 8
<6>[ 0.237276] 7 480000 0 2 160000 3 160000 5 4 6 -1 -1 8
<6>[ 0.237301] 8 600000 2 2 200000 3 200000 7 -1 6 -1 -1 -1
<6>[ 0.237320] Shared PLL control available.
<6>[ 0.237333] 5 scaling frequencies supported.
<7>[ 0.274038] msm_mddi_hitachi_display_device_init
<7>[ 0.274426] msm_mddi_samsung_display_device_init
<7>[ 0.274635] msm_mddi_toshiba_display_device_init
<6>[ 0.275236] console [oops-1] enabled
<4>[ 0.291785] bio: create slab <bio-0> at 0
<6>[ 0.293121] msm_i2c_probe
<6>[ 0.293233] msm_i2c_probe: clk_ctl 315, 400000 Hz
<6>[ 0.296706] Bluetooth: Core ver 2.15
<6>[ 0.297058] NET: Registered protocol family 31
<6>[ 0.297075] Bluetooth: HCI device and connection manager initialized
<6>[ 0.297096] Bluetooth: HCI socket layer initialized
<6>[ 0.299913] NET: Registered protocol family 2
<6>[ 0.300103] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
<7>[ 0.300196] Switched to high resolution mode on CPU 0
<6>[ 0.300596] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
<6>[ 0.300911] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
<6>[ 0.301081] TCP: Hash tables configured (established 8192 bind 8192)
<6>[ 0.301100] TCP reno registered
<6>[ 0.301290] NET: Registered protocol family 1
<6>[ 0.301893] checking if image is initramfs... it is
<6>[ 0.593413] Freeing initrd memory: 684K
<6>[ 0.595695] smd probe
<6>[ 0.595718] smd_core_init()
<6>[ 0.595801] smd_core_init() done
<6>[ 0.596068] smd_alloc_channel: cid 0 fifo found; size = 8192
<6>[ 0.596091] smd_alloc_channel() 'DS' cid=0
<6>[ 0.597035] smd_alloc_channel: cid 1 fifo found; size = 8192
<6>[ 0.597060] smd_alloc_channel() 'DIAG' cid=1
<6>[ 0.597440] smd_alloc_channel: cid 2 fifo found; size = 8192
<6>[ 0.597465] smd_alloc_channel() 'RPCCALL' cid=2
<6>[ 0.597868] smd_alloc_channel: cid 7 fifo found; size = 32768
<6>[ 0.597891] smd_alloc_channel() 'DATA1' cid=7
<6>[ 0.598321] smd_alloc_channel: cid 8 fifo found; size = 8192
<6>[ 0.598343] smd_alloc_channel() 'DATA2' cid=8
<6>[ 0.598766] smd_alloc_channel: cid 9 fifo found; size = 8192
<6>[ 0.598788] smd_alloc_channel() 'DATA3' cid=9
<6>[ 0.599191] smd_alloc_channel: cid 10 fifo found; size = 8192
<6>[ 0.599215] smd_alloc_channel() 'DATA4' cid=10
<6>[ 0.599628] smd_alloc_channel: cid 11 fifo found; size = 32768
<6>[ 0.599651] smd_alloc_channel() 'DATA5' cid=11
<6>[ 0.600021] smd_alloc_channel: cid 12 fifo found; size = 32768
<6>[ 0.600045] smd_alloc_channel() 'DATA6' cid=12
<6>[ 0.600485] smd_alloc_channel: cid 13 fifo found; size = 32768
<6>[ 0.600506] smd_alloc_channel() 'DATA7' cid=13
<6>[ 0.600940] smd_alloc_channel: cid 17 fifo found; size = 8192
<6>[ 0.600963] smd_alloc_channel() 'DATA11' cid=17
<3>[ 0.601380] smd_alloc_channel: cid 38 does not exist
<6>[ 0.601401] smd_alloc_channel: cid 39 fifo found; size = 8192
<6>[ 0.601421] smd_alloc_channel() 'DAL00' cid=39
<6>[ 0.601813] smd_alloc_channel: cid 40 fifo found; size = 8192
<6>[ 0.601835] smd_alloc_channel() 'DATA5_CNTL' cid=40
<6>[ 0.602243] smd_alloc_channel: cid 41 fifo found; size = 8192
<6>[ 0.602265] smd_alloc_channel() 'DATA6_CNTL' cid=41
<6>[ 0.602646] smd_alloc_channel: cid 42 fifo found; size = 8192
<6>[ 0.602670] smd_alloc_channel() 'DATA7_CNTL' cid=42
<6>[ 0.603630] SMD Control Port Driver Initialized.
<6>[ 0.604486] SMD: ch 2 CLOSED -> OPENING
<6>[ 0.604610] SMD: ch 2 OPENING -> OPENED
<3>[ 0.605335] Using very old AMSS modem firmware.
<3>[ 0.605383] Using very old AMSS modem firmware.
<6>[ 0.605916] [adsp:adsp.c:adsp_init] rs3000000a:00010000 -- 0
<6>[ 0.609846] [msm-audio:audpp.c:audpp_probe] Number of decoder supported 5
<6>[ 0.609876] [msm-audio:audpp.c:audpp_probe] Number of concurrency supported 7
<6>[ 0.609903] [msm-audio:audpp.c:audpp_probe] module_name:AUDPLAY0TASK
<6>[ 0.609921] [msm-audio:audpp.c:audpp_probe] queueid:13
<6>[ 0.609936] [msm-audio:audpp.c:audpp_probe] decid:0
<6>[ 0.609953] [msm-audio:audpp.c:audpp_probe] nr_codec_support:11
<6>[ 0.609970] [msm-audio:audpp.c:audpp_probe] module_name:AUDPLAY1TASK
<6>[ 0.609991] [msm-audio:audpp.c:audpp_probe] queueid:14
<6>[ 0.610006] [msm-audio:audpp.c:audpp_probe] decid:1
<6>[ 0.610021] [msm-audio:audpp.c:audpp_probe] nr_codec_support:5
<6>[ 0.610038] [msm-audio:audpp.c:audpp_probe] module_name:AUDPLAY2TASK
<6>[ 0.610055] [msm-audio:audpp.c:audpp_probe] queueid:15
<6>[ 0.610071] [msm-audio:audpp.c:audpp_probe] decid:2
<6>[ 0.610086] [msm-audio:audpp.c:audpp_probe] nr_codec_support:5
<6>[ 0.610106] [msm-audio:audpp.c:audpp_probe] module_name:AUDPLAY3TASK
<6>[ 0.610125] [msm-audio:audpp.c:audpp_probe] queueid:16
<6>[ 0.610140] [msm-audio:audpp.c:audpp_probe] decid:3
<6>[ 0.611198] [msm-audio:audpp.c:audpp_probe] nr_codec_support:4
<6>[ 0.611218] [msm-audio:audpp.c:audpp_probe] module_name:AUDPLAY4TASK
<6>[ 0.611241] [msm-audio:audpp.c:audpp_probe] queueid:17
<6>[ 0.611256] [msm-audio:audpp.c:audpp_probe] decid:4
<6>[ 0.611271] [msm-audio:audpp.c:audpp_probe] nr_codec_support:1
<6>[ 0.627273] RPC_TIME_TOD_SET_APPS_BASES:
<6>[ 0.627285] tick = 161731
<6>[ 0.627290] stamp = 18371725
<4>[ 0.627323] /home/hudsonslave/root/workspace/offbuild_param_deckard1_0_release_caf_matrix/
HUDSON_PRODUCT/robyn/HUDSON_VARIANT/user/label/
BUILDNODE/kernel/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<6>[ 0.628021] proximity-sensor: proximity_probe called.
<6>[ 0.628586] Registered semc device: proximity-sensor
<6>[ 0.628605] proximity-sensor: driver installation succeeded
<6>[ 0.641741] ashmem: initialized
<6>[ 0.643300] fuse init (API version 7.11)
<4>[ 0.643923] yaffs May 12 2010 22:12:25 Installing.
<6>[ 0.643985] msgmni has been set to 331
<6>[ 0.644051] io scheduler noop registered
<6>[ 0.644066] io scheduler anticipatory registered (default)
<6>[ 0.644856] msm_fb_probe: phy_Addr = 0x3799000 virt = 0x8e200000
<6>[ 0.646640] MDP HW Base phy_Address = 0xaa200000 virt = 0x8e100000
<6>[ 0.647323] primary mddi base phy_addr = 0xaa600000 virt = 0x8e00c000
<6>[ 0.659028] MDDI: Hitachi: Found display with cell ID = 0xfd, module ID = 0x2,
revision ID = 0x20, driver ID = 0x13
<6>[ 0.662831] FrameBuffer[0] 240x320 size=307200 bytes is registered successfully!
<6>[ 0.663513] Registered led device: lcd-backlight
<6>[ 0.684138] diagfwd initializing ..
<6>[ 0.684456] SMD: ch 1 CLOSED -> OPENING
<6>[ 0.684475] diag opened SMD port; r = 0
<6>[ 0.684560] SMD: ch 1 OPENING -> OPENED
<6>[ 0.684825] diagchar initializing ..
<6>[ 0.685311] diagchar initialized
<6>[ 0.685545] [drm] Initialized drm 1.1.0 20060810
<6>[ 0.685633] msm_serial: detected port #2
<6>[ 0.685736] msm_serial.2: ttyMSM2 at MMIO 0xa9c00000 (irq = 11) is a MSM
<6>[ 0.685855] msm_serial: console setup on port #2
<6>[ 0.685880] console [ttyMSM2] enabled
<6>[ 1.533379] msm_serial: driver initialized
<6>[ 1.535949] msm_serial_hs.0: ttyHS0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
<6>[ 1.544018] msm_serial_hs module loaded
<6>[ 1.551528] brd: module loaded
<6>[ 1.555713] loop: module loaded
<6>[ 1.556083] pmem: 1 init
<6>[ 1.557169] pmem_adsp: 0 init
<6>[ 1.559469] pmem_gpu1: 0 init
<3>[ 1.563249] pmic-lightsensor: registered.
<6>[ 1.566681] SEMC_Systemconnector: Successfully initialized.
<6>[ 1.573843] Registered semc device: vibrator
<6>[ 1.575488] msm_pmic_vibrator version 0.1 loaded
<6>[ 1.580086] semc_power: Loading...
<6>[ 1.583503] bq24180: Setting up HW
<6>[ 1.586909] bq24180: Probing
<6>[ 1.589724] bq24180: Starting watchdog reset
<6>[ 1.594721] bq24180: BQ24180 not initialized by boot SW
<6>[ 1.599184] bq24180: Stopping watchdog reset
<6>[ 1.603738] bq24180: Found HW BQ24180 revision 0x01.
<6>[ 1.609509] bq24180: Set init values
<6>[ 1.611966] bq24180: Setting charger voltage to 0 mV
<6>[ 1.616998] bq24180: Setting charger current to 0 mA
<6>[ 1.621856] bq24180: Disable charger
<6>[ 1.625506] bq24180: Set safety timer to 0 minutes
<6>[ 1.630826] semc_pwr_pltf: Setting up platform
<3>[ 1.635348] power_supply battery: driver failed to report `status' property
<3>[ 1.642773] bq24180: Charger Ready
<6>[ 1.655369] PPP generic driver version 2.4.2
<6>[ 1.655963] PPP Deflate Compression module registered
<6>[ 1.659039] PPP BSD Compression module registered
<6>[ 1.663778] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256)
(6 bit encapsulation enabled).
<6>[ 1.673376] CSLIP: code copyright 1989 Regents of the University of California.
<6>[ 1.681729] rmnet0 (): not using net_device_ops yet
<6>[ 1.686136] rmnet1 (): not using net_device_ops yet
<6>[ 1.691033] rmnet2 (): not using net_device_ops yet
<6>[ 1.695803] Linux video capture interface: v2.00
<7>[ 1.813333] msm_camdrv: <<<<<<<<<< Camera vendor [0] >>>>>>>>>>>
<7>[ 1.813353] msm_camdrv: <<<<<<<<<< Camera revision[12307] >>>>>>>>>>>
<3>[ 1.930343] bq24180: Charger Ready
<6>[ 2.272261] msm_nand: phys addr 0xa0a00000 dmac 0x7
<6>[ 2.272399] allocated dma buffer at ffa1d000, dma_addr ccaf000
<6>[ 2.277611] status: e00020
<6>[ 2.280014] nandid: 5510bc20 maker 20 device bc
<6>[ 2.284563] ONFI probe : Found an ONFI compliant device NANDCBR4N9BZBC5
<6>[ 2.291658] Found a supported NAND device
<6>[ 2.295636] NAND Id : 0x5510bc20
<6>[ 2.298936] Buswidth : 16 Bits
<6>[ 2.302074] Density : 512 MByte
<6>[ 2.305273] Pagesize : 2048 Bytes
<6>[ 2.308571] Erasesize: 131072 Bytes
<6>[ 2.312053] Oobsize : 64 Bytes
<6>[ 2.315168] 2nd_bbm : 0
<6>[ 2.317686] CFG0 Init : 0xa85408c0
<6>[ 2.321254] CFG1 Init : 0x0004745e
<6>[ 2.324803] ECCBUFCFG : 0x00000203
<5>[ 2.328374] Creating 4 MTD partitions on "msm_nand":
<5>[ 2.333329] 0x000002c00000-0x00000fa00000 : "system"
<5>[ 2.339611] 0x00000fa00000-0x000012c00000 : "cache"
<5>[ 2.344109] 0x00001ffc0000-0x000020000000 : "appslog"
<5>[ 2.349089] 0x000012c00000-0x00001ffc0000 : "userdata"
<6>[ 2.354544] msm_hsusb_rpc_connect: rpc connect success vers = 10001
<3>[ 2.359533] msm_chg_rpc_connect: connect compatible failed
<6>[ 2.365201] usb_set_composition: composition set to product id = 3137
<6>[ 2.371554] phy info257)
<6>[ 2.374684] usb_probe() io=8e01a000, irq=47, dma=ffa1e000(cca4000)
<6>[ 2.380594] Created the sysfs entry successfully
<6>[ 2.385101] Created the functions sysfs entry successfully
<6>[ 2.391774] usb_function_register: name = 'adb', map = 1
<6>[ 2.396276] usb_function_register: name = 'mass_storage', map = 4
<6>[ 2.402186] usb_set_composition: composition set to product id = 3137
<3>[ 2.409271] msm_hsusb_is_serial_num_null: rpc call success
<3>[ 2.414694] msm_hsusb_send_serial_number: rpc call failed! error: -22
<3>[ 2.421243] msm_hsusb_send_productID: rpc call success
<6>[ 2.425584] msm_hsusb: functions bound. starting.
<6>[ 2.430314] usb_bind_func() (mass_storage)
<3>[ 2.434568] usb_start: pm_app_rpc connect failed
<6>[ 2.439526] usb_function_register: name = 'diag', map = 0
<6>[ 2.444514] msm_hsusb_phy_reset
<6>[ 2.448373] usb_function_register: name = 'modem', map = 2
<6>[ 2.453144] usb_function_register: name = 'nmea', map = 3
<6>[ 2.458578] usb_function_register: name = 'ethernet', map = 5
<6>[ 2.465061] synaptics_load_rmi4_func_regs: Func:f11_2D Query_Base:0x7a Cmd_Base:0x59 Ctrl_Base:0x26 Data_Base:0x18
<6>[ 2.475183] synaptics_load_rmi4_func_regs: Func:f08_BIST Query_Base:0x78 Cmd_Base:0x58 Ctrl_Base:0x20 Data_Base:0x15
<6>[ 2.485694] synaptics_load_rmi4_func_regs: Func:f01_RMI Query_Base:0x63 Cmd_Base:0x57 Ctrl_Base:0x1e Data_Base:0x13
<6>[ 2.601839] synaptics_ts_probe: nbr_panels:1 nbr_fingers:1 data_size:5
<6>[ 2.602733] synaptics_ts_probe: fw_rev:17 max_x:1632 max_y:2156
<6>[ 2.608656] synaptics_ts_probe: max_x 1632, max_y 2156
<6>[ 2.613771] synaptics_ts_probe: inactive_x 0 0, inactive_y 0 0
<6>[ 2.619574] synaptics_ts_probe: snap_x 0-0 0-0, snap_y 0-0 0-0
<6>[ 2.625904] input: synaptics-rmi-touchscreen as /devices/virtual/input/input0
<6>[ 2.633146] synaptics_ts_probe: Start touchscreen synaptics-rmi-touchscreen in interrupt mode
<6>[ 2.641888] GPIO Matrix Keypad Driver: Start keypad matrix for robyn_keypad in interrupt mode
<6>[ 2.650031] input: robyn_keypad as /devices/virtual/input/input1
<7>[ 2.656608] RTC Registering with rs30000048:00010000
<7>[ 2.657676] msm_rtc: dev (254:0)
<6>[ 2.657724] rs30000048:00010000 rs30000048:00010000: rtc core: registered msm_rtc as rtc0
<7>[ 2.664044] msm_rtc_secure: dev (254:1)
<6>[ 2.664064] rs30000048:00010000 rs30000048:00010000: rtc core: registered msm_rtc_secure as rtc1
<6>[ 2.672664] i2c /dev entries driver
<6>[ 2.677203] input: compass as /devices/virtual/input/input2
<6>[ 2.730606] Bosch Sensortec Device detected!
<6>[ 2.730618] BMA150/SMB380 registered I2C driver!
<6>[ 2.733861] register_chrdev
<6>[ 2.736793] class_create ok
<6>[ 2.739681] BMA150 device create ok
<6>[ 2.743949] Bluetooth: HCI UART driver ver 2.2
<6>[ 2.747311] Bluetooth: HCI H4 protocol initialized
<6>[ 2.752108] Bluetooth: HCI BCSP protocol initialized
<6>[ 2.757029] Bluetooth: HCILL protocol initialized
<7>[ 2.761731] bluetooth_power_init
<7>[ 2.761814] bt_power_probe
<6>[ 2.763421] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq 24,113 dma 8
<6>[ 2.768574] mmc0: 8 bit data mode disabled
<6>[ 2.772693] mmc0: 4 bit data mode enabled
<6>[ 2.776648] mmc0: polling status mode disabled
<6>[ 2.781116] mmc0: MMC clock 144000 -> 49152000 Hz, PCLK 100000000 Hz
<6>[ 2.787411] mmc0: Slot eject status = 0
<6>[ 2.791244] mmc0: Power save feature enable = 1
<6>[ 2.795749] mmc0: DM non-cached buffer at ffa20000, dma_addr 0x0cddc000
<6>[ 2.802356] mmc0: DM cmd busaddr 0x0cddc000, cmdptr busaddr 0x0cddc300
<6>[ 2.809724] lm3530 probing
<6>[ 2.815201] Registered semc device: lm3530-led
<6>[ 2.815973] lm3530 0-0036: version 0.1 loaded
<6>[ 2.820609] Adding I2C driver for LM35300)
<6>[ 2.824564] msm_pmic_flash_led probing
<6>[ 2.832014] Registered semc device: spotlight
<6>[ 2.832858] Registered semc device: flashled
<6>[ 2.836891] msm_pmic_flash_led version 0.1 loaded
<6>[ 2.845868] logger: created 64K log 'log_main'
<6>[ 2.846371] logger: created 256K log 'log_events'
<6>[ 2.856069] logger: created 64K log 'log_radio'
<6>[ 2.862094] Advanced Linux Sound Architecture Driver Version 1.0.18a.
<4>[ 2.868554] No device for DAI CODEC_DAI
<4>[ 2.868644] No device for DAI CPU_DAI
<3>[ 2.875876] msm_soc: create pcms
<6>[ 2.876268] asoc: CODEC_DAI <-> CPU_DAI mapping ok
<3>[ 2.878413] msm_soc: ALSA MSM Mixer Setting
<6>[ 2.884941] ALSA device list:
<6>[ 2.885529] #0: msm-audio (MSM-CARD)
<6>[ 2.889313] TCP cubic registered
<6>[ 2.892486] NET: Registered protocol family 17
<6>[ 2.896921] Bluetooth: L2CAP ver 2.13
<6>[ 2.900586] Bluetooth: L2CAP socket layer initialized
<6>[ 2.905568] Bluetooth: SCO (Voice Link) ver 0.6
<6>[ 2.910071] Bluetooth: SCO socket layer initialized
<6>[ 2.917104] Bluetooth: RFCOMM socket layer initialized
<6>[ 2.920104] Bluetooth: RFCOMM TTY layer initialized
<6>[ 2.924936] Bluetooth: RFCOMM ver 1.11
<6>[ 2.928651] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[ 2.933988] Bluetooth: BNEP filters: protocol multicast
<6>[ 2.939153] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[ 2.945766] RPC: Registered udp transport module.
<6>[ 2.949766] RPC: Registered tcp transport module.
<6>[ 2.954894] clock_late_init() disabled 15 unused clocks
<6>[ 2.960904] input: 7k_handset as /devices/virtual/input/input3
<6>[ 2.967043] smsm_entry 7, new intr_mask 0
<6>[ 2.969453] smsm_entry 6, new intr_mask 0
<6>[ 2.973643] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
<6>[ 2.994258] [drm] Initialized kgsl 2.0.0 20090810 on minor 0
<6>[ 2.994918] msm_v4l2: msm_v4l2_init
<6>[ 2.998974] rs30000048:00010000 rs30000048:00010000: setting system
clock to 2010-06-26 06:06:05 UTC (1277532365)
<6>[ 3.008203] Freeing init memory: 140K
<6>[ 3.120511] usb_lpm_enter: usb in low power mode
<6>[ 3.120628] hsusb: IDLE -> OFFLINE
<3>[ 3.171403] init: /init.rc: 218: invalid option 'busybox'
<3>[ 3.172109] init: /init.delta.rc: 74: ignored duplicate definition of service 'qmuxd'
<4>[ 3.233606] mmc0: host does not support reading read-only switch. assuming write-enable.
<6>[ 3.236084] mmc0: new SD card at address aaaa
<6>[ 3.250378] mmcblk0: mmc0:aaaa SU02G 1.84 GiB
<6>[ 3.250734] mmcblk0: p1
<6>[ 3.363538] yaffs: dev is 32505856 name is "mtdblock0"
<6>[ 3.363658] yaffs: passed flags ""
<4>[ 3.366456] yaffs: Attempting MTD mount on 31.0, "mtdblock0"
<4>[ 3.476239] yaffs: restored from checkpoint
<4>[ 3.476386] yaffs_read_super: isCheckpointed 1
<6>[ 3.479724] yaffs: dev is 32505859 name is "mtdblock3"
<6>[ 3.484386] yaffs: passed flags ""
<4>[ 3.487751] yaffs: Attempting MTD mount on 31.3, "mtdblock3"
<4>[ 3.573716] yaffs: restored from checkpoint
<4>[ 3.585258] yaffs_read_super: isCheckpointed 0
<6>[ 3.591041] yaffs: dev is 32505857 name is "mtdblock1"
<6>[ 3.591156] yaffs: passed flags ""
<4>[ 3.593948] yaffs: Attempting MTD mount on 31.1, "mtdblock1"
<4>[ 3.601418] yaffs: restored from checkpoint
<4>[ 3.603759] yaffs_read_super: isCheckpointed 1
<3>[ 3.635841] init: execve /sbin/checkabortedflash
<3>[ 3.653221] init: waitpid return (PID = 1051)
<3>[ 3.653339] init: child process exited normally
<3>[ 3.741036] init: cannot find '/system/bin/playmp3', disabling 'bootsound'
<3>[ 3.772914] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
<6>[ 3.894298] SMD: ch 40 CLOSED -> OPENING
<6>[ 3.894483] SMD: ch 40 OPENING -> OPENED
<6>[ 3.897733] SMD: ch 41 CLOSED -> OPENING
<6>[ 3.900471] SMD: ch 41 OPENING -> OPENED
<6>[ 3.905264] SMD: ch 42 CLOSED -> OPENING
<6>[ 3.908278] SMD: ch 42 OPENING -> OPENED
<6>[ 4.492636] bq24180: Set charger safety limit voltage to 4200 mV
<6>[ 4.494706] bq24180: Set charger safety limit current to 650 mA
<6>[ 4.496751] bq24180: Set charge current termination to 200 mA
<6>[ 4.504173] proximity-sensor (th_set): threshold=27
<6>[ 4.509206] proximity-sensor (hyst_set): hysteresis=8
<6>[ 5.448834] [msm-audio:snd.c:snd_ioctl] snd_agc_ctl 1
<6>[ 5.456164] warning: `Mixer Thread fo' uses 32-bit capabilities (legacy support in use)
<6>[ 5.458816] [msm-audio:snd.c:snd_ioctl] snd_set_device 29 1 1
<6>[ 5.468999] [msm-audio:snd.c:snd_ioctl] snd_set_device 29 1 0
<6>[ 5.477079] [msm-audio:snd.c:snd_ioctl] snd_set_volume 26 0 7
<6>[ 5.477841] [msm-audio:snd.c:snd_ioctl] snd_set_volume 27 0 7
<6>[ 5.480276] [msm-audio:snd.c:snd_ioctl] snd_set_volume 28 0 7
<6>[ 5.481043] [msm-audio:snd.c:snd_ioctl] snd_set_volume 29 0 7
<6>[ 5.481694] [msm-audio:snd.c:snd_ioctl] snd_set_volume 30 0 7
<6>[ 5.482381] [msm-audio:snd.c:snd_ioctl] snd_set_volume 31 0 7
<6>[ 5.483063] [msm-audio:snd.c:snd_ioctl] snd_set_volume 32 0 7
<6>[ 5.483968] [msm-audio:snd.c:snd_ioctl] snd_set_volume 33 0 7
<6>[ 5.484656] [msm-audio:snd.c:snd_ioctl] snd_set_volume 34 0 7
<6>[ 5.485271] [msm-audio:snd.c:snd_ioctl] snd_set_volume 35 0 7
<6>[ 5.485914] [msm-audio:snd.c:snd_ioctl] snd_set_volume 36 0 7
<6>[ 5.486613] [msm-audio:snd.c:snd_ioctl] snd_set_volume 37 0 7
<6>[ 5.487503] [msm-audio:snd.c:snd_ioctl] snd_set_volume 56 0 7
<6>[ 5.488218] [msm-audio:snd.c:snd_ioctl] snd_set_volume 38 0 7
<6>[ 5.488899] [msm-audio:snd.c:snd_ioctl] snd_set_volume 39 0 7
<6>[ 5.489566] [msm-audio:snd.c:snd_ioctl] snd_set_volume 40 0 7
<6>[ 5.490268] [msm-audio:snd.c:snd_ioctl] snd_set_volume 41 0 7
<6>[ 5.491174] [msm-audio:snd.c:snd_ioctl] snd_set_volume 42 0 7
<6>[ 5.491911] [msm-audio:snd.c:snd_ioctl] snd_set_volume 43 0 7
<6>[ 5.492576] [msm-audio:snd.c:snd_ioctl] snd_set_volume 44 0 7
<6>[ 5.493266] [msm-audio:snd.c:snd_ioctl] snd_set_volume 45 0 7
<6>[ 5.493894] [msm-audio:snd.c:snd_ioctl] snd_set_volume 46 0 7
<6>[ 5.494801] [msm-audio:snd.c:snd_ioctl] snd_set_volume 47 0 7
<6>[ 5.495534] [msm-audio:snd.c:snd_ioctl] snd_set_volume 48 0 7
<6>[ 5.496211] [msm-audio:snd.c:snd_ioctl] snd_set_volume 49 0 7
<6>[ 5.496873] [msm-audio:snd.c:snd_ioctl] snd_set_volume 50 0 7
<6>[ 5.497539] [msm-audio:snd.c:snd_ioctl] snd_set_volume 51 0 7
<6>[ 5.498448] [msm-audio:snd.c:snd_ioctl] snd_set_volume 52 0 7
<6>[ 5.499248] [msm-audio:snd.c:snd_ioctl] snd_set_volume 53 0 7
<6>[ 5.499889] [msm-audio:snd.c:snd_ioctl] snd_set_volume 54 0 7
<6>[ 5.500524] [msm-audio:snd.c:snd_ioctl] snd_set_volume 55 0 7
<6>[ 10.442193] pmem: successful request for physical address of pmem region id 3,
offset 41521152, len 4194304
<6>[ 10.500393] misc kgsl: firmware: requesting yamato_pm4.fw
<6>[ 10.510956] misc kgsl: firmware: requesting yamato_pfp.fw
<3>[ 10.512303] init: untracked pid 1153 exited
<3>[ 10.516329] init: untracked pid 1156 exited
<6>[ 33.928733] request_suspend_state: wakeup (3->0) at 33928558408
(2010-06-26 06:06:36.429746690 UTC)
<6>[ 35.140503] [msm-audio:snd.c:snd_ioctl] snd_set_volume 29 0 5
<6>[ 35.340956] [msm-audio:snd.c:snd_ioctl] snd_set_volume 29 0 7
<6>[ 36.830411] bq24180: Strange HW behaviour. Got safety timer fault but HW timer is disabled.
<3>[ 36.830448] bq24180: Charger Ready
<3>[ 37.130403] bq24180: Charger Ready
<6>[ 37.960528] input: systemconnector as /devices/virtual/input/input4
<7>[ 38.090198] SEMC_PHF (Interrupt handler) Status changed. Headset is not inserted
<6>[ 38.090639] semc_power: Disabling DCOUT. Current: 1000
<6>[ 52.121653] RPC_TIME_TOD_SET_APPS_BASES:
<6>[ 52.121664] tick = 1932058
<6>[ 52.121671] stamp = 50413832199208961
<6>[ 52.130404] rs30000048:00010000 rs30000048:00010000: setting system
clock to 2010-06-26 06:06:54 UTC (1277532414)
<3>[ 57.796259] binder: release proc 1527, transaction 6042, not freed
<6>[ 143.176619] [msm-audio:audmgr.c:audmgr_rpc_thread] start
<6>[ 143.184273] [msm-audio:audio_out.c:audio_enable]
<6>[ 143.184304] [msm-audio:audmgr.c:audmgr_enable] session 0x80532ca0
<6>[ 143.185274] [msm-audio:audmgr.crocess_audmgr_callback] rpc READY handle=0x00000000
<6>[ 143.185678] [msm-audio:audmgr.c:audmgr_rpc_thread] rpc_reply status 0
<6>[ 143.237589] [msm-audio:audmgr.crocess_audmgr_callback] rpc CODEC_CONFIG
volume=0x00000406
<6>[ 143.239933] [adsp:adsp.c:handle_adsp_rtos_mtoa_app] INIT_INFO Event
<6>[ 143.240533] [adsp:adsp.c:msm_adsp_get] opening module AUDPPTASK
<6>[ 143.241208] [adsp:adsp.c:msm_adsp_get] module AUDPPTASK has been registered
<6>[ 143.241234] [adsp:adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]
<6>[ 143.242614] [adsp:adsp.c:handle_adsp_rtos_mtoa_app] rpc event=0, proc_id=2,
module=17227122, image=0
<6>[ 143.243199] [adsp:adsp.c:handle_adsp_rtos_mtoa_app] module AUDPPTASK: READY
<6>[ 143.244721] [msm-audio:audpp.c:audpp_dsp_event] ENABLE
<6>[ 143.244749] [msm-audio:audio_out.c:audio_dsp_event] CFG_MSG ENABLE
<3>[ 143.244831] [adsp:adsp.c:__msm_adsp_write] failed to write queue 140, retry
<3>[ 143.244886] [adsp:adsp.c:__msm_adsp_write] failed to write queue 140, retry
<6>[ 146.284549] [msm-audio:audio_out.c:audio_dsp_event] PCMDMAMISSED 32
<6>[ 149.222186] [msm-audio:audio_out.c:audio_disable]
<6>[ 149.222828] [msm-audio:audio_out.c:audio_dsp_event] CFG_MSG DISABLE
<6>[ 149.222931] [msm-audio:audpp.c:audpp_dsp_event] DISABLE
<6>[ 149.223009] [msm-audio:audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP
<6>[ 149.223061] [adsp:adsp.c:msm_adsp_disable] disable 'AUDPPTASK'
<6>[ 149.226809] [adsp:adsp.c:msm_adsp_disable_locked] disable interrupt
<6>[ 149.226864] [adsp:adsp.c:msm_adsp_put] closing module AUDPPTASK
<6>[ 149.226948] [msm-audio:audmgr.c:audmgr_disable] session 0x80532ca0
<6>[ 149.230789] [msm-audio:audmgr.c:audmgr_rpc_thread] rpc_reply status 0
<3>[ 149.241483] [msm-audio:audmgr.crocess_audmgr_callback] DISABLED
Bin4ry said:
This user got update:
Phone Software Version:
1235-3408_1.1.A.0.8
GEBERIC - user
File System Version:
WORLD-1-8_1.1.A.0.8
German User!
Regards
Bin4ry
Click to expand...
Click to collapse
I take it he has a generic handset or does he have a provider handset?
*edit*
Just tried with no luck
*double post*
No OTA in Spain as well
Tried with Movistar, but it was already in 11A08 and said "already in latest version"; debranded to 10A136 and tried again but no luck,same message trought OTA. Update detected in SEUS from 10A136 to 11A08, updated succefully to debranded version.
Could it be that OTA examines both the Fyle System Version and Software Version? I entered service menu and the data was:
Phone Software Version
1235-3408_1.0.A.1.36
GENERIC - user
File System Version
WORLD-1-8_1.1A.0.8
So it seems that the software version was downgraded, but it kept the 11A08 in file system. Checking it in Settings-> About the Phone it was still marked as 11A08 Compilation.
Sorry for the long post, maybe it's all a nonsense, but just trying to get the OTA info I stepped into this and seemed curious... I'll keep checking.
Good luck for everybody!!

[Q] Is USB OTG available?

So I've seen plenty of topics about other phones but had a difficult time finding anything regarding the HTC legend. I've already soldered my USB to micro USB and took a blade to a micro usb charger cord.
What I'm unsure about is how to tell if I went into USB host mode or not using the micro usb input I've got. It didn't have any noticable resistor on it, this is from a wall to phone charger if that matters.
I'm using Cyanogenmod 7.0 RC2
From what it looks like there's only the solder points for that + and - wires
Picture of micro usb input: http://i42.tinypic.com/116i493.jpg
Everything in one happy picture(do not click if bad soldering makes you cry): http://i41.tinypic.com/2ykxbtu.jpg
When I connected a mouse I don't use to see if the light would come on but that wasn't promising. I removed the micro usb when the little skateboarding startup logo showed and waited for the phone to start, when I plugged in my device dmesg only showed some ALS lines, which from short searching revealed it was something regarding GSM, but nothing regarding a mouse or anything about device.
Now I'm not expecting to use a USB mouse I want to use a USB keyboard(roll-up ) I just don't have a USB keyboard right now to really test.
Thanks for your time.
I compiled the kernel ver 2.6.25 for htc legend (cyanogen 7.2 rom), applied the hack from Sven Killing, hacked a home made cable for usb host mode and tested keyboard and mouse and both work fine!
I made some changes on the kernel (Kconfig and ehci-msm7201.c / .h), if somebody need it i can upload my kernel.
my kernel dmesg:
...
<6>[ 0.260314] [DISP]mdp_probe: initialized
<6>[ 0.260986] usbcore: registered new interface driver usbfs
<6>[ 0.261322] usbcore: registered new interface driver hub
<6>[ 0.261688] usbcore: registered new device driver usb
<6>[ 0.262207] msm_i2c_probe
<6>[ 0.262542] msm_i2c_probe: clk_ctl 315, 400000 Hz
<6>[ 0.264587] Bluetooth: Core ver 2.15
<6>[ 0.264862] NET: Registered protocol family 31
<6>[ 0.265075] Bluetooth: HCI device and connection manager initialized
<6>[ 0.265441] Bluetooth: HCI socket layer initialized
<6>[ 0.265838] Switching to clocksource gp_timer
<6>[ 0.267547] NET: Registered protocol family 2
<6>[ 0.267944] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[ 0.268798] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>[ 0.269531] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.270294] TCP: Hash tables configured (established 16384 bind 16384)
<6>[ 0.270507] TCP reno registered
<6>[ 0.270874] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.271087] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.271697] NET: Registered protocol family 1
<6>[ 0.272155] Unpacking initramfs...
<6>[ 0.291229] Freeing initrd memory: 144K
...
<6>[ 0.692687] tun: Universal TUN/TAP device driver, 1.6
<6>[ 0.692871] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
<6>[ 0.694946] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[ 0.695343] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
<7>[ 0.695678] usb_hcd_msm7201_probe()
<7>[ 0.695861] initializing MSM7201/QSD8X50/MSM7227 USB Controller
<6>[ 0.716461] msm_hsusb msm_hsusb: Qualcomm MSM7201/QSD8X50/MSM7227 On-Chip EHCI Host Controller
<6>[ 0.716888] msm_hsusb msm_hsusb: new USB bus registered, assigned bus number 1
<7>[ 0.717132] msm_hsusb msm_hsusb: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
<7>[ 0.717620] msm_hsusb msm_hsusb: park 0
<7>[ 0.717834] msm_hsusb msm_hsusb: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
<6>[ 0.718261] msm_hsusb msm_hsusb: irq 47, io mem 0xa0800000
<6>[ 0.737243] hub 1-0:1.0: USB hub found
<6>[ 0.737457] hub 1-0:1.0: 1 port detected
<4>[ 0.738037] ------------[ cut here ]------------
<4>[ 0.738433] WARNING: at kernel/irq/manage.c:290 enable_irq+0x5c/0xb4()
<4>[ 0.738616] Unbalanced enable for IRQ 47
<4>[ 0.738983] Modules linked in:
<4>[ 0.739410] [<c00359e8>] (unwind_backtrace+0x0/0xf0) from [<c0072068>] (warn_slowpath_common+0x4c/0x64)
<4>[ 0.739807] [<c0072068>] (warn_slowpath_common+0x4c/0x64) from [<c0072100>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 0.740203] [<c0072100>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00aa6a4>] (enable_irq+0x5c/0xb4)
<4>[ 0.740417] [<c00aa6a4>] (enable_irq+0x5c/0xb4) from [<c0275714>] (usb_hcd_msm7201_probe+0x25c/0x30c)
<4>[ 0.740814] [<c0275714>] (usb_hcd_msm7201_probe+0x25c/0x30c) from [<c0245e44>] (platform_drv_probe+0x18/0x1c)
<4>[ 0.741210] [<c0245e44>] (platform_drv_probe+0x18/0x1c) from [<c0244fb8>] (driver_probe_device+0xa8/0x158)
<4>[ 0.741607] [<c0244fb8>] (driver_probe_device+0xa8/0x158) from [<c02450c8>] (__driver_attach+0x60/0x84)
<4>[ 0.741973] [<c02450c8>] (__driver_attach+0x60/0x84) from [<c024480c>] (bus_for_each_dev+0x48/0x84)
<4>[ 0.742370] [<c024480c>] (bus_for_each_dev+0x48/0x84) from [<c0244144>] (bus_add_driver+0x9c/0x21c)
<4>[ 0.742584] [<c0244144>] (bus_add_driver+0x9c/0x21c) from [<c0245398>] (driver_register+0xa8/0x138)
<4>[ 0.742980] [<c0245398>] (driver_register+0xa8/0x138) from [<c0019938>] (ehci_hcd_init+0xac/0x108)
<4>[ 0.743377] [<c0019938>] (ehci_hcd_init+0xac/0x108) from [<c0030384>] (do_one_initcall+0x5c/0x1b0)
<4>[ 0.743743] [<c0030384>] (do_one_initcall+0x5c/0x1b0) from [<c0008410>] (kernel_init+0xb0/0x16c)
<4>[ 0.744140] [<c0008410>] (kernel_init+0xb0/0x16c) from [<c00318a8>] (kernel_thread_exit+0x0/0x8)
<4>[ 0.744384] ---[ end trace a88e7bb8f2db6923 ]---
<6>[ 0.745025] android init
<6>[ 0.745269] android_probe pdata: c0537a70
<6>[ 0.745635] f_adb init
<6>[ 0.745819] android_register_function adb
<6>[ 0.746032] f_mass_storage init
<6>[ 0.746276] fsg_probe pdev: c0537bd8, pdata: c05383bc
<6>[ 0.746795] android_register_function usb_mass_storage
<6>[ 0.746978] f_rndis init
<6>[ 0.747314] android_register_function rndis
<6>[ 0.747650] f_accessory init
<6>[ 0.747863] android_register_function accessory
<3>[ 0.748626] msm_i2c msm_i2c.0: error, status c8 (20,E4,00)(20,F4,00)(cnt:1,pos:0)
<3>[ 0.749053] msm_i2c msm_i2c.0: Error during data xfer (-5) (20,E4,00)
<6>[ 0.856872] synaptics_ts_probe: Product Major Version 1
<6>[ 0.857421] synaptics_ts_probe: Product Minor Version 3
<6>[ 0.857940] synaptics_ts_probe: product property 2
<6>[ 0.858642] synaptics_ts_probe: device control 81
<6>[ 0.859191] synaptics_ts_probe: interrupt enable 1
<6>[ 0.877288] synaptics_ts_probe: 0xe0: 1 1 1 2 1 3 0 0
<6>[ 0.896911] synaptics_ts_probe: Sensor properties 701
<6>[ 0.976715] synaptics_ts_probe: max_x 3668, max_y 5460
<6>[ 0.976928] synaptics_ts_probe: inactive_x -11 -11, inactive_y -11 -11
<6>[ 0.977294] synaptics_ts_probe: snap_x 0-0 0-0, snap_y 0-0 0-0
<6>[ 0.977508] synaptics_ts_probe: margin_pixel_left: 0, margin_pixel_right: 0, margin_pixel_top: 0, margin_pixel_bottom: 0
<6>[ 0.977874] synaptics_ts_probe: ts_raw_width: 3646, ts_raw_height: 5438
....
<6>[ 2.079620] [KEY] GPIO Matrix Keypad Driver: Start keypad matrix for legend-keypad in interrupt mode
<6>[ 2.080291] [KEY] GPIO Input Driver: Start gpio inputs for legend-keypad in interrupt mode
<6>[ 2.081024] input: legend-keypad as /devices/virtual/input/input3
<6>[ 2.082214] input: lightsensor-level as /devices/virtual/input/input4
<6>[ 2.082977] [LS][CM3602] set_ls_kvalue: ALS calibrated als_kadc=0x6da50053
<6>[ 2.083160] [LS][CM3602] set_ls_kvalue: als_kadc=0x53, als_gadc=0xc0
<6>[ 2.083374] [LS][CM3602] ls_table: data[0] , data[0] = 0, 0
<6>[ 2.083740] [LS][CM3602] ls_table: data[1] , data[1] = 0, e
<6>[ 2.083953] [LS][CM3602] ls_table: data[2] , data[2] = 0, 21
<6>[ 2.084320] [LS][CM3602] ls_table: data[3] , data[3] = 0, 5f
<6>[ 2.084503] [LS][CM3602] ls_table: data[4] , data[4] = 0, 85
<6>[ 2.084869] [LS][CM3602] ls_table: data[5] , data[5] = 0, ab
<6>[ 2.085083] [LS][CM3602] ls_table: data[6] , data[6] = 0, d1
<6>[ 2.085449] [LS][CM3602] ls_table: data[7] , data[7] = 1, 2d
<6>[ 2.085632] [LS][CM3602] ls_table: data[8] , data[8] = 1, 73
<6>[ 2.086029] [KEY] gpio_keys_scan_keys: key 1-116, 0 (20) changed to 0
<6>[ 2.086242] [LS][CM3602] ls_table: data[9] , data[9] = 3, ff
<7>[ 2.088623] __capella_cm3602_power: Turn the capella_cm3602 power on
<6>[ 2.089141] using input dev h2w headset for key reset
<6>[ 2.089538] using input dev legend-keypad for key reset
<6>[ 2.090332] input: curcial-oj as /devices/virtual/input/input5
<6>[ 2.090881] using input dev curcial-oj for key reset
<3>[ 2.092376] curcial_oj_poweronJower status ok
<6>[ 2.140625] OpticalJoystick Device ID: 0d
<6>[ 2.143493] OJ Driver: Revision : 02
<6>[ 2.146240] OJ: driver loaded
<6>[ 2.147460] using rtc device, msm_rtc, for alarms
<6>[ 2.147857] rs30000048:00010004 rs30000048:00010004: rtc core: registered msm_rtc as rtc0
<6>[ 2.148468] AKM8973 compass driver: init
<6>[ 2.149536] input: compass as /devices/virtual/input/input6
<6>[ 2.150421] [FLT]adp1650 Led Flash driver: init
<4>[ 2.150848] [CAM]s5k4e1gx_init
<4>[ 2.151123] [CAM]__s5k4e1gx_probe
<6>[ 2.151336] [CAM]s5k4e1gx_vreg_enable camera vreg on
<3>[ 2.151672] [CAM]sensor platform_data didnt register
<3>[ 2.151885] [CAM]__s5k4e1gx_probe fail sensor power on error
<6>[ 2.152404] [CAM]sctrl.node 0
<4>[ 2.152587] [CAM]s5k4e1gx_sensor_probe()
<6>[ 2.152832] [CAM]s5k4e1gx_probe called!
<6>[ 2.203308] [CAM]s5k4e1gx_probe successed! rc = 0
<6>[ 2.203552] [CAM]s5k4e1gx s->node 0
<6>[ 2.249176] [CAM]s5k4e1gx_sensor_init(): reseting sensor.
<6>[ 2.250305] [CAM]sensor_lc_disable=0
<4>[ 2.334533] [CAM]sensor evt version : 0x10
<4>[ 2.334716] [CAM]use analog_settings_evt3
<6>[ 2.345367] s5k4e1gx_sysfs_init : kobject_create_and_add
<6>[ 2.345581] s5k4e1gx_sysfs_init : sysfs_create_file
<6>[ 2.346893] device-mapper: uevent: version 1.0.3
<6>[ 2.347534] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
<6>[ 2.348144] Bluetooth: HCI UART driver ver 2.2
<6>[ 2.348358] Bluetooth: HCI H4 protocol initialized
<6>[ 2.348724] Bluetooth: HCILL protocol initialized
<7>[ 2.349731] msmsdcc_platform_status_irq: 102
<6>[ 2.349945] mmc0: Slot status change detected (0 -> 1)
<4>[ 2.350402] legend_sdslot_switchvdd::vdd=00000000 sdslot_vdd=ffffffff
<6>[ 2.350769] legend_sdslot_switchvdd: Disabling SD slot power
<4>[ 2.350982] off:MCI_Power=00000000
<4>[ 2.351165] off:MCI_Power=00000000
<6>[ 2.353820] mmc0: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,102 dma 8
<6>[ 2.354003] mmc0: Platform slot type: SD
<6>[ 2.354370] mmc0: 4 bit data mode enabled
<6>[ 2.354583] mmc0: 8 bit data mode disabled
<6>[ 2.354766] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 100000000 Hz
<6>[ 2.355133] mmc0: Slot eject status = 0
<6>[ 2.355346] mmc0: Power save feature enable = 1
<6>[ 2.355712] mmc0: DM non-cached buffer at ffa4a000, dma_addr 0x25669000
<6>[ 2.355895] mmc0: DM cmd busaddr 0x25669000, cmdptr busaddr 0x25669300
<7>[ 2.356689] Registered led device: amber
<7>[ 2.357055] Registered led device: green
<7>[ 2.357360] Registered led device: button-backlight
<6>[ 2.357757] microp_led_probe: succeeded
<6>[ 2.358612] usbcore: registered new interface driver usbhid
<6>[ 2.359008] usbhid: USB HID core driver
<6>[ 2.359741] logger: created 64K log 'log_main'
<6>[ 2.360076] logger: created 256K log 'log_events'
<6>[ 2.360565] logger: created 64K log 'log_radio'
<6>[ 2.360900] logger: created 64K log 'log_system'
<6>[ 2.361511] GACT probability NOT on
<6>[ 2.361724] Mirror/redirect action on
<6>[ 2.361938] u32 classifier
<6>[ 2.362121] Actions configured
<6>[ 2.362487] Netfilter messages via NETLINK v0.30.
<6>[ 2.362792] nf_conntrack version 0.5.0 (4653 buckets, 18612 max)
<4>[ 2.363464] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[ 2.363677] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[ 2.364044] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<6>[ 2.364654] ctnetlink v0.93: registering with nfnetlink.
<6>[ 2.365112] xt_time: kernel timezone is -0000
<6>[ 2.365661] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 2.366210] arp_tables: (C) 2002 David S. Miller
<6>[ 2.366485] TCP cubic registered
<6>[ 2.367309] NET: Registered protocol family 10
<6>[ 2.368255] lo: Disabled Privacy Extensions
<6>[ 2.369659] Mobile IPv6
<6>[ 2.370025] IPv6 over IPv4 tunneling driver
<6>[ 2.370910] sit0: Disabled Privacy Extensions
<6>[ 2.371887] ip6tnl0: Disabled Privacy Extensions
<6>[ 2.372406] NET: Registered protocol family 17
<6>[ 2.372650] NET: Registered protocol family 15
<6>[ 2.373229] Bluetooth: L2CAP ver 2.14
<6>[ 2.373413] Bluetooth: L2CAP socket layer initialized
<6>[ 2.373626] Bluetooth: SCO (Voice Link) ver 0.6
<6>[ 2.373992] Bluetooth: SCO socket layer initialized
<6>[ 2.374328] Bluetooth: RFCOMM TTY layer initialized
<6>[ 2.374694] Bluetooth: RFCOMM socket layer initialized
<6>[ 2.374877] Bluetooth: RFCOMM ver 1.11
<6>[ 2.375091] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[ 2.375457] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[ 2.376251] clock_late_init() disabled 20 unused clocks
<6>[ 2.376617] [Port list] init()
<6>[ 2.376892] [Port list] Virtual Address for port_list: [f8185a38]
<6>[ 2.377258] [Port list] Physical Address for port_list: [185A38]
<4>[ 2.378417] legend_wifi_init: start
<6>[ 2.379028] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
<6>[ 2.381317] rs30000048:00010004 rs30000048:00010004: setting system clock to 2012-07-25 19:15:10 UTC (1343243710)
<4>[ 2.381774] Warning: unable to open an initial console.
<6>[ 2.382202] Freeing init memory: 160K
<3>[ 2.386505] init: /init.legend.rc: 1: invalid command 'device'
<4>[ 2.447052] legend_sdslot_switchvdd::vdd=00000011 sdslot_vdd=00000000
<6>[ 2.447509] legend_sdslot_switchvdd: Setting level to 2900
<4>[ 2.452728] on:MCI_Power=00000042
<4>[ 2.458099] on:MCI_Power=00000043
<6>[ 2.508544] yaffs: dev is 32505859 name is "mtdblock3" rw
<6>[ 2.508758] yaffs: passed flags ""
<7>[ 2.509155] yaffs: Attempting MTD mount of 31.3,"mtdblock3"
<4>[ 2.546569] legend_sdslot_switchvdd::vdd=00000010 sdslot_vdd=00000011
<6>[ 2.546936] legend_sdslot_switchvdd: Setting level to 2850
<7>[ 2.692291] yaffs: restored from checkpoint
<7>[ 2.693237] yaffs_read_super: isCheckpointed 1
<6>[ 2.697631] yaffs: dev is 32505861 name is "mtdblock5" rw
<6>[ 2.698059] yaffs: passed flags ""
<7>[ 2.698272] yaffs: Attempting MTD mount of 31.5,"mtdblock5"
<4>[ 2.756988] mmc0: high speed mode but max_dtr = 50000000
<4>[ 2.757629] mmc0: host does not support reading read-only switch. assuming write-enable.
<6>[ 2.758026] mmc0: new high speed SDHC card at address 80e6
<6>[ 2.758819] mmcblk0: mmc0:80e6 SU08G 7.40 GiB
<6>[ 2.759674] mmcblk0: p1
<7>[ 2.856689] block 195 is bad
<7>[ 2.889587] block 408 is bad
<7>[ 2.995269] block 1089 is bad
<7>[ 4.499725] yaffs_read_super: isCheckpointed 0
<6>[ 4.500366] yaffs: dev is 32505860 name is "mtdblock4" rw
<6>[ 4.500579] yaffs: passed flags ""
<7>[ 4.500915] yaffs: Attempting MTD mount of 31.4,"mtdblock4"
<7>[ 4.594360] yaffs_read_super: isCheckpointed 0
<3>[ 5.087188] init: service 'console' requires console
<6>[ 5.102844] [Port list] Add port [5555]
<6>[ 5.103179] [Port list] [1] = 5555
<6>[ 5.295257] warning: `rild' uses 32-bit capabilities (legacy support in use)
<6>[ 5.380798] [SMD]SMD: ch 0 0 -> 1
<6>[ 5.381103] [SMD]SMD: ch 0 1 -> 2
<6>[ 5.389373] [SMD]SMD: ch 39 0 -> 1
<6>[ 5.389648] [SMD]SMD: ch 39 1 -> 2
<6>[ 5.389862] qmi: smd opened
<6>[ 5.390686] qmi: ctl: wds use client_id 0x01
<6>[ 5.391693] [SMD]SMD: ch 40 0 -> 1
<6>[ 5.391937] [SMD]SMD: ch 41 0 -> 1
<6>[ 5.392150] [SMD]SMD: ch 40 1 -> 2
<6>[ 5.392486] qmi: smd opened
<6>[ 5.392700] [SMD]SMD: ch 41 1 -> 2
<6>[ 5.392913] qmi: smd opened
<6>[ 5.393707] qmi: ctl: wds use client_id 0x01
<6>[ 5.393920] qmi: ctl: wds use client_id 0x01
<6>[ 6.343536] [AUD][snd.c:snd_ioctl] snd_set_device 1 1 1
<6>[ 6.344940] [AUD][snd.c:snd_rpc_thread] snd_rpc_thread() start
<6>[ 6.345306] [AUD][snd.c:snd_rpc_thread] snd: rpc_reply status 0
<6>[ 6.347076] [AUD][snd.c:snd_ioctl] snd_set_volume 256 0 5
<6>[ 6.348754] [AUD][snd.c:snd_rpc_thread] snd: rpc_reply status 0
<6>[ 12.975891] [DISP]msmfb: pan_update in state(1)
<6>[ 12.975891] [DISP]msmfb: full update starting
<6>[ 13.022674] [DISP]msmfb: full update completed
<6>[ 13.022918] [DISP]msmfb: turning on panel
<6>[ 13.023132] [DISP]lcdc_unblank: ()
<7>[ 13.023498] oled_panel_unblank type 0
<7>[ 13.023681] already unblank
<6>[ 13.158996] msm_kgsl: initilized dev=1 mmu=on
<7>[ 13.230957] [LS][CM3602] lightsensor_ioctl: get enabled status: 0
<6>[ 13.231597] [PS][CM3602] capella_cm3602_disable
<7>[ 13.231964] [PS][CM3602] capella_cm3602_disable: already disabled
<6>[ 13.232177] [PS][CM3602] capella_cm3602_disable
<7>[ 13.232360] [PS][CM3602] capella_cm3602_disable: already disabled
<2>[ 13.481384] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.481872] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.482208] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<3>[ 13.489410] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<2>[ 13.496582] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.497070] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.497467] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0004924b
<3>[ 13.498870] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<2>[ 13.569274] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.569671] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0002724b
<3>[ 13.570648] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<2>[ 13.756134] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.756591] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<3>[ 13.756927] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<6>[ 20.758483] [BATT] SMEM_BATT: get_batt_info: batt_id=4, batt_vol=3704, batt_temp=347, batt_current=1, eval_current=0, level=34, charging_source=0, charging_enabled=0, full_bat=1300000, over_vchg=0 hv_enabled=0 at 20751727586 (2012-07-25 19:15:28.862563728 UTC)
<6>[ 20.759552] [BATT] SMEM_BATT: get_batt_info: batt_id=4, batt_vol=3704, batt_temp=347, batt_current=1, eval_current=0, level=34, charging_source=0, charging_enabled=0, full_bat=1300000, over_vchg=0 hv_enabled=0 at 20752795701 (2012-07-25 19:15:28.863631844 UTC)
<6>[ 20.813812] [VIB] er.ServerThread(parent:zygote): vibrates 0 msec
<6>[ 21.683471] [AUD][snd.c:snd_ioctl] snd_set_volume 256 0 4
<6>[ 21.685272] [AUD][snd.c:snd_rpc_thread] snd: rpc_reply status 0
<6>[ 22.412597] [VIB] er.ServerThread(parent:zygote): vibrates 0 msec
<6>[ 22.425964] [VIB] Thread-43(parent:zygote): vibrates 1 msec
<6>[ 22.427124] [ATS][set_vibration][successful]
<6>[ 22.427368] [VIB]vibrator_timer_func
<7>[ 22.432891] [LS][CM3602] lightsensor_ioctl: set value = 1
<6>[ 22.432922] [LS][CM3602] lightsensor_enable
<6>[ 22.436004] request_suspend_state: wakeup (3->0) at 22428485397 (2012-07-25 19:15:30.540084479 UTC)
<4>[ 22.442443] set_backlight_level:11
<6>[ 22.448455] [VIB] Thread-43(parent:zygote): vibrates 21 msec
<6>[ 22.450683] [ATS][set_vibration][successful]
<6>[ 22.469848] [VIB]vibrator_timer_func
<6>[ 22.764556] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[ 24.199127] [GSNR] Gsensor enable
<4>[ 24.610534] set_backlight_level:27
<6>[ 31.914062] [CAM]led_ril_status_value = 0
<6>[ 31.914398] phone_call_status_store: phone_call_status 0
<6>[ 31.914672] [CAM]led_ril_status_value = 0
<6>[ 31.915069] phone_call_status_store: phone_call_status 0
<6>[ 33.601135] [email protected], 4102
<6>[ 33.606445] [VIB] WindowManagerPo(parent:zygote): vibrates 0 msec
<6>[ 33.638183] [VIB] Thread-60(parent:zygote): vibrates 10 msec
<6>[ 33.639495] [ATS][set_vibration][successful]
<6>[ 33.648406] [VIB]vibrator_timer_func
<6>[ 33.668975] [VIB] Thread-60(parent:zygote): vibrates 30 msec
<6>[ 33.670318] [ATS][set_vibration][successful]
<6>[ 33.699432] [VIB]vibrator_timer_func
<6>[ 33.785430] [email protected], 3759
<6>[ 34.171966] [VIB] WindowManagerPo(parent:zygote): vibrates 0 msec
<6>[ 34.184417] [VIB] Thread-61(parent:zygote): vibrates 10 msec
<6>[ 34.185485] [ATS][set_vibration][successful]
<6>[ 34.194824] [VIB]vibrator_timer_func
<6>[ 34.215423] [VIB] Thread-61(parent:zygote): vibrates 30 msec
<6>[ 34.216613] [ATS][set_vibration][successful]
<6>[ 34.245849] [VIB]vibrator_timer_func
<6>[ 46.455596] [KEY] gpiomatrix: key 158, 2-0 (33-42) changed to 1
<6>[ 46.455993] [ATS][press_back][complete]
<6>[ 46.695861] [KEY] gpiomatrix: key 158, 2-0 (33-42) changed to 0
<6>[ 60.297607] Release 'boot-time' no_halt_lock
<7>[ 83.004089] msm_hsusb msm_hsusb: GetStatus port 1 status 8c001002 POWER sig=se0 CSC
<7>[ 83.077819] msm_hsusb msm_hsusb: GetStatus port 1 status 84001403 POWER sig=k CSC CONNECT
<6>[ 83.357788] usb 1-1: new low speed USB device using msm_hsusb and address 2
<7>[ 83.417724] msm_hsusb msm_hsusb: port 1 high speed
<7>[ 83.418640] msm_hsusb msm_hsusb: GetStatus port 1 status 84001405 POWER sig=k PE CONNECT
<6>[ 83.541931] input: USB-compliant keyboard as /devices/platform/msm_hsusb/usb1/1-1/1-1:1.0/input/input7
<7>[ 83.543029] usb 1-1: link qh8-0601/c61abca0 start 1 [1/2 us]
<6>[ 83.547912] using input dev USB-compliant keyboard for key reset
<6>[ 83.628845] generic-usb 0003:062A:0201.0001: input: USB HID v1.10 Keyboard [USB-compliant keyboard] on usb-msm_hsusb-1/input0
<6>[ 83.720245] input: USB-compliant keyboard as /devices/platform/msm_hsusb/usb1/1-1/1-1:1.1/input/input8
<7>[ 83.725402] usb 1-1: link qh8-0601/c8fdf520 start 2 [1/2 us]
<6>[ 83.725982] using input dev USB-compliant keyboard for key reset
<6>[ 83.753570] generic-usb 0003:062A:0201.0002: input: USB HID v1.10 Mouse [USB-compliant keyboard] on usb-msm_hsusb-1/input1
<6>[ 84.002807] [BATT] M2A_RPC: cable_update: USB at 83995563030 (2012-07-25 19:16:32.106887454 UTC)
<6>[ 84.003417] [BATT] htc_cable_status_update: 0 -> 1
<6>[ 84.003631] [USB] msm_hsusb_set_vbus_state: 1
<6>[ 157.127685] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 1
<6>[ 157.346679] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 0
<6>[ 165.024993] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 1
<6>[ 165.180328] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 0
<6>[ 202.730560] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 1
<6>[ 202.885864] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 0

[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] Damaged EMMC? Is booting from SD card possible?

Hi!
I have a problem with my HTC Desire X. The device was ok until it went off and was plugged to a power source, then only the HBOOT menu appeared.
The device has not been touched concerning custom roms, boot loaders etc. until then. So it had the stock rom and as far as I know, there was no update going on, when the device turned off.
To solve the problem, I unlocked the bootloader and installed the recovery image TWRP 2.5.0. But in the Recovery mode I could not mount any internal partition. So it was not possible to wipe anything or install a custom rom.
The only explanation I found for this is, that maybe the internal memory (EMMC) was corrupted and the system could not mount it and boot up. My question is: Is there something I can do to about it?
It would be nice if I could boot up an Android system from SD card. Is this possible? I only found solutions for other HTC devices so far.
I did some more research.
First I tried to start fdisk/parted to print the partition table. Both did not work. parted hangs, while fdisk says it could not read the device.
So I looked what I can find with procfs. There are only four partitions printed.
Code:
cat /proc/partitions
major minor #blocks name
179 0 3784708 mmcblk0
179 1 20 mmcblk0p1
179 2 544 mmcblk0p2
179 3 4500 mmcblk0p3
179 4 1 mmcblk0p4
Code:
cat /proc/emmc
dev: size erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 00c7f600 00000200 "recovery"
mmcblk0p27: 00fffc00 00000200 "boot"
mmcblk0p24: 3bdffe00 00000200 "system"
mmcblk0p26: 0f000000 00000200 "cache"
mmcblk0p25: 4cfffe00 00000200 "userdata"
mmcblk0p28: 017ade00 00000200 "devlog"
mmcblk0p30: 00040000 00000200 "pdata"
mmcblk0p31: 46800000 00000200 "fat"
mmcblk0p29: 00011c00 00000200 "extra"
Then I tried to find out wether there were error messanges concerning the emmc:
Code:
dmesg |grep mmc
<6>[ 7.378778] C0 mmc0: SDCC Version: 0x00000000
<3>[ 7.378981] C0 mmc0: No card detect facilities available
<6>[ 7.380389] C0 mmc0: Qualcomm MSM SDCC-core at 0x00000000a0600000 irq 80,0
dma 7 dmacrcri 12
<6>[ 7.380416] C0 mmc0: Controller capabilities: 0x00000001
<6>[ 7.380434] C0 mmc0: Platform slot type: MMC
<6>[ 7.380451] C0 mmc0: 8 bit data mode enabled
<6>[ 7.380468] C0 mmc0: 4 bit data mode disabled
<6>[ 7.380484] C0 mmc0: polling status mode disabled
<6>[ 7.380504] C0 mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 80000000 Hz
<6>[ 7.380524] C0 mmc0: Slot eject status = 0
<6>[ 7.380541] C0 mmc0: Power save feature enable = 1
<6>[ 7.380561] C0 mmc0: DM non-cached buffer at ffdc0000, dma_addr 0x13740000
<6>[ 7.380584] C0 mmc0: DM cmd busaddr 0x13740000, cmdptr busaddr 0x13757f40
<6>[ 7.381294] C0 mmc1: SDCC Version: 0x00000000
<6>[ 7.383129] C0 mmc1: Qualcomm MSM SDCC-core at 0x00000000a0400000 irq 56,2
94 dma 10 dmacrcri 6
<6>[ 7.383156] C0 mmc1: Controller capabilities: 0x00000001
<6>[ 7.383174] C0 mmc1: Platform slot type: SD
<6>[ 7.383191] C0 mmc1: 8 bit data mode disabled
<6>[ 7.383208] C0 mmc1: 4 bit data mode enabled
<6>[ 7.383224] C0 mmc1: polling status mode disabled
<6>[ 7.383244] C0 mmc1: MMC clock 144000 -> 50000000 Hz, PCLK 80000000 Hz
<6>[ 7.383264] C0 mmc1: Slot eject status = 1
<6>[ 7.383281] C0 mmc1: Power save feature enable = 1
<6>[ 7.383301] C0 mmc1: DM non-cached buffer at ffda0000, dma_addr 0x13760000
<6>[ 7.383324] C0 mmc1: DM cmd busaddr 0x13760000, cmdptr busaddr 0x13777f40
<6>[ 7.383951] C0 mmc2: SDCC Version: 0x00000000
<6>[ 7.385494] C0 mmc2: Qualcomm MSM SDCC-core at 0x00000000a0500000 irq 58,0
dma 8 dmacrcri 7
<6>[ 7.385521] C0 mmc2: Controller capabilities: 0x00000001
<6>[ 7.385539] C0 mmc2: Platform slot type: SDIO(WIFI)
<6>[ 7.385556] C0 mmc2: 8 bit data mode disabled
<6>[ 7.385573] C0 mmc2: 4 bit data mode enabled
<6>[ 7.385589] C0 mmc2: polling status mode disabled
<6>[ 7.385609] C0 mmc2: MMC clock 144000 -> 50000000 Hz, PCLK 80000000 Hz
<6>[ 7.385629] C0 mmc2: Slot eject status = 1
<6>[ 7.385646] C0 mmc2: Power save feature enable = 1
<6>[ 7.385666] C0 mmc2: DM non-cached buffer at ffd80000, dma_addr 0x13780000
<6>[ 7.385689] C0 mmc2: DM cmd busaddr 0x13780000, cmdptr busaddr 0x13797f40
<6>[ 7.447169] C0 mmc_attach_sdio mmc_send_io_op_cond error1: -110
<3>[ 7.470703] C0 mmc0: ACMD 41 init process fail : resp : 0x0
<6>[ 7.534723] C0 mmc0: cid 90014a2058494e594814005f562a8f6e
<6>[ 7.534738] C0 mmc0: csd d02701320f5903d7ffffffe78a4040e6
<6>[ 7.534758] C0 mmc0: ext_csd 00000000000000010301000000000000
<6>[ 7.534776] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534794] C0 mmc0: ext_csd 00004000000000080000000000000000
<6>[ 7.534813] C0 mmc0: ext_csd 00000000000000000000080000000000
<6>[ 7.534831] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534849] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534868] C0 mmc0: ext_csd 00000800000000000000000000000000
<6>[ 7.534886] C0 mmc0: ext_csd 00000000000001040000000000000000
<6>[ 7.534904] C0 mmc0: ext_csd 00000000000000000000200000000000
<6>[ 7.534923] C0 mmc0: ext_csd 00000000000000000000080000000000
<6>[ 7.534941] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534959] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534978] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534996] C0 mmc0: ext_csd 00000040000000000000020000000000
<6>[ 7.535014] C0 mmc0: ext_csd 00001000000000000000000000000000
<6>[ 7.535033] C0 mmc0: ext_csd 00000000000000000000080000000000
<6>[ 7.535051] C0 mmc0: ext_csd 00000000000000000000000000000a00
<6>[ 7.535069] C0 mmc0: ext_csd 0000000000000001150a0a0700100701
<6>[ 7.535088] C0 mmc0: ext_csd 02010807070013000073800800080808
<6>[ 7.535108] C0 mmc0: ext_csd 08080800000000000202020700020005
<6>[ 7.535126] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535144] C0 mmc0: ext_csd 00000000000000101f05000000010003
<6>[ 7.535163] C0 mmc0: ext_csd 00011e00000000000000000000000000
<6>[ 7.535181] C0 mmc0: ext_csd 00000000000000000000000000000004
<6>[ 7.535199] C0 mmc0: ext_csd 00000008000000000000000000000200
<6>[ 7.535218] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535234] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535253] C0 mmc0: ext_csd 00000010000000000000000000000000
<6>[ 7.535271] C0 mmc0: ext_csd 00000000000000000000000000000002
<6>[ 7.535289] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535308] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535326] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.539618] C0 mmc0: set ext_csd.erase_group_def
<6>[ 7.550189] C0 mmc0: new high speed MMC card at address 0001
<6>[ 7.550671] C0 mmcblk0: mmc0:0001 XINYH 3.60 GiB
<6>[ 7.607051] C0 mmc2: Slot status change detected (0 -> 1)
<3>[ 7.857109] C0 mmc0: CMD18: Data timeout
<3>[ 7.857121] C0 mmc0: SDCC PWR is ON
<3>[ 7.857169] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 7.857181] C0 mmc0: SDCC irq is enabled
<3>[ 7.857399] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 7.857411] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 7.857423] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 7.857438] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 7.857454] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 7.857471] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 7.857538] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 7.857621] C1 mmc0: Controller has been reinitialized
<3>[ 7.857711] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 7.857728] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 7.857751] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 7.857768] C0 Buffer I/O error on device mmcblk0, logical block 1266
<3>[ 8.163094] C0 mmc0: CMD18: Data timeout
<3>[ 8.163106] C0 mmc0: SDCC PWR is ON
<3>[ 8.163153] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 8.163163] C0 mmc0: SDCC irq is enabled
<3>[ 8.163381] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 8.163393] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 8.163404] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 8.163419] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 8.163436] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 8.163453] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 8.163514] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 8.163596] C1 mmc0: Controller has been reinitialized
<3>[ 8.163676] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 8.163693] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 8.163713] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 8.163729] C0 Buffer I/O error on device mmcblk0, logical block 1266
<6>[ 8.163773] C0 mmcblk0: p1 p2 p3 p4 < >
<6>[ 8.164671] C0 mmc_rescan_try_freq: Find a MMC/eMMC card
<6>[ 8.233194] C0 mmc2: new high speed SDIO card at address 0001
<6>[ 8.251248] C0 mmc_rescan_try_freq: Find a SDIO card
<3>[ 8.790308] C0 mmc0: CMD18: Data timeout
<3>[ 8.790318] C0 mmc0: SDCC PWR is ON
<3>[ 8.790366] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 8.790376] C0 mmc0: SDCC irq is enabled
<3>[ 8.790594] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 8.790606] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 8.790618] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 8.790633] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 8.790649] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 8.790666] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 8.790741] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 8.790841] C1 mmc0: Controller has been reinitialized
<3>[ 8.790936] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 8.790953] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 8.790979] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 8.790998] C0 Buffer I/O error on device mmcblk0, logical block 1266
<3>[ 9.096353] C0 mmc0: CMD18: Data timeout
<3>[ 9.096363] C0 mmc0: SDCC PWR is ON
<3>[ 9.096408] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 9.096416] C0 mmc0: SDCC irq is enabled
<3>[ 9.096591] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 9.096599] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 9.096609] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 9.096621] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 9.096634] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 9.096648] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 9.096721] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 9.096803] C1 mmc0: Controller has been reinitialized
<3>[ 9.096889] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 9.096903] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 9.096924] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 9.096941] C0 Buffer I/O error on device mmcblk0, logical block 1266
I see some I/O errors there.

Dead embedded MMC ? Can I recover some of the data ?

Hello,
my i9300 has been rebooting strangely in the past days, and this morning was stuck in boot loop. Unfortunately I didn't get to backup the last pictures I took. I am trying to find a way to get access to the data it might still hold.
I can enter recovery mode (works but sometimes requires several attemps). Once there it cannot read system partitions (and thus can't wipe cache).
I tried to remove battery / sdcard, hold power button for a long time, hold it with home + up as well
More info:
* kernel has some issues to access the root system
Code:
$ dmesg | grep mmc
<5>[ 0.000000] c0 Kernel command line: console=ram loglevel=4 bootmode=2 sec_debug.level=0 sec_watchdog.sec_pet=5 androidboot.debug_level=0x4f4c [email protected] s3cfb.bootloaderfb=0x5ec00000 sysscope=0xff000000 lcdtype=96 consoleblank=0 lpcharge=0 lpj=3981312 vmalloc=144m oops=panic pmic_info=65 cordon=80682fa972fd0742b08c3ec03dbe74be connie=GT-I9300_OPEN_EUR_ca5a0240c80b887511e34b14c9d00c16 androidboot.emmc_checksum=3 androidboot.odin_download=1 androidboot.bootloader=I9300XXUGND5 androidboot.serialno=4df1dd821ee57fd9 snd_soc_core.pmdown_time=1000
<6>[ 1.741101] c2 dw_mmc dw_mmc: clock source 0: sclk_dwmci (40000000 Hz)
<3>[ 1.741379] c2 mmc0: Version ID 0x5342240a.
<6>[ 1.741630] c2 mmc0: FIFO WMARK FOR RX 0x80 WX 0x40. ###########
<6>[ 1.742124] c2 mmc0: MSHCI controller on samsung-mshci [dw_mmc] using IDMA
<6>[ 1.742616] c2 s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (88888888 Hz)
<6>[ 1.742906] c2 mmc1: vtf_2.8v regulator found
<3>[ 1.770850] c0 mmc0: cmd 52 response timeout error
<3>[ 1.771702] c0 mmc0: cmd 52 response timeout error
<3>[ 1.775742] c0 mmc0: cmd 8 response timeout error
<3>[ 1.776591] c0 mmc0: cmd 5 response timeout error
<3>[ 1.777420] c0 mmc0: cmd 5 response timeout error
<3>[ 1.778246] c0 mmc0: cmd 5 response timeout error
<3>[ 1.779073] c0 mmc0: cmd 5 response timeout error
<3>[ 1.779920] c0 mmc0: cmd 55 response timeout error
<3>[ 1.780767] c0 mmc0: cmd 55 response timeout error
<3>[ 1.781613] c0 mmc0: cmd 55 response timeout error
<3>[ 1.782463] c0 mmc0: cmd 55 response timeout error
<3>[ 1.801773] c1 mmc0: PERM_WRITE_PROTECT was set.
<6>[ 1.801805] c1 mmc0: VTU00M: 15010056545530304df1dd821ee57fd9
<7>[ 1.848333] c0 Registered led device: mmc1::
<6>[ 1.848801] c0 mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
<6>[ 1.849085] c0 mmc1: card inserted.
<6>[ 1.849225] c0 s3c-sdhci s3c-sdhci.3: clock source 2: sclk_mmc (8888888 Hz)
<3>[ 1.849340] c0 mmc2: no vmmc regulator found
<7>[ 1.849600] c0 Registered led device: mmc2::
<6>[ 1.849898] c0 mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.3] using ADMA
<3>[ 1.883922] c0 mmc0: cmd 13 response timeout error
<6>[ 1.885069] c0 mmc0 : disable PON feature : ffffff92 : 00(0e) : 00000000
<3>[ 1.885909] c0 mmc0: cmd 6 response timeout error
<3>[ 1.887775] c0 mmc0: cmd 6 response timeout error
<3>[ 1.889637] c0 mmc0: cmd 6 response timeout error
<3>[ 1.891500] c0 mmc0: cmd 6 response timeout error
<3>[ 1.892612] c0 mmc0: error -110 whilst initialising MMC card
<6>[ 1.920360] c0 mmc1: cmd 52 command timeout error
<6>[ 1.920726] c0 mmc1: cmd 52 command timeout error
<6>[ 1.924597] c0 mmc1: cmd 5 command timeout error
<6>[ 1.924932] c0 mmc1: cmd 5 command timeout error
<6>[ 1.925265] c0 mmc1: cmd 5 command timeout error
<6>[ 1.925601] c0 mmc1: cmd 5 command timeout error
<6>[ 2.149524] c0 mmc1: new high speed SDHC card at address aaaa
<6>[ 2.150146] c0 mmcblk0: mmc1:aaaa SU32G 29.7 GiB
<6>[ 2.151639] c0 mmcblk0: p1
* note that there are errors for both internal and external cards, but if I remove/readd the external card while booted:
Code:
<6>[ 554.482789] c0 mmc1: card removed.
<6>[ 554.483031] c0 mmc1: card inserted.
<6>[ 554.484051] c0 mmc1: card inserted.
<6>[ 554.484199] c0 mmc1: card removed.
<6>[ 554.484371] c0 mmc1: card removed.
<6>[ 554.484487] c0 mmc1: card removed.
<6>[ 554.680618] c0 mmc1: card aaaa removed
<6>[ 554.701931] c0 sdhci_set_ios : MMC Card OFF samsung-hsmmc
<6>[ 555.482722] c0 mmc1: card inserted.
<6>[ 555.482883] c0 mmc1: card removed.
<6>[ 555.483037] c0 mmc1: card inserted.
<6>[ 555.483154] c0 mmc1: card removed.
<6>[ 555.483279] c0 mmc1: card inserted.
<6>[ 555.483414] c0 mmc1: card removed.
<6>[ 555.483529] c0 mmc1: card inserted.
<6>[ 555.483649] c0 mmc1: card inserted.
<6>[ 555.483772] c0 mmc1: card removed.
<6>[ 555.483891] c0 mmc1: card inserted.
<6>[ 555.485434] c0 mmc1: card removed.
<6>[ 555.485614] c0 mmc1: card inserted.
<6>[ 555.486618] c0 mmc1: card inserted.
<6>[ 555.486961] c0 mmc1: card inserted.
<6>[ 555.487101] c0 mmc1: card inserted.
<6>[ 555.681309] c0 sdhci_set_ios : MMC Card ON samsung-hsmmc
<6>[ 555.710511] c0 mmc1: cmd 52 command timeout error
<6>[ 555.711030] c0 mmc1: cmd 52 command timeout error
<6>[ 555.715224] c0 mmc1: cmd 5 command timeout error
<6>[ 555.715679] c0 mmc1: cmd 5 command timeout error
<6>[ 555.716136] c0 mmc1: cmd 5 command timeout error
<6>[ 555.716587] c0 mmc1: cmd 5 command timeout error
<6>[ 555.915431] c3 mmc1: new high speed SDHC card at address aaaa
<6>[ 555.918560] c3 mmcblk0: mmc1:aaaa SU32G 29.7 GiB
<6>[ 555.923272] c3 mmcblk0: p1
<7>[ 557.842034] c3 SELinux: initialized (dev mmcblk0p1, type vfat), uses genfs_contexts
~ # df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 425992 136 425856 0% /dev
tmpfs 425992 8 425984 0% /tmp
tmpfs 425992 0 425992 0% /storage
tmpfs 425992 0 425992 0% /mnt/secure
tmpfs 425992 0 425992 0% /mnt/fuse
/dev/block/vold/179:1
31154688 29870720 1283968 96% /storage/sdcard1
What are my options ?
* I've seen some people using JTAG software tools and soldering to reset the eMMC. E.g. http://forum.gsmhosting.com/vbb/f60...n7100-without-removing-emmc-pictures-1945278/ Are there a combination of these operations that might allow me to read without destroying the data ? I also read http://forum.xda-developers.com/galaxy-note-2/help/to-recover-data-corrupted-emmc-t3292290/page2 but was not 100% sure of how to use that.
* are there some soft solutions I should try before I do this ? Maybe reflashing recovery software? Some magic combinations I don't know ?
The phone has
* CWR v6.0.4.6
* BlissPop 3.6 (if I recall long time since I set it up it.)
Thanks anyone for their help.
Yes you can get the data from it, if it's hardware-dead then no, your best bet is JTAG, I'm sure it won't be too expensive
Sent from my HTC 10 using Tapatalk

Categories

Resources