ShizuStore

Hostman

LinZong

1.1.1 · GitHub

Download APK
Network Android 10+ 9 months ago MIT Requires root
28 ShizuStore
2.3k GitHub
57 Stars
19 MB Size
Detected trackers (3)
Google CrashLytics Crash reporting
Google Firebase Analytics Analytics
Sentry Crash reporting

Matched by Exodus Privacy code signatures. Not a complete list.

More about this app

Preview & edit the /etc/hosts file

icon Hostman

A simple Android app that can preview/edit /etc/hosts file in a GUI manner. Requires Shizuku in root mode.

Tested on OnePlus 8 and Xiaomi MIX2S, both are running in Android 10.

Note: You may also need to mount the /system folder with r/w permission in your favourite approach in advance.

Screenshots

Request Permission HomePage Create Edit Delete
Creating Host Entry HP Create Edit Delete
Close

How Shizuku is used

Can preview, add, edit and delete /etc/hosts entries via Shizuku `UserService` file access

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Hostman uses Shizuku to get privileged file access to the system hosts file, letting users view and modify hostname mappings that normal apps cannot touch.

  • Preview hosts entries: the app loads and parses the current /etc/hosts content through the privileged file service and shows IPv4 and IPv6 mappings in a list that can be refreshed.
  • Add and edit mappings: values entered in the edit dialog are merged into the parsed entries and the regenerated hosts file content is written back to /etc/hosts through the privileged file service.
  • Delete mappings: a mapping selected for removal is dropped from the parsed entries and the regenerated hosts file content is written back to /etc/hosts through the privileged file service.

Android APIs or commands used

  • java.io.File.readText
  • java.io.File.writeBytes

Notable details

The app only proceeds when Shizuku is running in root mode and shows a message that root mode is required when Shizuku is running in ADB mode.

Close

Changelog

What's new for version 1.1.1

🐛 Bug Fixes

  • Background Service Fix: Resolved BackgroundServiceStartNotAllowedException by properly starting foreground service from Quick Settings tile
Close

Permissions

13 permissions requested

  • android.permission.INTERNET
  • android.permission.ACCESS_NETWORK_STATE
  • android.permission.POST_NOTIFICATIONS
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_DATA_SYNC
  • android.permission.SYSTEM_ALERT_WINDOW
  • android.permission.WAKE_LOCK
  • com.google.android.gms.permission.AD_ID
  • android.permission.ACCESS_ADSERVICES_ATTRIBUTION
  • android.permission.ACCESS_ADSERVICES_AD_ID
  • com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
  • moe.nemesiss.hostman.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • moe.shizuku.manager.permission.API_V23
Close