this post was submitted on 14 Sep 2024
1 points (100.0% liked)

iOS Jailbreak (iPhone, iPad, iPod Touch, Apple TV)

47 readers
1 users here now

We stand in solidarity with numerous people who need access to the API including bot developers, people with accessibility needs (r/blind) and 3rd...

founded 2 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/jailbreak by /u/paintedirondoor on 2024-09-13 13:17:40+00:00.


I was kinda bored and since i cannot find an adblock tweak for my iPhone 5s (12.5.7). i decided to go the classic unix way. and since i said i was bored so i wrote thsi post

Requirements:

  • Full read-write file system acesss (we editin shit in /etc) this is usually attainable by a rootful jailbreak
  • a way to write commands (terminal, openssh) openssh recommended. but a terminal app should do fine
  • hosts file from this github repo from the RAW FILE SOURCES section

copy/download the hosts file to the target filesystem.

$HFILE = replace with your own hosts file location.

Enter the following text in the code section.

rm /etc/hosts

since the hosts file already have local loopback. we dont need the old one. remember to replace $HFILE

mv $HFILE /etc/hosts

To update the blocklist. just rinse and repeat

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here