Automating screenshot via key events - OnePlus 6 Themes, Apps, and Mods

If you want to take screenshot via tasker or custom gestures, use these commands (this sends a simultaneous power button + volume down key presses):
Code:
sendevent /dev/input/event0 1 116 1
sendevent /dev/input/event0 0 0 0
sendevent /dev/input/event2 1 114 1
sendevent /dev/input/event2 0 0 0
sendevent /dev/input/event2 1 114 0
sendevent /dev/input/event2 0 0 0
sendevent /dev/input/event0 1 116 0
sendevent /dev/input/event0 0 0 0
or in a single line
Code:
sendevent /dev/input/event0 1 116 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event2 1 114 1 && sendevent /dev/input/event2 0 0 0 && sendevent /dev/input/event2 1 114 0 && sendevent /dev/input/event2 0 0 0 && sendevent /dev/input/event0 1 116 0 && sendevent /dev/input/event0 0 0 0

Related

[Q] usb reverse tethering - ip link set usb0 down disables completly usb0

Hi,
I created some scripts to use reverse tethering over usb (connect the phone to internert over usb) on my rooted SE Xperia pro (official fw 4.1.B.0.587).
Here is the first one - used to conffugure usb function:
Code:
#!/system/bin/sh
if [ "$1" = "" ]
then
echo "missing argument!"
exit 1
fi
echo "actual state:"
getprop sys.usb.state
echo "setting to: " $1
setprop sys.usb.config $1
until getprop sys.usb.state | grep "$1" > /dev/null
do
echo "waiting...."
sleep 1;
done
echo "new state:"
getprop sys.usb.state
echo "setting persistent state"
setprop persist.sys.usb.config $1
echo DONE
I call this one with rndis argument, so the networing over usb is set up. And this is the second one:
Code:
#!/system/bin/sh
ip route del default
ip link set usb0 down
ip link set usb0 address b2:52:71:6d:fe:4e
ip link set usb0 up
netcfg usb0 dhcp
ip addr show usb0
setprop net.dns1 "`getprop net.usb0.dns1`"
setprop net.dns2 "`getprop net.usb0.dns2`"
echo DONE
Everything has been working well until today, when the phone didn`t receive ip address from dhcp server. I found that the problem is caused by calling ip link set usb0 down
Whenever I do it, the usb0 interface stops working (I did ip link set usb0 up, of course) until I restart the phone, or reset the usb by:
Code:
setprop sys.usb.config "`getprop sys.usb.state`"
But I want to use a static MAC address to get always the same ip address from dhcp server. But the MAC cannot be changed, when the interface is up. I have a solution for this - befor I call the first script, I call this one:
Code:
#!/system/bin/sh
MAC=xx:xx:xx:xx:xx:xx
if grep $MAC /sys/module/android/parameters/dev_addr > /dev/null
then
echo "usb0 MAC OK"
else
echo "setting usb0 MAC"
chmod 644 /sys/module/android/parameters/dev_addr
echo "$MAC" -en > /sys/module/android/parameters/dev_addr
fi
The MAC address is not generated randomly, so it`s always the same.
The problem seems to be solved, but I`d like to know, why ip link set usb0 down completly disables the comunication over usb0. It is disabled even if ip link show usb0 says UP and LOWER_UP. There is one more detail - I noticed, that if set up the comunication (ip`s on both ends etc.), run ping from computer to the phone, do ip link set usb0 down, ip link set usb0 up and reset usb (as mentioned before), then the ping receives several old and broken replays before the link is completly down - something like this:
64 bytes from 192.168.4.1: icmp_req=19 ttl=64 time=16.5 ms
64 bytes from 192.168.4.1: icmp_req=20 ttl=64 time=16.4 ms
From 192.168.4.5 icmp_seq=71 Destination Host Unreachable
...
From 192.168.4.5 icmp_seq=80 Destination Host Unreachable
64 bytes from 192.168.4.1: icmp_req=20 ttl=64 time=61093 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=16 ttl=64 time=65155 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=17 ttl=64 time=64140 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=18 ttl=64 time=63124 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=1 ttl=64 time=80251 ms (DUP!)
Warning: time of day goes back (-276781472us), taking countermeasures.
Warning: time of day goes back (-276779504us), taking countermeasures.
64 bytes from 192.168.4.1: icmp_req=20 ttl=64 time=0.000 ms (DUP!)
wrong data byte #8 should be 0x8 but was 0x0
#8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 192.168.4.1: icmp_req=14 ttl=64 time=67189 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=20 ttl=64 time=61608 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=1 ttl=64 time=80767 ms (DUP!)
Warning: time of day goes back (-276266195us), taking countermeasures.
64 bytes from 192.168.4.1: icmp_req=20 ttl=64 time=0.000 ms (DUP!)
wrong data byte #8 should be 0x8 but was 0x0
#8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 192.168.4.1: icmp_req=14 ttl=64 time=67702 ms (DUP!)
64 bytes from 192.168.4.1: icmp_req=16 ttl=64 time=65671 ms (DUP!)
Did you see anything like this? Any idea why is this happening?
Thanks for any advices.
P.
P.S. I am not sure how much is this related to my phone (If I would I knew the answer ) and I didn`t find any thread related directly to my phone, so I posted this here, hope it`s OK. And sorry for all the mistakes, english isn`t my native language.

Another way to debrand your AT&T Titan

In the DFT SPL package, the file name of nbh is ETERIMG.nbh. But it did not work for AT&T Titan. In that case, you can try to rename the file to be ETERDIAG.nbh and put it the golden card. Usually, it works better.
Anyone success to flash HSPL?
I used ETERDIAG.nbh to flash SPL 2.05, it shows it completed successfully. But after it reboot, nothing change. The SPL is still 2.5.
BTW The phone already has EURO rom.
If anyone can flash SPL 2.05, plz share how to do it. Thanks.
will the ETERDIAG.nbh do the job for any ROM file or just SPL file, can anyone try flashing diferent roms and spl's with the ETERDIAG.nbh and report
ppgame said:
In the DFT SPL package, the file name of nbh is ETERIMG.nbh. But it did not work for AT&T Titan. In that case, you can try to rename the file to be ETERDIAG.nbh and put it the golden card. Usually, it works better.
Click to expand...
Click to collapse
What's the difference between ETERIMG & ETERDIAG?
jenrique15 said:
What's the difference between ETERIMG & ETERDIAG?
Click to expand...
Click to collapse
Actually, almost all the spl of HTC phone will support ***IMG.nbh and ****DIAG.nbh. IMG is for the reflashing and DIAG diagnostic image. For example, HTC Excalibur http://forum.xda-developers.com/showthread.php?t=330099. DIAG is very useful when your phone is in trouble. For Titan, I found the DIAG image http://www.52sjwx.com/read.php?tid=74083 ( chinese website), but you have to pay money to download it.
Wonder if renaming the .nbh to ETERDIAG would assist with the HSPL flashing problem on AT&T branded titans.
Sent from my PI39100 using Board Express
dhack21 said:
Wonder if renaming the .nbh to ETERDIAG would assist with the HSPL flashing problem on AT&T branded titans.
Sent from my PI39100 using Board Express
Click to expand...
Click to collapse
In my ATT phone, I can not flash other stock rom with ETERIMG or RUU but no problem with ETERDIAG. However, no luck for the spl and radio even it shows the update is finished.
ppgame said:
Actually, almost all the spl of HTC phone will support ***IMG.nbh and ****DIAG.nbh. IMG is for the reflashing and DIAG diagnostic image. For example, HTC Excalibur http://forum.xda-developers.com/showthread.php?t=330099. DIAG is very useful when your phone is in trouble. For Titan, I found the DIAG image http://www.52sjwx.com/read.php?tid=74083 ( chinese website), but you have to pay money to download it.
Click to expand...
Click to collapse
I will try to register later or ask some chinesse friends to register for me if anyone can do it before pls try it it would be great solution
My gold card only allows me to flash ETERIMG.nbh
i cant dig out eterdiag.nbh for htc at&t titan..
jenrique15 said:
What's the difference between ETERIMG & ETERDIAG?
Click to expand...
Click to collapse
Here is the information I dumped from the phone after used the goldcard to upgrade spl by ETERIMG
Code:
[SPL] +SDFATChkIfNeedUpdate...
[SPL] SDFATChkImg: FileName=ETERDIAG.nbh
[SPL] dwBytesPerSector = 512
[SPL] dwSectorsPerCluster = 8
[SPL] dwTotalSectors = 1060227
[SPL] dwFirstDataSector = 8192
[SPL] dwRootStartSector = 8192
[SPL] dwFatStartSector = 6136
[SPL] GetNextClusterNum: bad block or EOF
[SPL] SDFATChkImg: Failed to open config.dat.
[SPL] GetNextClusterNum: bad block or EOF
[SPL] SDFATCheckTargetImage: RhOpenFile() failed ETERDIAG.nbh
[SPL] SDFATChkImg: FileName=ETERIMG.nbh
[SPL] SDFATChkImg: Target File Size = 19A237EE
[SPL] SDFATChkImg: Read File Length = 200000
[SPL] +RhReadFile: dwSize 0x200000 (5186)
[SPL] -RhReadFile: dwTotalRead 0x200000 (7094)
[SPL] +00000000 52 30 30 30 46 46 A 0 0 0 0 0 0 0 0 0
[SPL] +00000010 0 0 0 0 0 0 0 0 0 1 0 FFFFFF80 0 0 0 1
[SPL] +00000020 48 0 0 0 54 0 0 0 43 0 0 0 49 0 0 0
[SPL] +00000030 4D 0 0 0 41 0 0 0 47 0 0 0 45 0 0 0
[SPL] +00000040 50 49 33 39 31 31 30 30 30 0 0 0 0 0 0 0
[SPL] +00000050 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000060 0 3 0 0 0 2 0 0 30 9 0 0 FFFFFF80 3 0 0
[SPL] +00000070 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000080 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000090 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000000A0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000000B0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000000C0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000000D0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000000E0 0 22 0 0 0 22 72 1 50 72 7E 1 44 FFFFFFCC 7E 1
[SPL] +000000F0 FFFFFF91 FFFFFFCC 7E 1 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000110 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000120 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000130 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000140 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000150 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000160 0 0 72 1 50 50 C 0 FFFFFFF4 59 0 0 4D 0 0 0
[SPL] +00000170 0 FFFFFFBA 15 18 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000180 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +00000190 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000001A0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000001B0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000001C0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000001D0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000001E0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] +000001F0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[SPL] Image0 Type=0x300, Offset=0x2200, Length=0x1720000
[SPL] Image1 Type=0x200, Offset=0x1722200, Length=0xC5050
[SPL] Image2 Type=0x930, Offset=0x17E7250, Length=0x59F4
[SPL] Image3 Type=0x380, Offset=0x17ECC44, Length=0x4D
[SPL] Image4 Type=0x400, Offset=0x17ECC91, Length=0x1815BA00
[SPL] -SDFATChkImg...0
[SPL] +CheckNbhModelID
[SPL] Model ID error(5) 31 != 30
[SPL] Signature : 0xEE4329
[SPL] UpdateStatus : 0x2
[SPL] UpdateCount : 0x3
[SPL] BodyLength : 0x23A
[SPL] BodyCRC : 0xCC8B744E
This log shows the USB HOST MODEL will check three files in sequence: ETERDIAG.nbh, config.dat, ETERIMG.nbh.
For ETERIMG, it will load the file but it also checks the Model ID at the end. But it will not check the model ID if upgrade by ETERDIAG.
And more, the nbh file will have some "FFFFFF". I think this is an error during loading. If I try different card or flash drive, "FFFFFF" will be at different position. It might be lucky to get everything done if you dont have any "FFFFFF" in the loading process. I suggest you can try different sd cards or usb drives as many as you can.
wow that is great discovery, so the flash drive plays big role after all, thta means that correct flash drive can struck u out i will get 100 flash drives DD

[Q] Wintec Filemate Clear T720 I flashed a bad CWM recovery

Hello,
on my Wintec Filemate Clear T720 I flashed a bad CWM recovery (CWM-based Recovery v6.0.1.0 for A10C (LY-F1/TREQ) by flowish) was is not designed for my device. First I had think, that A10 means the processor. But it isn't. It's a another product!
Now the tablet boots only in recovery or bootloader mode.
I can't install anything, because I get the following errors:
E:Can't mount /cache/recovery/command
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
Even, the original T720BK07-update_20121214.zip isn't installable. It's Android 4.0.3
In recovery mode, I can put adb commands, but after reboot, the tablet goes allways in CWM recovery.
I can boot into the bootloader too.
Livesuit or PhoenixUSBPro shows allways Error 0x120 or 0x162, based on the image I like to flash.
Livesuit shows "Image file invalid" or "No device that need to update !" based on the images i tryed.
Here are some infos I get from adb in recovery mode:
adb devices
List of devices attached
2008044236 recovery
-
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 59.63
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : sun4i
Revision : 0000
Serial : 0000000000000000
-
cat /proc/partitions
major minor #blocks name
179 0 7977472 mmcblk0
179 1 7446096 mmcblk0p1
179 2 500162 mmcblk0p2
179 3 31182 mmcblk0
-
cat diskstats
1 0 ram0 0 0 0 0 0 0 0 0 0 0 0
1 1 ram1 0 0 0 0 0 0 0 0 0 0 0
7 0 loop0 0 0 0 0 0 0 0 0 0 0 0
7 1 loop1 0 0 0 0 0 0 0 0 0 0 0
7 2 loop2 0 0 0 0 0 0 0 0 0 0 0
7 3 loop3 0 0 0 0 0 0 0 0 0 0 0
7 4 loop4 0 0 0 0 0 0 0 0 0 0 0
7 5 loop5 0 0 0 0 0 0 0 0 0 0 0
7 6 loop6 0 0 0 0 0 0 0 0 0 0 0
7 7 loop7 0 0 0 0 0 0 0 0 0 0 0
179 0 mmcblk0 180 15379 15566 740 15 30 45 790 0 790 1530
179 1 mmcblk0p1 179 15379 15558 740 15 30 45 790 0 790 1530
-
adb shell df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 416864 52 416812 0% /dev
tmpfs 416864 4 416860 0% /tmp
-
cat /proc/mounts
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,relatime 0 0
-
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 407.1M 52.0K 407.0M 0% /dev
tmpfs 407.1M 4.0K 407.1M 0% /tmp
-
adb shell ls
boot emmc sd-ext
bootloader etc sdcard
busybox init sys
cache init.rc system
data proc tmp
datadata res ueventd.goldfish.rc
default.prop root ueventd.rc
dev sbin ueventd.sun4i.rc
-
Has someone an idea to repair my tablet?
Best regards
Walter
I upload the correct firmware on 4Shared filemate clear T720Cc08 work perfectly i also use
That was orignally russion tab prology evolution tab 750
After flashing tablet speed very strong and fast
Sent from my XT1058 using Tapatalk

How to determine retransmission statistics on the Android platform?

On linux, we can use something like `netstat -s` and get something like the following:
netstat -s | grep retrans
8411 segments retransmitted
1 timeouts after reno fast retransmit
874 fast retransmits
113 retransmits in slow start
The netstat version on Android doesn't have this functionality. How can we determine retransmission statistics on the Android platform?
drizzle123 said:
On linux, we can use something like `netstat -s` and get something like the following:
netstat -s | grep retrans
8411 segments retransmitted
1 timeouts after reno fast retransmit
874 fast retransmits
113 retransmits in slow start
The netstat version on Android doesn't have this functionality. How can we determine retransmission statistics on the Android platform?
Click to expand...
Click to collapse
I don't think your able to do that mate
([emoji3590]09-09-18[emoji3590])
We can do the following:
TB-8504F:/ $ cat /proc/net/netstat
TcpExt: SyncookiesSent SyncookiesRecv SyncookiesFailed EmbryonicRsts PruneCalled RcvPruned OfoPruned OutOfWindowIcmps LockDroppedIcmps ArpFilter TW TWRecycled TWKilled PAWSPassive PAWSActive PAWSEstab DelayedACKs DelayedACKLocked DelayedACKLost ListenOverflows ListenDrops TCPPrequeued TCPDirectCopyFromBacklog TCPDirectCopyFromPrequeue TCPPrequeueDropped TCPHPHits TCPHPHitsToUser TCPPureAcks TCPHPAcks TCPRenoRecovery TCPSackRecovery TCPSACKReneging TCPFACKReorder TCPSACKReorder TCPRenoReorder TCPTSReorder TCPFullUndo TCPPartialUndo TCPDSACKUndo TCPLossUndo TCPLostRetransmit TCPRenoFailures TCPSackFailures TCPLossFailures TCPFastRetrans TCPForwardRetrans TCPSlowStartRetrans TCPTimeouts TCPLossProbes TCPLossProbeRecovery TCPRenoRecoveryFail TCPSackRecoveryFail TCPSchedulerFailed TCPRcvCollapsed TCPDSACKOldSent TCPDSACKOfoSent TCPDSACKRecv TCPDSACKOfoRecv TCPAbortOnData TCPAbortOnClose TCPAbortOnMemory TCPAbortOnTimeout TCPAbortOnLinger TCPAbortFailed TCPMemoryPressures TCPSACKDiscard TCPDSACKIgnoredOld TCPDSACKIgnoredNoUndo TCPSpuriousRTOs TCPMD5NotFound TCPMD5Unexpected TCPSackShifted TCPSackMerged TCPSackShiftFallback TCPBacklogDrop TCPMinTTLDrop TCPDeferAcceptDrop IPReversePathFilter TCPTimeWaitOverflow TCPReqQFullDoCookies TCPReqQFullDrop TCPRetransFail TCPRcvCoalesce TCPOFOQueue TCPOFODrop TCPOFOMerge TCPChallengeACK TCPSYNChallenge TCPFastOpenActive TCPFastOpenActiveFail TCPFastOpenPassive TCPFastOpenPassiveFail TCPFastOpenListenOverflow TCPFastOpenCookieReqd TCPSpuriousRtxHostQueues BusyPollRxPackets TCPAutoCorking TCPFromZeroWindowAdv TCPToZeroWindowAdv TCPWantZeroWindowAdv TCPSynRetrans TCPOrigDataSent
TcpExt: 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 151 0 82 0 0 22 0 2320 0 8335 5 278 74 0 1 0 0 0 0 0 0 0 0 9 0 0 0 0 1 0 0 65 43 1 0 1 0 0 81 0 0 0 48 44 0 53 0 4 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 2 1600 132 0 0 2 2 0 0 0 0 0 0 0 0 14 0 0 0 64 751
IpExt: InNoRoutes InTruncatedPkts InMcastPkts OutMcastPkts InBcastPkts OutBcastPkts InOctets OutOctets InMcastOctets OutMcastOctets InBcastOctets OutBcastOctets InCsumErrors InNoECTPkts InECT1Pkts InECT0Pkts InCEPkts
IpExt: 0 0 385 248 683 0 3790846 363856 14808 11056 68971 0 0 6861 0 0 0
drizzle123 said:
We can do the following:
TB-8504F:/ $ cat /proc/net/netstat
TcpExt: SyncookiesSent SyncookiesRecv SyncookiesFailed EmbryonicRsts PruneCalled RcvPruned OfoPruned OutOfWindowIcmps LockDroppedIcmps ArpFilter TW TWRecycled TWKilled PAWSPassive PAWSActive PAWSEstab DelayedACKs DelayedACKLocked DelayedACKLost ListenOverflows ListenDrops TCPPrequeued TCPDirectCopyFromBacklog TCPDirectCopyFromPrequeue TCPPrequeueDropped TCPHPHits TCPHPHitsToUser TCPPureAcks TCPHPAcks TCPRenoRecovery TCPSackRecovery TCPSACKReneging TCPFACKReorder TCPSACKReorder TCPRenoReorder TCPTSReorder TCPFullUndo TCPPartialUndo TCPDSACKUndo TCPLossUndo TCPLostRetransmit TCPRenoFailures TCPSackFailures TCPLossFailures TCPFastRetrans TCPForwardRetrans TCPSlowStartRetrans TCPTimeouts TCPLossProbes TCPLossProbeRecovery TCPRenoRecoveryFail TCPSackRecoveryFail TCPSchedulerFailed TCPRcvCollapsed TCPDSACKOldSent TCPDSACKOfoSent TCPDSACKRecv TCPDSACKOfoRecv TCPAbortOnData TCPAbortOnClose TCPAbortOnMemory TCPAbortOnTimeout TCPAbortOnLinger TCPAbortFailed TCPMemoryPressures TCPSACKDiscard TCPDSACKIgnoredOld TCPDSACKIgnoredNoUndo TCPSpuriousRTOs TCPMD5NotFound TCPMD5Unexpected TCPSackShifted TCPSackMerged TCPSackShiftFallback TCPBacklogDrop TCPMinTTLDrop TCPDeferAcceptDrop IPReversePathFilter TCPTimeWaitOverflow TCPReqQFullDoCookies TCPReqQFullDrop TCPRetransFail TCPRcvCoalesce TCPOFOQueue TCPOFODrop TCPOFOMerge TCPChallengeACK TCPSYNChallenge TCPFastOpenActive TCPFastOpenActiveFail TCPFastOpenPassive TCPFastOpenPassiveFail TCPFastOpenListenOverflow TCPFastOpenCookieReqd TCPSpuriousRtxHostQueues BusyPollRxPackets TCPAutoCorking TCPFromZeroWindowAdv TCPToZeroWindowAdv TCPWantZeroWindowAdv TCPSynRetrans TCPOrigDataSent
TcpExt: 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 151 0 82 0 0 22 0 2320 0 8335 5 278 74 0 1 0 0 0 0 0 0 0 0 9 0 0 0 0 1 0 0 65 43 1 0 1 0 0 81 0 0 0 48 44 0 53 0 4 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 2 1600 132 0 0 2 2 0 0 0 0 0 0 0 0 14 0 0 0 64 751
IpExt: InNoRoutes InTruncatedPkts InMcastPkts OutMcastPkts InBcastPkts OutBcastPkts InOctets OutOctets InMcastOctets OutMcastOctets InBcastOctets OutBcastOctets InCsumErrors InNoECTPkts InECT1Pkts InECT0Pkts InCEPkts
IpExt: 0 0 385 248 683 0 3790846 363856 14808 11056 68971 0 0 6861 0 0 0
Click to expand...
Click to collapse
Damn that's alot of code
([emoji3590]09-09-18[emoji3590])

Touch screen driver name (interrupts for sens. adjustment)

I think tsens_interrupt is for thermals. Maybe someone knows the correct one. I'm trying to increase touch sensitivity by modifying CPU affinity.
Code:
[email protected]:/ # cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5
1: 78 5 0 0 0 0 wcd9xxx SLIMBUS Slave
3: 0 0 0 0 0 0 wcd9xxx HPH_L OCP detect
4: 0 0 0 0 0 0 wcd9xxx HPH_R OCP detect
6: 0 0 0 0 0 0 qpnp-int wdog-timeout
10: 0 0 0 0 0 0 qpnp-int dcin-uv
15: 22 14 14 9 0 0 qpnp-int usbin-src-det
20: 459950702 52016823 98592578 96452819 7181524 5207383 GIC arch_timer
23: 0 0 0 0 0 0 GIC ARM64 Single-Bit Error PMU IRQ
35: 0 0 0 0 0 0 GIC apps_wdog_bark
39: 120443316 21473301 40468945 40344746 3978543 2659359 GIC arch_mem_timer
47: 2474 7236 7201 7344 0 0 GIC cpr
51: 14740 89 801 0 0 0 GIC cpr
56: 0 0 0 0 0 0 GIC modem
57: 76833 274290 129569 116190 0 0 GIC qcom,smd-modem
58: 6 0 0 0 0 0 GIC qcom,smsm-modem
59: 5 0 8 0 0 0 GIC smp2p
61: 33146 994 875 10798 0 0 GIC
65: 2968112 173213 187968 109072 0 0 GIC kgsl-3d0
73: 0 0 0 0 0 0 GIC msm_iommu_global_cfg_irq
75: 0 0 0 0 0 0 GIC msm_iommu_global_cfg_irq
76: 414931 0 346 101591 0 0 GIC msm_vidc
81: 6841 1609 1125 0 0 0 GIC
82: 2264 463 190 0 0 0 GIC cci
83: 23 0 0 2 0 0 GIC csid
84: 5 0 0 0 0 0 GIC csid
85: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
86: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
87: 7079 1544 1008 0 0 0 GIC
89: 4 0 0 0 0 0 GIC
90: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
92: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
93: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
104: 2599468 171363 66068 84312 0 0 GIC MDSS
108: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
109: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
110: 0 0 1 0 0 0 GIC csiphy
111: 0 0 0 0 0 0 GIC csiphy
112: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
126: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
128: 0 0 0 0 0 0 GIC i2c-msm-v2-irq
130: 405 10 0 52 0 0 GIC i2c-msm-v2-irq
133: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
134: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
137: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
138: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
140: 1 0 0 0 0 0 GIC
141: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
142: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
143: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
144: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
145: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
146: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
147: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
148: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
149: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
150: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
151: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
152: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
155: 1290537 643414 357878 521582 0 0 GIC mmc0
157: 186472 0 0 0 0 0 GIC mmc1
166: 2361 70 0 117 0 0 GIC msm_otg, msm_hsusb
167: 0 0 0 0 0 0 GIC sps
170: 28219 8260 6380 2428 0 0 GIC 7824900.sdhci
172: 0 0 0 0 0 0 GIC msm_otg
174: 1473 701 70 140 0 0 GIC qcom,smd-wcnss
175: 0 0 0 5 0 0 GIC smp2p
176: 0 0 0 0 0 0 GIC qcom,smsm-wcnss
178: 0 0 0 0 0 0 GIC wcnss_wlan
181: 0 0 0 0 0 0 GIC wcnss
185: 0 0 0 0 0 0 GIC csid
195: 19865 0 0 568 0 0 GIC ngd_slim_irq
200: 7928199 478788 271455 61370 1355 707 GIC qcom,smd-rpm
203: 977386 35805 15878 10199 81 53 GIC 601d0.qcom,mpm
212: 5105 209 0 0 0 0 GIC sps
216: 3273 0 0 0 0 0 GIC tsens_interrupt
222: 35786 153403 72764 64622 0 0 GIC 200f000.qcom,spmi
224: 16928 12 1479 23 0 0 GIC spdm_bw_hyp
240: 1066143 85917 31754 16613 0 0 GIC 1000000.pinctrl
253: 28688 0 0 0 0 0 GIC 7864900.sdhci
260: 24592 10794 9771 13617 6894 76 GIC ipa
262: 540316 1278583 4741987 5174023 0 0 GIC sps
270: 1059981 91150 12440 25896 0 0 GIC sps
272: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
273: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
274: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
286: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
287: 0 0 0 0 0 0 GIC msm_iommu_secure_irq
305: 0 0 0 0 0 0 GIC ARM64 primary ext IRQ
306: 0 0 0 0 0 0 GIC ARM64 secondary ext IRQ
307: 0 0 0 0 0 0 GIC ARM64 primary DBE IRQ
308: 0 0 0 0 0 0 GIC ARM64 secondary DBE IRQ
321: 10170534 9990 71563 229378 0 0 GIC qcom,smd-adsp
322: 0 0 0 0 0 0 GIC qcom,smsm-adsp
323: 6 0 0 0 0 0 GIC smp2p
325: 0 0 0 0 0 0 GIC adsp
332: 1074 0 45 0 0 0 GIC i2c-msm-v2-irq
334: 0 0 0 0 0 0 GIC i2c-msm-v2-irq
344: 0 0 0 0 0 0 GIC 7803000.sdcc1ice
346: 91 0 0 30 0 0 GIC cpr
352: 0 0 0 0 0 0 msm_tlmm_irq 7864900.sdhci cd
353: 0 0 0 0 0 0 qpnp-int pm8950_tz
354: 185 34 25 38 8 0 qpnp-int qpnp_kpdpwr_status
355: 44 62 12 10 0 0 qpnp-int qpnp_resin_status
360: 0 0 0 0 0 0 qpnp-int qpnp_adc_tm_high_interrupt
361: 0 0 0 0 0 0 qpnp-int qpnp_adc_tm_low_interrupt
362: 0 0 0 0 0 0 qpnp-int qpnp_rtc_alarm
364: 0 0 0 0 0 0 qpnp-int chg-error
368: 25 17 115 10 0 0 qpnp-int chg-p2f-thr
369: 3 8 53 3 0 0 qpnp-int chg-rechg-thr
370: 0 0 0 0 0 0 qpnp-int chg-taper-thr
371: 5 11 55 4 0 0 qpnp-int chg-tcc-thr
372: 0 0 0 0 0 0 qpnp-int otg-fail
373: 0 0 0 0 0 0 qpnp-int otg-oc
374: 0 0 0 0 0 0 qpnp-int usbid-change
375: 0 0 0 0 0 0 qpnp-int batt-hot
376: 32 0 20 12 0 0 qpnp-int batt-warm
377: 0 0 0 0 0 0 qpnp-int batt-cold
378: 0 0 0 0 0 0 qpnp-int batt-cool
380: 0 0 0 0 0 0 qpnp-int batt-low
381: 0 0 0 0 0 0 qpnp-int batt-missing
383: 24 16 18 11 0 0 qpnp-int usbin-uv
384: 0 0 0 0 0 0 qpnp-int usbin-ov
385: 0 0 0 0 0 0 qpnp-int aicl-done
386: 22 14 15 9 0 0 qpnp-int power-ok
387: 0 0 0 0 0 0 qpnp-int temp-shutdown
390: 4 6 6 7 0 0 qpnp-int full-soc
391: 0 0 0 0 0 0 qpnp-int empty-soc
392: 422 468 468 451 0 0 qpnp-int delta-soc
393: 0 0 0 0 0 0 qpnp-int first-est-done
397: 33 9 4 6 0 0 qpnp-int vbatt-low
401: 0 0 0 0 0 0 qpnp-int batt-missing
403: 34988 152768 72069 64056 0 0 qpnp-int mem-avail
405: 0 0 0 0 0 0 qpnp-int bcl_ibat_interrupt
406: 0 0 0 0 0 0 qpnp-int bcl_vbat_interrupt
407: 0 0 0 0 0 0 qpnp-int qpnp_wled_sc_irq
408: 0 0 0 0 0 0 qpnp-int qpnp_sc_irq
410: 0 0 0 0 0 0 qpnp-int pm8004_tz
411: 99 4 10 5 0 0 msm_tlmm_irq wcd9xxx
412: 0 0 0 0 0 0 msm_tlmm_irq hall_sensor
413: 1055360 85877 31728 16183 0 0 msm_tlmm_irq ft5x06_ts
542: 10321 32 16 427 0 0 msm_tlmm_irq fpc_fpc1020.109
543: 0 0 0 0 0 0 smp2p_gpio adsp
544: 1 0 0 0 0 0 smp2p_gpio error_ready_interrupt
545: 1 0 0 0 0 0 smp2p_gpio adsp
546: 0 0 0 0 0 0 smp2p_gpio adsp
575: 0 0 0 0 0 0 smp2p_gpio wcnss
576: 0 0 0 1 0 0 smp2p_gpio error_ready_interrupt
577: 0 0 0 1 0 0 smp2p_gpio wcnss
578: 0 0 0 0 0 0 smp2p_gpio wcnss
607: 0 0 2 0 0 0 smp2p_gpio modem
608: 1 0 2 0 0 0 smp2p_gpio error_ready_interrupt
609: 1 0 2 0 0 0 smp2p_gpio modem
610: 0 0 0 0 0 0 smp2p_gpio modem
703: 0 0 0 0 0 0 msm_tlmm_irq camera_focus
704: 0 0 0 0 0 0 msm_tlmm_irq camera_snapshot
705: 324 4 0 0 0 0 msm_tlmm_irq volume_up
706: 20 2 0 0 0 0 wcd9xxx mbhc sw intr
707: 0 0 0 0 0 0 wcd9xxx Elect Remove
708: 8 0 0 0 0 0 wcd9xxx Button Press detect
709: 4 1 0 0 0 0 wcd9xxx Button Release detect
710: 0 0 0 0 0 0 wcd9xxx Elect Insert
IPI0: 44210297 54722749 33361414 20216691 6813301 4354336 Rescheduling interrupts
IPI1: 1147947 2488334 3017214 3176499 925095 933268 Function call interrupts
IPI2: 6290564 179639 164178 136534 882320 126468 Single function call interrupts
IPI3: 0 0 0 0 0 0 CPU stop interrupts
IPI4: 4633737 1508042 1717479 1538825 135943 105164 Timer broadcast interrupts
IPI5: 78 2 3 1 0 0 IRQ work interrupts
IPI6: 0 0 0 0 0 0 CPU wakeup interrupts
IPI7: 0 0 0 0 0 0 CPU backtrace
Err: 0

Categories

Resources