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
  • 08:08 (UTC +08:00)
View GitHub Profile
@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
@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: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 / 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 / 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
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
@sabpprook
sabpprook / license.txt
Created May 8, 2025 00:31
UltraISO Premium Edition 9.7.6.3860
UltraISO Premium Edition 9.7.6.3860
Name: UltraISO
Key: 8608-5A70-EB23-152C
Key: 12E8-D69D-9A01-8DD5
Key: 9040-069B-26EF-5218
Key: 45EA-AB74-3B28-CB2F
Key: 5041-7985-337F-226C
Key: 1379-E54C-E829-F98E
Key: 2552-0D78-18FD-7E69