yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] silverbyte:
Telclast P20HD root

hi jwoegerbauer,

I've been following all your threads concerning how to root Telclast P20HD.

I am interested in working with anyone who will help me root the device. I followed a few instructions all over the web but I always hit a wall.

Have you successfully rooted the device? I heard you did not have a device on hand to test it on, perhaps I can help you in that regard. I will follow up on the other Thread to help you answer those questions.

If you can help direct me in the right path to successfully rooting the device it would be appreciated.

Thanks in advance
[Android Q&A, Help & Troubleshooting] vindieu:
This tablet is rootable like any other.
[Android Q&A, Help & Troubleshooting] petertrol:
how was your procedure to root succesfully? Tell us please
[Android Q&A, Help & Troubleshooting] ch3mn3y:
As I read that thread it seems to not be working.

And why super su, when it's probably not compatible with newer Android versions? Why not MAGISK?
[Android Q&A, Help & Troubleshooting] vindieu:
Time will prove you wrong
[Android Q&A, Help & Troubleshooting] vindieu:
For some reason, half of the messages on this thread have been deleted.
[Android Q&A, Help & Troubleshooting] xXx yYy:
Be happy. Most of the stuff here was junk. :LOL:
[Android Q&A, Help & Troubleshooting] vindieu:
Ok
[Android Q&A, Help & Troubleshooting] nejcov:
So, this piece of sh.. can not be rooted, there is no custom roms for it, why dont use it as is. Which Camera app is best to install on it?
[Android Q&A, Help & Troubleshooting] vindieu:
There's no tablet that can't be rooted, it's just a matter of time, be patient.
[Android Q&A, Help & Troubleshooting] xXx yYy:
You can try to add SU in tablet's user space . :)
[Android Q&A, Help & Troubleshooting] silverbyte:
How.... Im at the point where I got the bootloader unlocked and I'm trying to figure out a way to root it. Im not n00b when it comes to pc/programming/hacking, but when it comes to androids I'm definitely a n00b.

So now that the bootloader is unlocked, in theory I should be able to LOAD and OFFLOAD files to the filesystem correct? If so HOW is it done with fastboot or adb? how can I navigate through the flash of the android device.

I guess my next goal is figuring out.. now that the bootloader is unlocked, what can i do with this feature.. how can i get the SU binaries in there or, what the next step is to getting this thing rooted.
[Android Q&A, Help & Troubleshooting] vindieu:
Some highly talented guru will come here and will root it someday, as I said, it's just a matter of time, there's no tablet that can't be rooted.
[Android Q&A, Help & Troubleshooting] xXx yYy:
Tell us how you managed to unlock tablet's bootloader - step by step. TY

It's known that Android 10 and higher does not allow us to access some folders ( system & data ), you even can't mount them read-write, unless device got rooted, what is due to improve the security of the Android system and its protection from possible attacks by intruders.

EDIT:

As I've noticed @jwoegerbauer published a possible workaround here:

https://xdaforums.com/t/teclast-p20...by-installing-su-binary.4171371/post-84103645
[Android Q&A, Help & Troubleshooting] vindieu:
Someone have found a method of Teclast P20HD to unlock bootloader which can be found in https://forum.hovatek.com/thread-32287.html
[Android Q&A, Help & Troubleshooting] xXx yYy:
You successfully made it this way?
[Android Q&A, Help & Troubleshooting] vindieu:
yep!
[Android Q&A, Help & Troubleshooting] xXx yYy:
(y)(y)

Will buy in the next this tablet :)
[Android Q&A, Help & Troubleshooting] Musrha:
You have the unlocked bootloader, but have you been able to root the tablet? If yes, how? Thanks!
[Android Q&A, Help & Troubleshooting] vindieu:
Unix gurus would say RTFM! I say RTFT (T=Thread)
[Android Q&A, Help & Troubleshooting] vindieu:
up
[Android Q&A, Help & Troubleshooting] Sende9:
Goodmorning everyone. I have followed the guide but I cannot go beyond this point. I am attaching the photo so that you can understand better.

