Hovatek Forum MOBILE Android [TECLAST] P20HD (NEW Android10 tablet w/ 4g phone) HOW TO ROOT?? (Unisoc / SPD)
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


[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)

Pages (3): 1 2 3 Next
logan23
logan23
logan23
Enthusiastic Member
13
17-08-2020, 09:56 AM
#1



Hi everyone!

I've just bought this excellent Android 10 Tablet with 4g phone included (YES!).
(Most tablet manufacturers don't want to include phone capability in tablets because they want to sell 2 devices instead of just one...).
Just use a bluetooth headset !!

I've been able to unlock the bootloader successfully thanks to Hovatek !!! : https://www.hovatek.com/forum/thread-32287.html

Now I want to root it with Magisk. From my understanding I need to install TWRP as recovery first.
The problem is I haven't found any compatible TWRP image and I'm not good enough to compile it by myself...

Any solution?

Thanks & have a nice day!
This post was last modified: 18-08-2020, 11:26 AM by logan23.
logan23
logan23
logan23
Enthusiastic Member
13
18-08-2020, 08:52 AM
#2
Good news!! someone uploaded the latest firmware for everyone on Google Drive :
https://forum.xda-developers.com/android...g-t4141997

Now, who will be the first to root this device ? Big Grin  (preferably with Magisk)
This post was last modified: 18-08-2020, 09:31 AM by logan23.
X3non
X3non
X3non
Recognized Contributor
22,062
18-08-2020, 09:37 AM
#3
(17-08-2020, 09:56 AM)logan23 Hi everyone!

I've just bought this excellent Android 10 Tablet with 4g phone included (YES!).
(Most tablet manufacturers don't want to include phone capability in tablets because they want to sell 2 devices instead of one...).

I've been able to unlock the bootloader successfully thanks to Hovatek !!! : https://www.hovatek.com/forum/thread-32287.html

Now I want to root it with Magisk. From my understanding I need to install TWRP as recovery first.
The problem is I haven't found any compatible TWRP image and I'm not good enough to compile it by myself...

Any solution?

Thanks & have a nice day!

create a custom vbmeta with custom keys for boot and recovery
then patch boot using magisk, sign the patched boot using avbtool
flash the custom vbmeta and then the signed patched boot to your device and confirm if there's root

similar technique as shown @ https://www.hovatek.com/forum/thread-32678.html
logan23
logan23
logan23
Enthusiastic Member
13
18-08-2020, 10:15 AM
#4
Thanks, but I'm a bit worried about the risk of bricking my P20HD because your procedure applies to Android Pie 9.0...
The P20HD is Android 10...

I am willing to take the risk but I need your advice about applying this procedure to Android 10.

Thanks!
This post was last modified: 18-08-2020, 11:25 AM by logan23.
logan23
logan23
logan23
Enthusiastic Member
13
18-08-2020, 02:39 PM
#5



@X3non : thanks, I have followed your instructions.

Now I am stucked in this "[Tutorial] How to create a custom signed vbmeta.img for Unisoc using AVBtool" :

" Download vbmeta_pad.py based on your phone's android from the links below (unzip after downloading)
For Android 8.x devices, download this zipped vbmeta_pad.py
For Android 9 devices, download zipped vbmeta_pad.py @ https://mega.nz/#!5vJGyAib!Q-j402gC_lAO1...zO5MgB6ivg "

Well, my device si Android 10...
Is the Android 9 python script still valid???
Code:

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'\x44\x48\x54\x42\x01\x00\x00\x00')
f.write(sha)
f.write(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00')
f.seek(512 - 0)
f.write(b)
f.close()

Thanks!
This post was last modified: 18-08-2020, 05:20 PM by logan23.
X3non
X3non
X3non
Recognized Contributor
22,062
19-08-2020, 09:22 AM
#6
(18-08-2020, 02:39 PM)logan23 ...

upload and post a link to your original vbmeta
logan23
logan23
logan23
Enthusiastic Member
13
19-08-2020, 01:46 PM
#7
Thanks mate, I really appreciate your help!
See your private messages.
Thanks
X3non
X3non
X3non
Recognized Contributor
22,062
20-08-2020, 09:34 AM
#8
(19-08-2020, 01:46 PM)logan23 Thanks mate, I really appreciate your help!
See your private messages.
Thanks

seen, use the same padding for android 9
logan23
logan23
logan23
Enthusiastic Member
13
20-08-2020, 09:46 AM
#9
ok thanks! No change? perfect!

Then you can change
"For Android 9 devices, download zipped vbmeta_pad.py"
to
"For Android 9/10 devices, download zipped vbmeta_pad.py"

on this tutorial webpage
https://www.hovatek.com/forum/thread-32664.html
logan23
logan23
logan23
Enthusiastic Member
13
20-08-2020, 10:11 AM
#10



ok, now I'm stuck because of a syntax error in the python script "avbtool.py".
Step 3 of this tutorial : https://www.hovatek.com/forum/thread-32666.html
(I'm currently running the latest Python version 3.8.5 64bits on my Windows 10 64bits PC)
I've just tried Python 32 bits but it didn't change anything.
Any Python's guru out there?
Thanks!
Code:

PS C:\tmp2> python avbtool.py info_image --image vbmeta-sign.img
  File "avbtool.py", line 411
    b = 2L**32
         ^
SyntaxError: invalid syntax

EDIT: Forget about that, I have installed the old Python 2.7....
This post was last modified: 20-08-2020, 05:10 PM by logan23.
Pages (3): 1 2 3 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram