How abdelrahmanmshawki/pulse_facebook_android works
PULSE + Frida monitors Facebook Reels on an Android device: the user chooses a reel-count or time-based run, then the app is launched with the Frida hook, navigated to Reels, and swiped by the automator. Per-reel timing aligns player, network, and radio observations; the session assembles an Excel workbook and graphs. The graph preserves the documented throughput and playback-state capabilities. Some wiring is documented in the README rather than shown in the excerpts, so those edges cite the README.
Main entry points: main.py Session entry · reel_data.py Reel session monitor · frida_runner.py Frida event runner · reel_automator.py Swipe automator
Components 15
Run control
- Session entry
main.py - Reels navigation
facebook_reels_navigation.py - Swipe automator
reel_automator.py
Reel capture
- ABR and CDN hook
fb_abr_hook.js - Frida event runner
frida_runner.py - Reel session monitor
reel_data.py - Playback gate
playback_gate.py
Device metrics
- Radio KPIs
radio_reader.py - Byte throughput
bytes_reader.py - TCP latency capture
ttfb_measure.py
Reporting
- Excel workbook
excel_export.py - Session graphs
graphs.py
Other components
- Run operator
- Facebook app
- Android device
Connections 22
- Run operator → Session entry: configures run
README.md - Session entry → Frida event runner: starts hook
main.py - Frida event runner → ABR and CDN hook: loads script
README.md - ABR and CDN hook → Facebook app: observes playback
README.md - Session entry → Reels navigation: navigates app
README.md - Reels navigation → Facebook app: opens Reels
README.md - Session entry → Playback gate: starts gate
main.py - Frida event runner → Playback gate: feeds buffer
main.py - Session entry → Reel session monitor: creates monitor
main.py - Session entry → Radio KPIs: starts sampling
main.py - Session entry → Swipe automator: starts swipes
README.md - Swipe automator → Facebook app: swipes reels
README.md - Swipe automator → Reel session monitor: marks boundaries
README.md - Reel session monitor → Frida event runner: queries reel events
reel_data.py - Reel session monitor → Radio KPIs: buckets samples
README.md - Reel session monitor → Byte throughput: records throughput
README.md - Reel session monitor → TCP latency capture: measures latency
reel_data.py - Radio KPIs → Android device: reads radio state
README.md - TCP latency capture → Android device: captures TCP
README.md - Reel session monitor → Excel workbook: writes inputs
reel_data.py - Session entry → Session graphs: generates plots
README.md - Excel workbook → Session graphs: reads workbook
README.md