[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] quirxi:
Hello everyone,

I successfully installed lineage-14.1 and twrp-3.1.1-0-a5y17lte 3 on my new Samsung Galaxy A5 (2017) a couple of weeks ago. First everything was fine, but recently it started to reboot sporadically and often hung in a boot loop. Once it gave strange sounds through the loud speakers when i pressed a button or other strange things (at that time logcat showed a lot of debug messages related to audio). I tried to remove most of the apps I had installed, removed the sdcard, the SIM, wiped normal cache and dalvik cache and reflashed it with 3 different nightly builds of LineageOs. Nothing helped. Often I had to interrupt the boot loop by pressing the <power>+<volume down> keys. Whenever I was able to enter TRWP recovery and reboot it seemed to be fine for some time but the same procedure started again after an hour or so.

Since this problem at the very beginning of the boot process a small red text is shown just before the boot logo - the problem is that it is so fast that I cannot read the (error?) message.

Does anybody know a way how to find out what this boot message could be ?

I have backed up the boot log (dmesg.log) and there some warnings with a call trace are shown.

It says something like "Attribute error_cnt: write permission without 'store'". Does anybody got a clue what that could mean and how I can solve the problem ?

There are also some minor error messages in the log that I did not consider so important - but I am really a newbie in that kind of devices and cant really judge it.

If somebody is interested I can provide the dmesg.log, recovery.log and a bugreport.zip of my device.

Here is are some of the error messages I found in the dmesg.log:

<4>[ 1.046739] [0: swapper/0: 1] ------------[ cut here ]------------

<4>[ 1.046764] [0: swapper/0: 1] WARNING: CPU: 0 PID: 1 at ../../../../../../kernel/samsung/universal7880/drivers/base/core.c:558 device_create_file+0x80/0xb0()

<4>[ 1.046780] [0: swapper/0: 1] Attribute error_cnt: write permission without 'store'

<4>[ 1.046795] [0: swapper/0: 1] Modules linked in:

