adb
kell a telóhoz!
adb backup -apk -shared -all -f backup.ab
mkdir internal_sd cd internal_sd adb pull -p -a /sdcard/
adb reboot-bootloader
fastboot
tesztelése: sudo -s fastboot devices
fastboot oem get_identifier_token
Viola:
(bootloader) [KillSwitch] : /dev/block/platform/mtk-msdc.0/11230000.MSDC (bootloader) [KillSwitch] Last Byte is 0X01, enable unlock (bootloader) (bootloader) < Please cut following message > (bootloader) <<<< Identifier Token Start >>>> (bootloader) ADEC21D7E252EF9E8B3D4A3565B63977 (bootloader) 8DFC8FA0CD6294ED7B474FA60D1DF629 (bootloader) 5926B9D14F50ABEA4416B66B843966AA (bootloader) F944076A43BD5DB8201FC7112C30BA34 (bootloader) 4ECD7084B22BF3A7154A23A970786769 (bootloader) 8A48E14C1F81CFE4EE7612844031439B (bootloader) 03C2F28B99A6C3EDB20A7AFFA10ADBAF (bootloader) 35C26BA386C14B8E5BBC8B27D681FB42 (bootloader) 421B543D0D1730133A2B84E6BD9AAA5F (bootloader) EE326FB0B5E1D5F2F65DF8FE664B27AA (bootloader) 26B080E2B28FF82BA55149DD229D9716 (bootloader) DCFAA07CD493AC5AE2BDE1B1647E04B8 (bootloader) C948FE0E2B8D7E58060C3F8F839744D7 (bootloader) 0530C774917FD16B15F107E205F0C619 (bootloader) 7D87D3A1366BA243DDA94DA1E2D8FBA3 (bootloader) 401751B1E6A5A19D04346AD46DEE368B (bootloader) <<<<< Identifier Token End >>>>> OKAY [ 0.049s] Finished. Total time: 0.049s
fastboot flash unlocktoken ~/Downloads/Unlock_code.bin
Viola:
Sending 'unlocktoken' (0 KB) OKAY [ 1.016s] Writing 'unlocktoken' (bootloader) flash unlocktoken (bootloader) [KillSwitch] : /dev/block/platform/mtk-msdc.0/11230000.MSDC (bootloader) [KillSwitch] Last Byte is 0X01, enable unlock (bootloader) unlock token check successfully OKAY [ 0.012s] Finished. Total time: 1.030s
adb reboot-bootloader
sudo -s fastboot flash recovery twrp-3.0.2-2-himar2.img
adb shell recovery --wipe_data --set_filesystem_encryption=off
adb push Magisk-v18.0.zip /external_sd/