English

English

Starred Gists (Mirai)
How to get Gacha URL via tracing system Android.md

SELECT LANGUAGE

EN | ID

How to Get Gacha URL on Android

ABOUT SYSTEM TRACING

The system tracing feature on Android is the ability to record system and user activity on Android devices. This feature allows developers and engineers to monitor system performance, find bugs, and fix problems on Android devices. You can read more in detail here

REQUIRED

  1. This method support for Android 9 above
  2. Android System WebView apps version 113.xxx or lower (Read note for details)
  3. Not all brand support this method (Read note for details)

BEFORE STARTING, PLEASE READ ALL INSTRUCTIONS

Alternative method

If you want simple method you can use Brevent or Shizuku

INSTALLATION

  1. Turn on first developer setting your phone how to turn on
  2. Go system tracing and set Category settings, only select WebView

  1. Enable Show quick setting tile

  1. Login application
  2. Swipe to notification center and start record before you enter web gacha

  1. See 2-3 page before you stop trace record
  2. Go back system tracing and select view trace file
  3. For Android 9 ,10 and 11 you need download shortcut file For find location file and tap point three on top left corner and scroll down until you see system tracing file


Or you can share and upload via Gdrive and download it

  1. Rename file to testing.txt or anything according your file and make sure extension is .txt and move to internal storage don't keep file in folder

  • For make sure testing.txt already in correct path, You can enter ls in Termux or Qute

READ TRACING FILE VIA TERMUX
  1. Download and install termux from f-droid
  2. Open termux and enter pkg install binutils -y only for first setup if you see error log you can enter termux-change-repo and select manual repo available
  3. Enter termux-setup-storage only for fist setup and allow permission
  4. Enter cd /storage/emulated/0 and than input script

Tutorial

READ TRACING FILE VIA QUTE
  1. Download and install qute from Playstore
  2. Allow permission
  3. Move file and rename to testing.txt and move to internal storage don't keep in the folder
  4. cd /storage/emulated/0
  5. and paste the script

Tutorial

SCRIPT

Genshin Impact download

  • Script 1
echo -e "\n$(strings testing.txt | grep -Eo "https://webstatic(.+)|.+biz=hk4e_global#/log" | grep -v "|" | tail -2 | tr -d "\n")"

  • Script 2
echo -e "\n$(strings testing.txt | grep -Eo "https://hk4e-api-os.hoyoverse.com(.+)|.+&game_biz=hk4e_global" | grep -v "|" | tail -2 | tr -d "\n")" 

Honkai Star Rail download

  • Script 1
echo -e "\n$(strings testing.txt | grep -Eo "https://api-os-takumi.mihoyo.com(.+)|.+game_biz=hkrpg_global" | grep -v "|" | tail -2 | tr -d "\n")"

  • Script 2
echo -e "\n$(strings testing.txt | grep -Eo "https://webstatic-sea(.+)|.+game_biz=hkrpg_global" | grep -v "|" | head -2 | tr -d "\n")"

  • Script 3
echo -e "\n$(strings testing.txt | grep -Eo "https://hk4e-api-os(.+)|.+hk4e_global" | grep -v "|" | tail -2 | tr -d "\n")"

NOTE

List phone compatible this method :

  1. Samsung
  2. Xiaomi
  3. Oppo
  4. Realme
  5. Asus
  6. Sony
  7. Motorola
  8. Google pixel
  9. OnePlus
  10. Infinix
  • Since Google already fixed this method, System tracing will not works if the Android System WebView application is at version 114.xxx or above So you need to uninstall the update.

  • After you done uninstall the update, recommend to turn off auto update apps your Google Play Store

HOW TO SOLVED ERORR

  1. Permissions denied
    • It's means you don't give permission on termux ( You can manually give permission, Apps info > permissions > files > allow)
  2. strings: 'testing.txt': No such file
    • It's means you wrong save the file, name not match
    • If you open via Qute probably you don't give permission, you can enter ls for check it or version android system WebView apps 114.xx
  3. If after you enter script and nothing appear
    • Try check category settings and only check list WebView
    • Go apps management and see version android system WebView if already install version 114 you need to uninstall the update and tracing again
    • Set CPU log buffer trace to 32
    • Before you end tracing try see 2-3 page gacha history
  4. If gacha link not fully appears
    • change the script tail -2 to head -2 or the other way around
  5. If after you uninstall the update android system WebView and Games can't open, You can force stop Your games or restart your phone

IF YOU'VE FOLLOWED THE INSTRUCTIONS AND IT'S STILL NOT WORKING, THERE MAY BE SOMETHING WRONG WITH YOUR INSTALLATION PROCESS OR A PROBLEM WITH YOUR DEVICE.

WATCH TUTORIAL HERE

Don't forgot like my video ❤️

Paimon.moe tutorial


Honkai Star Rail Station tutorial


Pom.moe tutorial


VIA ADB FASTBOOT

  1. Download ADB-and-Fastboot++_vXXX-Portable.zip
  2. Extract the Zip Archive
  3. Double click on Open CMD.bat
  4. Turn on usb debugging your phone
  5. Connect your phone to PC via usb cable
  6. Enter adb shell After a pop up appear, select allow

and enter logcat -e https://webstatic-sea.hoyoverse.com/

  1. Open the games on your phone and go to wish history
  2. Link will appear on adb Fastboot

SUPPORT ME❤️




Generated by RSStT. The copyright belongs to the original author.

Source

Report Page