Hovatek Forum DEVELOPMENT Android [Development] [SOLUTION] to fix touch not working on TWRP / Philz due to kernel disabled touch
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Development] [SOLUTION] to fix touch not working on TWRP / Philz due to kernel disabled touch

[Development] [SOLUTION] to fix touch not working on TWRP / Philz due to kernel disabled touch

Pages (18): Previous 111 12 13 14 1518 Next
X3non
X3non
X3non
Recognized Contributor
22,062
07-08-2019, 03:55 PM



(06-08-2019, 09:53 PM)Rino74 Forgott the key, but here it is
Recovery file
https://mega.nz/#!v9RnmA5Q!B9JmfIayQG3F0...SYQT9SDKKE
Kernel file
https://mega.nz/#!OsZzAKZa!0pwLo15hVGPBU...HuDSNk55jY

leave the start address untouched then move to finding the end address; use the guide @ https://www.hovatek.com/forum/post-164468.html
This post was last modified: 07-08-2019, 04:07 PM by X3non.
YGS
YGS
YGS
Techie Member
58
08-08-2019, 10:35 AM
(06-08-2019, 05:48 PM)Rino74 Hi
i'm trying to fix my kernel on a new Blackview BV9700 PRO because the twrp don't have touch. the problem is that i can't figure out after checking with 7Zip and the file is gzip but no error text, when i HxD open the file it's starting with 1F 8B... don't know what to do,
here is the link to the recovery file (verified)
https://mega.nz/#!v9RnmA5Q
and the link to the Kernel file
https://mega.nz/#!OsZzAKZa
forget about finding 1F 8B start data address in HXD, since your recovery didn't have those additional data, you may skip and leave them untouched,
8F 01 is the end of your kernel, go find D0 0D FE ED in HXD, that address is the first additional end data begins,
block all hex values address starting from D0 0D FE ED till the end (bottom) then separete that hex values data within your kernel.
cut that additional end data and "paste write "on create new HXD file, then save as "end data"
go to the kernel without additonal end data and save as "clean kernel"
now you can normally uncompressed that clean kernel with 7-Zip, and start decode with IDA,
before starting decode with IDA, u will need symbol.txt which can be pulled out from your phones with terminal ADB.
since i don't have that phones so i can't go any further.
This post was last modified: 08-08-2019, 10:52 AM by YGS.
freshtyt
freshtyt
freshtyt
Senior Member
2,949
08-08-2019, 01:35 PM
(08-08-2019, 10:35 AM)YGS forget about finding 1F 8B start data address in HXD, since your recovery didn't have those additional data, you may skip and leave them untouched,
8F 01 is the end of your kernel, go find D0 0D FE ED in HXD, that address is the first additional end data begins,
block all hex values address starting from D0 0D FE ED till the end (bottom) then separete that hex values data within your kernel.
cut that additional end data and "paste write "on create new HXD file, then save as "end data"
go to the kernel without additonal end data and save as "clean kernel"
now you can normally uncompressed that clean kernel with 7-Zip, and start decode with IDA,
before starting decode with IDA, u will need symbol.txt which can be pulled out from your phones with terminal ADB.
since i don't have that phones so i can't go any further.

weldone, but you should let the user try it out himself first
this way he learns something new not take ready made so next time on a different device he can do it himself
SachinBorkar
SachinBorkar
SachinBorkar
Senior Member
218
08-08-2019, 01:47 PM
(08-08-2019, 01:35 PM)freshtyt
(08-08-2019, 10:35 AM)YGS forget about finding 1F 8B start data address in HXD, since your recovery didn't have those additional data, you may skip and leave them untouched,
8F 01 is the end of your kernel, go find D0 0D FE ED in HXD, that address is the first additional end data begins,
block all hex values address starting from D0 0D FE ED till the end (bottom) then separete that hex values data within your kernel.
cut that additional end data and "paste write "on create new HXD file, then save as "end data"
go to the kernel without additonal end data and save as "clean kernel"
now you can normally uncompressed that clean kernel with 7-Zip, and start decode with IDA,
before starting decode with IDA, u will need symbol.txt which can be pulled out from your phones with terminal ADB.
since i don't have that phones so i can't go any further.

