Sample Header Ad - 728x90

How to disable automatic reboot on kernel panic?

0 votes
0 answers
862 views
Since my device was unproperly shut down because the battery stopped functioning (the battery is getting completely discharged at a level higher than 1%), it is rebooting in loops even in safe mode (more exactly it reboots about 3 to 5 seconds after finishing booting). So it means a file or permission wasn’t properly written in /data. But in my case, the /data partition is on the sd card thanks to Magisk root, so I have full access to it. Using a computer, I tried to put an additional Magisk startup script which is executed at boot in order to stream kernel log to a file, but the result isn’t useful as the last line of the log file looks something like this : [ 72.480828] Ke **So which is the command to execute or file to write in /proc or /sys in order to disable automatic reboot after a kernel panic** so the kernel finish to flush the log file ?
Asked by user2284570 (501 rep)
Jun 24, 2021, 12:49 PM