Skip to content

Instantly share code, notes, and snippets.

@Mirai0009
Last active May 30, 2024 22:25
Show Gist options
  • Save Mirai0009/074ab719abe7b6362c277b7d172149ab to your computer and use it in GitHub Desktop.
Save Mirai0009/074ab719abe7b6362c277b7d172149ab to your computer and use it in GitHub Desktop.
System Tracing

SELECT LANGUAGES

INDONESIA

How to Get Gacha URL on Android

YouTube Video Views YouTube Video Likes

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 only compatible for Older Phone
  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
  4. Turn on first Developer options your phone how to turn on
  5. Not support for Android Phone Released in 2023

BEFORE STARTING, PLEASE READ ALL INSTRUCTIONS

Alternative method

If you want simple method you can follow this :

INSTALLATION

  1. Follow instructions first before watching videos
  2. Open Tracing System, you will be find on developer options

and set Category settings, only select WebView

  1. Enable Show quick setting tile. (You can turn it off again when not in use)

  1. Open your games
  2. Swipe to notification center and start record before you enter web gacha

  1. See 2-3 page gacha history before you stop trace record
  2. Go back system tracing and select view trace file

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 after you stop record, tap notification and share with ZArchiver, watch tutorial here

  1. Rename file to testing.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 ASCENT

  1. Download Ascent latest version
  2. Move Tracing file to internal storage
  3. Hold on the file then Tap send and open with Ascent

Tutorial

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 enter 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 enter script

Tutorial

READ TRACING FILE MANUAL VIA TEKS EDITOR

  1. Download and install Mixplorer from here
  2. Move File to internal storage and rename to .txt
  3. Open file via teks editor
  4. Find with keywords gacha
  5. Remove manual binnary teks
  6. Watch video tutorial here

SCRIPT

Genshin Impact

  • Script
echo -e "\n$(strings testing.txt | grep -Eo "https://gs.hoyoverse.com/(.+)|.+3d&game_biz=hk4e_global#/log" | grep -v "|" | head -2 | tr -d "\n")"

Honkai Star Rail

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

NOTE

List phone compatible this method :

  1. Samsung
  2. Xiaomi
  3. Oppo
  4. Realme
  5. Asus
  6. Sony/Xperia
  7. Motorola
  8. Google pixel
  9. OnePlus
  10. Infinix
  11. Tecno pova
  • 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. Because Google already hide this apps in Google playstore, So you can tap here to redirect you to the apps

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

  • You can check version Appwebview on developer options and tap Webview Implementation, If after you uninstall and Android system webview version still higher than version 113, it's mean your phone not compatible

TROUBLESHOOTING

  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

  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

  6. 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


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

  • Honkai Star Rail & Genshin Impact
logcat -e https://gs.hoyoverse.com/
  1. Open the games on your phone and go to wish history
  2. Link will appear on adb Fastboot

SUPPORT ME❤️

Buy Me a Coffee at ko-fi.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment