0 votes
by (170 points)
recategorized by

Hello, i am trying to set a few systemproperties through adb. I found the following documentation but it is not a complete list of possible systemproperties to change.
https://sdk.picovr.com/docs/ADBCommand/chapter_two.html

Is there a way to find out which properties can be set?
Right now i am trying to change the "net.hostname" property but it gets reset after a reboot.
Is there another way to change the hostname?

1 Answer

0 votes
by (55.5k points)

The ADB command to change the hostname is:

adb shell setprop net.hostname XXX

This command is temporary. Reboot will cause the command to become invalid. This is caused by the limitation of android system.

...