LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

Softwarememory-lane

A free Telegram client brings modern chats back to an iPhone 4 running iOS 4.3

The unofficial client rebuilds compatibility with early iOS frameworks rather than raising its minimum version.

Chris Pirillo lifts a glowing iPhone 4 out of a museum specimen case
Illustration: LockerGnome

An iPhone 4 has enough screen for a conversation. The harder part is persuading modern software to speak through the frameworks that are actually installed on it. Onegram takes that problem apart at the compatibility layer, keeping the old phone in the discussion one missing API at a time.

The unofficial Telegram client targets iOS 4.3 through iOS 10. Its README describes channels, comments, forums, folders and calls among the implemented features. These are features of the project, with the iOS 4 implementation still explicitly unfinished. A headline about support needs that second sentence attached.

The developer puts the iOS 4 port at roughly 85 percent complete and identifies video messages as a remaining limitation. The same status section warns of crashes and incomplete behavior. That is useful information for a prospective user choosing between an interesting compatibility experiment and a daily communication dependency.

Much of the work described in the repository sits below the visible interface. It includes Objective-C runtime compatibility, C++ support through an older runtime, dispatch behavior and replacements for APIs introduced after iOS 4. A familiar chat bubble can conceal a substantial amount of engineering to reach the screen.

The calling engine supplies a particularly striking example. The project describes bringing WebRTC-related code onto the old environment while keeping a real iOS 4.3 deployment target. Raising that target would make some problems disappear by excluding the device the project exists to support. Preserving it makes each missing assumption part of the job.

Memory is another constraint with a recognizable device attached. The README discusses work for 512 MB devices, including reduced database activity and unnecessary reloads. Those changes aim to make the client usable within the phone’s limits. They should remain distinct from a promise that every modern conversation or media workload will fit comfortably.

Building also means entering an older development environment. The reference setup lists Mavericks, Xcode 4.6.3 and the iPhoneOS 6.1 SDK, with private Telegram credentials supplied in a local configuration file. Prebuilt releases offer another route, but the project’s installation details still deserve inspection. Credentials and signing files are explicitly excluded from material users should publish.

Keeping a working iPhone 4 useful is a fine reason to study the project. It does not renew the operating system’s security support or make an unofficial client official. The achievement is more specific and easier to appreciate: a developer is rebuilding enough of the missing software bridge that an old device can participate again.

The old phone still has something to say.

Orange links with a double underline go to Amazon. As an Amazon Associate, LockerGnome earns from qualifying purchases.

More Software

Every Software story →