0

I have to configure my /etc/hosts file on my rooted device(Lineage OS). I can see the content with cat but when I try to open it with vim/nano/vi I only get these questionmark boxes. Screenshot: https://puu.sh/y6WzY/38fcef5594.png

I also tried modifying it in any possible way but this seems like the only one where I actually can get read/write permissions.

1 Answer 1

1

I managed to do it via pulling it on my pc and pushing it back on my phone:

adb pull /system/etc/hosts F:\hosts # then edit it with notepad, etc
adb push F:\hosts /system/etc/      # pushing it back on my phone

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .