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 rebootand
$ 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.yamlwork?
Or usingchmoddoes not help?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login