weldone, but you should let the user try it out himself first
this way he learns something new not take ready made so next time on a different device he can do it himself
Yes I agree with you.

That's why I didn't reply because we solved this problem for almost 11 different kernels.

/* Well I am going to create whole course on Mediatek Device all A to Z for port to compile and twrp port to compile even problem solving any suggesions always appreciated */

Sent from my Titanium Vista 4G using Tapatalk
Rino74
Rino74
Rino74
Enthusiastic Member
13
08-08-2019, 06:58 PM



Thanks X3non i will try find it first by my self with that guide just to see how it works.

Thanks YGS that you helped me find the end HEX if i fail to find it by the guide Wink

But have thinking, if i change the kernel, will that be reflashed if there is an OTA or does it recognise that it's rooted and don't update unitl i do a reflash with new android?

Then it would ment that every time there is a new update and if i like to have it i have to patch the kernal in those updates to?
Rino74
Rino74
Rino74
Enthusiastic Member
13
08-08-2019, 08:57 PM
Well this is maybe a hard nut to krack but..
In the phone the OEM (bootloader) is unlocked,
but i haven't got in the twrp and couldn't install SU thru it because of the touch
so how can i then pull out the symbol if i can't run su and those commands in adb?
YGS
YGS
YGS
Techie Member
58
08-08-2019, 08:57 PM
(08-08-2019, 06:58 PM)Rino74 Thanks X3non i will try find it first by my self with that guide just to see how it works.

Thanks YGS that you helped me find the end HEX if i fail to find it by the guide Wink

But have thinking, if i change the kernel, will that be reflashed if there is an OTA or does it recognise that it's rooted and don't update unitl i do a reflash with new android?

Then it would ment that every time there is a new update and if i like to have it i have to patch the kernal in those updates to?
you're welcome Rino 74 Smile
yes OTA update will recognize root, modified kernel, custom recovery, etc
you must rollback to factory state if you want succesfully flash OTA update with new android.
OTA update will bring new files that have been signed, so you have to re-patch the kernel again for fully working TWRP.
YGS
YGS
YGS
Techie Member
58
08-08-2019, 09:15 PM
(08-08-2019, 08:57 PM)Rino74 Well this is maybe a hard nut to krack but..
In the phone the OEM (bootloader) is unlocked,
but i haven't got in the twrp and couldn't install SU thru it because of the touch 
so how can i then pull out the symbol if i can't run su and those commands in adb?
don't worry about that, root and place the SU binary file to system by installing Magisk, please go to this thread https://www.hovatek.com/forum/thread-21427.html
you can still root your phones, even if the phone is bootloader locked or without custom recovery Wink
This post was last modified: 08-08-2019, 09:31 PM by YGS.
Rino74
Rino74
Rino74
Enthusiastic Member
13
08-08-2019, 09:31 PM
Thanks YGS but i can't install magisk it look like this
https://i.postimg.cc/JhxJwQ68/Screenshot...2035-1.png

and when i try install magisk or su zip i get this
https://i.postimg.cc/qBSKdqLN/Screenshot...2107-1.png


Forget it, it was me LOL found what i did wrong... Blush
This post was last modified: 08-08-2019, 09:42 PM by Rino74.
YGS
YGS
YGS
Techie Member
58
08-08-2019, 09:57 PM



(08-08-2019, 09:31 PM)Rino74 Thanks YGS but i can't install magisk it look like this
https://i.postimg.cc/JhxJwQ68/Screenshot...2035-1.png

and when i try install magisk or su zip i get this
https://i.postimg.cc/qBSKdqLN/Screenshot...2107-1.png
it seems that your boot.img contains Android Verified Boot (AVB) v8 and DM-verity
if does then u must manually patch your stock boot.img first before patching with Magisk
however if you make a mistake in the manual patch, your phone will become bootloop or even soft bricks

edit: lol .. glad u already solved the issue Big Grin
This post was last modified: 09-08-2019, 08:32 AM by YGS.
Pages (18): Previous 111 12 13 14 1518 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram