This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
On Linux I use Zim Wiki. For android I use Joplin.
Zim is nice because the pages are just text files of known format and folder structure. You can actually go in manually in the file system and add/remove/modify/search/remove/rearrange if you need to though mostly the UI is just fine. I do not think there is an Android client. You could probably sync it through say Nextcloud because it is just files.
Joplin. This is more of a simple structure but there are clients for almost every platform and it can be synced securely though Nextcloud or another such service. So I use it on Android, and then also on Linux to access my Android notes.