When I run fastboot oem from the terminal get_identifier_token it remains indefinitely <waiting for any devices>

I specify that from tablet it is set to multimedia Device (MTP) and usb debugging and OEM unlocking are active.

I thank those who will be able to help me
[Android Q&A, Help & Troubleshooting] nitroax:
i have the n6h3 model with 1.02 EEA version. Is there any update for this model?

Thanks
[Android Q&A, Help & Troubleshooting] Shaky156:
Can Someone please start a a single telegram chat for both Teclast p20hd & Teclast m40 tablets
[Android Q&A, Help & Troubleshooting] silverbyte:
Yes this is the method I used and it works to get the bootloader unlocked, but i have not been able to ROOT the device
[Android Q&A, Help & Troubleshooting] aryanhington:
can you change the boot logo?
[Android Q&A, Help & Troubleshooting] bfo0l:
Hi!

My question is a bit offtopic but I didn't want to open a new thread. Can anyone provide me a link to a global ROM (with Google)? For my N6H7 there is only the chinese one (V1.06)on the Teclast website. Unfortunately, the one uploaded to Needrom does not contain Google, contrary to the description. I would be very grateful to them. Have a nice Weekend!
[Android Q&A, Help & Troubleshooting] aryanhington:
are you able to flash a GSI and logo on the device?
[Android Q&A, Help & Troubleshooting] ssaandur:
Hi everyone,

I found this link with

ROOT

instructions: https://muszak.eu/teclast-p20hd-n6h3-root-method/.

I do not know if it works...
[Android Q&A, Help & Troubleshooting] aryanhington:
can someone confirm this works?
[Android Q&A, Help & Troubleshooting] vindieu:
Good news! Unfortunately, I currently don't have time to test it.
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
Are you guys still looking for a root method?

Might write up how i did it if there's interest

