#!/bin/bash # Wallapop runs in Island (user 10, uid 1010271). Plain adb logcat often shows nothing. set -euo pipefail UID_WALLAPOP=1010271 echo "Clear log, reproduce login error on Island Wallapop, wait 10s..." adb logcat -c sleep 10 adb logcat -d --uid="$UID_WALLAPOP" > "/tmp/wallapop-uid-${UID_WALLAPOP}.log" grep -iE 'error|exception|fail|auth|openid|http|integrity|host|ssl|connect' "/tmp/wallapop-uid-${UID_WALLAPOP}.log" | tail -80 echo "--- full log: /tmp/wallapop-uid-${UID_WALLAPOP}.log"