0

So I'm setting the resolution by editing system files. This has been the only way that works for me. More preciesly I issue this command:

echo 1080p60hz > sys/class/display/mode 

to the device's termninal. This succesfully changes the resolution to 1080p60hz or to a different value if it's issued. However after restart the device returns to its previous resolution.

Does nayone know how to make it remember the new resolution? Probably another file needs to be edited but I haven't found out which.

2
  • 1
    I've answered the question of how to change the resolution of a phone before, here. Survives reboots as well. Commented Jun 13, 2018 at 14:01
  • Thanks but this doesn't really work for me. The device I'm talking about is a TV, and the wm size looks to work mostly on phones. It does produce a change on the TV but it's not equivalent to changing the resolution. Commented Jun 14, 2018 at 7:30

1 Answer 1

0

Several options:

  • modify the boot image accordingly, or
  • use init.d scripts if your device supports them (if not, there are some apps to achieve that). Or,
  • use an automation app to do that on BOOT_COMPLETED (e.g. tasker supports that, e.g. running a script on BOOT_COMPLETED – called "device start" there IIRC).

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.