Talk with a Hovatek Engineer/Developer. Start Now

Learn Mediatek Software Repairs Online! Enroll




Root on Teclast M40 (N9H3)
#1

Post: 1 by Animetrom



Hello.

Help me please!
I followed all the steps to root my Teclast M40 with Unisoc t618 processor, I unlocked the bootloader.
I followed the tutorials below:


https://www.hovatek.com/forum/thread-32664.html
https://www.hovatek.com/forum/thread-37591-page-2.html (this one I thought would be the definitive solution since I was having difficulties to create my custom vbmeta)

I followed all the steps, I made all the necessary files, but when I flash my device it no longer starts the system and I have to restore everything from scratch.
Please help me, someone who understands the subject well, because I'm desperate, I need more to continue my projects.

find Reply
#2

Post: 2 by hovatek

(23-07-2022, 04:41 PM)Animetrom Wrote:  Hello.

Help me please!
I followed all the steps to root my Teclast M40 with Unisoc t618 processor, I unlocked the bootloader.
I followed the tutorials below:


https://www.hovatek.com/forum/thread-32664.html
https://www.hovatek.com/forum/thread-37591-page-2.html (this one I thought would be the definitive solution since I was having difficulties to create my custom vbmeta)

I followed all the steps, I made all the necessary files, but when I flash my device it no longer starts the system and I have to restore everything from scratch.
Please help me, someone who understands the subject well, because I'm desperate, I need more to continue my projects.

Start by creating a custom-stock vbmeta (same flag and keys as stock vbmeta) then flash and check if the device boots up fine

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
find Reply
#3

Post: 3 by Animetrom

I tried to do as you said, but I couldn't.
I followed a tutorial for my model to do custom vbmeta correctly, it wasn't.

In this post https://www.hovatek.com/forum/thread-43978.html
try doing that for me but vbmeta when i flash it just doesnt work.
It crashes and won't stop flashing.
I created one too, it does the normal flash but doesn't work either.
The device does not start.
Can you please help me?

As requested, below:

Modified magisk boot.img: (that I created)
https://mega.nz/file/epQUDJBK#w_C5TAwM5z...XXkTa1omSU

custom vbmeta.img: (that I created)
https://mega.nz/file/r8p2kLTZ#Md0aCuT3mg...rVZq5fPq7k

vbmeta.img original:
https://mega.nz/file/LwQ0AIRY#EuIliGhi2O...D6nPAd4JbM

boot.img original:
https://mega.nz/file/ylpHCYTD#qwdly8iWxs...V14PTfivlY

I also followed this tutorial which was the closest to helping me create the custom vbmeta.
But unfortunately, it didn't work out.
https://www.hovatek.com/forum/thread-37591-page-2.html

custom vbmeta and boot.img they did for me and it didn't work.
https://mega.nz/file/SJlAVQSR#WtmNtzpewb...9DJ_IcCnJ4
find Reply
#4

Post: 4 by hovatek

(28-07-2022, 07:40 PM)Animetrom Wrote:  I tried to do as you said, but I couldn't.
I followed a tutorial for my model to do custom vbmeta correctly, it wasn't.

In this post https://www.hovatek.com/forum/thread-43978.html
try doing that for me but vbmeta when i flash it just doesnt work.
It crashes and won't stop flashing.
I created one too, it does the normal flash but doesn't work either.
The device does not start.
Can you please help me?

As requested, below:
....

Use avbtool to check the info of the stock vbmeta and your custom vbmeta then lets compare both

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
find Reply
#5

Post: 5 by Gargoyle

(29-07-2022, 06:57 PM)hovatek Wrote:  
(28-07-2022, 07:40 PM)Animetrom Wrote:  I tried to do as you said, but I couldn't.
I followed a tutorial for my model to do custom vbmeta correctly, it wasn't.

In this post https://www.hovatek.com/forum/thread-43978.html
try doing that for me but vbmeta when i flash it just doesnt work.
It crashes and won't stop flashing.
I created one too, it does the normal flash but doesn't work either.
The device does not start.
Can you please help me?

As requested, below:
....

Use avbtool to check the info of the stock vbmeta and your custom vbmeta then lets compare both

I am attaching pictures where on the left is his signed vbmeta and on the right is the custom I created for him, boot.img was signed with the same key that is written in vbmeta.

+ one image that he created himself, where the recovery key and l_cdsp do not agree.


Attached Files
.jpg screen-2022-07-30-[10-50-14]-1.jpg Size: 963.14 KB  Downloads: 12
.jpg screen-2022-07-30-[10-55-52]-1.jpg Size: 442.32 KB  Downloads: 8
find Reply
#6

Post: 6 by Gargoyle

(28-07-2022, 07:40 PM)Animetrom Wrote:  ....

Did you also sign the recovery.img?
If so and you used the vbmeta created by me, the device won't boot because the keys don't match, you have to replace the stock recovery.
find Reply
#7

Post: 7 by Animetrom

(30-07-2022, 10:03 AM)Gargoyle Wrote:  
(28-07-2022, 07:40 PM)Animetrom Wrote:  ....

Did you also sign the recovery.img?
If so and you used the vbmeta created by me, the device won't boot because the keys don't match, you have to replace the stock recovery.

Flash only the custom vbmeta you create and boot.img as well.
I didn't mess with the recovery.img file.
When flash custom vbmeta that you created it crashes and does not complete flash.
find Reply
#8

Post: 8 by Animetrom

(30-07-2022, 10:03 AM)Gargoyle Wrote:  
(28-07-2022, 07:40 PM)Animetrom Wrote:  ....

Did you also sign the recovery.img?
If so and you used the vbmeta created by me, the device won't boot because the keys don't match, you have to replace the stock recovery.
Can you please help me?
find Reply
#9

Post: 9 by Gargoyle

(30-07-2022, 04:18 PM)Animetrom Wrote:  
(30-07-2022, 10:03 AM)Gargoyle Wrote:  
(28-07-2022, 07:40 PM)Animetrom Wrote:  ....

Did you also sign the recovery.img?
If so and you used the vbmeta created by me, the device won't boot because the keys don't match, you have to replace the stock recovery.

Flash only the custom vbmeta you create and boot.img as well.
I didn't mess with the recovery.img file.
When flash custom vbmeta that you created it crashes and does not complete flash.

In your custom vbmeta, the key used in recovery is different from the original one, which is extracted from vbmeta-sign.img

This is the firmware downloaded from the manufacturer's site, I have attached the keys used, signed magisk patched boot.img, custom vbmeta-sign.img
https://mega.nz/file/DAMm3awR#xOp788QH6U...Vm9Keqvu3s

I can't do more for you.
find Reply




Users browsing this thread: 1 Guest(s)
YouTubeWhatsappTelegram

© 2023. Powered by Hovatek...just a button away! Software by MyBB.