11-10-2021, 08:33 AM
(This post was last modified: 11-10-2021, 08:57 AM by Zebulon Walton.)
There is information on upgrading to kernel 5.13 in the bookworm thread. (You'll want to be on the bookworm release if not already there. EDIT: I see you've already done that!) Installing the kernel amounts to:
apt search linux-image | grep sunxi # List available kernels
apt install linux-image-5.13-sunxi64 # Install kernel
A wrinkle to this is that apparently with this kernel the screen brightness will be set to zero unless you otherwise set it during boot, so you'll want to do that first and make sure it's working before booting the 5.13 kernel. (Also to be on the safe side in case you get a black screen make sure you have another means of getting into the phone like ssh enabled.)
To set brightness at boot time I enabled the old-school /etc/rc.local file:
https://www.troublenow.org/752/debian-10-add-rc-local/
Then in /etc/rc.local I put the following command (higher number is more brightness and vice versa, I don't know what the max is):
echo 600 > /sys/class/backlight/backlight/brightness
apt search linux-image | grep sunxi # List available kernels
apt install linux-image-5.13-sunxi64 # Install kernel
A wrinkle to this is that apparently with this kernel the screen brightness will be set to zero unless you otherwise set it during boot, so you'll want to do that first and make sure it's working before booting the 5.13 kernel. (Also to be on the safe side in case you get a black screen make sure you have another means of getting into the phone like ssh enabled.)
To set brightness at boot time I enabled the old-school /etc/rc.local file:
https://www.troublenow.org/752/debian-10-add-rc-local/
Then in /etc/rc.local I put the following command (higher number is more brightness and vice versa, I don't know what the max is):
echo 600 > /sys/class/backlight/backlight/brightness