Skip to content

Stop a walk at a chosen text; WhatsApp profile fixed against known data - #6

Merged
abrignoni merged 1 commit into
mainfrom
feat/stop-at-text
Nov 14, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/stop-at-text

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Adds --stop-at and fixes the WhatsApp profile against a known-data chat.

  • --stop-at TEXT ends a walk at the first screenshot showing the text, for the newest part of a long thread.
  • WhatsApp: side from the bubble (a short sent message read as received), large emoji and GIFs kept, photo captions as messages.
  • 13 of 13 known messages right except a link sent alone, which shows only as its card.

🤖 Generated with Claude Code

--stop-at TEXT ends a walk at the first screenshot that shows the text,
for the newest part of a long conversation. The run says where it
stopped and does not call the end confirmed.

A 13-message known-data chat between two phones, recorded at the end of
a long WhatsApp thread and walked with --stop-at, found three faults in
the WhatsApp profile:

- a short sent message read as received: its text sits left of its
  bubble, so the side now comes from the bubble (main_layout);
- a single large emoji (media_container) and a GIF (video_container)
  were left out; they are now described lines;
- a photo's caption was other text; it is now the message.

With these, all 13 came out right except a link sent alone, which
WhatsApp shows only as its preview card. On the owner's earlier WhatsApp
export the fix turned one short sent message from received to sent, as
its screenshot shows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 13a54e9 into main Nov 14, 2026
7 checks passed
@abrignoni
abrignoni deleted the feat/stop-at-text branch November 14, 2026 03:00
abrignoni added a commit that referenced this pull request Nov 14, 2026
… to the IMEI (#25)

identify: AutoCompleteTextView search field, and *#6# as the last way to the IMEI

Settings' search takes a field that is an AutoCompleteTextView as well as an
EditText (moto g47, TCL T613P), and leaves it out of the results. When the
result's screen gives no view tree, its screenshots are kept and chained, as
About phone's are.

When About phone, a known row and the search gave no IMEI, identify dials
*#6# on the phone's dialer, tapping only the keys *, #, 0, 6 by their ids
after deleting the 0 the keypad was opened with. If a key is missing nothing
is dialled. Only the dialog is kept: its own window's tree, and a screenshot
cut to the dialog. The call log's entry count and newest id and date are
chained before and after, and the note says whether they changed.

Run on the Android 15 emulator; unit tests on made-up dialer and search
screens. The delete key id is known for the Google dialer only.

Fixes #23
Fixes #24

Co-authored-by: Maxitelmo <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
abrignoni added a commit that referenced this pull request Nov 15, 2026
abrignoni added a commit that referenced this pull request Nov 15, 2026
…with no dialog (#27)

* identify: Samsung dialer's delete key, and the call log checked after a dial with no dialog

Run on two phones on Android 16. A moto g play (2026) dialled *#6#
through AppWalk: the dialog's two IMEIs matched About phone's, the
picture was cut to the dialog and the call log did not change.

A Samsung Galaxy A16 5G (SM-A166U) has its delete key as
delete_button_image, now in DELETE_KEYS. There the field showed *#6#
but no dialog opened, for taps and for key events. That path now also
records the call log after, as the dialog path does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Manual: the Samsung A16 does not answer *#6# by hand either

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
abrignoni added a commit that referenced this pull request Nov 17, 2026
* identify on a phone that refuses input events

A Xiaomi (HyperOS, Android 15) refuses every adb input event with an
INJECT_EVENTS SecurityException, and identify ended in a traceback.
Now the first refusal is noticed and no tap, swipe or key is sent after
it. About phone is kept as it first shows, *#6# goes in the dialer's
intent, and the launcher is brought back with an intent.
screenshots_without_tree stops at the first screen instead of crashing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Read the dial dialog until it settles; stop when the screen is off

From the Xiaomi runs on #54: one reading at 2.5 s missed IMEIs the
dialog showed, and with the screen off nothing was read. The dialog is
now read each second until it shows OK and the same IMEIs twice, and
the screen state from dumpsys power is checked before reading.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Maxitelmo added a commit to Maxitelmo/appwalk that referenced this pull request Nov 18, 2026
…tent

The Google dialer runs a code passed in its intent only when it is
already running. Started cold by the intent it only fills the field,
which is why identify read no IMEI on the Xiaomi (abrignoni#53).
Same on the Nubia. The dialer is now opened with tel:0 (opened, not
dialled), HOME brought to the front, and then the code is passed. The
dial_imei_code row says so in dialer_opened_first.

Checked on the Xiaomi 22101316G (input refused): both IMEIs and the
serial read from the dialog, in two runs from a cold dialer, call log
unchanged, verify passes. The Samsung SM-G990E, which takes input,
runs as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
abrignoni added a commit to Maxitelmo/appwalk that referenced this pull request Nov 20, 2026
…ntent

The Google dialer runs the code from the intent only when it is already
running. The Samsung dialer does not run it either way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
abrignoni added a commit that referenced this pull request Nov 20, 2026
* identify: have the dialer running before *#6# goes in its intent

The Google dialer runs a code passed in its intent only when it is
already running. Started cold by the intent it only fills the field,
which is why identify read no IMEI on the Xiaomi (#53).
Same on the Nubia. The dialer is now opened with tel:0 (opened, not
dialled), HOME brought to the front, and then the code is passed. The
dial_imei_code row says so in dialer_opened_first.

Checked on the Xiaomi 22101316G (input refused): both IMEIs and the
serial read from the dialog, in two runs from a cold dialer, call log
unchanged, verify passes. The Samsung SM-G990E, which takes input,
runs as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Manual: the dialer is opened first before *#6# goes in its intent

The Google dialer runs the code from the intent only when it is already
running. The Samsung dialer does not run it either way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Brigs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant