[TECLAST] P20HD (NEW Android10 tablet w/ 4g phone) HOW TO ROOT?? (Unisoc / SPD)
[TECLAST] P20HD (NEW Android10 tablet w/ 4g phone) HOW TO ROOT?? (Unisoc / SPD)
import hashlib
import sys
f = open("vbmeta_custom.img", "rb")
b = f.read()
sha = hashlib.sha256(b).digest()
f.close()
f = open("vbmeta_custom.img", "wb")
f.write(b)
f.seek(1048576 - 512)
f.write(b'\x44\x48\x54\x42\x01\x00\x00\x00')
f.write(sha)
f.write(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00')
f.seek(1048576 - 1)
f.write(b'\x00')
f.close()
-rw-r--r-- 1 root root 16384 august 21 09:11 vbmeta-sign-custom.img
-rwxr-x--- 1 root root 1048576 august 21 08:41 vbmeta-sign.img
(22-08-2020, 03:24 AM)logan23 ...
Any idea what wrong?? by the way, "current-slot:" is empty?? (see .\fastboot getvar current-slot )
Thanks!
(24-08-2020, 09:17 AM)X3non to confirm, do you get any output for the command "fastboot devices" ?
PS C:\tmp2\platform-tools> .\fastboot devices
34432367532688 fastboot
PS C:\tmp2\platform-tools>
(24-08-2020, 09:17 AM)X3non and have you tried using the linux fastboot binary from within the zip file that was used to unlock the bootloader?
(24-08-2020, 12:04 PM)logan23 ... Do you believe it would change anything?
Thanks!
(24-08-2020, 12:43 PM)logan23 ...What do you think about it?
(24-08-2020, 12:43 PM)logan23 What is the procedure to follow to patch these 2 "vbmeta_system.img" & "vbmeta_vendor. img" files ?
...
(22-08-2020, 03:24 AM)logan23 For some reason, flashing doesn't write anything.
YES I am in fastboot mode.
YES I have selected USB Debugging mode in Developpers Menu
YES my tablet is unlocked. On my tablet it is displayed :
"fastboot mode
INFO: LOCK FLAG IS : UNLOCK!!"
YES I currently have no antivirus running on my Windows 10
YES my powershell is in Admin mode.
I am currently running 1.0.3 firmware
Any idea what wrong?? by the way, "current-slot:" is empty?? (see .\fastboot getvar current-slot )
Thanks!