This file contains hidden or 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
Unlock your Titan. | |
Obtain Magisk.apk [Magisk 25.2](https://github.com/topjohnwu/Magisk/releases/download/v25.2/Magisk-v25.2.apk) | |
Obtain Stock Rom | |
Extract Stock Rom and copy boot.img to your Titan. | |
Run Magisk on boot.img, make sure to include vbmeta patch. Do not check this for Titan Pocket and Titan Slim | |
Copy new Magisk boot.img to your computer | |
Boot into bootloader mode (adb reboot fastboot or Power + Volume Up while booting, once booted into recovery, if you get | |
a No Command screen, hold power and tap volume up, boot to bootloader) | |
fastboot flash boot magisk-boot.img |
This file contains hidden or 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
on number_to_string(this_number) | |
set this_number to this_number as string | |
if this_number contains "E+" then | |
set x to the offset of "," in this_number | |
set y to the offset of "+" in this_number | |
set z to the offset of "E" in this_number | |
set the decimal_adjust to characters (y - (length of this_number)) thru ¬ | |
-1 of this_number as string as number | |
if x is not 0 then | |
set the first_part to characters 1 thru (x - 1) of this_number as string |