<4>[ 1.046813] [0: swapper/0: 1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.14-g3d77bc46b82 #1

<4>[ 1.046828] [0: swapper/0: 1] Hardware name: Samsung A5Y17 LTE EUR HWID08 board based on Exynos 7880 (DT)

<0>[ 1.046844] [0: swapper/0: 1] Call trace:

<4>[ 1.046865] [0: swapper/0: 1] [<ffffffc000009404>] dump_backtrace+0x0/0x10c

<4>[ 1.046884] [0: swapper/0: 1] [<ffffffc000009520>] show_stack+0x10/0x1c

<4>[ 1.046904] [0: swapper/0: 1] [<ffffffc0002930f4>] _dump_stack+0x80/0xc4

<4>[ 1.046924] [0: swapper/0: 1] [<ffffffc00086de9c>] dump_stack+0xc/0x18

<4>[ 1.046944] [0: swapper/0: 1] [<ffffffc00001bdc0>] warn_slowpath_common+0x88/0xb0

<4>[ 1.046961] [0: swapper/0: 1] [<ffffffc00001be34>] warn_slowpath_fmt+0x4c/0x58

<4>[ 1.046978] [0: swapper/0: 1] [<ffffffc00036fbe0>] device_create_file+0x7c/0xb0

<4>[ 1.046997] [0: swapper/0: 1] [<ffffffc000326554>] s3c24xx_serial_probe+0x828/0x8dc

<4>[ 1.047017] [0: swapper/0: 1] [<ffffffc000375698>] platform_drv_probe+0x4c/0x9c

<4>[ 1.047035] [0: swapper/0: 1] [<ffffffc000373c20>] driver_probe_device+0xd4/0x238

<4>[ 1.047052] [0: swapper/0: 1] [<ffffffc000373e30>] __driver_attach+0x60/0x90

<4>[ 1.047070] [0: swapper/0: 1] [<ffffffc000372da4>] bus_for_each_dev+0x70/0x90

<4>[ 1.047087] [0: swapper/0: 1] [<ffffffc000373730>] driver_attach+0x1c/0x28

<4>[ 1.047104] [0: swapper/0: 1] [<ffffffc0003733fc>] bus_add_driver+0xf8/0x1cc

<4>[ 1.047121] [0: swapper/0: 1] [<ffffffc00037472c>] driver_register+0x90/0xe0

<4>[ 1.047139] [0: swapper/0: 1] [<ffffffc0003755c8>] __platform_driver_register+0x5c/0x68

<4>[ 1.047157] [0: swapper/0: 1] [<ffffffc000ced428>] s3c24xx_serial_modinit+0x48/0x58

<4>[ 1.047175] [0: swapper/0: 1] [<ffffffc0000026bc>] do_one_initcall+0xf4/0x188

<4>[ 1.047194] [0: swapper/0: 1] [<ffffffc000cc4afc>] kernel_init_freeable+0x144/0x1f4

<4>[ 1.047212] [0: swapper/0: 1] [<ffffffc00086ad78>] kernel_init+0x10/0xd0

<4>[ 1.047241] [0: swapper/0: 1] ---[ end trace 1bbce8ded3af741e ]---

<6>[ 1.047442] [0: swapper/0: 1] 13820000.uart: ttySAC2 at MMIO 0x13820000 (irq = 455, base_baud = 0) is a S3C6400/10

<4>[ 1.047640] [0: swapper/0: 1] ------------[ cut here ]------------

<4>[ 1.047661] [0: swapper/0: 1] WARNING: CPU: 0 PID: 1 at ../../../../../../kernel/samsung/universal7880/drivers/base/core.c:558 device_create_file+0x80/0xb0()

<4>[ 1.047676] [0: swapper/0: 1] Attribute error_cnt: write permission without 'store'

<4>[ 1.047690] [0: swapper/0: 1] Modules linked in:

<4>[ 1.047708] [0: swapper/0: 1] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.18.14-g3d77bc46b82 #1

<4>[ 1.047722] [0: swapper/0: 1] Hardware name: Samsung A5Y17 LTE EUR HWID08 board based on Exynos 7880 (DT)

<0>[ 1.047736] [0: swapper/0: 1] Call trace:

<4>[ 1.047755] [0: swapper/0: 1] [<ffffffc000009404>] dump_backtrace+0x0/0x10c

<4>[ 1.047773] [0: swapper/0: 1] [<ffffffc000009520>] show_stack+0x10/0x1c

<4>[ 1.047792] [0: swapper/0: 1] [<ffffffc0002930f4>] _dump_stack+0x80/0xc4

<4>[ 1.047810] [0: swapper/0: 1] [<ffffffc00086de9c>] dump_stack+0xc/0x18

<4>[ 1.047829] [0: swapper/0: 1] [<ffffffc00001bdc0>] warn_slowpath_common+0x88/0xb0

<4>[ 1.047846] [0: swapper/0: 1] [<ffffffc00001be34>] warn_slowpath_fmt+0x4c/0x58

<4>[ 1.047862] [0: swapper/0: 1] [<ffffffc00036fbe0>] device_create_file+0x7c/0xb0

<4>[ 1.047881] [0: swapper/0: 1] [<ffffffc000326554>] s3c24xx_serial_probe+0x828/0x8dc

<4>[ 1.047901] [0: swapper/0: 1] [<ffffffc000375698>] platform_drv_probe+0x4c/0x9c

<4>[ 1.047918] [0: swapper/0: 1] [<ffffffc000373c20>] driver_probe_device+0xd4/0x238

<4>[ 1.047935] [0: swapper/0: 1] [<ffffffc000373e30>] __driver_attach+0x60/0x90

<4>[ 1.047952] [0: swapper/0: 1] [<ffffffc000372da4>] bus_for_each_dev+0x70/0x90

<4>[ 1.047969] [0: swapper/0: 1] [<ffffffc000373730>] driver_attach+0x1c/0x28

<4>[ 1.047986] [0: swapper/0: 1] [<ffffffc0003733fc>] bus_add_driver+0xf8/0x1cc

<4>[ 1.048003] [0: swapper/0: 1] [<ffffffc00037472c>] driver_register+0x90/0xe0

<4>[ 1.048020] [0: swapper/0: 1] [<ffffffc0003755c8>] __platform_driver_register+0x5c/0x68

<4>[ 1.048039] [0: swapper/0: 1] [<ffffffc000ced428>] s3c24xx_serial_modinit+0x48/0x58

<4>[ 1.048056] [0: swapper/0: 1] [<ffffffc0000026bc>] do_one_initcall+0xf4/0x188

<4>[ 1.048075] [0: swapper/0: 1] [<ffffffc000cc4afc>] kernel_init_freeable+0x144/0x1f4

<4>[ 1.048091] [0: swapper/0: 1] [<ffffffc00086ad78>] kernel_init+0x10/0xd0

<4>[ 1.048106] [0: swapper/0: 1] ---[ end trace 1bbce8ded3af741f ]---

<4>[ 1.048985] [0: swapper/0: 1] [ExyRNG] passed the start-up test

<4>[ 1.050183] [0: swapper/0: 1] ------------[ cut here ]------------

<4>[ 1.050207] [0: swapper/0: 1] WARNING: CPU: 0 PID: 1 at ../../../../../../kernel/samsung/universal7880/include/linux/kref.h:47 set_current_rng+0x60/0x7c()

<4>[ 1.050222] [0: swapper/0: 1] Modules linked in:

<4>[ 1.050239] [0: swapper/0: 1] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.18.14-g3d77bc46b82 #1

<4>[ 1.050254] [0: swapper/0: 1] Hardware name: Samsung A5Y17 LTE EUR HWID08 board based on Exynos 7880 (DT)

<0>[ 1.050268] [0: swapper/0: 1] Call trace:

<4>[ 1.050287] [0: swapper/0: 1] [<ffffffc000009404>] dump_backtrace+0x0/0x10c

<4>[ 1.050304] [0: swapper/0: 1] [<ffffffc000009520>] show_stack+0x10/0x1c

<4>[ 1.050323] [0: swapper/0: 1] [<ffffffc0002930f4>] _dump_stack+0x80/0xc4

<4>[ 1.050341] [0: swapper/0: 1] [<ffffffc00086de9c>] dump_stack+0xc/0x18

<4>[ 1.050360] [0: swapper/0: 1] [<ffffffc00001bdc0>] warn_slowpath_common+0x88/0xb0

<4>[ 1.050377] [0: swapper/0: 1] [<ffffffc00001beac>] warn_slowpath_null+0x14/0x20

<4>[ 1.050395] [0: swapper/0: 1] [<ffffffc00032aee4>] set_current_rng+0x5c/0x7c

<4>[ 1.050412] [0: swapper/0: 1] [<ffffffc00032b498>] hwrng_register+0x1c0/0x23c

<4>[ 1.050430] [0: swapper/0: 1] [<ffffffc00032ba04>] exyswd_rng_probe+0x48/0x70

<4>[ 1.050448] [0: swapper/0: 1] [<ffffffc000375698>] platform_drv_probe+0x4c/0x9c

<4>[ 1.050466] [0: swapper/0: 1] [<ffffffc000373c20>] driver_probe_device+0xd4/0x238

<4>[ 1.050483] [0: swapper/0: 1] [<ffffffc000373e30>] __driver_attach+0x60/0x90

<4>[ 1.050500] [0: swapper/0: 1] [<ffffffc000372da4>] bus_for_each_dev+0x70/0x90

<4>[ 1.050517] [0: swapper/0: 1] [<ffffffc000373730>] driver_attach+0x1c/0x28

<4>[ 1.050534] [0: swapper/0: 1] [<ffffffc0003733fc>] bus_add_driver+0xf8/0x1cc

<4>[ 1.050551] [0: swapper/0: 1] [<ffffffc00037472c>] driver_register+0x90/0xe0

<4>[ 1.050569] [0: swapper/0: 1] [<ffffffc0003755c8>] __platform_driver_register+0x5c/0x68

<4>[ 1.050586] [0: swapper/0: 1] [<ffffffc000cedd08>] exyswd_rng_init+0x34/0x70

<4>[ 1.050604] [0: swapper/0: 1] [<ffffffc0000026bc>] do_one_initcall+0xf4/0x188

<4>[ 1.050623] [0: swapper/0: 1] [<ffffffc000cc4afc>] kernel_init_freeable+0x144/0x1f4

<4>[ 1.050640] [0: swapper/0: 1] [<ffffffc00086ad78>] kernel_init+0x10/0xd0

<4>[ 1.050654] [0: swapper/0: 1] ---[ end trace 1bbce8ded3af7420 ]---

<6>[ 1.050813] [0: swapper/0: 1] ExyRNG: hwrng registered

<6>[ 1.050866] [0: swapper/0: 1] ExyRNG driver, (c) 2014 Samsung Electronics

<4>[ 1.046739] [0: swapper/0: 1] ------------[ cut here ]------------

<4>[ 1.046764] [0: swapper/0: 1] WARNING: CPU: 0 PID: 1 at ../../../../../../kernel/samsung/universal7880/drivers/base/core.c:558 device_create_file+0x80/0xb0()

<4>[ 1.046780] [0: swapper/0: 1] Attribute error_cnt: write permission without 'store'

<4>[ 1.046795] [0: swapper/0: 1] Modules linked in:

<4>[ 1.046813] [0: swapper/0: 1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.14-g3d77bc46b82 #1

<4>[ 1.046828] [0: swapper/0: 1] Hardware name: Samsung A5Y17 LTE EUR HWID08 board based on Exynos 7880 (DT)

<0>[ 1.046844] [0: swapper/0: 1] Call trace:

<4>[ 1.046865] [0: swapper/0: 1] [<ffffffc000009404>] dump_backtrace+0x0/0x10c

<4>[ 1.046884] [0: swapper/0: 1] [<ffffffc000009520>] show_stack+0x10/0x1c

<4>[ 1.046904] [0: swapper/0: 1] [<ffffffc0002930f4>] _dump_stack+0x80/0xc4

<4>[ 1.046924] [0: swapper/0: 1] [<ffffffc00086de9c>] dump_stack+0xc/0x18

<4>[ 1.046944] [0: swapper/0: 1] [<ffffffc00001bdc0>] warn_slowpath_common+0x88/0xb0

<4>[ 1.046961] [0: swapper/0: 1] [<ffffffc00001be34>] warn_slowpath_fmt+0x4c/0x58

<4>[ 1.046978] [0: swapper/0: 1] [<ffffffc00036fbe0>] device_create_file+0x7c/0xb0

<4>[ 1.046997] [0: swapper/0: 1] [<ffffffc000326554>] s3c24xx_serial_probe+0x828/0x8dc

<4>[ 1.047017] [0: swapper/0: 1] [<ffffffc000375698>] platform_drv_probe+0x4c/0x9c

<4>[ 1.047035] [0: swapper/0: 1] [<ffffffc000373c20>] driver_probe_device+0xd4/0x238

<4>[ 1.047052] [0: swapper/0: 1] [<ffffffc000373e30>] __driver_attach+0x60/0x90

<4>[ 1.047070] [0: swapper/0: 1] [<ffffffc000372da4>] bus_for_each_dev+0x70/0x90

<4>[ 1.047087] [0: swapper/0: 1] [<ffffffc000373730>] driver_attach+0x1c/0x28

<4>[ 1.047104] [0: swapper/0: 1] [<ffffffc0003733fc>] bus_add_driver+0xf8/0x1cc

<4>[ 1.047121] [0: swapper/0: 1] [<ffffffc00037472c>] driver_register+0x90/0xe0

<4>[ 1.047139] [0: swapper/0: 1] [<ffffffc0003755c8>] __platform_driver_register+0x5c/0x68

<4>[ 1.047157] [0: swapper/0: 1] [<ffffffc000ced428>] s3c24xx_serial_modinit+0x48/0x58

<4>[ 1.047175] [0: swapper/0: 1] [<ffffffc0000026bc>] do_one_initcall+0xf4/0x188

<4>[ 1.047194] [0: swapper/0: 1] [<ffffffc000cc4afc>] kernel_init_freeable+0x144/0x1f4

<4>[ 1.047212] [0: swapper/0: 1] [<ffffffc00086ad78>] kernel_init+0x10/0xd0

<4>[ 1.047241] [0: swapper/0: 1] ---[ end trace 1bbce8ded3af741e ]---

<6>[ 1.047442] [0: swapper/0: 1] 13820000.uart: ttySAC2 at MMIO 0x13820000 (irq = 455, base_baud = 0) is a S3C6400/10

<4>[ 1.047640] [0: swapper/0: 1] ------------[ cut here ]------------