#jogerj ๐Ÿ‡ฎ๐Ÿ‡ฉ ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡ฏ๐Ÿ‡ต (2022-08-27)

1 messages ยท Page 1 of 1 (latest)

timber rootBOT
#

Your feedback thread is automatically created, you can continue your message on this thread!

cobalt frigate
#

requires Android USB debugging/wifi debugging

#

cons: it's pain to get usb debugging connected, sometimes fails to connect for absolute no reason PepeHands
pros: the URL gets copied to the PC

#

pros: it's possible to port to bash and run in background with Termux

#

then access via wifi-debugging

#

cons: wifi debugging is only android 8+ iirc PepeHands

cobalt frigate
#

In bash:

adb connect localhost:5555
url="$(grep -m 1 -oP "https.+/log" <( grep -P "OnGetWebViewPageFinish" <( adb logcat ) ); kill $! 2> /dev/null)";
echo "$url";
termux-clipboard-set "$url"
cobalt frigate
#

wait this one is better
prerequisite:

apt update
apt install -y android-tools termux-api
adb tcpip 5555
adb connect localhost:5555
url="$(grep -m 1 -oE "https.+/log" <( adb logcat -m 1 -e "OnGetWebViewPageFinish" ) )"; echo "$url"; termux-clipboard-set "$url"
cobalt frigate
cobalt frigate
#

bash for macos and linux users (untested btw)

drifting etherBOT
#

up @cobalt frigate has leveled up to LEVEL 4 exp

cobalt frigate
#

run with bash -c "$(curl -fsSL https://cdn.discordapp.com/attachments/1013172719082274956/1013239301892489317/getlink_android.sh | sed 's/\r//')" (sed needed bcs i made an oopsie when writing from windows Maaaaan )

cobalt frigate
#
  1. Download https://play.google.com/store/apps/details?id=com.cgutman.androidremotedebugger
  2. Enable USB debugging in developer options
  3. Copy this
am start -a android.intent.action.VIEW -d "$(logcat -m 1 -e "OnGetWebViewPageFinish.+https.+\/log" | grep -oE "https.+\/log")"
  1. Open Remote ADB Shell. Connect to localhost port 5555
  2. Paste and run
  3. Open Genshin Impact and then open Wish History
  4. Wish History will open in your browser and you can copy the URL. If browser does not open, try switching back to Remote ADB Shell
  5. Turn off USB debugging! (Important for your security!)
shrewd latch
#

this is cool

timber rootBOT
#

jogerj ๐Ÿ‡ฎ๐Ÿ‡ฉ ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡ฏ๐Ÿ‡ต (2022-08-27)

shrewd latch
cobalt frigate
#

Not necessarily

shy pendant
#

Can this be done on termux or terminal emulator?

cobalt frigate
#

Yes

#

U need adb installed

shrewd latch
cobalt frigate
#

Run apt update && apt install android-tools

#

Yea unfortunately it does that

#

Like connect once to adb via usb on pc

#

Then run adb tcpip 5555

shy pendant
#

Well, if it can be done via termux or terminal emulator, then you won't need adb isnt it?

cobalt frigate
#

No

#

U need adb logging level

#

I tried

shrewd latch
#

well for the first time, need PC then?

cobalt frigate
#

Uhh what's your android version

shrewd latch
#

11

cobalt frigate
#

I think android 8-10 had no problems

#

It's the wifi adb that broke it, from 11+ iirc

shrewd latch
#

So enable usb debugging -> open remote adb shell -> connect localhost:5555 -> connection failed

#

hmm wifi adb huh

cobalt frigate
#

By default adb via tcpip is disabled

#

Connecting via wifi on 11+ use adb pair ip:port first

#

That unfortunately you cannot self adb

shrewd latch
#

cannot do it via termux?

cobalt frigate
#

Because you need the pairing window open

#

You can but jank af, using split screen to keep it open

shrewd latch
#

I tried adb pair ip:port, it never show anything on the phone lel

cobalt frigate
#

So this is me connecting to my other phone with android 10

#

Resetting adb fixed it

#

But for adb pair

#

U need

#

Like this

#

This is android 11+ i think

shrewd latch
#

hmm yeah, just tried it with split window

#

it works

#

but eh ๐Ÿ˜‚

cobalt frigate
#

Fucking google making it hard

#

I mean it's good tho

#

More secure

#

But pls

shrewd latch
#

so its easier with pc yeah

cobalt frigate
#

Anyways, usb method still foolproof i thinj

#

Doesn't have to be a pc, can be another phone

shrewd latch
#

But android11+ need to pair first

cobalt frigate
#

So recap:

  • Android 10 or below, connect via tcpip at port 5555. If doesn't work, restart adb
  • Android 11+, connect with adb pairing, use adb pair ip:port on same wifi network. Then adb connect ip:port (pairing and connect port may be different). Once paired (with split screen jank method) connecting next time is ez
shrewd latch
#

hmm for now will make tutorial with usb I guess, its much simpler

cobalt frigate
#

Gotta include enabling developer option tutorial.... Generally tap build number 7x

#

Etc etc

cobalt frigate
#

Just tested on macos. Sorta works, needs fixing few lines bcs macos is dumb brb

cobalt frigate
#

bash -c "$(curl -fsSL https://cdn.discordapp.com/attachments/1013172719082274956/1013426575313739848/getlink_android.sh)"

cobalt frigate
cobalt frigate
cobalt frigate
#

iTools/iOSLogInfo

#

Seems promising

shrewd latch
#

yeah i have an ipad

#

okay will try tonight

shrewd latch
#

just tried, the link not showed sadly