We're hiring! Apply Now

Hovatek Forum MOBILE Android [Infinix Hot 10i][X659B] Phone fails to boot after patching Magisk via fastboot

[Infinix Hot 10i][X659B] Phone fails to boot after patching Magisk via fastboot

[Infinix Hot 10i][X659B] Phone fails to boot after patching Magisk via fastboot

Juan Laginia
Juan Laginia
Juan Laginia
Newbie
3
11-11-2021, 09:30 AM
#1



Hello people of Hovatek, i have a problem, well actually two problems, but i already have a working phone, is more of a doubt or what i did wrong actually. Im sorry if my post gets too long because i will try to recap everything i have done since then.

So well, i have a Infinix Hot 10i, model X658B (128GB/4RAM). fine and dandy.
So one day i decide i want to root the phone, but i haven't rooted one since the kitkat days, so looking around i find that i need to download Magisk apk and either sideload it with TWRP or use ADB to fastboot flash it. I didn't find a official TWRP build for my phone, and would have prefered to do it via ADB, but it fails somehow, will say later.

So i unlock the bootloader and wipe the phone in the process, is fine i knew that was going to happen, so i procedeed with the Magisk install.

Oh well, i needed a boot.img file so i downloaded a firmware from internet (MISTAKE nÂș1: did not check the actual version of it, it was a prior version to the one my phone had, don't know if that affects when im dealing with just boot, the end numbers were 152 and the one my phone had was X659B-H696AvAw-R-OP-210810V220)

You can guess what happens next, yup bootloop. So me midly panicking now i started to look how to flash it, looking more around found is a Mediatek Device and that i could use SP Flash Tools, looking more guides i see a guide to flash the Hot 10i, but it fails at BROM error... more panicking and sweating later, find out that i needed an auth file OR bypassing using MTK Bypass Tool, which i did and i was finally able to bypass and use SP Flash tool... only to fail to flash two partitions, tkv_a and tranfs, it gives me a verified boot error.

Yes i know there is a guide about that in this very forum, but my firmware didnt come with a PGPT file (even in the scatter file i see the PGPT file but is_download is set to false), and i really dont understand how to make a PGPT file with the WWR dump or what file im supposed to hex edit.

All said... the phone works and boots just fine, wonder what stuff or functions are missing for it...

So well i have this proven firmware, so i try again with Magisk. Download magisk apk from their github (Magisk 32), moved the boot.img to the phone, patched it with magisk, magisk made a magisk-patched-(some letters).img file, moved it back to the pc, renamed it to something more simple like patch-boot.img and went into fastboot to load it

ADB devices recognized the device
adb reboot bootloader -> boots into fastboot
fastboot flash boot_a patch-boot.img
adb gives me two OK's after writing the boot, but inmediately disconnects after it, adb devices gives no devices.
Try to boot the phone, stuck in bootloop again..., there i go again, bypass -> sp flash tools, -> download only the boot_a -> phone working again.

So my questions with all that wall of text are:

1) I can ignore the fact that i didnt install tkv_a and tranfs partitions? probably OTA upgrades wont happen anymore, but i will need a bit more of guidance on what file im supposed to hexedit, because i dont have a PGPT file.

2) Why is magisk failing? seems weird, instructions only looks simple enough, probably im either patching it wrong or installing in the wrong place.
Khaliil
Khaliil
Khaliil
Junior Member
27
11-11-2021, 10:52 PM
#2
Nothing will be missing if you unticked those 2 partitions however you won't be able to update OTA, anw to the root thing, the steps are right however you forgot to flash vbmeta, disable vbmeta with this : fastboot --disable-verification flash vbmeta vbmeta.img and flash patched boot.img and reboot

Sent from my TECNO LE7 using Hovatek Mobile
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,535
12-11-2021, 08:02 PM
#3
If u want to quick recover ,just flash the boot image from it current build number,
If u still need root,u have to flash empty vbmeta before flashing the patch boot image from the same build number.
U are getting boot loop because u flash patch boot that is not ur exact build number ,and did not first flash vbmeta
hovatek
hovatek
hovatek
Administrator
49,832
15-11-2021, 06:22 AM
#4
(11-11-2021, 09:30 AM)Juan Laginia ...
1) I can ignore the fact that i didnt install tkv_a and tranfs partitions? probably OTA upgrades wont happen anymore, but i will need a bit more of guidance on what file im supposed to hexedit, because i dont have a PGPT file.

2) Why is magisk failing? seems weird, instructions only looks simple enough, probably im either patching it wrong or installing in the wrong place.

Leaving out tkv_a and tranfs shouldn't be a major deal so far your phone works fine.
You got bootloop the first and second time because you didn't disable dmverity before flashing magisk boot.
Refer to method 3 @ https://www.hovatek.com/forum/thread-32719.html
This post was last modified: 15-11-2021, 06:23 AM by hovatek.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Juan Laginia
Juan Laginia
Juan Laginia
Newbie
3
15-11-2021, 06:42 AM
#5



oh yeah, i forgot to declare this as solved.

I actually did the vbmeta.img flash as indicated by user Khallil, and yeah thats method 3 on that link. Many Thanks!

Yeah, my tkv_a and tranfs is still missing, but... my phone is working, and i dont feel like is missing any function so i suppose is OK. I was able to patch Magisk and give myself root with it.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt