breakdown.agi

I decompiled Instagram

Five things its Android app can do, and the snippet of code behind each one.

  1. 1It guesses your next visit
  2. 2It has a name for fast skippers
  3. 3It notices your screenshots
  4. 4It checks for your AI apps
  5. 5It sends your phone's state with an ad request

1It guesses your next visit

It is eleven at night. You open Instagram because you are bored. Eleven could already be on its list.

The app keeps the last seven days of your app opens, and a small model turns them into a guess. The code calls it Casper, like the ghost. A second way in is a plain list of times: if now is within thirty minutes of one of them, the answer is yes.

assets/ig4a_meta_casper_mldw_ir.json
"name": "ig_app_start_dataset","retentionInSec": 604800

604800 seconds is exactly seven days.

X/07sl.java
Math.abs((((Number) it.next()).longValue() * 1000)  - System.currentTimeMillis()) <= 1800000

1800000 milliseconds is thirty minutes, before or after.

2It has a name for fast skippers

Skip, skip, skip. The code has a name for that: serial skipper.

It times how long you stay on each reel and keeps the last ten. If the newest ones are all too short, the answer is yes.

X/08C7.java
long j2 = jElapsedRealtime - j;if (r2.size() >= 10) {  r2.removeFirst();}r2.addLast(Long.valueOf(j2));

Only the last ten times stay. The oldest one leaves.

Now you swipe away an ad. Instagram can grab that swipe and ask you about the ad. But there is a setting for serial skippers: do not even ask. So a fast thumb can save you a survey.

X/0UwC.java, then the raw gate in X/0n9f
", enableSerialSkipperDwellFilter="...iget-object v0, v1, LX/06QH;->A04if-eqz v0, :cond_1f1iget-object v0, v1, LX/06QH;->A03if-eqz v0, :cond_1f1goto :goto_1a0

Serial skipper: yes. Setting on: yes. Then it jumps to the exit, and no question is shown.

Are you a serial skipper?

Swipe up, or press Next. This runs the same rule on your own thumb, only inside this page.

    is_serial_skipper = false

    In the real app the server picks these two numbers. Here you pick them.

    3It notices your screenshots

    You screenshot a friend's post at 2 am to send it to the group.

    The app can look at your newest screenshot files and read the date and time right off the file name.

    X/08LA.java
    Pattern.compile(".*([\\d]{4}).?([\\d]{2}).?([\\d]{2}).?([\\d]{2}).?([\\d]{2}).?([\\d]{2}).*\\.[0-9a-zA-Z]{1,5}", 2)

    Year, month, day, hour, minute, second. All from the name.

    Try it with a file name

    Type the name of one of your screenshots. This page uses the same pattern. Nothing is sent anywhere.

    There is also a file on your phone called the quantum signals journal.

    It works like a diary, and a screenshot can get its own entry. Other entry names in the code: like, comment like, long dwell.

    X/07fk.java
    return new File(new File(file, sb.toString()),  "quantum_signals_journal.jsonl");

    The file sits in Instagram's own folder, one per account.

    4It checks for your AI apps

    Is ChatGPT on your phone? Claude? Replika, where people talk to their AI like it is their partner?

    The list has 23 AI and automation apps. The app can ask Android about each one, report the ones you have, and look again a day later.

    X/07k8.java
    r4.ADV("installed_apps", arrayListA0s);r4.Eev();...putLong("last_detection_time",System.currentTimeMillis()).apply();

    It reports which ones you have, then saves when it looked.

    • ChatGPT
    • Claude
    • Google Gemini
    • Microsoft Copilot
    • Perplexity
    • Replika
    • Character.AI
    • NotebookLM
    • Poe
    • Pi
    • Manus
    • Replit
    • YouWare
    • Emergent
    • a0.dev
    • Notion
    • Airtable
    • Zapier
    • IFTTT
    • Tasker
    • MacroDroid
    • Automate
    • Home Assistant

    What one app name could say about you

    Replika
    You talk to an AI like a friend, or more than a friend.
    Notion
    You plan your work or your studies.
    Home Assistant
    You have a smart home.
    Zapier, Tasker
    You let machines do your boring work.
    Replit, a0.dev
    You build apps with AI.

    Our read. The code lists the names. What Meta does with the list is not in the app.

    "I asked ChatGPT, and the next day I saw the ad"

    This check cannot see what you asked. It asks Android one thing: is this app installed? But if your ads are suddenly full of AI tools, it could be one reason.

    5It sends your phone's state with an ad request

    You are at nine percent, and the phone is burning in your hand.

    When Instagram asks for the next ad in your reels, it can send that along: battery, heat, volume, even dark mode.

    X/00sY.java
    map.put("ranking_session_battery_level_pct", ...);map.put("ranking_session_thermal_state", ...);map.put("ranking_session_output_volume_level", ...);map.put("ranking_session_is_system_dark_mode", ...);

    Thermal state means how hot the phone is.

    X/07qR.java
    return DNc(r2,  "feed/injected_reels_media/");

    The request for the ads between your reels.

    Your phone tells this page too

    Any website can read some of this. These stay on your phone.

    Battery
    hidden
    Charging
    hidden
    Dark mode
    Hour

    How we read it

    1. Copy the appInstagram for Android, version 458.0.0.0.64, taken from our own phone on 25 November 2026. Only the app's code, no account data.
    2. Turn it back into codeA decompiler called JADX turns the packed app into code a person can read. Names like X/08C7 are Instagram's own scrambled names.
    3. Check the raw versionThe main finds were checked again in the raw instructions, because a decompiler can lose a step.

    Fair words. This shows what the app can do. Most of it sits behind switches on Instagram's side, so some parts are not on for everyone. Snippets are short and some lines are cut. Ziad's Instagram teardown found Casper, the journal, the AI app check and the phone state too.

    Which app next?

    Tell us in the comments.

    Go to @breakdown.agi