[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] gingerboy92:
<6>[ 2934.220129] lineout_status_put: external speaker PA mode: 1
<3>[ 2934.228324] wcd-spmi-core msm8x16_wcd_codec-ee34ec00: Failed to get mbhc impedance -22
<3>[ 2934.260293] send_afe_cal_type cal_block not found!!
<6>[ 2934.347338] msm8x16_ext_spk_delayed_enable: Enable external speaker PAs.
<6>[ 2937.173969] lowmemorykiller: Killing 'dboxed_process1' (32514), adj 1000,
<6>[ 2937.173969] to free 13324kB on behalf of 'kswapd0' (73) because
<6>[ 2937.173969] cache 121960kB is below limit 122880kB for oom_score_adj 1000
<6>[ 2937.173969] Free memory is 15256kB above reserved.
<6>[ 2937.173969] Free CMA is 1620kB
<6>[ 2937.173969] Total reserve is 25012kB
<6>[ 2937.173969] Total free pages is 25068kB
<6>[ 2937.173969] Total file cache is 125968kB
<6>[ 2937.173969] Total anon is 351580kB
<6>[ 2937.173969] Slab Reclaimable is 10356kB
<6>[ 2937.173969] Slab UnReclaimable is 33668kB
<6>[ 2937.173969] Total Slab is 44024kB
<6>[ 2937.173969] GFP mask is 0xd0
<3>[ 2939.946381] mmc0: data txfr (0x00100000) error: -110 after 1521 ms
<6>[ 2939.946399] sdhci: =========== REGISTER DUMP (mmc0)===========
<6>[ 2939.946406] sdhci: Sys addr: 0x000002d8 | Version: 0x00002e02
<6>[ 2939.946414] sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000018
<6>[ 2939.946421] sdhci: Argument: 0x00589788 | Trn mode: 0x0000002b
<6>[ 2939.946428] sdhci: Present: 0x01e80100 | Host ctl: 0x00000035
<6>[ 2939.946435] sdhci: Power: 0x0000000d | Blk gap: 0x00000000
<6>[ 2939.946442] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
<6>[ 2939.946448] sdhci: Timeout: 0x0000000d | Int stat: 0x00000000
<6>[ 2939.946456] sdhci: Int enab: 0x03ff800b | Sig enab: 0x03ff800b
<6>[ 2939.946462] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
<6>[ 2939.946469] sdhci: Caps: 0x222dc8b2 | Caps_1: 0x00008007
<6>[ 2939.946476] sdhci: Cmd: 0x0000193a | Max curr: 0x00000000
<6>[ 2939.946483] sdhci: Resp 1: 0x00000000 | Resp 0: 0x00000900
<6>[ 2939.946491] sdhci: Resp 3: 0x00000900 | Resp 2: 0x00000000
<6>[ 2939.946496] sdhci: Host ctl2: 0x00000003
<6>[ 2939.946504] sdhci: ADMA Err: 0x00000003 | ADMA Ptr: 0xaf0702c8
<6>[ 2939.946510] ----------- VENDOR REGISTER DUMP -----------
<6>[ 2939.946519] Data cnt: 0x00003000 | Fifo cnt: 0x00002800 | Int sts: 0x000c0000
<6>[ 2939.946527] DLL cfg: 0x060d6400 | DLL sts: 0x00000184 | SDCC ver: 0x1000002e
<6>[ 2939.946535] Vndr func: 0x00000a1e | Vndr adma err : addr0: 0x00b16800 addr1: 0x00000000
<6>[ 2939.946543] Vndr func2: 0xfa8018a8
<6>[ 2939.946566] Test bus[0 to 3]: 0x0000c846 0x000000ce 0x00007018 0x01c002fe
<6>[ 2939.946574] Test bus[4 to 7]: 0x00473fd8 0x0005c038 0x00000000 0xff23fffb
<6>[ 2939.946583] Test bus[8 to 11]: 0x6ffc27c4 0x40800002 0x2023e089 0x000014c0
<6>[ 2939.946592] Test bus[12 to 15]: 0x045f0788 0x803d1180 0x0d001c08 0x00000a80
<6>[ 2939.946601] Test bus[16 to 19]: 0x00022000 0x010e808c 0x138f3696 0x00001091
<6>[ 2939.946610] mmc0: clk: 177770000 clk-gated: 0 claimer: mmcqd/0 pwr: 12
<6>[ 2939.946617] mmc0: rpmstatus[pltfm](runtime-suspend:usage_count:disable_depth)(0:0:0)
<6>[ 2939.946623] sdhci: ===========================================
<3>[ 2944.703930] wlan: [3196:E :HDP] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
<3>[ 2949.973884] mmc0: Timeout waiting for hardware interrupt.
<6>[ 2949.973904] sdhci: =========== REGISTER DUMP (mmc0)===========
<6>[ 2949.973912] sdhci: Sys addr: 0x000002d8 | Version: 0x00002e02
<6>[ 2949.973920] sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000000
<6>[ 2949.973927] sdhci: Argument: 0x00000000 | Trn mode: 0x0000002b
<6>[ 2949.973935] sdhci: Present: 0x01e80006 | Host ctl: 0x00000035
<6>[ 2949.973942] sdhci: Power: 0x0000000d | Blk gap: 0x00000000
<6>[ 2949.973949] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
<6>[ 2949.973956] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
<6>[ 2949.973963] sdhci: Int enab: 0x03ff800b | Sig enab: 0x03ff800b
<6>[ 2949.973970] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
<6>[ 2949.973977] sdhci: Caps: 0x222dc8b2 | Caps_1: 0x00008007
<6>[ 2949.973984] sdhci: Cmd: 0x00000c1b | Max curr: 0x00000000
<6>[ 2949.973991] sdhci: Resp 1: 0x00000000 | Resp 0: 0x00000c00
<6>[ 2949.973998] sdhci: Resp 3: 0x00000000 | Resp 2: 0x00000000
<6>[ 2949.974003] sdhci: Host ctl2: 0x00000003
<6>[ 2949.974011] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
<6>[ 2949.974017] ----------- VENDOR REGISTER DUMP -----------
<6>[ 2949.974025] Data cnt: 0x00000000 | Fifo cnt: 0x00000000 | Int sts: 0x000c0000
<6>[ 2949.974034] DLL cfg: 0x060d6400 | DLL sts: 0x00000184 | SDCC ver: 0x1000002e
<6>[ 2949.974042] Vndr func: 0x00000a1e | Vndr adma err : addr0: 0x00000000 addr1: 0x00000000
<6>[ 2949.974048] Vndr func2: 0xfa8018a8
<6>[ 2949.974071] Test bus[0 to 3]: 0x0000c846 0x000000ce 0x00007118 0x01c102fe
<6>[ 2949.974080] Test bus[4 to 7]: 0x4047bfd8 0x2025c038 0x00000000 0xff23fffb
<6>[ 2949.974089] Test bus[8 to 11]: 0x47fc27c4 0x40800002 0x2003e089 0x000014c0
<6>[ 2949.974098] Test bus[12 to 15]: 0x004f0788 0x803d3180 0x0d000000 0x00000a80
<6>[ 2949.974106] Test bus[16 to 19]: 0x000a0000 0x010e80cc 0x138f3696 0x00000091
<6>[ 2949.974116] mmc0: clk: 177770000 clk-gated: 0 claimer: mmcqd/0 pwr: 12
<6>[ 2949.974123] mmc0: rpmstatus[pltfm](runtime-suspend:usage_count:disable_depth)(0:0:0)
<6>[ 2949.974129] sdhci: ===========================================
<3>[ 2949.974222] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0xe00
<3>[ 2957.844683] wcd_imped_config, invalid imped, greater than 48 Ohm
<3>[ 2957.844683] = 48
<6>[ 2957.908065] lineout_status_put: external speaker PA mode: 0
<3>[ 2979.984018] mmc0: Card stuck in programming state! mmcblk0 mmc_blk_err_check
<3>[ 2981.229562] mmc0: mmc_init_card: mmc_send_op_cond() fails -110
<3>[ 2981.229591] mmc0: mmc_blk_reset: failed to reset -110
<3>[ 2981.229606] end_request: I/O error, dev mmcblk0, sector 5805960
<3>[ 2981.229628] end_request: I/O error, dev mmcblk0, sector 5805968
<3>[ 2981.229645] end_request: I/O error, dev mmcblk0, sector 5805976
<3>[ 2981.229661] end_request: I/O error, dev mmcblk0, sector 5805984
<3>[ 2981.229676] end_request: I/O error, dev mmcblk0, sector 5805992
<3>[ 2981.229692] end_request: I/O error, dev mmcblk0, sector 5806000
<3>[ 2981.229707] end_request: I/O error, dev mmcblk0, sector 5806008
<3>[ 2981.229722] end_request: I/O error, dev mmcblk0, sector 5806016
<3>[ 2981.229738] end_request: I/O error, dev mmcblk0, sector 5806024
<3>[ 2981.229752] end_request: I/O error, dev mmcblk0, sector 5806032
<3>[ 2981.230061] Buffer I/O error on device mmcblk0p30, logical block 266993
<3>[ 2981.230081] Buffer I/O error on device mmcblk0p30, logical block 266994
<3>[ 2981.230093] Buffer I/O error on device mmcblk0p30, logical block 266995
<3>[ 2981.230105] Buffer I/O error on device mmcblk0p30, logical block 266996
<3>[ 2981.230117] Buffer I/O error on device mmcblk0p30, logical block 266997
<3>[ 2981.230128] Buffer I/O error on device mmcblk0p30, logical block 266998
<3>[ 2981.230139] Buffer I/O error on device mmcblk0p30, logical block 266999
<3>[ 2981.230151] Buffer I/O error on device mmcblk0p30, logical block 267000

[MENTION=4021423]ketut.kumajaya[/MENTION]a i have been getting this mmc crash after upgrading to 12.1( during high IO, eg installing apps, black screen with backlight on, power button not responding, adb still alive but becomes useless, need to poweroff by removing battery ). this one is from zwliew's rom, but after flashing yours, the same crash happened too while installing apps during the first setup(and i didn't get a dmesg dump because i was slow). thing is, i tried recompiling the kernel with a few patches from sultanqasim's github(moto e 2015)

https://github.com/sultanqasim/android_kernel_motorola_msm8916/commits/squid_linux_mr1/drivers/mmc?page=2

IKSWL-11467: mmc: add firmware-specific quirk support
IKVPREL1L-1355: mmc: health and performance reporting
IKVPREL1L-1355: mmc: support eMMC driver strength configuration
IKVPREL1L-1355: mmc: fix frequency scaling tuning logic for HS400
IKSWL-11467: mmc: disable cache on known-bad Micron eMMCs
IKVPREL1L-1355: mmc: Sandisk eMMC quirks
IKVPREL1L-1355: mmc: improve handling of flaky SD cards
IKVPREL1L-1355: sdhci: improve recovery behavior when SDCC is jammed
IKVPREL1L-1355: mmc: don't blindly retry on timed-out flushes

some of the patches are there because it's needed to compile/apply, but either one of them(or all) have solved my problem, it ran fast and without problems, that is for a while, after a few hours, sometimes after a day, the /data partition would just remount to RO suddenly. i'm suspecting that it's my flash chip.