Skip to content

Instantly share code, notes, and snippets.

View sabpprook's full-sized avatar
🏠
Working from home

YU-YEN HSU sabpprook

🏠
Working from home
  • Taiwan
  • 07:57 (UTC +08:00)
View GitHub Profile
@echo off
pushd %~dp0
REM Refer=https://forum.gamer.com.tw/C.php?bsn=71242&snA=254
REM V Rising 非官方繁體中文翻譯 by Jamesz
set VRisingTC="https://raw.githubusercontent.com/zjamestw/VRisingTCTranslation/main/TChinese.json"
call :Download "%~dp0TChinese.json" %VRisingTC%
if not exist TChinese.json goto :EOF
@sabpprook
sabpprook / asus_raw_unpack.py
Created December 13, 2018 04:11
ASUS RAW flash file unpacker
from argparse import ArgumentParser
class Image():
def __init__(self):
self.partition = ''
self.imagename = ''
self.unknown1 = 0
self.unknown1 = 0
self.crc32 = 0
@sabpprook
sabpprook / Navicat.cs
Created December 23, 2017 18:22
Navicat Premium 12 KeyGen for Trad.Chinese only
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Encodings;
using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.OpenSsl;
using Org.BouncyCastle.Security;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@sabpprook
sabpprook / changelog.txt
Last active September 1, 2018 19:00
Changelog
# Changelog
All changes in this project will be documented in this file.
## [2.0.3] - 2018-09-02
### Update
- Magisk v17.1
- Magisk Manager v5.9.1
### Delete
- HTC U12+ 1.15.709.6
@sabpprook
sabpprook / gist:091c7f51f064013c734b3afcef131d6d
Created September 26, 2017 18:53
FRP unlock for HTC devices
--for download devices
htc_fastboot dump kstoken 0 0 0
--for hboot devices
htc_fastboot oem get_ks_token
--submit token to htcdev unlock bootloader page
https://www.htcdev.com/bootloader/unlock-instructions/page-2
--flash kstoken
@sabpprook
sabpprook / gist:26139f6690f694a6462c326d5f113280
Created December 31, 2016 20:39
ADB Change Android Language
adb shell content query --uri content://settings/system --where "name=\'system_locales\'"
adb shell content delete --uri content://settings/system --where "name=\'system_locales\'"
adb shell content insert --uri content://settings/system --bind name:s:system_locales --bind value:s:en-US
adb shell content insert --uri content://settings/system --bind name:s:system_locales --bind value:s:zh-Hant-TW
adb shell content insert --uri content://settings/system --bind name:s:system_locales --bind value:s:zh-Hant-TW,en-US,ja-JP
@sabpprook
sabpprook / gist:3a05cdaa0a2bab91de35a9de5d3bd2cf
Created September 19, 2016 23:27
Android ID change via ADB shell
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'"
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:7373de1e9e9670c2