This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from argparse import ArgumentParser | |
class Image(): | |
def __init__(self): | |
self.partition = '' | |
self.imagename = '' | |
self.unknown1 = 0 | |
self.unknown1 = 0 | |
self.crc32 = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |