I am usong Sony Xperia Z3 6603 with latest available android. When using the Terminal Emulator, by default, the shown username@device is some random jibberish@D6603. Copy below:
I have fiddled around with the hostnames, since one was localhost and the other one was the wi-fi random generated one. Its the one in net.hostname and the /proc/sys/kernel/hostname, i havent touched the /etc/hosts since i think it will break something. I havent touched either build.prop for the same reason, i dont really know what depends on the ro.product.device. $PS1 gives different output than the shown username.
The question is, which values are safe for editing, and which one should be edited for the shown username?