[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
Search for: 1F 8B
Direction: forward
then click OK
note this value "1F 8B" is the file signature (magic number) for GZ and if your kernel has a different compression method, you may search online for the file signature online)
Search for: 6D 65 64 69 61 74 65 6B 2C 4D 54
Direction: forward
then click OK
note this value "6D 65 64 69 61 74 65 6B 2C 4D 54" is not the end address but we'll use from this point to get the actual end address)
adb shell
su
echo 0 > /proc/sys/kernel/kptr_restrict
cat /proc/kallsyms >/sdcard/symbl.txt
cat /proc/kallsyms | grep tpd_i2c_probe
exit
exit
adb pull /sdcard/symbl.txt
NOTE: the EXIT command remove su and adb shell thus reverts everything back to regular adb so you can pull
32 bit = 0xC0008000
64 bit = 0xFFFFFFC000080000
#2 is for recovery
#0 is for boot.
If it got getbootmode = 0; then it will activate touch or touch driver basically thinking the phone is going into boot mode.
02 00 50 E3 46 00 00 0A 04 10 A0 E1 00 08 04 E3
Search for: the hex values you noted down from the previous step above (in my case it is "02 00 50 E3 46 00 00 0A 04 10 A0 E1 00 08 04 E3")
Direction: forward
then click OK
1) It is default file signature by gz.
2) The parameters or properties of compressed gz file.
3) Here is no Name of compressed file.
gzip -n -k -9 "C:\Users\Sachin\Downloads\Android Image Kitchen\gzip kernel~"
remember the points 2 and 3 we noted in the previous steps, this is where they play their part
-n this indicates the file should have no name
-9 indicates max compression
-k keeps the original file i.e the original file won't be deleted incase you need it
set the file location to the location on your PC and if the folder location of your kernel has spaces then you must enclose with ""
(24-03-2019, 07:41 PM)SachinBorkar ...
Any corrections may be appreciate.
If useful then thanks me.
Sent from my Titanium Vista 4G using Tapatalk
(25-03-2019, 01:12 AM)X3nonMT6735/37 more info embedded with guide.(24-03-2019, 07:41 PM)SachinBorkar ...
Any corrections may be appreciate.
If useful then thanks me.
Sent from my Titanium Vista 4G using Tapatalk
sunday is more or less rest day
we'll look into drafting the guide for you later today, you could specify your phone model and chipset too (will come in handy when people start complaining it doesn't work for them)
(25-03-2019, 05:17 PM)Mikesew Hey bro I have two question for you sir my first question is:-1 ]Try to see info of kernel image in 7z.
1) what is the exact processor type for Mediatek MT6737M ×64(64bit) processors can you tell me please?
Is that Arm big endian can i try using it?
2)Again can you tell me the start and execution address for Mediatek MT6737M ×64(64bit) processors, I think it is totally different from that off ×64(64bit).
My phone is:-
BRAND:-TECNO
MODEL:-TECNO CX Air
CHIPSET:-MT6737M 64bit
ANDROID:-7.0 Nougat
RAM:-2GB
ROM:-16GB
Please help me, I downloaded all the tool you just mentioned on the tutorial now I am waiting your answer.
Please........Please help me!
I want to have fully functional custom recovery. I am bored with flashing the recovery to boot partition and bla....bla
Sent from my TECNO CX Air using Tapatalk
(25-03-2019, 06:26 PM)SachinBorkarHere kernel starts to execute.(25-03-2019, 06:24 PM)Mikesew What about the execution address?0xFFFFFFC000080000
Sent from my TECNO CX Air using Tapatalk
Sent from my Titanium Vista 4G using Tapatalk