P.S. Unisoc is horrid
[Android Q&A, Help & Troubleshooting] vindieu:
Congratulations! Of course there's interest!
[Android Q&A, Help & Troubleshooting] petertrol:
yes please
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
This rooting process works with the Teclast P20HD and vonino imart pro (sameish tablet but rebranded. This is what i have, but on teclast firmware since i couldn't find mine) and maybe other sc9863a devices

Proceed at your own risk

I'm using a mac for most of this process but it's best to have a linux machine. If you have windows just use a linux vm(you may have usb issues.Haven't tried this)

Firstly unlock your bootloader using method described here

Afterwards download this zip file. It contains mostly everything that i used apart from a stock fw which will come in handy if you mess this process up.

Now there are 2 ways you can approach this

Spoiler content hidden.

Spoiler content hidden.

Spoiler content hidden.

Large credits to the Hovatek forum. There is an unreal amount of resource there for these meme unisoc devices that no one else seems to care about. This was where i started from when researching root for this device.

Hope this helps.
[Android Q&A, Help & Troubleshooting] R-james:
You should really include this as txt/html files on the zip archive.
[Android Q&A, Help & Troubleshooting] silverbyte:
@Rainbow_Dash

GREAT that all works, but now what? my device is not rooted. Magisk is installed but how to actually get it rooted from here? Root Checker showing its not rooted. downloaded the zip, installed manager (but doesn't look like it got installed) and nothing...
[Android Q&A, Help & Troubleshooting] silverbyte:
GREAT that all works, but now what? my device is not rooted. Magisk is installed but how to actually get it rooted from here? Root Checker showing its not rooted. downloaded the zip, installed manager (but doesn't look like it got installed) and nothing...
[Android Q&A, Help & Troubleshooting] vindieu:
https://www.xda-developers.com/how-to-install-magisk/
[Android Q&A, Help & Troubleshooting] silverbyte:
Thanks but TWRP does not support Teleclast P20HD (UNISOC Processor) so I can't flash it with TWRP. Unless Im missing something or doing something wrong. Magisk is installed. I downloaded the ZIP. Stuck at this point, how can I install the downloaded zip.. still stuck here
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
Did you follow all the steps in the instructions provided?
[Android Q&A, Help & Troubleshooting] silverbyte:
Yes I followed the following steps below (bootloader already unlocked following hovatek website)

- adb reboot bootloader

- fastboot flash vbmeta vbmeta_bootpatched.img (succeeded)

- fastboot flash boot boot-memegisk-signed.img (succeeded)

- fastboot reboot

- adb install magisk.apk

Now I see magisk installed. Downloaded the ZIP file. but can't do anything with it.

I downloaded rootchecker but the devices shows as not rooted.
[Android Q&A, Help & Troubleshooting] hdxzrhikvvtbcuiiam:
N6H7 v1.05 EEA rom (with gapps) - https://mega.nz/file/zcQWBTRL#RY9F-cF_gKtNt_vLnGvuXSLtL5GBgOmOfBEi-9wDlqQ

You can upgrade to v1.06 via OTA.

Got this file by emailing teclast support they uploaded it to 1drv, but their link no longer works.

They refused to upload chinese version though. Can you upload it somewhere for me that doesn't require money to download? Thanks
[Android Q&A, Help & Troubleshooting] maska65:
Hi to all: I have Teclast P20HD_EEA (N6H7 Android10_EEA V1.06).

I'm interesting to root this good tablet.

This is the latest original firmware: https://drive.google.com/file/d/1Y1bIfRelh3Pr3Cw1Hxsymwf1MndCwOcb/view?usp=sharing
[Android Q&A, Help & Troubleshooting] maska65:
There is also the latest original firmware with no GAPPS:

P20HD(N6H7)_Android 10.0_ROW_V1.05_SZ.zip : https://drive.google.com/file/d/19MqUToq5eCyCQb1QhpqkOgrENI45jBJ9/view?usp=sharing
[Android Q&A, Help & Troubleshooting] hdxzrhikvvtbcuiiam:
Both your links seems to be the same EEA file.

As for rooting - unlocking bootloader is trivial, just follow instructions above.

You can also use my script, if you like go language more than bash https://gist.github.com/0e1b55a867958defd9be7894cde92062

You still need modified fastboot though.

I haven't tried rooting yet.
[Android Q&A, Help & Troubleshooting] aryanhington:
can the boot logo be changed too?
[Android Q&A, Help & Troubleshooting] R-james:
How did you contact teclast support- What was the email adress you used to ask for the file??
[Android Q&A, Help & Troubleshooting] maska65:
Sorry for the inconvenient. I have made another upload and i have edited previus post. Here the link to P20HD(N6H7)_Android 10.0_ROW_V1.05_SZ.zip:

P20HD(N6H7)_Android 10.0_ROW_V1.05_SZ.zip.crdownload

drive.google.com
[Android Q&A, Help & Troubleshooting] maska65:
The firmwares are availlable from Teclast official site. On main page click to donwload in the menu and put the identifier ID: My is N6H7 and the site post the link to download from onedrive.live.com.

See the pictures uno, due, tre.
[Android Q&A, Help & Troubleshooting] hdxzrhikvvtbcuiiam:
Unfortunately ROW version still contains gapps.

If anyone can download from pan.baidu (or needrom), I'd be grateful.

https://www.teclast.com/tools/pad/showtools.php - chinese firmwares

https://pan.baidu.com/s/1ZzVDIxJ3fBFLWXY3d6Cr1w - v1.07 N6H7 firmware (password: zieq)

No idea

Contact Us
[Android Q&A, Help & Troubleshooting] ssaandur:
I have the n6h3 model with 1.02 EEA version (with GAPPS).

What is the difference between the different firmware? (N6H1 - N6H3 - N6H7)?

On my N6H3 can i install the N6H7 firmware?

Thanks in advance.
[Android Q&A, Help & Troubleshooting] maska65:
Today I unlock the bootloader (VERY EASY)

I used this tutorial: https://forum.hovatek.com/thread-32287.html

Here is the terminal output:

user@asus:~$ sudo -i

root@asus:~# sudo usermod -aG plugdev root

root@asus:~# cd /media/user/modified_fastboot

root@asus:/media/user/modified_fastboot# ./fastboot devices

0123456789ABCDEF fastboot

root@asus:/media/user/modified_fastboot# ./fastboot oem get_identifier_token

...

(bootloader) Identifier token:

(bootloader) 30313233343536373839414243444546

OKAY [ 0.010s]

finished. total time: 0.010s

root@asus:/media/user/modified_fastboot# ./signidentifier_unlockbootloader.sh 30313233343536373839414243444546 rsa4096_vbmeta.pem signature.bin

Identifier sign script, ver 0.10

1+0 record dentro

1+0 record fuori

48 bytes copied, 0,000129106 s, 372 kB/s

Identifier sign successfully

root@asus:/media/user/modified_fastboot# ./fastboot flashing unlock_bootloader signature.bin

downloading 'unlock_message'...

OKAY [ 0.000s]

unlocking bootloader...

Info:Unlock bootloader success! OKAY [322.050s]

finished. total time: 322.050s

root@asus:/media/user/modified_fastboot# ./fastboot reboot

rebooting...

finished. total time: 0.050s

root@asus:/media/user/modified_fastboot#
[Android Q&A, Help & Troubleshooting] aryanhington:
have you flashed any of the partitions?
[Android Q&A, Help & Troubleshooting] maska65:
I have only unlocked bootloader. I'm new with this world. Tomorrow I will try to install TWRP.

If something goes wrong I can always put the original firmware back. I am reckless. :cool:
[Android Q&A, Help & Troubleshooting] aryanhington:
can you try to change the boot logo ?
[Android Q&A, Help & Troubleshooting] maska65:
My root was ok. To root you need to flash 2 images (the patched and signed boot image) and the customized vbmeta image. In vbmeta you have to enter the public key with which you signed the boot image. To overcome the obstacle of Android Verified Boot (AVB). Here I found it all: https://muszak.eu/teclast-p20hd-n6h3-root-method/
[Android Q&A, Help & Troubleshooting] 0x00_noobie:
Let's say I would want to build LineageOS for this device, as I understand I needed:

- Kernel Source

- Vendor Files

- Device Tree

Google suggests that those (due to GLP licensing) must be provided by the seller / company (at least the Kernel Source part). Is that correct? - Has anyone found them ? (I am not talking about the stock ROM) - Can we extract the Vendor Files, Device Tree by our-self ?

@Rainbow_Dash , @vindieu or anyone with experience, is building a lineage-ROM do-able ? (Assuming reasonable amount of time & linux skills)
[Android Q&A, Help & Troubleshooting] hdxzrhikvvtbcuiiam:
According to this guide (https://fat-tire.github.io/porting-intro.html) you can start with stock pre-built kernel.

For sources you'll have to ask teclast.
[Android Q&A, Help & Troubleshooting] aryanhington:
The kernel is only used for the boot.img and recovery and using a prebuilt kernel may not help. Also it's quite likely that the framework codebase (which is found within system.img) is also vendor specific hence the vendor files on it's own may not help, which vendor files are you referring to?

P.S OEMs are not obliged to provide the kernel source as they will claim they have not made any changes to the kernel source code and push you towards the vendor (such as Mediatek) who don't answer public queries. How else do you think Blackview Teclast, Alldocube among others have sold devices for so long without providing the source code for the kernel.
[Android Q&A, Help & Troubleshooting] maska65:
I'm not interested to do this. I need only a rooted devices.
[Android Q&A, Help & Troubleshooting] aryanhington:
do you know if its possible to?
[Android Q&A, Help & Troubleshooting] 0x00_noobie:
@hdxzrhikvvtbcuiiam thank you. I will look at it.

@aryanhington by the vendor files, I am referring to the proprietary binary drivers. (See link below).

Honestly, I do not know that much about the android OS, but I played around a lot with it in the last few years and also as a Computer-Science student, I think I have some very basic understanding of it. If someone knows a good source that explains it *briefly* and completely, I'd be very interested.

Since (as I read in this thread) we are able to unlock the bootloader, flashing a custom ROM should be fairly easy, right? -So all we need is a ROM to flash.

Seeing this guide, it seemed pretty easy (assuming you have the files I mentioned before).

Building LineageOS for your device

How I build a custom ROM for my android device on my own, and how to do that with your own device.

medium.com

@aryanhington I only know that there are big companies that do release their source (i.e. Xiaomi) and therefore assumed Teclast might as well (at least if I kindly ask xP). I mean what do they lose by giving it away?
[Android Q&A, Help & Troubleshooting] aryanhington:
which proprietary binary drivers are you referring to?
[Android Q&A, Help & Troubleshooting] hdxzrhikvvtbcuiiam:
0x00_noobie

Android Open Source Project

Android unites the world! Use the open source Android operating system to power your device. COPY

source.android.com

this is the site for android firmware devs
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
If you want anything long-term ish you will need kernel sources, which yes should be provided by the vendor. Good luck getting any from small Chinese vendors like this tho despite mentioning legality. You can use prebuilt kernel when starting out however.

Device trees nowadays you take ones from similar-ish device and modify them accordingly.

Vendor blobs you dump from device or vendor partition.

However, from what i can see an LOS17.1 gsi seems to run pretty well so this might not be worth all the effort.
[Android Q&A, Help & Troubleshooting] aryanhington:
which vendor blobs?
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
this youtube channel is a goldmine if you want to learn about this stuff not much documented anywhere else

good luck
[Android Q&A, Help & Troubleshooting] aryanhington:
useful, what about the proprietary blobs in the system partition such as in system/lib and in mediatek devices there seems to be proprietary framework related files in system/framework such as mediatek-telephony-common.jar?
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
Not proprietary blobs.
[Android Q&A, Help & Troubleshooting] aryanhington:
as mediatek devices contain those framework files, are they not needed when creating a custom ROM ? examples are attached
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
This device isn't mediatek. It's unisoc.

Also instead of asking me, why not look at the device tree of an mtk device instead.

Redmi-MT6768

Sources for Xiaomi MT6768 mobile platform. Redmi-MT6768 has 15 repositories available. Follow their code on GitHub.

github.com
[Android Q&A, Help & Troubleshooting] FAP31:
+1

And... What is the difference between ROW and EEA roms?

I've seen more variants: N6H1, N6H3, N6H4, N6H5, N6H6 and N6H7.

ROMs: v1.01, v1.02, v1.04, v1.05 and v1.06.

That's just the official ...

is there anything else to install?

can someone explain all this to have a knowledge base and not go blind and act like guinea pigs ... PLEASE!
[Android Q&A, Help & Troubleshooting] aryanhington:
even though the device tree doesn't explain why there are additional mediatek framework files thanks for your input, why did you mean by "If you want anything long-term ish you will need kernel sources", lnog-term in what sense?
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
Those framework files iirc are for mediatek specific api calls which aren't needed/used/why-would-you on aosp roms

Along the way, especially on platform upgrades you will need to update stuff in your kernel. And that without assuming that the kernel provided by vendor is fit for what you're doing in the first place without modification.

In other words, if you're building for this device an android 10 rom, you might get away with what comes from teclast since it's pretty close to aosp. If you were to build an android 11 rom you will almost certainaly have to change some stuff to make it work and for that you need source.
[Android Q&A, Help & Troubleshooting] aryanhington:
Thanks for the info, is there any advantage to flashing a standard AOSP ROM as opposed to a GSI ROM? And regards to building the ROM and flashing it, i think the difference is that for the standard ROM one needs the vendor blobs and the prebuilt kernel, whereas the GSI doesn't require any of them when building?
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
GSI runs from the prebuilt vendor and kernel already on the device. One may or may not run into issues with those however and hacking them up from the gsi side of things may be messy. roms take a more direct approach. As for a performance difference, it depends on the device
[Android Q&A, Help & Troubleshooting] 0x00_noobie:
@Rainbow_Dash thx a lot for the useful comments. Haven't heard of GSI before but I'll gonna give it a try.
[Android Q&A, Help & Troubleshooting] R-james:
So what about project treble? Isn't the P20HD supposed to be compatible with it?
[Android Q&A, Help & Troubleshooting] Rainbow_Dash:
It is, and most android 10 gsis i've tried work with it.
[Android Q&A, Help & Troubleshooting] R-james:
Do you think you could create a short guide on how to use project treble with the P20HD that says what to do or not do?
[Android Q&A, Help & Troubleshooting] aryanhington:
you will need to flash the system.img from the GSI via fastboot and it will start after a reboot
[Android Q&A, Help & Troubleshooting] kol1178:
1. adb devices

2. adb reboot fastboot

3. fastboot devices

4. fastboot delete-logical-partition product

5. fastboot erase system

6. fastboot flash system xxx.img

7. Wipe data/factory reset

8. reboot system

Gsi firmware on 11 android does not run on this tablet! The reason is not yet clear.

twrp is under development
[Android Q&A, Help & Troubleshooting] aryanhington:
did you need to delete the product partition?
[Android Q&A, Help & Troubleshooting] kol1178:
yes.

I thus tested firmware 10 android. 11 android won't start hanging on the logo
[Android Q&A, Help & Troubleshooting] kol1178:
This GSI 10 firmware is rooted android
[Android Q&A, Help & Troubleshooting] aryanhington:
what did your previous product partition contain that you needed to erase it?
[Android Q&A, Help & Troubleshooting] kol1178:
Friend, I use google translate and cannot understand your question. I've been flashing this tablet with different GSI firmwares every day for 10 days now. I always use these commands. I just installed the GSI firmware on this tablet again. Trust me, there is nothing wrong with these commands :)
[Android Q&A, Help & Troubleshooting] kol1178:
Hello everyone. If someone needs root rights I post a link to ResearchDownload the program, Magisk v22.0 and two files vbmeta-sign and boot are patched and signed. Install vbmeta through the ReserchDownload program and boot. Reboot into the system, install the application magisk 22.0 (internet must be turned on) the application will offer an advanced installation - we agree , the tablet will reboot. go to the magisk settings-update source-third-party channel and write this https://gist.githubusercontent.com/...1e5313207f0067e3c8bc2d5e350/MagiskNullChannel this is so that magisk is not updated, so that there are no problems. Ruth received on this firmware P20HD-EEA_ v1.06 Accordingly, the bootloader must be unlocked !!!
[Android Q&A, Help & Troubleshooting] aryanhington:
the first link doesn't work
[Android Q&A, Help & Troubleshooting] kol1178:
It works for me, only writes that it is infected with a virus. But there are no viruses! Possibly due to magisk
[Android Q&A, Help & Troubleshooting] aryanhington:
i am talking about this link: https://drive.google.com/file/d/1OHxH7SYL-MDjj-7SWAOX0ZThIuX7v5sg/view?usp=sharing
[Android Q&A, Help & Troubleshooting] kol1178:
Попробуйте прямо сейчас, ссылка изменилась
[Android Q&A, Help & Troubleshooting] kol1178:
I wrote about this above. I don’t know why they write that there is a virus. There are no viruses, possibly due to magisk
[Android Q&A, Help & Troubleshooting] kol1178:
Now I'll try to put it on another file hosting service
[Android Q&A, Help & Troubleshooting] kol1178:
Strange, but on the other it also shows that the virus is in the folders. But there are 100% no viruses
[Android Q&A, Help & Troubleshooting] kol1178:
Detects a virus in the ResearchDownload_R4.0.0001_RUS program
[Android Q&A, Help & Troubleshooting] kol1178:
Then I will post 3 files vbmeta boot and magisk, and download the program yourself
[Android Q&A, Help & Troubleshooting] kol1178:
Try