Skip to content

Eclipse 2 v0.9.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 20:19
· 84 commits to main since this release
789568f

Clone app support, automatic crash reports, the story download fix for Instagram 458 and 19
new switches ported from Piko. Every new Piko switch is off by default.

Not yet tested on a device. All of this passed CI (unit tests and build) and the hook points were
checked against Instagram 458.0.0.0.57 bytecode. If something breaks, attach the report from the
Crash reports folder (on by default) to an issue.

Fixes

  • Story download crash on 458: the Story photo lookup walked up to 7 levels of the selected
    Media's object graph on the main thread and called every no-arg String/int/long method it met.
    On 458 those are JNI-backed Pando getters, and Instagram crashed at the Download tap (posts and
    reels never used this walk). Story and highlight lookups now read fields only; the method probe
    stays for voice-message thumbnails, where it is still needed.

Supported apps

  • Added InstaAlpha (com.instaalpha.android) next to Instafel (com.instafel.android). The
    unclone builds of both use com.instagram.android and were already covered.
  • LSPosed scope (xposedscope) now lists every supported package instead of only
    com.instagram.android, so clones are pre-selected when the module is enabled.
  • DM conversation menu hook no longer checks for com.instagram.android only.
  • Trusted clones: App settings → "Clone apps" lists installed clones. Trusting one pins its
    current signing key (SHA-256) in the companion's private prefs (not synced, not backed up).
    A trusted clone gets live settings sync both ways, downloads into the companion folder and
    config import; before, all of these were official-Instagram-only ("Companion request denied").
    A different signer under the same package name is denied until trusted again.

Crash reports

  • New "Crash reports" section (App settings, default on). When a hooked Instagram crashes, the
    module writes a report (type, time, app/module/device/Android versions, stack trace, last 400
    Eclipse 2 log lines) and the companion saves it as Crash reports/crash_<pkg>_<time>_<kind>.txt
    in the chosen folder, else the download folder, else Download/Eclipse 2/Crash reports.
  • Java crashes are caught live (Thread.dispatchUncaughtException). Native crashes and ANRs are
    read on the next start from ApplicationExitInfo (Android 11+); on Android 12+ the native
    tombstone is decoded (signal, abort message, crashing-thread backtrace) and the raw
    .tombstone.pb is saved next to it. Undelivered reports stay pending and are retried.

Settings

  • Ghost Mode master switch: isGhostModeEnabled was never tied to the "Enable/disable all"
    switch, so it was always saved and synced as false, even with every Ghost Mode feature on. It
    now mirrors that switch (on only while all eight Ghost Mode features are on), is recomputed on
    every settings load and save, and a stale stored value from older builds is corrected.

Ported from Piko

Features from Piko (GPL-3.0) that Eclipse 2 did not already
have, rewritten as Xposed hooks. The hook points were checked against the bytecode of
Instagram 458.0.0.0.57 (arm64). They have not been tested on a device yet. All switches are off
by default, and each hook installs nothing and logs a reason when its target is missing.

  • Feed → Hide share button / save button / repost button / like count on posts. These clear the
    matching flags in the feed post state (MediaUfiUiState, X.04d9 on 458) after its constructor
    runs. The obfuscated fields are matched to their toString labels on the first post by
    flipping each boolean once and restoring it. A label that does not map to exactly one field is
    left alone. Feed only: on 458 the reels checks are inlined into larger methods. "Hide repost
    button" only hides the button; "Disable repost" still blocks the repost action.
  • Feed → Hide highlights on profiles: hides highlights_tray after
    ProfileHeaderBinderGroup.bindView, and gives back Instagram's own visibility before the next
    bind.
  • Messages → Hide "Hidden requests": collapses the pending_threads_spam_folder_row row when it
    is inflated.
  • Navigation → Remove empty space under the tab bar: the nav bar size method (strings
    config_showNavigationBar + _hasNavigationBar_notFound, one caller, the insets listener)
    returns 0, Instagram's own "no nav bar" value. Takes effect after Instagram restarts.
  • Not ported, already in Eclipse 2: copy comment, custom font, share domain, nav bar
    customisation, reels scroll lock, ads, comments, discover people, double-tap like, explore,
    screenshot detection, stories, story flipping, swipe to camera, typing, autoplay, downloads,
    follows-you label, hidden chats, feed, create group on share sheet, notes tray, stories tray,
    suggested content, high-res images, inbox lock, following-only feed, permanent view-once,
    mark as read, links externally, tracking links, Instants, unsent messages, comment media,
    theme, dev options, ghost mode, story mentions, build-expired popup, notification fix,
    exact timestamps.
  • Not ported: reels share/save/like. On 458 those checks are inlined into larger methods.

Ported from Piko (batch 2)

The features the first batch skipped, done with method hooks instead of bytecode edits. Hook
points come from Instagram 458.0.0.0.57 (arm64). They are not device-tested yet, are off by
default, and each one logs and skips when its target is missing.

  • Stories → Hide Follow button: hides the follow holders in the story header binder and the
    StoryFollowButtonViewComponent views.
  • Reels → Hide Follow button: FollowButtonBase views inside a clips_* container stay hidden.
  • Stories → Loop stories: the "end of scene" path replays the current item, and the video player
    seeks to 0 and resumes, instead of moving on.
  • Messages → Disable swipe up for disappearing messages: the swipe gate returns false unless
    vanish mode is already on, so you can still swipe out of it.
  • Messages → Hide audio and video call buttons: removes the call kinds (*_CALL,
    COMBINED_CALL_*, COLLAPSED_CALL) from the thread header button list.
  • Stories → Filter stories tray: drops tray items by reel type and by verified or unverified
    account. Piko's min/max media count filter is not ported.
  • Feed → Custom like animation: LikeActionView.setUpCustomLikesAnimation with a picked style or
    a random one each time. UNRECOGNIZED is never used.
  • Stories → Custom story ring size (40–160%): replaces the 66/100 dp sizes in the tray item
    constructor. Needs an Instagram restart.
  • Reels → Resume where you left off: saves the position when a reel goes out of view and seeks
    there on the next prepare. Positions under 1 s are not saved.
  • Post menu → Open in external downloader: a post/reel menu row (SHOP_LANE_DEBUG carrier,
    DEBUG_AD fallback) that sends the instagram.com/p/ or /reel/ link to the set app, or to
    the share chooser when none is set or that app is missing.
  • Messages → Mark chat as read when you reply: with Ghost seen on, the newest blocked read
    receipt per chat is held and sent with Instagram's own sender once a message you sent in that
    chat is confirmed. It does nothing with Ghost seen off.
  • Distraction-free → Focus Lock: Extreme Mode with an end time (1 minute to 3 months), in the
    in-app dialog and the companion app. When the time is up, the switches unlock and keep their
    state. Moving the device clock forward ends the lock early.

Known limits

  • Reels share/save/like hiding and Piko's story-count tray filter are not ported (see #8).
  • Native crash and ANR reports need Android 11+ and are saved on the next Instagram start.
  • New settings text is English only for now.