How can I edit file in /etc folder on UT 20.04 (Focal)?
-
Hello community,
I refer to this thread:
https://forums.ubports.com/topic/9317/how-can-i-change-scaling-on-20-04-focal-without-ut-tweak-tool-and-without-reboot?_=1698522355620I'm running Pixel 3a XL. I would like to change scaling in
/etc/deviceinfo/devices/halium.yaml
("GridUnit"), unfortunately file is unwritable.As there is no UT Tweak Tool available, so I enabled Developer mode and I tride to follow this: https://ubports.com/en/blog/ubports-news-1/post/terminal-chapter-3-3073 to make fs r/w.
I tried both ways:
$ adb shell $ sudo touch /userdata/.writable_image $ sudo reboot
and
$ adb shell $ sudo mount -o remount,rw /
None of above worked, file is still unwritable.
Therefore my question: How can I make fs r/w to edit halium.yaml in /etc?
-
@pleca
You can install Tweak tool, this build works for focal even if named xenial... iirc -
Does not
sudo nano /etc/deviceinfo/devices/halium.yaml
work?
Or usingchmod
does not help?