Venetium for iOS 5 and later: Chromium 150 (Blink and V8, not the system's WebKit) for jailbroken iPhones, iPads and iPod touches, from the iPhone 3GS and the iPad 1 on iOS 5 to iOS 10 — a browser of today on devices whose own Safari stopped at iOS 5, 6 or 7. It is Venetium (Chromium for old 32-bit ARM Windows tablets) and venetium-w10m (the same for Windows 10 Mobile phones) brought to iOS, with Chrome for Android's interface drawn natively in UIKit.
Status: early, usable on 512 MB devices. An iPhone 4 (iOS 7.1.2) runs Speedometer 3.0's ten iterations without a crash; an iPad 2 (iOS 6.1.3) runs YouTube with hardware video. On 256 MB devices (iPad 1, iPhone 3GS) light pages work, heavy ones run out of memory. See Tested devices and Known problems.
- Chrome for Android's interface, as venetium-w10m lays it out, drawn in UIKit (for iOS 5's frames and autoresizing): Home, the address bar with suggestions, a new tab, the tab count (a grid of tabs) and the menu: new tab, history, bookmarks, recent tabs, find in page, desktop site, share, clear browsing data, settings, About.
- Settings: the address bar at the bottom, the toolbar hidden while a page scrolls down, a black theme, the search engine, the home page and new tab page, page zoom, desktop site by default, JavaScript, images, pop-ups, certificate exceptions, the JavaScript JIT and hardware graphics, engine switches, and the log.
- 30 interface languages, the system's or one chosen; pages are asked for the same language (Accept-Language).
- A built-in ad and tracker blocker (Venetium's): EasyList and EasyPrivacy through Chromium's subresource filter, on every site unless turned off for one (menu → Block ads).
- Chrome's security: certificates verified with the Chrome Root Store (iOS 5 to 8 know none of today's roots), Chrome's warning pages for bad certificates, with a site's errors passed once or always; Chrome's error pages.
- The GPU: compositing and rasterization through ANGLE on OpenGL ES 2.0 (PowerVR SGX).
- Video: H.264 on the hardware decoder (VideoToolbox, iOS 6 and later), FFmpeg with its ARM NEON code for the rest (H.264, AAC, MP3).
- JavaScript JIT: V8's compilers on a jailbroken device (code pages
mapped writable, then executable);
jitlessin Venetium's folder turns it off. - Tabs and history are kept across starts; tabs behind the selected one give their page back to the system when memory runs low, and load it again when shown.
A jailbroken device with iOS 5.0 to 10.x (the engine is 32-bit ARM, which iOS 11 no longer runs). About 140 MB on the disk.
Cydia, Sileo or Zebra: add the source
https://computershik73.github.io/repo/beta/
and install Venetium.
By hand: take the .deb from Releases
and install it over SSH:
dpkg -i ru.computershik.venetium_150.7871.222.1_iphoneos-arm.deb
su mobile -c uicacheIt is a .deb and not an .ipa for two reasons: an app's sandbox denies
VideoToolbox's hardware decoder before iOS 8, and V8's JIT needs the
dynamic-codesigning entitlement, which only a jailbroken device honours.
(make ipa still builds an .ipa, with neither.)
As venetium-w10m's: Chromium's numbers, then Venetium's build. 150.7871.222.1 is the first build on Chromium 150.0.7871.222 (its major, build and patch numbers; the minor is always 0). Venetium's own builds on the same Chromium change only the last number.
| Device | iOS | RAM | State |
|---|---|---|---|
| iPhone 4 (GSM, iPhone3,2) | 7.1.2 | 512 MB | Speedometer 3.0, ten iterations, without a crash (0.14) |
| iPad 2 (iPad2,2) | 6.1.3 | 512 MB | everyday sites, YouTube with hardware H.264, JIT |
| iPhone 4S | 6.1.3 | 512 MB | a user's: sites work; Speedometer 3.0 ran out of address space (see below) |
| iPad 1 (iPad1,1) | 5.1.1 | 256 MB | starts; bing.com, Wikipedia, lenta.ru; heavy pages (rutube.ru) run out of memory |
- 256 MB devices (iPad 1, iPhone 3GS, iPod touch 4): iOS leaves the browser about 100 MB. Venetium gives the GPU less there and tells the engine of memory pressure early, but pages heavy with scripts and video still get it closed by iOS. There it also quits when sent to the background (its tabs are saved and come back at the next start): with a page open, suspending took longer than the 10 s SpringBoard allows.
- The 32-bit address space (about 1 GB, a third of it the system's shared cache) runs out before a 512 MB device's memory does on long, heavy runs; an iPhone 4S on iOS 6 (whose mapped system files are larger than iOS 7's) ran out during Speedometer 3.0. Each fix so far is in docs/PORTING-IOS.md.
- YouTube's fullscreen player has a reported problem on an iPhone 4S, not reproduced yet.
Venetium keeps its files in /var/mobile/Library/Venetium:
venetium.log (this run) and venetium.previous.log, -previous-2.log,
-previous-3.log (the three before), tabs.plist, history.plist. iOS
keeps crash reports in /var/mobile/Library/Logs/CrashReporter
(Venetium_*.ips or Venetium-*.plist, and LowMemory-*.plist when iOS
closed it for memory; on iOS 5 and 6 sometimes /Library/Logs/CrashReporter).
Settings → Log shows the log and copies it. The log and the crash report
of the same minute, with the device and its iOS, are what helps.
killall -USR1 Venetium over SSH writes every thread's stack, the memory and
the address space into the log, and saves the screen as snapshot-101.png.
- Chromium's own iOS port of Blink (
use_blink), in one process (no BrowserEngineKit before iOS 17.4), as Blinker Fluid runs it on iOS 12 and later. - Built in WSL 2 with Chromium's clang, theos' ld64 and SDKs, as Troubadour is.
- For iOS 5: compiled for iOS 9 with emulated thread-locals, linked for iOS
5, with a layer of what iOS 5's libraries lack
(
engine/venetium_ios/compat), and Chromium's calls of what came later asked first (the patches). - For a 32-bit address space and 256 to 512 MB of memory: Chromium's low-end mode, smaller GPU and media buffers, a watch on the address space and the memory every 2 s, PartitionAlloc's reservations packed instead of placed at random.
docs/PORTING-IOS.md tells how and why, piece by piece.
engine/venetium_ios/ the engine: //venetium_ios in the Chromium tree
shell/ the browser: UIKit interface, settings, platform glue
compat/ what iOS 5 lacks, defined in the engine
probe/ vi_probe: base on the device
patches/ios/ what is applied to Chromium 150.0.7871.222, in order
args/ the GN arguments, per architecture
app/ theos: the bundle, its translations and icons, the .deb
tools/ the build, step by step (build-all.sh runs them all);
idevice.py: a device over USB (install, logs, SSH)
docs/ PORTING-IOS.md: how and why
WSL 2 with Ubuntu, theos in ~/theos with its Linux
toolchain and iPhoneOS16.5.sdk and iPhoneOS9.3.sdk, about 60 GB free on
WSL's own disk, Python 3, git, curl, ninja, and the 32-bit C library: V8's
snapshot for 32-bit ARM is made by an x86 build of V8, run on the build
machine.
sudo apt-get install libc6-i386 lib32gcc-s1 lib32stdc++6bash tools/build-all.shThat fetches Chromium's lite source tarball into ~/vi/src, Chromium's
clang, Rust, gn, node and Debian sysroots for the host tools
(tools/setup-tree.sh), makes libclang_rt.ios.a
(tools/build-clang-builtins.sh), applies the patch series
(tools/apply-patches.sh), runs gn (tools/gen.sh) and ninja
(tools/ninja.sh). VI_ARCH=arm64 builds the 64-bit engine.
The ad blocker's lists, the package, and the check of what the engine imports:
bash tools/build-filters.shcd app && make package FINALPACKAGE=1python3 tools/check-imports.py --sdk "$VI_SDK" ~/vi/src/out/armv7/VenetiumVenetium by hamed7ir, Chromium for Windows 10 on 32-bit ARM, which this port follows; Chromium by The Chromium Authors; Blinker Fluid for showing Blink on iOS outside BrowserEngineKit; EasyList and EasyPrivacy by their authors.
Ported to iOS by Computershik: 4PDA · Telegram · support the work
- This repository's own code —
engine/venetium_ios,tools,app,argsanddocs— is under the GNU General Public License 3.0, as Venetium is (see LICENSE). - The patches in
patches/change Chromium's files, and like them are under Chromium's BSD-style license. - The
.debholds Chromium and its third parties under their own licenses (BSD, MIT, Apache 2.0, ICU's), FFmpeg under the LGPL 2.1 or later (built without its GPL parts), and EasyList and EasyPrivacy under the GPL 3.0 or later and CC BY-SA 3.0 (filters/LICENSE.txtin the app).