Android version 13
One UI Core version 5.1
Model code SM-A045FZKGXID
Kernel version 4.19.191-26097594-abA045FXXU3cWG1
The following is a history of my useless attempts, which raised more questions than I was looking for. :)
The question seems so dumb I fear I am asking in the wrong community, never the less I have been struggling the whole day to find the answer to this. After hours of googling and ChatGPT I randomly found my IP address, instead of being among network-related settings, was among "status information" (why?)
I must tell you that I have no experience on Android devices whatsoever but I am a Linux enthusiast and therefore thought about checking the network configuration files in /etc
, I downloaded a terminal and then another but I couldn't go anywhere: almost all commands are unusable. I understood that Android did some kind of restriction on the file system, even reading files is a hassle. ip
and netstat
yielded errors.
I decided to unlock the "developer options", connect my phone to the PC, and try to navigate it from there. Unfortunately, I couldn't find the root folder / all I could find was 'Internal Storage' with its DCIM, Documents... subfolders.
I read that through some apps, the default gateway can be obtained. I think though that if apps can do it I should be able to do it as well, or at least understand how.
I thank you for your time and understanding, any explanation concerning any matter I exposed above is appreciated, even if not directly answering my question, I am keen to learn and expand my knowledge.
dumpsys connectivity | grep CONNECTED
andip route
?